Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRabbitmqClientForPod ¶
func GetRabbitmqClientForPod(ctx context.Context, k8sClient client.Reader, rmq *rabbitmqv1beta1.RabbitmqCluster, podIP string) (*rabbithole.Client, error)
GetRabbitmqClientForPod creates a rabbithole client for a specific pod using its IP address. It fetches credentials from the default user secret and connects directly to the pod IP.
Types ¶
type ClientInfo ¶
ClientInfo contains the information needed to make HTTP requests to RabbitMQ management API
func GetClientInfoForPod ¶
func GetClientInfoForPod(ctx context.Context, k8sClient client.Reader, rmq *rabbitmqv1beta1.RabbitmqCluster, podIP string) (*ClientInfo, error)
GetClientInfoForPod creates ClientInfo for a specific pod IP. This is useful for checking individual pods instead of going through the service.
Click to show internal directories.
Click to hide internal directories.