Documentation
¶
Index ¶
- Constants
- func FreezeLabelRemove(obj client.Object)
- func FreezeLabelTriggers(obj client.Object) bool
- func HasLooseOwnerReference(obj client.Object, owner client.Object) bool
- func NewAssignedCondition(obj client.Object) metav1.Condition
- func NewBoundCondition(obj client.Object) metav1.Condition
- func ReleaseAnnotationRemove(obj client.Object)
- func ReleaseAnnotationTriggers(obj client.Object) bool
- func RemoveLooseOwnerReference(obj client.Object, owner client.Object)
- func SetLooseOwnerReference(obj client.Object, owner client.Object, schema *runtime.Scheme) (err error)
Constants ¶
View Source
const ( ReleaseAnnotation = "projectcapsule.dev/release" ReleaseAnnotationTrigger = "true" )
View Source
const ( // ReadyCondition indicates the resource is ready and fully reconciled. ReadyCondition string = "Ready" NotReadyCondition string = "NotReady" AssignedCondition string = "Assigned" BoundCondition string = "Bound" // FailedReason indicates a condition or event observed a failure (Claim Rejected). SucceededReason string = "Succeeded" FailedReason string = "Failed" PoolExhaustedReason string = "PoolExhausted" QueueExhaustedReason string = "QueueExhausted" NamespaceExhaustedReason string = "NamespaceExhausted" )
View Source
const ( FreezeLabel = "projectcapsule.dev/freeze" FreezeLabelTrigger = "true" )
View Source
const (
ControllerFinalizer = "controller.projectcapsule.dev/finalize"
)
Variables ¶
This section is empty.
Functions ¶
func FreezeLabelRemove ¶
func FreezeLabelTriggers ¶
func HasLooseOwnerReference ¶
If not returns false.
func ReleaseAnnotationRemove ¶
func RemoveLooseOwnerReference ¶
Removes a Loose Ownerreference based on UID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.