![]() |
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 class for SecretStorage API. More...

Public Member Functions | |
| SecretStorage (const string &name, const int64_t tie_break_offset) | |
| virtual string & | GetName () |
| SecretStorage API. | |
| virtual unique_ptr< SecretEntry > | StoreSecret (unique_ptr< const BaseSecret > secret, OnCreateConflict on_conflict, optional_ptr< CatalogTransaction > transaction=nullptr)=0 |
| Store a secret. | |
| virtual vector< SecretEntry > | AllSecrets (optional_ptr< CatalogTransaction > transaction=nullptr)=0 |
| Get all secrets. | |
| virtual void | DropSecretByName (const string &name, OnEntryNotFound on_entry_not_found, optional_ptr< CatalogTransaction > transaction=nullptr)=0 |
| Drop secret by name. | |
| virtual SecretMatch | LookupSecret (const string &path, const string &type, optional_ptr< CatalogTransaction > transaction=nullptr)=0 |
| Get best match. | |
| virtual unique_ptr< SecretEntry > | GetSecretByName (const string &name, optional_ptr< CatalogTransaction > transaction=nullptr)=0 |
| Get a secret by name. | |
| virtual bool | IncludeInLookups () |
| Returns include_in_lookups, used to create secret storage. | |
| virtual bool | Persistent () const |
Static Public Attributes | |
| 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 | |
| static SecretMatch | SelectBestMatch (SecretEntry &secret_entry, const string &path, int64_t offset, SecretMatch ¤t_best) |
Protected Attributes | |
| 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. | |
Friends | |
| class | SecretManager |
Base class for SecretStorage API.
|
inlineexplicit |
|
inlinevirtual |
SecretStorage API.
Get the storage name (e.g. local_file, :memory:)
Reimplemented in duckdb::CatalogSetSecretStorage.
|
pure virtual |
Store a secret.
Implemented in duckdb::CatalogSetSecretStorage.
|
pure virtual |
Get all secrets.
Implemented in duckdb::CatalogSetSecretStorage.
|
pure virtual |
Drop secret by name.
Implemented in duckdb::CatalogSetSecretStorage.
|
pure virtual |
Get best match.
Implemented in duckdb::CatalogSetSecretStorage.
|
pure virtual |
Get a secret by name.
Implemented in duckdb::CatalogSetSecretStorage.
|
inlinevirtual |
Returns include_in_lookups, used to create secret storage.
|
inlinevirtual |
|
staticprotected |
Helper function to select the best matching secret within a storage. Tie-breaks within a storage are broken by secret name by default.

