cloud

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AMOUNT  = "amount"
	BALANCE = "balance"
	PRODUCT = "product"
)
View Source
const (
	BUNDLE        = "bundle"
	TEMPLATE_ID   = "templateId"
	TEMPLATE_NAME = "templateName"
)
View Source
const (
	CLIENT     = "client"
	SECRET_ID  = "secretId"
	SECRET_KEY = "secretKey"
)
View Source
const (
	VENDOR = "vendor"
	SESS   = "sess"
	REGION = "region"
	STATUS = "status"
)
View Source
const (
	CREATED_TIME         = "createdTime"
	EXPIRED_TIME         = "expiredTime"
	USED_TIME            = "usedTime"
	INSTANCE             = "instance"
	INSTANCE_ID          = "instanceId"
	INSTANCE_NAME        = "instanceName"
	INSTANCE_TYPE        = "instanceType"
	INSTANCE_CHARGE_TYPE = "instanceChargeType"
	LAUNCH_TEMPLATE_ID   = "launchTemplateId"
	SECURITY_GROUP_ID    = "securityGroupId"
	IMAGE_ID             = "imageId"
	KEY_ID               = "keyId"

	OS        = "os"
	CPU       = "cpu"
	MEMORY    = "memory"
	DISK      = "disk"
	BANDWIDTH = "bandwidth"
	ADDRESS   = "address"
	HOSTNAME  = "hostName"
	PORTAL    = "portal"

	POSTPAID = "POSTPAID"
	PREPAID  = "PREPAID"
	RUNNING  = "RUNNING"
	UNKNOWN  = "UNKNOWN"

	INSTANCE_CREATE = "instance.create"
	INSTANCE_REMOVE = "instance.remove"
)
View Source
const (
	RESOURCE      = "resource"
	RESOURCE_ID   = "resourceId"
	RESOURCE_NAME = "resourceName"
)
View Source
const (
	DOMAIN = "domain"
)

Variables

This section is empty.

Functions

func Captial added in v0.1.1

func Captial(m *ice.Message, value ice.Any, fields ...string) ice.Map

func Inputs added in v0.1.1

func Inputs(m *ice.Message, target ice.Any) *ice.Message

func ParseDetail added in v0.1.1

func ParseDetail(m *ice.Message, data ice.Any, fields ...string)

func ParseResponse

func ParseResponse(m *ice.Message, res, key string, fields ...string) ice.Any

func ParseTime

func ParseTime(m *ice.Message, value string) string

func ParseUsedTime

func ParseUsedTime(m *ice.Message, createdTime, endTime string) string

func PrefixKey

func PrefixKey() string

func RequestPost

func RequestPost(m *ice.Message, arg []string, req ice.Any, cb func() (ice.Any, error)) ice.Any

func SetParamIds

func SetParamIds(m *ice.Message, req ice.Any, key string, arg ...string)

func SetParams

func SetParams(req ice.Any, arg ...ice.Any)

func Toolkit added in v0.1.1

func Toolkit(m *ice.Message, s ice.Any) *ice.Message

func VendorList added in v0.1.1

func VendorList(m *ice.Message, s ice.Any) *ice.Message

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

func (Account) Init added in v0.1.1

func (s Account) Init(m *ice.Message, arg ...string)

func (Account) List

func (s Account) List(m *ice.Message, arg ...string)

type Bundle

type Bundle struct {
	// contains filtered or unexported fields
}

func (Bundle) Init added in v0.1.1

func (s Bundle) Init(m *ice.Message, arg ...string)

func (Bundle) List

func (s Bundle) List(m *ice.Message, arg ...string)

func (Bundle) Publish

func (s Bundle) Publish(m *ice.Message, arg ...string)

func (Bundle) Scan added in v0.1.1

func (s Bundle) Scan(m *ice.Message, arg ...string)

func (Bundle) StartParams

func (s Bundle) StartParams(m *ice.Message, arg ...string) []string

type Cert added in v0.1.1

type Cert struct {
	// contains filtered or unexported fields
}

func (Cert) Init added in v0.1.1

func (s Cert) Init(m *ice.Message, arg ...string)

func (Cert) List added in v0.1.1

func (s Cert) List(m *ice.Message, arg ...string)

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (Client) Delete added in v0.1.1

func (s Client) Delete(m *ice.Message, arg ...string)

func (Client) Init added in v0.1.1

func (s Client) Init(m *ice.Message, arg ...string)

func (Client) Insert added in v0.1.1

func (s Client) Insert(m *ice.Message, arg ...string)

