Documentation ¶
Index ¶
Constants ¶
View Source
const ( NameLabel = "app.kubernetes.io/name" InstanceLabel = "app.kubernetes.io/instance" VersionLabel = "app.kubernetes.io/version" ComponentLabel = "app.kubernetes.io/component" ManagedByLabel = "app.kubernetes.io/managed-by" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerBase ¶
type ContainerBase struct { Resources *corev1.ResourceRequirements `json:"resources,omitempty"` Image string `json:"image,omitempty"` PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"` Command []string `json:"command,omitempty"` VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
func (*ContainerBase) DeepCopy ¶
func (in *ContainerBase) DeepCopy() *ContainerBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerBase.
func (*ContainerBase) DeepCopyInto ¶
func (in *ContainerBase) DeepCopyInto(out *ContainerBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetaBase ¶
type MetaBase struct { Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
func (*MetaBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaBase.
func (*MetaBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetaBase) Merge ¶
func (base *MetaBase) Merge(meta v1.ObjectMeta) v1.ObjectMeta
type PodSpecBase ¶
type PodSpecBase struct { Tolerations []corev1.Toleration `json:"tolerations,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` Volumes []corev1.Volume `json:"volumes,omitempty"` }
func (*PodSpecBase) DeepCopy ¶
func (in *PodSpecBase) DeepCopy() *PodSpecBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpecBase.
func (*PodSpecBase) DeepCopyInto ¶
func (in *PodSpecBase) DeepCopyInto(out *PodSpecBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.