run

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 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 {
	Prepare(ctx context.Context, pipelineRun k8s.PipelineRun, pipelineRunsConfig *cfg.PipelineRunsConfigStruct) (string, string, error)
	Start(ctx context.Context, pipelineRun k8s.PipelineRun, pipelineRunsConfig *cfg.PipelineRunsConfigStruct) error
	GetRun(ctx context.Context, pipelineRun k8s.PipelineRun) (Run, error)
	Cleanup(ctx context.Context, pipelineRun k8s.PipelineRun) error
	DeleteRun(ctx context.Context, pipelineRun k8s.PipelineRun) error
}

Manager manages runs

type Run

type Run interface {
	GetStartTime() *metav1.Time
	IsRestartable() bool
	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