kubernetes/staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

const maxLengthErrMsg

const namePartErrMsg

const nameErrMsg

// Ensure custom name functions are allowed
func TestValidateObjectMetaCustomName(t *testing.T) {}

// Ensure namespace names follow dns label format
func TestValidateObjectMetaNamespaces(t *testing.T) {}

func TestValidateObjectMetaOwnerReferences(t *testing.T) {}

func TestValidateObjectMetaUpdateIgnoresCreationTimestamp(t *testing.T) {}

func TestValidateFinalizersUpdate(t *testing.T) {}

func TestValidateFinalizersPreventConflictingFinalizers(t *testing.T) {}

func TestValidateObjectMetaUpdatePreventsDeletionFieldMutation(t *testing.T) {}

func TestObjectMetaGenerationUpdate(t *testing.T) {}

// Ensure trailing slash is allowed in generate name
func TestValidateObjectMetaTrimsTrailingSlash(t *testing.T) {}

func TestValidateAnnotations(t *testing.T) {}