provisioners

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 12 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 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