![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
Base Implementation for catalog set based secret storage. More...


Public Member Functions | |
| CatalogSetSecretStorage (DatabaseInstance &db_instance, const string &name_p, const int64_t offset) | |
| string & | GetName () override |
| SecretStorage API. | |
| unique_ptr< SecretEntry > | StoreSecret (unique_ptr< const BaseSecret > secret, OnCreateConflict on_conflict, optional_ptr< CatalogTransaction > transaction=nullptr) override |
| Store a secret. | |
| vector< SecretEntry > | AllSecrets (optional_ptr< CatalogTransaction > transaction=nullptr) override |
| Get all secrets. | |
| void | DropSecretByName (const string &name, OnEntryNotFound on_entry_not_found, optional_ptr< CatalogTransaction > transaction=nullptr) override |
| Drop secret by name. | |
| SecretMatch | LookupSecret (const string &path, const string &type, optional_ptr< CatalogTransaction > transaction=nullptr) override |
| Get best match. | |
| unique_ptr< SecretEntry > | GetSecretByName (const string &name, optional_ptr< CatalogTransaction > transaction=nullptr) override |
| Get a secret by name. | |
| Public Member Functions inherited from duckdb::SecretStorage | |
| SecretStorage (const string &name, const int64_t tie_break_offset) | |
| virtual bool | IncludeInLookups () |
| Returns include_in_lookups, used to create secret storage. | |
| virtual bool | Persistent () const |
Protected Member Functions | |
| virtual void | WriteSecret (const BaseSecret &secret, OnCreateConflict on_conflict) |
| Callback called on Store to allow child classes to implement persistence. | |
| virtual void | RemoveSecret (const string &name, OnEntryNotFound on_entry_not_found) |
| CatalogTransaction | GetTransactionOrDefault (optional_ptr< CatalogTransaction > transaction) |
| Returns the CatalogTransaction in transaction if not set, return the System transaction. | |
Protected Attributes | |
| unique_ptr< CatalogSet > | secrets |
| CatalogSet containing the secrets. | |
| DatabaseInstance & | db |
| DB instance for accessing the system catalog transaction. | |
| Protected Attributes inherited from duckdb::SecretStorage | |
| string | storage_name |
| Name of the storage backend (e.g. temporary, file, etc). | |
| const int64_t | tie_break_offset |
| Offset associated to this storage for tie-breaking secrets between storages. | |
| bool | persistent |
| Whether entries in this storage will survive duckdb reboots. | |
Additional Inherited Members | |
| Static Public Attributes inherited from duckdb::SecretStorage | |
| static const int64_t | TEMPORARY_STORAGE_OFFSET = 10 |
| Default storage backend offsets. | |
| static const int64_t | LOCAL_FILE_STORAGE_OFFSET = 20 |
| Static Protected Member Functions inherited from duckdb::SecretStorage | |
| static SecretMatch | SelectBestMatch (SecretEntry &secret_entry, const string &path, int64_t offset, SecretMatch ¤t_best) |
Base Implementation for catalog set based secret storage.
|
inline |
|
inlineoverridevirtual |
SecretStorage API.
Reimplemented from duckdb::SecretStorage.
|
overridevirtual |
Store a secret.
Implements duckdb::SecretStorage.

|
overridevirtual |
Get all secrets.
Implements duckdb::SecretStorage.

|
overridevirtual |
Drop secret by name.
Implements duckdb::SecretStorage.

|
overridevirtual |
Get best match.
Implements duckdb::SecretStorage.

|
overridevirtual |
Get a secret by name.
Implements duckdb::SecretStorage.

|
protectedvirtual |
Callback called on Store to allow child classes to implement persistence.
Reimplemented in duckdb::LocalFileSecretStorage.


|
protectedvirtual |
Reimplemented in duckdb::LocalFileSecretStorage.
|
protected |
Returns the CatalogTransaction in transaction if not set, return the System transaction.

