Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = fmt.Errorf("provider not found")
)
Known errors.
Functions ¶
func Register ¶
func Register(name ProviderType, p Provider)
Types ¶
type Integration ¶
type Provider ¶
type Provider interface {
CreateBuild(ctx context.Context, codebaseID, ciCommitId, title string) (*Build, error)
}
func Get ¶
func Get(name ProviderType) (Provider, error)
type ProviderType ¶
type ProviderType string
const ( ProviderTypeUndefined ProviderType = "" ProviderTypeBuildkite ProviderType = "buildkite" )
Click to show internal directories.
Click to hide internal directories.