Documentation ¶
Index ¶
- type Info
- type Language
- func (l *Language) Changelog() string
- func (l *Language) Condition(source string, scm scm.ScmHandler) (pass bool, message string, err error)
- func (g *Language) Source(workingDir string, resultSource *result.Source) error
- func (l *Language) Target(source string, scm scm.ScmHandler, dryRun bool, resultTarget *result.Target) error
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language struct { Spec Spec Version version.Version // contains filtered or unexported fields }
Language defines a resource of type "go language"
func New ¶
New returns a reference to a newly initialized Go Module object from a godmodule.Spec or an error if the provided Spec triggers a validation error.
func (*Language) Condition ¶
func (l *Language) Condition(source string, scm scm.ScmHandler) (pass bool, message string, err error)
Condition checks if a specific stable Golang version is published
type Spec ¶
type Spec struct { // [C] Version defines a specific golang version Version string `yaml:",omitempty"` // [S] VersionFilter provides parameters to specify version pattern and its type like regex, semver, or just latest. VersionFilter version.Filter `yaml:",omitempty"` }
Spec defines a specification for a "Golang" resource parsed from an updatecli manifest file
Click to show internal directories.
Click to hide internal directories.