Documentation
¶
Index ¶
- func AssureDeleting(ctx context.Context, clt client.Client, object client.Object) error
- func AssureFinalizer(ctx context.Context, client client.Client, finalizerName string, ...) error
- func AssureFinalizerRemoved(ctx context.Context, client client.Client, finalizerName string, ...) error
- func ContainsString(slice []string, s string) bool
- func GetLabel(object client.Object, name string, defs ...string) string
- func Requeue(err error) (ctrl.Result, error)
- func Succeeded() (ctrl.Result, error)
- func SucceededIfNotFound(err error) (ctrl.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssureDeleting ¶
AssureDeleting ensures that the object is in deletion mode
func AssureFinalizer ¶
func AssureFinalizer(ctx context.Context, client client.Client, finalizerName string, object client.Object) error
AssureFinalizer ensures that a finalizer is on a given runtime object
func AssureFinalizerRemoved ¶
func AssureFinalizerRemoved(ctx context.Context, client client.Client, finalizerName string, object client.Object) error
AssureFinalizerRemoved ensures that a finalizer does not exist anymore for a given runtime object
func ContainsString ¶
ContainsString is a helper functions to check and remove string from a slice of strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.