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 ¶
func Load ¶
func Load(namespacedName types.NamespacedName) (*PuppetCAProvisioner, bool)
Load returns a Step provisioner by NamespacedName.
func NewProvisioner ¶
func (*PuppetCAProvisioner) Clean ¶
func (p *PuppetCAProvisioner) Clean(ctx context.Context, crt *certmanager.Certificate) error
Cleans the certificate from the Puppet CA
func (*PuppetCAProvisioner) Sign ¶
func (p *PuppetCAProvisioner) Sign(ctx context.Context, cr *certmanager.CertificateRequest) ([]byte, []byte, error)
Sign sends the certificate requests to the Step CA and returns the signed certificate.
Click to show internal directories.
Click to hide internal directories.