Documentation
¶
Index ¶
- Variables
- type Controller
- func (c *Controller) Accept(ctx context.Context, stageId int64, machine string) (*drone.Stage, error)
- func (c *Controller) Batch(ctx context.Context, step int64, lines []*drone.Line) error
- func (c *Controller) Details(ctx context.Context, stageID int64) (*client.Context, error)
- func (c *Controller) Request(ctx context.Context, args *manager.Request) (*drone.Stage, error)
- func (c *Controller) Update(ctx context.Context, stage *drone.Stage) error
- func (c *Controller) UpdateStep(ctx context.Context, step *drone.Step) error
- func (c *Controller) Upload(ctx context.Context, step int64, l []*drone.Line) error
- func (c *Controller) Watch(ctx context.Context, executionID int64) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideController, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( tx dbtx.Transactor, authorizer authz.Authorizer, manager manager.ExecutionManager, urlProvider urlprovider.Provider, ) *Controller
func ProvideController ¶
func ProvideController( tx dbtx.Transactor, authorizer authz.Authorizer, manager manager.ExecutionManager, urlProvider urlprovider.Provider, ) *Controller
func (*Controller) UpdateStep ¶
Click to show internal directories.
Click to hide internal directories.