Struct RuntimeServiceClient

Source
pub struct RuntimeServiceClient { /* private fields */ }

Implementations§

Source§

impl RuntimeServiceClient

Source

pub fn new(channel: Channel) -> Self

Source

pub fn version_opt( &self, req: &VersionRequest, opt: CallOption, ) -> Result<VersionResponse>

Source

pub fn version(&self, req: &VersionRequest) -> Result<VersionResponse>

Source

pub fn version_async_opt( &self, req: &VersionRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<VersionResponse>>

Source

pub fn version_async( &self, req: &VersionRequest, ) -> Result<ClientUnaryReceiver<VersionResponse>>

Source

pub fn run_pod_sandbox_opt( &self, req: &RunPodSandboxRequest, opt: CallOption, ) -> Result<RunPodSandboxResponse>

Source

pub fn run_pod_sandbox( &self, req: &RunPodSandboxRequest, ) -> Result<RunPodSandboxResponse>

Source

pub fn run_pod_sandbox_async_opt( &self, req: &RunPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RunPodSandboxResponse>>

Source

pub fn run_pod_sandbox_async( &self, req: &RunPodSandboxRequest, ) -> Result<ClientUnaryReceiver<RunPodSandboxResponse>>

Source

pub fn stop_pod_sandbox_opt( &self, req: &StopPodSandboxRequest, opt: CallOption, ) -> Result<StopPodSandboxResponse>

Source

pub fn stop_pod_sandbox( &self, req: &StopPodSandboxRequest, ) -> Result<StopPodSandboxResponse>

Source

pub fn stop_pod_sandbox_async_opt( &self, req: &StopPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StopPodSandboxResponse>>

Source

pub fn stop_pod_sandbox_async( &self, req: &StopPodSandboxRequest, ) -> Result<ClientUnaryReceiver<StopPodSandboxResponse>>

Source

pub fn remove_pod_sandbox_opt( &self, req: &RemovePodSandboxRequest, opt: CallOption, ) -> Result<RemovePodSandboxResponse>

Source

pub fn remove_pod_sandbox( &self, req: &RemovePodSandboxRequest, ) -> Result<RemovePodSandboxResponse>

Source

pub fn remove_pod_sandbox_async_opt( &self, req: &RemovePodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RemovePodSandboxResponse>>

Source

pub fn remove_pod_sandbox_async( &self, req: &RemovePodSandboxRequest, ) -> Result<ClientUnaryReceiver<RemovePodSandboxResponse>>

Source

pub fn pod_sandbox_status_opt( &self, req: &PodSandboxStatusRequest, opt: CallOption, ) -> Result<PodSandboxStatusResponse>

Source

pub fn pod_sandbox_status( &self, req: &PodSandboxStatusRequest, ) -> Result<PodSandboxStatusResponse>

Source

pub fn pod_sandbox_status_async_opt( &self, req: &PodSandboxStatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<PodSandboxStatusResponse>>

Source

pub fn pod_sandbox_status_async( &self, req: &PodSandboxStatusRequest, ) -> Result<ClientUnaryReceiver<PodSandboxStatusResponse>>

Source

pub fn list_pod_sandbox_opt( &self, req: &ListPodSandboxRequest, opt: CallOption, ) -> Result<ListPodSandboxResponse>

Source

pub fn list_pod_sandbox( &self, req: &ListPodSandboxRequest, ) -> Result<ListPodSandboxResponse>

Source

pub fn list_pod_sandbox_async_opt( &self, req: &ListPodSandboxRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListPodSandboxResponse>>

Source

pub fn list_pod_sandbox_async( &self, req: &ListPodSandboxRequest, ) -> Result<ClientUnaryReceiver<ListPodSandboxResponse>>

Source

pub fn create_container_opt( &self, req: &CreateContainerRequest, opt: CallOption, ) -> Result<CreateContainerResponse>

Source

pub fn create_container( &self, req: &CreateContainerRequest, ) -> Result<CreateContainerResponse>

Source

pub fn create_container_async_opt( &self, req: &CreateContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<CreateContainerResponse>>

Source

pub fn create_container_async( &self, req: &CreateContainerRequest, ) -> Result<ClientUnaryReceiver<CreateContainerResponse>>

Source

pub fn start_container_opt( &self, req: &StartContainerRequest, opt: CallOption, ) -> Result<StartContainerResponse>

Source

pub fn start_container( &self, req: &StartContainerRequest, ) -> Result<StartContainerResponse>

Source

pub fn start_container_async_opt( &self, req: &StartContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StartContainerResponse>>

Source

pub fn start_container_async( &self, req: &StartContainerRequest, ) -> Result<ClientUnaryReceiver<StartContainerResponse>>

Source

pub fn stop_container_opt( &self, req: &StopContainerRequest, opt: CallOption, ) -> Result<StopContainerResponse>

Source

pub fn stop_container( &self, req: &StopContainerRequest, ) -> Result<StopContainerResponse>

Source

pub fn stop_container_async_opt( &self, req: &StopContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StopContainerResponse>>

Source

pub fn stop_container_async( &self, req: &StopContainerRequest, ) -> Result<ClientUnaryReceiver<StopContainerResponse>>

Source

pub fn remove_container_opt( &self, req: &RemoveContainerRequest, opt: CallOption, ) -> Result<RemoveContainerResponse>

Source

pub fn remove_container( &self, req: &RemoveContainerRequest, ) -> Result<RemoveContainerResponse>

Source

pub fn remove_container_async_opt( &self, req: &RemoveContainerRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<RemoveContainerResponse>>

Source

pub fn remove_container_async( &self, req: &RemoveContainerRequest, ) -> Result<ClientUnaryReceiver<RemoveContainerResponse>>

Source

pub fn list_containers_opt( &self, req: &ListContainersRequest, opt: CallOption, ) -> Result<ListContainersResponse>

Source

pub fn list_containers( &self, req: &ListContainersRequest, ) -> Result<ListContainersResponse>

Source

pub fn list_containers_async_opt( &self, req: &ListContainersRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListContainersResponse>>

Source

pub fn list_containers_async( &self, req: &ListContainersRequest, ) -> Result<ClientUnaryReceiver<ListContainersResponse>>

Source

pub fn container_status_opt( &self, req: &ContainerStatusRequest, opt: CallOption, ) -> Result<ContainerStatusResponse>

Source

pub fn container_status( &self, req: &ContainerStatusRequest, ) -> Result<ContainerStatusResponse>

Source

pub fn container_status_async_opt( &self, req: &ContainerStatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ContainerStatusResponse>>

Source

pub fn container_status_async( &self, req: &ContainerStatusRequest, ) -> Result<ClientUnaryReceiver<ContainerStatusResponse>>

Source

pub fn update_container_resources_opt( &self, req: &UpdateContainerResourcesRequest, opt: CallOption, ) -> Result<UpdateContainerResourcesResponse>

Source

pub fn update_container_resources( &self, req: &UpdateContainerResourcesRequest, ) -> Result<UpdateContainerResourcesResponse>

Source

pub fn update_container_resources_async_opt( &self, req: &UpdateContainerResourcesRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<UpdateContainerResourcesResponse>>

Source

pub fn update_container_resources_async( &self, req: &UpdateContainerResourcesRequest, ) -> Result<ClientUnaryReceiver<UpdateContainerResourcesResponse>>

Source

pub fn reopen_container_log_opt( &self, req: &ReopenContainerLogRequest, opt: CallOption, ) -> Result<ReopenContainerLogResponse>

Source

pub fn reopen_container_log( &self, req: &ReopenContainerLogRequest, ) -> Result<ReopenContainerLogResponse>

Source

pub fn reopen_container_log_async_opt( &self, req: &ReopenContainerLogRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ReopenContainerLogResponse>>

Source

pub fn reopen_container_log_async( &self, req: &ReopenContainerLogRequest, ) -> Result<ClientUnaryReceiver<ReopenContainerLogResponse>>

Source

pub fn exec_sync_opt( &self, req: &ExecSyncRequest, opt: CallOption, ) -> Result<ExecSyncResponse>

Source

pub fn exec_sync(&self, req: &ExecSyncRequest) -> Result<ExecSyncResponse>

Source

pub fn exec_sync_async_opt( &self, req: &ExecSyncRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ExecSyncResponse>>

Source

pub fn exec_sync_async( &self, req: &ExecSyncRequest, ) -> Result<ClientUnaryReceiver<ExecSyncResponse>>

Source

pub fn exec_opt( &self, req: &ExecRequest, opt: CallOption, ) -> Result<ExecResponse>

Source

pub fn exec(&self, req: &ExecRequest) -> Result<ExecResponse>

Source

pub fn exec_async_opt( &self, req: &ExecRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ExecResponse>>

Source

pub fn exec_async( &self, req: &ExecRequest, ) -> Result<ClientUnaryReceiver<ExecResponse>>

Source

pub fn attach_opt( &self, req: &AttachRequest, opt: CallOption, ) -> Result<AttachResponse>

Source

pub fn attach(&self, req: &AttachRequest) -> Result<AttachResponse>

Source

pub fn attach_async_opt( &self, req: &AttachRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<AttachResponse>>

Source

pub fn attach_async( &self, req: &AttachRequest, ) -> Result<ClientUnaryReceiver<AttachResponse>>

Source

pub fn port_forward_opt( &self, req: &PortForwardRequest, opt: CallOption, ) -> Result<PortForwardResponse>

Source

pub fn port_forward( &self, req: &PortForwardRequest, ) -> Result<PortForwardResponse>

Source

pub fn port_forward_async_opt( &self, req: &PortForwardRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<PortForwardResponse>>

Source

pub fn port_forward_async( &self, req: &PortForwardRequest, ) -> Result<ClientUnaryReceiver<PortForwardResponse>>

Source

pub fn container_stats_opt( &self, req: &ContainerStatsRequest, opt: CallOption, ) -> Result<ContainerStatsResponse>

Source

pub fn container_stats( &self, req: &ContainerStatsRequest, ) -> Result<ContainerStatsResponse>

Source

pub fn container_stats_async_opt( &self, req: &ContainerStatsRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ContainerStatsResponse>>

Source

pub fn container_stats_async( &self, req: &ContainerStatsRequest, ) -> Result<ClientUnaryReceiver<ContainerStatsResponse>>

Source

pub fn list_container_stats_opt( &self, req: &ListContainerStatsRequest, opt: CallOption, ) -> Result<ListContainerStatsResponse>

Source

pub fn list_container_stats( &self, req: &ListContainerStatsRequest, ) -> Result<ListContainerStatsResponse>

Source

pub fn list_container_stats_async_opt( &self, req: &ListContainerStatsRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<ListContainerStatsResponse>>

Source

pub fn list_container_stats_async( &self, req: &ListContainerStatsRequest, ) -> Result<ClientUnaryReceiver<ListContainerStatsResponse>>

Source

pub fn update_runtime_config_opt( &self, req: &UpdateRuntimeConfigRequest, opt: CallOption, ) -> Result<UpdateRuntimeConfigResponse>

Source

pub fn update_runtime_config( &self, req: &UpdateRuntimeConfigRequest, ) -> Result<UpdateRuntimeConfigResponse>

Source

pub fn update_runtime_config_async_opt( &self, req: &UpdateRuntimeConfigRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<UpdateRuntimeConfigResponse>>

Source

pub fn update_runtime_config_async( &self, req: &UpdateRuntimeConfigRequest, ) -> Result<ClientUnaryReceiver<UpdateRuntimeConfigResponse>>

Source

pub fn status_opt( &self, req: &StatusRequest, opt: CallOption, ) -> Result<StatusResponse>

Source

pub fn status(&self, req: &StatusRequest) -> Result<StatusResponse>

Source

pub fn status_async_opt( &self, req: &StatusRequest, opt: CallOption, ) -> Result<ClientUnaryReceiver<StatusResponse>>

Source

pub fn status_async( &self, req: &StatusRequest, ) -> Result<ClientUnaryReceiver<StatusResponse>>

Source

pub fn spawn<F>(&self, f: F)
where F: Future<Output = ()> + Send + 'static,

Trait Implementations§

Source§

impl Clone for RuntimeServiceClient

Source§

fn clone(&self) -> RuntimeServiceClient

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.