Documentation ¶
Index ¶
Constants ¶
View Source
const ScnLayout = "20060102150405"
Variables ¶
This section is empty.
Functions ¶
func WithLogger ¶
WithLogger create logger build option
Types ¶
type Build ¶
type Build struct { Name string Source Source LocalDep []*Source Spec Spec Mode string Go GoBuild // contains filtered or unexported fields }
Build represents build spec
type Info ¶
type Info struct { Name string Scn SequenceChangeNumber //sequence change number, time based format YYYYMMDDHHMMSS at utc Compression string Runtime Runtime }
Info represent plugin info
type Runtime ¶
Runtime represents a go runtime
func (*Runtime) DetectVersion ¶
func (r *Runtime) DetectVersion()
DetectVersion detect runtime version or fallback to build go version in case of error
func (*Runtime) PluginName ¶
PluginName returns runtime specific plugin name
func (*Runtime) ValidateOsAndArch ¶
ValidateOsAndArch checks if runtime os and arch is compatible
type SequenceChangeNumber ¶ added in v0.9.0
type SequenceChangeNumber int
func NewSequenceChangeNumber ¶ added in v0.9.0
func NewSequenceChangeNumber(ts time.Time) SequenceChangeNumber
NewSequenceChangeNumber creates a time based sequence change number
Click to show internal directories.
Click to hide internal directories.