meteredentitlement

package
v1.0.0-beta.108 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntitlementGrantOwnerAdapter

func NewEntitlementGrantOwnerAdapter(
	featureRepo productcatalog.FeatureRepo,
	entitlementRepo entitlement.EntitlementRepo,
	usageResetRepo UsageResetRepo,
	meterRepo meter.Repository,
	logger *slog.Logger,
) credit.OwnerConnector

Types

type Connector

type Connector = meteredentitlement.Connector

func NewMeteredEntitlementConnector

func NewMeteredEntitlementConnector(
	streamingConnector streaming.Connector,
	ownerConnector credit.OwnerConnector,
	balanceConnector credit.BalanceConnector,
	grantConnector credit.GrantConnector,
	entitlementRepo entitlement.EntitlementRepo,
) Connector

type UsageResetRepo

type UsageResetRepo = meteredentitlement.UsageResetRepo

type UsageResetTime

type UsageResetTime = meteredentitlement.UsageResetTime

type WindowSize

type WindowSize = meteredentitlement.WindowSize

Jump to

Keyboard shortcuts

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