Documentation ¶
Index ¶
- func NewDsTestConnectionNotify(dsTestListener *Listener, tracer trace.Tracer) *dsTestConnectionNotify
- func NewDsTestConnectionRequest(tracer trace.Tracer, newTraceDBFn tracedb.FactoryFunc, enabled bool) *dsTestConnectionRequest
- type Configurer
- type DataStoreTestPipeline
- func (p *DataStoreTestPipeline) NewJob(ctx context.Context, datastore datastore.DataStore) Job
- func (p *DataStoreTestPipeline) Run(ctx context.Context, job Job)
- func (p *DataStoreTestPipeline) Subscribe(jobID string, notifier NotifierFn) error
- func (p *DataStoreTestPipeline) Unsubscribe(jobID string)
- type DsTestListener
- type Job
- type Listener
- type NotifierFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDsTestConnectionRequest ¶
func NewDsTestConnectionRequest( tracer trace.Tracer, newTraceDBFn tracedb.FactoryFunc, enabled bool, ) *dsTestConnectionRequest
Types ¶
type Configurer ¶
type Configurer[T any] struct { // contains filtered or unexported fields }
func NewConfigurer ¶
func NewConfigurer(meter metric.Meter) *Configurer[Job]
func (*Configurer[Job]) Configure ¶
func (c *Configurer[Job]) Configure(queue *pipeline.Queue[Job])
type DataStoreTestPipeline ¶
type DataStoreTestPipeline struct { *pipeline.Pipeline[Job] // contains filtered or unexported fields }
func NewDataStoreTestPipeline ¶
func NewDataStoreTestPipeline( pipeline *pipeline.Pipeline[Job], listener DsTestListener, ) *DataStoreTestPipeline
func (*DataStoreTestPipeline) Run ¶
func (p *DataStoreTestPipeline) Run(ctx context.Context, job Job)
func (*DataStoreTestPipeline) Subscribe ¶
func (p *DataStoreTestPipeline) Subscribe(jobID string, notifier NotifierFn) error
func (*DataStoreTestPipeline) Unsubscribe ¶
func (p *DataStoreTestPipeline) Unsubscribe(jobID string)
type DsTestListener ¶
type DsTestListener interface { Notify(Job) Subscribe(jobID string, notifier NotifierFn) error Unsubscribe(jobID string) }
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewListener ¶
func NewListener() *Listener
func (*Listener) Unsubscribe ¶
type NotifierFn ¶
type NotifierFn func(Job)
Click to show internal directories.
Click to hide internal directories.