docker

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package docker implements backend.Backend using a local Docker daemon. Each Step runs as one container; per-Task results dir is bind-mounted as /tekton/results into every Step container of the Task.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func New

func New(opts Options) (*Backend, error)

func (*Backend) Cleanup

func (b *Backend) Cleanup(ctx context.Context) error

func (*Backend) Prepare

func (b *Backend) Prepare(ctx context.Context, run backend.RunSpec) error

func (*Backend) RunTask

type Options

type Options struct {
	// PullPolicy overrides per-step ImagePullPolicy when non-empty.
	PullPolicyOverride string
}

Jump to

Keyboard shortcuts

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