rabbitmqclient

package
v2.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	BaseURL   string
	Username  string
	Password  string
	Transport *http.Transport
}

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL