mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-04 08:35:10 +00:00
Replacing “Pod Injection Policy” with “Pod Preset” in the code documentation
Kubernetes-commit: 66f45195afd0b867d9c2befa5d43824723569758
This commit is contained in:
committed by
Kubernetes Publisher
parent
1b8c2a3e22
commit
f1648c6391
@@ -34,7 +34,7 @@ type PodPreset struct {
|
|||||||
Spec PodPresetSpec
|
Spec PodPresetSpec
|
||||||
}
|
}
|
||||||
|
|
||||||
// PodPresetSpec is a description of a pod injection policy.
|
// PodPresetSpec is a description of a pod preset.
|
||||||
type PodPresetSpec struct {
|
type PodPresetSpec struct {
|
||||||
// Selector is a label query over a set of resources, in this case pods.
|
// Selector is a label query over a set of resources, in this case pods.
|
||||||
// Required.
|
// Required.
|
||||||
|
@@ -51,7 +51,7 @@ message PodPresetList {
|
|||||||
repeated PodPreset items = 2;
|
repeated PodPreset items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// PodPresetSpec is a description of a pod injection policy.
|
// PodPresetSpec is a description of a pod preset.
|
||||||
message PodPresetSpec {
|
message PodPresetSpec {
|
||||||
// Selector is a label query over a set of resources, in this case pods.
|
// Selector is a label query over a set of resources, in this case pods.
|
||||||
// Required.
|
// Required.
|
||||||
|
@@ -34,7 +34,7 @@ type PodPreset struct {
|
|||||||
Spec PodPresetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
|
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 {
|
type PodPresetSpec struct {
|
||||||
// Selector is a label query over a set of resources, in this case pods.
|
// Selector is a label query over a set of resources, in this case pods.
|
||||||
// Required.
|
// Required.
|
||||||
|
@@ -46,7 +46,7 @@ func (PodPresetList) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_PodPresetSpec = 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.",
|
"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.",
|
"env": "Env defines the collection of EnvVar to inject into containers.",
|
||||||
"envFrom": "EnvFrom defines the collection of EnvFromSource to inject into containers.",
|
"envFrom": "EnvFrom defines the collection of EnvFromSource to inject into containers.",
|
||||||
|
Reference in New Issue
Block a user