Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Domains []string `json:"domains"` NotAfter time.Time `json:"notAfter"` NotBefore time.Time `json:"notBefore"` Certificate []byte `json:"certificate"` PrivateKey []byte `json:"privateKey"` }
Certificate represents the certificate returned by the platform.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows interacting with the certificates service.
func (*Client) GetCertificateByDomains ¶ added in v0.8.0
func (c *Client) GetCertificateByDomains(ctx context.Context, domains []string) (Certificate, error)
GetCertificateByDomains obtains a certificate for the workspace.
func (*Client) GetWildcardCertificate ¶ added in v0.8.0
func (c *Client) GetWildcardCertificate(ctx context.Context) (Certificate, error)
GetWildcardCertificate obtains a certificate for the workspace.
Click to show internal directories.
Click to hide internal directories.