provisioners

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBundle = errors.New("invalid ca bundle")
)

Functions

func Load

func Load(namespacedName types.NamespacedName) (*cfsslProvisioner, bool)

Load returns a provisioner by NamespacedName.

func New

func New(spec *api.CfsslIssuerSpec) (*cfsslProvisioner, error)

func Remove

func Remove(namespacedName types.NamespacedName)

Remove removes a provisioner from the collection

func Retryable added in v0.2.5

func Retryable(err error) bool

Retryable returns whether the given error from Sign is a transient error (e.g. due to the network).

func Store

func Store(namespacedName types.NamespacedName, provisioner Provisioner)

Store adds a new provisioner to the collection by NamespacedName.

Types

type Provisioner

type Provisioner interface {
	Sign(context.Context, *certmanager.CertificateRequest) ([]byte, []byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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