Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Reconcile hands a hydrated kubernetes resource to the controller for // reconciliation. Any changes made to the resource's status are persisted // after Reconcile returns, even if it returns an error. Reconcile(context.Context, reconcile.Request) (reconcile.Result, error) // Register will register the controller with the manager Register(context.Context, manager.Manager) error }
Controller is an interface implemented by etcd-operator custom resources.
type GenericControllerManager ¶
func (*GenericControllerManager) RegisterControllers ¶
func (m *GenericControllerManager) RegisterControllers(ctx context.Context, controllers ...Controller) Manager
RegisterControllers registers a set of controllers to the controller manager
type Manager ¶
type Manager interface { manager.Manager RegisterControllers(context.Context, ...Controller) Manager }
Manager manages a set of controllers and webhooks.
func NewManagerOrDie ¶
func NewManagerOrDie(config *rest.Config, options controllerruntime.Options) Manager
NewManagerOrDie instantiates a controller manager or panics
Click to show internal directories.
Click to hide internal directories.