Trait teaclave_proto::teaclave_management_service_proto::teaclave_management_server::TeaclaveManagement
source · [−]pub trait TeaclaveManagement: Send + Sync + 'static {
Show 23 methods
fn register_input_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterInputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterInputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn register_output_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterOutputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterOutputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_input_file<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateInputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateInputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_output_file<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateOutputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateOutputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn register_fusion_output<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterFusionOutputRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterFusionOutputResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn register_input_from_output<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterInputFromOutputRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterInputFromOutputResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_output_file<'life0, 'async_trait>(
&'life0 self,
request: Request<GetOutputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetOutputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_input_file<'life0, 'async_trait>(
&'life0 self,
request: Request<GetInputFileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetInputFileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn register_function<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterFunctionRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterFunctionResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_function<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateFunctionRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateFunctionResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_function<'life0, 'async_trait>(
&'life0 self,
request: Request<GetFunctionRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetFunctionResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_function_usage_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<GetFunctionUsageStatsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetFunctionUsageStatsResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_function<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteFunctionRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn disable_function<'life0, 'async_trait>(
&'life0 self,
request: Request<DisableFunctionRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_functions<'life0, 'async_trait>(
&'life0 self,
request: Request<ListFunctionsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListFunctionsResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn create_task<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateTaskRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateTaskResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_task<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTaskRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetTaskResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn assign_data<'life0, 'async_trait>(
&'life0 self,
request: Request<AssignDataRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn approve_task<'life0, 'async_trait>(
&'life0 self,
request: Request<ApproveTaskRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn invoke_task<'life0, 'async_trait>(
&'life0 self,
request: Request<InvokeTaskRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn cancel_task<'life0, 'async_trait>(
&'life0 self,
request: Request<CancelTaskRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn save_logs<'life0, 'async_trait>(
&'life0 self,
request: Request<SaveLogsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn query_audit_logs<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryAuditLogsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryAuditLogsResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with TeaclaveManagementServer.