Documentation ¶
Index ¶
Constants ¶
const ( DefaultErrorExitCode = -1 DefaultResultsPath = "/tekton/results" )
Variables ¶
This section is empty.
Functions ¶
func ImageEntrypoint ¶
This follows Kubernetes conventions documented at https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes. A defined command is considered an override for both the image entrypoint and command. More specifically, a defined command would not interact with the image entrypoint as described by https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact.
Types ¶
type Entrypointer ¶
type Entrypointer struct { // Entrypoint is the original specified entrypoint, if any. Entrypoint string // Args are the original specified args, if any. Args []string // Runner encapsulates running commands. Runner Runner }
func (Entrypointer) Go ¶
func (e Entrypointer) Go() error
type RealRunner ¶
type RealRunner struct { Config *Config // contains filtered or unexported fields }
func (*RealRunner) Run ¶
func (rr *RealRunner) Run(args ...string) error
FIXME Determine how to handle, log, and report on errors Many errors that might occur should not necessarily abort the basic command processing Logging these errors should potentially not occur either, as it adds internal information Logging command outputs should default more cleanly to the standard streams