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) GetCertificate ¶
func (c *Client) GetCertificate(ctx context.Context) (Certificate, error)
GetCertificate obtains a certificate for the workspace.
Click to show internal directories.
Click to hide internal directories.