certificate

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KubeletCertificateBootstrapMode means that yurthub uses kubelet certificate
	// that located at /var/lib/kubelet/pki/current-kubelet.pem to bootstrap instead of
	// generating client certificates.
	KubeletCertificateBootstrapMode = "kubeletcertificate"

	// TokenBoostrapMode means that yurthub uses join token to create client certificates
	// and bootstrap itself.
	TokenBoostrapMode = "token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type YurtCertificateManager added in v1.2.0

type YurtCertificateManager interface {
	YurtClientCertificateManager
	YurtServerCertificateManager
	// Ready should be called after yurt certificate manager started by Start.
	Ready() bool
}

YurtCertificateManager is responsible for managing node certificate for yurthub

type YurtClientCertificateManager added in v1.4.0

type YurtClientCertificateManager interface {
	Start()
	Stop()
	UpdateBootstrapConf(joinToken string) error
	GetHubConfFile() string
	GetCaFile() string
	GetAPIServerClientCert() *tls.Certificate
}

YurtClientCertificateManager is responsible for managing node client certificates for yurthub

type YurtServerCertificateManager added in v1.4.0

type YurtServerCertificateManager interface {
	Start()
	Stop()
	GetHubServerCert() *tls.Certificate
	GetHubServerCertFile() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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