config

package
v0.14.26 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Release  Release         `yaml:"release"`
	Manifest distro.Manifest `yaml:"manifest"`
}

func Load

func Load(configFile string) (cfg *Config, err error)

func New

func New() *Config

func (*Config) Validate added in v0.6.0

func (c *Config) Validate() error

type GitHub

type GitHub struct {
	Owner string `yaml:"owner"`
	Repo  string `yaml:"repo"`
}

type Release

type Release struct {
	GitHub     GitHub   `yaml:"github"`
	Header     string   `yaml:"header,omitempty"`
	Footer     string   `yaml:"footer,omitempty"`
	ExtraFiles []string `yaml:"extra_files"`
}

Jump to

Keyboard shortcuts

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