schemas

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuiltInPlatforms = []string{
	"kubernetes",
	"terraform",
	"docker",
	"ansible",
	"ci",
}

BuiltInPlatforms lists all platforms with embedded schemas.

View Source
var CUESchemas embed.FS
View Source
var JSONSchemas embed.FS

JSONSchemas embeds all generated JSON Schema files.

Functions

func GetBuiltInCUESchema

func GetBuiltInCUESchema(platform string) ([]byte, error)

GetBuiltInCUESchema reads the embedded CUE schema source for a platform. Returns error if platform is not built-in.

func GetBuiltInSchema

func GetBuiltInSchema(platform string) ([]byte, error)

GetBuiltInSchema reads the embedded JSON Schema for a platform. Returns error if platform is not built-in.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL