mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
refactor info
the current implementation of info, while typed, is very loosely done so. we need stronger types for our apiv2 implmentation and bindings. Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -5,7 +5,6 @@ import (
|
||||
"net"
|
||||
|
||||
"github.com/containers/libpod/libpod/define"
|
||||
|
||||
"k8s.io/client-go/tools/remotecommand"
|
||||
)
|
||||
|
||||
@ -122,7 +121,7 @@ type OCIRuntime interface {
|
||||
ExitFilePath(ctr *Container) (string, error)
|
||||
|
||||
// RuntimeInfo returns verbose information about the runtime.
|
||||
RuntimeInfo() (map[string]interface{}, error)
|
||||
RuntimeInfo() (*define.ConmonInfo, *define.OCIRuntimeInfo, error)
|
||||
}
|
||||
|
||||
// ExecOptions are options passed into ExecContainer. They control the command
|
||||
|
Reference in New Issue
Block a user