Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PageSources = RepoPage{ Name: "sources", GithubUrl: "https://github.com/%v/%v", BitbucketUrl: "https://bitbucket.org/%v/%v", } PageBranches = RepoPage{ Name: "branches", GithubUrl: "https://github.com/%v/%v/branches", BitbucketUrl: "https://bitbucket.org/%v/%v/branches", } PageBuilds = RepoPage{ Name: "builds", GithubUrl: "https://github.com/%v/%v/actions", BitbucketUrl: "https://bitbucket.org/%v/%v/pipelines", } PagePulls = RepoPage{ Name: "pulls", GithubUrl: "https://github.com/%v/%v/pulls", BitbucketUrl: "https://bitbucket.org/%v/%v/pull-requests", } )
Functions ¶
Types ¶
type NativeShell ¶ added in v0.10.0
type NativeShell struct { }
func (*NativeShell) RunCommand ¶ added in v0.10.0
func (r *NativeShell) RunCommand(commandRootDirectory string, command string, arguments ...string) (string, error)
RunCommand Runs a shell command in commandRootDirectory. If the commandRootDirectory is empty, runs the command from the current working directory. It returns combined stdout and stderr content, as it's visible in console
type RepoType ¶ added in v0.9.0
type RepoType interface {
// contains filtered or unexported methods
}
type RepoTypeBitbucketOrg ¶ added in v0.9.0
type RepoTypeBitbucketOrg struct { }
type RepoTypeGithubCom ¶ added in v0.9.0
type RepoTypeGithubCom struct { }
type RepoTypeName ¶ added in v0.9.0
type RepoTypeName string
const ( RepoTypeNameGithubCom RepoTypeName = "github.com" RepoTypeNameBitbucketOrg RepoTypeName = "bitbucket.org" )
Click to show internal directories.
Click to hide internal directories.