Documentation
¶
Index ¶
- Constants
- Variables
- func AddToManager(ctx context.Context, mgr manager.Manager) error
- func AddToManagerWithOptions(ctx context.Context, mgr manager.Manager, opts AddOptions) error
- func NewActuator(mgr manager.Manager, a controlplane.Actuator) controlplane.Actuator
- func NewValuesProvider(mgr manager.Manager) genericactuator.ValuesProvider
- type AddOptions
Constants ¶
View Source
const ( NetworkUnavailableConditionType = "NetworkUnavailable" // CalicoIsUpReason is the reason set by Calico when it sets the NetworkUnavailable condition to indicate Calico is up. CalicoIsUpReason = "CalicoIsUp" // CalicoIsDownReason is the reason set by Calico when it sets the NetworkUnavailable condition to indicate Calico is down. CalicoIsDownReason = "CalicoIsDown" // AnnotationCalicoCleanupCompleted indicates that Calico condition cleanup has been completed. AnnotationCalicoCleanupCompleted = "openstack.provider.extensions.gardener.cloud/calico-cleanup-completed" )
Variables ¶
View Source
var ( // DefaultAddOptions are the default AddOptions for AddToManager. DefaultAddOptions = AddOptions{} )
Functions ¶
func AddToManager ¶
AddToManager adds a controller with the default Options.
func AddToManagerWithOptions ¶
AddToManagerWithOptions adds a controller with the given Options to the given manager. The opts.Reconciler is being set with a newly instantiated actuator.
func NewActuator ¶ added in v1.53.0
func NewActuator(mgr manager.Manager, a controlplane.Actuator) controlplane.Actuator
NewActuator creates a new Actuator that wraps the generic actuator and adds cleanup logic.
func NewValuesProvider ¶
func NewValuesProvider(mgr manager.Manager) genericactuator.ValuesProvider
NewValuesProvider creates a new ValuesProvider for the generic actuator.
Types ¶
type AddOptions ¶
type AddOptions struct {
// Controller are the controller.Options.
Controller controller.Options
// IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not.
IgnoreOperationAnnotation bool
// WebhookServerNamespace is the namespace in which the webhook server runs.
WebhookServerNamespace string
// ExtensionClasses defines the extension classes this extension is responsible for.
ExtensionClasses []extensionsv1alpha1.ExtensionClass
}
AddOptions are options to apply when adding the OpenStack controlplane controller to the manager.
Click to show internal directories.
Click to hide internal directories.