Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 IsFinalState ¶
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.
Click to show internal directories.
Click to hide internal directories.