Documentation
¶
Index ¶
- type Certificate
- type Client
- func (c *Client) SetTLSConfig(config *tls.Config) *Client
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UpdateSSL(sslId string, req *UpdateSSLRequest) (*UpdateSSLResponse, error)
- func (c *Client) UpdateSSLWithContext(ctx context.Context, sslId string, req *UpdateSSLRequest) (*UpdateSSLResponse, error)
- type Options
- type OptionsFunc
- type UpdateSSLRequest
- type UpdateSSLResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶ added in v0.4.25
type Certificate 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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) UpdateSSL ¶
func (c *Client) UpdateSSL(sslId string, req *UpdateSSLRequest) (*UpdateSSLResponse, error)
func (*Client) UpdateSSLWithContext ¶
func (c *Client) UpdateSSLWithContext(ctx context.Context, sslId string, req *UpdateSSLRequest) (*UpdateSSLResponse, error)
type OptionsFunc ¶ added in v0.4.25
type OptionsFunc func(*Options)
func WithApiKey ¶ added in v0.4.25
func WithApiKey(apiKey string) OptionsFunc
type UpdateSSLRequest ¶
type UpdateSSLRequest Certificate
type UpdateSSLResponse ¶
type UpdateSSLResponse Certificate
Click to show internal directories.
Click to hide internal directories.