Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateManager ¶
type CertificateManager struct {
// contains filtered or unexported fields
}
CertificateManager manages certificates: issue, renew, ....
func GetCertificateManager ¶
func GetCertificateManager() (*CertificateManager, error)
GetCertificateManager creates CertificateManager instance
func (*CertificateManager) Issue ¶
func (c *CertificateManager) Issue(certData agentintegration.CertificateIssueRequestData) (*agentintegration.Certificate, error)
Issue issues a certificate
func (*CertificateManager) Upload ¶ added in v0.1.2
func (c *CertificateManager) Upload(certData *agentintegration.CertificateUploadRequestData) (*agentintegration.Certificate, error)
Upload deploys an existed certificate
type ChallengeType ¶
type ChallengeType interface {
GetParams() []string
}
ChallengeType should be implemented by object to specify challenge type during certificate issuence
type DNSChallengeType ¶
type DNSChallengeType struct {
Provider string
}
DNSChallengeType implements http challenge type
func (*DNSChallengeType) GetParams ¶
func (ct *DNSChallengeType) GetParams() []string
GetParams retuns the list of parameters for dns challenge type
type HTTPChallengeType ¶
HTTPChallengeType implements http challenge type
func (*HTTPChallengeType) GetParams ¶
func (ct *HTTPChallengeType) GetParams() []string
GetParams retuns the list of parameters for http challenge type
Click to show internal directories.
Click to hide internal directories.