Documentation
¶
Index ¶
- type BalanceConnector
- type BalanceHistoryParams
- type BalanceSnapshotConnector
- type CreateGrantInput
- type DBCreateGrantInput
- type Engine
- type ExpirationPeriod
- type ExpirationPeriodDuration
- type Grant
- type GrantBalanceMap
- type GrantBalanceNoSavedBalanceForOwnerError
- type GrantBalanceSnapshot
- type GrantBurnDownHistory
- type GrantBurnDownHistorySegment
- type GrantConnector
- type GrantNotFoundError
- type GrantOrderBy
- type GrantOwner
- type GrantRepo
- type GrantUsage
- type GrantUsageTerminationReason
- type ListGrantsParams
- type NamespacedGrantOwner
- type OwnerConnector
- type Pagination
- type QueryUsageFn
- type SegmentTerminationReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceConnector ¶
type BalanceConnector = credit.BalanceConnector
func NewBalanceConnector ¶
func NewBalanceConnector( gc GrantRepo, bsc BalanceSnapshotConnector, oc OwnerConnector, sc streaming.Connector, log *slog.Logger, ) BalanceConnector
type BalanceHistoryParams ¶
type BalanceHistoryParams = credit.BalanceHistoryParams
type BalanceSnapshotConnector ¶
type BalanceSnapshotConnector = credit.BalanceSnapshotConnector
type CreateGrantInput ¶
type CreateGrantInput = credit.CreateGrantInput
type DBCreateGrantInput ¶
type DBCreateGrantInput = credit.GrantRepoCreateGrantInput
type ExpirationPeriod ¶
type ExpirationPeriod = credit.ExpirationPeriod
type ExpirationPeriodDuration ¶
type ExpirationPeriodDuration = credit.ExpirationPeriodDuration
type GrantBalanceMap ¶
type GrantBalanceMap = credit.GrantBalanceMap
type GrantBalanceNoSavedBalanceForOwnerError ¶
type GrantBalanceNoSavedBalanceForOwnerError = credit.GrantBalanceNoSavedBalanceForOwnerError
type GrantBalanceSnapshot ¶
type GrantBalanceSnapshot = credit.GrantBalanceSnapshot
type GrantBurnDownHistory ¶
type GrantBurnDownHistory = credit.GrantBurnDownHistory
type GrantBurnDownHistorySegment ¶
type GrantBurnDownHistorySegment = credit.GrantBurnDownHistorySegment
type GrantConnector ¶
type GrantConnector = credit.GrantConnector
func NewGrantConnector ¶
func NewGrantConnector( oc OwnerConnector, db GrantRepo, bsdb BalanceSnapshotConnector, granularity time.Duration, ) GrantConnector
type GrantNotFoundError ¶
type GrantNotFoundError = credit.GrantNotFoundError
type GrantOrderBy ¶
type GrantOrderBy = credit.GrantOrderBy
type GrantOwner ¶
type GrantOwner = credit.GrantOwner
type GrantUsage ¶
type GrantUsage = credit.GrantUsage
type GrantUsageTerminationReason ¶
type GrantUsageTerminationReason = credit.GrantUsageTerminationReason
type ListGrantsParams ¶
type ListGrantsParams = credit.ListGrantsParams
type NamespacedGrantOwner ¶
type NamespacedGrantOwner = credit.NamespacedGrantOwner
type OwnerConnector ¶
type OwnerConnector = credit.OwnerConnector
type Pagination ¶
type Pagination = credit.Pagination
type QueryUsageFn ¶
type QueryUsageFn = credit.QueryUsageFn
type SegmentTerminationReason ¶
type SegmentTerminationReason = credit.SegmentTerminationReason
Click to show internal directories.
Click to hide internal directories.