github.com/containers/podman/v4@v4.9.4/pkg/bindings/volumes/types.go (about) 1 package volumes 2 3 // CreateOptions are optional options for creating volumes 4 // 5 //go:generate go run ../generator/generator.go CreateOptions 6 type CreateOptions struct { 7 } 8 9 // InspectOptions are optional options for inspecting volumes 10 // 11 //go:generate go run ../generator/generator.go InspectOptions 12 type InspectOptions struct { 13 } 14 15 // ListOptions are optional options for listing volumes 16 // 17 //go:generate go run ../generator/generator.go ListOptions 18 type ListOptions struct { 19 // Filters applied to the listing of volumes 20 Filters map[string][]string 21 } 22 23 // PruneOptions are optional options for pruning volumes 24 // 25 //go:generate go run ../generator/generator.go PruneOptions 26 type PruneOptions struct { 27 // Filters applied to the pruning of volumes 28 Filters map[string][]string 29 } 30 31 // RemoveOptions are optional options for removing volumes 32 // 33 //go:generate go run ../generator/generator.go RemoveOptions 34 type RemoveOptions struct { 35 // Force removes the volume even if it is being used 36 Force *bool 37 Timeout *uint 38 } 39 40 // ExistsOptions are optional options for checking 41 // if a volume exists 42 // 43 //go:generate go run ../generator/generator.go ExistsOptions 44 type ExistsOptions struct { 45 }