pub trait AppApi {
    type Error;
    fn add_application(&self, body: AppRequest) -> Result<App, Self::Error>;
fn delete_app(&self, app_id: Uuid) -> Result<(), Self::Error>;
fn get_all_apps(
        &self,
        name: Option<String>,
        description: Option<String>,
        all_search: Option<String>,
        limit: Option<i32>,
        offset: Option<i32>,
        sort_by: Option<String>
    ) -> Result<GetAllAppsResponse, Self::Error>;
fn get_app(&self, app_id: Uuid) -> Result<App, Self::Error>;
fn get_app_certificate(
        &self,
        node_id: Uuid,
        app_id: Uuid
    ) -> Result<Certificate, Self::Error>;
fn get_app_node_certificate_details(
        &self,
        node_id: Uuid,
        app_id: Uuid
    ) -> Result<CertificateDetails, Self::Error>;
fn get_apps_unique_labels(&self) -> Result<LabelsCount, Self::Error>;
fn update_app(
        &self,
        app_id: Uuid,
        body: AppBodyUpdateRequest
    ) -> Result<App, Self::Error>; }

Associated Types

Required methods

Add an application.

Delete a particular app

Get all apps information.

Get details of a particular app.

Get an attested app’s certificate.

Get an app’s certificate for a compute node.

Get all the unique labels across all the applications within selected account

Update details of a particular app.

Implementors