Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator is the operator that handles configuring the Monitors.
func NewOperator ¶
func NewOperator( kc kubernetes.Interface, imc versioned.Interface, namespace string, resync time.Duration, providerFactory provider.FactoryInterface, mtrcs *metrics.Metrics) (*Operator, error)
NewOperator sets up a new IngressMonitor Operator which will watch for providers and monitors.
func (*Operator) OnAdd ¶
func (o *Operator) OnAdd(obj interface{})
OnAdd handles adding of IngressMonitors and Ingresses and sets up the appropriate monitor with the configured providers.
func (*Operator) OnDelete ¶
func (o *Operator) OnDelete(obj interface{})
OnDelete handles deletion of IngressMonitors and Ingresses and deletes monitors from the configured providers.
Click to show internal directories.
Click to hide internal directories.