acme

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2017 License: Apache-2.0 Imports: 30 Imported by: 8

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,
	secretsInformer cache.SharedIndexInformer) (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 added in v0.1.0

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 added in v0.1.0

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

func (*Acme) Setup

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

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