Documentation ¶
Index ¶
- Variables
- func CertificateSigningRequestIsApproved(csr *certificatesv1.CertificateSigningRequest) bool
- func CertificateSigningRequestIsDenied(csr *certificatesv1.CertificateSigningRequest) bool
- func CertificateSigningRequestIsFailed(csr *certificatesv1.CertificateSigningRequest) bool
- func CertificateSigningRequestSetFailed(csr *certificatesv1.CertificateSigningRequest, reason, message string)
- func IssuerKindFromType(issuerType string) (string, bool)
- type SignerIssuerRef
Constants ¶
This section is empty.
Variables ¶
View Source
var Clock clock.Clock = clock.RealClock{}
Clock is defined as a package var so it can be stubbed out during tests.
Functions ¶
func CertificateSigningRequestIsApproved ¶
func CertificateSigningRequestIsApproved(csr *certificatesv1.CertificateSigningRequest) bool
func CertificateSigningRequestIsDenied ¶
func CertificateSigningRequestIsDenied(csr *certificatesv1.CertificateSigningRequest) bool
func CertificateSigningRequestIsFailed ¶
func CertificateSigningRequestIsFailed(csr *certificatesv1.CertificateSigningRequest) bool
func CertificateSigningRequestSetFailed ¶
func CertificateSigningRequestSetFailed(csr *certificatesv1.CertificateSigningRequest, reason, message string)
func IssuerKindFromType ¶
IssuerKindFromType will return the cert-manager.io Issuer Kind from a resource type name.
Types ¶
type SignerIssuerRef ¶
func SignerIssuerRefFromSignerName ¶
func SignerIssuerRefFromSignerName(name string) (SignerIssuerRef, bool)
SignerIssuerRefFromSignerName will return a SignerIssuerRef from a CertificateSigningRequests.Spec.SignerName
Click to show internal directories.
Click to hide internal directories.