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 (*Backend) RunTask ¶
func (b *Backend) RunTask(ctx context.Context, inv backend.TaskInvocation) (backend.TaskResult, error)
type Options ¶
type Options struct {
// PullPolicy overrides per-step ImagePullPolicy when non-empty.
PullPolicyOverride string
// SidecarStartGrace is how long to wait after starting all
// sidecars before launching the first step. Substitutes for
// upstream Tekton's readinessProbe-driven start gate. Default
// 2s; New() applies the default when zero.
SidecarStartGrace time.Duration
// SidecarStopGrace is the SIGTERM-then-SIGKILL window when
// stopping sidecars at end of Task. Default 30s; matches
// upstream Tekton's terminationGracePeriodSeconds.
SidecarStopGrace time.Duration
}
Click to show internal directories.
Click to hide internal directories.