Initial commit
This commit is contained in:
11
api/v1/types.go
Normal file
11
api/v1/types.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package v1
|
||||
|
||||
type State struct {
|
||||
Containers []Container `json:"containers"`
|
||||
}
|
||||
|
||||
type Container struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
BundlePath string `json:"bundlePath,omitempty"`
|
||||
Processes []int `json:"processes,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user