Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockScm ¶ added in v0.13.0
MockScm is a stub implementation of the `Scm` interface to be used in our unit test suites. It stores the expected WorkingDir
func (*MockScm) GetChangedFiles ¶ added in v0.13.0
func (*MockScm) GetDirectory ¶ added in v0.13.0
type PullRequest ¶
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
GetChangedFiles(workingDir string) ([]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.