Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknownServiceProvider is returned when the service provider info cannot be extracted from the build file ErrUnknownServiceProvider = errors.New(`Cannot determine service provider e.g. "sagify", ensure the build file is valid`) )
Errors encountered by the Service handler.
Functions ¶
This section is empty.
Types ¶
type Arrival ¶
type Arrival struct {
// contains filtered or unexported fields
}
The Arrival Handler is the first handler called after a job is received for processing.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service determines the job's service provider e.g. "sagify".
type VCS ¶
type VCS struct {
// contains filtered or unexported fields
}
The VCS Handler clones the repo and returns the checked–out commit ID.
func NewVCS ¶
func NewVCS(versionControl versioncontrol.Client, sec secrets.Store) *VCS
NewVCS — VCS Handler constructor
Click to show internal directories.
Click to hide internal directories.