Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionOpts ¶
type ActionOpts struct {
Action ResizeAction `json:"action" required:"true"`
}
func (*ActionOpts) Map ¶
func (opts *ActionOpts) Map() (map[string]interface{}, error)
type ActionResult ¶
type ActionResult struct {
// contains filtered or unexported fields
}
func Action ¶
func Action(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r ActionResult)
type CreateOpts ¶
type CreateOpts struct { InstanceName string `json:"instance_name" required:"true"` DomainName string `json:"domain_name"` InstanceType string `json:"instance_type" required:"true"` JHAdminName string `json:"jh_admin_name,omitempty"` JHAdminPassword string `json:"jh_admin_password,omitempty"` MLFlowJHInstanceID string `json:"mlflow_jh_instance_id,omitempty"` ISMLFlowDemoMode bool `json:"is_mlflow_demo_mode,omitempty"` DeployMLFlowInstanceID string `json:"deploy_mlflow_instance_id,omitempty"` Flavor string `json:"flavor" required:"true"` Volumes []VolumeCreateOpts `json:"volumes" required:"true"` Networks NetworkCreateOpts `json:"networks" required:"true"` S3FSBucket string `json:"s3fs_bucket,omitempty"` ISGPU bool `json:"is_gpu"` }
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 NetworkCreateOpts ¶
type OptsBuilder ¶
type ResizeAction ¶
type ResizeAction struct {
Resize ResizeActionOpts `json:"resize" required:"true"`
}
type ResizeActionOpts ¶
type ResizeActionOpts struct { Type string `json:"type" required:"true"` Params ResizeActionParams `json:"params" required:"true"` }
type ResizeActionParams ¶
type ResizeActionParams struct { Flavor string `json:"flavor,omitempty"` Volumes []ResizeVolumeParams `json:"volumes,omitempty"` }
type ResizeVolumeParams ¶
type Response ¶
type Response struct { ID string `json:"id" required:"true"` Name string `json:"name" required:"true"` Status string `json:"status" required:"true"` FlavorID string `json:"flavor_id" required:"true"` CreatedAt string `json:"created_dt" required:"true"` PublicIP string `json:"public_ip,omitempty"` PrivateIP string `json:"private_ip,omitempty"` DomainName string `json:"domain_name,omitempty"` InstanceType string `json:"instance_type" required:"true"` JHAdminName string `json:"jh_admin_name" required:"true"` MLFlowJHInstanceID string `json:"mlflow_jh_instance_id,omitempty"` DeployMLFlowInstanceID string `json:"mlflow_deploy_instance_id,omitempty"` Volumes []VolumeResponse `json:"volumes" required:"true"` }
type VolumeCreateOpts ¶
Click to show internal directories.
Click to hide internal directories.