Documentation
¶
Index ¶
- type DNS
- type ECInstances
- type EcGroup
- type LBIPAddr
- type ManagementNw
- type Service
- func (service *Service) Delete(ecGroupID int) (*http.Response, error)
- func (service *Service) Get(ecGroupID int) (*EcGroup, error)
- func (service *Service) GetAll() ([]EcGroup, error)
- func (service *Service) GetByName(ecGroupName string) (*EcGroup, error)
- func (service *Service) GetEcGroupLiteByName(ecGroupLiteName string) (*EcGroup, error)
- func (service *Service) GetEcGroupLiteID(ecGroupID int) (*EcGroup, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECInstances ¶
type ECInstances struct { ServiceNw *ManagementNw `json:"serviceNw,omitempty"` VirtualNw *ManagementNw `json:"virtualNw,omitempty"` ECInstanceType string `json:"ecInstanceType,omitempty"` OutGwIp string `json:"outGwIp,omitempty"` NatIP string `json:"natIp,omitempty"` DNSIp string `json:"dnsIp,omitempty"` }
type EcGroup ¶
type EcGroup struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"desc,omitempty"` DeployType string `json:"deployType,omitempty"` Status []string `json:"status,omitempty"` Platform string `json:"platform,omitempty"` AWSAvailabilityZone string `json:"awsAvailabilityZone,omitempty"` AzureAvailabilityZone string `json:"azureAvailabilityZone,omitempty"` MaxEcCount int `json:"maxEcCount,omitempty"` TunnelMode string `json:"tunnelMode,omitempty"` Location *common.GeneralPurpose `json:"location,omitempty"` ProvTemplate *common.GeneralPurpose `json:"provTemplate,omitempty"` ECVMs []common.ECVMs `json:"ecVMs,omitempty"` }
type ManagementNw ¶
type ManagementNw struct { ID int `json:"id,omitempty"` IPStart string `json:"ipStart,omitempty"` IPEnd string `json:"ipEnd,omitempty"` Netmask string `json:"netmask,omitempty"` DefaultGateway string `json:"defaultGateway,omitempty"` NWType string `json:"nwType,omitempty"` DNS *DNS `json:"dns,omitempty"` }
type Service ¶
func (*Service) GetEcGroupLiteByName ¶
Click to show internal directories.
Click to hide internal directories.