job

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExperimentRunningWatcher

func NewExperimentRunningWatcher(
	environmentClient environmentclient.Client,
	experimentClient experimentclient.Client,
	sender sender.Sender,
	opts ...Option) job.Job

func NewFeatureWatcher

func NewFeatureWatcher(
	environmentClient environmentclient.Client,
	featureClient featureclient.Client,
	sender sender.Sender,
	opts ...Option) job.Job

func NewMAUCountWatcher

func NewMAUCountWatcher(
	environmentClient environmentclient.Client,
	eventCounterClient ecclient.Client,
	sender sender.Sender,
	opts ...Option) job.Job

Types

type ExperimentRunningWatcher

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

func (*ExperimentRunningWatcher) Run

func (w *ExperimentRunningWatcher) Run(ctx context.Context) (lastErr error)

type Option

type Option func(*options)

func WithLogger

func WithLogger(logger *zap.Logger) Option

func WithMetrics

func WithMetrics(r metrics.Registerer) Option

func WithTimeout

func WithTimeout(t time.Duration) Option

Jump to

Keyboard shortcuts

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