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 Karpenter 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(ctx context.Context, config *rest.Config, options controllerruntime.Options) Manager
NewManagerOrDie instantiates a controller manager or panics
Directories
¶
| Path | Synopsis |
|---|---|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
|
metrics
|
|
Click to show internal directories.
Click to hide internal directories.