Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertFileType ¶
type CertFileType int
const ( RootCA CertFileType = iota YurthubClientCert YurthubClientKey NodeLeaseProxyClientCert NodeLeaseProxyClientKey )
type CertManager ¶
func NewCertManager ¶
func NewCertManager(pkiDir, yurtHubNs string, yurtClient kubernetes.Interface, informerFactory informers.SharedInformerFactory) (*CertManager, error)
func (*CertManager) GetAPIServerClientCert ¶
func (c *CertManager) GetAPIServerClientCert() *tls.Certificate
func (*CertManager) GetCAData ¶ added in v1.5.0
func (c *CertManager) GetCAData() []byte
func (*CertManager) GetCaFile ¶
func (c *CertManager) GetCaFile() string
func (*CertManager) GetFilePath ¶
func (c *CertManager) GetFilePath(t CertFileType) string
func (*CertManager) GetNodeLeaseProxyClientCert ¶
func (c *CertManager) GetNodeLeaseProxyClientCert() *tls.Certificate
Click to show internal directories.
Click to hide internal directories.