Update go-runc to afca56d262e694d9056e937a0877a39ab879aeb4
This includes fixes for --console-socket in runc as well as additional APIs for runc commands. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
7101c7a9e2
commit
b895c98358
3 changed files with 67 additions and 29 deletions
5
vendor/github.com/crosbymichael/go-runc/events.go
generated
vendored
5
vendor/github.com/crosbymichael/go-runc/events.go
generated
vendored
|
@ -1,9 +1,14 @@
|
|||
package runc
|
||||
|
||||
type Event struct {
|
||||
// Type are the event type generated by runc
|
||||
// If the type is "error" then check the Err field on the event for
|
||||
// the actual error
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
Stats *Stats `json:"data,omitempty"`
|
||||
// Err has a read error if we were unable to decode the event from runc
|
||||
Err error `json:"-"`
|
||||
}
|
||||
|
||||
type Stats struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue