You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: container.go
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -9,30 +9,30 @@ type ContainerInfo interface {
9
9
10
10
// Returns the current run state of the container.
11
11
//
12
-
// Errors:
12
+
// errors:
13
13
// ContainerDestroyed - Container no longer exists,
14
-
// SystemError - System error.
15
-
RunState() (*RunState, Error)
14
+
// Systemerror - System error.
15
+
RunState() (*RunState, error)
16
16
17
17
// Returns the current config of the container.
18
18
Config() *Config
19
19
20
20
// Returns the PIDs inside this container. The PIDs are in the namespace of the calling process.
21
21
//
22
-
// Errors:
22
+
// errors:
23
23
// ContainerDestroyed - Container no longer exists,
24
-
// SystemError - System error.
24
+
// Systemerror - System error.
25
25
//
26
26
// Some of the returned PIDs may no longer refer to processes in the Container, unless
27
27
// the Container state is PAUSED in which case every PID in the slice is valid.
28
-
Processes() ([]int, Error)
28
+
Processes() ([]int, error)
29
29
30
30
// Returns statistics for the container.
31
31
//
32
-
// Errors:
32
+
// errors:
33
33
// ContainerDestroyed - Container no longer exists,
34
-
// SystemError - System error.
35
-
Stats() (*ContainerStats, Error)
34
+
// Systemerror - System error.
35
+
Stats() (*ContainerStats, error)
36
36
}
37
37
38
38
// A libcontainer container object.
@@ -45,60 +45,60 @@ type Container interface {
45
45
46
46
// Start a process inside the container. Returns the PID of the new process (in the caller process's namespace) and a channel that will return the exit status of the process whenever it dies.
47
47
//
48
-
// Errors:
48
+
// errors:
49
49
// ContainerDestroyed - Container no longer exists,
0 commit comments