mirror of
https://github.com/containers/podman.git
synced 2025-12-11 01:11:30 +08:00
Moving from Go module v4 to v5 prepares us for public releases. Move done using gomove [1] as with the v3 and v4 moves. [1] https://github.com/KSubedi/gomove Signed-off-by: Matt Heon <mheon@redhat.com>
42 lines
1.2 KiB
Go
42 lines
1.2 KiB
Go
package entities
|
|
|
|
import "github.com/containers/podman/v5/libpod/define"
|
|
|
|
type ListReporter struct {
|
|
Name string
|
|
Default bool
|
|
Created string
|
|
Running bool
|
|
Starting bool
|
|
LastUp string
|
|
Stream string
|
|
VMType string
|
|
CPUs uint64
|
|
Memory string
|
|
DiskSize string
|
|
Port int
|
|
RemoteUsername string
|
|
IdentityPath string
|
|
UserModeNetworking bool
|
|
}
|
|
|
|
// MachineInfo contains info on the machine host and version info
|
|
type MachineInfo struct {
|
|
Host *MachineHostInfo `json:"Host"`
|
|
Version define.Version `json:"Version"`
|
|
}
|
|
|
|
// MachineHostInfo contains info on the machine host
|
|
type MachineHostInfo struct {
|
|
Arch string `json:"Arch"`
|
|
CurrentMachine string `json:"CurrentMachine"`
|
|
DefaultMachine string `json:"DefaultMachine"`
|
|
EventsDir string `json:"EventsDir"`
|
|
MachineConfigDir string `json:"MachineConfigDir"`
|
|
MachineImageDir string `json:"MachineImageDir"`
|
|
MachineState string `json:"MachineState"`
|
|
NumberOfMachines int `json:"NumberOfMachines"`
|
|
OS string `json:"OS"`
|
|
VMType string `json:"VMType"`
|
|
}
|