Documentation ¶
Index ¶
Constants ¶
View Source
const ( LetsEncryptStagingURL = "https://acme-staging-v02.api.letsencrypt.org/directory" LetsEncryptProdURL = "https://acme-v02.api.letsencrypt.org/directory" )
Variables ¶
View Source
var ErrEmptyCert = errors.New("empty cert")
Functions ¶
This section is empty.
Types ¶
type ACMEUser ¶
type ACMEUser struct { ServerURL string Email string Registration *acme.RegistrationResource Key crypto.PrivateKey }
func (*ACMEUser) GetPrivateKey ¶
func (u *ACMEUser) GetPrivateKey() crypto.PrivateKey
func (*ACMEUser) GetRegistration ¶
func (u *ACMEUser) GetRegistration() *acme.RegistrationResource
type CertStore ¶
type CertStore struct { KubeClient kubernetes.Interface VoyagerClient cs.Interface VaultClient *vault.Client }
func NewCertStore ¶
func (*CertStore) Get ¶
func (s *CertStore) Get(crd *api.Certificate) (pemCrt, pemKey []byte, err error)
func (*CertStore) Save ¶
func (s *CertStore) Save(crd *api.Certificate, cert *acme.CertificateResource) error
type Controller ¶
type Controller struct { KubeClient kubernetes.Interface VoyagerClient cs.Interface ChallengeProvider string UserSecret *core.Secret DNSCredentials map[string][]byte // contains filtered or unexported fields }
func NewController ¶
func NewController(kubeClient kubernetes.Interface, extClient cs.Interface, cfg config.Config, tpr *api.Certificate, recorder record.EventRecorder) (*Controller, error)
func (*Controller) Process ¶
func (c *Controller) Process() error
Click to show internal directories.
Click to hide internal directories.