@@ -225,7 +225,7 @@ type LinuxHugepageLimit struct {
225
225
// Pagesize is the hugepage size
226
226
Pagesize string `json:"pageSize"`
227
227
// Limit is the limit of "hugepagesize" hugetlb usage
228
- Limit int64 `json:"limit"`
228
+ Limit uint64 `json:"limit"`
229
229
}
230
230
231
231
// LinuxInterfacePriority for network interfaces
@@ -281,15 +281,15 @@ type LinuxBlockIO struct {
281
281
// LinuxMemory for Linux cgroup 'memory' resource management
282
282
type LinuxMemory struct {
283
283
// Memory limit (in bytes).
284
- Limit * int64 `json:"limit,omitempty"`
284
+ Limit * uint64 `json:"limit,omitempty"`
285
285
// Memory reservation or soft_limit (in bytes).
286
- Reservation * int64 `json:"reservation,omitempty"`
286
+ Reservation * uint64 `json:"reservation,omitempty"`
287
287
// Total memory limit (memory + swap).
288
- Swap * int64 `json:"swap,omitempty"`
288
+ Swap * uint64 `json:"swap,omitempty"`
289
289
// Kernel memory limit (in bytes).
290
- Kernel * int64 `json:"kernel,omitempty"`
290
+ Kernel * uint64 `json:"kernel,omitempty"`
291
291
// Kernel memory limit for tcp (in bytes)
292
- KernelTCP * int64 `json:"kernelTCP,omitempty"`
292
+ KernelTCP * uint64 `json:"kernelTCP,omitempty"`
293
293
// How aggressive the kernel will swap memory pages. Range from 0 to 100.
294
294
Swappiness * uint64 `json:"swappiness,omitempty"`
295
295
}
0 commit comments