package
0.6.1
Repository: https://github.com/rancher/steve.git
Documentation: pkg.go.dev

# Packages

Package transaction provides mockable interfaces of sql package struct types.

# Functions

NewClient returns a client.
Sanitize returns a string that can be used in SQL as a name.

# Constants

InformerObjectCacheDBPath is where SQLite's object database file will be stored relative to process running steve.

# Structs

QueryError encapsulates an error while executing a query.

# Interfaces

Client defines a database client that provides encrypting, decrypting, and database resetting.
Closable Closes an underlying connection and returns an error on failure.
Connection represents a connection pool.
Decryptor decrypts data previously encrypted by Encryptor.
Encryptor encrypts data with a key which is rotated to avoid wear-out.
Rows represents sql rows.

# Type aliases

WithTransactionFunction is a function that uses a transaction.