trainingdata

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Version = "ramen.training.v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type APISource

type APISource struct {
	Kind string `json:"kind"`
	ID   string `json:"id"`
	Path string `json:"path"`
}

type Conversion

type Conversion struct {
	Status string `json:"status"`
}

type Entry

type Entry struct {
	ID                  string            `json:"id"`
	Tier                string            `json:"tier"`
	Confidence          float64           `json:"confidence"`
	ParityBacked        bool              `json:"parity_backed"`
	NaturalLanguage     NaturalLanguage   `json:"natural_language"`
	WorkflowPaths       []string          `json:"workflow_paths"`
	PrimaryWorkflowPath string            `json:"primary_workflow_path"`
	HCLPath             string            `json:"hcl_path,omitempty"`
	Provider            string            `json:"provider,omitempty"`
	Service             string            `json:"service,omitempty"`
	ResourceTypes       []string          `json:"resource_types,omitempty"`
	DataSources         []string          `json:"data_sources,omitempty"`
	APISources          []APISource       `json:"api_sources,omitempty"`
	Provenance          Provenance        `json:"provenance"`
	Conversion          Conversion        `json:"conversion"`
	Validation          Validation        `json:"validation"`
	Metadata            map[string]string `json:"metadata,omitempty"`
}

type Manifest

type Manifest struct {
	Version string  `json:"version"`
	Entries []Entry `json:"entries"`
}

type NaturalLanguage

type NaturalLanguage struct {
	Goal       string `json:"goal"`
	GoalSource string `json:"goal_source"`
}

type Provenance

type Provenance struct {
	SourceRepo        string `json:"source_repo"`
	SourcePath        string `json:"source_path"`
	SourceDoc         string `json:"source_doc,omitempty"`
	ConversionCommand string `json:"conversion_command,omitempty"`
}

type Validation

type Validation struct {
	Status  string           `json:"status"`
	Strict  bool             `json:"strict"`
	Summary validate.Summary `json:"summary"`
}

Jump to

Keyboard shortcuts

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