Documentation ¶
Index ¶
- func ObjectName(o *metav1.ObjectMeta) string
- type ObjectOption
- func WithAnnotation(key, value string) ObjectOption
- func WithAnnotations(src map[string]string) ObjectOption
- func WithGeneratorName(generatorName string) ObjectOption
- func WithLabel(key, value string) ObjectOption
- func WithLabels(src map[string]string) ObjectOption
- func WithName(name string) ObjectOption
- func WithNamespace(namespace string) ObjectOption
- func WithOwner(owner metav1.Object, scheme *runtime.Scheme) ObjectOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObjectName ¶
func ObjectName(o *metav1.ObjectMeta) string
Types ¶
type ObjectOption ¶
func WithAnnotation ¶
func WithAnnotation(key, value string) ObjectOption
func WithAnnotations ¶
func WithAnnotations(src map[string]string) ObjectOption
func WithGeneratorName ¶
func WithGeneratorName(generatorName string) ObjectOption
func WithLabel ¶
func WithLabel(key, value string) ObjectOption
func WithLabels ¶
func WithLabels(src map[string]string) ObjectOption
func WithName ¶
func WithName(name string) ObjectOption
func WithNamespace ¶
func WithNamespace(namespace string) ObjectOption
Click to show internal directories.
Click to hide internal directories.