mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-24 12:11:11 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
25 lines
803 B
Go
25 lines
803 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package event
|
|
|
|
import "github.com/hashicorp/eventlogger"
|
|
|
|
// PipelineReader surfaces information required for pipeline registration.
|
|
type PipelineReader interface {
|
|
// EventType should return the event type to be used for pipeline registration.
|
|
EventType() eventlogger.EventType
|
|
|
|
// HasFiltering should determine if filter nodes are used by this pipeline.
|
|
HasFiltering() bool
|
|
|
|
// Name for the pipeline which should be used for the eventlogger.PipelineID.
|
|
Name() string
|
|
|
|
// Nodes should return the nodes which should be used by the framework to process events.
|
|
Nodes() map[eventlogger.NodeID]eventlogger.Node
|
|
|
|
// NodeIDs should return the IDs of the nodes, in the order they are required.
|
|
NodeIDs() []eventlogger.NodeID
|
|
}
|