validation

package
v1.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 31

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCertificateRequestName

func ValidateCertificateRequestName(name string, prefix bool) []string

We don't care what you call your certificate requests.

func ValidateCertificateSigningRequestApprovalUpdate added in v1.19.0

func ValidateCertificateSigningRequestApprovalUpdate(newCSR, oldCSR *certificates.CertificateSigningRequest) field.ErrorList

func ValidateCertificateSigningRequestCreate added in v1.19.0

func ValidateCertificateSigningRequestCreate(csr *certificates.CertificateSigningRequest) field.ErrorList

func ValidateCertificateSigningRequestStatusUpdate added in v1.19.0

func ValidateCertificateSigningRequestStatusUpdate(newCSR, oldCSR *certificates.CertificateSigningRequest) field.ErrorList

func ValidateCertificateSigningRequestUpdate

func ValidateCertificateSigningRequestUpdate(newCSR, oldCSR *certificates.CertificateSigningRequest) field.ErrorList

func ValidateClusterTrustBundle added in v1.27.0

func ValidateClusterTrustBundle(bundle *certificates.ClusterTrustBundle, opts ValidateClusterTrustBundleOptions) field.ErrorList

ValidateClusterTrustBundle runs all validation checks on bundle.

func ValidateClusterTrustBundleUpdate added in v1.27.0

func ValidateClusterTrustBundleUpdate(newBundle, oldBundle *certificates.ClusterTrustBundle) field.ErrorList

ValidateClusterTrustBundleUpdate runs all update validation checks on an update.

Types

type ValidateClusterTrustBundleOptions added in v1.27.0

type ValidateClusterTrustBundleOptions struct {
	SuppressBundleParsing bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL