cloudos

package
v0.6.14 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 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 []icbs.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
}

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
}

struct for unmarshal

Jump to

Keyboard shortcuts

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