v1

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

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the test v1 API group +kubebuilder:object:generate=true +groupName=test.kkohtaka.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "test.kkohtaka.org", Version: "v1"}

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

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

	Spec   ChildSpec   `json:"spec,omitempty"`
	Status ChildStatus `json:"status,omitempty"`
}

Child is the Schema for the children API +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*Child) DeepCopy

func (in *Child) DeepCopy() *Child

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

func (*Child) DeepCopyInto

func (in *Child) DeepCopyInto(out *Child)

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

func (*Child) DeepCopyObject

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

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

type ChildList

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

ChildList contains a list of Child

func (*ChildList) DeepCopy

func (in *ChildList) DeepCopy() *ChildList

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

func (*ChildList) DeepCopyInto

func (in *ChildList) DeepCopyInto(out *ChildList)

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

func (*ChildList) DeepCopyObject

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

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

type ChildPhase

type ChildPhase string

+kubebuilder:validation:Enum=Creating;Running;Updating;Deleting +kubebuilder:default=Creating

const (
	ChildPhaseCreating ChildPhase = "Creating"
	ChildPhaseRunning  ChildPhase = "Running"
	ChildPhaseUpdating ChildPhase = "Updating"
	ChildPhaseDeleting ChildPhase = "Deleting"
)

type ChildSpec

type ChildSpec struct {
}

ChildSpec defines the desired state of Child

func (*ChildSpec) DeepCopy

func (in *ChildSpec) DeepCopy() *ChildSpec

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

func (*ChildSpec) DeepCopyInto

func (in *ChildSpec) DeepCopyInto(out *ChildSpec)

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

type ChildStatus

type ChildStatus struct {
	Phase ChildPhase `json:"phase,omitempty"`
}

ChildStatus defines the observed state of Child

func (*ChildStatus) DeepCopy

func (in *ChildStatus) DeepCopy() *ChildStatus

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

func (*ChildStatus) DeepCopyInto

func (in *ChildStatus) DeepCopyInto(out *ChildStatus)

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

type Parent

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

	Spec   ParentSpec   `json:"spec,omitempty"`
	Status ParentStatus `json:"status,omitempty"`
}

Parent is the Schema for the parents API +kubebuilder:printcolumn:name="Children",type=integer,JSONPath=`.spec.numChildren` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (*Parent) DeepCopy

func (in *Parent) DeepCopy() *Parent

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

func (*Parent) DeepCopyInto

func (in *Parent) DeepCopyInto(out *Parent)

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

func (*Parent) DeepCopyObject

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

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

type ParentList

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

ParentList contains a list of Parent

func (*ParentList) DeepCopy

func (in *ParentList) DeepCopy() *ParentList

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

func (*ParentList) DeepCopyInto

func (in *ParentList) DeepCopyInto(out *ParentList)

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

func (*ParentList) DeepCopyObject

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

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

type ParentPhase

type ParentPhase string

+kubebuilder:validation:Enum=Creating;Running;Updating;Deleting +kubebuilder:default=Creating

const (
	ParentPhaseCreating ParentPhase = "Creating"
	ParentPhaseRunning  ParentPhase = "Running"
	ParentPhaseUpdating ParentPhase = "Updating"
	ParentPhaseDeleting ParentPhase = "Deleting"
)

type ParentSpec

type ParentSpec struct {
	NumChildren int32 `json:"numChildren,omitempty"`
}

ParentSpec defines the desired state of Parent

func (*ParentSpec) DeepCopy

func (in *ParentSpec) DeepCopy() *ParentSpec

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

func (*ParentSpec) DeepCopyInto

func (in *ParentSpec) DeepCopyInto(out *ParentSpec)

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

type ParentStatus

type ParentStatus struct {
	Phase ParentPhase `json:"phase,omitempty"`
}

ParentStatus defines the observed state of Parent

func (*ParentStatus) DeepCopy

func (in *ParentStatus) DeepCopy() *ParentStatus

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

func (*ParentStatus) DeepCopyInto

func (in *ParentStatus) DeepCopyInto(out *ParentStatus)

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