v1

package
v0.0.0-...-0d75fa4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the demo v1 API group +k8s:deepcopy-gen=package,register +groupName=demo.example.com

Package v1 contains API Schema definitions for the demo v1 API group +k8s:deepcopy-gen=package,register +groupName=demo.example.com

Index

Constants

This section is empty.

Variables

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

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

Functions

This section is empty.

Types

type Demo

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

	Spec   DemoSpec   `json:"spec,omitempty"`
	Status DemoStatus `json:"status,omitempty"`
}

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

func (*Demo) DeepCopy

func (in *Demo) DeepCopy() *Demo

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

func (*Demo) DeepCopyInto

func (in *Demo) DeepCopyInto(out *Demo)

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

func (*Demo) DeepCopyObject

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

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

type DemoList

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

DemoList contains a list of Demo

func (*DemoList) DeepCopy

func (in *DemoList) DeepCopy() *DemoList

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

func (*DemoList) DeepCopyInto

func (in *DemoList) DeepCopyInto(out *DemoList)

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

func (*DemoList) DeepCopyObject

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

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

type DemoSpec

type DemoSpec struct {
	Message string `json:"message"`
	Count   int32  `json:"count"`
}

DemoSpec defines the desired state of Demo

func (*DemoSpec) DeepCopy

func (in *DemoSpec) DeepCopy() *DemoSpec

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

func (*DemoSpec) DeepCopyInto

func (in *DemoSpec) DeepCopyInto(out *DemoSpec)

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

type DemoStatus

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

DemoStatus defines the observed state of Demo

func (*DemoStatus) DeepCopy

func (in *DemoStatus) DeepCopy() *DemoStatus

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

func (*DemoStatus) DeepCopyInto

func (in *DemoStatus) DeepCopyInto(out *DemoStatus)

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