func newGetTemplateFn(nodeName types.NodeName, getAddresses func() []v1.NodeAddress) func() *x509.CertificateRequest { … }
func NewKubeletServerCertificateManager(kubeClient clientset.Interface, kubeCfg *kubeletconfig.KubeletConfiguration, nodeName types.NodeName, getAddresses func() []v1.NodeAddress, certDirectory string) (certificate.Manager, error) { … }
func addressesToHostnamesAndIPs(addresses []v1.NodeAddress) (dnsNames []string, ips []net.IP) { … }
func NewKubeletClientCertificateManager(
certDirectory string,
nodeName types.NodeName,
bootstrapCertData []byte,
bootstrapKeyData []byte,
certFile string,
keyFile string,
clientsetFn certificate.ClientsetFunc,
) (certificate.Manager, error) { … }
func NewKubeletServerCertificateDynamicFileManager(certFile, keyFile string) (certificate.Manager, error) { … }
type kubeletServerCertificateDynamicFileManager …
func (m *kubeletServerCertificateDynamicFileManager) Enqueue() { … }
func (m *kubeletServerCertificateDynamicFileManager) Current() *tls.Certificate { … }
func (m *kubeletServerCertificateDynamicFileManager) Start() { … }
func (m *kubeletServerCertificateDynamicFileManager) Stop() { … }
func (m *kubeletServerCertificateDynamicFileManager) ServerHealthy() bool { … }