pub struct RuntimeServiceClient { /* private fields */ }Implementations§
Source§impl RuntimeServiceClient
impl RuntimeServiceClient
pub fn new(channel: Channel) -> Self
pub fn version_opt( &self, req: &VersionRequest, opt: CallOption, ) -> Result<VersionResponse>
pub fn version(&self, req: &VersionRequest) -> Result<VersionResponse>
pub fn version_async_opt( &self, req: &VersionRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<VersionResponse>>
pub fn version_async( &self, req: &VersionRequest, ) -> Result<ClientUnaryReceiver<VersionResponse>>
pub fn run_pod_sandbox_opt( &self, req: &RunPodSandboxRequest, opt: CallOption, ) -> Result<RunPodSandboxResponse>
pub fn run_pod_sandbox( &self, req: &RunPodSandboxRequest, ) -> Result<RunPodSandboxResponse>
pub fn run_pod_sandbox_async_opt( &self, req: &RunPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RunPodSandboxResponse>>
pub fn run_pod_sandbox_async( &self, req: &RunPodSandboxRequest, ) -> Result<ClientUnaryReceiver<RunPodSandboxResponse>>
pub fn stop_pod_sandbox_opt( &self, req: &StopPodSandboxRequest, opt: CallOption, ) -> Result<StopPodSandboxResponse>
pub fn stop_pod_sandbox( &self, req: &StopPodSandboxRequest, ) -> Result<StopPodSandboxResponse>
pub fn stop_pod_sandbox_async_opt( &self, req: &StopPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StopPodSandboxResponse>>
pub fn stop_pod_sandbox_async( &self, req: &StopPodSandboxRequest, ) -> Result<ClientUnaryReceiver<StopPodSandboxResponse>>
pub fn remove_pod_sandbox_opt( &self, req: &RemovePodSandboxRequest, opt: CallOption, ) -> Result<RemovePodSandboxResponse>
pub fn remove_pod_sandbox( &self, req: &RemovePodSandboxRequest, ) -> Result<RemovePodSandboxResponse>
pub fn remove_pod_sandbox_async_opt( &self, req: &RemovePodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RemovePodSandboxResponse>>
pub fn remove_pod_sandbox_async( &self, req: &RemovePodSandboxRequest, ) -> Result<ClientUnaryReceiver<RemovePodSandboxResponse>>
pub fn pod_sandbox_status_opt( &self, req: &PodSandboxStatusRequest, opt: CallOption, ) -> Result<PodSandboxStatusResponse>
pub fn pod_sandbox_status( &self, req: &PodSandboxStatusRequest, ) -> Result<PodSandboxStatusResponse>
pub fn pod_sandbox_status_async_opt( &self, req: &PodSandboxStatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<PodSandboxStatusResponse>>
pub fn pod_sandbox_status_async( &self, req: &PodSandboxStatusRequest, ) -> Result<ClientUnaryReceiver<PodSandboxStatusResponse>>
pub fn list_pod_sandbox_opt( &self, req: &ListPodSandboxRequest, opt: CallOption, ) -> Result<ListPodSandboxResponse>
pub fn list_pod_sandbox( &self, req: &ListPodSandboxRequest, ) -> Result<ListPodSandboxResponse>
pub fn list_pod_sandbox_async_opt( &self, req: &ListPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListPodSandboxResponse>>
pub fn list_pod_sandbox_async( &self, req: &ListPodSandboxRequest, ) -> Result<ClientUnaryReceiver<ListPodSandboxResponse>>
pub fn create_container_opt( &self, req: &CreateContainerRequest, opt: CallOption, ) -> Result<CreateContainerResponse>
pub fn create_container( &self, req: &CreateContainerRequest, ) -> Result<CreateContainerResponse>
pub fn create_container_async_opt( &self, req: &CreateContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<CreateContainerResponse>>
pub fn create_container_async( &self, req: &CreateContainerRequest, ) -> Result<ClientUnaryReceiver<CreateContainerResponse>>
pub fn start_container_opt( &self, req: &StartContainerRequest, opt: CallOption, ) -> Result<StartContainerResponse>
pub fn start_container( &self, req: &StartContainerRequest, ) -> Result<StartContainerResponse>
pub fn start_container_async_opt( &self, req: &StartContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StartContainerResponse>>
pub fn start_container_async( &self, req: &StartContainerRequest, ) -> Result<ClientUnaryReceiver<StartContainerResponse>>
pub fn stop_container_opt( &self, req: &StopContainerRequest, opt: CallOption, ) -> Result<StopContainerResponse>
pub fn stop_container( &self, req: &StopContainerRequest, ) -> Result<StopContainerResponse>
pub fn stop_container_async_opt( &self, req: &StopContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StopContainerResponse>>
pub fn stop_container_async( &self, req: &StopContainerRequest, ) -> Result<ClientUnaryReceiver<StopContainerResponse>>
pub fn remove_container_opt( &self, req: &RemoveContainerRequest, opt: CallOption, ) -> Result<RemoveContainerResponse>
pub fn remove_container( &self, req: &RemoveContainerRequest, ) -> Result<RemoveContainerResponse>
pub fn remove_container_async_opt( &self, req: &RemoveContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RemoveContainerResponse>>
pub fn remove_container_async( &self, req: &RemoveContainerRequest, ) -> Result<ClientUnaryReceiver<RemoveContainerResponse>>
pub fn list_containers_opt( &self, req: &ListContainersRequest, opt: CallOption, ) -> Result<ListContainersResponse>
pub fn list_containers( &self, req: &ListContainersRequest, ) -> Result<ListContainersResponse>
pub fn list_containers_async_opt( &self, req: &ListContainersRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListContainersResponse>>
pub fn list_containers_async( &self, req: &ListContainersRequest, ) -> Result<ClientUnaryReceiver<ListContainersResponse>>
pub fn container_status_opt( &self, req: &ContainerStatusRequest, opt: CallOption, ) -> Result<ContainerStatusResponse>
pub fn container_status( &self, req: &ContainerStatusRequest, ) -> Result<ContainerStatusResponse>
pub fn container_status_async_opt( &self, req: &ContainerStatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ContainerStatusResponse>>
pub fn container_status_async( &self, req: &ContainerStatusRequest, ) -> Result<ClientUnaryReceiver<ContainerStatusResponse>>
pub fn update_container_resources_opt( &self, req: &UpdateContainerResourcesRequest, opt: CallOption, ) -> Result<UpdateContainerResourcesResponse>
pub fn update_container_resources( &self, req: &UpdateContainerResourcesRequest, ) -> Result<UpdateContainerResourcesResponse>
pub fn update_container_resources_async_opt( &self, req: &UpdateContainerResourcesRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<UpdateContainerResourcesResponse>>
pub fn update_container_resources_async( &self, req: &UpdateContainerResourcesRequest, ) -> Result<ClientUnaryReceiver<UpdateContainerResourcesResponse>>
pub fn reopen_container_log_opt( &self, req: &ReopenContainerLogRequest, opt: CallOption, ) -> Result<ReopenContainerLogResponse>
pub fn reopen_container_log( &self, req: &ReopenContainerLogRequest, ) -> Result<ReopenContainerLogResponse>
pub fn reopen_container_log_async_opt( &self, req: &ReopenContainerLogRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ReopenContainerLogResponse>>
pub fn reopen_container_log_async( &self, req: &ReopenContainerLogRequest, ) -> Result<ClientUnaryReceiver<ReopenContainerLogResponse>>
pub fn exec_sync_opt( &self, req: &ExecSyncRequest, opt: CallOption, ) -> Result<ExecSyncResponse>
pub fn exec_sync(&self, req: &ExecSyncRequest) -> Result<ExecSyncResponse>
pub fn exec_sync_async_opt( &self, req: &ExecSyncRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ExecSyncResponse>>
pub fn exec_sync_async( &self, req: &ExecSyncRequest, ) -> Result<ClientUnaryReceiver<ExecSyncResponse>>
pub fn exec_opt( &self, req: &ExecRequest, opt: CallOption, ) -> Result<ExecResponse>
pub fn exec(&self, req: &ExecRequest) -> Result<ExecResponse>
pub fn exec_async_opt( &self, req: &ExecRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ExecResponse>>
pub fn exec_async( &self, req: &ExecRequest, ) -> Result<ClientUnaryReceiver<ExecResponse>>
pub fn attach_opt( &self, req: &AttachRequest, opt: CallOption, ) -> Result<AttachResponse>
pub fn attach(&self, req: &AttachRequest) -> Result<AttachResponse>
pub fn attach_async_opt( &self, req: &AttachRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<AttachResponse>>
pub fn attach_async( &self, req: &AttachRequest, ) -> Result<ClientUnaryReceiver<AttachResponse>>
pub fn port_forward_opt( &self, req: &PortForwardRequest, opt: CallOption, ) -> Result<PortForwardResponse>
pub fn port_forward( &self, req: &PortForwardRequest, ) -> Result<PortForwardResponse>
pub fn port_forward_async_opt( &self, req: &PortForwardRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<PortForwardResponse>>
pub fn port_forward_async( &self, req: &PortForwardRequest, ) -> Result<ClientUnaryReceiver<PortForwardResponse>>
pub fn container_stats_opt( &self, req: &ContainerStatsRequest, opt: CallOption, ) -> Result<ContainerStatsResponse>
pub fn container_stats( &self, req: &ContainerStatsRequest, ) -> Result<ContainerStatsResponse>
pub fn container_stats_async_opt( &self, req: &ContainerStatsRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ContainerStatsResponse>>
pub fn container_stats_async( &self, req: &ContainerStatsRequest, ) -> Result<ClientUnaryReceiver<ContainerStatsResponse>>
pub fn list_container_stats_opt( &self, req: &ListContainerStatsRequest, opt: CallOption, ) -> Result<ListContainerStatsResponse>
pub fn list_container_stats( &self, req: &ListContainerStatsRequest, ) -> Result<ListContainerStatsResponse>
pub fn list_container_stats_async_opt( &self, req: &ListContainerStatsRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListContainerStatsResponse>>
pub fn list_container_stats_async( &self, req: &ListContainerStatsRequest, ) -> Result<ClientUnaryReceiver<ListContainerStatsResponse>>
pub fn update_runtime_config_opt( &self, req: &UpdateRuntimeConfigRequest, opt: CallOption, ) -> Result<UpdateRuntimeConfigResponse>
pub fn update_runtime_config( &self, req: &UpdateRuntimeConfigRequest, ) -> Result<UpdateRuntimeConfigResponse>
pub fn update_runtime_config_async_opt( &self, req: &UpdateRuntimeConfigRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<UpdateRuntimeConfigResponse>>
pub fn update_runtime_config_async( &self, req: &UpdateRuntimeConfigRequest, ) -> Result<ClientUnaryReceiver<UpdateRuntimeConfigResponse>>
pub fn status_opt( &self, req: &StatusRequest, opt: CallOption, ) -> Result<StatusResponse>
pub fn status(&self, req: &StatusRequest) -> Result<StatusResponse>
pub fn status_async_opt( &self, req: &StatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StatusResponse>>
pub fn status_async( &self, req: &StatusRequest, ) -> Result<ClientUnaryReceiver<StatusResponse>>
pub fn spawn<F>(&self, f: F)
Trait Implementations§
Source§impl Clone for RuntimeServiceClient
impl Clone for RuntimeServiceClient
Source§fn clone(&self) -> RuntimeServiceClient
fn clone(&self) -> RuntimeServiceClient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RuntimeServiceClient
impl !RefUnwindSafe for RuntimeServiceClient
impl Send for RuntimeServiceClient
impl Sync for RuntimeServiceClient
impl Unpin for RuntimeServiceClient
impl !UnwindSafe for RuntimeServiceClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more