acme

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(issuer v1alpha1.GenericIssuer,
	client kubernetes.Interface,
	cmClient clientset.Interface,
	recorder record.EventRecorder,
	resourceNamespace string,
	acmeHTTP01SolverImage string,
	secretsLister corelisters.SecretLister) (issuer.Interface, error)

New returns a new ACME issuer interface for the given issuer.

Types

type Acme

type Acme struct {
	// contains filtered or unexported fields
}

Acme is an issuer for an ACME server. It can be used to register and obtain certificates from any ACME server. It supports DNS01 and HTTP01 challenge mechanisms.

func (*Acme) Issue

func (a *Acme) Issue(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)

func (*Acme) Prepare

func (a *Acme) Prepare(ctx context.Context, crt *v1alpha1.Certificate) error

Prepare will ensure the issuer has been initialised and is ready to issue certificates for the domains listed on the Certificate resource.

It will send the appropriate Letsencrypt authorizations, and complete challenge requests if neccessary.

func (*Acme) Renew

func (a *Acme) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)

func (*Acme) Setup

func (a *Acme) Setup(ctx context.Context) error

Setup will verify an existing ACME registration, or create one if not already registered.

Directories

Path Synopsis
dns
clouddns
Package clouddns implements a DNS provider for solving the DNS-01 challenge using Google Cloud DNS.
Package clouddns implements a DNS provider for solving the DNS-01 challenge using Google Cloud DNS.
cloudflare
Package cloudflare implements a DNS provider for solving the DNS-01 challenge using cloudflare DNS.
Package cloudflare implements a DNS provider for solving the DNS-01 challenge using cloudflare DNS.
route53
Package route53 implements a DNS provider for solving the DNS-01 challenge using AWS Route 53 DNS.
Package route53 implements a DNS provider for solving the DNS-01 challenge using AWS Route 53 DNS.

Jump to

Keyboard shortcuts

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