mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
NRI: include in API Info response
Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
6
vendor/github.com/moby/moby/api/types/system/info.go
generated
vendored
6
vendor/github.com/moby/moby/api/types/system/info.go
generated
vendored
@@ -74,6 +74,7 @@ type Info struct {
|
||||
FirewallBackend *FirewallInfo `json:"FirewallBackend,omitempty"`
|
||||
CDISpecDirs []string
|
||||
DiscoveredDevices []DeviceInfo `json:",omitempty"`
|
||||
NRI *NRIInfo `json:",omitempty"`
|
||||
|
||||
Containerd *ContainerdInfo `json:",omitempty"`
|
||||
|
||||
@@ -163,3 +164,8 @@ type DeviceInfo struct {
|
||||
// Example: CDI FQDN like "vendor.com/gpu=0", or other driver-specific device ID
|
||||
ID string `json:"ID"`
|
||||
}
|
||||
|
||||
// NRIInfo describes the NRI configuration.
|
||||
type NRIInfo struct {
|
||||
Info [][2]string `json:"Info,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user