A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::data::StorageIdentity Struct Reference

Logical namespace with optional host-interpreted backend access information. More...

#include <cpp/a11/data/types.h>

Public Member Functions

absl::Status Validate () const
 Validate the namespace and its service metadata.
 
size_t ApproxBytes () const
 Estimate wire weight, including credential fields.
 
std::string DebugString () const
 Describe the namespace without printing credentials.
 

Public Attributes

std::string id {}
 Logical namespace resolved by host configuration.
 
std::optional< StorageCredentials > credentials {}
 Namespace access.
 
std::vector< StorageService > services {}
 Optional backend access metadata.
 

Friends

bool operator== (const StorageIdentity &, const StorageIdentity &)=default
 

Detailed Description

Logical namespace with optional host-interpreted backend access information.

Member Function Documentation

◆ ApproxBytes()

size_t a11::data::StorageIdentity::ApproxBytes ( ) const

Estimate wire weight, including credential fields.

◆ DebugString()

std::string a11::data::StorageIdentity::DebugString ( ) const

Describe the namespace without printing credentials.

◆ Validate()

absl::Status a11::data::StorageIdentity::Validate ( ) const

Validate the namespace and its service metadata.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const StorageIdentity &  ,
const StorageIdentity &   
)
friend

Member Data Documentation

◆ credentials

std::optional<StorageCredentials> a11::data::StorageIdentity::credentials {}

Namespace access.

◆ id

std::string a11::data::StorageIdentity::id {}

Logical namespace resolved by host configuration.

◆ services

std::vector<StorageService> a11::data::StorageIdentity::services {}

Optional backend access metadata.


The documentation for this struct was generated from the following files: