Documentation ¶
Index ¶
- type CredentialCache
- func (cc *CredentialCache) DefaultArn() string
- func (cc *CredentialCache) DefaultLastUpdated() string
- func (cc *CredentialCache) Get(searchString string, assumeChain []string) (*creds.RefreshableProvider, error)
- func (cc *CredentialCache) GetDefault() (*creds.RefreshableProvider, error)
- func (cc *CredentialCache) GetOrSet(client creds.HTTPClient, role, region string, assumeChain []string) (*creds.RefreshableProvider, error)
- func (cc *CredentialCache) SetDefault(client creds.HTTPClient, role, region string, assumeChain []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialCache ¶
type CredentialCache struct { sync.RWMutex RoleCredentials map[string]*creds.RefreshableProvider DefaultRole string }
var GlobalCache CredentialCache
func (*CredentialCache) DefaultArn ¶
func (cc *CredentialCache) DefaultArn() string
func (*CredentialCache) DefaultLastUpdated ¶
func (cc *CredentialCache) DefaultLastUpdated() string
func (*CredentialCache) Get ¶
func (cc *CredentialCache) Get(searchString string, assumeChain []string) (*creds.RefreshableProvider, error)
func (*CredentialCache) GetDefault ¶
func (cc *CredentialCache) GetDefault() (*creds.RefreshableProvider, error)
func (*CredentialCache) GetOrSet ¶
func (cc *CredentialCache) GetOrSet(client creds.HTTPClient, role, region string, assumeChain []string) (*creds.RefreshableProvider, error)
func (*CredentialCache) SetDefault ¶
func (cc *CredentialCache) SetDefault(client creds.HTTPClient, role, region string, assumeChain []string) error
Click to show internal directories.
Click to hide internal directories.