Replacing “Pod Injection Policy” with “Pod Preset” in the code documentation

Kubernetes-commit: 66f45195afd0b867d9c2befa5d43824723569758
This commit is contained in:
Nail Islamov
2017-05-08 09:13:22 +10:00
committed by Kubernetes Publisher
parent 1b8c2a3e22
commit f1648c6391
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ type PodPreset struct {
Spec PodPresetSpec
}
// PodPresetSpec is a description of a pod injection policy.
// PodPresetSpec is a description of a pod preset.
type PodPresetSpec struct {
// Selector is a label query over a set of resources, in this case pods.
// Required.

View File

@@ -51,7 +51,7 @@ message PodPresetList {
repeated PodPreset items = 2;
}
// PodPresetSpec is a description of a pod injection policy.
// PodPresetSpec is a description of a pod preset.
message PodPresetSpec {
// Selector is a label query over a set of resources, in this case pods.
// Required.

View File

@@ -34,7 +34,7 @@ type PodPreset struct {
Spec PodPresetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}
// PodPresetSpec is a description of a pod injection policy.
// PodPresetSpec is a description of a pod preset.
type PodPresetSpec struct {
// Selector is a label query over a set of resources, in this case pods.
// Required.

View File

@@ -46,7 +46,7 @@ func (PodPresetList) SwaggerDoc() map[string]string {
}
var map_PodPresetSpec = map[string]string{
"": "PodPresetSpec is a description of a pod injection policy.",
"": "PodPresetSpec is a description of a pod preset.",
"selector": "Selector is a label query over a set of resources, in this case pods. Required.",
"env": "Env defines the collection of EnvVar to inject into containers.",
"envFrom": "EnvFrom defines the collection of EnvFromSource to inject into containers.",