Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideService, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // ref is the ref to fetch the commit from, eg refs/heads/master FindRef(ctx context.Context, repo *types.Repository, ref string) (*types.Commit, error) // FindCommit returns information about a commit in a repo. FindCommit(ctx context.Context, repo *types.Repository, sha string) (*types.Commit, error) }
Service provides access to commit information via the SCM provider. Today, this is Harness but it can be extendible to any SCM provider.
func ProvideService ¶
ProvideService provides a service which can fetch commit information about a repository.
Click to show internal directories.
Click to hide internal directories.