generated code

Kubernetes-commit: 797dc10a0ccd89bec0b29c41613025035ed23a0f
This commit is contained in:
Ricky Pai 2017-06-21 16:36:31 -07:00 committed by Kubernetes Publisher
parent 51bf18f5e6
commit 1cd03f0805
5 changed files with 719 additions and 719 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2788,9 +2788,9 @@ message PodSpec {
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts // HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
// file if specified. This is only valid for non-hostNetwork pods. // file if specified. This is only valid for non-hostNetwork pods.
// +optional // +optional
// +patchMergeKey=IP // +patchMergeKey=ip
// +patchStrategy=merge // +patchStrategy=merge
repeated HostAlias hostMappings = 23; repeated HostAlias hostAliases = 23;
} }
// PodStatus represents information about the status of a pod. Status may trail the actual // PodStatus represents information about the status of a pod. Status may trail the actual

View File

@ -36415,7 +36415,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) {
} else { } else {
if yyq2[22] { if yyq2[22] {
z.EncSendContainerState(codecSelfer_containerMapKey1234) z.EncSendContainerState(codecSelfer_containerMapKey1234)
r.EncodeString(codecSelferC_UTF81234, string("hostMappings")) r.EncodeString(codecSelferC_UTF81234, string("hostAliases"))
z.EncSendContainerState(codecSelfer_containerMapValue1234) z.EncSendContainerState(codecSelfer_containerMapValue1234)
if x.HostAliases == nil { if x.HostAliases == nil {
r.EncodeNil() r.EncodeNil()
@ -36754,7 +36754,7 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
h.decSliceToleration((*[]Toleration)(yyv42), d) h.decSliceToleration((*[]Toleration)(yyv42), d)
} }
} }
case "hostMappings": case "hostAliases":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.HostAliases = nil x.HostAliases = nil
} else { } else {

View File

@ -2517,9 +2517,9 @@ type PodSpec struct {
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts // HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
// file if specified. This is only valid for non-hostNetwork pods. // file if specified. This is only valid for non-hostNetwork pods.
// +optional // +optional
// +patchMergeKey=IP // +patchMergeKey=ip
// +patchStrategy=merge // +patchStrategy=merge
HostAliases []HostAlias `json:"hostMappings,omitempty" patchStrategy:"merge" patchMergeKey:"IP" protobuf:"bytes,23,rep,name=hostMappings"` HostAliases []HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"ip" protobuf:"bytes,23,rep,name=hostAliases"`
} }
// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the // HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the

View File

@ -1375,7 +1375,7 @@ var map_PodSpec = map[string]string{
"affinity": "If specified, the pod's scheduling constraints", "affinity": "If specified, the pod's scheduling constraints",
"schedulerName": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "schedulerName": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
"tolerations": "If specified, the pod's tolerations.", "tolerations": "If specified, the pod's tolerations.",
"hostMappings": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "hostAliases": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
} }
func (PodSpec) SwaggerDoc() map[string]string { func (PodSpec) SwaggerDoc() map[string]string {