platforms

package
v0.0.0-...-7b190fc Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlatformYAML = "platform.yaml"
	PlatformYML  = "platform.yml"
)

Variables

This section is empty.

Functions

func GitLabelEnumFromYAML

func GitLabelEnumFromYAML(language string) int32

func NewCmd

func NewCmd() *cobra.Command

Types

type Component

type Component struct {
	ID          string           `yaml:"id"`
	Title       string           `yaml:"title"`
	Description string           `yaml:"description"`
	Inputs      *jsonschema.Node `yaml:"inputs"`
	Outputs     *jsonschema.Node `yaml:"outputs"`
}

func (*Component) Init

func (i *Component) Init()

type Components

type Components []Component

func (Components) Init

func (iArr Components) Init()

type Platform

type Platform struct {
	Title       string     `yaml:"title"`
	Description string     `yaml:"description"`
	RepoURL     string     `yaml:"repo_url"`
	RepoDir     string     `yaml:"repo_directory"`
	Revisions   []Revision `yaml:"revisions"`
}

type Revision

type Revision struct {
	Label string `yaml:"label"`
	Type  string `yaml:"type"`
}

type Terrarium

type Terrarium struct {
	// DependencyInterfaces holds the list of all interfaces defined in the file.
	Terrarium Components `yaml:"components,omitempty"`
}

func (Terrarium) Init

func (f Terrarium) Init()

type YAMLData

type YAMLData struct {
	Components []Component `yaml:"components"`
}

Jump to

Keyboard shortcuts

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