testutils

package
v1.16.1-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFinalizer added in v1.16.0

func AppendFinalizer(obj client.Object, finalizer string)

AppendFinalizer adds a finalizer to the object

func RemoveFinalizer added in v1.16.0

func RemoveFinalizer(obj client.Object, removeFinalizer string) bool

RemoveFinalizer removes a finalizer from the object. Returns whether the finalizer was removed.

func ValidateError

func ValidateError(errs []v1beta1.ConfigSyncError, code, message string) error

ValidateError returns true if the specified errors contain an error with the specified error code and (partial) message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL