Documentation
¶
Index ¶
- type Client
- func (c *Client) ImportCustomCertificate(req *ImportCustomCertificateRequest) (*ImportCustomCertificateResponse, error)
- func (c *Client) ImportCustomCertificateWithContext(ctx context.Context, req *ImportCustomCertificateRequest) (*ImportCustomCertificateResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- type ImportCustomCertificateRequest
- type ImportCustomCertificateResponse
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) ImportCustomCertificate ¶
func (c *Client) ImportCustomCertificate(req *ImportCustomCertificateRequest) (*ImportCustomCertificateResponse, error)
func (*Client) ImportCustomCertificateWithContext ¶
func (c *Client) ImportCustomCertificateWithContext(ctx context.Context, req *ImportCustomCertificateRequest) (*ImportCustomCertificateResponse, error)
type ImportCustomCertificateResponse ¶
type ImportCustomCertificateResponse struct {
Hostname string `json:"hostname"`
Configured bool `json:"configured"`
Status string `json:"status"`
Certificates []*struct {
Source string `json:"source"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
ExpiresAt string `json:"expires_at"`
Issuer string `json:"issuer"`
} `json:"certificates"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.