aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-22 12:51:49 +0200
committerGitHub <noreply@github.com>2022-07-22 12:51:49 +0200
commit9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6 (patch)
tree06234d7baf93999a58f052add1ffeacbf454c508 /pkg/domain/entities
parent1f357892521e6b5f8b9dd877b54b2cf9be96b826 (diff)
parent88b57dd9f1cb56c65e2ccce9979ce7e89c20a855 (diff)
downloadpodman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.gz
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.bz2
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.zip
Merge pull request #15010 from Luap99/machine-e2e
enable linter for pkg/machine/e2e
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/machine.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/domain/entities/machine.go b/pkg/domain/entities/machine.go
index 6ba53dbd1..4fd0413c9 100644
--- a/pkg/domain/entities/machine.go
+++ b/pkg/domain/entities/machine.go
@@ -1,5 +1,7 @@
package entities
+import "github.com/containers/podman/v4/libpod/define"
+
type ListReporter struct {
Name string
Default bool
@@ -16,3 +18,23 @@ type ListReporter struct {
RemoteUsername string
IdentityPath string
}
+
+// 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"`
+}