api/types: remove deprecated container-types
These types were deprecated in v25.0, and moved to api/types/container; This patch removes the aliases for; - api/types.ResizeOptions (deprecated in95b92b1f97
) - api/types.ContainerAttachOptions (deprecated in30f09b4a1a
) - api/types.ContainerCommitOptions (deprecated in9498d897ab
) - api/types.ContainerRemoveOptions (deprecated in0f77875220
) - api/types.ContainerStartOptions (deprecated in7bce33eb0f
) - api/types.ContainerListOptions (deprecated in9670d9364d
) - api/types.ContainerLogsOptions (deprecated inebef4efb88
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4b09bc2145
commit
13f46948dd
1 changed files with 0 additions and 38 deletions
|
@ -1,47 +1,9 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/api/types/image"
|
||||
)
|
||||
|
||||
// ContainerStartOptions holds parameters to start containers.
|
||||
//
|
||||
// Deprecated: use [container.StartOptions].
|
||||
type ContainerStartOptions = container.StartOptions
|
||||
|
||||
// ResizeOptions holds parameters to resize a TTY.
|
||||
// It can be used to resize container TTYs and
|
||||
// exec process TTYs too.
|
||||
//
|
||||
// Deprecated: use [container.ResizeOptions].
|
||||
type ResizeOptions = container.ResizeOptions
|
||||
|
||||
// ContainerAttachOptions holds parameters to attach to a container.
|
||||
//
|
||||
// Deprecated: use [container.AttachOptions].
|
||||
type ContainerAttachOptions = container.AttachOptions
|
||||
|
||||
// ContainerCommitOptions holds parameters to commit changes into a container.
|
||||
//
|
||||
// Deprecated: use [container.CommitOptions].
|
||||
type ContainerCommitOptions = container.CommitOptions
|
||||
|
||||
// ContainerListOptions holds parameters to list containers with.
|
||||
//
|
||||
// Deprecated: use [container.ListOptions].
|
||||
type ContainerListOptions = container.ListOptions
|
||||
|
||||
// ContainerLogsOptions holds parameters to filter logs with.
|
||||
//
|
||||
// Deprecated: use [container.LogsOptions].
|
||||
type ContainerLogsOptions = container.LogsOptions
|
||||
|
||||
// ContainerRemoveOptions holds parameters to remove containers.
|
||||
//
|
||||
// Deprecated: use [container.RemoveOptions].
|
||||
type ContainerRemoveOptions = container.RemoveOptions
|
||||
|
||||
// ImageImportOptions holds information to import images from the client host.
|
||||
//
|
||||
// Deprecated: use [image.ImportOptions].
|
||||
|
|
Loading…
Reference in a new issue