Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReleaseTypeAlpha = "alpha" ReleaseTypeBeta = "beta" ReleaseTypeRC = "rc" ReleaseTypeOfficial = "official" )
Variables ¶
View Source
var BuildListJobs = build.ListJobs
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func RunGcbmgr ¶ added in v0.3.0
func RunGcbmgr(opts *GcbmgrOptions) error
RunGcbmgr is the function invoked by 'krel gcbmgr', responsible for submitting release jobs to GCB
func SetGCBSubstitutions ¶ added in v0.3.0
func SetGCBSubstitutions(o *GcbmgrOptions, toolOrg, toolRepo, toolBranch string) (map[string]string, error)
SetGCBSubstitutions takes a set of GcbmgrOptions and returns a map of GCB substitutions
Types ¶
type Changelog ¶ added in v0.3.2
type Changelog struct {
// contains filtered or unexported fields
}
type GcbmgrOptions ¶ added in v0.3.0
type GcbmgrOptions struct { Stage bool Release bool Stream bool Branch string ReleaseType string BuildVersion string GcpUser string LastJobs int64 Repo Repository Version Version }
func (*GcbmgrOptions) Validate ¶ added in v0.3.2
func (o *GcbmgrOptions) Validate() error
type Repository ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.