v1alpha1

package
v0.0.0-...-bc33332 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mykind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mykind.mysample.com

Package v1alpha1 contains API Schema definitions for the mykind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mykind.mysample.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "mykind.mysample.com", Version: "v1alpha1"}

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

Functions

This section is empty.

Types

type Mykind

type Mykind struct {
	metav1.TypeMeta `json:",inline"`

	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MykindSpec   `json:"spec,omitempty"`
	Status MykindStatus `json:"status,omitempty"`
}

Mykind is the Schema for the mykinds API +kubebuilder:subresource:status +kubebuilder:resource:path=mykinds,scope=Namespaced

func (*Mykind) DeepCopy

func (in *Mykind) DeepCopy() *Mykind

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

func (*Mykind) DeepCopyInto

func (in *Mykind) DeepCopyInto(out *Mykind)

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

func (*Mykind) DeepCopyObject

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

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

type MykindList

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

MykindList contains a list of Mykind

func (*MykindList) DeepCopy

func (in *MykindList) DeepCopy() *MykindList

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

func (*MykindList) DeepCopyInto

func (in *MykindList) DeepCopyInto(out *MykindList)

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

func (*MykindList) DeepCopyObject

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

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

type MykindSpec

type MykindSpec struct {
	Size      int32  `json:"size"`
	Image     string `json:"Image"`
	EnvsValue string `json:"Envs"`
}

MykindSpec defines the desired state of Mykind

func (*MykindSpec) DeepCopy

func (in *MykindSpec) DeepCopy() *MykindSpec

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

func (*MykindSpec) DeepCopyInto

func (in *MykindSpec) DeepCopyInto(out *MykindSpec)

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

type MykindStatus

type MykindStatus struct {
	Nodes []string `json:"nodes"`
}

MykindStatus defines the observed state of Mykind

func (*MykindStatus) DeepCopy

func (in *MykindStatus) DeepCopy() *MykindStatus

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

func (*MykindStatus) DeepCopyInto

func (in *MykindStatus) DeepCopyInto(out *MykindStatus)

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