Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the maik v1alpha1 API group +kubebuilder:object:generate=true +groupName=maik.maik.fi
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "maik.maik.fi", 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 Helloworld ¶
type Helloworld struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelloworldSpec `json:"spec,omitempty"` Status HelloworldStatus `json:"status,omitempty"` }
Helloworld is the Schema for the helloworlds API +kubebuilder:subresource:status
func (*Helloworld) DeepCopy ¶
func (in *Helloworld) DeepCopy() *Helloworld
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Helloworld.
func (*Helloworld) DeepCopyInto ¶
func (in *Helloworld) DeepCopyInto(out *Helloworld)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Helloworld) DeepCopyObject ¶
func (in *Helloworld) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelloworldList ¶
type HelloworldList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Helloworld `json:"items"` }
HelloworldList contains a list of Helloworld
func (*HelloworldList) DeepCopy ¶
func (in *HelloworldList) DeepCopy() *HelloworldList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloworldList.
func (*HelloworldList) DeepCopyInto ¶
func (in *HelloworldList) DeepCopyInto(out *HelloworldList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelloworldList) DeepCopyObject ¶
func (in *HelloworldList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelloworldSpec ¶
type HelloworldSpec struct { // Foo is an example field of Helloworld. Edit helloworld_types.go to remove/update Foo string `json:"foo,omitempty"` //+kubebuilder:validation:Minimum=0 // Size defines how many pods to spin up Size int32 `json:"size"` }
HelloworldSpec defines the desired state of Helloworld
func (*HelloworldSpec) DeepCopy ¶
func (in *HelloworldSpec) DeepCopy() *HelloworldSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloworldSpec.
func (*HelloworldSpec) DeepCopyInto ¶
func (in *HelloworldSpec) DeepCopyInto(out *HelloworldSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelloworldStatus ¶
type HelloworldStatus struct { // Nodes are the names of the helloworld pods Nodes []string `json:"nodes"` }
HelloworldStatus defines the observed state of Helloworld
func (*HelloworldStatus) DeepCopy ¶
func (in *HelloworldStatus) DeepCopy() *HelloworldStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelloworldStatus.
func (*HelloworldStatus) DeepCopyInto ¶
func (in *HelloworldStatus) DeepCopyInto(out *HelloworldStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.