Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- type Config
- func (s Config) GoString() string
- func (s *Config) SetAccessKeyId(v string) *Config
- func (s *Config) SetCa(v string) *Config
- func (s *Config) SetCaFilePath(v string) *Config
- func (s *Config) SetClientKeyContent(v string) *Config
- func (s *Config) SetClientKeyFile(v string) *Config
- func (s *Config) SetConnectTimeout(v int) *Config
- func (s *Config) SetCredential(v *dedicatedkmsopenapicredential.Client) *Config
- func (s *Config) SetEndpoint(v string) *Config
- func (s *Config) SetHttpProxy(v string) *Config
- func (s *Config) SetHttpsProxy(v string) *Config
- func (s *Config) SetIgnoreSSL(v bool) *Config
- func (s *Config) SetMaxIdleConns(v int) *Config
- func (s *Config) SetNoProxy(v string) *Config
- func (s *Config) SetPassword(v string) *Config
- func (s *Config) SetPrivateKey(v string) *Config
- func (s *Config) SetProtocol(v string) *Config
- func (s *Config) SetReadTimeout(v int) *Config
- func (s *Config) SetRegionId(v string) *Config
- func (s *Config) SetSocks5NetWork(v string) *Config
- func (s *Config) SetSocks5Proxy(v string) *Config
- func (s *Config) SetType(v string) *Config
- func (s *Config) SetUserAgent(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 {
Endpoint *string
RegionId *string
Protocol *string
ReadTimeout *int
ConnectTimeout *int
HttpProxy *string
HttpsProxy *string
NoProxy *string
UserAgent *string
Socks5Proxy *string
Socks5NetWork *string
MaxIdleConns *int
Credential *dedicatedkmsopenapicredential.Client
Ca *string
IgnoreSSL *bool
}
type Config ¶
type Config struct {
// 访问凭证ID
AccessKeyId *string `json:"accessKeyId,omitempty" xml:"accessKeyId,omitempty"`
// pkcs1 或 pkcs8 PEM 格式私钥
PrivateKey *string `json:"privateKey,omitempty" xml:"privateKey,omitempty"`
// 实例地址
Endpoint *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
// 协议
Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
// 区域标识
RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty" pattern:"[a-zA-Z0-9-_]+"`
// 读取超时时间
ReadTimeout *int `json:"readTimeout,omitempty" xml:"readTimeout,omitempty"`
// 连接超时时间
ConnectTimeout *int `json:"connectTimeout,omitempty" xml:"connectTimeout,omitempty"`
// http代理
HttpProxy *string `json:"httpProxy,omitempty" xml:"httpProxy,omitempty"`
// https代理
HttpsProxy *string `json:"httpsProxy,omitempty" xml:"httpsProxy,omitempty"`
// 无代理
NoProxy *string `json:"noProxy,omitempty" xml:"noProxy,omitempty"`
// 最大闲置连接数
MaxIdleConns *int `json:"maxIdleConns,omitempty" xml:"maxIdleConns,omitempty"`
// socks5代理
Socks5Proxy *string `json:"socks5Proxy,omitempty" xml:"socks5Proxy,omitempty"`
// socks5代理协议
Socks5NetWork *string `json:"socks5NetWork,omitempty" xml:"socks5NetWork,omitempty"`
// 访问凭证类型
Type *string `json:"type,omitempty" xml:"type,omitempty" require:"true"`
// 用户代理
UserAgent *string `json:"userAgent,omitempty" xml:"userAgent,omitempty"`
// 访问凭证
Credential *dedicatedkmsopenapicredential.Client `json:"credential,omitempty" xml:"credential,omitempty"`
// ClientKey文件路径
ClientKeyFile *string `json:"clientKeyFile,omitempty" xml:"clientKeyFile,omitempty"`
// ClientKey文件内容
ClientKeyContent *string `json:"clientKeyContent,omitempty" xml:"clientKeyContent,omitempty"`
// ClientKey密码
Password *string `json:"password,omitempty" xml:"password,omitempty"`
// ca证书内容
Ca *string `json:"ca,omitempty" xml:"ca,omitempty"`
// ca证书文件路径
CaFilePath *string `json:"caFilePath,omitempty" xml:"caFilePath,omitempty"`
// 是否忽略SSL认证
IgnoreSSL *bool `json:"ignoreSSL,omitempty" xml:"ignoreSSL,omitempty"`
}
func (*Config) SetAccessKeyId ¶
func (*Config) SetCaFilePath ¶ added in v0.4.0
func (*Config) SetClientKeyContent ¶
func (*Config) SetClientKeyFile ¶
func (*Config) SetConnectTimeout ¶
func (*Config) SetCredential ¶
func (s *Config) SetCredential(v *dedicatedkmsopenapicredential.Client) *Config
func (*Config) SetEndpoint ¶
func (*Config) SetHttpProxy ¶
func (*Config) SetHttpsProxy ¶
func (*Config) SetIgnoreSSL ¶ added in v0.4.0
func (*Config) SetMaxIdleConns ¶
func (*Config) SetNoProxy ¶
func (*Config) SetPassword ¶
func (*Config) SetPrivateKey ¶
func (*Config) SetProtocol ¶
func (*Config) SetReadTimeout ¶
func (*Config) SetRegionId ¶
func (*Config) SetSocks5NetWork ¶
func (*Config) SetSocks5Proxy ¶
func (*Config) SetUserAgent ¶
Click to show internal directories.
Click to hide internal directories.