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: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Privileged = []string{
	"plugins/docker",
	"plugins/acr",
	"plugins/ecr",
	"plugins/gcr",
	"plugins/heroku",
}

Privileged provides a list of plugins that execute with privileged capabilities in order to run Docker in Docker.

WireSet provides a wire set for this package.

Functions

func NewExecutionPoller

func NewExecutionPoller(
	runner Runner,
	client runnerclient.Client,
) *poller.Poller

func ProvideExecutionPoller

func ProvideExecutionPoller(
	runner Runner,
	client runnerclient.Client,
) *poller.Poller

ProvideExecutionPoller provides a poller which can poll the manager for new builds and execute them.

Types

type Runner

type Runner interface {
	Run(ctx context.Context, stage *drone.Stage) error
}

func NewExecutionRunner

func NewExecutionRunner(
	config *types.Config,
	client runnerclient.Client,
	resolver *resolver.Manager,
	stageEnvProvider *extend.StageDynamicEnvProvider,
) (Runner, error)

func ProvideExecutionRunner

func ProvideExecutionRunner(
	config *types.Config,
	client runnerclient.Client,
	resolver *resolver.Manager,
	stageEnvProvider *extend.StageDynamicEnvProvider,
) (Runner, error)

ProvideExecutionRunner provides an execution runner.

Jump to

Keyboard shortcuts

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