Documentation ¶
Index ¶
- Constants
- func GetKeystoneListAuthDomainsRequest(iamEndpoint string) *request.DefaultHttpRequest
- func GetKeystoneListProjectsRequest(iamEndpoint string, regionId string) *request.DefaultHttpRequest
- func GetResponseBody(resp *response.DefaultHttpResponse) ([]byte, error)
- func KeystoneListAuthDomains(client *impl.DefaultHttpClient, req *request.DefaultHttpRequest) (string, error)
- func KeystoneListProjects(client *impl.DefaultHttpClient, req *request.DefaultHttpRequest) (string, error)
- type Domains
- type KeystoneListAuthDomainsResponse
- type KeystoneListProjectsResponse
- type ProjectResult
Constants ¶
View Source
const ( DefaultIamEndpoint = "https://iam.myhuaweicloud.com" KeystoneListProjectsUri = "/v3/projects" KeystoneListAuthDomainsUri = "/v3/auth/domains" )
Variables ¶
This section is empty.
Functions ¶
func GetKeystoneListAuthDomainsRequest ¶
func GetKeystoneListAuthDomainsRequest(iamEndpoint string) *request.DefaultHttpRequest
func GetKeystoneListProjectsRequest ¶
func GetKeystoneListProjectsRequest(iamEndpoint string, regionId string) *request.DefaultHttpRequest
func GetResponseBody ¶
func GetResponseBody(resp *response.DefaultHttpResponse) ([]byte, error)
func KeystoneListAuthDomains ¶
func KeystoneListAuthDomains(client *impl.DefaultHttpClient, req *request.DefaultHttpRequest) (string, error)
func KeystoneListProjects ¶
func KeystoneListProjects(client *impl.DefaultHttpClient, req *request.DefaultHttpRequest) (string, error)
Types ¶
type KeystoneListAuthDomainsResponse ¶
type KeystoneListAuthDomainsResponse struct {
Domains *[]Domains `json:"domains,omitempty"`
}
type KeystoneListProjectsResponse ¶
type KeystoneListProjectsResponse struct {
Projects *[]ProjectResult `json:"projects,omitempty"`
}
type ProjectResult ¶
Click to show internal directories.
Click to hide internal directories.