Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bytes = schemas.Pipeline
Functions ¶
func Compile ¶
func Compile(schemaData []byte) (*jsonschema.Schema, error)
Compile parses and compiles a pipeline JSON schema document.
func ConvertYAMLToJSON ¶
ConvertYAMLToJSON normalizes YAML-decoded values to JSON-compatible types.
func HostedAgentNames ¶
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 ¶
ValidateWithSchema checks TC pipeline YAML against the given JSON schema; returns "" if valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.