certmgmt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CAKeyName is the name of the CA private key
	CAKeyName = "ca-key.pem"
	// CACertName is the name of the CA certificate
	CACertName = "ca-cert.pem"
	// KeyName is the name of the server private key
	KeyName = "key.pem"
	// CertName is the name of the serving certificate
	CertName = "cert.pem"
)

Variables

This section is empty.

Functions

func GetCertificateInfo

func GetCertificateInfo(logger logger.LogContext, access CertificateAccess, commonName, dnsName string) (cert.CertificateInfo, error)

Types

type CertificateAccess

type CertificateAccess interface {
	Get(logger.LogContext) (cert.CertificateInfo, error)
	Set(logger.LogContext, cert.CertificateInfo) error
}

func NewSecret

func NewSecret(cluster cluster.Interface, name resources.ObjectName) CertificateAccess

Jump to

Keyboard shortcuts

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