Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
GeneratePrivateKey returns a PEM encoded Private Key byte stream of an RSA 2048 bit size key and writes it to file in the `assetsDir`.
func GetCertApprovalCondition ¶
func GetCertApprovalCondition(status *capi.CertificateSigningRequestStatus) (approved bool, denied bool)
GetCertApprovalCondition returns both the approved status and denied status of the certificate request
func IsCertificateRequestApproved ¶
func IsCertificateRequestApproved(csr *capi.CertificateSigningRequest) bool
IsCertificateRequestApproved returns true if a certificate request has the "Approved" condition and no "Denied" conditions; false otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.