aliyun

package
v1.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCredential

func GetCredential() *oss.Config

GetCredential 获取凭证

func GetEcsCred

func GetEcsCred() *oss.Config

GetEcsCred 指定实例角色获取凭证

func GetLongTermCred

func GetLongTermCred() *oss.Config

GetLongTermCred 长期凭证

func GetOutProcessCred

func GetOutProcessCred() *oss.Config

GetOutProcessCred 获取外部进程长期凭证

func GetRamCred

func GetRamCred() *oss.Config

func GetRegionCred

func GetRegionCred() *oss.Config

GetRegionCred 区域凭证

func NewOssClient

func NewOssClient() (client *oss.Client)

func SetAk

func SetAk()

func SetDriver

func SetDriver()

func SetRegion

func SetRegion()

func SetSk

func SetSk()

func SetToken

func SetToken()

func SetWay

func SetWay()

Types

type Provider

type Provider struct{}

func NewProvider

func NewProvider() *Provider

func (*Provider) GetCredentials

func (p *Provider) GetCredentials(_ context.Context) (credentials.Credentials, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL