pub struct TreeDxClient { /* private fields */ }Implementations§
Source§impl TreeDxClient
impl TreeDxClient
pub fn new(config: TreeDxConfig) -> Self
pub fn with_transport( config: TreeDxConfig, transport: Arc<dyn Transport>, ) -> Self
pub fn config(&self) -> &TreeDxConfig
pub fn transport(&self) -> &Arc<dyn Transport>
pub fn repositories(&self) -> &RepositoriesAdapter
pub fn workspaces(&self) -> &WorkspacesAdapter
pub fn files(&self) -> &FilesAdapter
pub fn blobs(&self) -> &BlobsAdapter
pub fn query(&self) -> &QueryAdapter
pub fn graph(&self) -> &GraphAdapter
pub fn context(&self) -> &ContextAdapter
pub fn federation(&self) -> &FederationAdapter
pub fn registry(&self) -> &RegistryAdapter
pub fn snapshots(&self) -> &SnapshotsAdapter
pub fn artifacts(&self) -> &ArtifactsAdapter
pub fn mirrors(&self) -> &MirrorsAdapter
pub fn migrations(&self) -> &MigrationsAdapter
pub fn exec(&self) -> &ExecAdapter
pub fn observability(&self) -> &ObservabilityAdapter
pub fn admin(&self) -> &AdminAdapter
pub fn audit(&self) -> &AuditAdapter
pub fn policy(&self) -> &PolicyAdapter
pub fn search_index(&self) -> &SearchIndexAdapter
pub fn federation_internal(&self) -> &FederationInternalAdapter
pub async fn health(&self) -> TreeDxResult<Value>
pub async fn version(&self) -> TreeDxResult<Value>
pub async fn whoami(&self) -> TreeDxResult<Value>
pub async fn effective_scope(&self) -> TreeDxResult<Value>
pub async fn auth_mode(&self) -> TreeDxResult<Value>
pub async fn create_dev_token(&self, body: Option<Value>) -> TreeDxResult<Value>
pub async fn operation( &self, method: TreeDxHttpMethod, path: &str, options: OperationOptions, ) -> TreeDxResult<Value>
Trait Implementations§
Source§impl Clone for TreeDxClient
impl Clone for TreeDxClient
Source§fn clone(&self) -> TreeDxClient
fn clone(&self) -> TreeDxClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TreeDxClient
impl !UnwindSafe for TreeDxClient
impl Freeze for TreeDxClient
impl Send for TreeDxClient
impl Sync for TreeDxClient
impl Unpin for TreeDxClient
impl UnsafeUnpin for TreeDxClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more