MCPcopy
hub / github.com/opencontainers/runc / Status

Method Status

libcontainer/container_linux.go:93–97  ·  view source on GitHub ↗

Status returns the current status of the container.

()

Source from the content-addressed store, hash-verified

91
92// Status returns the current status of the container.
93func (c *Container) Status() (Status, error) {
94 c.m.Lock()
95 defer c.m.Unlock()
96 return c.currentStatus()
97}
98
99// State returns the current container's state information.
100func (c *Container) State() (*State, error) {

Callers 10

start.goFile · 0.80
delete.goFile · 0.80
execProcessFunction · 0.80
state.goFile · 0.80
checkpoint.goFile · 0.80
events.goFile · 0.80
getContainersFunction · 0.80
Example_containerFunction · 0.80
testFreezeFunction · 0.80
testCheckpointFunction · 0.80

Calls 1

currentStatusMethod · 0.95

Tested by 3

Example_containerFunction · 0.64
testFreezeFunction · 0.64
testCheckpointFunction · 0.64