config

package
v0.0.0-...-5065355 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APK

type APK struct {
	Path string `yaml:"path"`
}

type App

type App struct {
	ID          string `yaml:"id"`
	Name        string `yaml:"name"`
	Summary     string `yaml:"summary"`
	Description string `yaml:"description"`
	License     string `yaml:"license"`
	Homepage    string `yaml:"homepage"`
	Git         string `yaml:"git"`
	BaseURL     string `yaml:"baseurl"`
}

type Binaries

type Binaries struct {
	Path     string   `yaml:"path"`
	Exclude  string   `yaml:"exclude"`
	Packages []string `yaml:"packages"`
}

type DEB

type DEB struct {
	Path            string        `yaml:"path"`
	OS              string        `yaml:"os"`
	Distro          string        `yaml:"distro"`
	Mirrorsite      string        `yaml:"mirrorsite"`
	Components      []string      `yaml:"components"`
	Debootstrapopts string        `yaml:"debootstrapopts"`
	Architecture    string        `yaml:"architecture"`
	Packages        []rpm.Package `yaml:"packages"`
}

type DMG

type DMG struct {
	Path     string   `yaml:"path"`
	Packages []string `yaml:"packages"`
}

type Docs

type Docs struct {
	Path string `yaml:"path"`
}

type Flatpak

type Flatpak struct {
	Path         string `yaml:"path"`
	Architecture string `yaml:"architecture"`
}

type Go

type Go struct {
	Main     string `yaml:"main"`
	Flags    string `yaml:"flags"`
	Generate string `yaml:"generate"`
	Tests    string `yaml:"tests"`
	Image    string `yaml:"img"`
}

type MSI

type MSI struct {
	Path         string   `yaml:"path"`
	Architecture string   `yaml:"architecture"`
	Include      string   `yaml:"include"`
	Packages     []string `yaml:"packages"`
}

type RPM

type RPM struct {
	Path         string        `yaml:"path"`
	Trailer      string        `yaml:"trailer"`
	Distro       string        `yaml:"distro"`
	Architecture string        `yaml:"architecture"`
	Packages     []rpm.Package `yaml:"packages"`
}

type Root

type Root struct {
	App      App                 `yaml:"app"`
	Go       Go                  `yaml:"go"`
	Releases []renderers.Release `yaml:"releases"`
	DEB      []DEB               `yaml:"deb"`
	DMG      DMG                 `yaml:"dmg"`
	Flatpak  []Flatpak           `yaml:"flatpak"`
	MSI      []MSI               `yaml:"msi"`
	RPM      []RPM               `yaml:"rpm"`
	APK      APK                 `yaml:"apk"`
	Binaries Binaries            `yaml:"binaries"`
	Docs     Docs                `yaml:"docs"`
}

func Parse

func Parse(content []byte) (*Root, error)

Jump to

Keyboard shortcuts

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