cloudos

package
v0.8.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListCloudOS

func ListCloudOS() []string

func ValidateKeyValueList added in v0.5.1

func ValidateKeyValueList(inKeyValueList []icdrs.KeyValue, validKeyList []string) error

(1) Remove list of valid keys with list of inpput keys (2) Check the list of remaining Keys

Types

type CloudOSList

type CloudOSList struct {
	Name []string `yaml:"cloudos"`
}

type CloudOSMetaInfo added in v0.4.15

type CloudOSMetaInfo struct {
	Region               []string
	Credential           []string
	RootDiskType         []string
	RootDiskSize         []string
	DiskType             []string
	DiskSize             []string
	IdMaxLength          []string
	DefaultRegionToQuery []string
}

func GetCloudOSMetaInfo added in v0.4.15

func GetCloudOSMetaInfo(cloudOS string) (CloudOSMetaInfo, error)

type YamlMetaInfo added in v0.4.17

type YamlMetaInfo struct {
	Region               string
	Credential           string
	RootDiskType         string
	RootDiskSize         string
	DiskType             string
	DiskSize             string
	IdMaxLength          string
	DefaultRegionToQuery string
}

struct for unmarshal

Jump to

Keyboard shortcuts

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