runner

package
v0.0.0-...-4c964c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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) Accept

func (c *Controller) Accept(ctx context.Context, stageId int64, machine string) (*drone.Stage, error)

func (*Controller) Batch

func (c *Controller) Batch(ctx context.Context, step int64, lines []*drone.Line) error

func (*Controller) Details

func (c *Controller) Details(ctx context.Context, stageID int64) (*client.Context, error)

func (*Controller) Request

func (c *Controller) Request(ctx context.Context, args *manager.Request) (*drone.Stage, error)

func (*Controller) Update

func (c *Controller) Update(ctx context.Context, stage *drone.Stage) error

func (*Controller) UpdateStep

func (c *Controller) UpdateStep(ctx context.Context, step *drone.Step) error

func (*Controller) Upload

func (c *Controller) Upload(ctx context.Context, step int64, l []*drone.Line) error

func (*Controller) Watch

func (c *Controller) Watch(ctx context.Context, executionID int64) (bool, error)

Watch watches for build cancellation requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL