mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-31 14:44:50 +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
|
||||
}
|
||||
|
||||
// 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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.",
|
||||
|
Reference in New Issue
Block a user