mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: map new container properties to Docker container configs
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
package api
|
||||
|
||||
const (
|
||||
MilliCore = 1_000_000
|
||||
Core = 1000 * MilliCore
|
||||
)
|
||||
|
||||
type ContainerResources struct {
|
||||
// CPU is the maximum amount of CPU nanocores (1000000000 = 1 CPU core) the container can use.
|
||||
CPU int64
|
||||
|
||||
Reference in New Issue
Block a user