Documentation
¶
Index ¶
- type Client
- func (c *Client) SetTLSConfig(config *tls.Config) *Client
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) SslUpdate(sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)
- func (c *Client) SslUpdateWithContext(ctx context.Context, sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)
- type SslCertificate
- type SslUpdateRequest
- type SslUpdateResponse
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) SslUpdate ¶ added in v0.4.14
func (c *Client) SslUpdate(sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)
func (*Client) SslUpdateWithContext ¶ added in v0.4.14
func (c *Client) SslUpdateWithContext(ctx context.Context, sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)
type SslCertificate ¶ added in v0.4.14
type SslCertificate struct {
ID *string `json:"id,omitempty"`
Status *int32 `json:"status,omitempty"`
Certificate *string `json:"cert,omitempty"`
PrivateKey *string `json:"key,omitempty"`
SNIs *[]string `json:"snis,omitempty"`
Type *string `json:"type,omitempty"`
ValidityStart *int64 `json:"validity_start,omitempty"`
ValidityEnd *int64 `json:"validity_end,omitempty"`
Labels *map[string]string `json:"labels,omitempty"`
}
type SslUpdateRequest ¶ added in v0.4.14
type SslUpdateRequest = SslCertificate
type SslUpdateResponse ¶ added in v0.4.14
type SslUpdateResponse = SslCertificate
Click to show internal directories.
Click to hide internal directories.