run

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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

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