v1alpha1

package
v0.0.0-...-4d5a10b Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the demos v1alpha1 API group +kubebuilder:object:generate=true +groupName=demos.sdbrett.com

Index

Constants

This section is empty.

Variables

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

	// 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 DemoOne

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

	Spec   DemoOneSpec   `json:"spec,omitempty"`
	Status DemoOneStatus `json:"status,omitempty"`
}

DemoOne is the Schema for the demoones API

func (*DemoOne) DeepCopy

func (in *DemoOne) DeepCopy() *DemoOne

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

func (*DemoOne) DeepCopyInto

func (in *DemoOne) DeepCopyInto(out *DemoOne)

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

func (*DemoOne) DeepCopyObject

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

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

type DemoOneList

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

DemoOneList contains a list of DemoOne

func (*DemoOneList) DeepCopy

func (in *DemoOneList) DeepCopy() *DemoOneList

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

func (*DemoOneList) DeepCopyInto

func (in *DemoOneList) DeepCopyInto(out *DemoOneList)

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

func (*DemoOneList) DeepCopyObject

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

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

type DemoOneSpec

type DemoOneSpec struct {

	// Foo is an example field of DemoOne. Edit DemoOne_types.go to remove/update
	Colour   string `json:"colour"`
	Replicas int32  `json:"replicas"`
}

DemoOneSpec defines the desired state of DemoOne

func (*DemoOneSpec) DeepCopy

func (in *DemoOneSpec) DeepCopy() *DemoOneSpec

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

func (*DemoOneSpec) DeepCopyInto

func (in *DemoOneSpec) DeepCopyInto(out *DemoOneSpec)

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

type DemoOneStatus

type DemoOneStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Nodes []string `json:"nodes"`
}

DemoOneStatus defines the observed state of DemoOne

func (*DemoOneStatus) DeepCopy

func (in *DemoOneStatus) DeepCopy() *DemoOneStatus

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

func (*DemoOneStatus) DeepCopyInto

func (in *DemoOneStatus) DeepCopyInto(out *DemoOneStatus)

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