Documentation ¶
Index ¶
- Constants
- func ReleaseType(version string) (string, error)
- type Jenkins
- func (j Jenkins) Changelog() string
- func (j Jenkins) Condition(source string) (bool, error)
- func (j Jenkins) ConditionFromSCM(source string, scm scm.ScmHandler) (bool, error)
- func (j *Jenkins) Source(workingDir string) (string, error)
- func (j Jenkins) Target(source string, dryRun bool) (bool, error)
- func (j Jenkins) TargetFromSCM(source string, scm scm.ScmHandler, dryRun bool) (bool, []string, string, error)
- type Spec
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) 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 ¶
type Spec struct { Release string // Defines the release name like latest or weekly Version string // Defines a specific release version (condition only) 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.