Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(auth stacks.AuthenticationOptions, cfg stacks.ConfigurationOptions, serviceVerions map[string]string) (*stack, fail.Error)
New authenticates and return interface stack
func NormalizeError ¶
NormalizeError translates gophercloud or openstack error to SafeScale error
Types ¶
type FloatingIP ¶
type FloatingIP struct { ID string `json:"id"` Status string `json:"status"` Type string `json:"type"` PublicIPAddress string `json:"public_ip_address"` TenantID string `json:"tenant_id"` CreateTime string `json:"create_time"` BandwidthSize int `json:"bandwidth_size"` }
FloatingIP represents a FlexibleEngine Floating IP
type Router ¶
type Router struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` // NetworkID is the Network ID which the router gateway is connected to. NetworkID string `json:"network_id,omitempty"` }
Router represents a router
type VPC ¶
type VPC struct { ID string `json:"id"` Name string `json:"name,omitempty"` CIDR string `json:"cidr,omitempty"` Status string `json:"status,omitempty"` Network *networks.Network Router *routers.Router }
VPC contains information about a VPC
type VPCRequest ¶
VPCRequest defines a request to create a VPC
Click to show internal directories.
Click to hide internal directories.