Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cache.example.com
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cache.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "cache.example.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type DFReplicaSpec ¶
type DFReplicaSpec struct { Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` Template *v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"` }
func (*DFReplicaSpec) DeepCopy ¶
func (in *DFReplicaSpec) DeepCopy() *DFReplicaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DFReplicaSpec.
func (*DFReplicaSpec) DeepCopyInto ¶
func (in *DFReplicaSpec) DeepCopyInto(out *DFReplicaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DFReplicaType ¶
type DFReplicaType string
const ( PS DFReplicaType = "PS" Worker DFReplicaType = "Worker" )
type DfJob ¶
type DfJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DfJobSpec `json:"spec,omitempty"` Status DfJobStatus `json:"status,omitempty"` }
DfJob is the Schema for the dfjobs API +k8s:openapi-gen=true
func (*DfJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DfJob.
func (*DfJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DfJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DfJobList ¶
type DfJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DfJob `json:"items"` }
DfJobList contains a list of DfJob
func (*DfJobList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DfJobList.
func (*DfJobList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DfJobList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DfJobSpec ¶
type DfJobSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file ReplicaSpecs map[DFReplicaType]*DFReplicaSpec `json:"dfreplicaSpecs"` }
EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. DfJobSpec defines the desired state of DfJob
func (*DfJobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DfJobSpec.
func (*DfJobSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DfJobStatus ¶
type DfJobStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file Nodes []string `json:"nodes"` }
DfJobStatus defines the observed state of DfJob
func (*DfJobStatus) DeepCopy ¶
func (in *DfJobStatus) DeepCopy() *DfJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DfJobStatus.
func (*DfJobStatus) DeepCopyInto ¶
func (in *DfJobStatus) DeepCopyInto(out *DfJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.