v1alpha1

package
v0.0.0-...-d26e7b2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "interview.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 Dummy

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

	Spec   DummySpec   `json:"spec,omitempty"`
	Status DummyStatus `json:"status,omitempty"`
}

Dummy is the Schema for the dummies API

func (*Dummy) DeepCopy

func (in *Dummy) DeepCopy() *Dummy

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

func (*Dummy) DeepCopyInto

func (in *Dummy) DeepCopyInto(out *Dummy)

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

func (*Dummy) DeepCopyObject

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

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

type DummyList

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

DummyList contains a list of Dummy

func (*DummyList) DeepCopy

func (in *DummyList) DeepCopy() *DummyList

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

func (*DummyList) DeepCopyInto

func (in *DummyList) DeepCopyInto(out *DummyList)

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

func (*DummyList) DeepCopyObject

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

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

type DummySpec

type DummySpec struct {
	// Message specifies a simple string field.
	Message string `json:"message,omitempty"`
}

DummySpec defines the desired state of Dummy

func (*DummySpec) DeepCopy

func (in *DummySpec) DeepCopy() *DummySpec

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

func (*DummySpec) DeepCopyInto

func (in *DummySpec) DeepCopyInto(out *DummySpec)

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

type DummyStatus

type DummyStatus struct {
	// SpecEcho is a status field that reflects the value spec.message field
	// +optional
	SpecEcho string `json:"specEcho,omitempty"`
	// PodStatus reflects the current status of the underlined Pod resource for the CRD
	// +optional
	PodStatus string `json:"podStatus,omitempty"`
}

DummyStatus defines the observed state of Dummy

func (*DummyStatus) DeepCopy

func (in *DummyStatus) DeepCopy() *DummyStatus

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

func (*DummyStatus) DeepCopyInto

func (in *DummyStatus) DeepCopyInto(out *DummyStatus)

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