Documentation
¶
Index ¶
- Constants
- func BundleCreate(m *ice.Message, name, text string, conf ice.Map, arg ...string)
- func BundleUpdate(m *ice.Message, name string, conf ice.Map)
- func DomainCreate(m *ice.Message, domain string, arg ...string)
- func ParseResponse(m *ice.Message, res, key string, arg ...string) ice.Any
- func ParseTime(m *ice.Message, value string) string
- func ParseUsedTime(m *ice.Message, createdTime, endTime string) string
- func PrefixKey(arg ...string) 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)
- type Account
- type Bundle
- type Client
- 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) Desktop(m *ice.Message, arg ...string)
- func (s Instance) Dream(m *ice.Message, arg ...string)
- func (s Instance) Inputs(m *ice.Message, arg ...string)
- func (s Instance) Install(m *ice.Message, arg ...string)
- func (s Instance) List(m *ice.Message, arg ...string)
- 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) Remove(m *ice.Message, arg ...string)
- func (s Instance) Rename(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" USED_TIME = "usedTime" )
View Source
const ( CLIENT = "client" SESS = "sess" SECRET_ID = "secretId" SECRET_KEY = "secretKey" )
View Source
const ( CREATED_TIME = "createdTime" EXPIRED_TIME = "expiredTime" 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" REGION = "region" STATUS = "status" HOSTNAME = "hostName" PORTAL = "portal" POSTPAID = "POSTPAID" PREPAID = "PREPAID" RUNNING = "RUNNING" INSTANCE_CREATE = "instance.create" INSTANCE_REMOVE = "instance.remove" )
View Source
const ( RESOURCE = "resource" RESOURCE_ID = "resourceId" RESOURCE_NAME = "resourceName" )
View Source
const (
BUNDLE = "bundle"
)
View Source
const (
DOMAIN = "domain"
)
Variables ¶
This section is empty.
Functions ¶
func BundleCreate ¶
func RequestPost ¶
Types ¶
type Account ¶
type Bundle ¶
type Client ¶
type Domain ¶
type Instance ¶
type Resource ¶ added in v0.1.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.