Documentation
¶
Overview ¶
Package builtins passes builtin functions back to the caller for recognized configuration types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbstractPkgContext ¶
func AbstractPkgContext() string
AbstractPkgContext returns content for package context that contains placeholder value for package name. This will be used to create abstract blueprints.
func GetBuiltinFn ¶
func GetBuiltinFn(config any) builtintypes.BuiltinFunction
Types ¶
type PackageContextGenerator ¶
type PackageContextGenerator struct {
// PackageConfig contains the package configuration to set.
PackageConfig *builtintypes.PackageConfig
}
PackageContextGenerator is a built-in KRM function that generates a KRM object that contains package context information that can be used by functions such as `set-namespace` to customize package with minimal configuration.
func (*PackageContextGenerator) Process ¶
func (pc *PackageContextGenerator) Process(resourceList *framework.ResourceList) error
Process implements framework.ResourceListProcessor interface.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package builtintypes holds types for kpt file package context
|
Package builtintypes holds types for kpt file package context |
Click to show internal directories.
Click to hide internal directories.