run

package
Version: v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Start(ctx context.Context, pipelineRun k8s.PipelineRun, pipelineRunsConfig *cfg.PipelineRunsConfigStruct) (string, string, error)
	GetRun(ctx context.Context, pipelineRun k8s.PipelineRun) (Run, error)
	Cleanup(ctx context.Context, pipelineRun k8s.PipelineRun) error
}

Manager manages runs

type Run

type Run interface {
	GetStartTime() *metav1.Time
	IsFinished() (bool, steward.Result)
	GetCompletionTime() *metav1.Time
	GetContainerInfo() *corev1.ContainerState
	GetMessage() string
}

Run represents a pipeline run

type SecretManager added in v0.6.3

type SecretManager interface {
	CopyAll(ctx context.Context, pipelineRun k8s.PipelineRun) (string, []string, error)
}

SecretManager manages secrets of a pipelinerun

Source Files

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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