package
0.22.1
Repository: https://github.com/stefanprodan/timoni.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CopyModule copies the given module to the destination directory, while excluding files that match the timoni.ignore patterns.
No description provided by the author
No description provided by the author
ExtractValueFromFile compiles the given file and returns the CUE value that matches the given expression.
GetEnv returns a map of all environment variables.
GetResources converts the CUE value to a list of ResourceSets.
IsFileUrl returns true if the given URL is a file URL.
IsOCIUrl returns true if the given URL is an OCI URL.
MergeValue merges the given overlay on top of the base CUE value.
NewBundleBuilder creates a BundleBuilder for the given module and package.
NewImporter creates an Importer for the given CUE context.
NewModuleBuilder creates a ModuleBuilder for the given module and package.
NewRuntimeBuilder creates a RuntimeBuilder for the given module and package.
NewRuntimeInjector creates an RuntimeInjector for the given context.
NewValuesBuilder creates a ValuesBuilder for the given context.
ReadIgnoreFile returns the ignore patters found in the module root.

# Constants

No description provided by the author

# Structs

No description provided by the author
BundleBuilder compiles CUE definitions to Go Bundle objects.
No description provided by the author
Importer generates CUE definitions from Kubernetes CRDs using the OpenAPI v3 spec.
IntermediateCRD is an intermediate representation of CRD YAML.
ModuleBuilder compiles CUE definitions to Kubernetes objects.
ResourceSet is a named list of Kubernetes resource objects.
RuntimeBuilder compiles CUE definitions to Go Runtime objects.
RuntimeInjector injects field values in CUE files based on @timoni() attributes.
ValuesBuilder compiles and merges values files.
VersionedSchema is an intermediate form of a single versioned schema from a CRD (an element in `spec.versions`), converted to CUE.