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, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
api_definition_id: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ApiDeployment>, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_deployment<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
site: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<ApiDeployment, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_deployment<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
site: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn undeploy_api<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
project_id: &'life1 Uuid,
site: &'life2 str,
id: &'life3 str,
version: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<String, Error<ApiDeploymentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
}