Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the tool v1 API group +kubebuilder:object:generate=true +groupName=tool.tanx.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tool.tanx.io", Version: "v1"} // 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 NodeJob ¶
type NodeJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeJobSpec `json:"spec,omitempty"` Status NodeJobStatus `json:"status,omitempty"` }
NodeJob is the Schema for the nodejobs API
func (*NodeJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeJob.
func (*NodeJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeJobList ¶
type NodeJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeJob `json:"items"` }
NodeJobList contains a list of NodeJob
func (*NodeJobList) DeepCopy ¶
func (in *NodeJobList) DeepCopy() *NodeJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeJobList.
func (*NodeJobList) DeepCopyInto ¶
func (in *NodeJobList) DeepCopyInto(out *NodeJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeJobList) DeepCopyObject ¶
func (in *NodeJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeJobSpec ¶
NodeJobSpec defines the desired state of NodeJob
func (*NodeJobSpec) DeepCopy ¶
func (in *NodeJobSpec) DeepCopy() *NodeJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeJobSpec.
func (*NodeJobSpec) DeepCopyInto ¶
func (in *NodeJobSpec) DeepCopyInto(out *NodeJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeJobStatus ¶
type NodeJobStatus struct { Values NodePodStatus `json:"values,omitempty"` Finish bool `json:"finish,omitempty"` }
NodeJobStatus defines the observed state of NodeJob
func (*NodeJobStatus) DeepCopy ¶
func (in *NodeJobStatus) DeepCopy() *NodeJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeJobStatus.
func (*NodeJobStatus) DeepCopyInto ¶
func (in *NodeJobStatus) DeepCopyInto(out *NodeJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.