Documentation ¶
Index ¶
Constants ¶
View Source
const ( PhaseCreating = "Creating" PhaseFailed = "Failed" PhaseCompleted = "Completed" PhaseDeleting = "Deleting" ReasonInvalidName = "invalid name" )
Variables ¶
This section is empty.
Functions ¶
func AddControllerToManager ¶
func AddControllerToManager(logger logging.Logger, mgr manager.Manager, config *config.TargetShootSidecarConfiguration) error
AddControllerToManager adds the Namespaceregistration Controller to the manager
func NewController ¶
Types ¶
type Controller ¶
type Controller struct { operation.TargetShootSidecarOperation ReconcileFunc func(ctx context.Context, namespaceRegistration *lssv1alpha1.NamespaceRegistration) (reconcile.Result, error) HandleDeleteFunc func(ctx context.Context, namespaceRegistration *lssv1alpha1.NamespaceRegistration) (reconcile.Result, error) // contains filtered or unexported fields }
func NewTestActuator ¶
func NewTestActuator(op operation.TargetShootSidecarOperation, logger logging.Logger) *Controller
NewTestActuator creates a new controller for testing purposes.
Click to show internal directories.
Click to hide internal directories.