Documentation ¶
Index ¶
- func GetAnnotationsAnnotation(o metav1.Object) (map[string]string, error)
- func GetLabelsAnnotation(o metav1.Object) (map[string]string, error)
- func GetObjectMetadata(o metav1.Object) (*orimeta.ObjectMetadata, error)
- func IsCreated(o metav1.Object) bool
- func IsManagedBy(o metav1.Object, manager string) bool
- func PatchControlledBy(ctx context.Context, c client.Client, owner, controlled client.Object) error
- func PatchCreated(ctx context.Context, c client.Client, o client.Object) error
- func SetAnnotationsAnnotation(o metav1.Object, annotations map[string]string) error
- func SetCreatedLabel(o metav1.Object)
- func SetLabelsAnnotation(o metav1.Object, labels map[string]string) error
- func SetObjectMetadata(o metav1.Object, metadata *orimeta.ObjectMetadata) error
- func SetPurpose(o metav1.Object, purpose string)
- func SetVolumeManagerLabel(volume *storagev1alpha1.Volume, manager string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectMetadata ¶
func GetObjectMetadata(o metav1.Object) (*orimeta.ObjectMetadata, error)
func PatchControlledBy ¶
func SetCreatedLabel ¶
func SetLabelsAnnotation ¶
func SetObjectMetadata ¶
func SetObjectMetadata(o metav1.Object, metadata *orimeta.ObjectMetadata) error
func SetPurpose ¶ added in v0.1.1
func SetVolumeManagerLabel ¶
func SetVolumeManagerLabel(volume *storagev1alpha1.Volume, manager string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.