register

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorker

func NewWorker(
	agentIDProvide id.Provide,
	client identityapi.RegisterClient,
	retryBo *backoff.Backoff,
	reqsToRegisterQueue <-chan fwrequest.EntityFwRequest,
	reqsRegisteredQueue chan<- fwrequest.EntityFwRequest,
	config WorkerConfig,
	measureFn instrumentation.Measure,
) *worker

Types

type WorkerConfig

type WorkerConfig struct {
	MaxBatchSize      int
	MaxBatchSizeBytes int
	MaxBatchDuration  time.Duration
	MaxRetryBo        time.Duration
	VerboseLogLevel   int
}

WorkerConfig will provide all configuration parameters for a register worker.

Jump to

Keyboard shortcuts

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