Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSelfUpgradeCmd ¶
func NewSelfUpgradeCmd(client common.JenkinsClient, jenkinsConfigMgr common.JenkinsConfigMgr) (cmd *cobra.Command)
NewSelfUpgradeCmd create a command for self upgrade
func NewVersionCmd ¶
func NewVersionCmd(client common.JenkinsClient, jenkinsConfigMgr common.JenkinsConfigMgr) (cmd *cobra.Command)
NewVersionCmd create a command for version
Types ¶
type PrintOption ¶
type PrintOption struct { Changelog bool ShowLatest bool JenkinsClient common.JenkinsClient JenkinsConfigMgr common.JenkinsConfigMgr }
PrintOption is the version option
type SelfUpgradeOption ¶
type SelfUpgradeOption struct { ShowProgress bool Privilege bool GitHubClient *github.Client RoundTripper http.RoundTripper }
SelfUpgradeOption is the option for self upgrade command
Click to show internal directories.
Click to hide internal directories.