Documentation
¶
Index ¶
Constants ¶
View Source
const StatusInfoLog = 101
StatusInfoLog is used to mark a INFO log message from the server.
Variables ¶
This section is empty.
Functions ¶
func FromMap ¶
FromNMap converts m to T. See https://pkg.go.dev/github.com/mitchellh/mapstructure#section-readme
Types ¶
type Config ¶ added in v0.8.0
type Config struct {
// If set, the plugin should run in "dry-run" mode.
Try bool `json:"try"`
// The project build information.
ProjectInfo ProjectInfo `json:"project_info"`
}
Config configures the plugin.
type Error ¶
type Error struct {
Msg string `json:"msg"`
}
Error holds an error message.
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
}
type ProjectInfo ¶ added in v0.8.0
ProjectInfo contains the project and tag information.
Click to show internal directories.
Click to hide internal directories.