Pods::prune
now correctly uses POST to make the request #157ImagePushOptsBuilder
optiondestination
was renamed todestinations
#158Images::push
signature changed and now it returns a stream instead of a single response #159tty::Multiplexer
now owns a copy of Podman client. It mean's that signature ofContainer::attach
andExec::start
changed.- Fixed
ContainerWaitOpts::conditions
parameter serialization - Add missing derives for
LibpodPingInfo
,Event
,Actor
,ContainerStatus
,ContainerHealth
,PodStatus
,ContainerMount
,JsonErrorDetail
,JsonError
- Add missing opts to
ContainerCheckpointOptsBuilder
:export
,file_locks
,ignore_volumes
,pre_checkpoint
,with_previous
.
- BREAKING
Exec::start
now returnsResult<Option<tty::Multiplexer>>
(wasResult<tty::Multiplexer>
) #155 - Bump models to v4.4.4
- Add
ContainerDeleteOpts::timeout
- Change
Exec::start
to async fn returning a tty::Multiplexer (the same asContainer::attach
) - Remove
Exec::new
to avoid creation of invalid execs. - Execs retrieved by id from
Execs::get
cannot be started due to no knowledge of their tty state. To start an exec instance retrieve it fromContainer::create_exec
. - Bump models to v4.3.1
- Fix type of
InspectPodInfraConfig::port_bindings
,InspectNetworkSettings::port
,InspectContainerHostConfig::port_bindings
- Add
Pod::generate_kube_yaml
- Deserialize Vec and HashMap to Option in case a value is null and unwrap a default if it is missing
- Add
PodCreateOptsBuilder::dns_server
- Add
PodCreateOptsBuilder::image_volumes
- Add
PodCreateOptsBuilder::mounts
- Add
PodCreateOptsBuilder::overlay_volumes
- Add
PodCreateOptsBuilder::portmappings
- Add
PodCreateOptsBuilder::security_opt
- Add
PodCreateOptsBuilder::service_container_id
- Add
PodCreateOptsBuilder::share_parent
- Add
PodCreateOptsBuilder::shm_size
- Add
PodCreateOptsBuilder::utsns
- Add
PodCreateOptsBuilder::volumes
- Add
PodCreateOptsBuilder::idmappings
- Add
PodCreateOptsBuilder::exit_policy
- Add
ContainerCreateOptsBuilder::chroot_directories
- Add
ContainerCreateOptsBuilder::envmerge
- Add
ContainerCreateOptsBuilder::groups
- Add
ContainerCreateOptsBuilder::health_check_on_failure_action
- Add
ContainerCreateOptsBuilder::hostusers
- Add
ContainerCreateOptsBuilder::image_os
- Add
ContainerCreateOptsBuilder::image_variant
- Add
ContainerCreateOptsBuilder::image_arch
- Add
ContainerCreateOptsBuilder::manage_password
- Add
ContainerCreateOptsBuilder::mounts
- Add
ContainerCreateOptsBuilder::passwd_entry
- Add
ImageBuildOptsBuilder::all_platforms
- Add
ImageBuildOptsBuilder::unset_env
- Add
ManifestCreateOptsBuilder::amend
- Add
ManifestImageAddOptsBuilder::os_features
- Add
ManifestPushOptsBuilder::quiet
- Add
ManifestPushOptsBuilder::tls_verify
- Add
ContainerRestoreOptsBuilder::pod
- Add
ImagesRemoveOptsBuilder::ignore
- Add
ImagesRemoveOptsBuilder::lookup_manifest
- Add
ImagePushOptsBuilder::quiet
- Add
NetworkCreateOptsBuilder::created
- Add
NetworkCreateOptsBuilder::subnets
- Add
SecretCreateOptsBuilder::driver_opts
- Add
SecretCreateOptsBuilder::labels
- Add
SystemdUnitsOptsBuilder::additional_env_variables
- Add
SystemdUnitsOptsBuilder::after
- Add
SystemdUnitsOptsBuilder::requires
- Add
SystemdUnitsOptsBuilder::wants
- Rename
SocketNotifyMode::ConmonOnly
->SocketNotifyMode::Conmon
and fix it's key when serialized - Add default implementations for
DiffType
,RestartPolicy
,ImageVolumeMode
,SeccompPolicy
,SystemdEnabled
,NetworkMode
,PullPolicy
- Change
ContainerCreateOptsBuilder::restart_policy
function to take a strongly typedopts::container::ContainerRestartPolicy
- Rename
opts::RestartPolicy
->opts::SystemdRestartPolicy
to avoid name collision - Fix
Container::attach
when connecting to a container that has allocated TTY - Fix error handling in
Images::build
- Make futures returned by methods Send + Sync
- Add
Container::restore
,Container::resize
,Container::export
- Add support for
!=
filters likelabel!=key=val
orlabel!=key
- Add missing filter function
NetworkPruneOptsBuilder::filters
- Fix
Pods::stats
endpoint - Fix all
exists
endpoints likeContainer::exists
- Fixed a typo that prevented the specification of a dockerfile when building an image. #133
- BREAKING Make the result stream of
Images::build
continuous #134 - Fix
Container::kill
- Fix API documentation hyperlinks
- Fix
Container::mount
,Container::unmount
- BREAKING
export
option is no longer available onContainerCheckpointOptsBuilder
. In place of the option, there is a newContainer::checkpoint_export
method that exports the tarball as a stream while theContainer::checkpoint
method creates a snapshot on the podman side without exporting it. - BREAKING Change stream item of
Container::logs
toTtyChunk
- BREAKING Fix typo in Container method name
healtcheck
->healthcheck
and fix the endpoint itself. - Fix return type of
Containers::prune
Transport
is no longer publicly available inconn
module- Fix
Image::history
return type - Fix
Image::untag
endpoint - Fix
Image::tree
return type - Fix
Images::export
to correctly return a stream of chunks - Fix
Secret::delete
endpoint - Fix
Manifest::remove_image
return type - Add
Manifest::delete
method - Fix
Manifest::create
endpoint to correctly include name of the manifest - Replace ManifestCreateOptsBuilder
image
method withimages
- Rename
Network::force_delete
toNetwork::remove
to match other structs - Fix
Network::delete
andNetwork::remove
return value
- Fix some generated models
- Use libpod API v4.2
- Update return type of
Network::inspect
andNetwork::create
tomodels::Network
- Update return type of
Networks::list
toVec<models::Network>
- Use simplified generic parameters wherever possible
- Add
portmappings
toContainerCreateOptsBuilder
#117 - Fix typo
referene
inPullOptsBuilder
#119 - Make Images::pull return a stream #121
- BREAKING All API structs no longer have a
'podman
lifetime. This change makes it easier to create self working objects without the lifetime hell and according to hyper client documentation it is cheap to clone and cloning is the recommended way to share a client. - Add
Container::copy_to
,Container::copy_file_into
andContainer::copy_from
methods to manipulate file transfers to and from the container. - Actually implement
Images::build
endpoint - Fix
InspectNetworkSettings::ports
type signature
- Fix
Images::prune
return type.
- Fix
port_bindings
field ofInspectContainerHostConfig
andInspectPodInfraConfig
. The value in the hashmap can be null. - Fix
PortMap
type signature.
- Fix
Container::checkpoint
endpoint and doc example - Fix return type of
ImagePushOptsBuilder::build
toImagePushOpts
- Fix
ImagePushOptsBuilder::auth
method to take builder by value rather than by mutable reference - Fix
Pod::top_stream
,Pod::stats
- it shouldn't be async - Fix
Pod::stats
- it shouldn't be async
- Add
Container::attach
method - Add
Container::changes
method - Add
Container::logs
method - Add
Container::stats
,Container::stats_stream
,Containers::stats
andContainers::stats_stream
methods - Add
Container::top
andContainer::top_stream
methods - Add
Containers::list_mounted
- Add
Image::changes
- Add
Image::tree
- Add
Images::remove
- Add
generate_systemd_units
method toPod
andContainer
- Add
generate_kube_yaml
method toPod
andContainer
- Add
Podman::play_kubernetes_yaml
- Add
Podman::remove_kubernetes_pods
- Add
Manifests::create
- Add
Manifest::inspect
- Add
Manifest::add_image
- Add
Manifest::remove_image
- Add
Manifest::push
- Add
Network::delete
andNetwork::force_delete
- Add
Networks::create
- Add
Network::inspect
- Add
Networks::list
- Add
Networks::prune
- Add
Network::disconnect_container
andContainer::disconnect
- Add
Network::connect_container
andContainer::connect
- Fix build on Windows
- Add
Image::push
- Add
Images::prune
- Add
Images::search
- Add
Images::export
- Add
Containers::prune
- Add
Container::healtcheck
- Fix return value of
Podman::info