register

package
v1.67.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 11 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,
) *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