pipelines4

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var P1 = &pipeline.Instance{
	ID: "pipeline1",
	Config: pipeline.Config{
		Name:        "name1",
		Description: "desc1",
	},
	Status:       pipeline.StatusRunning,
	Error:        "",
	DLQ:          pipeline.DefaultDLQ,
	ConnectorIDs: []string{"pipeline1:con1", "pipeline1:con2"},
	ProcessorIDs: []string{"pipeline1:proc1"},

	ProvisionedBy: pipeline.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P1C1 = &connector.Instance{
	ID:   "pipeline1:con1",
	Type: connector.TypeSource,
	Config: connector.Config{
		Name:     "file-src",
		Settings: map[string]string{"path": "./test/source-file.txt"},
	},
	PipelineID:   "pipeline1",
	Plugin:       "builtin:file",
	ProcessorIDs: nil,

	ProvisionedBy: connector.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P1C2 = &connector.Instance{
	ID:   "pipeline1:con2",
	Type: connector.TypeDestination,
	Config: connector.Config{
		Name:     "file-dest",
		Settings: map[string]string{"path": "./test/dest-file.txt"},
	},
	PipelineID:   "pipeline1",
	Plugin:       "builtin:file",
	ProcessorIDs: []string{"pipeline1:con2:con2proc1"},

	ProvisionedBy: connector.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P1C2P1 = &processor.Instance{
	ID:     "pipeline1:con2:con2proc1",
	Plugin: "removereadat",
	Parent: processor.Parent{
		ID:   "pipeline1:con2",
		Type: processor.ParentTypeConnector,
	},
	Config: processor.Config{
		Settings: nil,
		Workers:  1,
	},

	ProvisionedBy: processor.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P1P1 = &processor.Instance{
	ID:     "pipeline1:proc1",
	Plugin: "removereadat",
	Parent: processor.Parent{
		ID:   "pipeline1",
		Type: processor.ParentTypePipeline,
	},
	Config: processor.Config{
		Settings: nil,
		Workers:  1,
	},

	ProvisionedBy: processor.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P2 = &pipeline.Instance{
	ID: "pipeline2",
	Config: pipeline.Config{
		Name:        "name2",
		Description: "desc2",
	},
	Status:       pipeline.StatusUserStopped,
	Error:        "",
	DLQ:          pipeline.DefaultDLQ,
	ConnectorIDs: []string{"pipeline2:con1"},
	ProcessorIDs: nil,

	ProvisionedBy: pipeline.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P2C1 = &connector.Instance{
	ID:   "pipeline2:con1",
	Type: connector.TypeDestination,
	Config: connector.Config{
		Name:     "file-dest",
		Settings: map[string]string{"path": "./test/file3.txt"},
	},
	PipelineID:   "pipeline2",
	Plugin:       "builtin:file",
	ProcessorIDs: nil,

	ProvisionedBy: connector.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}
View Source
var P3 = &pipeline.Instance{
	ID: "pipeline3",
	Config: pipeline.Config{
		Name:        "name3",
		Description: "empty",
	},
	Status:       pipeline.StatusUserStopped,
	Error:        "",
	DLQ:          pipeline.DefaultDLQ,
	ConnectorIDs: nil,
	ProcessorIDs: nil,

	ProvisionedBy: pipeline.ProvisionTypeConfig,
	CreatedAt:     time.Now(),
	UpdatedAt:     time.Now(),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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