Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rqcluster v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=rqcluster.example.com
Package v1alpha1 contains API Schema definitions for the rqcluster v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=rqcluster.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "rqcluster.example.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Rqcluster ¶
type Rqcluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RqclusterSpec `json:"spec,omitempty"` Status RqclusterStatus `json:"status,omitempty"` }
Rqcluster is the Schema for the rqclusters API +kubebuilder:subresource:status +kubebuilder:resource:path=rqclusters,scope=Namespaced
func (*Rqcluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rqcluster.
func (*Rqcluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rqcluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RqclusterList ¶
type RqclusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Rqcluster `json:"items"` }
RqclusterList contains a list of Rqcluster
func (*RqclusterList) DeepCopy ¶
func (in *RqclusterList) DeepCopy() *RqclusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RqclusterList.
func (*RqclusterList) DeepCopyInto ¶
func (in *RqclusterList) DeepCopyInto(out *RqclusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RqclusterList) DeepCopyObject ¶
func (in *RqclusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RqclusterSpec ¶
type RqclusterSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Size int32 `json:"size"` CpuLimit string `json:"cpulimit"` CpuRequest string `json:"cpurequest"` MemoryLimit string `json:"memorylimit"` MemoryRequest string `json:"memoryrequest"` StorageClass string `json:"storageclass"` StorageLimit string `json:"storagelimit"` }
RqclusterSpec defines the desired state of Rqcluster
func (*RqclusterSpec) DeepCopy ¶
func (in *RqclusterSpec) DeepCopy() *RqclusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RqclusterSpec.
func (*RqclusterSpec) DeepCopyInto ¶
func (in *RqclusterSpec) DeepCopyInto(out *RqclusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RqclusterStatus ¶
type RqclusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Nodes []string `json:"nodes"` }
RqclusterStatus defines the observed state of Rqcluster
func (*RqclusterStatus) DeepCopy ¶
func (in *RqclusterStatus) DeepCopy() *RqclusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RqclusterStatus.
func (*RqclusterStatus) DeepCopyInto ¶
func (in *RqclusterStatus) DeepCopyInto(out *RqclusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.