Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶ added in v0.15.0
func Initialize(injectCloudProvider func(context.Context, cloudprovider.Options) cloudprovider.CloudProvider)
func NewManagerOrDie ¶
func NewManagerOrDie(ctx context.Context, config *rest.Config, options controllerruntime.Options) manager.Manager
NewManagerOrDie instantiates a controller manager or panics
func RegisterControllers ¶ added in v0.15.0
func RegisterControllers(ctx context.Context, m manager.Manager, controllers ...Controller) manager.Manager
RegisterControllers registers a set of controllers to the controller manager
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 Karpenter custom resources.
type HealthCheck ¶ added in v0.16.1
Click to show internal directories.
Click to hide internal directories.