credit

package
v1.0.0-beta.96 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 Engine

type Engine = credit.Engine

type ExpirationPeriod

type ExpirationPeriod = credit.ExpirationPeriod

type ExpirationPeriodDuration

type ExpirationPeriodDuration = credit.ExpirationPeriodDuration

type Grant

type Grant = credit.Grant

type GrantBalanceMap

type GrantBalanceMap = credit.GrantBalanceMap

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 GrantRepo

type GrantRepo = credit.GrantRepo

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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