Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataBuilder ¶
type MetadataBuilder interface { SetName(name string) MetadataBuilder SetNamespace(namespace string) MetadataBuilder SetLabels(labels map[string]string) MetadataBuilder SetAnnotations(annos map[string]string) MetadataBuilder SetOwnerReferences(refs []metav1.OwnerReference) MetadataBuilder SetFinalizers(fs []string) MetadataBuilder BuildMetadata() *metav1.ObjectMeta }
MetadataBuilder represents a metadata
func NewMetadataBuilder ¶
func NewMetadataBuilder() MetadataBuilder
NewMetadataBuilder creates a new metadata builder
Click to show internal directories.
Click to hide internal directories.