phlow

package
v3.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 AuthCaller

func AuthCaller()

AuthCaller Wraps auth and injects dependencies

func Clean added in v1.0.0

func Clean(remoteName string)

Clean ...

func Deliver

func Deliver(conf *setting.ProjectSetting)

Deliver ... Push a ready branch to the remote repository

func DeliverCaller

func DeliverCaller()

DeliverCaller ... Top level deliver call, called from cmd

func GetJIRAIssue

func GetJIRAIssue(branch string) (string, error)

func GetPager

func GetPager() string

GetPager ... return the pager if set

func IssueList added in v1.1.0

func IssueList()

IssueList ... List open issues from GitHub

func Issues

func Issues()

func IssuesInPager

func IssuesInPager(pager, text string) error

func LocalDeliver

func LocalDeliver(conf *setting.ProjectSetting)

LocalDeliver ... Delivers locally and pushes the changes to the remote

func MakeAlias

func MakeAlias()

MakeAlias ...

func MakeAliasCaller

func MakeAliasCaller()

MakeAliasCaller ...

func ReadInput

func ReadInput(messageToUser string, input io.Reader) string

ReadInput ... Reads input from user

func ReadPassword

func ReadPassword(messageToUser string) string

ReadPassword ... read input from the user anonymously

func UpNext added in v1.0.0

func UpNext(remote string, prefix string) (name string)

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

func WrapUp

func WrapUp()

WrapUp ...

Types

type WorkOnUpdate

type WorkOnUpdate func(key string, projectSetting *setting.ProjectSetting) (string, error)

WorkOnUpdate ... Type for updating issues returns a name or an error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL