Documentation
¶
Index ¶
- type Client
- func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
- func (c *Client) NewCertificate(ctx context.Context, req *NewCertificateRequest) (*NewCertificateResponse, error)
- func (c *Client) RenewCertificate(ctx context.Context, req *RenewCertificateRequest) (*RenewCertificateResponse, error)
- func (c *Client) RevokeCertificate(ctx context.Context, req *RevokeCertificateRequest) (*RevokeCertificateResponse, error)
- type HTTPClient
- type IndexRequest
- type IndexResponse
- type NewCertificateRequest
- type NewCertificateResponse
- type RenewCertificateRequest
- type RenewCertificateResponse
- type RevokeCertificateRequest
- type RevokeCertificateResponse
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 New ¶
func New(c HTTPClient) *Client
func (*Client) Index ¶
func (c *Client) Index(ctx context.Context, req *IndexRequest) (*IndexResponse, error)
Index ACME index.
func (*Client) NewCertificate ¶
func (c *Client) NewCertificate(ctx context.Context, req *NewCertificateRequest) (*NewCertificateResponse, error)
NewCertificate Order a new certificate from ACME-compatible CA.
func (*Client) RenewCertificate ¶
func (c *Client) RenewCertificate(ctx context.Context, req *RenewCertificateRequest) (*RenewCertificateResponse, error)
RenewCertificate Renew existing certificate from CA.
func (*Client) RevokeCertificate ¶
func (c *Client) RevokeCertificate(ctx context.Context, req *RevokeCertificateRequest) (*RevokeCertificateResponse, error)
RevokeCertificate Revoke existing certificate from CA.
type HTTPClient ¶
type IndexRequest ¶
type IndexRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type IndexResponse ¶
type IndexResponse []*map[string]interface{}
type NewCertificateRequest ¶
type NewCertificateResponse ¶
type NewCertificateResponse string
type RenewCertificateRequest ¶
type RenewCertificateResponse ¶
type RenewCertificateResponse string
type RevokeCertificateRequest ¶
type RevokeCertificateRequest struct {
Node string `url:"node",json:"node"` // The cluster node name.
}
type RevokeCertificateResponse ¶
type RevokeCertificateResponse string
Click to show internal directories.
Click to hide internal directories.