v1alpha2

package
v0.0.0-...-a4572ef Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the esc v1alpha2 API group +kubebuilder:object:generate=true +groupName=esc.k06.in

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "esc.k06.in", Version: "v1alpha2"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Template

type Template struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TemplateSpec   `json:"spec,omitempty"`
	Status TemplateStatus `json:"status,omitempty"`
}

Template is the Schema for the templates API

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

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

func (*Template) DeepCopyObject

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

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

type TemplateList

type TemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Template `json:"items"`
}

TemplateList contains a list of Template

func (*TemplateList) DeepCopy

func (in *TemplateList) DeepCopy() *TemplateList

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

func (*TemplateList) DeepCopyInto

func (in *TemplateList) DeepCopyInto(out *TemplateList)

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

func (*TemplateList) DeepCopyObject

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

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

type TemplateSpec

type TemplateSpec struct {
	//Template stores to spec of required create containers.
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,1,opt,name=template"`

	//ServiceSpec stores to spec for expose containers.
	// +optional
	ServiceSpec v1.ServiceSpec `json:"service,omitempty" protobuf:"bytes,2,opt,name=service"`

	//VolumeSpecs defines volumes used to containers.
	// +optional
	VolumeSpecs []VolumeSpec `json:"volumes,omitempty" protobuf:"bytes,3,opt,name=volumes"`
}

TemplateSpec defines the desired state of Template

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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

type TemplateStatus

type TemplateStatus struct {
}

TemplateStatus defines the observed state of Template

func (*TemplateStatus) DeepCopy

func (in *TemplateStatus) DeepCopy() *TemplateStatus

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

func (*TemplateStatus) DeepCopyInto

func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)

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

type Userland

type Userland struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   UserlandSpec   `json:"spec,omitempty"`
	Status UserlandStatus `json:"status,omitempty"`
}

Userland is the Schema for the userlands API

func (*Userland) DeepCopy

func (in *Userland) DeepCopy() *Userland

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

func (*Userland) DeepCopyInto

func (in *Userland) DeepCopyInto(out *Userland)

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

func (*Userland) DeepCopyObject

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

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

type UserlandList

type UserlandList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Userland `json:"items"`
}

UserlandList contains a list of Userland

func (*UserlandList) DeepCopy

func (in *UserlandList) DeepCopy() *UserlandList

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

func (*UserlandList) DeepCopyInto

func (in *UserlandList) DeepCopyInto(out *UserlandList)

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

func (*UserlandList) DeepCopyObject

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

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

type UserlandSpec

type UserlandSpec struct {

	// Name is the name of this resource. It used to naming owned resources.
	// +optional
	Name string `json:"Name,omitempty" protobuf:"bytes,1,opt,name=Name"`

	// TemplateName is the name of a Template in the same namespace as the binding this resource.
	TemplateName string `json:"templateName" protobuf:"bytes,2,opt,name=templateName"`

	// Enabled to create pod from userland resource.
	// Default true.
	// +optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,3,opt,name=enabled"`
}

UserlandSpec defines the desired state of Userland

func (*UserlandSpec) DeepCopy

func (in *UserlandSpec) DeepCopy() *UserlandSpec

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

func (*UserlandSpec) DeepCopyInto

func (in *UserlandSpec) DeepCopyInto(out *UserlandSpec)

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

type UserlandStatus

type UserlandStatus struct {
}

UserlandStatus defines the observed state of Userland

func (*UserlandStatus) DeepCopy

func (in *UserlandStatus) DeepCopy() *UserlandStatus

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

func (*UserlandStatus) DeepCopyInto

func (in *UserlandStatus) DeepCopyInto(out *UserlandStatus)

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

type VolumeSpec

type VolumeSpec struct {
	//VolumeName is unified volume name.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	//PersistentVolumeClaimSpec stores to spec of required PersistentVolumeClaim
	PersistentVolumeClaimSpec v1.PersistentVolumeClaimSpec `json:"pvcSpec" protobuf:"bytes,3,opt,name=pvcSpec"`
}

VolumeSpec defines the volume of TemplateSpec

func (*VolumeSpec) DeepCopy

func (in *VolumeSpec) DeepCopy() *VolumeSpec

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

func (*VolumeSpec) DeepCopyInto

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

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