Versions in this module Expand all Collapse all v1 v1.0.0 Oct 24, 2019 Changes in this version + const LetsEncryptCertIssuingAuthority + const StagingLetsEncryptCertIssuingAuthority + func GetLetsEncryptDirctoryURL(kubeClient client.Client) (durl string, err error) + func GetSecret(kubeClient client.Client, secretName, namespace string) (*corev1.Secret, error) + type ACMEClient struct + Account acme.Account + Authorization acme.Authorization + Challenge acme.Challenge + Client acme.Client + Order acme.Order + func GetLetsEncryptClient(directoryUrl string) (Client ACMEClient, err error) + func (c *ACMEClient) CreateOrder(domains []string) (err error) + func (c *ACMEClient) FetchAuthorization(authURL string) (err error) + func (c *ACMEClient) FetchCertificates() (certbundle []*x509.Certificate, err error) + func (c *ACMEClient) FinalizeOrder(csr *x509.CertificateRequest) (err error) + func (c *ACMEClient) GetAccount(kubeClient client.Client, namespace string) (err error) + func (c *ACMEClient) GetAuthorizationIndentifier() (AuthID string, err error) + func (c *ACMEClient) GetAuthorizationURL() string + func (c *ACMEClient) GetChallengeURL() string + func (c *ACMEClient) GetDNS01KeyAuthorization() (keyAuth string, err error) + func (c *ACMEClient) GetOrderEndpoint() string + func (c *ACMEClient) GetOrderURL() (URL string, err error) + func (c *ACMEClient) OrderAuthorization() []string + func (c *ACMEClient) RevokeCertificate(certificate *x509.Certificate) (err error) + func (c *ACMEClient) SetChallengeType() (err error) + func (c *ACMEClient) UpdateAccount(email string) (err error) + func (c *ACMEClient) UpdateChallenge() (err error) + type Client interface + CreateOrder func([]string) + FetchAuthorization func(string) + FetchCertificates func() + FinalizeOrder func() + GetAccount func(client.Client, bool, string) (acme.Account, error) + GetAuthorizationIndentifier func() + GetAuthorizationURL func() + GetChallengeURL func() + GetDNS01KeyAuthorization func() + GetOrderEndpoint func() + GetOrderURL func() + OrderAuthorization func() + RevokeCertificate func() + SetChallengeType func() + UpdateAccount func([]string) + UpdateChallenge func()