"description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
"description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
},
"configMap":{
"$ref":"v1.ConfigMapVolumeSource",
"description":"ConfigMap represents a configMap that should populate this volume"
}
}
}
}
},
},
...
@@ -5224,6 +5228,41 @@
...
@@ -5224,6 +5228,41 @@
}
}
}
}
},
},
"v1.ConfigMapVolumeSource":{
"id":"v1.ConfigMapVolumeSource",
"description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"properties":{
"name":{
"type":"string",
"description":"Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names"
},
"items":{
"type":"array",
"items":{
"$ref":"v1.KeyToPath"
},
"description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'."
}
}
},
"v1.KeyToPath":{
"id":"v1.KeyToPath",
"description":"Maps a string key to a path within a volume.",
"required":[
"key",
"path"
],
"properties":{
"key":{
"type":"string",
"description":"The key to project."
},
"path":{
"type":"string",
"description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."
}
}
},
"v1.Container":{
"v1.Container":{
"id":"v1.Container",
"id":"v1.Container",
"description":"A single application container that you want to run within a pod.",
"description":"A single application container that you want to run within a pod.",
"description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
"description":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
},
"configMap":{
"$ref":"v1.ConfigMapVolumeSource",
"description":"ConfigMap represents a configMap that should populate this volume"
}
}
}
}
},
},
...
@@ -15633,6 +15637,41 @@
...
@@ -15633,6 +15637,41 @@
}
}
}
}
},
},
"v1.ConfigMapVolumeSource":{
"id":"v1.ConfigMapVolumeSource",
"description":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"properties":{
"name":{
"type":"string",
"description":"Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names"
},
"items":{
"type":"array",
"items":{
"$ref":"v1.KeyToPath"
},
"description":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'."
}
}
},
"v1.KeyToPath":{
"id":"v1.KeyToPath",
"description":"Maps a string key to a path within a volume.",
"required":[
"key",
"path"
],
"properties":{
"key":{
"type":"string",
"description":"The key to project."
},
"path":{
"type":"string",
"description":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'."
}
}
},
"v1.Container":{
"v1.Container":{
"id":"v1.Container",
"id":"v1.Container",
"description":"A single application container that you want to run within a pod.",
"description":"A single application container that you want to run within a pod.",
<p>The contents of the target ConfigMap’s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Name of the referent. More info: <ahref="http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names">http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the <em>..</em> path or start with <em>..</em>.</p></td>
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
<p>StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.</p>
...
@@ -3883,6 +3927,47 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
...
@@ -3883,6 +3927,47 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
</div>
</div>
<divclass="sect2">
<divclass="sect2">
<h3id="_v1_keytopath">v1.KeyToPath</h3>
<divclass="paragraph">
<p>Maps a string key to a path within a volume.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">The relative path of the file to map the key to. May not be an absolute path. May not contain the path element <em>..</em>. May not start with the string <em>..</em>.</p></td>
"":"Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"items":"If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.",
"":"Maps a string key to a path within a volume.",
"key":"The key to project.",
"path":"The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.",
}
func(KeyToPath)SwaggerDoc()map[string]string{
returnmap_KeyToPath
}
varmap_Lifecycle=map[string]string{
varmap_Lifecycle=map[string]string{
"":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.",
"":"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.",
"postStart":"PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details",
"postStart":"PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details",
...
@@ -1555,6 +1574,7 @@ var map_VolumeSource = map[string]string{
...
@@ -1555,6 +1574,7 @@ var map_VolumeSource = map[string]string{
"downwardAPI":"DownwardAPI represents downward API about the pod that should populate this volume",
"downwardAPI":"DownwardAPI represents downward API about the pod that should populate this volume",
"fc":"FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
"fc":"FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.",
"azureFile":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
"azureFile":"AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
"configMap":"ConfigMap represents a configMap that should populate this volume",