Documentation
¶
Index ¶
- type Client
- func (c *Client) SetTLSConfig(config *tls.Config) *Client
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) SslConfigDetail(sslId string) (*SslConfigDetailResponse, error)
- func (c *Client) SslConfigDetailWithContext(ctx context.Context, sslId string) (*SslConfigDetailResponse, error)
- func (c *Client) SslConfigEdit(req *SslConfigEditRequest) (*SslConfigEditResponse, error)
- func (c *Client) SslConfigEditWithContext(ctx context.Context, req *SslConfigEditRequest) (*SslConfigEditResponse, error)
- type SslConfig
- type SslConfigDetailResponse
- type SslConfigEditRequest
- type SslConfigEditResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SslConfigDetail ¶
func (c *Client) SslConfigDetail(sslId string) (*SslConfigDetailResponse, error)
func (*Client) SslConfigDetailWithContext ¶
func (*Client) SslConfigEdit ¶
func (c *Client) SslConfigEdit(req *SslConfigEditRequest) (*SslConfigEditResponse, error)
func (*Client) SslConfigEditWithContext ¶
func (c *Client) SslConfigEditWithContext(ctx context.Context, req *SslConfigEditRequest) (*SslConfigEditResponse, error)
type SslConfig ¶
type SslConfig struct {
Id string `json:"id"`
CertContent string `json:"cert_content"`
KeyContent string `json:"key_content"`
SerialNo string `json:"serial_no"`
Subject string `json:"subject"`
Issuer string `json:"issuer"`
ValidFrom string `json:"valid_from"`
ValidTo string `json:"valid_to"`
Domains string `json:"domains"`
KeyPath string `json:"key_path"`
CertPath string `json:"cert_path"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
}
type SslConfigDetailResponse ¶
type SslConfigDetailResponse struct {
Data *SslConfig `json:"data,omitempty"`
// contains filtered or unexported fields
}
type SslConfigEditRequest ¶
Click to show internal directories.
Click to hide internal directories.