mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 17:30:30 +00:00
12 lines
230 B
Go
12 lines
230 B
Go
|
package model
|
||
|
|
||
|
// ResourceLimit is the resource limit to set on pipeline steps
|
||
|
type ResourceLimit struct {
|
||
|
MemSwapLimit int64
|
||
|
MemLimit int64
|
||
|
ShmSize int64
|
||
|
CPUQuota int64
|
||
|
CPUShares int64
|
||
|
CPUSet string
|
||
|
}
|