kubernetesca

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesCA

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

KubernetesCA handles signing of certificates using the Kubernetes root CA.

func New

func New(log *logger.Logger, fileHandler file.Handler) *KubernetesCA

New creates a new KubernetesCA.

func (KubernetesCA) GetCertificate

func (c KubernetesCA) GetCertificate(csr []byte) (cert []byte, err error)

GetCertificate creates a certificate for a node and signs it using the Kubernetes root CA.

Jump to

Keyboard shortcuts

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