@@ -22,9 +22,9 @@ type Spec struct {
22
22
Annotations map [string ]string `json:"annotations,omitempty"`
23
23
24
24
// Linux is platform specific configuration for Linux based containers.
25
- Linux Linux `json:"linux" platform:"linux,omitempty"`
25
+ Linux * Linux `json:"linux" platform:"linux,omitempty"`
26
26
// Solaris is platform specific configuration for Solaris containers.
27
- Solaris Solaris `json:"solaris" platform:"solaris,omitempty"`
27
+ Solaris * Solaris `json:"solaris" platform:"solaris,omitempty"`
28
28
}
29
29
30
30
// Process contains information to start a specific application inside the container.
@@ -371,9 +371,9 @@ type Solaris struct {
371
371
// Specification for automatic creation of network resources for this container.
372
372
Anet []Anet `json:"anet,omitempty"`
373
373
// Set limit on the amount of CPU time that can be used by container.
374
- CappedCPU CappedCPU `json:"cappedCPU,omitempty"`
374
+ CappedCPU * CappedCPU `json:"cappedCPU,omitempty"`
375
375
// The physical and swap caps on the memory that can be used by this container.
376
- CappedMemory CappedMemory `json:"cappedMemory,omitempty"`
376
+ CappedMemory * CappedMemory `json:"cappedMemory,omitempty"`
377
377
}
378
378
379
379
// CappedCPU allows users to set limit on the amount of CPU time that can be used by container.
0 commit comments