Documentation
¶
Index ¶
- type Client
- func (client *Client) GetAccessKeyId() (_result *string)
- func (client *Client) GetAccessKeySecret() (_result *string)
- func (client *Client) GetClientKeyCertPem() string
- func (client *Client) GetSignature(strToSign *string) (_result *string, _err error)
- func (client *Client) Init(config *Config) (_err error)
- type ClientKey
- type Config
- func (s Config) GoString() string
- func (s *Config) SetAccessKeyId(v string) *Config
- func (s *Config) SetClientKeyContent(v string) *Config
- func (s *Config) SetClientKeyFile(v string) *Config
- func (s *Config) SetPassword(v string) *Config
- func (s *Config) SetPrivateKey(v string) *Config
- func (s *Config) SetType(v string) *Config
- func (s Config) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { CredentialsProvider provider.AlibabaCloudCredentialsProvider ClientKeyCertPem string }
func (*Client) GetAccessKeyId ¶
func (*Client) GetAccessKeySecret ¶
func (*Client) GetClientKeyCertPem ¶ added in v0.2.2
func (*Client) GetSignature ¶
type ClientKey ¶
type ClientKey struct { KeyId *string `json:"KeyId,omitempty" xml:"KeyId,omitempty"` PrivateKeyData *string `json:"PrivateKeyData,omitempty" xml:"PrivateKeyData,omitempty"` }
func (*ClientKey) SetPrivateKeyData ¶
type Config ¶
type Config struct { Type *string `json:"type,omitempty" xml:"type,omitempty" require:"true"` AccessKeyId *string `json:"accessKeyId,omitempty" xml:"accessKeyId,omitempty"` PrivateKey *string `json:"privateKey,omitempty" xml:"privateKey,omitempty"` ClientKeyFile *string `json:"clientKeyFile,omitempty" xml:"clientKeyFile,omitempty"` ClientKeyContent *string `json:"clientKeyContent,omitempty" xml:"clientKeyContent,omitempty"` Password *string `json:"password,omitempty" xml:"password,omitempty"` }
func (*Config) SetAccessKeyId ¶
func (*Config) SetClientKeyContent ¶
func (*Config) SetClientKeyFile ¶
func (*Config) SetPassword ¶
func (*Config) SetPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.