Documentation
¶
Index ¶
Constants ¶
View Source
const (
ResyncPeriod = operatorkitcontroller.DefaultResyncPeriod
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
This controller is based on the operatorkit controller but cuts out metrics collectors, Sentry, and other undesirable features for a dynamic workload cluster controller.
func New ¶
func New(config Config) (*Controller, error)
New creates a new configured workload cluster node controller.
func (*Controller) Boot ¶
func (c *Controller) Boot() error
func (*Controller) Equal ¶
func (c *Controller) Equal(other *Controller) bool
Equal returns true when the given controllers are equal as it relates to watching the workload cluster Kubernetes APIs.
func (*Controller) LastReconciled ¶
func (c *Controller) LastReconciled() time.Time
func (*Controller) Stop ¶
func (c *Controller) Stop()
Click to show internal directories.
Click to hide internal directories.