Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the nikaya v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the nikaya v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=nikaya.arhat.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "nikaya.arhat.dev", Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
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 Foo ¶
type Foo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FooSpec `json:"spec,omitempty"` Status FooStatus `json:"status,omitempty"` }
Foo is the Schema for the foo API +k8s:openapi-gen=true +kubebuilder:resource:scope=Namespaced,shortName=foo +kubebuilder:printcolumn:name="Bar",type=string,JSONPath=".spec.bar" +kubebuilder:printcolumn:name="Status-Bar",type=string,JSONPath=".status.bar" +kubebuilder:subresource:status +kubebuilder:resource:path=foo,shortName={foo,foos}
func (*Foo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Foo.
func (*Foo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FooList ¶
type FooList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Foo `json:"items"` }
FooList contains a list of Foo
func (*FooList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooList.
func (*FooList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FooSpec ¶
type FooSpec struct {
Bar string `json:"bar,omitempty"`
}
FooSpec defines the desired state of Foo
func (*FooSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FooSpec.