Documentation
¶
Index ¶
- type PluginAction
- type PluginFilter
- type Registry
- type Task
- type Wrapper
- func (tw *Wrapper) Actions() []action.Action
- func (tw *Wrapper) AutoMergeAfter() time.Duration
- func (tw *Wrapper) BranchName() string
- func (tw *Wrapper) Checksum() string
- func (tw *Wrapper) Filters() []filter.Filter
- func (tw *Wrapper) OnPrClosed(repository host.Repository) error
- func (tw *Wrapper) OnPrCreated(repository host.Repository) error
- func (tw *Wrapper) OnPrMerged(repository host.Repository) error
- func (tw *Wrapper) PrTitle() string
- func (tw *Wrapper) SourceTask() *schema.Task
- func (tw *Wrapper) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginAction ¶
type PluginAction struct {
// contains filtered or unexported fields
}
PluginAction wraps remote actions provided by a plugin.
func (*PluginAction) Apply ¶
func (a *PluginAction) Apply(ctx context.Context) error
Apply implements action.Apply().
func (*PluginAction) String ¶
func (a *PluginAction) String() string
Apply implements action.String().
type PluginFilter ¶
type PluginFilter struct {
// contains filtered or unexported fields
}
PluginFilter wraps remote filters provided by a plugin.
func (*PluginFilter) Do ¶
func (f *PluginFilter) Do(ctx context.Context) (bool, error)
Do implements filter.Do().
func (*PluginFilter) String ¶
func (f *PluginFilter) String() string
String implements filter.String().
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry contains all tasks.
func NewRegistry ¶
func (*Registry) GetTasks ¶
GetTasks returns all tasks registered with the Registry. Should be called only after ReadAll() has been called at least once.
type Wrapper ¶
func (*Wrapper) AutoMergeAfter ¶
func (*Wrapper) BranchName ¶
func (*Wrapper) OnPrClosed ¶
func (tw *Wrapper) OnPrClosed(repository host.Repository) error
func (*Wrapper) OnPrCreated ¶
func (tw *Wrapper) OnPrCreated(repository host.Repository) error
func (*Wrapper) OnPrMerged ¶
func (tw *Wrapper) OnPrMerged(repository host.Repository) error
func (*Wrapper) SourceTask ¶
Click to show internal directories.
Click to hide internal directories.