validation

package
v1.31.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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