Documentation
¶
Index ¶
- func Auth(INIBlock string, authorization plugins.Authorization, ...)
- func AuthCaller()
- func Clean(remoteName string)
- func Deliver(conf *setting.ProjectSetting)
- func DeliverCaller()
- func GetJIRAIssue(branch string) (string, error)
- func GetPager() string
- func IssueList()
- func Issues()
- func IssuesInPager(pager, text string) error
- func LocalDeliver(conf *setting.ProjectSetting)
- func MakeAlias()
- func MakeAliasCaller()
- func ReadInput(messageToUser string, input io.Reader) string
- func ReadPassword(messageToUser string) string
- func UpNext(remote string, prefix string) (name string)
- func UpdateGithubIssue(issue string, conf *setting.ProjectSetting) (string, error)
- func UpdateJIRAIssue(key string, conf *setting.ProjectSetting) (string, error)
- func Web(userIssue int)
- func WorkOn(keyOrID string, conf *setting.ProjectSetting, update WorkOnUpdate)
- func WorkOnCaller(keyOrID string)
- func WrapUp()
- type WorkOnUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(INIBlock string, authorization plugins.Authorization, authentication plugins.Authentication, configUser string, configToken string, service string)
Auth ...
func Deliver ¶
func Deliver(conf *setting.ProjectSetting)
Deliver ... Push a ready branch to the remote repository
func GetJIRAIssue ¶
func IssuesInPager ¶
func LocalDeliver ¶
func LocalDeliver(conf *setting.ProjectSetting)
LocalDeliver ... Delivers locally and pushes the changes to the remote
func ReadPassword ¶
ReadPassword ... read input from the user anonymously
func UpNext ¶ added in v1.0.0
UpNext ... Returns the next branch ready for integration based on time of creation Oldest branches gets integrated first.
func UpdateGithubIssue ¶
func UpdateGithubIssue(issue string, conf *setting.ProjectSetting) (string, error)
UpdateGithubIssue ... Updating an issue on github and returns the branch name
func UpdateJIRAIssue ¶
func UpdateJIRAIssue(key string, conf *setting.ProjectSetting) (string, error)
UpdateJIRAIssue ... Updates the issue on jira and returns the name of the branch
func Web ¶ added in v1.1.0
func Web(userIssue int)
Web ... opens the browser on the current or specified issue
func WorkOn ¶
func WorkOn(keyOrID string, conf *setting.ProjectSetting, update WorkOnUpdate)
WorkOn ... creates a new workspace from issue by given WorkOnUpdate and configuration
func WorkOnCaller ¶
func WorkOnCaller(keyOrID string)
WorkOnCaller ... Toplevel workon function called from cmd
Types ¶
type WorkOnUpdate ¶
type WorkOnUpdate func(key string, projectSetting *setting.ProjectSetting) (string, error)
WorkOnUpdate ... Type for updating issues returns a name or an error