certmanager

package
v1.2.5-alpha.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package certmanager implements the certificate.Manager interface for cert-manager.io as the certificate provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertManager

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

CertManager implements certificate.Manager

func New

func New(
	client cmversionedclient.Interface,
	namespace string,
	issuerRef cmmeta.ObjectReference,
	keySize int) (*CertManager, error)

New will construct a new certificate client using Jetstack's cert-manager,

func (*CertManager) IssueCertificate

func (cm *CertManager) IssueCertificate(cn certificate.CommonName, saNames []string, validityPeriod time.Duration) (*certificate.Certificate, error)

IssueCertificate will request a new signed certificate from the configured cert-manager issuer.

Jump to

Keyboard shortcuts

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