Documentation
¶
Index ¶
Constants ¶
View Source
const ( // STABLE represents a stable release type STABLE string = "stable" // WEEKLY represents a weekly release type WEEKLY string = "weekly" // WRONG represents a bad release name WRONG string = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func ReleaseType ¶
ReleaseType return the release type of a version
Types ¶
type Jenkins ¶
type Jenkins struct {
// contains filtered or unexported fields
}
Jenkins defines a resource of kind "githubrelease"
func (*Jenkins) Changelog ¶
Changelog returns a changelog description based on a Jenkins version retrieved from a GitHub Release
func (Jenkins) Condition ¶
Condition checks that a Jenkins version exists and that the version match a valid release type
func (Jenkins) ConditionFromSCM ¶
ConditionFromSCM checks if a key exists in a yaml file
type Spec ¶ added in v0.19.0
type Spec struct {
Release string // Defines the release name like latest or weekly
Version string // Defines a specific release version
Github github.Spec // Github Parameter used to retrieve a Jenkins changelog
}
Spec defines a specification for a "jenkins" resource parsed from an updatecli manifest file
Click to show internal directories.
Click to hide internal directories.