weldr: implement cancel route

This commit is contained in:
Lars Karlitski 2020-06-11 13:04:00 +02:00 committed by Ondřej Budai
parent 27acd03b68
commit be10efeb1e
2 changed files with 56 additions and 0 deletions

View file

@ -324,6 +324,11 @@ type DeleteComposeResponseV0 struct {
Errors []ResponseError `json:"errors"`
}
type CancelComposeStatusV0 struct {
UUID uuid.UUID `json:"uuid"`
Status bool `json:"status"`
}
// NOTE: This does not include the lorax-composer specific 'config' field
type ComposeInfoResponseV0 struct {
ID uuid.UUID `json:"id"`