traefik/vendor/github.com/exoscale/egoscale/types.go

24 lines
466 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
package egoscale
import (
"net/http"
)
// Client represents the CloudStack API client
2017-02-07 21:33:23 +00:00
type Client struct {
client *http.Client
endpoint string
apiKey string
apiSecret string
}
// Topology represents a view of the servers
2017-02-07 21:33:23 +00:00
type Topology struct {
Zones map[string]string
Images map[string]map[int64]string
2017-02-07 21:33:23 +00:00
Profiles map[string]string
Keypairs []string
SecurityGroups map[string]string
AffinityGroups map[string]string
}