mirror of
https://github.com/containers/podman.git
synced 2025-12-03 19:59:39 +08:00
Commit 668d517af9 moved a lot of type definitions and by that also
copied a bucnh of swagger:model comments, this caused swagger to create
a incorrect yaml that can no longer be parsed by redoc due
"Self-referencing circular pointer".
The yaml basically defined the type with a name and the pointed to the
same name definition again so it caused a infinitive recursion where
redoc just throws an error but the swagger style ignored the case so it
seemed like it worked but obviously the type information was not
working.
Fixes #22351
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
49 lines
1.1 KiB
Go
49 lines
1.1 KiB
Go
package entities
|
|
|
|
import (
|
|
"net/url"
|
|
|
|
"github.com/containers/podman/v5/pkg/domain/entities/types"
|
|
)
|
|
|
|
// VolumeCreateOptions provides details for creating volumes
|
|
type VolumeCreateOptions = types.VolumeCreateOptions
|
|
|
|
type VolumeConfigResponse = types.VolumeConfigResponse
|
|
|
|
type VolumeRmOptions struct {
|
|
All bool
|
|
Force bool
|
|
Ignore bool
|
|
Timeout *uint
|
|
}
|
|
|
|
type VolumeRmReport = types.VolumeRmReport
|
|
|
|
type VolumeInspectReport = types.VolumeInspectReport
|
|
|
|
// VolumePruneOptions describes the options needed
|
|
// to prune a volume from the CLI
|
|
type VolumePruneOptions struct {
|
|
Filters url.Values `json:"filters" schema:"filters"`
|
|
}
|
|
|
|
type VolumeListOptions struct {
|
|
Filter map[string][]string
|
|
}
|
|
|
|
type VolumeListReport = types.VolumeListReport
|
|
|
|
// VolumeReloadReport describes the response from reload volume plugins
|
|
type VolumeReloadReport = types.VolumeReloadReport
|
|
|
|
/*
|
|
* Docker API compatibility types
|
|
*/
|
|
|
|
// VolumeMountReport describes the response from volume mount
|
|
type VolumeMountReport = types.VolumeMountReport
|
|
|
|
// VolumeUnmountReport describes the response from umounting a volume
|
|
type VolumeUnmountReport = types.VolumeUnmountReport
|