Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterModel ¶
type ClusterModel struct { NewCluster /* URL to the spark master Required: true */ MasterURL *string `json:"masterUrl"` /* Route to the spark master web UI */ MasterWebRoute string `json:"masterWebRoute,omitempty"` /* URL to the spark master web UI Required: true */ MasterWebURL *string `json:"masterWebUrl"` /* Pods that make up the cluster Required: true */ Pods []*ClusterModelPodsItems0 `json:"pods"` /* Current status for the cluster Required: true */ Status *string `json:"status"` }
ClusterModel cluster model
swagger:model ClusterModel
type ClusterModelPodsItems0 ¶
type ClusterModelPodsItems0 struct { /* IP address of the pod Required: true */ IP *string `json:"ip"` /* Pod status Required: true */ Status *string `json:"status"` /* Type of pod Required: true */ Type *string `json:"type"` }
ClusterModelPodsItems0 cluster model pods items0
swagger:model ClusterModelPodsItems0
type ErrorModel ¶
type ErrorModel struct { /* An explanation of the specific error that has occurred Required: true */ Details *string `json:"details"` /* HTTP status code Required: true */ Status *int32 `json:"status"` /* A brief summary of the error, this should remain consistent between errors of the same class Required: true */ Title *string `json:"title"` }
ErrorModel error model
swagger:model ErrorModel
type ErrorResponse ¶
type ErrorResponse struct { /* List of errors returned Required: true Min Items: 1 */ Errors []*ErrorModel `json:"errors"` }
ErrorResponse error response
swagger:model ErrorResponse
type NewCluster ¶
type NewCluster struct { /* config */ Config *NewClusterConfig `json:"config,omitempty"` /* Unique name for the cluster Required: true */ Name *string `json:"name"` }
NewCluster new cluster
swagger:model NewCluster
type NewClusterConfig ¶
type NewClusterConfig struct { /* If true (which is the default), cluster create will also expose the Spark Web UI */ ExposeWebUI string `json:"exposeWebUI,omitempty"` /* The count of master nodes requested in the cluster (must be > 0) */ MasterCount *int64 `json:"masterCount,omitempty"` /* Enable spark metrics, true or false (default is false) */ Metrics string `json:"metrics,omitempty"` /* The name of a stored cluster configuration */ Name string `json:"name,omitempty"` /* The docker pull specification of a custom image to use for spark pods */ SparkImage string `json:"sparkImage,omitempty"` /* The name of a ConfigMap which holds spark configuration files for the master */ SparkMasterConfig string `json:"sparkMasterConfig,omitempty"` /* The name of a ConfigMap which holds spark configuration files for the workers */ SparkWorkerConfig string `json:"sparkWorkerConfig,omitempty"` /* The count of worker nodes requested in the cluster (must be > 0) */ WorkerCount *int64 `json:"workerCount,omitempty"` }
NewClusterConfig Cluster configuration values
swagger:model NewClusterConfig
type SingleCluster ¶
type SingleCluster struct { /* cluster */ Cluster *ClusterModel `json:"cluster,omitempty"` }
SingleCluster single cluster
swagger:model SingleCluster
Click to show internal directories.
Click to hide internal directories.