Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNameSystem ¶
func DefaultNameSystem() string
DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.
func NameSystems ¶
func NameSystems() namer.NameSystems
NameSystems returns the name system used by the generators in this package.
Types ¶
type APIDeprecation ¶
type APIDeprecation struct { GroupVersionKind Description string `json:"description,omitempty"` IntroducedVersion Version `json:"introduced_version,omitempty"` DeprecatedVersion Version `json:"deprecated_version,omitempty"` RemovedVersion Version `json:"removed_version,omitempty"` Replacement GroupVersionKind `json:"replacement,omitempty"` }
type APIRegistry ¶
type APIRegistry struct {
// contains filtered or unexported fields
}
func NewAPIRegistry ¶
func NewAPIRegistry() *APIRegistry
func (*APIRegistry) NewDeprecatedDefinitionsGen ¶
func (r *APIRegistry) NewDeprecatedDefinitionsGen(sanitizedName, targetPackage, group, version string) generator.Generator
NewPrereleaseLifecycleGen creates a generator for the prerelease-lifecycle-generator
func (*APIRegistry) Packages ¶
func (r *APIRegistry) Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages
Packages makes the package definition.
func (*APIRegistry) Registry ¶
func (r *APIRegistry) Registry() []APIDeprecation
type GroupVersionKind ¶
Click to show internal directories.
Click to hide internal directories.