workers

package
v0.0.0-...-ed06964 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PollerOption

type PollerOption func(*PollerWorker)

func WithInMemoryDatastore

func WithInMemoryDatastore(datastore tracedb.TraceDB) PollerOption

type PollerWorker

type PollerWorker struct {
	// contains filtered or unexported fields
}

func NewPollerWorker

func NewPollerWorker(client *client.Client, opts ...PollerOption) *PollerWorker

func (*PollerWorker) Poll

func (w *PollerWorker) Poll(ctx context.Context, request *proto.PollingRequest) error

type TestConnectionWorker

type TestConnectionWorker struct {
	// contains filtered or unexported fields
}

func NewTestConnectionWorker

func NewTestConnectionWorker(client *client.Client) *TestConnectionWorker

func (*TestConnectionWorker) Test

type TriggerOption

type TriggerOption func(*TriggerWorker)

func WithTraceCache

func WithTraceCache(cache collector.TraceCache) TriggerOption

type TriggerWorker

type TriggerWorker struct {
	// contains filtered or unexported fields
}

func NewTriggerWorker

func NewTriggerWorker(client *client.Client, opts ...TriggerOption) *TriggerWorker

func (*TriggerWorker) Trigger

func (w *TriggerWorker) Trigger(ctx context.Context, triggerRequest *proto.TriggerRequest) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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