certificate

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 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"

	// TokenBootstrapMode means that yurthub uses join token to create client certificates
	// and bootstrap itself.
	TokenBootstrapMode = "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
	GetCAData() []byte
	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