Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownRepository = xerrors.New("unknown repository")
)
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { OnPush(event *github.PushEvent) error OnCheckSuite(event *github.CheckSuiteEvent) error OnCreate(event *github.CreateEvent) error FullName() string }
Repository handles webhook events for each repository
type RepositoryBundler ¶
type RepositoryBundler struct {
// contains filtered or unexported fields
}
func NewRepositoryBundler ¶
func NewRepositoryBundler() *RepositoryBundler
func (*RepositoryBundler) OnCheckSuite ¶
func (rb *RepositoryBundler) OnCheckSuite(event *github.CheckSuiteEvent) error
func (*RepositoryBundler) OnCreate ¶
func (rb *RepositoryBundler) OnCreate(event *github.CreateEvent) error
func (*RepositoryBundler) OnPush ¶
func (rb *RepositoryBundler) OnPush(event *github.PushEvent) error
func (*RepositoryBundler) RegisterRepository ¶
func (rb *RepositoryBundler) RegisterRepository(repository Repository)
RegisterRepository registers a new target repository to update code
Click to show internal directories.
Click to hide internal directories.