chore: map new container properties to Docker container configs

This commit is contained in:
Pavel Sviderski
2025-04-24 17:24:58 +10:00
parent 7db8bba6ea
commit 72bf34632f
4 changed files with 55 additions and 5 deletions
+5
View File
@@ -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