config

package
v0.0.0-...-ed847e1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrdlChannelsFileName = "trdl_channels.yaml"
)
View Source
const (
	TrdlFileName = "trdl.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Trdl

type Trdl struct {
	DockerImage string   `yaml:"docker_image,omitempty"`
	Commands    []string `yaml:"commands,omitempty"`
}

func ParseTrdl

func ParseTrdl(data []byte, values map[string]interface{}) (*Trdl, error)

func (*Trdl) Validate

func (c *Trdl) Validate() error

type TrdlChannels

type TrdlChannels struct {
	Groups []TrdlGroup `yaml:"groups,omitempty"`
}

func ParseTrdlChannels

func ParseTrdlChannels(data []byte) (*TrdlChannels, error)

type TrdlGroup

type TrdlGroup struct {
	Name     string             `yaml:"name"`
	Channels []TrdlGroupChannel `yaml:"channels,omitempty"`
}

type TrdlGroupChannel

type TrdlGroupChannel struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`
}

Jump to

Keyboard shortcuts

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