Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReleaseName = `{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}` SpecName = `{{ .Chart.Name }}` SpecVersion = `{{ .Chart.Version }}` ReleaseCrdYaml = `` /* 524-byte string literal not displayed */ )
Variables ¶
View Source
var ( AccessDescription = `` /* 490-byte string literal not displayed */ GitHubIssueRegex = regexp.MustCompile(`\B#\d+\b`) JIRAIssueRegex = regexp.MustCompile(`\b[A-Z][A-Z0-9_]+-\d+\b`) )
Functions ¶
func FindIssueTracker ¶ added in v0.1.0
func FindIssueTracker(g gitclient.Interface, jxClient jxc.Interface, ns, dir, owner, repo string) (*jxcore.IssueTracker, error)
FindIssueTracker finds the issue tracker from the settings in current repo as well as sourcerepositories and requirements from cluster repo
Types ¶
type Options ¶
type Options struct { options.BaseOptions ScmFactory scmhelpers.Options GitClient gitclient.Interface CommandRunner cmdrunner.CommandRunner JXClient jxc.Interface Namespace string BuildNumber string PreviousRevision string PreviousDate string CurrentRevision string TagPrefix string TemplatesDir string ReleaseYamlFile string CrdYamlFile string Version string Build string Header string HeaderFile string OutputMarkdownFile string StatusPath string ChangelogSeparator string ChangelogOutputSeparator string IncludePRChangelog bool OverwriteCRD bool GenerateCRD bool GenerateReleaseYaml bool ConditionalRelease bool UpdateRelease bool NoReleaseInDev bool IncludeMergeCommits bool FailIfFindCommits bool Draft bool Prerelease bool State State ExcludeRegexp string CompiledExcludeRegexp *regexp.Regexp }
Options contains the command line flags
func NewCmdChangelogCreate ¶
NewCmdChangelogCreate creates the command and options
func (*Options) CreateIssueProvider ¶
func (o *Options) CreateIssueProvider() (issues.IssueProvider, error)
CreateIssueProvider creates the issue provider
Click to show internal directories.
Click to hide internal directories.