Versions in this module Expand all Collapse all v2 v2.0.1 Jul 1, 2020 Changes in this version + const AuthKeyPair + const AuthLegacy + const AuthUserPass + const AuthUserPassV3 + var CredEnvAuthURL = []string + var CredEnvDefaultDomainName = []string + var CredEnvDomainName = []string + var CredEnvProjectDomainName = []string + var CredEnvRegion = []string + var CredEnvSecrets = []string + var CredEnvTenantID = []string + var CredEnvTenantName = []string + var CredEnvUser = []string + var CredEnvUserDomainName = []string + var CredEnvVersion = []string + type AuthDetails struct + Domain string + RegionServiceURLs map[string]ServiceURLs + TenantId string + TenantName string + Token string + UserId string + type AuthMode int + func (a AuthMode) String() string + type AuthOption struct + Endpoint string + Mode AuthMode + type AuthOptions []AuthOption + func FetchAuthOptions(url string, client goosehttp.HttpClient, compatLogger logging.CompatLogger) (AuthOptions, error) + type Authenticator interface + Auth func(creds *Credentials) (*AuthDetails, error) + func NewAuthenticator(authMode AuthMode, httpClient goosehttp.HttpClient) Authenticator + type Credentials struct + Domain string + ProjectDomain string + Region string + Secrets string + TenantID string + TenantName string + URL string + User string + UserDomain string + Version int + func CompleteCredentialsFromEnv() (cred *Credentials, err error) + func CredentialsFromEnv() (*Credentials, error) + type KeyPair struct + func (u *KeyPair) Auth(creds *Credentials) (*AuthDetails, error) + type Legacy struct + func (l *Legacy) Auth(creds *Credentials) (*AuthDetails, error) + type ServiceURLs map[string]string + type UserPass struct + func (u *UserPass) Auth(creds *Credentials) (*AuthDetails, error) + type V3UserPass struct + func (u *V3UserPass) Auth(creds *Credentials) (*AuthDetails, error)