golem_client::api

Trait ApiDeploymentClient

source
pub trait ApiDeploymentClient {
    // Required methods
    fn deploy<'life0, 'life1, 'async_trait>(
        &'life0 self,
        value: &'life1 ApiDeploymentRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ApiDeployment, Error<ApiDeploymentError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_deployments<'life0, 'life1, 'async_trait>(
        &'life0 self,
        api_definition_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ApiDeployment>, Error<ApiDeploymentError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_deployment<'life0, 'life1, 'async_trait>(
        &'life0 self,
        site: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<ApiDeployment, Error<ApiDeploymentError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn delete_deployment<'life0, 'life1, 'async_trait>(
        &'life0 self,
        site: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiDeploymentError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn deploy<'life0, 'life1, 'async_trait>( &'life0 self, value: &'life1 ApiDeploymentRequest, ) -> Pin<Box<dyn Future<Output = Result<ApiDeployment, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn list_deployments<'life0, 'life1, 'async_trait>( &'life0 self, api_definition_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<ApiDeployment>, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get_deployment<'life0, 'life1, 'async_trait>( &'life0 self, site: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<ApiDeployment, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete_deployment<'life0, 'life1, 'async_trait>( &'life0 self, site: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§