pipelineschema

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Compile

func Compile(schemaData []byte) (*jsonschema.Schema, error)

Compile parses and compiles a pipeline JSON schema document.

func ConvertYAMLToJSON

func ConvertYAMLToJSON(v any) any

ConvertYAMLToJSON normalizes YAML-decoded values to JSON-compatible types.

func HostedAgentNames

func HostedAgentNames(schemaData []byte) []string

HostedAgentNames extracts the JetBrains-hosted agent enum from a schema's runs-on definition; nil when the schema doesn't constrain agent names.

func ValidateWithSchema

func ValidateWithSchema(yamlData string, schemaData []byte) string

ValidateWithSchema checks TC pipeline YAML against the given JSON schema; returns "" if valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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