Versions in this module Expand all Collapse all v0 v0.1.0 Oct 14, 2014 Changes in this version + const ArgTimestampFormat + const DataTimestampFormat + func LoadConfig(fpath string, v interface{}) error + func PrintXMLStruct(s interface{}, indent ...int) + type AddIP struct + Number int + type Admin struct + Login string + Password string + type ApplicationList struct + ApplicationTemplate []ApplicationTemplate + XMLName xml.Name + type ApplicationTemplate struct + Description string + ForOS string + ID int + Name string + XMLName xml.Name + type Autoscale struct + Current ... + Ongoing ... + XMLName xml.Name + type AutoscaleData struct + AutoscaleRule []AutoscaleRule + XMLName xml.Name + type AutoscaleRule struct + AllowMigration *bool + AllowRestart *bool + Deleted *bool + Enabled *bool + Limits ... + Metric string + Thresholds ... + UpdateDelivered *Timestamp + UpdateDeliveredOk *bool + Updated *Timestamp + Version *int + XMLName xml.Name + type Backup struct + BackupNodeName string + BackupSize int + CloudBackupID string + Description string + Ended Timestamp + ImBackupID int + ScheduleName string + Started Timestamp + Successful bool + XMLName xml.Name + type BackupSchedule struct + Name string + type BackupScheduleList struct + BackupSchedule []struct{ ... } + XMLName xml.Name + type CPU struct + Number int + Power int + type ChangeCPU struct + Number int + Power int + type Client struct + func NewClient(baseURL, username, password string) *Client + func (c *Client) SendRequest(method, path string, data io.Reader) (*Response, error) + type Config struct + BaseURL string + Password string + Servers map[string]Server + Username string + type Console struct + Address IPAddr + Port int + type CreateVe struct + BackupSchedule ... + Bandwidth int + CPU CPU + CustomNs bool + Description string + Hostname string + Name string + NoOfPublicIP int + NoOfPublicIPv6 int + Platform Platform + RAMSize int + SubscriptionID int + VeDisk struct{ ... } + XMLName xml.Name + type CustomNs int + func (ns CustomNs) MarshalText() (text []byte, err error) + type DropIP struct + IP IPAddrList + type Firewall struct + Rule []struct{ ... } + XMLName xml.Name + type IPAddr struct + IP net.IP + IPNet *net.IPNet + func NewIPAddr(addr string) (*IPAddr, error) + func (a *IPAddr) UnmarshalText(text []byte) error + func (a IPAddr) MarshalText() (text []byte, err error) + func (a IPAddr) String() string + type IPAddrList []IPAddr + func (as IPAddrList) MarshalText() (text []byte, err error) + func (as IPAddrList) String() string + type ImageList struct + ImageInfo []struct{ ... } + XMLName xml.Name + type LbList struct + LoadBalancer []struct{ ... } + XMLName xml.Name + type LoadBalancer struct + Admin Admin + BackupSchedule BackupSchedule + Bandwidth int + CPU CPU + Console Console + CustomerID int + Description string + Hnid int + Hostname string + ID int + LastOperationRc int + Name string + Network Network + Platform Platform + PrimaryDiskID int + RAMSize int + State string + SubscriptionID int + TemplateID int + UUID string + UsedBy []struct{ ... } + VeDisk VeDisk + XMLName xml.Name + type Network struct + PrivateIP IPAddr + PublicIP []struct{ ... } + PublicIP6 []struct{ ... } + type PasswordResponse struct + Message string + Password string + XMLName xml.Name + type Platform struct + OSInfo struct{ ... } + TemplateInfo struct{ ... } + type ReconfigureIP struct + AddIP *AddIP + DropIP *DropIP + type ReconfigureVe struct + Bandwidth int + ChangeCPU *ChangeCPU + CustomNs *int + Description string + PrimaryDiskSize int + RAMSize int + ReconfigureIPv4 *ReconfigureIP + ReconfigureIPv6 *ReconfigureIP + XMLName xml.Name + type ResourceConsumptionAndAutoscaleHistory struct + AutoscaleEvent struct{ ... } + AutoscaleRule []AutoscaleRule + ResourceConsumptionSample []struct{ ... } + XMLName xml.Name + type Response struct + Body []byte + Status string + StatusCode int + func (r *Response) String() string + type Server struct + AutoscaleRule []AutoscaleRule + Firewall Firewall + Spec *CreateVe + type Template struct + Active bool + Default bool + HighWaterMarkForDelivery int + ID int + LowWaterMarkForDelivery int + MinHddSize int + Name string + OSType string + Option []struct{ ... } + PwdRegex string + RootLogin string + Technology string + XMLName xml.Name + type TemplateList struct + Template []Template + XMLName xml.Name + type Threshold struct + Period int + Threshold *int + type Timestamp struct + func (t *Timestamp) UnmarshalText(text []byte) error + func (t Timestamp) MarshalText() ([]byte, error) + func (t Timestamp) String() string + type Traffic struct + Received int + Sent int + type Ve struct + Admin Admin + AppInfo []struct{ ... } + BackupSchedule BackupSchedule + Bandwidth int + CPU CPU + Console Console + CurrentResourceConsumption struct{ ... } + CustomerID int + Description string + Hnid int + Hostname string + ID int + LastOperationRc int + LoadBalancer string + Name string + Network Network + Platform Platform + PrimaryDiskID int + RAMSize int + State string + SteadyState string + SubscriptionID int + TemplateID int + UUID string + VeDisk VeDisk + XMLName xml.Name + type VeBackups struct + Backup []Backup + XMLName xml.Name + type VeDisk struct + Created bool + GlobalID int + ID int + Size int + StorageID string + Type string + type VeHistory struct + VeSnapshot []struct{ ... } + XMLName xml.Name + type VeImage struct + Bandwidth int + BnodeUUID string + CPUNumber int + CPUPower int + Created Timestamp + CustomNs bool + CustomerID int + Description string + Disks []struct{ ... } + Hostname string + ID int + ImageOf string + ImageSize int + Login string + Name string + NoOfPublicIP int + NoOfPublicIPv6 int + Platform Platform + PrimaryDiskID int + RAMSize int + SubscriptionID int + XMLName xml.Name + type VeList struct + VeInfo []struct{ ... } + XMLName xml.Name + type VeResourceUsageReport struct + ActiveBackupSchedule []struct{ ... } + IsLoadBalancer bool + LifeTimeInMinutes int + OS string + ResourceUsage []struct{ ... } + Technology string + VeID int + VeName string + VeTraffic []struct{ ... } + XMLName xml.Name