Documentation
¶
Index ¶
- func NewEntitlementGrantOwnerAdapter(featureRepo productcatalog.FeatureRepo, ...) credit.OwnerConnector
- type BalanceHistoryParams
- type Connector
- type CreateEntitlementGrantInputs
- type EntitlementBalance
- type EntitlementBalanceHistoryWindow
- type EntitlementGrant
- type MeteredEntitlementValue
- type ResetEntitlementUsageParams
- type UsageResetNotFoundError
- type UsageResetRepo
- type UsageResetTime
- type WindowSize
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 BalanceHistoryParams ¶
type BalanceHistoryParams = meteredentitlement.BalanceHistoryParams
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 CreateEntitlementGrantInputs ¶
type CreateEntitlementGrantInputs = meteredentitlement.CreateEntitlementGrantInputs
type EntitlementBalance ¶
type EntitlementBalance = meteredentitlement.EntitlementBalance
type EntitlementBalanceHistoryWindow ¶
type EntitlementBalanceHistoryWindow = meteredentitlement.EntitlementBalanceHistoryWindow
type EntitlementGrant ¶
type EntitlementGrant = meteredentitlement.EntitlementGrant
type MeteredEntitlementValue ¶
type MeteredEntitlementValue = meteredentitlement.MeteredEntitlementValue
type ResetEntitlementUsageParams ¶
type ResetEntitlementUsageParams = meteredentitlement.ResetEntitlementUsageParams
type UsageResetNotFoundError ¶
type UsageResetNotFoundError = meteredentitlement.UsageResetNotFoundError
type UsageResetRepo ¶
type UsageResetRepo = meteredentitlement.UsageResetRepo
type UsageResetTime ¶
type UsageResetTime = meteredentitlement.UsageResetTime
type WindowSize ¶
type WindowSize = meteredentitlement.WindowSize
Click to show internal directories.
Click to hide internal directories.