client

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StsClient

type StsClient struct {
	core.JDCloudClient
}

func NewStsClient

func NewStsClient(credential *core.Credential) *StsClient

func (*StsClient) AssumeRole

func (c *StsClient) AssumeRole(request *sts.AssumeRoleRequest) (*sts.AssumeRoleResponse, error)

扮演用户角色,获取临时凭证

func (*StsClient) DisableLogger added in v1.17.0

func (c *StsClient) DisableLogger()

func (*StsClient) SetConfig

func (c *StsClient) SetConfig(config *core.Config)

func (*StsClient) SetLogger

func (c *StsClient) SetLogger(logger core.Logger)

Jump to

Keyboard shortcuts

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