Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the app v1beta1 API group +kubebuilder:object:generate=true +groupName=app.kubefate.net
Index ¶
- Constants
- Variables
- type ClusterSpec
- type Datanode
- type Exchange
- type FateCluster
- type FateClusterList
- type FateClusterSpec
- type FateClusterStatus
- type FateJob
- type FateJobList
- type FateJobSpec
- type FateJobStatus
- type Fateflow
- type Hdfs
- type Host
- type ImagePullSecrets
- type Istio
- type JobConf
- type Kubefate
- type KubefateList
- type KubefateNamespacedName
- type KubefateSpec
- type KubefateStatus
- type Lbrollsite
- type List
- type Master
- type Mysql
- type NGRouteTable
- type Namenode
- type Nginx
- type NodeSelector
- type Nodemanager
- type Party
- type PartyInfo
- type PartyList
- type Proxy
- type Python
- type PythonHdfs
- type PythonNginx
- type PythonRabbitmq
- type PythonSpark
- type RBRouteTable
- type Rabbitmq
- type Rollsite
- type Spark
- type Worker
Constants ¶
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.kubefate.net", Version: "v1beta1"} // 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 ClusterSpec ¶
type ClusterSpec struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ChartName string `json:"chartName"` ChartVersion string `json:"chartVersion"` PartyID int32 `json:"partyId"` Registry string `json:"registry,omitempty"` ImageTag string `json:"imageTag,omitempty"` PullPolicy string `json:"pullPolicy,omitempty"` ImagePullSecrets []ImagePullSecrets `json:"imagePullSecrets,omitempty"` Persistence bool `json:"persistence,omitempty"` Istio Istio `json:"istio,omitempty"` Modules []string `json:"modules,omitempty"` Backend string `json:"backend,omitempty"` Host *Host `json:"bachostkend,omitempty"` Rollsite *Rollsite `json:"rollsite,omitempty"` Lbrollsite *Lbrollsite `json:"lbrollsite,omitempty"` Nodemanager *Nodemanager `json:"nodemanager"` Python *Python `json:"python,omitempty"` Mysql *Mysql `json:"mysql,omitempty"` ExternalMysqlIP string `json:"externalMysqlIp,omitempty"` ExternalMysqlPort string `json:"externalMysqlPort,omitempty"` ExternalMysqlDatabase string `json:"externalMysqlDatabase,omitempty"` ExternalMysqlUser string `json:"externalMysqlUser,omitempty"` ExternalMysqlPassword string `json:"externalMysqlPassword,omitempty"` ServingIP string `json:"servingIp,omitempty"` ServingPort int32 `json:"servingPort,omitempty"` Spark *Spark `json:"spark,omitempty"` Hdfs *Hdfs `json:"hdfs,omitempty"` Nginx *Nginx `json:"nginx,omitempty"` Rabbitmq *Rabbitmq `json:"rabbitmq,omitempty"` }
ClusterSpec
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Datanode ¶
type Datanode struct { NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` }
func (*Datanode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Datanode.
func (*Datanode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Exchange ¶
type Exchange struct { Id int32 `json:"id,omitempty"` IP string `json:"ip,omitempty"` Port int32 `json:"port,omitempty"` }
func (*Exchange) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exchange.
func (*Exchange) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FateCluster ¶
type FateCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FateClusterSpec `json:"spec,omitempty"` Status FateClusterStatus `json:"status,omitempty"` }
FateCluster is the Schema for the fateclusters API
func (*FateCluster) DeepCopy ¶
func (in *FateCluster) DeepCopy() *FateCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateCluster.
func (*FateCluster) DeepCopyInto ¶
func (in *FateCluster) DeepCopyInto(out *FateCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FateCluster) DeepCopyObject ¶
func (in *FateCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FateClusterList ¶
type FateClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FateCluster `json:"items"` }
FateClusterList contains a list of FateCluster
func (*FateClusterList) DeepCopy ¶
func (in *FateClusterList) DeepCopy() *FateClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateClusterList.
func (*FateClusterList) DeepCopyInto ¶
func (in *FateClusterList) DeepCopyInto(out *FateClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FateClusterList) DeepCopyObject ¶
func (in *FateClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FateClusterSpec ¶
type FateClusterSpec struct { ClusterSpec *ClusterSpec `json:"clusterSpec,omitempty"` Kubefate KubefateNamespacedName `json:"kubefate,omitempty"` ClusterData string `json:"clusterData,omitempty"` }
FateClusterSpec defines the desired state of FateCluster
func (*FateClusterSpec) DeepCopy ¶
func (in *FateClusterSpec) DeepCopy() *FateClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateClusterSpec.
func (*FateClusterSpec) DeepCopyInto ¶
func (in *FateClusterSpec) DeepCopyInto(out *FateClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FateClusterStatus ¶
type FateClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Status string `json:"status,omitempty"` KubefateJobId string `json:"jobId,omitempty"` KubefateClusterId string `json:"clusterId,omitempty"` }
FateClusterStatus defines the observed state of FateCluster
func (*FateClusterStatus) DeepCopy ¶
func (in *FateClusterStatus) DeepCopy() *FateClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateClusterStatus.
func (*FateClusterStatus) DeepCopyInto ¶
func (in *FateClusterStatus) DeepCopyInto(out *FateClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FateJob ¶
type FateJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FateJobSpec `json:"spec,omitempty"` Status FateJobStatus `json:"status,omitempty"` }
FateJob is the Schema for the fatejobs API
func (*FateJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateJob.
func (*FateJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FateJob) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FateJobList ¶
type FateJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FateJob `json:"items"` }
FateJobList contains a list of FateJob
func (*FateJobList) DeepCopy ¶
func (in *FateJobList) DeepCopy() *FateJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateJobList.
func (*FateJobList) DeepCopyInto ¶
func (in *FateJobList) DeepCopyInto(out *FateJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FateJobList) DeepCopyObject ¶
func (in *FateJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FateJobSpec ¶
type FateJobSpec struct { Image string `json:"image,omitempty"` FateClusterRef corev1.ObjectReference `json:"fateClusterRef"` JobConf JobConf `json:"jobConf,omitempty"` }
FateJobSpec defines the desired state of FateJob
func (*FateJobSpec) DeepCopy ¶
func (in *FateJobSpec) DeepCopy() *FateJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateJobSpec.
func (*FateJobSpec) DeepCopyInto ¶
func (in *FateJobSpec) DeepCopyInto(out *FateJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FateJobStatus ¶
type FateJobStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Status string `json:"status,omitempty"` JobStatus batchv1.JobStatus `json:"jobStatus,omitempty"` }
FateJobStatus defines the observed state of FateJob
func (*FateJobStatus) DeepCopy ¶
func (in *FateJobStatus) DeepCopy() *FateJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FateJobStatus.
func (*FateJobStatus) DeepCopyInto ¶
func (in *FateJobStatus) DeepCopyInto(out *FateJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fateflow ¶
type Fateflow struct { Host string `json:"host,omitempty"` HTTPNodePort int32 `json:"httpNodePort,omitempty"` GrpcNodePort int32 `json:"grpcNodePort,omitempty"` }
func (*Fateflow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fateflow.
func (*Fateflow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hdfs ¶
type Hdfs struct { Namenode *Namenode `json:"namenode,omitempty"` Datanode *Datanode `json:"datanode,omitempty"` }
func (*Hdfs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hdfs.
func (*Hdfs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Host ¶
type Host struct { Fateboard string `json:"fateboard,omitempty"` Client string `json:"client,omitempty"` SparkUI string `json:"sparkUI,omitempty"` RabbitmqUI string `json:"rabbitmqUI,omitempty"` }
func (*Host) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImagePullSecrets ¶
type ImagePullSecrets struct {
Name string `json:"name,omitempty"`
}
func (*ImagePullSecrets) DeepCopy ¶
func (in *ImagePullSecrets) DeepCopy() *ImagePullSecrets
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullSecrets.
func (*ImagePullSecrets) DeepCopyInto ¶
func (in *ImagePullSecrets) DeepCopyInto(out *ImagePullSecrets)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Istio ¶
type Istio struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*Istio) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Istio.
func (*Istio) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobConf ¶
type JobConf struct { Pipeline string `json:"pipeline,omitempty"` ModulesConf string `json:"modulesConf,omitempty"` }
func (*JobConf) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobConf.
func (*JobConf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kubefate ¶
type Kubefate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubefateSpec `json:"spec,omitempty"` Status KubefateStatus `json:"status,omitempty"` }
Kubefate is the Schema for the kubefates API
func (*Kubefate) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubefate.
func (*Kubefate) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kubefate) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubefateList ¶
type KubefateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Kubefate `json:"items"` }
KubefateList contains a list of Kubefate
func (*KubefateList) DeepCopy ¶
func (in *KubefateList) DeepCopy() *KubefateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubefateList.
func (*KubefateList) DeepCopyInto ¶
func (in *KubefateList) DeepCopyInto(out *KubefateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubefateList) DeepCopyObject ¶
func (in *KubefateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubefateNamespacedName ¶
type KubefateNamespacedName struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*KubefateNamespacedName) DeepCopy ¶
func (in *KubefateNamespacedName) DeepCopy() *KubefateNamespacedName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubefateNamespacedName.
func (*KubefateNamespacedName) DeepCopyInto ¶
func (in *KubefateNamespacedName) DeepCopyInto(out *KubefateNamespacedName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubefateSpec ¶
type KubefateSpec struct { Image string `json:"image,omitempty"` IngressDomain string `json:"ingressDomain,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` VolumeSource corev1.VolumeSource `json:"volumeSource,omitempty"` Config []corev1.EnvVar `json:"config,omitempty"` }
KubefateSpec defines the desired state of Kubefate
func (*KubefateSpec) DeepCopy ¶
func (in *KubefateSpec) DeepCopy() *KubefateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubefateSpec.
func (*KubefateSpec) DeepCopyInto ¶
func (in *KubefateSpec) DeepCopyInto(out *KubefateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubefateStatus ¶
type KubefateStatus struct { Status string `json:"status,omitempty"` Namespace string `json:"namespace,omitempty"` KubefateDeploy string `json:"kubefateDeploy,omitempty"` MariadbDeploy string `json:"mariadbDeploy,omitempty"` KubefateService string `json:"kubefateService,omitempty"` MariadbService string `json:"mariadbService,omitempty"` Ingress string `json:"ingress,omitempty"` }
KubefateStatus defines the observed state of Kubefate
func (*KubefateStatus) DeepCopy ¶
func (in *KubefateStatus) DeepCopy() *KubefateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubefateStatus.
func (*KubefateStatus) DeepCopyInto ¶
func (in *KubefateStatus) DeepCopyInto(out *KubefateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Lbrollsite ¶
type Lbrollsite struct { Type string `json:"type,omitempty"` NodePort int32 `json:"nodePort,omitempty"` Size string `json:"size,omitempty"` Exchange *Exchange `json:"exchange,omitempty"` PartyList []PartyList `json:"partyList,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` }
func (*Lbrollsite) DeepCopy ¶
func (in *Lbrollsite) DeepCopy() *Lbrollsite
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lbrollsite.
func (*Lbrollsite) DeepCopyInto ¶
func (in *Lbrollsite) DeepCopyInto(out *Lbrollsite)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type List ¶
type List struct { Name string `json:"name,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` SessionProcessorsPerNode int32 `json:"sessionProcessorsPerNode,omitempty"` SubPath string `json:"subPath,omitempty"` ExistingClaim string `json:"existingClaim,omitempty"` StorageClass string `json:"storageClass,omitempty"` AccessMode string `json:"accessMode,omitempty"` Size string `json:"size,omitempty"` }
func (*List) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
func (*List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Master ¶
type Master struct { Image string `json:"Image,omitempty"` ImageTag string `json:"ImageTag,omitempty"` Replicas int32 `json:"replicas,omitempty"` CPU string `json:"cpu,omitempty"` Memory string `json:"memory,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` }
func (*Master) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Master.
func (*Master) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mysql ¶
type Mysql struct { NodeSelector NodeSelector `json:"nodeSelector,omitempty"` IP string `json:"ip,omitempty"` Port int32 `json:"port,omitempty"` Database string `json:"database,omitempty"` User string `json:"user,omitempty"` Password string `json:"password,omitempty"` SubPath string `json:"subPath,omitempty"` ExistingClaim string `json:"existingClaim,omitempty"` StorageClass string `json:"storageClass,omitempty"` AccessMode string `json:"accessMode,omitempty"` Size string `json:"size,omitempty"` }
func (*Mysql) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mysql.
func (*Mysql) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NGRouteTable ¶
func (NGRouteTable) DeepCopy ¶
func (in NGRouteTable) DeepCopy() NGRouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NGRouteTable.
func (NGRouteTable) DeepCopyInto ¶
func (in NGRouteTable) DeepCopyInto(out *NGRouteTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Namenode ¶
type Namenode struct { NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` }
func (*Namenode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namenode.
func (*Namenode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nginx ¶
type Nginx struct { NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` HTTPNodePort int32 `json:"httpNodePort,omitempty"` GrpcNodePort int32 `json:"grpcNodePort,omitempty"` RouteTable NGRouteTable `json:"route_table,omitempty"` }
func (*Nginx) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nginx.
func (*Nginx) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSelector ¶
func (NodeSelector) DeepCopy ¶
func (in NodeSelector) DeepCopy() NodeSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector.
func (NodeSelector) DeepCopyInto ¶
func (in NodeSelector) DeepCopyInto(out *NodeSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nodemanager ¶
type Nodemanager struct { Count int32 `json:"count,omitempty"` SessionProcessorsPerNode int32 `json:"sessionProcessorsPerNode"` StorageClass string `json:"storageClass,omitempty"` AccessMode string `json:"accessMode,omitempty"` List []List `json:"list,omitempty"` }
func (*Nodemanager) DeepCopy ¶
func (in *Nodemanager) DeepCopy() *Nodemanager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodemanager.
func (*Nodemanager) DeepCopyInto ¶
func (in *Nodemanager) DeepCopyInto(out *Nodemanager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Party ¶
func (*Party) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Party.
func (*Party) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartyInfo ¶
type PartyInfo struct { Proxy []Proxy `json:"proxy,omitempty"` Fateflow []Fateflow `json:"fateflow,omitempty"` }
func (*PartyInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartyInfo.
func (*PartyInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartyList ¶
type PartyList struct { PartyID int32 `json:"partyId,omitempty"` PartyIP string `json:"partyIp,omitempty"` PartyPort int32 `json:"partyPort,omitempty"` }
func (*PartyList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartyList.
func (*PartyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Proxy ¶
type Proxy struct { Host string `json:"host,omitempty"` HTTPNodePort int32 `json:"httpNodePort,omitempty"` GrpcNodePort int32 `json:"grpcNodePort,omitempty"` }
func (*Proxy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Proxy.
func (*Proxy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Python ¶
type Python struct { Type string `json:"type,omitempty"` HTTPNodePort int32 `json:"httpNodePort,omitempty"` GrpcNodePort int32 `json:"grpcNodePort,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` EnabledNN bool `json:"enabledNN,omitempty"` Spark *PythonSpark `json:"spark,omitempty"` Hdfs *PythonHdfs `json:"hdfs,omitempty"` Rabbitmq *PythonRabbitmq `json:"rabbitmq,omitempty"` Nginx *PythonNginx `json:"nginx,omitempty"` }
func (*Python) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Python.
func (*Python) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PythonHdfs ¶
type PythonHdfs struct { NameNode string `json:"name_node,omitempty"` PathPrefix string `json:"path_prefix,omitempty"` }
func (*PythonHdfs) DeepCopy ¶
func (in *PythonHdfs) DeepCopy() *PythonHdfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PythonHdfs.
func (*PythonHdfs) DeepCopyInto ¶
func (in *PythonHdfs) DeepCopyInto(out *PythonHdfs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PythonNginx ¶
type PythonNginx struct { Host string `json:"host,omitempty"` HTTPPort string `json:"http_port,omitempty"` GrpcPort string `json:"grpc_port,omitempty"` }
func (*PythonNginx) DeepCopy ¶
func (in *PythonNginx) DeepCopy() *PythonNginx
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PythonNginx.
func (*PythonNginx) DeepCopyInto ¶
func (in *PythonNginx) DeepCopyInto(out *PythonNginx)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PythonRabbitmq ¶
type PythonRabbitmq struct { Host string `json:"host,omitempty"` MngPort string `json:"mng_port,omitempty"` Port string `json:"port,omitempty"` User string `json:"user,omitempty"` Password string `json:"password,omitempty"` RouteTable string `json:"route_table,omitempty"` }
func (*PythonRabbitmq) DeepCopy ¶
func (in *PythonRabbitmq) DeepCopy() *PythonRabbitmq
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PythonRabbitmq.
func (*PythonRabbitmq) DeepCopyInto ¶
func (in *PythonRabbitmq) DeepCopyInto(out *PythonRabbitmq)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PythonSpark ¶
type PythonSpark struct { Master string `json:"master,omitempty"` Home string `json:"home,omitempty"` CoresPerNode string `json:"cores_per_node,omitempty"` Nodes string `json:"nodes,omitempty"` }
func (*PythonSpark) DeepCopy ¶
func (in *PythonSpark) DeepCopy() *PythonSpark
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PythonSpark.
func (*PythonSpark) DeepCopyInto ¶
func (in *PythonSpark) DeepCopyInto(out *PythonSpark)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RBRouteTable ¶
func (RBRouteTable) DeepCopy ¶
func (in RBRouteTable) DeepCopy() RBRouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBRouteTable.
func (RBRouteTable) DeepCopyInto ¶
func (in RBRouteTable) DeepCopyInto(out *RBRouteTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rabbitmq ¶
type Rabbitmq struct { NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` NodePort int32 `json:"nodePort,omitempty"` DefaultUser string `json:"default_user,omitempty"` DefaultPass string `json:"default_pass,omitempty"` User string `json:"user,omitempty"` Password string `json:"password,omitempty"` RouteTable RBRouteTable `json:"route_table,omitempty"` }
func (*Rabbitmq) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rabbitmq.
func (*Rabbitmq) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rollsite ¶
type Rollsite struct { Type string `json:"type,omitempty"` NodePort int32 `json:"nodePort,omitempty"` Exchange *Exchange `json:"exchange,omitempty"` PartyList []PartyList `json:"partyList,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` }
func (*Rollsite) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollsite.
func (*Rollsite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Spark ¶
type Spark struct { Master Master `json:"Master,omitempty"` Worker Worker `json:"Worker,omitempty"` }
func (*Spark) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spark.
func (*Spark) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Worker ¶
type Worker struct { Image string `json:"Image,omitempty"` ImageTag string `json:"ImageTag,omitempty"` Replicas int32 `json:"replicas,omitempty"` CPU string `json:"cpu,omitempty"` Memory string `json:"memory,omitempty"` NodeSelector NodeSelector `json:"nodeSelector,omitempty"` Type string `json:"type,omitempty"` }
func (*Worker) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Worker.
func (*Worker) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.