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 }
Click to show internal directories.
Click to hide internal directories.