mirror of
https://github.com/docker/cli.git
synced 2026-09-28 10:15:56 -04:00
vendor: github.com/moby/moby/api v1.56.0-dev (b9b109e4d341)
full diff: https://github.com/moby/moby/compare/api/v1.55.0...b9b109e4d341 Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
+1
@@ -454,6 +454,7 @@ type HostConfig struct {
|
||||
ShmSize int64 // Total shm memory usage
|
||||
Sysctls map[string]string `json:",omitempty"` // List of Namespaced sysctls used for the container
|
||||
Runtime string `json:",omitempty"` // Runtime to use with this container
|
||||
Umask *uint32 `json:",omitempty"` // Initial process umask
|
||||
|
||||
// Applicable to Windows
|
||||
Isolation Isolation // Isolation technology of the container (e.g. default, hyperv)
|
||||
|
||||
+5
-1
@@ -72,7 +72,11 @@ type InspectResponse struct {
|
||||
// run on (especially for Windows).
|
||||
OsVersion string `json:",omitempty"`
|
||||
|
||||
// Size is the total size of the image including all layers it is composed of.
|
||||
// Size is the total size of the selected image variant, including all layers
|
||||
// it is composed of.
|
||||
//
|
||||
// When using the containerd image store, this includes both the image content
|
||||
// that's present locally and the unpacked snapshot data.
|
||||
Size int64
|
||||
|
||||
// GraphDriver holds information about the storage driver used to store the
|
||||
|
||||
+10
-7
@@ -1,9 +1,5 @@
|
||||
package plugin
|
||||
|
||||
import (
|
||||
"sort"
|
||||
)
|
||||
|
||||
// ListResponse contains the response for the Engine API
|
||||
type ListResponse []Plugin
|
||||
|
||||
@@ -15,19 +11,26 @@ type Privilege struct {
|
||||
Value []string
|
||||
}
|
||||
|
||||
// Privileges is a list of Privilege
|
||||
// Privileges is a list of Privilege.
|
||||
type Privileges []Privilege
|
||||
|
||||
// Len implements [sort.Interface].
|
||||
//
|
||||
// Deprecated: use [slices.SortFunc] to sort privileges instead.
|
||||
func (s Privileges) Len() int {
|
||||
return len(s)
|
||||
}
|
||||
|
||||
// Less implements [sort.Interface].
|
||||
//
|
||||
// Deprecated: use [slices.SortFunc] to sort privileges instead.
|
||||
func (s Privileges) Less(i, j int) bool {
|
||||
return s[i].Name < s[j].Name
|
||||
}
|
||||
|
||||
// Swap implements [sort.Interface].
|
||||
//
|
||||
// Deprecated: use [slices.SortFunc] to sort privileges instead.
|
||||
func (s Privileges) Swap(i, j int) {
|
||||
sort.Strings(s[i].Value)
|
||||
sort.Strings(s[j].Value)
|
||||
s[i], s[j] = s[j], s[i]
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -168,7 +168,7 @@ github.com/moby/go-archive
|
||||
github.com/moby/go-archive/compression
|
||||
github.com/moby/go-archive/internal/archiveoptions
|
||||
github.com/moby/go-archive/tarheader
|
||||
# github.com/moby/moby/api v1.55.0
|
||||
# github.com/moby/moby/api v1.55.1-0.20260903164743-b9b109e4d341
|
||||
## explicit; go 1.24
|
||||
github.com/moby/moby/api/pkg/authconfig
|
||||
github.com/moby/moby/api/pkg/stdcopy
|
||||
|
||||
Reference in New Issue
Block a user