Documentation ¶
Index ¶
- Variables
- type Controller
- func (ctrl *Controller) OnAdd(ctx context.Context, qname string, obj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
- func (ctrl *Controller) OnDelete(ctx context.Context, qname string, obj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
- func (ctrl *Controller) OnUpdate(ctx context.Context, qname string, oldObj, newObj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
- func (ctrl *Controller) Start() error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FilterLabels string
)
View Source
var (
MetricsKinds string
)
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { api.MultiMingleClient sync.Mutex // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, mcc *symcnclient.MultiClientConfig) (*Controller, error)
func (*Controller) OnAdd ¶
func (ctrl *Controller) OnAdd(ctx context.Context, qname string, obj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
func (*Controller) OnDelete ¶
func (ctrl *Controller) OnDelete(ctx context.Context, qname string, obj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
func (*Controller) OnUpdate ¶
func (ctrl *Controller) OnUpdate(ctx context.Context, qname string, oldObj, newObj interface{}) (requeue api.NeedRequeue, after time.Duration, err error)
func (*Controller) Start ¶
func (ctrl *Controller) Start() error
Click to show internal directories.
Click to hide internal directories.