mirror of
https://github.com/containers/podman.git
synced 2025-07-27 10:22:49 +08:00
podman-remote inspect
base enablement of the inspect command. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
API.md
cmd/podman
libpod
adapter
boltdb_state.goboltdb_state_linux.goboltdb_state_unsupported.gocommon_test.gocontainer.gocontainer_internal.gocontainer_internal_test.goruntime_ctr.gopkg/varlinkapi
test/e2e
@ -118,15 +118,6 @@ func (s *PodmanSessionIntegration) InspectPodToJSON() libpod.PodInspect {
|
||||
return i
|
||||
}
|
||||
|
||||
// InspectImageJSON takes the session output of an inspect
|
||||
// image and returns json
|
||||
func (s *PodmanSessionIntegration) InspectImageJSON() []inspect.ImageData {
|
||||
var i []inspect.ImageData
|
||||
err := json.Unmarshal(s.Out.Contents(), &i)
|
||||
Expect(err).To(BeNil())
|
||||
return i
|
||||
}
|
||||
|
||||
// CreatePod creates a pod with no infra container
|
||||
// it optionally takes a pod name
|
||||
func (p *PodmanTestIntegration) CreatePod(name string) (*PodmanSessionIntegration, int, string) {
|
||||
|
Reference in New Issue
Block a user