Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultEndpointReg = "^[a-z][a-z0-9-]+(\\.[a-z]{2,}-[a-z]+-\\d{1,2})?\\.(my)?(huaweicloud|myhwclouds).(com|cn)"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultDerivedPredicate ¶ added in v0.0.79
func GetDefaultDerivedPredicate() func(*request.DefaultHttpRequest) bool
Types ¶
type ICredential ¶
type ICredential interface { ProcessAuthParams(httpClient *impl.DefaultHttpClient, region string) ICredential ProcessAuthRequest(httpClient *impl.DefaultHttpClient, httpRequest *request.DefaultHttpRequest) (*request.DefaultHttpRequest, error) }
type IDerivedCredential ¶ added in v0.0.84
type IDerivedCredential interface { ProcessDerivedAuthParams(derivedAuthServiceName, regionId string) ICredential IsDerivedAuth(httpRequest *request.DefaultHttpRequest) bool ICredential }
Click to show internal directories.
Click to hide internal directories.