package
0.9.2
Repository: https://github.com/eddie4941/pipeline.git
Documentation: pkg.go.dev

# Functions

IsPodExceedingNodeResources returns true if the Pod's status indicates there are insufficient resources to schedule the Pod.
MakePod converts TaskRun and TaskSpec objects to a Pod which implements the taskrun specified by the supplied CRD.
MakeTaskRunStatus returns a TaskRunStatus based on the Pod's status.
NewEntrypointCache returns a new entrypoint cache implementation that uses K8s credentials to pull image metadata from a container image registry.
SidecarsReady returns true if all of the Pod's sidecars are Ready or Terminated.
StopSidecars updates sidecar containers in the Pod to a nop image, which exits successfully immediately.
UpdateReady updates the Pod's annotations to signal the first step to start by projecting the ready annotation via the Downward API.

# Constants

No description provided by the author
No description provided by the author
reasonCouldntGetTask indicates that the reason for the failure status is that the Task couldn't be found.
reasonExceededNodeResources indicates that the TaskRun's pod has failed to start due to resource constraints on the node.
reasonExceededResourceQuota indicates that the TaskRun failed to create a pod due to a ResourceQuota in the namespace.
ReasonFailed indicates that the reason for the failure status is unknown or that one of the steps failed.
reasonFailedResolution indicated that the reason for failure status is that references within the TaskRun could not be resolved.
reasonFailedValidation indicated that the reason for failure status is that taskrun failed runtime validation.
reasonRunning indicates that the reason for the inprogress status is that the TaskRun is just starting to be reconciled.
ReasonSucceeded indicates that the reason for the finished status is that all of the steps completed successfully.
reasonTimedOut indicates that the TaskRun has taken longer than its configured timeout.

# Interfaces

EntrypointCache looks up an image's entrypoint (command) in a container image registry, possibly using the given service account's credentials.