apimachinery: k8s.io/apimachinery/pkg/api/apitesting/naming Index | Files

package naming

import "k8s.io/apimachinery/pkg/api/apitesting/naming"

Index

Package Files

naming.go

func VerifyGroupNames Uses

func VerifyGroupNames(scheme *runtime.Scheme, legacyUnsuffixedGroups sets.String) error

VerifyGroupNames ensures that all groups in the scheme ends with the k8s.io suffix. Exceptions can be tolerated using the legacyUnsuffixedGroups parameter

func VerifyTagNaming Uses

func VerifyTagNaming(scheme *runtime.Scheme, typesAllowedTags map[reflect.Type]bool, allowedNonstandardJSONNames map[reflect.Type]string) error

VerifyTagNaming ensures that all types in the scheme have JSON tags set on external types, and JSON tags not set on internal types. Exceptions can be tolerated using the typesAllowedTags and allowedNonstandardJSONNames parameters

Package naming imports 8 packages (graph). Updated 2019-07-20. Refresh now. Tools for package owners.