Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidDomain ¶
func IsValidName ¶
IsValidName validate name to be a DNS_LABEL. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Types ¶
type HashList ¶
type HashList []string
func (HashList) ContainsSHA256 ¶
func (HashList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HashList.
func (HashList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesResourceName ¶
type KubernetesResourceName string
KubernetesResourceName define name of kubernetes resource including validation function
func AsKubernetesResourceName ¶
func AsKubernetesResourceName(s *string) *KubernetesResourceName
AsKubernetesResourceName formats string into AsKubernetesResourceName for validation purposes
func (*KubernetesResourceName) Immutable ¶
func (n *KubernetesResourceName) Immutable(o *KubernetesResourceName) error
Immutable verify if field changed
func (*KubernetesResourceName) String ¶
func (n *KubernetesResourceName) String() string
String returns string value of name
func (*KubernetesResourceName) StringP ¶
func (n *KubernetesResourceName) StringP() *string
StringP returns string pointer to resource name
func (*KubernetesResourceName) Validate ¶
func (n *KubernetesResourceName) Validate() error
Validate validate if name is valid kubernetes DNS_LABEL