add generate file

This commit is contained in:
wackxu 2018-04-13 15:11:43 +08:00
parent fde414601e
commit 2f648ede63
5 changed files with 14 additions and 12 deletions

View File

@ -77022,13 +77022,13 @@
} }
}, },
"io.k8s.api.core.v1.LocalVolumeSource": { "io.k8s.api.core.v1.LocalVolumeSource": {
"description": "Local represents directly-attached storage with node affinity", "description": "Local represents directly-attached storage with node affinity (Beta feature)",
"required": [ "required": [
"path" "path"
], ],
"properties": { "properties": {
"path": { "path": {
"description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.",
"type": "string" "type": "string"
} }
} }

View File

@ -19949,14 +19949,14 @@
}, },
"v1.LocalVolumeSource": { "v1.LocalVolumeSource": {
"id": "v1.LocalVolumeSource", "id": "v1.LocalVolumeSource",
"description": "Local represents directly-attached storage with node affinity", "description": "Local represents directly-attached storage with node affinity (Beta feature)",
"required": [ "required": [
"path" "path"
], ],
"properties": { "properties": {
"path": { "path": {
"type": "string", "type": "string",
"description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device" "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled."
} }
} }
}, },

View File

@ -6491,7 +6491,7 @@ Examples:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_localvolumesource">v1.LocalVolumeSource</h3> <h3 id="_v1_localvolumesource">v1.LocalVolumeSource</h3>
<div class="paragraph"> <div class="paragraph">
<p>Local represents directly-attached storage with node affinity</p> <p>Local represents directly-attached storage with node affinity (Beta feature)</p>
</div> </div>
<table class="tableblock frame-all grid-all" style="width:100%; "> <table class="tableblock frame-all grid-all" style="width:100%; ">
<colgroup> <colgroup>
@ -6513,7 +6513,7 @@ Examples:<br>
<tbody> <tbody>
<tr> <tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">path</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">path</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">The full path to the volume on the node. It can be either a directory or block device (disk, partition, &#8230;). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td> <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td> <td class="tableblock halign-left valign-top"></td>

View File

@ -1659,11 +1659,13 @@ message LocalObjectReference {
optional string name = 1; optional string name = 1;
} }
// Local represents directly-attached storage with node affinity // Local represents directly-attached storage with node affinity (Beta feature)
message LocalVolumeSource { message LocalVolumeSource {
// The full path to the volume on the node // The full path to the volume on the node.
// For alpha, this path must be a directory // It can be either a directory or block device (disk, partition, ...).
// Once block as a source is supported, then this path can point to a block device // Directories can be represented only by PersistentVolume with VolumeMode=Filesystem.
// Block devices can be represented only by VolumeMode=Block, which also requires the
// BlockVolume alpha feature gate to be enabled.
optional string path = 1; optional string path = 1;
} }

View File

@ -865,8 +865,8 @@ func (LocalObjectReference) SwaggerDoc() map[string]string {
} }
var map_LocalVolumeSource = map[string]string{ var map_LocalVolumeSource = map[string]string{
"": "Local represents directly-attached storage with node affinity", "": "Local represents directly-attached storage with node affinity (Beta feature)",
"path": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", "path": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.",
} }
func (LocalVolumeSource) SwaggerDoc() map[string]string { func (LocalVolumeSource) SwaggerDoc() map[string]string {