provisioners

package
v0.0.0-...-b035c16 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Store

func Store(namespacedName types.NamespacedName, provisioner *PuppetCAProvisioner)

Store adds a new provisioner to the collection by NamespacedName.

Types

type PuppetCA

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

PuppetCA implements a Puppet CA provisioner in charge of signing certificate requests by calling Puppet CA API's

type PuppetCAProvisioner

type PuppetCAProvisioner struct {
	Log logr.Logger
	// contains filtered or unexported fields
}

func Load

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

Load returns a Step provisioner by NamespacedName.

func NewProvisioner

func NewProvisioner(url string,
	cert string, key string, caCert string, logger logr.Logger) (p *PuppetCAProvisioner)

func (*PuppetCAProvisioner) Clean

Cleans the certificate from the Puppet CA

func (*PuppetCAProvisioner) Sign

Sign sends the certificate requests to the Step CA and returns the signed certificate.

Jump to

Keyboard shortcuts

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