traefik/vendor/github.com/exoscale/egoscale/types.go
2018-02-12 18:10:05 +01:00

23 lines
466 B
Go

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