Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
type ClusterInfo struct { Name string `json:"name" required:"true"` AvailabilityZone string `json:"availability_zone" required:"true"` NetworkID string `json:"network_id" required:"true"` SubnetID string `json:"subnet_id,omitempty"` NodeGroups []NodeGroupResponse `json:"node_groups" required:"true"` ClusterMode string `json:"cluster_mode" required:"true"` IPPool string `json:"ip_pool" required:"true"` Keypair string `json:"keypair,omitempty"` DeleteAfterDelay int `json:"delete_after_delay,omitempty"` SuspendAfterDelay int `json:"suspend_after_delay,omitempty"` SparkConfiguration string `json:"spark_configuration,omitempty"` EnvironmentVariables string `json:"environment_variables,omitempty"` }
type CreateOpts ¶
type CreateOpts struct { Name string `json:"name" required:"true"` AvailabilityZone string `json:"availability_zone" required:"true"` NetworkID string `json:"network_id" required:"true"` SubnetID string `json:"subnet_id,omitempty"` NodeGroups []NodeGroupCreateOpts `json:"node_groups" required:"true"` ClusterMode string `json:"cluster_mode" required:"true"` Registry RegistryCreateOpts `json:"registry" required:"true"` IPPool string `json:"ip_pool" required:"true"` Keypair string `json:"keypair,omitempty"` DeleteAfterDelay int `json:"delete_after_delay,omitempty"` SuspendAfterDelay int `json:"suspend_after_delay,omitempty"` SparkConfiguration string `json:"spark_configuration,omitempty"` EnvironmentVariables string `json:"environment_variables,omitempty"` }
func (*CreateOpts) Map ¶
func (opts *CreateOpts) Map() (map[string]interface{}, error)
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
type NodeGroupCreateOpts ¶
type NodeGroupResponse ¶
type OptsBuilder ¶
type RegistryCreateOpts ¶
type RegistryCreateOpts struct {
ExistingRegistryID string `json:"existing_registry_id" required:"true"`
}
type Response ¶
type Response struct { ID string `json:"id" required:"true"` Name string `json:"name" required:"true"` Status string `json:"status"` Info ClusterInfo `json:"info"` S3BucketName string `json:"s3_bucket_name"` DockerRegistryID string `json:"docker_registry_id" required:"true"` HistoryServerURL string `json:"history_server_url"` ControlInstanceID string `json:"control_instance_id"` InactiveMin int `json:"inactive_min"` SuspendAfterInactiveMin int `json:"suspend_after_inactive_min"` DeleteAfterInactiveMin int `json:"delete_after_inactive_min"` }
Click to show internal directories.
Click to hide internal directories.