cryptomaterial

package
v0.0.0-...-70d94bd Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CACertFileName     = "ca.crt"
	CAKeyFileName      = "ca.key"
	CABundleFileName   = "ca-bundle.crt"
	CASerialsFileName  = "serial.txt"
	ServerCertFileName = "server.crt"
	ServerKeyFileName  = "server.key"
	ClientCertFileName = "client.crt"
	ClientKeyFileName  = "client.key"
	PeerCertFileName   = "peer.crt"
	PeerKeyFileName    = "peer.key"

	LongLivedCertificateValidityDays  = 365 * 10
	ShortLivedCertificateValidityDays = 365
)

Variables

This section is empty.

Functions

func AdminKubeconfigClientCertDir

func AdminKubeconfigClientCertDir(certsDir string) string

func AdminKubeconfigSignerDir

func AdminKubeconfigSignerDir(certsDir string) string

func AggregatorClientCertDir

func AggregatorClientCertDir(certsDir string) string

func AggregatorSignerDir

func AggregatorSignerDir(certsDir string) string

func AppendCertsToFile

func AppendCertsToFile(bundlePath string, certs ...[]byte) error

func CABundlePath

func CABundlePath(dir string) string

func CACertPath

func CACertPath(dir string) string

func CAKeyPath

func CAKeyPath(dir string) string

func CASerialsPath

func CASerialsPath(dir string) string

func CSRSignerCertDir

func CSRSignerCertDir(certsDir string) string

func CertsDirectory

func CertsDirectory(dataPath string) string

func ClientCertPath

func ClientCertPath(dir string) string

func ClientKeyPath

func ClientKeyPath(dir string) string

func EtcdAPIServerClientCertDir

func EtcdAPIServerClientCertDir(certsDir string) string

func EtcdPeerCertDir

func EtcdPeerCertDir(certsDir string) string

func EtcdServingCertDir

func EtcdServingCertDir(certsDir string) string

func EtcdSignerDir

func EtcdSignerDir(certsDir string) string

func IngressCADir

func IngressCADir(certsDir string) string

func IsCertShortLived

func IsCertShortLived(c *x509.Certificate) bool

func KubeAPIServerExternalServingCertDir

func KubeAPIServerExternalServingCertDir(certsDir string) string

func KubeAPIServerExternalSigner

func KubeAPIServerExternalSigner(certsDir string) string

func KubeAPIServerLocalhostServingCertDir

func KubeAPIServerLocalhostServingCertDir(certsDir string) string

func KubeAPIServerLocalhostSigner

func KubeAPIServerLocalhostSigner(certsDir string) string

func KubeAPIServerServiceNetworkServingCertDir

func KubeAPIServerServiceNetworkServingCertDir(certsDir string) string

func KubeAPIServerServiceNetworkSigner

func KubeAPIServerServiceNetworkSigner(certsDir string) string

func KubeAPIServerToKubeletClientCertDir

func KubeAPIServerToKubeletClientCertDir(certsDir string) string

func KubeAPIServerToKubeletSignerCertDir

func KubeAPIServerToKubeletSignerCertDir(certsDir string) string

func KubeControlPlaneSignerCertDir

func KubeControlPlaneSignerCertDir(certsDir string) string

func KubeControllerManagerClientCertDir

func KubeControllerManagerClientCertDir(certsDir string) string

func KubeSchedulerClientCertDir

func KubeSchedulerClientCertDir(certsDir string) string

func KubeletCSRSignerSignerCertDir

func KubeletCSRSignerSignerCertDir(certsDir string) string

KubeletCSRSignerSignerCertDir returns path to the signer that signs kubelet CSRs and the signer that signs CSRs of the CSR API

func KubeletClientCAPath

func KubeletClientCAPath(certsDir string) string

KubeletClientCAPath returns the path to the cert bundle with all client certificate signers that kubelet should respect

func KubeletClientCertDir

func KubeletClientCertDir(certsDir string) string

func KubeletServingCertDir

func KubeletServingCertDir(certsDir string) string

func PeerCertPath

func PeerCertPath(dir string) string

func PeerKeyPath

func PeerKeyPath(dir string) string

func RouteControllerManagerServingCertDir

func RouteControllerManagerServingCertDir(certsDir string) string

func ServiceAccountTokenCABundlePath

func ServiceAccountTokenCABundlePath(certsDir string) string

func ServiceCADir

func ServiceCADir(certsDir string) string

func ServingCertPath

func ServingCertPath(dir string) string

func ServingKeyPath

func ServingKeyPath(dir string) string

func TotalClientCABundlePath

func TotalClientCABundlePath(certsDir string) string

TotalClientCABundlePath returns the path to the cert bundle with all client certificate signers

func UltimateTrustBundlePath

func UltimateTrustBundlePath(certsDir string) string

UltimateTrustBundlePath returns the path to the cert bundle with the root certificate

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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