Struct Client

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

Implementations§

Source§

impl Client

Source

pub async fn artifact_extract( &self, options: ArtifactExtractOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn artifact_list(&self) -> Result<ArtifactList, Error>

Source§

impl Client

Source

pub async fn artifact_pull( &self, options: ArtifactPullOptions<'_>, ) -> Result<ArtifactPull, Error>

Source§

impl Client

Source

pub async fn artifact_push( &self, options: ArtifactPushOptions<'_>, ) -> Result<ArtifactPush, Error>

Source§

impl Client

Source

pub async fn artifact_remove( &self, options: ArtifactRemoveOptions<'_>, ) -> Result<ArtifactRemove, Error>

Source§

impl Client

Source

pub fn new(socket_path: &str) -> Self

Source

pub fn socket_path(&self) -> &str

Source§

impl Client

Source§

impl Client

Source

pub async fn container_commit( &self, options: ContainerCommitOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source

pub async fn container_exists( &self, options: ContainerExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_initialize( &self, options: ContainerInitializeOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_kill( &self, options: ContainerKillOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source

pub async fn container_mount( &self, options: ContainerMountOptions<'_>, ) -> Result<ContainerMount, Error>

Source§

impl Client

Source

pub async fn container_pause( &self, options: ContainerPauseOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn container_rename( &self, options: ContainerRenameOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_restart( &self, options: ContainerRestartOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn container_restore( &self, options: ContainerRestoreOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_start( &self, options: ContainerStartOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_stop( &self, options: ContainerStopOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_unmount( &self, options: ContainerUnmountOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn container_unpause( &self, options: ContainerUnpauseOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn container_wait( &self, options: ContainerWaitOptions<'_>, ) -> Result<ContainerWait, Error>

Source§

impl Client

Source

pub async fn exec_create( &self, options: ExecCreateOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn exec_inspect( &self, options: ExecInspectOptions<'_>, ) -> Result<ExecInspect, Error>

Source§

impl Client

Source

pub async fn exec_resize( &self, options: ExecResizeOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn exec_start( &self, options: ExecStartOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn image_copy( &self, options: ImageCopyOptions<'_>, ) -> Result<ImageCopy, Error>

Source§

impl Client

Source

pub async fn image_create( &self, options: Option<ImageCreateOptions<'_>>, ) -> Result<ImageCreate, Error>

Source§

impl Client

Source

pub async fn image_exists( &self, options: ImageExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn image_history( &self, options: ImageHistoryOptions<'_>, ) -> Result<ImageHistory, Error>

Source§

impl Client

Source

pub async fn image_inspect( &self, options: ImageInspectOptions<'_>, ) -> Result<ImageInspect, Error>

Source§

impl Client

Source

pub async fn image_list( &self, options: Option<ImageListOptions<'_>>, ) -> Result<ImageList, Error>

Source§

impl Client

Source

pub async fn image_prune( &self, options: Option<ImagePruneOptions<'_>>, ) -> Result<ImagePrune, Error>

Source§

impl Client

Source

pub async fn image_pull( &self, options: Option<ImagePullOptions<'_>>, ) -> Result<ImagePull, Error>

Source§

impl Client

Source

pub async fn image_push( &self, options: ImagePushOptions<'_>, ) -> Result<ImagePush, Error>

Source§

impl Client

Source

pub async fn image_remove( &self, options: ImageRemoveOptions<'_>, ) -> Result<ImageRemove, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn resolve( &self, options: ImageResolveOptions<'_>, ) -> Result<ImageResolve, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn image_tag(&self, options: ImageTagOptions<'_>) -> Result<(), Error>

Source§

impl Client

Source

pub async fn image_tree( &self, options: ImageTreeOptions<'_>, ) -> Result<ImageTree, Error>

Source§

impl Client

Source

pub async fn image_untag( &self, options: ImageUntagOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn manifest_create( &self, options: ManifestCreateOptions<'_>, ) -> Result<ManifestCreate, Error>

Source§

impl Client

Source

pub async fn manifest_delete( &self, options: ManifestDeleteOptions<'_>, ) -> Result<ManifestDelete, Error>

Source§

impl Client

Source

pub async fn manifest_exists( &self, options: ManifestExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn manifest_modify( &self, options: ManifestModifyOptions<'_>, ) -> Result<ManifestModify, Error>

Source§

impl Client

Source§

impl Client

Source§

impl Client

Source

pub async fn network_connect( &self, options: NetworkConnectOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn network_disconnect( &self, options: NetworkDisconnectOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn network_exists( &self, options: NetworkExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn network_inspect( &self, options: NetworkInspectOptions<'_>, ) -> Result<NetworkInspect, Error>

Source§

impl Client

Source

pub async fn network_list( &self, options: Option<NetworkListOptions<'_>>, ) -> Result<NetworkList, Error>

Source§

impl Client

Source

pub async fn network_prune( &self, options: Option<NetworkPruneOptions<'_>>, ) -> Result<NetworkPrune, Error>

Source§

impl Client

Source

pub async fn network_remove( &self, options: NetworkRemoveOptions<'_>, ) -> Result<NetworkRemove, Error>

Source§

impl Client

Source

pub async fn network_update( &self, options: NetworkUpdateOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn pod_create( &self, options: PodCreateOptions, ) -> Result<PodCreate, Error>

Source§

impl Client

Source

pub async fn pod_exists( &self, options: PodExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn pod_inspect( &self, options: PodInspectOptions<'_>, ) -> Result<PodInspect, Error>

Source§

impl Client

Source

pub async fn pod_kill( &self, options: PodKillOptions<'_>, ) -> Result<PodKill, Error>

Source§

impl Client

Source

pub async fn pod_kube_apply( &self, options: PodKubeApplyOptions<'_>, ) -> Result<PodKubeApply, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn pod_kube_play( &self, options: PodKubePlayOptions<'_>, ) -> Result<PodKubePlay, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn pod_list( &self, options: Option<PodListOptions<'_>>, ) -> Result<PodList, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn pod_pause( &self, options: PodPauseOptions<'_>, ) -> Result<PodPause, Error>

Source§

impl Client

Source

pub async fn pod_prune(&self) -> Result<PodPrune, Error>

Source§

impl Client

Source

pub async fn pod_remove( &self, options: PodRemoveOptions<'_>, ) -> Result<PodRemove, Error>

Source§

impl Client

Source

pub async fn pod_restart( &self, options: PodRestartOptions<'_>, ) -> Result<PodRestart, Error>

Source§

impl Client

Source

pub async fn pod_start( &self, options: PodStartOptions<'_>, ) -> Result<PodStart, Error>

Source§

impl Client

Source

pub async fn pod_stats( &self, options: Option<PodStatsOptions<'_>>, ) -> Result<PodStats, Error>

Source§

impl Client

Source

pub async fn pod_stop( &self, options: PodStopOptions<'_>, ) -> Result<PodStop, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn pod_unpause( &self, options: PodUnpauseOptions<'_>, ) -> Result<PodUnpause, Error>

Source§

impl Client

Source

pub async fn secret_create( &self, options: SecretCreateOptions<'_>, ) -> Result<SecretCreate, Error>

Source§

impl Client

Source

pub async fn secret_exists( &self, options: SecretExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn secret_list( &self, options: Option<SecretListOptions<'_>>, ) -> Result<SecretList, Error>

Source§

impl Client

Source

pub async fn secret_remove( &self, options: SecretRemoveOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn system_check( &self, options: Option<SystemCheckOptions<'_>>, ) -> Result<SystemCheck, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn system_info(&self) -> Result<SystemInfo, Error>

Source§

impl Client

Source

pub async fn system_ping(&self) -> Result<SystemPing, Error>

Source§

impl Client

Source

pub async fn system_prune(&self) -> Result<SystemPrune, Error>

Source§

impl Client

Source§

impl Client

Source

pub async fn volume_create( &self, options: VolumeCreateOptions<'_>, ) -> Result<VolumeCreate, Error>

Source§

impl Client

Source

pub async fn volume_exists( &self, options: VolumeExistsOptions<'_>, ) -> Result<(), Error>

Source§

impl Client

Source

pub async fn volume_inspect( &self, options: VolumeInspectOptions<'_>, ) -> Result<VolumeInspect, Error>

Source§

impl Client

Source

pub async fn volume_list( &self, options: Option<VolumeListOptions<'_>>, ) -> Result<VolumeList, Error>

Source§

impl Client

Source

pub async fn volume_prune( &self, options: Option<VolumePruneOptions<'_>>, ) -> Result<VolumePrune, Error>

Source§

impl Client

Source

pub async fn volume_remove( &self, options: VolumeRemoveOptions<'_>, ) -> Result<(), Error>

Auto Trait Implementations§

§

impl Freeze for Client

§

impl RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl UnwindSafe for Client

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> 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, 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.
Source§

impl<T> ErasedDestructor for T
where T: 'static,