Documentation ¶
Index ¶
- func Authenticate(endpoint, user, password, tenant, domain_name, domain_id string) (*gophercloud.ProviderClient, serror.SnapError)
- func GetAllTenants(client *gophercloud.ServiceClient) ([]types.Tenant, serror.SnapError)
- func GetFloatingIPsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
- func GetNetworkCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
- func GetPortsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
- func GetQuotasForTenant(client *gophercloud.ServiceClient, tenantID string) (map[string]int64, serror.SnapError)
- func GetQuotasPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]map[string]int64, serror.SnapError)
- func GetRoutersCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
- func GetSubnetsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(endpoint, user, password, tenant, domain_name, domain_id string) (*gophercloud.ProviderClient, serror.SnapError)
Authenticate is used to authenticate user for given tenant. Request is send to provided endpoint Returns authenticated provider client, which is used as a base for service clients.
func GetAllTenants ¶
func GetAllTenants(client *gophercloud.ServiceClient) ([]types.Tenant, serror.SnapError)
GetAllTenants is used to retrieve list of available tenants
func GetFloatingIPsCountPerTenant ¶
func GetFloatingIPsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
GetFloatingIPsCountPerTenant is used to retrieve number of floating IPs per tenant
func GetNetworkCountPerTenant ¶
func GetNetworkCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
GetNetworkCountPerTenant is used to retrieve number of networks per tenant
func GetPortsCountPerTenant ¶
func GetPortsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
GetPortsCountPerTenant is used to retrieve number of ports per tenant
func GetQuotasForTenant ¶
func GetQuotasForTenant(client *gophercloud.ServiceClient, tenantID string) (map[string]int64, serror.SnapError)
GetQuotasForTenant is used to retrieve quotas for specified tenant
func GetQuotasPerTenant ¶
func GetQuotasPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]map[string]int64, serror.SnapError)
GetQuotasPerTenant is used to retrieve quotas per tenants
func GetRoutersCountPerTenant ¶
func GetRoutersCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
GetRoutersCountPerTenant is used to retrieve number of routers per tenant
func GetSubnetsCountPerTenant ¶
func GetSubnetsCountPerTenant(client *gophercloud.ServiceClient, tenantList []types.Tenant) (map[string]int64, serror.SnapError)
GetSubnetsCountPerTenant is used to retrieve number of subnets per tenant
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
http://www.apache.org/licenses/LICENSE-2.0.txt
|
http://www.apache.org/licenses/LICENSE-2.0.txt |