Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // FeatureMap is the map containing features and their status for the current instance of nats-operator. FeatureMap features.FeatureMap // NatsOperatorNamespace is the namespace under which the current instance of nats-operator is running. NatsOperatorNamespace string PVProvisioner string KubeCli kubernetes.Interface KubeConfig *rest.Config KubeExtCli extsclient.Interface OperatorCli natsclient.Interface }
type Controller ¶
type Controller struct { Config // contains filtered or unexported fields }
Controller is the controller for NatsCluster resources.
func NewNatsClusterController ¶
func NewNatsClusterController(cfg Config) *Controller
type GenericController ¶
type GenericController interface { // Run instructs the workers to start processing items from the queue. Run(stopCh <-chan struct{}) error }
GenericController represents a generic controller that handles Kubernetes resources.
Click to show internal directories.
Click to hide internal directories.