model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildContext

type BuildContext struct {
	Project string `toml:"project"`
	Tag     string `toml:"tag"`
	Goos    string `toml:"goos"`
	Goarch  string `toml:"goarch"`
}

BuildContext hold the core information about a build. This is used both by the plugins and the built-in archive implementation as the template context for the name template. It's kept here in this package because it's convenient.

type Initializer

type Initializer interface {
	// Init initializes a config struct, that could be parsing of strings into Go objects, compiling of Glob patterns etc.
	// It returns an error if the initialization failed.
	Init() error
}

Jump to

Keyboard shortcuts

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