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
Click to show internal directories.
Click to hide internal directories.