quotamanagerfx

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func SetupQuotaManager

func SetupQuotaManager(lifecycle fx.Lifecycle, logger *zerolog.Logger, quotaManager *quota.QuotaManager) error

Types

type QuotaManagerIn

type QuotaManagerIn struct {
	fx.In
	Config       config.Config
	TenantStorer tenant.TenantStorer
	Syncer       syncer.DeltaSyncer
	Logger       *zerolog.Logger
}

type QuotaManagerOut

type QuotaManagerOut struct {
	fx.Out
	QuotaManager *quota.QuotaManager
}

func ProvideQuotaManager

func ProvideQuotaManager(in QuotaManagerIn) (QuotaManagerOut, error)

Jump to

Keyboard shortcuts

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