Documentation
¶
Index ¶
- Constants
- func Captial(m *ice.Message, value ice.Any, fields ...string) ice.Map
- func Inputs(m *ice.Message, target ice.Any) *ice.Message
- func ParseDetail(m *ice.Message, data ice.Any, fields ...string)
- func ParseResponse(m *ice.Message, res, key string, fields ...string) ice.Any
- func ParseTime(m *ice.Message, value string) string
- func ParseUsedTime(m *ice.Message, createdTime, endTime string) string
- func PrefixKey() string
- func RequestPost(m *ice.Message, arg []string, req ice.Any, cb func() (ice.Any, error)) ice.Any
- func SetParamIds(m *ice.Message, req ice.Any, key string, arg ...string)
- func SetParams(req ice.Any, arg ...ice.Any)
- func Toolkit(m *ice.Message, s ice.Any) *ice.Message
- func VendorList(m *ice.Message, s ice.Any) *ice.Message
- type Account
- type Bundle
- type Cert
- type Client
- func (s Client) Delete(m *ice.Message, arg ...string)
- func (s Client) Init(m *ice.Message, arg ...string)
- func (s Client) Insert(m *ice.Message, arg ...string)
- func (s Client) List(m *ice.Message, arg ...string)
- func (s Client) Scan(m *ice.Message, arg ...string)
- func (s Client) Secret(m *ice.Message, arg ...string)
- func (s Client) Vendor(m *ice.Message, arg ...string)
- type Common
- func (s Common) Add(m *ice.Message, p ice.Any)
- func (s Common) Delete(m *ice.Message, arg ...string)
- func (s Common) Insert(m *ice.Message, arg ...string) string
- func (s Common) List(m *ice.Message, arg ...string) *ice.Message
- func (s Common) ListValue(m *ice.Message, cb func(ice.Maps)) *ice.Message
- func (s Common) Modify(m *ice.Message, arg ...string)
- func (s Common) Scan(m *ice.Message, key string, cb func(string, string, ice.Maps))
- func (s Common) SubList(m *ice.Message, arg ...string) *ice.Message
- type Domain
- type Instance
- func (s Instance) Admin(m *ice.Message, arg ...string)
- func (s Instance) Create(m *ice.Message, arg ...string)
- func (s Instance) Delete(m *ice.Message, arg ...string)
- func (s Instance) Desktop(m *ice.Message, arg ...string)
- func (s Instance) Dream(m *ice.Message, arg ...string)
- func (s Instance) Init(m *ice.Message, arg ...string)
- func (s Instance) Inputs(m *ice.Message, arg ...string)
- func (s Instance) Insert(m *ice.Message, arg ...string)
- func (s Instance) Install(m *ice.Message, arg ...string)
- func (s Instance) List(m *ice.Message, arg ...string) *ice.Message
- func (s Instance) Open(m *ice.Message, arg ...string)
- func (s Instance) Portal(m *ice.Message, arg ...string)
- func (s Instance) Publish(m *ice.Message, arg ...string)
- func (s Instance) Pushbin(m *ice.Message, arg ...string)
- func (s Instance) Reboot(m *ice.Message, arg ...string)
- func (s Instance) Relays(m *ice.Message, arg ...string)
- func (s Instance) Rename(m *ice.Message, arg ...string)
- func (s Instance) Scan(m *ice.Message, arg ...string)
- func (s Instance) Start(m *ice.Message, arg ...string)
- func (s Instance) TableButton(m *ice.Message)
- func (s Instance) Xterm(m *ice.Message, arg ...string)
- type Resource
- type Summary
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 RequestPost ¶
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
type Cert ¶ added in v0.1.1
type Cert struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Common ¶ added in v0.1.1
func (Common) List ¶ added in v0.1.1
func (Common) ListValue ¶ added in v0.1.1
func (Common) Scan ¶ added in v0.1.1
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
type Resource ¶ added in v0.1.0
type Resource struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.