Documentation ¶
Index ¶
- Constants
- Variables
- func GenerateChangelog(client *github.Client, dest io.Writer) func(*cli.Context) error
- func GenerateIndividualChangelog(client *github.Client, dest io.Writer) func(*cli.Context) error
- func GetShas(ghClient *github.Client) func(c *cli.Context) error
- func GitTag(client *github.Client) func(c *cli.Context) error
- func HelmStageE2E(ghClient *github.Client) func(*cli.Context) error
- func HelmStageRouter(ghClient *github.Client) func(*cli.Context) error
- func HelmStageWorkflow(ghClient *github.Client) func(*cli.Context) error
- func MoveMilestone(ghClient *github.Client) func(c *cli.Context) error
- func NopWriteCloser(w io.Writer) io.WriteCloser
Constants ¶
View Source
const ( // TagFlag represents the '-tag' flag TagFlag = "tag" // PullPolicyFlag represents the '-pull-policy' flag PullPolicyFlag = "pull-policy" // OrgFlag represents the '-org' flag OrgFlag = "org" // ShaFilepathFlag represents the --sha-filepath flag ShaFilepathFlag = "sha-filepath" // YesFlag represents the --yes flag YesFlag = "yes" // RepoFlag represents the '-repo' flag RepoFlag = "repo" // RefFlag represents the '-ref' flag (for specifying a SHA, branch or tag) RefFlag = "ref" // GHOrgFlag represents the '-ghOrg' flag GHOrgFlag = "ghOrg" // StagingDirFlag represents the '-stagingDir' flag StagingDirFlag = "stagingDir" // IncludeClosed represents the '--includeClosed' flag IncludeClosed = "includeClosed" )
View Source
const (
// ShortFlag is the cli flag that indicates whether to show short or long SHAs
ShortFlag = "short"
)
Variables ¶
View Source
var ( // RouterChart represents the router chart and its files needing updating // for a release RouterChart = helmChart{ Name: "router-dev", Template: generateParamsRouterTpl, Files: []string{ "README.md", "Chart.yaml", }, } // WorkflowChart represents the workflow chart and its files needing updating // for a release WorkflowChart = helmChart{ Name: "workflow-dev", Template: generateParamsTpl, Files: []string{ "README.md", "Chart.yaml", }, } // WorkflowE2EChart represents the workflow e2e chart and its files needing updating // for a release WorkflowE2EChart = helmChart{ Name: "workflow-dev-e2e", Template: generateParamsE2ETpl, Files: []string{ "README.md", "Chart.yaml", filepath.Join("tpl", "generate_params.toml"), }, } )
Functions ¶
func GenerateChangelog ¶
GenerateChangelog is the CLI action for creating an aggregated changelog from all of the Deis Workflow repos.
func GenerateIndividualChangelog ¶
GenerateIndividualChangelog is the CLI action for creating a changelog for a single repo
func HelmStageE2E ¶
HelmStageE2E is the cli handler for generating a release helm chart for deis-e2e
func HelmStageRouter ¶
HelmStageRouter is the cli handler for generating a release helm chart for router
func HelmStageWorkflow ¶
HelmStageWorkflow is the cli handler for generating a release helm chart for workflow
func NopWriteCloser ¶
func NopWriteCloser(w io.Writer) io.WriteCloser
NopWriteCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.
Types ¶
This section is empty.
Source Files ¶
- changelog_util.go
- common.go
- generate_changelog.go
- generate_individual_changelog.go
- generate_params.go
- generate_params_e2e.go
- generate_params_router.go
- get_shas.go
- git.go
- helm_generate.go
- helm_stage.go
- helm_stage_e2e.go
- helm_stage_router.go
- helm_stage_workflow.go
- move_milestones.go
- release_walker.go
- templates.go
Click to show internal directories.
Click to hide internal directories.