types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline interface {
	// Extends the metav1.Object interface
	metav1.Object

	// OwnerReferences should return the owner references that can be used to apply
	// ownership to this pipeline.
	OwnerReferences() []metav1.OwnerReference
	// GetPipelineKind should return the type of the pipeline.
	GetPipelineKind() pipelinesmeta.PipelineKind
	// GetPipelineConfig should return the element configurations for the pipeline.
	GetPipelineConfig() *pipelinesmeta.PipelineConfig
	// GetSrcConfig should return the source configuration for the pipeline.
	GetSrcConfig() *pipelinesmeta.SourceSinkConfig
	// GetSinkConfig should return a sink configuration for the pipeline. This method
	// is primarily used to retrieve any required credentials when constructing a
	// pipeline job.
	GetSinkConfig() *pipelinesmeta.SourceSinkConfig
	// GetSinkObjects should compute the sink objects for a pipeline based on a given
	// source key.
	GetSinkObjects(srcKey string) []*pipelinesmeta.Object
}

Pipeline is a generic interface implemented by the different Pipeline types.

Jump to

Keyboard shortcuts

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