sqlite

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStale

func IsStale(tokenLocks common2.TableName, requests common2.TableName, leaseExpiry time.Duration) *isStale

func NewConditionInterpreter added in v0.12.1

func NewConditionInterpreter() common2.CondInterpreter

func NewNamedDriver

func NewNamedDriver(config driver3.Config, dbProvider fscSqlite.DbProvider) driver3.NamedDriver

func NewPaginationInterpreter added in v0.12.1

func NewPaginationInterpreter() common.PagInterpreter

Types

type AuditTransactionStore

type AuditTransactionStore = common3.TransactionStore

func NewAuditTransactionStore

func NewAuditTransactionStore(dbs *common2.RWDB, tableNames common3.TableNames) (*AuditTransactionStore, error)

type Driver

func NewDriver

func NewDriver(config driver3.Config) *Driver

func NewDriverWithDbProvider

func NewDriverWithDbProvider(config driver3.Config, dbProvider fscSqlite.DbProvider) *Driver

func (*Driver) NewAuditTransaction

func (d *Driver) NewAuditTransaction(name driver2.PersistenceName, params ...string) (driver3.AuditTransactionStore, error)

func (*Driver) NewIdentity

func (d *Driver) NewIdentity(name driver2.PersistenceName, params ...string) (driver3.IdentityStore, error)

func (*Driver) NewKeyStore

func (d *Driver) NewKeyStore(name driver2.PersistenceName, params ...string) (driver3.KeyStore, error)

func (*Driver) NewOwnerTransaction

func (d *Driver) NewOwnerTransaction(name driver2.PersistenceName, params ...string) (driver3.TokenTransactionStore, error)

func (*Driver) NewToken

func (d *Driver) NewToken(name driver2.PersistenceName, params ...string) (driver3.TokenStore, error)

func (*Driver) NewTokenLock

func (d *Driver) NewTokenLock(name driver2.PersistenceName, params ...string) (driver3.TokenLockStore, error)

func (*Driver) NewWallet

func (d *Driver) NewWallet(name driver2.PersistenceName, params ...string) (driver3.WalletStore, error)

type IdentityStore

type IdentityStore = sqlcommon.IdentityStore

type KeystoreStore

type KeystoreStore = common3.KeystoreStore

func NewKeystoreStore

func NewKeystoreStore(dbs *common2.RWDB, tableNames common3.TableNames) (*KeystoreStore, error)

type OwnerTransactionStore

type OwnerTransactionStore = common3.TransactionStore

func NewTransactionStore

func NewTransactionStore(dbs *common2.RWDB, tableNames common3.TableNames) (*OwnerTransactionStore, error)

type TokenLockStore

type TokenLockStore struct {
	*common4.TokenLockStore
	// contains filtered or unexported fields
}

func NewTokenLockStore

func NewTokenLockStore(dbs *common3.RWDB, tableNames common4.TableNames) (*TokenLockStore, error)

func (*TokenLockStore) Cleanup

func (db *TokenLockStore) Cleanup(ctx context.Context, leaseExpiry time.Duration) error

type TokenStore

type TokenStore = sqlcommon.TokenStore

func NewTokenStore

func NewTokenStore(
	dbs *scommon.RWDB,
	tableNames sqlcommon.TableNames,
) (*TokenStore, error)

type WalletStore

type WalletStore = common3.WalletStore

func NewWalletStore

func NewWalletStore(dbs *common2.RWDB, tableNames common3.TableNames) (*WalletStore, error)

Jump to

Keyboard shortcuts

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