generationnumber

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheGenClient

type CacheGenClient interface {
	GetCacheGenerationNumber(ctx context.Context, userID string) (string, error)
	Name() string
}

func NewGenNumberClient

func NewGenNumberClient(addr string, c doer) (CacheGenClient, error)

type GenNumberLoader

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

func NewGenNumberLoader

func NewGenNumberLoader(g CacheGenClient, registerer prometheus.Registerer) *GenNumberLoader

func (*GenNumberLoader) GetResultsCacheGenNumber

func (l *GenNumberLoader) GetResultsCacheGenNumber(tenantIDs []string) string

func (*GenNumberLoader) Stop

func (l *GenNumberLoader) Stop()

Jump to

Keyboard shortcuts

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