types

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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"

	BanzaiCloudManagedComponent = "banzaicloud.io/managed-component"
	BanzaiCloudOwnedBy          = "banzaicloud.io/owned-by"
	BanzaiCloudRelatedTo        = "banzaicloud.io/related-to"
)

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 ObjectKey added in v0.11.0

type ObjectKey struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

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

type ReconcileStatus added in v0.11.0

type ReconcileStatus string
const (
	ReconcileStatusCreated     ReconcileStatus = "Created"
	ReconcileStatusPending     ReconcileStatus = "Pending"
	ReconcileStatusFailed      ReconcileStatus = "Failed"
	ReconcileStatusReconciling ReconcileStatus = "Reconciling"
	ReconcileStatusAvailable   ReconcileStatus = "Available"
	ReconcileStatusSucceeded   ReconcileStatus = "Succeeded"
	ReconcileStatusUnmanaged   ReconcileStatus = "Unmanaged"
)

func (ReconcileStatus) Available added in v0.11.0

func (s ReconcileStatus) Available() bool

func (ReconcileStatus) Failed added in v0.11.0

func (s ReconcileStatus) Failed() bool

func (ReconcileStatus) Pending added in v0.11.0

func (s ReconcileStatus) Pending() bool

Jump to

Keyboard shortcuts

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