Documentation
¶
Index ¶
Constants ¶
View Source
const (
ArchivableName = "tekton.dev/archive"
)
Variables ¶
This section is empty.
Functions ¶
func Archivable ¶
func Archivable(ag annotationsGetter) bool
Archivable returns true if this run should be archived.
Types ¶
type LogArchiver ¶
type LogArchiver interface { // Archive the PipelineRun output and return a URL to retrieve // the contents later, or an error. ArchivePipelineRun(*pipelinev1.PipelineRun, []byte) (string, error) }
LogArchiver provides the core interface for archiving the output from PipelineRuns.
type State ¶
type State int
State represents the state of a PipelineRun or TaskRun.
func ConditionsToState ¶
func ConditionsToState(conditions duckv1.Conditions) State
ConditionToState processes a set of conditions looking for a ConditionSucceeded and returns a combined state for the run.
It can return a Pending result if the task has not yet completed. TODO: will likely need to work out if a task was killed OOM.
Click to show internal directories.
Click to hide internal directories.