@@ -23,9 +23,9 @@ type Spec struct {
2323
2424 // Linux is platform-specific configuration for Linux based containers.
2525 Linux * Linux `json:"linux,omitempty" platform:"linux"`
26- // Solaris is platform-specific configuration for Solaris containers.
26+ // Solaris is platform-specific configuration for Solaris based containers.
2727 Solaris * Solaris `json:"solaris,omitempty" platform:"solaris"`
28- // Windows is platform-specific configuration for Windows based containers, including Hyper-V containers .
28+ // Windows is platform-specific configuration for Windows based containers.
2929 Windows * Windows `json:"windows,omitempty" platform:"windows"`
3030}
3131
@@ -144,9 +144,9 @@ type Hooks struct {
144144
145145// Linux contains platform-specific configuration for Linux based containers.
146146type Linux struct {
147- // UIDMapping specifies user mappings for supporting user namespaces on Linux .
147+ // UIDMapping specifies user mappings for supporting user namespaces.
148148 UIDMappings []LinuxIDMapping `json:"uidMappings,omitempty"`
149- // GIDMapping specifies group mappings for supporting user namespaces on Linux .
149+ // GIDMapping specifies group mappings for supporting user namespaces.
150150 GIDMappings []LinuxIDMapping `json:"gidMappings,omitempty"`
151151 // Sysctl are a set of key value pairs that are set for the container on start
152152 Sysctl map [string ]string `json:"sysctl,omitempty"`
@@ -178,7 +178,7 @@ type Linux struct {
178178
179179// LinuxNamespace is the configuration for a Linux namespace
180180type LinuxNamespace struct {
181- // Type is the type of Linux namespace
181+ // Type is the type of namespace
182182 Type LinuxNamespaceType `json:"type"`
183183 // Path is a path to an existing namespace persisted on disk that can be joined
184184 // and is of the same type
0 commit comments