Discover Packages
k8s.io/code-generator
pkg
namer
package
Version:
v0.21.2-rc.0
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 28
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewTagOverrideNamer creates a namer.Namer which uses the contents of the given tag as
the name, or falls back to another Namer if the tag is not present.
type TagOverrideNamer struct {
}
TagOverrideNamer is a namer which pulls names from a given tag, if specified,
and otherwise falls back to a different namer.
Name returns the tag value if it exists. It no tag was found the fallback namer will be used
Source Files
¶
Click to show internal directories.
Click to hide internal directories.