Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator func(apiKey, region string) (Credentials, error)
func New ¶
func New(client *http.Client) Authenticator
type Credentials ¶
type Credentials struct { IAMAccessToken string IAMRefreshToken string UAAAccessToken string UAARefreshToken string }
func (*Credentials) MarshalSecret ¶
func (c *Credentials) MarshalSecret() map[string][]byte
func (*Credentials) UnmarshalSecret ¶
func (c *Credentials) UnmarshalSecret(secretData map[string][]byte)
type InvalidConfigError ¶
type InvalidConfigError struct {
Err error
}
func (InvalidConfigError) Error ¶
func (i InvalidConfigError) Error() string
Click to show internal directories.
Click to hide internal directories.