Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the dlpipe v1alpha1 API group +kubebuilder:object:generate=true +groupName=dlpipe.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "dlpipe.github.com", 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 DLJobPhase ¶
type DLJobPhase string
const ( JobPending DLJobPhase = "JobPending" WaitingForMaster DLJobPhase = "WaitingForMaster" MasterIsReady DLJobPhase = "MasterIsReady" JobRunning DLJobPhase = "JobRunning" Completed DLJobPhase = "Completed" Failed DLJobPhase = "Failed" )
type DLpipeJob ¶
type DLpipeJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DLpipeJobSpec `json:"spec,omitempty"` Status DLpipeJobStatus `json:"status,omitempty"` }
DLpipeJob is the Schema for the dlpipejobs API
func (*DLpipeJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DLpipeJob.
func (*DLpipeJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DLpipeJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DLpipeJob) SetDefaultStatus ¶
type DLpipeJobList ¶
type DLpipeJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DLpipeJob `json:"items"` }
DLpipeJobList contains a list of DLpipeJob
func (*DLpipeJobList) DeepCopy ¶
func (in *DLpipeJobList) DeepCopy() *DLpipeJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DLpipeJobList.
func (*DLpipeJobList) DeepCopyInto ¶
func (in *DLpipeJobList) DeepCopyInto(out *DLpipeJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DLpipeJobList) DeepCopyObject ¶
func (in *DLpipeJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DLpipeJobSpec ¶
type DLpipeJobSpec struct { // Foo is an example field of DLpipeJob. Edit dlpipejob_types.go to remove/update // Foo string `json:"foo,omitempty"` WorldSize *int64 `json:"worldSize"` JobTemplate corev1.PodSpec `json:"jobTemplate"` Placement map[string]int `json:"placement,omitempty"` }
DLpipeJobSpec defines the desired state of DLpipeJob
func (*DLpipeJobSpec) DeepCopy ¶
func (in *DLpipeJobSpec) DeepCopy() *DLpipeJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DLpipeJobSpec.
func (*DLpipeJobSpec) DeepCopyInto ¶
func (in *DLpipeJobSpec) DeepCopyInto(out *DLpipeJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DLpipeJobStatus ¶
type DLpipeJobStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file JobPhase DLJobPhase `json:"phase"` StartTime *metav1.Time `json:"startTime"` MasterAddr string `json:"masterAddr,omitempty"` }
DLpipeJobStatus defines the observed state of DLpipeJob
func (*DLpipeJobStatus) DeepCopy ¶
func (in *DLpipeJobStatus) DeepCopy() *DLpipeJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DLpipeJobStatus.
func (*DLpipeJobStatus) DeepCopyInto ¶
func (in *DLpipeJobStatus) DeepCopyInto(out *DLpipeJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DLpipeJobStatus) SetDefault ¶
func (jobStatus *DLpipeJobStatus) SetDefault() bool