Documentation ¶
Index ¶
Constants ¶
View Source
const CoreV1NodesPlural = "nodes"
CoreV1NodesPlural is the plural for a kubernetes Node
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Namespace string ClusterWide bool ServiceAccount string KubeCli kubernetes.Interface KubeExtCli apiextensionsclient.Interface SensuCRCli versioned.Interface CreateCRD bool WorkerThreads int ProcessingRetries int ResyncPeriod time.Duration LogLevel logrus.Level }
Config is the configuration for the sensu controller
type Controller ¶
type Controller struct { Config // contains filtered or unexported fields }
Controller is the sensu controller that handles all informers/clusters/finalizers for all of the custom resources in the operator
func (*Controller) Start ¶
func (c *Controller) Start(ctx context.Context)
Start the controller's informer to watch for custom resource update
Click to show internal directories.
Click to hide internal directories.