acme

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearClientCache added in v0.7.0

func ClearClientCache()

func ClientWithKey

func ClientWithKey(iss cmapi.GenericIssuer, pk *rsa.PrivateKey) (acme.Interface, error)

ClientWithKey will construct a new ACME client for the provided Issuer, using the given RSA private key.

func IsFailureState

func IsFailureState(s v1alpha1.State) bool

func IsFinalState

func IsFinalState(s v1alpha1.State) bool

IsFinalState will return true if the given ACME State is a 'final' state. This is either one of 'ready', 'invalid' or 'expired'. The 'valid' state is a special case, as it is a final state for Challenges but not for Orders.

func PrivateKeySelector

func PrivateKeySelector(sel cmapi.SecretKeySelector) cmapi.SecretKeySelector

PrivateKeySelector will default the SecretKeySelector with a default secret key if one is not already specified.

Types

type Helper

type Helper interface {
	ClientForIssuer(iss cmapi.GenericIssuer) (acme.Interface, error)
	ReadPrivateKey(sel cmapi.SecretKeySelector, ns string) (*rsa.PrivateKey, error)
}

func NewHelper

func NewHelper(lister corelisters.SecretLister, ns string) Helper

NewHelper is a helper that constructs a new Helper structure with the given secret lister.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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