Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeImpl ¶
func NewAcmeImpl ¶
func (*AcmeImpl) Perform ¶
func (a *AcmeImpl) Perform(cr *CertificateRequest) (acme.CertificateResource, error)
type CertificateRequest ¶
type CertificateRequest struct { IsRenewal bool ExistingResource acme.CertificateResource Hosts []string PrivateKey crypto.PrivateKey }
type Interface ¶
type Interface interface {
Perform(*CertificateRequest) (*acme.CertificateResource, error)
}
type SecretsProvider ¶
type SecretsProvider struct {
// contains filtered or unexported fields
}
func NewSecretsProvider ¶
func NewSecretsProvider(kubeClient *client.Client, ns string) (*SecretsProvider, error)
func (*SecretsProvider) CleanUp ¶
func (sp *SecretsProvider) CleanUp(domain, token, keyAuth string) error
func (*SecretsProvider) Present ¶
func (sp *SecretsProvider) Present(domain, token, keyAuth string) error
type User ¶
type User struct { Email string Registration *acme.RegistrationResource // contains filtered or unexported fields }
You'll need a user or account type that implements acme.User
func NewUser ¶
func NewUser(email string, privKey crypto.PrivateKey, reg *acme.RegistrationResource) User
func (User) GetPrivateKey ¶
func (u User) GetPrivateKey() crypto.PrivateKey
func (User) GetRegistration ¶
func (u User) GetRegistration() *acme.RegistrationResource
Click to show internal directories.
Click to hide internal directories.