Add funcs for events endpoint
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3a30ea0c4f
commit
510c9c852b
3 changed files with 43 additions and 2 deletions
|
@ -31,8 +31,8 @@ type User struct {
|
|||
}
|
||||
|
||||
type Process struct {
|
||||
Terminal bool `json:"terminal,omitempty"`
|
||||
User User `json:"user,omitempty"`
|
||||
Terminal bool `json:"terminal"`
|
||||
User User `json:"user"`
|
||||
Args []string `json:"args,omitempty"`
|
||||
Env []string `json:"env,omitempty"`
|
||||
Cwd string `json:"cwd,omitempty"`
|
||||
|
@ -42,3 +42,9 @@ type Process struct {
|
|||
type Signal struct {
|
||||
Signal int `json:"signal"`
|
||||
}
|
||||
|
||||
type Event struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id,omitempty"`
|
||||
Status int `json:"status,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue