Documentation
¶
Overview ¶
Package build contains utils for egbuilder build command.
Package build contains utils for egbuilder build command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compile ¶
type Compile struct {
OS string `json:"os,omitempty"`
Arch string `json:"arch,omitempty"`
ARM string `json:"arm,omitempty"`
Cgo bool `json:"cgo,omitempty"`
}
Compile contains parameters for compilation.
func (Compile) CgoEnabled ¶
CgoEnabled returns "1" if c.Cgo is true, "0" otherwise. This is used for setting the CGO_ENABLED env variable.
type Config ¶
type Plugin ¶
type Plugin struct {
Module string `json:"module"`
Version string `json:"version"`
Replacement string `json:"replacement"`
}
Plugin contains parameters for a plugin.
Click to show internal directories.
Click to hide internal directories.