naming

package
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyGroupNames

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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