Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials interface { GetAccessKeyID() string GetAccessKeySecret() string GetSecurityToken() string }
CredentialInf is interface for get AccessKeyID,AccessKeySecret,SecurityToken
type CredentialsProvider ¶
type CredentialsProvider interface {
GetCredentials() Credentials
}
CredentialInfBuild is interface for get CredentialInf
type DefaultCredentials ¶
func (*DefaultCredentials) GetAccessKeyID ¶
func (defCre *DefaultCredentials) GetAccessKeyID() string
func (*DefaultCredentials) GetAccessKeySecret ¶
func (defCre *DefaultCredentials) GetAccessKeySecret() string
func (*DefaultCredentials) GetSecurityToken ¶
func (defCre *DefaultCredentials) GetSecurityToken() string
type DefaultCredentialsProvider ¶
type DefaultCredentialsProvider struct { AccessKeyID string AccessKeySecret string SecurityToken string }
func (*DefaultCredentialsProvider) GetCredentials ¶
func (defBuild *DefaultCredentialsProvider) GetCredentials() Credentials
Click to show internal directories.
Click to hide internal directories.