Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusRunning = "running" StatusStopped = "stopped" TypeSource = "source" TypeDestination = "destination" )
Variables ¶
View Source
var ( ErrMandatoryField = cerrors.New("mandatory field not specified") ErrInvalidField = cerrors.New("invalid field value") ErrDuplicateID = cerrors.New("id already exists") )
View Source
var ( PipelineMutableFields = []string{"Name", "Description", "Connectors", "Processors", "DLQ"} PipelineIgnoredFields = []string{"Status"} ConnectorImmutableFields = []string{"Type", "Plugin"} ConnectorMutableFields = []string{"Name", "Settings", "Processors"} ProcessorImmutableFields = []string{"Type"} ProcessorMutableFields = []string{"Settings", "Workers", "Condition"} )
Classify fields as immutable, mutable or ignored. This is used by the provisioning logic to identify if an entity needs to be updated, recreated or if no action needs to be taken in case a certain field is updated. All fields except "ID" need to be added to exactly one slice.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.