Documentation ¶
Index ¶
- Constants
- func AddFinalizer(ctx context.Context, c client.Client, pol client.Object, finalizer string) error
- func IgnoreNotFound(err error) error
- func IsNotFoundOrConflict(err error) bool
- func NamespacedName(name, namespace string) types.NamespacedName
- func RemoveFinalizer(ctx context.Context, c client.Client, pol client.Object, finalizer string) error
- func Retry(fn func() error, retryCondition func(error) bool) error
Constants ¶
View Source
const ( ErrGetProfile = "cannot get security profile" HasActivePodsFinalizerString = "in-use-by-active-pods" )
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
addFinalizer attempts to add a finalizer to an object if not present and update the object.
func IgnoreNotFound ¶
func IsNotFoundOrConflict ¶
func NamespacedName ¶
func NamespacedName(name, namespace string) types.NamespacedName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.