diff --git a/api/types/types_deprecated.go b/api/types/types_deprecated.go index d6eef82150..37a32fac9d 100644 --- a/api/types/types_deprecated.go +++ b/api/types/types_deprecated.go @@ -5,7 +5,6 @@ import ( "github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/image" "github.com/docker/docker/api/types/swarm" - "github.com/docker/docker/api/types/system" ) // CheckpointCreateOptions holds parameters to create a checkpoint from a container. @@ -28,44 +27,6 @@ type CheckpointDeleteOptions = checkpoint.DeleteOptions // Deprecated: use [checkpoint.Summary]. type Checkpoint = checkpoint.Summary -// Info contains response of Engine API: -// GET "/info" -// -// Deprecated: use [system.Info]. -type Info = system.Info - -// Commit holds the Git-commit (SHA1) that a binary was built from, as reported -// in the version-string of external tools, such as containerd, or runC. -// -// Deprecated: use [system.Commit]. -type Commit = system.Commit - -// PluginsInfo is a temp struct holding Plugins name -// registered with docker daemon. It is used by [system.Info] struct -// -// Deprecated: use [system.PluginsInfo]. -type PluginsInfo = system.PluginsInfo - -// NetworkAddressPool is a temp struct used by [system.Info] struct. -// -// Deprecated: use [system.NetworkAddressPool]. -type NetworkAddressPool = system.NetworkAddressPool - -// Runtime describes an OCI runtime. -// -// Deprecated: use [system.Runtime]. -type Runtime = system.Runtime - -// SecurityOpt contains the name and options of a security option. -// -// Deprecated: use [system.SecurityOpt]. -type SecurityOpt = system.SecurityOpt - -// KeyValue holds a key/value pair. -// -// Deprecated: use [system.KeyValue]. -type KeyValue = system.KeyValue - // ImageDeleteResponseItem image delete response item. // // Deprecated: use [image.DeleteResponse]. @@ -129,14 +90,6 @@ type ContainerLogsOptions = container.LogsOptions // Deprecated: use [container.RemoveOptions]. type ContainerRemoveOptions = container.RemoveOptions -// DecodeSecurityOptions decodes a security options string slice to a type safe -// [system.SecurityOpt]. -// -// Deprecated: use [system.DecodeSecurityOptions]. -func DecodeSecurityOptions(opts []string) ([]system.SecurityOpt, error) { - return system.DecodeSecurityOptions(opts) -} - // ImageImportOptions holds information to import images from the client host. // // Deprecated: use [image.ImportOptions].