aliyun

package
v0.0.0-...-e3522e2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunCredential

type AliyunCredential struct {
	AccessKeyId     string
	AccessKeySecret string
	SecurityToken   string
	Expiration      string
}

func ReadCredentialFromSecret

func ReadCredentialFromSecret(secret k8s.SecretInterface) (credential *AliyunCredential, err error)

func ReadCredentialFromSecretName

func ReadCredentialFromSecretName(secretName string) (credential *AliyunCredential, err error)

type AliyunResourceIdentity

type AliyunResourceIdentity struct {
	AppName  string `json:"appName"`
	AliUid   string `json:"aliyunAccountUid"`
	RegionId string `json:"regionId"`
}

func (*AliyunResourceIdentity) IdentityAsKey

func (ari *AliyunResourceIdentity) IdentityAsKey() string

Jump to

Keyboard shortcuts

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