acme

package
v0.15.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 19 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 cmacme.State) bool

func IsFinalState

func IsFinalState(s cmacme.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 cmmeta.SecretKeySelector) cmmeta.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 cmmeta.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
apis/acme
Package acme contains type definitions for ACME ChallengePayload resources
Package acme contains type definitions for ACME ChallengePayload resources
apis/acme/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
cmd

Jump to

Keyboard shortcuts

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