pub trait RuntimeServiceClient {
Show 28 methods
// Required methods
fn version<'life0, 'async_trait>(
&'life0 self,
req: VersionRequest
) -> Pin<Box<dyn Future<Output = Result<Response<VersionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn run_pod_sandbox<'life0, 'async_trait>(
&'life0 self,
req: RunPodSandboxRequest
) -> Pin<Box<dyn Future<Output = Result<Response<RunPodSandboxResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn stop_pod_sandbox<'life0, 'async_trait>(
&'life0 self,
req: StopPodSandboxRequest
) -> Pin<Box<dyn Future<Output = Result<Response<StopPodSandboxResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_pod_sandbox<'life0, 'async_trait>(
&'life0 self,
req: RemovePodSandboxRequest
) -> Pin<Box<dyn Future<Output = Result<Response<RemovePodSandboxResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn pod_sandbox_status<'life0, 'async_trait>(
&'life0 self,
req: PodSandboxStatusRequest
) -> Pin<Box<dyn Future<Output = Result<Response<PodSandboxStatusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_pod_sandbox<'life0, 'async_trait>(
&'life0 self,
req: ListPodSandboxRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListPodSandboxResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_container<'life0, 'async_trait>(
&'life0 self,
req: CreateContainerRequest
) -> Pin<Box<dyn Future<Output = Result<Response<CreateContainerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_container<'life0, 'async_trait>(
&'life0 self,
req: StartContainerRequest
) -> Pin<Box<dyn Future<Output = Result<Response<StartContainerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn stop_container<'life0, 'async_trait>(
&'life0 self,
req: StopContainerRequest
) -> Pin<Box<dyn Future<Output = Result<Response<StopContainerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_container<'life0, 'async_trait>(
&'life0 self,
req: RemoveContainerRequest
) -> Pin<Box<dyn Future<Output = Result<Response<RemoveContainerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_containers<'life0, 'async_trait>(
&'life0 self,
req: ListContainersRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListContainersResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn container_status<'life0, 'async_trait>(
&'life0 self,
req: ContainerStatusRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ContainerStatusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_container_resources<'life0, 'async_trait>(
&'life0 self,
req: UpdateContainerResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateContainerResourcesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reopen_container_log<'life0, 'async_trait>(
&'life0 self,
req: ReopenContainerLogRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ReopenContainerLogResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn exec_sync<'life0, 'async_trait>(
&'life0 self,
req: ExecSyncRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ExecSyncResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn exec<'life0, 'async_trait>(
&'life0 self,
req: ExecRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ExecResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn attach<'life0, 'async_trait>(
&'life0 self,
req: AttachRequest
) -> Pin<Box<dyn Future<Output = Result<Response<AttachResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn port_forward<'life0, 'async_trait>(
&'life0 self,
req: PortForwardRequest
) -> Pin<Box<dyn Future<Output = Result<Response<PortForwardResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn container_stats<'life0, 'async_trait>(
&'life0 self,
req: ContainerStatsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ContainerStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_container_stats<'life0, 'async_trait>(
&'life0 self,
req: ListContainerStatsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListContainerStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn pod_sandbox_stats<'life0, 'async_trait>(
&'life0 self,
req: PodSandboxStatsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<PodSandboxStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_pod_sandbox_stats<'life0, 'async_trait>(
&'life0 self,
req: ListPodSandboxStatsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListPodSandboxStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_runtime_config<'life0, 'async_trait>(
&'life0 self,
req: UpdateRuntimeConfigRequest
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateRuntimeConfigResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn status<'life0, 'async_trait>(
&'life0 self,
req: StatusRequest
) -> Pin<Box<dyn Future<Output = Result<Response<StatusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn checkpoint_container<'life0, 'async_trait>(
&'life0 self,
req: CheckpointContainerRequest
) -> Pin<Box<dyn Future<Output = Result<Response<CheckpointContainerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_container_events<'life0, 'async_trait>(
&'life0 self,
req: GetEventsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<Streaming<ContainerEventResponse>>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_metric_descriptors<'life0, 'async_trait>(
&'life0 self,
req: ListMetricDescriptorsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListMetricDescriptorsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_pod_sandbox_metrics<'life0, 'async_trait>(
&'life0 self,
req: ListPodSandboxMetricsRequest
) -> Pin<Box<dyn Future<Output = Result<Response<ListPodSandboxMetricsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}