func (Client) List

func (s Client) List(m *ice.Message, arg ...string)

func (Client) Scan added in v0.1.1

func (s Client) Scan(m *ice.Message, arg ...string)

func (Client) Secret

func (s Client) Secret(m *ice.Message, arg ...string)

func (Client) Vendor

func (s Client) Vendor(m *ice.Message, arg ...string)

type Common added in v0.1.1

type Common struct {
	ice.Hash
	// contains filtered or unexported fields
}

func (Common) Add added in v0.1.1

func (s Common) Add(m *ice.Message, p ice.Any)

func (Common) Delete added in v0.1.1

func (s Common) Delete(m *ice.Message, arg ...string)

func (Common) Insert added in v0.1.1

func (s Common) Insert(m *ice.Message, arg ...string) string

func (Common) List added in v0.1.1

func (s Common) List(m *ice.Message, arg ...string) *ice.Message

func (Common) ListValue added in v0.1.1

func (s Common) ListValue(m *ice.Message, cb func(ice.Maps)) *ice.Message

func (Common) Modify added in v0.1.1

func (s Common) Modify(m *ice.Message, arg ...string)

func (Common) Scan added in v0.1.1

func (s Common) Scan(m *ice.Message, key string, cb func(string, string, ice.Maps))

func (Common) SubList added in v0.1.1

func (s Common) SubList(m *ice.Message, arg ...string) *ice.Message

type Domain

type Domain struct {
	// contains filtered or unexported fields
}

func (Domain) Init added in v0.1.1

func (s Domain) Init(m *ice.Message, arg ...string)

func (Domain) List

func (s Domain) List(m *ice.Message, arg ...string)

func (Domain) Scan added in v0.1.1

func (s Domain) Scan(m *ice.Message, arg ...string)

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func (Instance) Admin

func (s Instance) Admin(m *ice.Message, arg ...string)

func (Instance) Create

func (s Instance) Create(m *ice.Message, arg ...string)

func (Instance) Delete added in v0.1.1

func (s Instance) Delete(m *ice.Message, arg ...string)

func (Instance) Desktop

func (s Instance) Desktop(m *ice.Message, arg ...string)

func (Instance) Dream

func (s Instance) Dream(m *ice.Message, arg ...string)

func (Instance) Init added in v0.1.1

func (s Instance) Init(m *ice.Message, arg ...string)

func (Instance) Inputs

func (s Instance) Inputs(m *ice.Message, arg ...string)

func (Instance) Insert added in v0.1.1

func (s Instance) Insert(m *ice.Message, arg ...string)

func (Instance) Install

func (s Instance) Install(m *ice.Message, arg ...string)

func (Instance) List

func (s Instance) List(m *ice.Message, arg ...string) *ice.Message

func (Instance) Open

func (s Instance) Open(m *ice.Message, arg ...string)

func (Instance) Portal

func (s Instance) Portal(m *ice.Message, arg ...string)

func (Instance) Publish

func (s Instance) Publish(m *ice.Message, arg ...string)

func (Instance) Pushbin added in v0.1.0

func (s Instance) Pushbin(m *ice.Message, arg ...string)

func (Instance) Reboot

func (s Instance) Reboot(m *ice.Message, arg ...string)

func (Instance) Relays added in v0.1.0

func (s Instance) Relays(m *ice.Message, arg ...string)

func (Instance) Rename

func (s Instance) Rename(m *ice.Message, arg ...string)

func (Instance) Scan added in v0.1.1

func (s Instance) Scan(m *ice.Message, arg ...string)

func (Instance) Start

func (s Instance) Start(m *ice.Message, arg ...string)

func (Instance) TableButton

func (s Instance) TableButton(m *ice.Message)

func (Instance) Xterm

func (s Instance) Xterm(m *ice.Message, arg ...string)

type Resource added in v0.1.0

type Resource struct {
	// contains filtered or unexported fields
}

func (Resource) Init added in v0.1.1

func (s Resource) Init(m *ice.Message, arg ...string)

func (Resource) List added in v0.1.0

func (s Resource) List(m *ice.Message, arg ...string)

type Summary

type Summary struct {
	// contains filtered or unexported fields
}

func (Summary) Init added in v0.1.1

func (s Summary) Init(m *ice.Message, arg ...string)

func (Summary) List

func (s Summary) List(m *ice.Message, arg ...string)

Directories

Path Synopsis
cas
dns
ecs
ims
cam
cvm
ssl
tag

Jump to

Keyboard shortcuts

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