acmeimpl

package
v0.0.0-...-9be662f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcmeImpl

type AcmeImpl struct {
	*acme.Client
	// contains filtered or unexported fields
}

func NewAcmeImpl

func NewAcmeImpl(kubeClient *client.Client, server string, user User, rsaKeySize acme.KeyType) (*AcmeImpl, error)

func (*AcmeImpl) Perform

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) GetEmail

func (u User) GetEmail() string

func (User) GetPrivateKey

func (u User) GetPrivateKey() crypto.PrivateKey

func (User) GetRegistration

func (u User) GetRegistration() *acme.RegistrationResource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL