pipelinerun

package
v0.0.0-...-618c9fc Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewController creates a Reconciler and returns the result of NewImpl.

Types

type PipelineRunFuncs

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

func (*PipelineRunFuncs) Delete

func (prf *PipelineRunFuncs) Delete(ctx context.Context, namespace, name string) error

func (*PipelineRunFuncs) Get

func (prf *PipelineRunFuncs) Get(ctx context.Context, namespace, name string) (metav1.Object, error)

func (*PipelineRunFuncs) GetCompletionTime

func (prf *PipelineRunFuncs) GetCompletionTime(resource metav1.Object) (metav1.Time, error)

func (*PipelineRunFuncs) GetDefaultLabelKey

func (prf *PipelineRunFuncs) GetDefaultLabelKey() string

func (*PipelineRunFuncs) GetFailedHistoryLimitCount

func (prf *PipelineRunFuncs) GetFailedHistoryLimitCount(namespace, name string) *int32

func (*PipelineRunFuncs) GetSuccessHistoryLimitCount

func (prf *PipelineRunFuncs) GetSuccessHistoryLimitCount(namespace, name string) *int32

func (*PipelineRunFuncs) GetTTLSecondsAfterFinished

func (prf *PipelineRunFuncs) GetTTLSecondsAfterFinished(namespace, pipelineName string) *int32

func (*PipelineRunFuncs) Ignore

func (prf *PipelineRunFuncs) Ignore(resource metav1.Object) bool

func (*PipelineRunFuncs) IsCompleted

func (prf *PipelineRunFuncs) IsCompleted(resource metav1.Object) bool

func (*PipelineRunFuncs) IsFailed

func (prf *PipelineRunFuncs) IsFailed(resource metav1.Object) bool

func (*PipelineRunFuncs) IsSuccessful

func (prf *PipelineRunFuncs) IsSuccessful(resource metav1.Object) bool

func (*PipelineRunFuncs) List

func (prf *PipelineRunFuncs) List(ctx context.Context, namespace, label string) ([]metav1.Object, error)

func (*PipelineRunFuncs) Type

func (prf *PipelineRunFuncs) Type() string

func (*PipelineRunFuncs) Update

func (prf *PipelineRunFuncs) Update(ctx context.Context, resource metav1.Object) error

type Reconciler

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

Reconciler

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, pr *pipelinev1.PipelineRun) reconciler.Event

ReconcileKind implements Interface.ReconcileKind.

Jump to

Keyboard shortcuts

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