runctl

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRecoverable added in v0.4.3

func IsRecoverable(err error) bool

IsRecoverable returns true if error can be recovered from

func NewRun

func NewRun(tektonTaskRun *tekton.TaskRun) run.Run

NewRun returns new Run

func NewRunManager

func NewRunManager(factory k8s.ClientFactory, pipelineRunsConfig *pipelineRunsConfigStruct, secretProvider secrets.SecretProvider, namespaceManager k8s.NamespaceManager) runi.Manager

NewRunManager creates a new RunManager.

Types

type Controller

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

Controller processes PipelineRun resources

func NewController

func NewController(factory k8s.ClientFactory, metrics metrics.Metrics) *Controller

NewController creates new Controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error

Run runs the controller

type RecoverabilityInfo added in v0.4.3

type RecoverabilityInfo interface {
	error
	IsRecoverable() bool
}

RecoverabilityInfo is exposed by errors that can be converted to an RecoverabilityInfo object

func NewRecoverabilityInfoError added in v0.4.3

func NewRecoverabilityInfoError(err error, recoverable bool) RecoverabilityInfo

NewRecoverabilityInfoError creates a new error implementing the RecoverabilityInfo interface

Jump to

Keyboard shortcuts

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