Back to


Latest Go to latest
Published: Mar 18, 2020 | License: Apache-2.0 | Module:
Path Synopsis
pkg/crd Package crd contains utilities for generating CustomResourceDefinitions and their corresponding OpenAPI validation schemata.
pkg/crd/markers Package markers defines markers for generating schema valiation and CRD structure.
pkg/deepcopy Package deepcopy generates DeepCopy, DeepCopyInto, and DeepCopyObject implementations for types.
pkg/genall Package genall defines entrypoints for generation tools to hook into and share the same set of parsing, typechecking, and marker information.
pkg/genall/help Package help contains utilities for actually writing out marker help.
pkg/genall/help/pretty Package pretty contains utilities for formatting terminal help output, and a use of those to display marker help.
pkg/loader Package loader defines helpers for loading packages from sources.
pkg/loader/testutils Package testutils defines utilities for using loader.Packages in tests.
pkg/markers Package markers contains utilities for defining and parsing "marker comments", also occasionally called tag comments (we use the term marker to avoid confusing with struct tags).
pkg/rbac Package rbac contain libraries for generating RBAC manifests from RBAC markers in Go source files.
pkg/webhook Package webhook contains libraries for generating webhookconfig manifests from markers in Go source files.