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