Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CUERegistryFetcher ¶
type CUERegistryFetcher struct {
// contains filtered or unexported fields
}
CUERegistryFetcher loads a CUE module from the registry and returns a built cue.Value.
func NewCUERegistryFetcher ¶
func NewCUERegistryFetcher(modulePath string) *CUERegistryFetcher
NewCUERegistryFetcher creates a fetcher for the given CUE module path.
type CUEVersionResolver ¶
type CUEVersionResolver struct {
// contains filtered or unexported fields
}
CUEVersionResolver queries the CUE registry for all versions of a module and returns the highest semver tag.
func NewCUEVersionResolver ¶
func NewCUEVersionResolver(modulePath string) *CUEVersionResolver
NewCUEVersionResolver creates a CUEVersionResolver for the given module path.
type ValidateResult ¶
ValidateResult holds the outcome of validating YAML against a CUE definition.
Click to show internal directories.
Click to hide internal directories.