Documentation ¶
Overview ¶
Package certificate provides functions to create a certificate request and matching private key.
Index ¶
Constants ¶
View Source
const ( // CertificateFilename is the path to the kubelets certificate. CertificateFilename = "/run/state/kubelet/pki/kubelet-client-crt.pem" // KeyFilename is the path to the kubelets private key. KeyFilename = "/run/state/kubelet/pki/kubelet-client-key.pem" )
Variables ¶
This section is empty.
Functions ¶
func GetCertificateRequest ¶
func GetCertificateRequest(csrTemplate *x509.CertificateRequest) (certificateRequest []byte, privateKey []byte, err error)
GetCertificateRequest returns a certificate request and matching private key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.