Documentation ¶
Index ¶
- func AddToValidationRegistry(reg *validation.Registry) error
- func ValidateACMEChallengeSolverDNS01(p *cmacme.ACMEChallengeSolverDNS01, fldPath *field.Path) field.ErrorList
- func ValidateACMEIssuerChallengeSolverConfig(sol *cmacme.ACMEChallengeSolver, fldPath *field.Path) field.ErrorList
- func ValidateACMEIssuerChallengeSolverHTTP01Config(http01 *cmacme.ACMEChallengeSolverHTTP01, fldPath *field.Path) field.ErrorList
- func ValidateACMEIssuerChallengeSolverHTTP01IngressConfig(ingress *cmacme.ACMEChallengeSolverHTTP01Ingress, fldPath *field.Path) field.ErrorList
- func ValidateACMEIssuerConfig(iss *cmacme.ACMEIssuer, fldPath *field.Path) field.ErrorList
- func ValidateCAIssuerConfig(iss *certmanager.CAIssuer, fldPath *field.Path) field.ErrorList
- func ValidateCertificate(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
- func ValidateCertificateForACMEIssuer(crt *cmapi.CertificateSpec, issuer *cmapi.IssuerSpec, specPath *field.Path) field.ErrorList
- func ValidateCertificateForIssuer(crt *cmapi.Certificate, issuerObj cmapi.GenericIssuer) field.ErrorList
- func ValidateCertificateForVaultIssuer(crt *cmapi.CertificateSpec, issuer *cmapi.IssuerSpec, specPath *field.Path) field.ErrorList
- func ValidateCertificateRequest(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
- func ValidateCertificateRequestApprovalCondition(crConds []cmapi.CertificateRequestCondition, fldPath *field.Path) field.ErrorList
- func ValidateCertificateRequestSpec(crSpec *cmapi.CertificateRequestSpec, fldPath *field.Path, ...) field.ErrorList
- func ValidateCertificateSpec(crt *internalcmapi.CertificateSpec, fldPath *field.Path) field.ErrorList
- func ValidateClusterIssuer(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
- func ValidateDuration(crt *internalcmapi.CertificateSpec, fldPath *field.Path) field.ErrorList
- func ValidateIssuer(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
- func ValidateIssuerConfig(iss *certmanager.IssuerConfig, fldPath *field.Path) field.ErrorList
- func ValidateIssuerSpec(iss *certmanager.IssuerSpec, fldPath *field.Path) field.ErrorList
- func ValidateSecretKeySelector(sks *cmmeta.SecretKeySelector, fldPath *field.Path) field.ErrorList
- func ValidateSelfSignedIssuerConfig(iss *certmanager.SelfSignedIssuer, fldPath *field.Path) field.ErrorList
- func ValidateUpdateCertificate(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
- func ValidateUpdateCertificateRequest(_ *admissionv1.AdmissionRequest, oldObj, newObj runtime.Object) field.ErrorList
- func ValidateUpdateCertificateRequestApprovalCondition(oldCRConds, newCRConds []cmapi.CertificateRequestCondition, ...) field.ErrorList
- func ValidateUpdateClusterIssuer(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
- func ValidateUpdateIssuer(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
- func ValidateVaultIssuerConfig(iss *certmanager.VaultIssuer, fldPath *field.Path) field.ErrorList
- func ValidateVenafiCloud(c *certmanager.VenafiCloud, fldPath *field.Path) (el field.ErrorList)
- func ValidateVenafiIssuerConfig(iss *certmanager.VenafiIssuer, fldPath *field.Path) (el field.ErrorList)
- func ValidateVenafiTPP(tpp *certmanager.VenafiTPP, fldPath *field.Path) (el field.ErrorList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToValidationRegistry ¶ added in v0.13.0
func AddToValidationRegistry(reg *validation.Registry) error
func ValidateACMEChallengeSolverDNS01 ¶ added in v0.11.0
func ValidateCAIssuerConfig ¶
func ValidateCertificate ¶
func ValidateCertificate(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
func ValidateCertificateForACMEIssuer ¶
func ValidateCertificateForACMEIssuer(crt *cmapi.CertificateSpec, issuer *cmapi.IssuerSpec, specPath *field.Path) field.ErrorList
func ValidateCertificateForIssuer ¶
func ValidateCertificateForIssuer(crt *cmapi.Certificate, issuerObj cmapi.GenericIssuer) field.ErrorList
func ValidateCertificateForVaultIssuer ¶
func ValidateCertificateForVaultIssuer(crt *cmapi.CertificateSpec, issuer *cmapi.IssuerSpec, specPath *field.Path) field.ErrorList
func ValidateCertificateRequest ¶
func ValidateCertificateRequest(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
func ValidateCertificateRequestApprovalCondition ¶ added in v1.3.0
func ValidateCertificateRequestApprovalCondition(crConds []cmapi.CertificateRequestCondition, fldPath *field.Path) field.ErrorList
ValidateCertificateRequestApprovalCondition will ensure that only a single 'Approved' or 'Denied' condition may exist, and that they are set to True.
func ValidateCertificateSpec ¶
func ValidateCertificateSpec(crt *internalcmapi.CertificateSpec, fldPath *field.Path) field.ErrorList
func ValidateClusterIssuer ¶
func ValidateClusterIssuer(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
func ValidateDuration ¶
func ValidateDuration(crt *internalcmapi.CertificateSpec, fldPath *field.Path) field.ErrorList
func ValidateIssuer ¶
func ValidateIssuer(_ *admissionv1.AdmissionRequest, obj runtime.Object) field.ErrorList
func ValidateIssuerConfig ¶
func ValidateIssuerConfig(iss *certmanager.IssuerConfig, fldPath *field.Path) field.ErrorList
func ValidateIssuerSpec ¶
func ValidateIssuerSpec(iss *certmanager.IssuerSpec, fldPath *field.Path) field.ErrorList
func ValidateSelfSignedIssuerConfig ¶
func ValidateSelfSignedIssuerConfig(iss *certmanager.SelfSignedIssuer, fldPath *field.Path) field.ErrorList
func ValidateUpdateCertificate ¶ added in v1.0.0
func ValidateUpdateCertificate(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
func ValidateUpdateCertificateRequest ¶ added in v1.0.0
func ValidateUpdateCertificateRequest(_ *admissionv1.AdmissionRequest, oldObj, newObj runtime.Object) field.ErrorList
func ValidateUpdateCertificateRequestApprovalCondition ¶ added in v1.3.0
func ValidateUpdateCertificateRequestApprovalCondition(oldCRConds, newCRConds []cmapi.CertificateRequestCondition, fldPath *field.Path) field.ErrorList
ValidateUpdateCertificateRequestApprovalCondition will ensure that the 'Approved' and 'Denied' conditions may not be changed once set, i.e. if they exist, they are not modified in the updated resource. Also runs the base approval validation on the updated CertificateRequest conditions.
func ValidateUpdateClusterIssuer ¶ added in v1.0.0
func ValidateUpdateClusterIssuer(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
func ValidateUpdateIssuer ¶ added in v1.0.0
func ValidateUpdateIssuer(_ *admissionv1.AdmissionRequest, oldObj, obj runtime.Object) field.ErrorList
func ValidateVaultIssuerConfig ¶
func ValidateVaultIssuerConfig(iss *certmanager.VaultIssuer, fldPath *field.Path) field.ErrorList
func ValidateVenafiCloud ¶ added in v1.1.0
func ValidateVenafiCloud(c *certmanager.VenafiCloud, fldPath *field.Path) (el field.ErrorList)
func ValidateVenafiIssuerConfig ¶
func ValidateVenafiIssuerConfig(iss *certmanager.VenafiIssuer, fldPath *field.Path) (el field.ErrorList)
func ValidateVenafiTPP ¶ added in v1.1.0
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.