types

package
v0.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 7

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.

func (*ContainerBase) Override

func (base *ContainerBase) Override(container corev1.Container) corev1.Container

type MetaBase

type MetaBase struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
}

func (*MetaBase) DeepCopy

func (in *MetaBase) DeepCopy() *MetaBase

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaBase.

func (*MetaBase) DeepCopyInto

func (in *MetaBase) DeepCopyInto(out *MetaBase)

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"`
	PriorityClassName  string                     `json:"priorityClassName,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.

func (*PodSpecBase) Override

func (base *PodSpecBase) Override(spec corev1.PodSpec) corev1.PodSpec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL