v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=wildwest.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: wildwest.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cowboy

type Cowboy struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec CowboySpec `json:"spec,omitempty"`

	// +optional
	Status CowboyStatus `json:"status,omitempty"`
}

Cowboy is part of the wild west

+crd +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced

func (*Cowboy) DeepCopy

func (in *Cowboy) DeepCopy() *Cowboy

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

func (*Cowboy) DeepCopyInto

func (in *Cowboy) DeepCopyInto(out *Cowboy)

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

func (*Cowboy) DeepCopyObject

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

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

type CowboyList

type CowboyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Cowboy `json:"items"`
}

CowboyList is a list of Cowboy resources

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CowboyList) DeepCopy

func (in *CowboyList) DeepCopy() *CowboyList

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

func (*CowboyList) DeepCopyInto

func (in *CowboyList) DeepCopyInto(out *CowboyList)

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

func (*CowboyList) DeepCopyObject

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

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

type CowboySpec

type CowboySpec struct {
	// +optional
	Intent string `json:"intent,omitempty"`
}

CowboySpec holds the desired state of the Cowboy.

func (*CowboySpec) DeepCopy

func (in *CowboySpec) DeepCopy() *CowboySpec

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

func (*CowboySpec) DeepCopyInto

func (in *CowboySpec) DeepCopyInto(out *CowboySpec)

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

type CowboyStatus

type CowboyStatus struct {
	// +optional
	Result string `json:"result,omitempty"`
}

CowboyStatus communicates the observed state of the Cowboy.

func (*CowboyStatus) DeepCopy

func (in *CowboyStatus) DeepCopy() *CowboyStatus

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

func (*CowboyStatus) DeepCopyInto

func (in *CowboyStatus) DeepCopyInto(out *CowboyStatus)

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