Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
- func IsValidDomain(name string) error
- func IsValidName(name string) error
- type Data
- type HashList
- type KubernetesResourceName
- type Object
- func (o *Object) AsUIDPrecondition() *meta.Preconditions
- func (in *Object) DeepCopy() *Object
- func (in *Object) DeepCopyInto(out *Object)
- func (o *Object) Equals(obj meta.Object) bool
- func (o *Object) GetChecksum() string
- func (o *Object) GetName() string
- func (o *Object) GetNamespace(obj meta.Object) string
- func (o *Object) GetUID() types.UID
- func (o *Object) IsEmpty() bool
- func (o *Object) Validate() error
- type ServiceAccount
- type ServiceAccountRole
- type TLS
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 Data ¶
type Data []byte
func (Data) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Data.
func (Data) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Data) MarshalJSON ¶
func (*Data) UnmarshalJSON ¶
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
type Object ¶
type Object struct { // Name of the object Name string `json:"name"` // Namespace of the object. Should default to the namespace of the parent object Namespace *string `json:"namespace,omitempty"` // UID keeps the information about object UID UID *types.UID `json:"uid,omitempty"` // UID keeps the information about object Checksum Checksum *string `json:"checksum,omitempty"` }
func (*Object) AsUIDPrecondition ¶
func (o *Object) AsUIDPrecondition() *meta.Preconditions
func (*Object) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Object.
func (*Object) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Object) GetChecksum ¶
type ServiceAccount ¶
type ServiceAccount struct { // Object keeps the reference to the ServiceAccount *Object `json:",inline"` // Namespaced keeps the reference to core.Role objects Namespaced *ServiceAccountRole `json:"namespaced,omitempty"` // Cluster keeps the reference to core.ClusterRole objects Cluster *ServiceAccountRole `json:"cluster,omitempty"` }
func (*ServiceAccount) DeepCopy ¶
func (in *ServiceAccount) DeepCopy() *ServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
func (*ServiceAccount) DeepCopyInto ¶
func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountRole ¶
type ServiceAccountRole struct { // Role keeps the reference to the Kubernetes Role Role *Object `json:"role,omitempty"` // Binding keeps the reference to the Kubernetes Binding Binding *Object `json:"binding,omitempty"` }
func (*ServiceAccountRole) DeepCopy ¶
func (in *ServiceAccountRole) DeepCopy() *ServiceAccountRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountRole.
func (*ServiceAccountRole) DeepCopyInto ¶
func (in *ServiceAccountRole) DeepCopyInto(out *ServiceAccountRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLS ¶
type TLS struct { // Enabled define if TLS Should be enabled. If is not set then default is taken from ArangoDeployment settings Enabled *bool `json:"enabled,omitempty"` // AltNames define TLS AltNames used when TLS on the ArangoDB is enabled AltNames []string `json:"altNames,omitempty"` }
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.