Documentation ¶
Index ¶
- type Config
- type Operator
- func (op *Operator) GetIcingaPod() (*core.Pod, error)
- func (op *Operator) MigrateAlerts() error
- func (op *Operator) MigrateClusterAlerts() error
- func (op *Operator) MigrateNodeAlert() error
- func (op *Operator) MigratePodAlert() error
- func (op *Operator) Run(stopCh <-chan struct{}) error
- func (op *Operator) RunInformers(stopCh <-chan struct{})
- type OperatorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct { Config // contains filtered or unexported fields }
func (*Operator) MigrateAlerts ¶
func (*Operator) MigrateClusterAlerts ¶
func (*Operator) MigrateNodeAlert ¶
func (*Operator) MigratePodAlert ¶
func (*Operator) RunInformers ¶
func (op *Operator) RunInformers(stopCh <-chan struct{})
type OperatorConfig ¶
type OperatorConfig struct { Config ClientConfig *rest.Config KubeClient kubernetes.Interface ExtClient cs.Interface CRDClient crd_cs.ApiextensionsV1beta1Interface IcingaClient *icinga.Client // TODO: init AdmissionHooks []hooks.AdmissionHook }
func NewOperatorConfig ¶
func NewOperatorConfig(clientConfig *rest.Config) *OperatorConfig
func (*OperatorConfig) New ¶
func (c *OperatorConfig) New() (*Operator, error)
Click to show internal directories.
Click to hide internal directories.