kubernetes/pkg/apis/certificates/validation/validation_test.go

var validObjectMeta

var validSignerName

var validUsages

func TestValidateCertificateSigningRequestCreate(t *testing.T) {}

func repeatString(s string, num int) string {}

func newCSRPEM(t *testing.T) []byte {}

func Test_getValidationOptions(t *testing.T) {}

func TestValidateCertificateSigningRequestUpdate(t *testing.T) {}

func TestValidateCertificateSigningRequestStatusUpdate(t *testing.T) {}

func TestValidateCertificateSigningRequestApprovalUpdate(t *testing.T) {}

// Test_validateCertificateSigningRequestOptions verifies validation options are effective in tolerating specific aspects of CSRs
func Test_validateCertificateSigningRequestOptions(t *testing.T) {}

func mustMakeCertificate(t *testing.T, template *x509.Certificate) []byte {}

func mustMakePEMBlock(blockType string, headers map[string]string, data []byte) string {}

func TestValidateClusterTrustBundle(t *testing.T) {}

func TestValidateClusterTrustBundleUpdate(t *testing.T) {}

var validCertificate

var invalidCertificateNoPEM

var invalidCertificateNonCertificatePEM

var invalidCertificatePEMHeaders

var invalidCertificateNonBase64PEM

var invalidCertificateEmptyPEM

var invalidCertificateNonASN1Data