provisioners

package
v0.3.2-dev.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 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 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 CfsslProvisioner added in v0.3.0

type CfsslProvisioner struct {
	// contains filtered or unexported fields
}

func Load

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

Load returns a provisioner by NamespacedName.

func New

func (*CfsslProvisioner) Sign added in v0.3.0

func (cf *CfsslProvisioner) Sign(csrpem []byte) (resp, rootCA []byte, err error)

type Provisioner

type Provisioner interface {
	Sign([]byte) ([]byte, []byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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