Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v1.18.0
type Controller struct {
// contains filtered or unexported fields
}
Controller wraps a long-lived controller-runtime manager. It must only be created once per process because controller-runtime registers controller names globally in the metrics registry.
func New ¶
func New(opts Options) (*Controller, error)
func (*Controller) SetCron ¶ added in v1.18.0
func (c *Controller) SetCron(cr cron.Interface)
SetCron updates the cron interface used by the namespace reconciler.
func (*Controller) SetPresenceSink ¶
func (c *Controller) SetPresenceSink(s PresenceSink)
SetPresenceSink updates the sink receiving placement pod observations, pushing the current observation into it right away.
type PresenceSink ¶
type PresenceSink interface {
SetKubernetesPresence(present bool)
}
PresenceSink receives the placement pod observations.
Click to show internal directories.
Click to hide internal directories.