v1alpha1

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 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.

type Sheriff added in v0.22.0

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

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

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

Sheriff is part of the wild west

+crd +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories=kcp

func (*Sheriff) DeepCopy added in v0.22.0

func (in *Sheriff) DeepCopy() *Sheriff

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

func (*Sheriff) DeepCopyInto added in v0.22.0

func (in *Sheriff) DeepCopyInto(out *Sheriff)

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

func (*Sheriff) DeepCopyObject added in v0.22.0

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

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

type SheriffList added in v0.22.0

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

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

SheriffList is a list of Sheriff resources

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

func (*SheriffList) DeepCopy added in v0.22.0

func (in *SheriffList) DeepCopy() *SheriffList

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

func (*SheriffList) DeepCopyInto added in v0.22.0

func (in *SheriffList) DeepCopyInto(out *SheriffList)

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

func (*SheriffList) DeepCopyObject added in v0.22.0

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

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

type SheriffSpec added in v0.22.0

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

Sheriff holds the desired state of the Sheriff.

func (*SheriffSpec) DeepCopy added in v0.22.0

func (in *SheriffSpec) DeepCopy() *SheriffSpec

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

func (*SheriffSpec) DeepCopyInto added in v0.22.0

func (in *SheriffSpec) DeepCopyInto(out *SheriffSpec)

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

type SheriffStatus added in v0.22.0

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

SheriffStatus communicates the observed state of the Sheriff.

func (*SheriffStatus) DeepCopy added in v0.22.0

func (in *SheriffStatus) DeepCopy() *SheriffStatus

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

func (*SheriffStatus) DeepCopyInto added in v0.22.0

func (in *SheriffStatus) DeepCopyInto(out *SheriffStatus)

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