Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertManager ¶
type CertManager struct { RotateCertificates bool NodeName string CR *x509.CertificateRequest Done chan struct{} // contains filtered or unexported fields }
func NewCertManager ¶
func NewCertManager(edgehub v1alpha1.EdgeHub, nodename string) CertManager
NewCertManager creates a CertManager for edge certificate management according to EdgeHub config
func (*CertManager) GetEdgeCert ¶
func (cm *CertManager) GetEdgeCert(url string, capem []byte, cert tls.Certificate, token string) (*ecdsa.PrivateKey, []byte, error)
GetEdgeCert applies for the certificate from cloudcore
Click to show internal directories.
Click to hide internal directories.