Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PullRequest ¶
type PullRequest interface {
UpdatePullRequest(ID string) error
OpenPullRequest() error
IsPullRequest() (ID string, err error)
}
PullRequest interface defines required funcions to be an pullRequest
type Scm ¶
type Scm interface {
Add(files []string) error
Clone() (string, error)
Checkout() error
GetDirectory() (directory string)
Init(source string, pipelineID string) error
Push() error
Commit(message string) error
Clean() error
PushTag(tag string) error
}
Scm is an interface that offers common functions for a source control manager like git or github
Click to show internal directories.
Click to hide internal directories.