metadata

package
v0.0.0-...-63319d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MPL-2.0, Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL