Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) GetAccessKeyId() (_result *string)
- func (client *Client) GetAccessKeySecret() (_result *string)
- func (client *Client) GetPrivateKeyCert() (_result *string)
- func (client *Client) GetSignature(strToSign *string) (_result *string, _err error)
- func (client *Client) Init(config *Config) (_err error)
- 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
- type RsaKeyPairCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetAccessKeyId ¶
func (*Client) GetAccessKeySecret ¶
func (*Client) GetPrivateKeyCert ¶ added in v0.4.0
func (*Client) GetSignature ¶
type Config ¶
type Config struct {
// 访问凭证类型
Type *string `json:"Type,omitempty" xml:"Type,omitempty" require:"true"`
// 访问凭证ID
AccessKeyId *string `json:"Type,omitempty" xml:"Type,omitempty"`
// pkcs1 或 pkcs8 PEM 格式私钥
PrivateKey *string `json:"Type,omitempty" xml:"Type,omitempty"`
// ClientKey文件路径
ClientKeyFile *string `json:"Type,omitempty" xml:"Type,omitempty"`
// ClientKey文件内容
ClientKeyContent *string `json:"Type,omitempty" xml:"Type,omitempty"`
// ClientKey密码
Password *string `json:"Type,omitempty" xml:"Type,omitempty"`
}
func (*Config) SetAccessKeyId ¶
func (*Config) SetClientKeyContent ¶
func (*Config) SetClientKeyFile ¶
func (*Config) SetPassword ¶
func (*Config) SetPrivateKey ¶
type RsaKeyPairCredentials ¶ added in v0.4.0
type RsaKeyPairCredentials struct {
// 访问凭证私钥
PrivateKeySecret *string `json:"privateKeySecret,omitempty" xml:"privateKeySecret,omitempty"`
// 访问凭证ID
KeyId *string `json:"keyId,omitempty" xml:"keyId,omitempty"`
}
func (RsaKeyPairCredentials) GoString ¶ added in v0.4.0
func (s RsaKeyPairCredentials) GoString() string
func (*RsaKeyPairCredentials) SetKeyId ¶ added in v0.4.0
func (s *RsaKeyPairCredentials) SetKeyId(v string) *RsaKeyPairCredentials
func (*RsaKeyPairCredentials) SetPrivateKeySecret ¶ added in v0.4.0
func (s *RsaKeyPairCredentials) SetPrivateKeySecret(v string) *RsaKeyPairCredentials
func (RsaKeyPairCredentials) String ¶ added in v0.4.0
func (s RsaKeyPairCredentials) String() string
Click to show internal directories.
Click to hide internal directories.