Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
ClientInfo contains the information needed to make HTTP requests to RabbitMQ management API
type DefaultRabbitmqClientFactory ¶ added in v2.21.0
type DefaultRabbitmqClientFactory struct{}
DefaultRabbitmqClientFactory is the default implementation of RabbitmqClientFactory.
func (*DefaultRabbitmqClientFactory) GetClientForPod ¶ added in v2.21.0
func (f *DefaultRabbitmqClientFactory) GetClientForPod(ctx context.Context, k8sClient client.Reader, rmq *rabbitmqv1beta1.RabbitmqCluster, podName string) (RabbitmqClient, error)
GetClientForPod creates a real rabbithole client for a specific pod.
type RabbitmqClient ¶ added in v2.21.0
type RabbitmqClient interface {
Overview() (*rabbithole.Overview, error)
HealthCheckNodeIsQuorumCritical() (rabbithole.HealthCheckStatus, error)
}
RabbitmqClient represents a subset of the rabbithole.Client that the operator uses.
type RabbitmqClientFactory ¶ added in v2.21.0
type RabbitmqClientFactory interface {
GetClientForPod(ctx context.Context, k8sClient client.Reader, rmq *rabbitmqv1beta1.RabbitmqCluster, podName string) (RabbitmqClient, error)
}
RabbitmqClientFactory creates a RabbitmqClient for a specific pod.
Click to show internal directories.
Click to hide internal directories.