Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error)
- func (c *Client) ListCertificates() (*ListCertificatesResponse, error)
- func (c *Client) UpdateCertificate(certificateId string, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
- func (c *Client) WithTimeout(timeout time.Duration) *Client
- type CreateCertificateRequest
- type CreateCertificateResponse
- type ListCertificatesResponse
- type UpdateCertificateRequest
- type UpdateCertificateResponse
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) CreateCertificate ¶
func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error)
func (*Client) ListCertificates ¶
func (c *Client) ListCertificates() (*ListCertificatesResponse, error)
func (*Client) UpdateCertificate ¶
func (c *Client) UpdateCertificate(certificateId string, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
type CreateCertificateResponse ¶
type CreateCertificateResponse struct {
CertificateUrl string `json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*CreateCertificateResponse) SetRequestId ¶
func (r *CreateCertificateResponse) SetRequestId(requestId string)
type ListCertificatesResponse ¶
type ListCertificatesResponse struct {
Certificates []*struct {
CertificateId string `json:"certificate-id"`
Name string `json:"name"`
Comment string `json:"comment"`
ValidityFrom string `json:"certificate-validity-from"`
ValidityTo string `json:"certificate-validity-to"`
Serial string `json:"certificate-serial"`
} `json:"ssl-certificates,omitempty"`
// contains filtered or unexported fields
}
func (*ListCertificatesResponse) SetRequestId ¶
func (r *ListCertificatesResponse) SetRequestId(requestId string)
type UpdateCertificateResponse ¶
type UpdateCertificateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCertificateResponse) SetRequestId ¶
func (r *UpdateCertificateResponse) SetRequestId(requestId string)
Click to show internal directories.
Click to hide internal directories.