Documentation ¶
Index ¶
- type Param
- type Params
- type QingCloud
- func (q *QingCloud) CheckAuth() error
- func (q *QingCloud) CheckRequiredAttributes(json *simplejson.Json, attributes []string) error
- func (q *QingCloud) ClearDebugLog()
- func (q *QingCloud) GenSignature(signURL, secret string) string
- func (q *QingCloud) GetCloudData() (model.Resource, error)
- func (q *QingCloud) GetFloatingIPs() ([]model.VInterface, []model.IP, []model.FloatingIP, error)
- func (q *QingCloud) GetLoadBalances() ([]model.LB, []model.LBListener, []model.LBTargetServer, []model.VInterface, ...)
- func (q *QingCloud) GetNATGateways() ([]model.NATGateway, []model.VInterface, []model.IP, []model.NATVMConnection, ...)
- func (q *QingCloud) GetNetworks() ([]model.Network, []model.Subnet, error)
- func (q *QingCloud) GetRegionLcuuid(lcuuid string) string
- func (q *QingCloud) GetResponse(action string, resultKey string, kwargs []*Param) ([]*simplejson.Json, error)
- func (q *QingCloud) GetRouterAndTables() ([]model.VRouter, []model.RoutingTable, []model.VInterface, []model.IP, error)
- func (q *QingCloud) GetSecurityGroups() ([]model.SecurityGroup, []model.SecurityGroupRule, error)
- func (q *QingCloud) GetStatter() statsd.StatsdStatter
- func (q *QingCloud) GetSubDomains() ([]model.SubDomain, error)
- func (q *QingCloud) GetVMNics() ([]model.VInterface, []model.IP, error)
- func (q *QingCloud) GetVMs() ([]model.VM, []model.VMSecurityGroup, []model.Subnet, error)
- func (q *QingCloud) GetVPCs() ([]model.VPC, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QingCloud ¶
type QingCloud struct { Uuid string UuidGenerate string Name string RegionUuid string RegionIdToLcuuid map[string]string ZoneNames []string VxnetIdToVPCLcuuid map[string]string VxnetIdToSubnetLcuuid map[string]string HostNameToIP map[string]string // statsd monitor CloudStatsd statsd.CloudStatsd // contains filtered or unexported fields }
func NewQingCloud ¶
func NewQingCloud(domain mysql.Domain, cfg cloudconfig.CloudConfig) (*QingCloud, error)
func (*QingCloud) CheckRequiredAttributes ¶
func (q *QingCloud) CheckRequiredAttributes(json *simplejson.Json, attributes []string) error
func (*QingCloud) ClearDebugLog ¶
func (q *QingCloud) ClearDebugLog()
func (*QingCloud) GenSignature ¶
func (*QingCloud) GetFloatingIPs ¶
func (q *QingCloud) GetFloatingIPs() ([]model.VInterface, []model.IP, []model.FloatingIP, error)
func (*QingCloud) GetLoadBalances ¶
func (q *QingCloud) GetLoadBalances() ( []model.LB, []model.LBListener, []model.LBTargetServer, []model.VInterface, []model.IP, []model.LBVMConnection, error, )
func (*QingCloud) GetNATGateways ¶
func (q *QingCloud) GetNATGateways() ( []model.NATGateway, []model.VInterface, []model.IP, []model.NATVMConnection, error, )
func (*QingCloud) GetNetworks ¶
func (*QingCloud) GetRegionLcuuid ¶
func (*QingCloud) GetResponse ¶
func (*QingCloud) GetRouterAndTables ¶
func (q *QingCloud) GetRouterAndTables() ( []model.VRouter, []model.RoutingTable, []model.VInterface, []model.IP, error, )
func (*QingCloud) GetSecurityGroups ¶
func (q *QingCloud) GetSecurityGroups() ([]model.SecurityGroup, []model.SecurityGroupRule, error)
func (*QingCloud) GetStatter ¶
func (q *QingCloud) GetStatter() statsd.StatsdStatter
Click to show internal directories.
Click to hide internal directories.