Documentation ¶
Index ¶
- func AddFinalizer(obj metav1.Object, finalizer string)
- func CheckURL(url string, header http.Header, expectedStatus int) error
- func HasFinalizer(obj metav1.Object, finalizer string) bool
- func IsBeingDeleted(obj metav1.Object) bool
- func RemoveFinalizer(obj metav1.Object, finalizer string)
- type ResourceGenerationChangedPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
AddFinalizer adds the passed finalizer this object
func HasFinalizer ¶
HasFinalizer returns whether this object has the passed finalizer
func IsBeingDeleted ¶
IsBeingDeleted returns whether this object has been requested to be deleted
func RemoveFinalizer ¶
RemoveFinalizer removes the passed finalizer from object
Types ¶
type ResourceGenerationChangedPredicate ¶
ResourceGenerationOrFinalizerChangedPredicate this producates will fire an update event when the spec of a resource is changed (controller by ResourceGeneration), or when the finalizers are changed
func (ResourceGenerationChangedPredicate) Update ¶
func (ResourceGenerationChangedPredicate) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating resource version change
Click to show internal directories.
Click to hide internal directories.