forked from vieter-v/vieter
feat(server): partial implementation of BuildLog API filter
This commit is contained in:
parent
596da100b6
commit
31e903ebeb
3 changed files with 47 additions and 4 deletions
|
|
@ -26,3 +26,16 @@ pub fn (bl &BuildLog) str() string {
|
|||
|
||||
return str
|
||||
}
|
||||
|
||||
[params]
|
||||
pub struct BuildLogFilter {
|
||||
pub mut:
|
||||
limit u64 = 25
|
||||
offset u64
|
||||
repo int
|
||||
before time.Time
|
||||
after time.Time
|
||||
exit_codes_whitelist []u8
|
||||
exit_codes_blacklist []u8
|
||||
arch string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue