Documentation ¶
Index ¶
- func Authenticate(endpoint, user, password, tenant, domain_name, domain_id string) (*gophercloud.ProviderClient, error)
- func GetAllEndpoints(provider *gophercloud.ProviderClient) ([]types.Endpoint, error)
- func GetAllServices(provider *gophercloud.ProviderClient) ([]types.Service, error)
- func GetAllTenants(provider *gophercloud.ProviderClient) ([]types.Tenant, error)
- func GetAllUsers(provider *gophercloud.ProviderClient) ([]types.User, error)
- func GetUsersPerTenant(provider *gophercloud.ProviderClient, tenantList []types.Tenant) (map[string]int, error)
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, error)
Authenticate is used to authenticate user for given tenant. Request is send to provided Keystone endpoint Returns authenticated provider client, which is used as a base for service clients.
func GetAllEndpoints ¶
func GetAllEndpoints(provider *gophercloud.ProviderClient) ([]types.Endpoint, error)
GetAllServices is used to retrieve list of available services for authenticated admin
func GetAllServices ¶
func GetAllServices(provider *gophercloud.ProviderClient) ([]types.Service, error)
GetAllServices is used to retrieve list of available services for authenticated admin
func GetAllTenants ¶
func GetAllTenants(provider *gophercloud.ProviderClient) ([]types.Tenant, error)
GetTenants is used to retrieve list of available tenant for authenticated user
func GetAllUsers ¶
func GetAllUsers(provider *gophercloud.ProviderClient) ([]types.User, error)
GetAllUsers is used to retrieve list of available users
func GetUsersPerTenant ¶
func GetUsersPerTenant(provider *gophercloud.ProviderClient, tenantList []types.Tenant) (map[string]int, error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
http://www.apache.org/licenses/LICENSE-2.0.txt Copyright 2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
http://www.apache.org/licenses/LICENSE-2.0.txt Copyright 2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.