Documentation ¶
Index ¶
- func GetCredential() *oss.Config
- func GetEcsCred() *oss.Config
- func GetLongTermCred() *oss.Config
- func GetOutProcessCred() *oss.Config
- func GetRamCred() *oss.Config
- func GetRegionCred() *oss.Config
- func NewOssClient() (client *oss.Client)
- func SetAk()
- func SetDriver()
- func SetRegion()
- func SetSk()
- func SetToken()
- func SetWay()
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRamCred ¶
func NewOssClient ¶
Types ¶
type Provider ¶
type Provider struct{}
func NewProvider ¶
func NewProvider() *Provider
func (*Provider) GetCredentials ¶
func (p *Provider) GetCredentials(_ context.Context) (credentials.Credentials, error)
Click to show internal directories.
Click to hide internal directories.