Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the app v1 API group +k8s:deepcopy-gen=package,register +groupName=app.learn.com
Package v1 contains API Schema definitions for the app v1 API group +k8s:deepcopy-gen=package,register +groupName=app.learn.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "app.learn.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Learn ¶
type Learn struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LearnSpec `json:"spec,omitempty"` Status LearnStatus `json:"status,omitempty"` }
Learn is the Schema for the learns API +kubebuilder:subresource:status +kubebuilder:resource:path=learns,scope=Namespaced
func (*Learn) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Learn.
func (*Learn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Learn) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LearnList ¶
type LearnList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Learn `json:"items"` }
LearnList contains a list of Learn
func (*LearnList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearnList.
func (*LearnList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LearnList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LearnSpec ¶
type LearnSpec 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"` }
LearnSpec defines the desired state of Learn
func (*LearnSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearnSpec.
func (*LearnSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LearnStatus ¶
type LearnStatus 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 PodNames []string `json:"podNames"` PodStatus v1.PodStatus `json:"podStatus"` }
LearnStatus defines the observed state of Learn
func (*LearnStatus) DeepCopy ¶
func (in *LearnStatus) DeepCopy() *LearnStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearnStatus.
func (*LearnStatus) DeepCopyInto ¶
func (in *LearnStatus) DeepCopyInto(out *LearnStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.