chore: map new container properties to Docker container configs

This commit is contained in:
Pavel Sviderski committed 2025-04-24 17:24:58 +10:00
1 parent 7db8bba6ea
commit 72bf34632f
4 files changed
+55 -5

No files matched your search

+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