Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=wildwest.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: wildwest.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cowboy.
func (*Cowboy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cowboy) DeepCopyObject ¶
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.