v1alpha1

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=konfigurator.stakater.com

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version}
)

Functions

This section is empty.

Types

type App

type App struct {
	Name         string        `json:"name"`
	Kind         AppKind       `json:"kind"`
	VolumeMounts []VolumeMount `json:"volumeMounts"`
}

func (*App) DeepCopy

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppKind

type AppKind string
const (
	AppKindDeployment  AppKind = "Deployment"
	AppKindDaemonSet   AppKind = "DaemonSet"
	AppKindStatefulSet AppKind = "StatefulSet"
)

type KonfiguratorTemplate

type KonfiguratorTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              KonfiguratorTemplateSpec   `json:"spec"`
	Status            KonfiguratorTemplateStatus `json:"status,omitempty"`
}

func (*KonfiguratorTemplate) DeepCopy

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

func (*KonfiguratorTemplate) DeepCopyInto

func (in *KonfiguratorTemplate) DeepCopyInto(out *KonfiguratorTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KonfiguratorTemplate) DeepCopyObject

func (in *KonfiguratorTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KonfiguratorTemplateList

type KonfiguratorTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []KonfiguratorTemplate `json:"items"`
}

func (*KonfiguratorTemplateList) DeepCopy

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

func (*KonfiguratorTemplateList) DeepCopyInto

func (in *KonfiguratorTemplateList) DeepCopyInto(out *KonfiguratorTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KonfiguratorTemplateList) DeepCopyObject

func (in *KonfiguratorTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KonfiguratorTemplateSpec

type KonfiguratorTemplateSpec struct {
	RenderTarget RenderTarget      `json:"renderTarget"`
	Templates    map[string]string `json:"templates"`
	App          App               `json:"app"`
}

func (*KonfiguratorTemplateSpec) DeepCopy

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

func (*KonfiguratorTemplateSpec) DeepCopyInto

func (in *KonfiguratorTemplateSpec) DeepCopyInto(out *KonfiguratorTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KonfiguratorTemplateStatus

type KonfiguratorTemplateStatus struct {
	CurrentPhase Phase `json:"currentPhase"`
}

func (*KonfiguratorTemplateStatus) DeepCopy

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

func (*KonfiguratorTemplateStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Phase

type Phase string
const (
	PhaseInitial           Phase = ""
	PhaseRendering         Phase = "Rendering"
	PhaseCreatingConfigMap Phase = "CreatingConfigMap"
	PhaseRendered          Phase = "Rendered"
)

type RenderTarget

type RenderTarget string
const (
	RenderTargetConfigMap RenderTarget = "ConfigMap"
	RenderTargetSecret    RenderTarget = "Secret"
)

type VolumeMount

type VolumeMount struct {
	MountPath string `json:"mountPath"`
	Container string `json:"container"`
}

func (*VolumeMount) DeepCopy

func (in *VolumeMount) DeepCopy() *VolumeMount

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

func (*VolumeMount) DeepCopyInto

func (in *VolumeMount) DeepCopyInto(out *VolumeMount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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