Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flavor ¶
type Flavor struct { // Flavor ID. ID string `json:"flavor_id"` // Storage size. StorageSize string `json:"storage_size"` // CPU limit. NumCpu string `json:"num_cpu"` // Initial CPU value. NumCpuInit string `json:"num_cpu_init"` // Memory limit. MemorySize string `json:"memory_size"` // Initial memory value. MemorySizeInit string `json:"memory_size_init"` // Label. Label string `json:"label"` // Whether resource specifications are customized. Custom bool `json:"custom"` }
Flavor is the structure that represents the detail of the ServiceStage flavor.
func ListFlavors ¶
func ListFlavors(c *golangsdk.ServiceClient) ([]Flavor, error)
ListFlavors is a method to obtain all application flavors.
type Runtime ¶
type Runtime struct { // Type. Type string `json:"type_name"` // Display name. DisplayName string `json:"display_name"` // Default container port. ContainerDefaultPort int `json:"container_default_port"` // Type description. TypeDesc string `json:"type_desc"` }
Runtime is the structure that represents the detail of the ServiceStage runtime.
func ListRuntimes ¶
func ListRuntimes(c *golangsdk.ServiceClient) ([]Runtime, error)
ListRuntimes is a method to obtain all component runtimes.
Click to show internal directories.
Click to hide internal directories.