Commit 37d42870 authored by NickrenREN's avatar NickrenREN

auto generated code

parent 87cebae7
...@@ -74526,6 +74526,10 @@ ...@@ -74526,6 +74526,10 @@
"description": "Driver is the name of the driver to use for this volume. Required.", "description": "Driver is the name of the driver to use for this volume. Required.",
"type": "string" "type": "string"
}, },
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"readOnly": { "readOnly": {
"description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
"type": "boolean" "type": "boolean"
...@@ -21320,6 +21320,10 @@ ...@@ -21320,6 +21320,10 @@
"readOnly": { "readOnly": {
"type": "boolean", "type": "boolean",
"description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."
},
"fsType": {
"type": "string",
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."
} }
} }
}, },
......
...@@ -7857,6 +7857,13 @@ Examples:<br> ...@@ -7857,6 +7857,13 @@ Examples:<br>
<td class="tableblock halign-left valign-top"><p class="tableblock">boolean</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">boolean</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
</tr> </tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">fsType</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
</tbody> </tbody>
</table> </table>
......
...@@ -619,6 +619,7 @@ func autoConvert_v1_CSIPersistentVolumeSource_To_core_CSIPersistentVolumeSource( ...@@ -619,6 +619,7 @@ func autoConvert_v1_CSIPersistentVolumeSource_To_core_CSIPersistentVolumeSource(
out.Driver = in.Driver out.Driver = in.Driver
out.VolumeHandle = in.VolumeHandle out.VolumeHandle = in.VolumeHandle
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
out.FSType = in.FSType
return nil return nil
} }
...@@ -631,6 +632,7 @@ func autoConvert_core_CSIPersistentVolumeSource_To_v1_CSIPersistentVolumeSource( ...@@ -631,6 +632,7 @@ func autoConvert_core_CSIPersistentVolumeSource_To_v1_CSIPersistentVolumeSource(
out.Driver = in.Driver out.Driver = in.Driver
out.VolumeHandle = in.VolumeHandle out.VolumeHandle = in.VolumeHandle
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
out.FSType = in.FSType
return nil return nil
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -185,6 +185,12 @@ message CSIPersistentVolumeSource { ...@@ -185,6 +185,12 @@ message CSIPersistentVolumeSource {
// Defaults to false (read/write). // Defaults to false (read/write).
// +optional // +optional
optional bool readOnly = 3; optional bool readOnly = 3;
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// +optional
optional string fsType = 4;
} }
// Adds and removes POSIX capabilities from running containers. // Adds and removes POSIX capabilities from running containers.
......
...@@ -121,6 +121,7 @@ var map_CSIPersistentVolumeSource = map[string]string{ ...@@ -121,6 +121,7 @@ var map_CSIPersistentVolumeSource = map[string]string{
"driver": "Driver is the name of the driver to use for this volume. Required.", "driver": "Driver is the name of the driver to use for this volume. Required.",
"volumeHandle": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.", "volumeHandle": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.",
"readOnly": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", "readOnly": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
"fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
} }
func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string { func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment