Documentation
¶
Index ¶
- type MetadataBuilder
- func (b *MetadataBuilder) Build() metav1.ObjectMeta
- func (b *MetadataBuilder) WithAnnotations(annotations map[string]string) *MetadataBuilder
- func (b *MetadataBuilder) WithLabels(labels map[string]string) *MetadataBuilder
- func (b *MetadataBuilder) WithMariaDB(mariadb *mariadbv1alpha1.MariaDB) *MetadataBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataBuilder ¶
type MetadataBuilder struct {
// contains filtered or unexported fields
}
func NewMetadataBuilder ¶
func NewMetadataBuilder(key types.NamespacedName) *MetadataBuilder
func (*MetadataBuilder) Build ¶
func (b *MetadataBuilder) Build() metav1.ObjectMeta
func (*MetadataBuilder) WithAnnotations ¶
func (b *MetadataBuilder) WithAnnotations(annotations map[string]string) *MetadataBuilder
func (*MetadataBuilder) WithLabels ¶
func (b *MetadataBuilder) WithLabels(labels map[string]string) *MetadataBuilder
func (*MetadataBuilder) WithMariaDB ¶
func (b *MetadataBuilder) WithMariaDB(mariadb *mariadbv1alpha1.MariaDB) *MetadataBuilder
Click to show internal directories.
Click to hide internal directories.