Documentation ¶
Index ¶
- Constants
- func GetCertificateSigningRequestApprovalCondition(status *certificatesv1.CertificateSigningRequestStatus) (approved, denied bool)
- func IsCertificateSigningRequestApproved(csr *certificatesv1.CertificateSigningRequest) bool
- func ParseCertificateRequest(pemBytes []byte) (*x509.CertificateRequest, error)
- type CertificateSigningRequestRecognizer
Constants ¶
View Source
const (
CertificateRequestPEMBlockType = "CERTIFICATE REQUEST"
)
Variables ¶
This section is empty.
Functions ¶
func GetCertificateSigningRequestApprovalCondition ¶
func GetCertificateSigningRequestApprovalCondition(status *certificatesv1.CertificateSigningRequestStatus) (approved, denied bool)
func IsCertificateSigningRequestApproved ¶
func IsCertificateSigningRequestApproved(csr *certificatesv1.CertificateSigningRequest) bool
func ParseCertificateRequest ¶
func ParseCertificateRequest(pemBytes []byte) (*x509.CertificateRequest, error)
Types ¶
type CertificateSigningRequestRecognizer ¶
type CertificateSigningRequestRecognizer interface { Recognize(csr *certificatesv1.CertificateSigningRequest, x509CR *x509.CertificateRequest) bool Permission() authv1.ResourceAttributes SuccessMessage() string }
func NewCertificateSigningRequestRecognizer ¶
func NewCertificateSigningRequestRecognizer( recognize func(csr *certificatesv1.CertificateSigningRequest, x509CR *x509.CertificateRequest) bool, permission authv1.ResourceAttributes, successMessage string, ) CertificateSigningRequestRecognizer
Click to show internal directories.
Click to hide internal directories.