sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1 | /* |
| 2 | Copyright The Kubernetes Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 18 | // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto |
| 19 | |
| 20 | /* |
| 21 | Package v1 is a generated protocol buffer package. |
| 22 | |
| 23 | It is generated from these files: |
| 24 | k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto |
| 25 | |
| 26 | It has these top-level messages: |
| 27 | APIGroup |
| 28 | APIGroupList |
| 29 | APIResource |
| 30 | APIResourceList |
| 31 | APIVersions |
| 32 | CreateOptions |
| 33 | DeleteOptions |
| 34 | Duration |
| 35 | ExportOptions |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 36 | Fields |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 37 | GetOptions |
| 38 | GroupKind |
| 39 | GroupResource |
| 40 | GroupVersion |
| 41 | GroupVersionForDiscovery |
| 42 | GroupVersionKind |
| 43 | GroupVersionResource |
| 44 | Initializer |
| 45 | Initializers |
| 46 | LabelSelector |
| 47 | LabelSelectorRequirement |
| 48 | List |
| 49 | ListMeta |
| 50 | ListOptions |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 51 | ManagedFieldsEntry |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 52 | MicroTime |
| 53 | ObjectMeta |
| 54 | OwnerReference |
| 55 | Patch |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 56 | PatchOptions |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 57 | Preconditions |
| 58 | RootPaths |
| 59 | ServerAddressByClientCIDR |
| 60 | Status |
| 61 | StatusCause |
| 62 | StatusDetails |
| 63 | Time |
| 64 | Timestamp |
| 65 | TypeMeta |
| 66 | UpdateOptions |
| 67 | Verbs |
| 68 | WatchEvent |
| 69 | */ |
| 70 | package v1 |
| 71 | |
| 72 | import proto "github.com/gogo/protobuf/proto" |
| 73 | import fmt "fmt" |
| 74 | import math "math" |
| 75 | |
| 76 | import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime" |
| 77 | |
| 78 | import time "time" |
| 79 | import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types" |
| 80 | |
| 81 | import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" |
| 82 | |
| 83 | import strings "strings" |
| 84 | import reflect "reflect" |
| 85 | |
| 86 | import io "io" |
| 87 | |
| 88 | // Reference imports to suppress errors if they are not otherwise used. |
| 89 | var _ = proto.Marshal |
| 90 | var _ = fmt.Errorf |
| 91 | var _ = math.Inf |
| 92 | var _ = time.Kitchen |
| 93 | |
| 94 | // This is a compile-time assertion to ensure that this generated file |
| 95 | // is compatible with the proto package it is being compiled against. |
| 96 | // A compilation error at this line likely means your copy of the |
| 97 | // proto package needs to be updated. |
| 98 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 99 | |
| 100 | func (m *APIGroup) Reset() { *m = APIGroup{} } |
| 101 | func (*APIGroup) ProtoMessage() {} |
| 102 | func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 103 | |
| 104 | func (m *APIGroupList) Reset() { *m = APIGroupList{} } |
| 105 | func (*APIGroupList) ProtoMessage() {} |
| 106 | func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 107 | |
| 108 | func (m *APIResource) Reset() { *m = APIResource{} } |
| 109 | func (*APIResource) ProtoMessage() {} |
| 110 | func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } |
| 111 | |
| 112 | func (m *APIResourceList) Reset() { *m = APIResourceList{} } |
| 113 | func (*APIResourceList) ProtoMessage() {} |
| 114 | func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } |
| 115 | |
| 116 | func (m *APIVersions) Reset() { *m = APIVersions{} } |
| 117 | func (*APIVersions) ProtoMessage() {} |
| 118 | func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 119 | |
| 120 | func (m *CreateOptions) Reset() { *m = CreateOptions{} } |
| 121 | func (*CreateOptions) ProtoMessage() {} |
| 122 | func (*CreateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 123 | |
| 124 | func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } |
| 125 | func (*DeleteOptions) ProtoMessage() {} |
| 126 | func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 127 | |
| 128 | func (m *Duration) Reset() { *m = Duration{} } |
| 129 | func (*Duration) ProtoMessage() {} |
| 130 | func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 131 | |
| 132 | func (m *ExportOptions) Reset() { *m = ExportOptions{} } |
| 133 | func (*ExportOptions) ProtoMessage() {} |
| 134 | func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 135 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 136 | func (m *Fields) Reset() { *m = Fields{} } |
| 137 | func (*Fields) ProtoMessage() {} |
| 138 | func (*Fields) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 139 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 140 | func (m *GetOptions) Reset() { *m = GetOptions{} } |
| 141 | func (*GetOptions) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 142 | func (*GetOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 143 | |
| 144 | func (m *GroupKind) Reset() { *m = GroupKind{} } |
| 145 | func (*GroupKind) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 146 | func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 147 | |
| 148 | func (m *GroupResource) Reset() { *m = GroupResource{} } |
| 149 | func (*GroupResource) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 150 | func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 151 | |
| 152 | func (m *GroupVersion) Reset() { *m = GroupVersion{} } |
| 153 | func (*GroupVersion) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 154 | func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 155 | |
| 156 | func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} } |
| 157 | func (*GroupVersionForDiscovery) ProtoMessage() {} |
| 158 | func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) { |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 159 | return fileDescriptorGenerated, []int{14} |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 160 | } |
| 161 | |
| 162 | func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} } |
| 163 | func (*GroupVersionKind) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 164 | func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 165 | |
| 166 | func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} } |
| 167 | func (*GroupVersionResource) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 168 | func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 169 | |
| 170 | func (m *Initializer) Reset() { *m = Initializer{} } |
| 171 | func (*Initializer) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 172 | func (*Initializer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 173 | |
| 174 | func (m *Initializers) Reset() { *m = Initializers{} } |
| 175 | func (*Initializers) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 176 | func (*Initializers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 177 | |
| 178 | func (m *LabelSelector) Reset() { *m = LabelSelector{} } |
| 179 | func (*LabelSelector) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 180 | func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 181 | |
| 182 | func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } |
| 183 | func (*LabelSelectorRequirement) ProtoMessage() {} |
| 184 | func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 185 | return fileDescriptorGenerated, []int{20} |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 186 | } |
| 187 | |
| 188 | func (m *List) Reset() { *m = List{} } |
| 189 | func (*List) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 190 | func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 191 | |
| 192 | func (m *ListMeta) Reset() { *m = ListMeta{} } |
| 193 | func (*ListMeta) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 194 | func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 195 | |
| 196 | func (m *ListOptions) Reset() { *m = ListOptions{} } |
| 197 | func (*ListOptions) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 198 | func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } |
| 199 | |
| 200 | func (m *ManagedFieldsEntry) Reset() { *m = ManagedFieldsEntry{} } |
| 201 | func (*ManagedFieldsEntry) ProtoMessage() {} |
| 202 | func (*ManagedFieldsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 203 | |
| 204 | func (m *MicroTime) Reset() { *m = MicroTime{} } |
| 205 | func (*MicroTime) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 206 | func (*MicroTime) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 207 | |
| 208 | func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } |
| 209 | func (*ObjectMeta) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 210 | func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 211 | |
| 212 | func (m *OwnerReference) Reset() { *m = OwnerReference{} } |
| 213 | func (*OwnerReference) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 214 | func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 215 | |
| 216 | func (m *Patch) Reset() { *m = Patch{} } |
| 217 | func (*Patch) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 218 | func (*Patch) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } |
| 219 | |
| 220 | func (m *PatchOptions) Reset() { *m = PatchOptions{} } |
| 221 | func (*PatchOptions) ProtoMessage() {} |
| 222 | func (*PatchOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 223 | |
| 224 | func (m *Preconditions) Reset() { *m = Preconditions{} } |
| 225 | func (*Preconditions) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 226 | func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 227 | |
| 228 | func (m *RootPaths) Reset() { *m = RootPaths{} } |
| 229 | func (*RootPaths) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 230 | func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 231 | |
| 232 | func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} } |
| 233 | func (*ServerAddressByClientCIDR) ProtoMessage() {} |
| 234 | func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 235 | return fileDescriptorGenerated, []int{32} |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 236 | } |
| 237 | |
| 238 | func (m *Status) Reset() { *m = Status{} } |
| 239 | func (*Status) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 240 | func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 241 | |
| 242 | func (m *StatusCause) Reset() { *m = StatusCause{} } |
| 243 | func (*StatusCause) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 244 | func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 245 | |
| 246 | func (m *StatusDetails) Reset() { *m = StatusDetails{} } |
| 247 | func (*StatusDetails) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 248 | func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 249 | |
| 250 | func (m *Time) Reset() { *m = Time{} } |
| 251 | func (*Time) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 252 | func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 253 | |
| 254 | func (m *Timestamp) Reset() { *m = Timestamp{} } |
| 255 | func (*Timestamp) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 256 | func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 257 | |
| 258 | func (m *TypeMeta) Reset() { *m = TypeMeta{} } |
| 259 | func (*TypeMeta) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 260 | func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 261 | |
| 262 | func (m *UpdateOptions) Reset() { *m = UpdateOptions{} } |
| 263 | func (*UpdateOptions) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 264 | func (*UpdateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 265 | |
| 266 | func (m *Verbs) Reset() { *m = Verbs{} } |
| 267 | func (*Verbs) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 268 | func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 269 | |
| 270 | func (m *WatchEvent) Reset() { *m = WatchEvent{} } |
| 271 | func (*WatchEvent) ProtoMessage() {} |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 272 | func (*WatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 273 | |
| 274 | func init() { |
| 275 | proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup") |
| 276 | proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList") |
| 277 | proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource") |
| 278 | proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList") |
| 279 | proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions") |
| 280 | proto.RegisterType((*CreateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions") |
| 281 | proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions") |
| 282 | proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration") |
| 283 | proto.RegisterType((*ExportOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions") |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 284 | proto.RegisterType((*Fields)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Fields") |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 285 | proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions") |
| 286 | proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind") |
| 287 | proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource") |
| 288 | proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion") |
| 289 | proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery") |
| 290 | proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind") |
| 291 | proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource") |
| 292 | proto.RegisterType((*Initializer)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializer") |
| 293 | proto.RegisterType((*Initializers)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializers") |
| 294 | proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector") |
| 295 | proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement") |
| 296 | proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List") |
| 297 | proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta") |
| 298 | proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions") |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 299 | proto.RegisterType((*ManagedFieldsEntry)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry") |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 300 | proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime") |
| 301 | proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta") |
| 302 | proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference") |
| 303 | proto.RegisterType((*Patch)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Patch") |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 304 | proto.RegisterType((*PatchOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions") |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 305 | proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions") |
| 306 | proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths") |
| 307 | proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR") |
| 308 | proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status") |
| 309 | proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause") |
| 310 | proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails") |
| 311 | proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time") |
| 312 | proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp") |
| 313 | proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta") |
| 314 | proto.RegisterType((*UpdateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions") |
| 315 | proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs") |
| 316 | proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent") |
| 317 | } |
| 318 | func (m *APIGroup) Marshal() (dAtA []byte, err error) { |
| 319 | size := m.Size() |
| 320 | dAtA = make([]byte, size) |
| 321 | n, err := m.MarshalTo(dAtA) |
| 322 | if err != nil { |
| 323 | return nil, err |
| 324 | } |
| 325 | return dAtA[:n], nil |
| 326 | } |
| 327 | |
| 328 | func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) { |
| 329 | var i int |
| 330 | _ = i |
| 331 | var l int |
| 332 | _ = l |
| 333 | dAtA[i] = 0xa |
| 334 | i++ |
| 335 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 336 | i += copy(dAtA[i:], m.Name) |
| 337 | if len(m.Versions) > 0 { |
| 338 | for _, msg := range m.Versions { |
| 339 | dAtA[i] = 0x12 |
| 340 | i++ |
| 341 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 342 | n, err := msg.MarshalTo(dAtA[i:]) |
| 343 | if err != nil { |
| 344 | return 0, err |
| 345 | } |
| 346 | i += n |
| 347 | } |
| 348 | } |
| 349 | dAtA[i] = 0x1a |
| 350 | i++ |
| 351 | i = encodeVarintGenerated(dAtA, i, uint64(m.PreferredVersion.Size())) |
| 352 | n1, err := m.PreferredVersion.MarshalTo(dAtA[i:]) |
| 353 | if err != nil { |
| 354 | return 0, err |
| 355 | } |
| 356 | i += n1 |
| 357 | if len(m.ServerAddressByClientCIDRs) > 0 { |
| 358 | for _, msg := range m.ServerAddressByClientCIDRs { |
| 359 | dAtA[i] = 0x22 |
| 360 | i++ |
| 361 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 362 | n, err := msg.MarshalTo(dAtA[i:]) |
| 363 | if err != nil { |
| 364 | return 0, err |
| 365 | } |
| 366 | i += n |
| 367 | } |
| 368 | } |
| 369 | return i, nil |
| 370 | } |
| 371 | |
| 372 | func (m *APIGroupList) Marshal() (dAtA []byte, err error) { |
| 373 | size := m.Size() |
| 374 | dAtA = make([]byte, size) |
| 375 | n, err := m.MarshalTo(dAtA) |
| 376 | if err != nil { |
| 377 | return nil, err |
| 378 | } |
| 379 | return dAtA[:n], nil |
| 380 | } |
| 381 | |
| 382 | func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) { |
| 383 | var i int |
| 384 | _ = i |
| 385 | var l int |
| 386 | _ = l |
| 387 | if len(m.Groups) > 0 { |
| 388 | for _, msg := range m.Groups { |
| 389 | dAtA[i] = 0xa |
| 390 | i++ |
| 391 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 392 | n, err := msg.MarshalTo(dAtA[i:]) |
| 393 | if err != nil { |
| 394 | return 0, err |
| 395 | } |
| 396 | i += n |
| 397 | } |
| 398 | } |
| 399 | return i, nil |
| 400 | } |
| 401 | |
| 402 | func (m *APIResource) Marshal() (dAtA []byte, err error) { |
| 403 | size := m.Size() |
| 404 | dAtA = make([]byte, size) |
| 405 | n, err := m.MarshalTo(dAtA) |
| 406 | if err != nil { |
| 407 | return nil, err |
| 408 | } |
| 409 | return dAtA[:n], nil |
| 410 | } |
| 411 | |
| 412 | func (m *APIResource) MarshalTo(dAtA []byte) (int, error) { |
| 413 | var i int |
| 414 | _ = i |
| 415 | var l int |
| 416 | _ = l |
| 417 | dAtA[i] = 0xa |
| 418 | i++ |
| 419 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 420 | i += copy(dAtA[i:], m.Name) |
| 421 | dAtA[i] = 0x10 |
| 422 | i++ |
| 423 | if m.Namespaced { |
| 424 | dAtA[i] = 1 |
| 425 | } else { |
| 426 | dAtA[i] = 0 |
| 427 | } |
| 428 | i++ |
| 429 | dAtA[i] = 0x1a |
| 430 | i++ |
| 431 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 432 | i += copy(dAtA[i:], m.Kind) |
| 433 | if m.Verbs != nil { |
| 434 | dAtA[i] = 0x22 |
| 435 | i++ |
| 436 | i = encodeVarintGenerated(dAtA, i, uint64(m.Verbs.Size())) |
| 437 | n2, err := m.Verbs.MarshalTo(dAtA[i:]) |
| 438 | if err != nil { |
| 439 | return 0, err |
| 440 | } |
| 441 | i += n2 |
| 442 | } |
| 443 | if len(m.ShortNames) > 0 { |
| 444 | for _, s := range m.ShortNames { |
| 445 | dAtA[i] = 0x2a |
| 446 | i++ |
| 447 | l = len(s) |
| 448 | for l >= 1<<7 { |
| 449 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 450 | l >>= 7 |
| 451 | i++ |
| 452 | } |
| 453 | dAtA[i] = uint8(l) |
| 454 | i++ |
| 455 | i += copy(dAtA[i:], s) |
| 456 | } |
| 457 | } |
| 458 | dAtA[i] = 0x32 |
| 459 | i++ |
| 460 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName))) |
| 461 | i += copy(dAtA[i:], m.SingularName) |
| 462 | if len(m.Categories) > 0 { |
| 463 | for _, s := range m.Categories { |
| 464 | dAtA[i] = 0x3a |
| 465 | i++ |
| 466 | l = len(s) |
| 467 | for l >= 1<<7 { |
| 468 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 469 | l >>= 7 |
| 470 | i++ |
| 471 | } |
| 472 | dAtA[i] = uint8(l) |
| 473 | i++ |
| 474 | i += copy(dAtA[i:], s) |
| 475 | } |
| 476 | } |
| 477 | dAtA[i] = 0x42 |
| 478 | i++ |
| 479 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 480 | i += copy(dAtA[i:], m.Group) |
| 481 | dAtA[i] = 0x4a |
| 482 | i++ |
| 483 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 484 | i += copy(dAtA[i:], m.Version) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 485 | dAtA[i] = 0x52 |
| 486 | i++ |
| 487 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageVersionHash))) |
| 488 | i += copy(dAtA[i:], m.StorageVersionHash) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 489 | return i, nil |
| 490 | } |
| 491 | |
| 492 | func (m *APIResourceList) Marshal() (dAtA []byte, err error) { |
| 493 | size := m.Size() |
| 494 | dAtA = make([]byte, size) |
| 495 | n, err := m.MarshalTo(dAtA) |
| 496 | if err != nil { |
| 497 | return nil, err |
| 498 | } |
| 499 | return dAtA[:n], nil |
| 500 | } |
| 501 | |
| 502 | func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) { |
| 503 | var i int |
| 504 | _ = i |
| 505 | var l int |
| 506 | _ = l |
| 507 | dAtA[i] = 0xa |
| 508 | i++ |
| 509 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) |
| 510 | i += copy(dAtA[i:], m.GroupVersion) |
| 511 | if len(m.APIResources) > 0 { |
| 512 | for _, msg := range m.APIResources { |
| 513 | dAtA[i] = 0x12 |
| 514 | i++ |
| 515 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 516 | n, err := msg.MarshalTo(dAtA[i:]) |
| 517 | if err != nil { |
| 518 | return 0, err |
| 519 | } |
| 520 | i += n |
| 521 | } |
| 522 | } |
| 523 | return i, nil |
| 524 | } |
| 525 | |
| 526 | func (m *APIVersions) Marshal() (dAtA []byte, err error) { |
| 527 | size := m.Size() |
| 528 | dAtA = make([]byte, size) |
| 529 | n, err := m.MarshalTo(dAtA) |
| 530 | if err != nil { |
| 531 | return nil, err |
| 532 | } |
| 533 | return dAtA[:n], nil |
| 534 | } |
| 535 | |
| 536 | func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) { |
| 537 | var i int |
| 538 | _ = i |
| 539 | var l int |
| 540 | _ = l |
| 541 | if len(m.Versions) > 0 { |
| 542 | for _, s := range m.Versions { |
| 543 | dAtA[i] = 0xa |
| 544 | i++ |
| 545 | l = len(s) |
| 546 | for l >= 1<<7 { |
| 547 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 548 | l >>= 7 |
| 549 | i++ |
| 550 | } |
| 551 | dAtA[i] = uint8(l) |
| 552 | i++ |
| 553 | i += copy(dAtA[i:], s) |
| 554 | } |
| 555 | } |
| 556 | if len(m.ServerAddressByClientCIDRs) > 0 { |
| 557 | for _, msg := range m.ServerAddressByClientCIDRs { |
| 558 | dAtA[i] = 0x12 |
| 559 | i++ |
| 560 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 561 | n, err := msg.MarshalTo(dAtA[i:]) |
| 562 | if err != nil { |
| 563 | return 0, err |
| 564 | } |
| 565 | i += n |
| 566 | } |
| 567 | } |
| 568 | return i, nil |
| 569 | } |
| 570 | |
| 571 | func (m *CreateOptions) Marshal() (dAtA []byte, err error) { |
| 572 | size := m.Size() |
| 573 | dAtA = make([]byte, size) |
| 574 | n, err := m.MarshalTo(dAtA) |
| 575 | if err != nil { |
| 576 | return nil, err |
| 577 | } |
| 578 | return dAtA[:n], nil |
| 579 | } |
| 580 | |
| 581 | func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) { |
| 582 | var i int |
| 583 | _ = i |
| 584 | var l int |
| 585 | _ = l |
| 586 | if len(m.DryRun) > 0 { |
| 587 | for _, s := range m.DryRun { |
| 588 | dAtA[i] = 0xa |
| 589 | i++ |
| 590 | l = len(s) |
| 591 | for l >= 1<<7 { |
| 592 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 593 | l >>= 7 |
| 594 | i++ |
| 595 | } |
| 596 | dAtA[i] = uint8(l) |
| 597 | i++ |
| 598 | i += copy(dAtA[i:], s) |
| 599 | } |
| 600 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 601 | return i, nil |
| 602 | } |
| 603 | |
| 604 | func (m *DeleteOptions) Marshal() (dAtA []byte, err error) { |
| 605 | size := m.Size() |
| 606 | dAtA = make([]byte, size) |
| 607 | n, err := m.MarshalTo(dAtA) |
| 608 | if err != nil { |
| 609 | return nil, err |
| 610 | } |
| 611 | return dAtA[:n], nil |
| 612 | } |
| 613 | |
| 614 | func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) { |
| 615 | var i int |
| 616 | _ = i |
| 617 | var l int |
| 618 | _ = l |
| 619 | if m.GracePeriodSeconds != nil { |
| 620 | dAtA[i] = 0x8 |
| 621 | i++ |
| 622 | i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds)) |
| 623 | } |
| 624 | if m.Preconditions != nil { |
| 625 | dAtA[i] = 0x12 |
| 626 | i++ |
| 627 | i = encodeVarintGenerated(dAtA, i, uint64(m.Preconditions.Size())) |
| 628 | n3, err := m.Preconditions.MarshalTo(dAtA[i:]) |
| 629 | if err != nil { |
| 630 | return 0, err |
| 631 | } |
| 632 | i += n3 |
| 633 | } |
| 634 | if m.OrphanDependents != nil { |
| 635 | dAtA[i] = 0x18 |
| 636 | i++ |
| 637 | if *m.OrphanDependents { |
| 638 | dAtA[i] = 1 |
| 639 | } else { |
| 640 | dAtA[i] = 0 |
| 641 | } |
| 642 | i++ |
| 643 | } |
| 644 | if m.PropagationPolicy != nil { |
| 645 | dAtA[i] = 0x22 |
| 646 | i++ |
| 647 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy))) |
| 648 | i += copy(dAtA[i:], *m.PropagationPolicy) |
| 649 | } |
| 650 | if len(m.DryRun) > 0 { |
| 651 | for _, s := range m.DryRun { |
| 652 | dAtA[i] = 0x2a |
| 653 | i++ |
| 654 | l = len(s) |
| 655 | for l >= 1<<7 { |
| 656 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 657 | l >>= 7 |
| 658 | i++ |
| 659 | } |
| 660 | dAtA[i] = uint8(l) |
| 661 | i++ |
| 662 | i += copy(dAtA[i:], s) |
| 663 | } |
| 664 | } |
| 665 | return i, nil |
| 666 | } |
| 667 | |
| 668 | func (m *Duration) Marshal() (dAtA []byte, err error) { |
| 669 | size := m.Size() |
| 670 | dAtA = make([]byte, size) |
| 671 | n, err := m.MarshalTo(dAtA) |
| 672 | if err != nil { |
| 673 | return nil, err |
| 674 | } |
| 675 | return dAtA[:n], nil |
| 676 | } |
| 677 | |
| 678 | func (m *Duration) MarshalTo(dAtA []byte) (int, error) { |
| 679 | var i int |
| 680 | _ = i |
| 681 | var l int |
| 682 | _ = l |
| 683 | dAtA[i] = 0x8 |
| 684 | i++ |
| 685 | i = encodeVarintGenerated(dAtA, i, uint64(m.Duration)) |
| 686 | return i, nil |
| 687 | } |
| 688 | |
| 689 | func (m *ExportOptions) Marshal() (dAtA []byte, err error) { |
| 690 | size := m.Size() |
| 691 | dAtA = make([]byte, size) |
| 692 | n, err := m.MarshalTo(dAtA) |
| 693 | if err != nil { |
| 694 | return nil, err |
| 695 | } |
| 696 | return dAtA[:n], nil |
| 697 | } |
| 698 | |
| 699 | func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error) { |
| 700 | var i int |
| 701 | _ = i |
| 702 | var l int |
| 703 | _ = l |
| 704 | dAtA[i] = 0x8 |
| 705 | i++ |
| 706 | if m.Export { |
| 707 | dAtA[i] = 1 |
| 708 | } else { |
| 709 | dAtA[i] = 0 |
| 710 | } |
| 711 | i++ |
| 712 | dAtA[i] = 0x10 |
| 713 | i++ |
| 714 | if m.Exact { |
| 715 | dAtA[i] = 1 |
| 716 | } else { |
| 717 | dAtA[i] = 0 |
| 718 | } |
| 719 | i++ |
| 720 | return i, nil |
| 721 | } |
| 722 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 723 | func (m *Fields) Marshal() (dAtA []byte, err error) { |
| 724 | size := m.Size() |
| 725 | dAtA = make([]byte, size) |
| 726 | n, err := m.MarshalTo(dAtA) |
| 727 | if err != nil { |
| 728 | return nil, err |
| 729 | } |
| 730 | return dAtA[:n], nil |
| 731 | } |
| 732 | |
| 733 | func (m *Fields) MarshalTo(dAtA []byte) (int, error) { |
| 734 | var i int |
| 735 | _ = i |
| 736 | var l int |
| 737 | _ = l |
| 738 | if len(m.Map) > 0 { |
| 739 | keysForMap := make([]string, 0, len(m.Map)) |
| 740 | for k := range m.Map { |
| 741 | keysForMap = append(keysForMap, string(k)) |
| 742 | } |
| 743 | github_com_gogo_protobuf_sortkeys.Strings(keysForMap) |
| 744 | for _, k := range keysForMap { |
| 745 | dAtA[i] = 0xa |
| 746 | i++ |
| 747 | v := m.Map[string(k)] |
| 748 | msgSize := 0 |
| 749 | if (&v) != nil { |
| 750 | msgSize = (&v).Size() |
| 751 | msgSize += 1 + sovGenerated(uint64(msgSize)) |
| 752 | } |
| 753 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize |
| 754 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 755 | dAtA[i] = 0xa |
| 756 | i++ |
| 757 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 758 | i += copy(dAtA[i:], k) |
| 759 | dAtA[i] = 0x12 |
| 760 | i++ |
| 761 | i = encodeVarintGenerated(dAtA, i, uint64((&v).Size())) |
| 762 | n4, err := (&v).MarshalTo(dAtA[i:]) |
| 763 | if err != nil { |
| 764 | return 0, err |
| 765 | } |
| 766 | i += n4 |
| 767 | } |
| 768 | } |
| 769 | return i, nil |
| 770 | } |
| 771 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 772 | func (m *GetOptions) Marshal() (dAtA []byte, err error) { |
| 773 | size := m.Size() |
| 774 | dAtA = make([]byte, size) |
| 775 | n, err := m.MarshalTo(dAtA) |
| 776 | if err != nil { |
| 777 | return nil, err |
| 778 | } |
| 779 | return dAtA[:n], nil |
| 780 | } |
| 781 | |
| 782 | func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) { |
| 783 | var i int |
| 784 | _ = i |
| 785 | var l int |
| 786 | _ = l |
| 787 | dAtA[i] = 0xa |
| 788 | i++ |
| 789 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 790 | i += copy(dAtA[i:], m.ResourceVersion) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 791 | return i, nil |
| 792 | } |
| 793 | |
| 794 | func (m *GroupKind) Marshal() (dAtA []byte, err error) { |
| 795 | size := m.Size() |
| 796 | dAtA = make([]byte, size) |
| 797 | n, err := m.MarshalTo(dAtA) |
| 798 | if err != nil { |
| 799 | return nil, err |
| 800 | } |
| 801 | return dAtA[:n], nil |
| 802 | } |
| 803 | |
| 804 | func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) { |
| 805 | var i int |
| 806 | _ = i |
| 807 | var l int |
| 808 | _ = l |
| 809 | dAtA[i] = 0xa |
| 810 | i++ |
| 811 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 812 | i += copy(dAtA[i:], m.Group) |
| 813 | dAtA[i] = 0x12 |
| 814 | i++ |
| 815 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 816 | i += copy(dAtA[i:], m.Kind) |
| 817 | return i, nil |
| 818 | } |
| 819 | |
| 820 | func (m *GroupResource) Marshal() (dAtA []byte, err error) { |
| 821 | size := m.Size() |
| 822 | dAtA = make([]byte, size) |
| 823 | n, err := m.MarshalTo(dAtA) |
| 824 | if err != nil { |
| 825 | return nil, err |
| 826 | } |
| 827 | return dAtA[:n], nil |
| 828 | } |
| 829 | |
| 830 | func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) { |
| 831 | var i int |
| 832 | _ = i |
| 833 | var l int |
| 834 | _ = l |
| 835 | dAtA[i] = 0xa |
| 836 | i++ |
| 837 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 838 | i += copy(dAtA[i:], m.Group) |
| 839 | dAtA[i] = 0x12 |
| 840 | i++ |
| 841 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) |
| 842 | i += copy(dAtA[i:], m.Resource) |
| 843 | return i, nil |
| 844 | } |
| 845 | |
| 846 | func (m *GroupVersion) Marshal() (dAtA []byte, err error) { |
| 847 | size := m.Size() |
| 848 | dAtA = make([]byte, size) |
| 849 | n, err := m.MarshalTo(dAtA) |
| 850 | if err != nil { |
| 851 | return nil, err |
| 852 | } |
| 853 | return dAtA[:n], nil |
| 854 | } |
| 855 | |
| 856 | func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) { |
| 857 | var i int |
| 858 | _ = i |
| 859 | var l int |
| 860 | _ = l |
| 861 | dAtA[i] = 0xa |
| 862 | i++ |
| 863 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 864 | i += copy(dAtA[i:], m.Group) |
| 865 | dAtA[i] = 0x12 |
| 866 | i++ |
| 867 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 868 | i += copy(dAtA[i:], m.Version) |
| 869 | return i, nil |
| 870 | } |
| 871 | |
| 872 | func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) { |
| 873 | size := m.Size() |
| 874 | dAtA = make([]byte, size) |
| 875 | n, err := m.MarshalTo(dAtA) |
| 876 | if err != nil { |
| 877 | return nil, err |
| 878 | } |
| 879 | return dAtA[:n], nil |
| 880 | } |
| 881 | |
| 882 | func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) { |
| 883 | var i int |
| 884 | _ = i |
| 885 | var l int |
| 886 | _ = l |
| 887 | dAtA[i] = 0xa |
| 888 | i++ |
| 889 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) |
| 890 | i += copy(dAtA[i:], m.GroupVersion) |
| 891 | dAtA[i] = 0x12 |
| 892 | i++ |
| 893 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 894 | i += copy(dAtA[i:], m.Version) |
| 895 | return i, nil |
| 896 | } |
| 897 | |
| 898 | func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) { |
| 899 | size := m.Size() |
| 900 | dAtA = make([]byte, size) |
| 901 | n, err := m.MarshalTo(dAtA) |
| 902 | if err != nil { |
| 903 | return nil, err |
| 904 | } |
| 905 | return dAtA[:n], nil |
| 906 | } |
| 907 | |
| 908 | func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) { |
| 909 | var i int |
| 910 | _ = i |
| 911 | var l int |
| 912 | _ = l |
| 913 | dAtA[i] = 0xa |
| 914 | i++ |
| 915 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 916 | i += copy(dAtA[i:], m.Group) |
| 917 | dAtA[i] = 0x12 |
| 918 | i++ |
| 919 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 920 | i += copy(dAtA[i:], m.Version) |
| 921 | dAtA[i] = 0x1a |
| 922 | i++ |
| 923 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 924 | i += copy(dAtA[i:], m.Kind) |
| 925 | return i, nil |
| 926 | } |
| 927 | |
| 928 | func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) { |
| 929 | size := m.Size() |
| 930 | dAtA = make([]byte, size) |
| 931 | n, err := m.MarshalTo(dAtA) |
| 932 | if err != nil { |
| 933 | return nil, err |
| 934 | } |
| 935 | return dAtA[:n], nil |
| 936 | } |
| 937 | |
| 938 | func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) { |
| 939 | var i int |
| 940 | _ = i |
| 941 | var l int |
| 942 | _ = l |
| 943 | dAtA[i] = 0xa |
| 944 | i++ |
| 945 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 946 | i += copy(dAtA[i:], m.Group) |
| 947 | dAtA[i] = 0x12 |
| 948 | i++ |
| 949 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 950 | i += copy(dAtA[i:], m.Version) |
| 951 | dAtA[i] = 0x1a |
| 952 | i++ |
| 953 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) |
| 954 | i += copy(dAtA[i:], m.Resource) |
| 955 | return i, nil |
| 956 | } |
| 957 | |
| 958 | func (m *Initializer) Marshal() (dAtA []byte, err error) { |
| 959 | size := m.Size() |
| 960 | dAtA = make([]byte, size) |
| 961 | n, err := m.MarshalTo(dAtA) |
| 962 | if err != nil { |
| 963 | return nil, err |
| 964 | } |
| 965 | return dAtA[:n], nil |
| 966 | } |
| 967 | |
| 968 | func (m *Initializer) MarshalTo(dAtA []byte) (int, error) { |
| 969 | var i int |
| 970 | _ = i |
| 971 | var l int |
| 972 | _ = l |
| 973 | dAtA[i] = 0xa |
| 974 | i++ |
| 975 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 976 | i += copy(dAtA[i:], m.Name) |
| 977 | return i, nil |
| 978 | } |
| 979 | |
| 980 | func (m *Initializers) Marshal() (dAtA []byte, err error) { |
| 981 | size := m.Size() |
| 982 | dAtA = make([]byte, size) |
| 983 | n, err := m.MarshalTo(dAtA) |
| 984 | if err != nil { |
| 985 | return nil, err |
| 986 | } |
| 987 | return dAtA[:n], nil |
| 988 | } |
| 989 | |
| 990 | func (m *Initializers) MarshalTo(dAtA []byte) (int, error) { |
| 991 | var i int |
| 992 | _ = i |
| 993 | var l int |
| 994 | _ = l |
| 995 | if len(m.Pending) > 0 { |
| 996 | for _, msg := range m.Pending { |
| 997 | dAtA[i] = 0xa |
| 998 | i++ |
| 999 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1000 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1001 | if err != nil { |
| 1002 | return 0, err |
| 1003 | } |
| 1004 | i += n |
| 1005 | } |
| 1006 | } |
| 1007 | if m.Result != nil { |
| 1008 | dAtA[i] = 0x12 |
| 1009 | i++ |
| 1010 | i = encodeVarintGenerated(dAtA, i, uint64(m.Result.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1011 | n5, err := m.Result.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1012 | if err != nil { |
| 1013 | return 0, err |
| 1014 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1015 | i += n5 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1016 | } |
| 1017 | return i, nil |
| 1018 | } |
| 1019 | |
| 1020 | func (m *LabelSelector) Marshal() (dAtA []byte, err error) { |
| 1021 | size := m.Size() |
| 1022 | dAtA = make([]byte, size) |
| 1023 | n, err := m.MarshalTo(dAtA) |
| 1024 | if err != nil { |
| 1025 | return nil, err |
| 1026 | } |
| 1027 | return dAtA[:n], nil |
| 1028 | } |
| 1029 | |
| 1030 | func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) { |
| 1031 | var i int |
| 1032 | _ = i |
| 1033 | var l int |
| 1034 | _ = l |
| 1035 | if len(m.MatchLabels) > 0 { |
| 1036 | keysForMatchLabels := make([]string, 0, len(m.MatchLabels)) |
| 1037 | for k := range m.MatchLabels { |
| 1038 | keysForMatchLabels = append(keysForMatchLabels, string(k)) |
| 1039 | } |
| 1040 | github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) |
| 1041 | for _, k := range keysForMatchLabels { |
| 1042 | dAtA[i] = 0xa |
| 1043 | i++ |
| 1044 | v := m.MatchLabels[string(k)] |
| 1045 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1046 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1047 | dAtA[i] = 0xa |
| 1048 | i++ |
| 1049 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1050 | i += copy(dAtA[i:], k) |
| 1051 | dAtA[i] = 0x12 |
| 1052 | i++ |
| 1053 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 1054 | i += copy(dAtA[i:], v) |
| 1055 | } |
| 1056 | } |
| 1057 | if len(m.MatchExpressions) > 0 { |
| 1058 | for _, msg := range m.MatchExpressions { |
| 1059 | dAtA[i] = 0x12 |
| 1060 | i++ |
| 1061 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1062 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1063 | if err != nil { |
| 1064 | return 0, err |
| 1065 | } |
| 1066 | i += n |
| 1067 | } |
| 1068 | } |
| 1069 | return i, nil |
| 1070 | } |
| 1071 | |
| 1072 | func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { |
| 1073 | size := m.Size() |
| 1074 | dAtA = make([]byte, size) |
| 1075 | n, err := m.MarshalTo(dAtA) |
| 1076 | if err != nil { |
| 1077 | return nil, err |
| 1078 | } |
| 1079 | return dAtA[:n], nil |
| 1080 | } |
| 1081 | |
| 1082 | func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { |
| 1083 | var i int |
| 1084 | _ = i |
| 1085 | var l int |
| 1086 | _ = l |
| 1087 | dAtA[i] = 0xa |
| 1088 | i++ |
| 1089 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key))) |
| 1090 | i += copy(dAtA[i:], m.Key) |
| 1091 | dAtA[i] = 0x12 |
| 1092 | i++ |
| 1093 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator))) |
| 1094 | i += copy(dAtA[i:], m.Operator) |
| 1095 | if len(m.Values) > 0 { |
| 1096 | for _, s := range m.Values { |
| 1097 | dAtA[i] = 0x1a |
| 1098 | i++ |
| 1099 | l = len(s) |
| 1100 | for l >= 1<<7 { |
| 1101 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1102 | l >>= 7 |
| 1103 | i++ |
| 1104 | } |
| 1105 | dAtA[i] = uint8(l) |
| 1106 | i++ |
| 1107 | i += copy(dAtA[i:], s) |
| 1108 | } |
| 1109 | } |
| 1110 | return i, nil |
| 1111 | } |
| 1112 | |
| 1113 | func (m *List) Marshal() (dAtA []byte, err error) { |
| 1114 | size := m.Size() |
| 1115 | dAtA = make([]byte, size) |
| 1116 | n, err := m.MarshalTo(dAtA) |
| 1117 | if err != nil { |
| 1118 | return nil, err |
| 1119 | } |
| 1120 | return dAtA[:n], nil |
| 1121 | } |
| 1122 | |
| 1123 | func (m *List) MarshalTo(dAtA []byte) (int, error) { |
| 1124 | var i int |
| 1125 | _ = i |
| 1126 | var l int |
| 1127 | _ = l |
| 1128 | dAtA[i] = 0xa |
| 1129 | i++ |
| 1130 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1131 | n6, err := m.ListMeta.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1132 | if err != nil { |
| 1133 | return 0, err |
| 1134 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1135 | i += n6 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1136 | if len(m.Items) > 0 { |
| 1137 | for _, msg := range m.Items { |
| 1138 | dAtA[i] = 0x12 |
| 1139 | i++ |
| 1140 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1141 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1142 | if err != nil { |
| 1143 | return 0, err |
| 1144 | } |
| 1145 | i += n |
| 1146 | } |
| 1147 | } |
| 1148 | return i, nil |
| 1149 | } |
| 1150 | |
| 1151 | func (m *ListMeta) Marshal() (dAtA []byte, err error) { |
| 1152 | size := m.Size() |
| 1153 | dAtA = make([]byte, size) |
| 1154 | n, err := m.MarshalTo(dAtA) |
| 1155 | if err != nil { |
| 1156 | return nil, err |
| 1157 | } |
| 1158 | return dAtA[:n], nil |
| 1159 | } |
| 1160 | |
| 1161 | func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) { |
| 1162 | var i int |
| 1163 | _ = i |
| 1164 | var l int |
| 1165 | _ = l |
| 1166 | dAtA[i] = 0xa |
| 1167 | i++ |
| 1168 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) |
| 1169 | i += copy(dAtA[i:], m.SelfLink) |
| 1170 | dAtA[i] = 0x12 |
| 1171 | i++ |
| 1172 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 1173 | i += copy(dAtA[i:], m.ResourceVersion) |
| 1174 | dAtA[i] = 0x1a |
| 1175 | i++ |
| 1176 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) |
| 1177 | i += copy(dAtA[i:], m.Continue) |
| 1178 | return i, nil |
| 1179 | } |
| 1180 | |
| 1181 | func (m *ListOptions) Marshal() (dAtA []byte, err error) { |
| 1182 | size := m.Size() |
| 1183 | dAtA = make([]byte, size) |
| 1184 | n, err := m.MarshalTo(dAtA) |
| 1185 | if err != nil { |
| 1186 | return nil, err |
| 1187 | } |
| 1188 | return dAtA[:n], nil |
| 1189 | } |
| 1190 | |
| 1191 | func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1192 | var i int |
| 1193 | _ = i |
| 1194 | var l int |
| 1195 | _ = l |
| 1196 | dAtA[i] = 0xa |
| 1197 | i++ |
| 1198 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector))) |
| 1199 | i += copy(dAtA[i:], m.LabelSelector) |
| 1200 | dAtA[i] = 0x12 |
| 1201 | i++ |
| 1202 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector))) |
| 1203 | i += copy(dAtA[i:], m.FieldSelector) |
| 1204 | dAtA[i] = 0x18 |
| 1205 | i++ |
| 1206 | if m.Watch { |
| 1207 | dAtA[i] = 1 |
| 1208 | } else { |
| 1209 | dAtA[i] = 0 |
| 1210 | } |
| 1211 | i++ |
| 1212 | dAtA[i] = 0x22 |
| 1213 | i++ |
| 1214 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 1215 | i += copy(dAtA[i:], m.ResourceVersion) |
| 1216 | if m.TimeoutSeconds != nil { |
| 1217 | dAtA[i] = 0x28 |
| 1218 | i++ |
| 1219 | i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds)) |
| 1220 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1221 | dAtA[i] = 0x38 |
| 1222 | i++ |
| 1223 | i = encodeVarintGenerated(dAtA, i, uint64(m.Limit)) |
| 1224 | dAtA[i] = 0x42 |
| 1225 | i++ |
| 1226 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) |
| 1227 | i += copy(dAtA[i:], m.Continue) |
| 1228 | return i, nil |
| 1229 | } |
| 1230 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1231 | func (m *ManagedFieldsEntry) Marshal() (dAtA []byte, err error) { |
| 1232 | size := m.Size() |
| 1233 | dAtA = make([]byte, size) |
| 1234 | n, err := m.MarshalTo(dAtA) |
| 1235 | if err != nil { |
| 1236 | return nil, err |
| 1237 | } |
| 1238 | return dAtA[:n], nil |
| 1239 | } |
| 1240 | |
| 1241 | func (m *ManagedFieldsEntry) MarshalTo(dAtA []byte) (int, error) { |
| 1242 | var i int |
| 1243 | _ = i |
| 1244 | var l int |
| 1245 | _ = l |
| 1246 | dAtA[i] = 0xa |
| 1247 | i++ |
| 1248 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Manager))) |
| 1249 | i += copy(dAtA[i:], m.Manager) |
| 1250 | dAtA[i] = 0x12 |
| 1251 | i++ |
| 1252 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operation))) |
| 1253 | i += copy(dAtA[i:], m.Operation) |
| 1254 | dAtA[i] = 0x1a |
| 1255 | i++ |
| 1256 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 1257 | i += copy(dAtA[i:], m.APIVersion) |
| 1258 | if m.Time != nil { |
| 1259 | dAtA[i] = 0x22 |
| 1260 | i++ |
| 1261 | i = encodeVarintGenerated(dAtA, i, uint64(m.Time.Size())) |
| 1262 | n7, err := m.Time.MarshalTo(dAtA[i:]) |
| 1263 | if err != nil { |
| 1264 | return 0, err |
| 1265 | } |
| 1266 | i += n7 |
| 1267 | } |
| 1268 | if m.Fields != nil { |
| 1269 | dAtA[i] = 0x2a |
| 1270 | i++ |
| 1271 | i = encodeVarintGenerated(dAtA, i, uint64(m.Fields.Size())) |
| 1272 | n8, err := m.Fields.MarshalTo(dAtA[i:]) |
| 1273 | if err != nil { |
| 1274 | return 0, err |
| 1275 | } |
| 1276 | i += n8 |
| 1277 | } |
| 1278 | return i, nil |
| 1279 | } |
| 1280 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1281 | func (m *ObjectMeta) Marshal() (dAtA []byte, err error) { |
| 1282 | size := m.Size() |
| 1283 | dAtA = make([]byte, size) |
| 1284 | n, err := m.MarshalTo(dAtA) |
| 1285 | if err != nil { |
| 1286 | return nil, err |
| 1287 | } |
| 1288 | return dAtA[:n], nil |
| 1289 | } |
| 1290 | |
| 1291 | func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) { |
| 1292 | var i int |
| 1293 | _ = i |
| 1294 | var l int |
| 1295 | _ = l |
| 1296 | dAtA[i] = 0xa |
| 1297 | i++ |
| 1298 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1299 | i += copy(dAtA[i:], m.Name) |
| 1300 | dAtA[i] = 0x12 |
| 1301 | i++ |
| 1302 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName))) |
| 1303 | i += copy(dAtA[i:], m.GenerateName) |
| 1304 | dAtA[i] = 0x1a |
| 1305 | i++ |
| 1306 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) |
| 1307 | i += copy(dAtA[i:], m.Namespace) |
| 1308 | dAtA[i] = 0x22 |
| 1309 | i++ |
| 1310 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) |
| 1311 | i += copy(dAtA[i:], m.SelfLink) |
| 1312 | dAtA[i] = 0x2a |
| 1313 | i++ |
| 1314 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 1315 | i += copy(dAtA[i:], m.UID) |
| 1316 | dAtA[i] = 0x32 |
| 1317 | i++ |
| 1318 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 1319 | i += copy(dAtA[i:], m.ResourceVersion) |
| 1320 | dAtA[i] = 0x38 |
| 1321 | i++ |
| 1322 | i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) |
| 1323 | dAtA[i] = 0x42 |
| 1324 | i++ |
| 1325 | i = encodeVarintGenerated(dAtA, i, uint64(m.CreationTimestamp.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1326 | n9, err := m.CreationTimestamp.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1327 | if err != nil { |
| 1328 | return 0, err |
| 1329 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1330 | i += n9 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1331 | if m.DeletionTimestamp != nil { |
| 1332 | dAtA[i] = 0x4a |
| 1333 | i++ |
| 1334 | i = encodeVarintGenerated(dAtA, i, uint64(m.DeletionTimestamp.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1335 | n10, err := m.DeletionTimestamp.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1336 | if err != nil { |
| 1337 | return 0, err |
| 1338 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1339 | i += n10 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1340 | } |
| 1341 | if m.DeletionGracePeriodSeconds != nil { |
| 1342 | dAtA[i] = 0x50 |
| 1343 | i++ |
| 1344 | i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds)) |
| 1345 | } |
| 1346 | if len(m.Labels) > 0 { |
| 1347 | keysForLabels := make([]string, 0, len(m.Labels)) |
| 1348 | for k := range m.Labels { |
| 1349 | keysForLabels = append(keysForLabels, string(k)) |
| 1350 | } |
| 1351 | github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) |
| 1352 | for _, k := range keysForLabels { |
| 1353 | dAtA[i] = 0x5a |
| 1354 | i++ |
| 1355 | v := m.Labels[string(k)] |
| 1356 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1357 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1358 | dAtA[i] = 0xa |
| 1359 | i++ |
| 1360 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1361 | i += copy(dAtA[i:], k) |
| 1362 | dAtA[i] = 0x12 |
| 1363 | i++ |
| 1364 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 1365 | i += copy(dAtA[i:], v) |
| 1366 | } |
| 1367 | } |
| 1368 | if len(m.Annotations) > 0 { |
| 1369 | keysForAnnotations := make([]string, 0, len(m.Annotations)) |
| 1370 | for k := range m.Annotations { |
| 1371 | keysForAnnotations = append(keysForAnnotations, string(k)) |
| 1372 | } |
| 1373 | github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) |
| 1374 | for _, k := range keysForAnnotations { |
| 1375 | dAtA[i] = 0x62 |
| 1376 | i++ |
| 1377 | v := m.Annotations[string(k)] |
| 1378 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1379 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1380 | dAtA[i] = 0xa |
| 1381 | i++ |
| 1382 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1383 | i += copy(dAtA[i:], k) |
| 1384 | dAtA[i] = 0x12 |
| 1385 | i++ |
| 1386 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 1387 | i += copy(dAtA[i:], v) |
| 1388 | } |
| 1389 | } |
| 1390 | if len(m.OwnerReferences) > 0 { |
| 1391 | for _, msg := range m.OwnerReferences { |
| 1392 | dAtA[i] = 0x6a |
| 1393 | i++ |
| 1394 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1395 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1396 | if err != nil { |
| 1397 | return 0, err |
| 1398 | } |
| 1399 | i += n |
| 1400 | } |
| 1401 | } |
| 1402 | if len(m.Finalizers) > 0 { |
| 1403 | for _, s := range m.Finalizers { |
| 1404 | dAtA[i] = 0x72 |
| 1405 | i++ |
| 1406 | l = len(s) |
| 1407 | for l >= 1<<7 { |
| 1408 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1409 | l >>= 7 |
| 1410 | i++ |
| 1411 | } |
| 1412 | dAtA[i] = uint8(l) |
| 1413 | i++ |
| 1414 | i += copy(dAtA[i:], s) |
| 1415 | } |
| 1416 | } |
| 1417 | dAtA[i] = 0x7a |
| 1418 | i++ |
| 1419 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName))) |
| 1420 | i += copy(dAtA[i:], m.ClusterName) |
| 1421 | if m.Initializers != nil { |
| 1422 | dAtA[i] = 0x82 |
| 1423 | i++ |
| 1424 | dAtA[i] = 0x1 |
| 1425 | i++ |
| 1426 | i = encodeVarintGenerated(dAtA, i, uint64(m.Initializers.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1427 | n11, err := m.Initializers.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1428 | if err != nil { |
| 1429 | return 0, err |
| 1430 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1431 | i += n11 |
| 1432 | } |
| 1433 | if len(m.ManagedFields) > 0 { |
| 1434 | for _, msg := range m.ManagedFields { |
| 1435 | dAtA[i] = 0x8a |
| 1436 | i++ |
| 1437 | dAtA[i] = 0x1 |
| 1438 | i++ |
| 1439 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1440 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1441 | if err != nil { |
| 1442 | return 0, err |
| 1443 | } |
| 1444 | i += n |
| 1445 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1446 | } |
| 1447 | return i, nil |
| 1448 | } |
| 1449 | |
| 1450 | func (m *OwnerReference) Marshal() (dAtA []byte, err error) { |
| 1451 | size := m.Size() |
| 1452 | dAtA = make([]byte, size) |
| 1453 | n, err := m.MarshalTo(dAtA) |
| 1454 | if err != nil { |
| 1455 | return nil, err |
| 1456 | } |
| 1457 | return dAtA[:n], nil |
| 1458 | } |
| 1459 | |
| 1460 | func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { |
| 1461 | var i int |
| 1462 | _ = i |
| 1463 | var l int |
| 1464 | _ = l |
| 1465 | dAtA[i] = 0xa |
| 1466 | i++ |
| 1467 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 1468 | i += copy(dAtA[i:], m.Kind) |
| 1469 | dAtA[i] = 0x1a |
| 1470 | i++ |
| 1471 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1472 | i += copy(dAtA[i:], m.Name) |
| 1473 | dAtA[i] = 0x22 |
| 1474 | i++ |
| 1475 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 1476 | i += copy(dAtA[i:], m.UID) |
| 1477 | dAtA[i] = 0x2a |
| 1478 | i++ |
| 1479 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 1480 | i += copy(dAtA[i:], m.APIVersion) |
| 1481 | if m.Controller != nil { |
| 1482 | dAtA[i] = 0x30 |
| 1483 | i++ |
| 1484 | if *m.Controller { |
| 1485 | dAtA[i] = 1 |
| 1486 | } else { |
| 1487 | dAtA[i] = 0 |
| 1488 | } |
| 1489 | i++ |
| 1490 | } |
| 1491 | if m.BlockOwnerDeletion != nil { |
| 1492 | dAtA[i] = 0x38 |
| 1493 | i++ |
| 1494 | if *m.BlockOwnerDeletion { |
| 1495 | dAtA[i] = 1 |
| 1496 | } else { |
| 1497 | dAtA[i] = 0 |
| 1498 | } |
| 1499 | i++ |
| 1500 | } |
| 1501 | return i, nil |
| 1502 | } |
| 1503 | |
| 1504 | func (m *Patch) Marshal() (dAtA []byte, err error) { |
| 1505 | size := m.Size() |
| 1506 | dAtA = make([]byte, size) |
| 1507 | n, err := m.MarshalTo(dAtA) |
| 1508 | if err != nil { |
| 1509 | return nil, err |
| 1510 | } |
| 1511 | return dAtA[:n], nil |
| 1512 | } |
| 1513 | |
| 1514 | func (m *Patch) MarshalTo(dAtA []byte) (int, error) { |
| 1515 | var i int |
| 1516 | _ = i |
| 1517 | var l int |
| 1518 | _ = l |
| 1519 | return i, nil |
| 1520 | } |
| 1521 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1522 | func (m *PatchOptions) Marshal() (dAtA []byte, err error) { |
| 1523 | size := m.Size() |
| 1524 | dAtA = make([]byte, size) |
| 1525 | n, err := m.MarshalTo(dAtA) |
| 1526 | if err != nil { |
| 1527 | return nil, err |
| 1528 | } |
| 1529 | return dAtA[:n], nil |
| 1530 | } |
| 1531 | |
| 1532 | func (m *PatchOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1533 | var i int |
| 1534 | _ = i |
| 1535 | var l int |
| 1536 | _ = l |
| 1537 | if len(m.DryRun) > 0 { |
| 1538 | for _, s := range m.DryRun { |
| 1539 | dAtA[i] = 0xa |
| 1540 | i++ |
| 1541 | l = len(s) |
| 1542 | for l >= 1<<7 { |
| 1543 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1544 | l >>= 7 |
| 1545 | i++ |
| 1546 | } |
| 1547 | dAtA[i] = uint8(l) |
| 1548 | i++ |
| 1549 | i += copy(dAtA[i:], s) |
| 1550 | } |
| 1551 | } |
| 1552 | if m.Force != nil { |
| 1553 | dAtA[i] = 0x10 |
| 1554 | i++ |
| 1555 | if *m.Force { |
| 1556 | dAtA[i] = 1 |
| 1557 | } else { |
| 1558 | dAtA[i] = 0 |
| 1559 | } |
| 1560 | i++ |
| 1561 | } |
| 1562 | return i, nil |
| 1563 | } |
| 1564 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1565 | func (m *Preconditions) Marshal() (dAtA []byte, err error) { |
| 1566 | size := m.Size() |
| 1567 | dAtA = make([]byte, size) |
| 1568 | n, err := m.MarshalTo(dAtA) |
| 1569 | if err != nil { |
| 1570 | return nil, err |
| 1571 | } |
| 1572 | return dAtA[:n], nil |
| 1573 | } |
| 1574 | |
| 1575 | func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) { |
| 1576 | var i int |
| 1577 | _ = i |
| 1578 | var l int |
| 1579 | _ = l |
| 1580 | if m.UID != nil { |
| 1581 | dAtA[i] = 0xa |
| 1582 | i++ |
| 1583 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID))) |
| 1584 | i += copy(dAtA[i:], *m.UID) |
| 1585 | } |
| 1586 | return i, nil |
| 1587 | } |
| 1588 | |
| 1589 | func (m *RootPaths) Marshal() (dAtA []byte, err error) { |
| 1590 | size := m.Size() |
| 1591 | dAtA = make([]byte, size) |
| 1592 | n, err := m.MarshalTo(dAtA) |
| 1593 | if err != nil { |
| 1594 | return nil, err |
| 1595 | } |
| 1596 | return dAtA[:n], nil |
| 1597 | } |
| 1598 | |
| 1599 | func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) { |
| 1600 | var i int |
| 1601 | _ = i |
| 1602 | var l int |
| 1603 | _ = l |
| 1604 | if len(m.Paths) > 0 { |
| 1605 | for _, s := range m.Paths { |
| 1606 | dAtA[i] = 0xa |
| 1607 | i++ |
| 1608 | l = len(s) |
| 1609 | for l >= 1<<7 { |
| 1610 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1611 | l >>= 7 |
| 1612 | i++ |
| 1613 | } |
| 1614 | dAtA[i] = uint8(l) |
| 1615 | i++ |
| 1616 | i += copy(dAtA[i:], s) |
| 1617 | } |
| 1618 | } |
| 1619 | return i, nil |
| 1620 | } |
| 1621 | |
| 1622 | func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) { |
| 1623 | size := m.Size() |
| 1624 | dAtA = make([]byte, size) |
| 1625 | n, err := m.MarshalTo(dAtA) |
| 1626 | if err != nil { |
| 1627 | return nil, err |
| 1628 | } |
| 1629 | return dAtA[:n], nil |
| 1630 | } |
| 1631 | |
| 1632 | func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) { |
| 1633 | var i int |
| 1634 | _ = i |
| 1635 | var l int |
| 1636 | _ = l |
| 1637 | dAtA[i] = 0xa |
| 1638 | i++ |
| 1639 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR))) |
| 1640 | i += copy(dAtA[i:], m.ClientCIDR) |
| 1641 | dAtA[i] = 0x12 |
| 1642 | i++ |
| 1643 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress))) |
| 1644 | i += copy(dAtA[i:], m.ServerAddress) |
| 1645 | return i, nil |
| 1646 | } |
| 1647 | |
| 1648 | func (m *Status) Marshal() (dAtA []byte, err error) { |
| 1649 | size := m.Size() |
| 1650 | dAtA = make([]byte, size) |
| 1651 | n, err := m.MarshalTo(dAtA) |
| 1652 | if err != nil { |
| 1653 | return nil, err |
| 1654 | } |
| 1655 | return dAtA[:n], nil |
| 1656 | } |
| 1657 | |
| 1658 | func (m *Status) MarshalTo(dAtA []byte) (int, error) { |
| 1659 | var i int |
| 1660 | _ = i |
| 1661 | var l int |
| 1662 | _ = l |
| 1663 | dAtA[i] = 0xa |
| 1664 | i++ |
| 1665 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1666 | n12, err := m.ListMeta.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1667 | if err != nil { |
| 1668 | return 0, err |
| 1669 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1670 | i += n12 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1671 | dAtA[i] = 0x12 |
| 1672 | i++ |
| 1673 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 1674 | i += copy(dAtA[i:], m.Status) |
| 1675 | dAtA[i] = 0x1a |
| 1676 | i++ |
| 1677 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1678 | i += copy(dAtA[i:], m.Message) |
| 1679 | dAtA[i] = 0x22 |
| 1680 | i++ |
| 1681 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 1682 | i += copy(dAtA[i:], m.Reason) |
| 1683 | if m.Details != nil { |
| 1684 | dAtA[i] = 0x2a |
| 1685 | i++ |
| 1686 | i = encodeVarintGenerated(dAtA, i, uint64(m.Details.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1687 | n13, err := m.Details.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1688 | if err != nil { |
| 1689 | return 0, err |
| 1690 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1691 | i += n13 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1692 | } |
| 1693 | dAtA[i] = 0x30 |
| 1694 | i++ |
| 1695 | i = encodeVarintGenerated(dAtA, i, uint64(m.Code)) |
| 1696 | return i, nil |
| 1697 | } |
| 1698 | |
| 1699 | func (m *StatusCause) Marshal() (dAtA []byte, err error) { |
| 1700 | size := m.Size() |
| 1701 | dAtA = make([]byte, size) |
| 1702 | n, err := m.MarshalTo(dAtA) |
| 1703 | if err != nil { |
| 1704 | return nil, err |
| 1705 | } |
| 1706 | return dAtA[:n], nil |
| 1707 | } |
| 1708 | |
| 1709 | func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) { |
| 1710 | var i int |
| 1711 | _ = i |
| 1712 | var l int |
| 1713 | _ = l |
| 1714 | dAtA[i] = 0xa |
| 1715 | i++ |
| 1716 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1717 | i += copy(dAtA[i:], m.Type) |
| 1718 | dAtA[i] = 0x12 |
| 1719 | i++ |
| 1720 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1721 | i += copy(dAtA[i:], m.Message) |
| 1722 | dAtA[i] = 0x1a |
| 1723 | i++ |
| 1724 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field))) |
| 1725 | i += copy(dAtA[i:], m.Field) |
| 1726 | return i, nil |
| 1727 | } |
| 1728 | |
| 1729 | func (m *StatusDetails) Marshal() (dAtA []byte, err error) { |
| 1730 | size := m.Size() |
| 1731 | dAtA = make([]byte, size) |
| 1732 | n, err := m.MarshalTo(dAtA) |
| 1733 | if err != nil { |
| 1734 | return nil, err |
| 1735 | } |
| 1736 | return dAtA[:n], nil |
| 1737 | } |
| 1738 | |
| 1739 | func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) { |
| 1740 | var i int |
| 1741 | _ = i |
| 1742 | var l int |
| 1743 | _ = l |
| 1744 | dAtA[i] = 0xa |
| 1745 | i++ |
| 1746 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1747 | i += copy(dAtA[i:], m.Name) |
| 1748 | dAtA[i] = 0x12 |
| 1749 | i++ |
| 1750 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 1751 | i += copy(dAtA[i:], m.Group) |
| 1752 | dAtA[i] = 0x1a |
| 1753 | i++ |
| 1754 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 1755 | i += copy(dAtA[i:], m.Kind) |
| 1756 | if len(m.Causes) > 0 { |
| 1757 | for _, msg := range m.Causes { |
| 1758 | dAtA[i] = 0x22 |
| 1759 | i++ |
| 1760 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1761 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1762 | if err != nil { |
| 1763 | return 0, err |
| 1764 | } |
| 1765 | i += n |
| 1766 | } |
| 1767 | } |
| 1768 | dAtA[i] = 0x28 |
| 1769 | i++ |
| 1770 | i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds)) |
| 1771 | dAtA[i] = 0x32 |
| 1772 | i++ |
| 1773 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 1774 | i += copy(dAtA[i:], m.UID) |
| 1775 | return i, nil |
| 1776 | } |
| 1777 | |
| 1778 | func (m *Timestamp) Marshal() (dAtA []byte, err error) { |
| 1779 | size := m.Size() |
| 1780 | dAtA = make([]byte, size) |
| 1781 | n, err := m.MarshalTo(dAtA) |
| 1782 | if err != nil { |
| 1783 | return nil, err |
| 1784 | } |
| 1785 | return dAtA[:n], nil |
| 1786 | } |
| 1787 | |
| 1788 | func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 1789 | var i int |
| 1790 | _ = i |
| 1791 | var l int |
| 1792 | _ = l |
| 1793 | dAtA[i] = 0x8 |
| 1794 | i++ |
| 1795 | i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds)) |
| 1796 | dAtA[i] = 0x10 |
| 1797 | i++ |
| 1798 | i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos)) |
| 1799 | return i, nil |
| 1800 | } |
| 1801 | |
| 1802 | func (m *TypeMeta) Marshal() (dAtA []byte, err error) { |
| 1803 | size := m.Size() |
| 1804 | dAtA = make([]byte, size) |
| 1805 | n, err := m.MarshalTo(dAtA) |
| 1806 | if err != nil { |
| 1807 | return nil, err |
| 1808 | } |
| 1809 | return dAtA[:n], nil |
| 1810 | } |
| 1811 | |
| 1812 | func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) { |
| 1813 | var i int |
| 1814 | _ = i |
| 1815 | var l int |
| 1816 | _ = l |
| 1817 | dAtA[i] = 0xa |
| 1818 | i++ |
| 1819 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 1820 | i += copy(dAtA[i:], m.Kind) |
| 1821 | dAtA[i] = 0x12 |
| 1822 | i++ |
| 1823 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 1824 | i += copy(dAtA[i:], m.APIVersion) |
| 1825 | return i, nil |
| 1826 | } |
| 1827 | |
| 1828 | func (m *UpdateOptions) Marshal() (dAtA []byte, err error) { |
| 1829 | size := m.Size() |
| 1830 | dAtA = make([]byte, size) |
| 1831 | n, err := m.MarshalTo(dAtA) |
| 1832 | if err != nil { |
| 1833 | return nil, err |
| 1834 | } |
| 1835 | return dAtA[:n], nil |
| 1836 | } |
| 1837 | |
| 1838 | func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1839 | var i int |
| 1840 | _ = i |
| 1841 | var l int |
| 1842 | _ = l |
| 1843 | if len(m.DryRun) > 0 { |
| 1844 | for _, s := range m.DryRun { |
| 1845 | dAtA[i] = 0xa |
| 1846 | i++ |
| 1847 | l = len(s) |
| 1848 | for l >= 1<<7 { |
| 1849 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1850 | l >>= 7 |
| 1851 | i++ |
| 1852 | } |
| 1853 | dAtA[i] = uint8(l) |
| 1854 | i++ |
| 1855 | i += copy(dAtA[i:], s) |
| 1856 | } |
| 1857 | } |
| 1858 | return i, nil |
| 1859 | } |
| 1860 | |
| 1861 | func (m Verbs) Marshal() (dAtA []byte, err error) { |
| 1862 | size := m.Size() |
| 1863 | dAtA = make([]byte, size) |
| 1864 | n, err := m.MarshalTo(dAtA) |
| 1865 | if err != nil { |
| 1866 | return nil, err |
| 1867 | } |
| 1868 | return dAtA[:n], nil |
| 1869 | } |
| 1870 | |
| 1871 | func (m Verbs) MarshalTo(dAtA []byte) (int, error) { |
| 1872 | var i int |
| 1873 | _ = i |
| 1874 | var l int |
| 1875 | _ = l |
| 1876 | if len(m) > 0 { |
| 1877 | for _, s := range m { |
| 1878 | dAtA[i] = 0xa |
| 1879 | i++ |
| 1880 | l = len(s) |
| 1881 | for l >= 1<<7 { |
| 1882 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1883 | l >>= 7 |
| 1884 | i++ |
| 1885 | } |
| 1886 | dAtA[i] = uint8(l) |
| 1887 | i++ |
| 1888 | i += copy(dAtA[i:], s) |
| 1889 | } |
| 1890 | } |
| 1891 | return i, nil |
| 1892 | } |
| 1893 | |
| 1894 | func (m *WatchEvent) Marshal() (dAtA []byte, err error) { |
| 1895 | size := m.Size() |
| 1896 | dAtA = make([]byte, size) |
| 1897 | n, err := m.MarshalTo(dAtA) |
| 1898 | if err != nil { |
| 1899 | return nil, err |
| 1900 | } |
| 1901 | return dAtA[:n], nil |
| 1902 | } |
| 1903 | |
| 1904 | func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) { |
| 1905 | var i int |
| 1906 | _ = i |
| 1907 | var l int |
| 1908 | _ = l |
| 1909 | dAtA[i] = 0xa |
| 1910 | i++ |
| 1911 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1912 | i += copy(dAtA[i:], m.Type) |
| 1913 | dAtA[i] = 0x12 |
| 1914 | i++ |
| 1915 | i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size())) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1916 | n14, err := m.Object.MarshalTo(dAtA[i:]) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1917 | if err != nil { |
| 1918 | return 0, err |
| 1919 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1920 | i += n14 |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1921 | return i, nil |
| 1922 | } |
| 1923 | |
| 1924 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 1925 | for v >= 1<<7 { |
| 1926 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 1927 | v >>= 7 |
| 1928 | offset++ |
| 1929 | } |
| 1930 | dAtA[offset] = uint8(v) |
| 1931 | return offset + 1 |
| 1932 | } |
| 1933 | func (m *APIGroup) Size() (n int) { |
| 1934 | var l int |
| 1935 | _ = l |
| 1936 | l = len(m.Name) |
| 1937 | n += 1 + l + sovGenerated(uint64(l)) |
| 1938 | if len(m.Versions) > 0 { |
| 1939 | for _, e := range m.Versions { |
| 1940 | l = e.Size() |
| 1941 | n += 1 + l + sovGenerated(uint64(l)) |
| 1942 | } |
| 1943 | } |
| 1944 | l = m.PreferredVersion.Size() |
| 1945 | n += 1 + l + sovGenerated(uint64(l)) |
| 1946 | if len(m.ServerAddressByClientCIDRs) > 0 { |
| 1947 | for _, e := range m.ServerAddressByClientCIDRs { |
| 1948 | l = e.Size() |
| 1949 | n += 1 + l + sovGenerated(uint64(l)) |
| 1950 | } |
| 1951 | } |
| 1952 | return n |
| 1953 | } |
| 1954 | |
| 1955 | func (m *APIGroupList) Size() (n int) { |
| 1956 | var l int |
| 1957 | _ = l |
| 1958 | if len(m.Groups) > 0 { |
| 1959 | for _, e := range m.Groups { |
| 1960 | l = e.Size() |
| 1961 | n += 1 + l + sovGenerated(uint64(l)) |
| 1962 | } |
| 1963 | } |
| 1964 | return n |
| 1965 | } |
| 1966 | |
| 1967 | func (m *APIResource) Size() (n int) { |
| 1968 | var l int |
| 1969 | _ = l |
| 1970 | l = len(m.Name) |
| 1971 | n += 1 + l + sovGenerated(uint64(l)) |
| 1972 | n += 2 |
| 1973 | l = len(m.Kind) |
| 1974 | n += 1 + l + sovGenerated(uint64(l)) |
| 1975 | if m.Verbs != nil { |
| 1976 | l = m.Verbs.Size() |
| 1977 | n += 1 + l + sovGenerated(uint64(l)) |
| 1978 | } |
| 1979 | if len(m.ShortNames) > 0 { |
| 1980 | for _, s := range m.ShortNames { |
| 1981 | l = len(s) |
| 1982 | n += 1 + l + sovGenerated(uint64(l)) |
| 1983 | } |
| 1984 | } |
| 1985 | l = len(m.SingularName) |
| 1986 | n += 1 + l + sovGenerated(uint64(l)) |
| 1987 | if len(m.Categories) > 0 { |
| 1988 | for _, s := range m.Categories { |
| 1989 | l = len(s) |
| 1990 | n += 1 + l + sovGenerated(uint64(l)) |
| 1991 | } |
| 1992 | } |
| 1993 | l = len(m.Group) |
| 1994 | n += 1 + l + sovGenerated(uint64(l)) |
| 1995 | l = len(m.Version) |
| 1996 | n += 1 + l + sovGenerated(uint64(l)) |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 1997 | l = len(m.StorageVersionHash) |
| 1998 | n += 1 + l + sovGenerated(uint64(l)) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 1999 | return n |
| 2000 | } |
| 2001 | |
| 2002 | func (m *APIResourceList) Size() (n int) { |
| 2003 | var l int |
| 2004 | _ = l |
| 2005 | l = len(m.GroupVersion) |
| 2006 | n += 1 + l + sovGenerated(uint64(l)) |
| 2007 | if len(m.APIResources) > 0 { |
| 2008 | for _, e := range m.APIResources { |
| 2009 | l = e.Size() |
| 2010 | n += 1 + l + sovGenerated(uint64(l)) |
| 2011 | } |
| 2012 | } |
| 2013 | return n |
| 2014 | } |
| 2015 | |
| 2016 | func (m *APIVersions) Size() (n int) { |
| 2017 | var l int |
| 2018 | _ = l |
| 2019 | if len(m.Versions) > 0 { |
| 2020 | for _, s := range m.Versions { |
| 2021 | l = len(s) |
| 2022 | n += 1 + l + sovGenerated(uint64(l)) |
| 2023 | } |
| 2024 | } |
| 2025 | if len(m.ServerAddressByClientCIDRs) > 0 { |
| 2026 | for _, e := range m.ServerAddressByClientCIDRs { |
| 2027 | l = e.Size() |
| 2028 | n += 1 + l + sovGenerated(uint64(l)) |
| 2029 | } |
| 2030 | } |
| 2031 | return n |
| 2032 | } |
| 2033 | |
| 2034 | func (m *CreateOptions) Size() (n int) { |
| 2035 | var l int |
| 2036 | _ = l |
| 2037 | if len(m.DryRun) > 0 { |
| 2038 | for _, s := range m.DryRun { |
| 2039 | l = len(s) |
| 2040 | n += 1 + l + sovGenerated(uint64(l)) |
| 2041 | } |
| 2042 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2043 | return n |
| 2044 | } |
| 2045 | |
| 2046 | func (m *DeleteOptions) Size() (n int) { |
| 2047 | var l int |
| 2048 | _ = l |
| 2049 | if m.GracePeriodSeconds != nil { |
| 2050 | n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds)) |
| 2051 | } |
| 2052 | if m.Preconditions != nil { |
| 2053 | l = m.Preconditions.Size() |
| 2054 | n += 1 + l + sovGenerated(uint64(l)) |
| 2055 | } |
| 2056 | if m.OrphanDependents != nil { |
| 2057 | n += 2 |
| 2058 | } |
| 2059 | if m.PropagationPolicy != nil { |
| 2060 | l = len(*m.PropagationPolicy) |
| 2061 | n += 1 + l + sovGenerated(uint64(l)) |
| 2062 | } |
| 2063 | if len(m.DryRun) > 0 { |
| 2064 | for _, s := range m.DryRun { |
| 2065 | l = len(s) |
| 2066 | n += 1 + l + sovGenerated(uint64(l)) |
| 2067 | } |
| 2068 | } |
| 2069 | return n |
| 2070 | } |
| 2071 | |
| 2072 | func (m *Duration) Size() (n int) { |
| 2073 | var l int |
| 2074 | _ = l |
| 2075 | n += 1 + sovGenerated(uint64(m.Duration)) |
| 2076 | return n |
| 2077 | } |
| 2078 | |
| 2079 | func (m *ExportOptions) Size() (n int) { |
| 2080 | var l int |
| 2081 | _ = l |
| 2082 | n += 2 |
| 2083 | n += 2 |
| 2084 | return n |
| 2085 | } |
| 2086 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2087 | func (m *Fields) Size() (n int) { |
| 2088 | var l int |
| 2089 | _ = l |
| 2090 | if len(m.Map) > 0 { |
| 2091 | for k, v := range m.Map { |
| 2092 | _ = k |
| 2093 | _ = v |
| 2094 | l = v.Size() |
| 2095 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l)) |
| 2096 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2097 | } |
| 2098 | } |
| 2099 | return n |
| 2100 | } |
| 2101 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2102 | func (m *GetOptions) Size() (n int) { |
| 2103 | var l int |
| 2104 | _ = l |
| 2105 | l = len(m.ResourceVersion) |
| 2106 | n += 1 + l + sovGenerated(uint64(l)) |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2107 | return n |
| 2108 | } |
| 2109 | |
| 2110 | func (m *GroupKind) Size() (n int) { |
| 2111 | var l int |
| 2112 | _ = l |
| 2113 | l = len(m.Group) |
| 2114 | n += 1 + l + sovGenerated(uint64(l)) |
| 2115 | l = len(m.Kind) |
| 2116 | n += 1 + l + sovGenerated(uint64(l)) |
| 2117 | return n |
| 2118 | } |
| 2119 | |
| 2120 | func (m *GroupResource) Size() (n int) { |
| 2121 | var l int |
| 2122 | _ = l |
| 2123 | l = len(m.Group) |
| 2124 | n += 1 + l + sovGenerated(uint64(l)) |
| 2125 | l = len(m.Resource) |
| 2126 | n += 1 + l + sovGenerated(uint64(l)) |
| 2127 | return n |
| 2128 | } |
| 2129 | |
| 2130 | func (m *GroupVersion) Size() (n int) { |
| 2131 | var l int |
| 2132 | _ = l |
| 2133 | l = len(m.Group) |
| 2134 | n += 1 + l + sovGenerated(uint64(l)) |
| 2135 | l = len(m.Version) |
| 2136 | n += 1 + l + sovGenerated(uint64(l)) |
| 2137 | return n |
| 2138 | } |
| 2139 | |
| 2140 | func (m *GroupVersionForDiscovery) Size() (n int) { |
| 2141 | var l int |
| 2142 | _ = l |
| 2143 | l = len(m.GroupVersion) |
| 2144 | n += 1 + l + sovGenerated(uint64(l)) |
| 2145 | l = len(m.Version) |
| 2146 | n += 1 + l + sovGenerated(uint64(l)) |
| 2147 | return n |
| 2148 | } |
| 2149 | |
| 2150 | func (m *GroupVersionKind) Size() (n int) { |
| 2151 | var l int |
| 2152 | _ = l |
| 2153 | l = len(m.Group) |
| 2154 | n += 1 + l + sovGenerated(uint64(l)) |
| 2155 | l = len(m.Version) |
| 2156 | n += 1 + l + sovGenerated(uint64(l)) |
| 2157 | l = len(m.Kind) |
| 2158 | n += 1 + l + sovGenerated(uint64(l)) |
| 2159 | return n |
| 2160 | } |
| 2161 | |
| 2162 | func (m *GroupVersionResource) Size() (n int) { |
| 2163 | var l int |
| 2164 | _ = l |
| 2165 | l = len(m.Group) |
| 2166 | n += 1 + l + sovGenerated(uint64(l)) |
| 2167 | l = len(m.Version) |
| 2168 | n += 1 + l + sovGenerated(uint64(l)) |
| 2169 | l = len(m.Resource) |
| 2170 | n += 1 + l + sovGenerated(uint64(l)) |
| 2171 | return n |
| 2172 | } |
| 2173 | |
| 2174 | func (m *Initializer) Size() (n int) { |
| 2175 | var l int |
| 2176 | _ = l |
| 2177 | l = len(m.Name) |
| 2178 | n += 1 + l + sovGenerated(uint64(l)) |
| 2179 | return n |
| 2180 | } |
| 2181 | |
| 2182 | func (m *Initializers) Size() (n int) { |
| 2183 | var l int |
| 2184 | _ = l |
| 2185 | if len(m.Pending) > 0 { |
| 2186 | for _, e := range m.Pending { |
| 2187 | l = e.Size() |
| 2188 | n += 1 + l + sovGenerated(uint64(l)) |
| 2189 | } |
| 2190 | } |
| 2191 | if m.Result != nil { |
| 2192 | l = m.Result.Size() |
| 2193 | n += 1 + l + sovGenerated(uint64(l)) |
| 2194 | } |
| 2195 | return n |
| 2196 | } |
| 2197 | |
| 2198 | func (m *LabelSelector) Size() (n int) { |
| 2199 | var l int |
| 2200 | _ = l |
| 2201 | if len(m.MatchLabels) > 0 { |
| 2202 | for k, v := range m.MatchLabels { |
| 2203 | _ = k |
| 2204 | _ = v |
| 2205 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 2206 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2207 | } |
| 2208 | } |
| 2209 | if len(m.MatchExpressions) > 0 { |
| 2210 | for _, e := range m.MatchExpressions { |
| 2211 | l = e.Size() |
| 2212 | n += 1 + l + sovGenerated(uint64(l)) |
| 2213 | } |
| 2214 | } |
| 2215 | return n |
| 2216 | } |
| 2217 | |
| 2218 | func (m *LabelSelectorRequirement) Size() (n int) { |
| 2219 | var l int |
| 2220 | _ = l |
| 2221 | l = len(m.Key) |
| 2222 | n += 1 + l + sovGenerated(uint64(l)) |
| 2223 | l = len(m.Operator) |
| 2224 | n += 1 + l + sovGenerated(uint64(l)) |
| 2225 | if len(m.Values) > 0 { |
| 2226 | for _, s := range m.Values { |
| 2227 | l = len(s) |
| 2228 | n += 1 + l + sovGenerated(uint64(l)) |
| 2229 | } |
| 2230 | } |
| 2231 | return n |
| 2232 | } |
| 2233 | |
| 2234 | func (m *List) Size() (n int) { |
| 2235 | var l int |
| 2236 | _ = l |
| 2237 | l = m.ListMeta.Size() |
| 2238 | n += 1 + l + sovGenerated(uint64(l)) |
| 2239 | if len(m.Items) > 0 { |
| 2240 | for _, e := range m.Items { |
| 2241 | l = e.Size() |
| 2242 | n += 1 + l + sovGenerated(uint64(l)) |
| 2243 | } |
| 2244 | } |
| 2245 | return n |
| 2246 | } |
| 2247 | |
| 2248 | func (m *ListMeta) Size() (n int) { |
| 2249 | var l int |
| 2250 | _ = l |
| 2251 | l = len(m.SelfLink) |
| 2252 | n += 1 + l + sovGenerated(uint64(l)) |
| 2253 | l = len(m.ResourceVersion) |
| 2254 | n += 1 + l + sovGenerated(uint64(l)) |
| 2255 | l = len(m.Continue) |
| 2256 | n += 1 + l + sovGenerated(uint64(l)) |
| 2257 | return n |
| 2258 | } |
| 2259 | |
| 2260 | func (m *ListOptions) Size() (n int) { |
| 2261 | var l int |
| 2262 | _ = l |
| 2263 | l = len(m.LabelSelector) |
| 2264 | n += 1 + l + sovGenerated(uint64(l)) |
| 2265 | l = len(m.FieldSelector) |
| 2266 | n += 1 + l + sovGenerated(uint64(l)) |
| 2267 | n += 2 |
| 2268 | l = len(m.ResourceVersion) |
| 2269 | n += 1 + l + sovGenerated(uint64(l)) |
| 2270 | if m.TimeoutSeconds != nil { |
| 2271 | n += 1 + sovGenerated(uint64(*m.TimeoutSeconds)) |
| 2272 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2273 | n += 1 + sovGenerated(uint64(m.Limit)) |
| 2274 | l = len(m.Continue) |
| 2275 | n += 1 + l + sovGenerated(uint64(l)) |
| 2276 | return n |
| 2277 | } |
| 2278 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2279 | func (m *ManagedFieldsEntry) Size() (n int) { |
| 2280 | var l int |
| 2281 | _ = l |
| 2282 | l = len(m.Manager) |
| 2283 | n += 1 + l + sovGenerated(uint64(l)) |
| 2284 | l = len(m.Operation) |
| 2285 | n += 1 + l + sovGenerated(uint64(l)) |
| 2286 | l = len(m.APIVersion) |
| 2287 | n += 1 + l + sovGenerated(uint64(l)) |
| 2288 | if m.Time != nil { |
| 2289 | l = m.Time.Size() |
| 2290 | n += 1 + l + sovGenerated(uint64(l)) |
| 2291 | } |
| 2292 | if m.Fields != nil { |
| 2293 | l = m.Fields.Size() |
| 2294 | n += 1 + l + sovGenerated(uint64(l)) |
| 2295 | } |
| 2296 | return n |
| 2297 | } |
| 2298 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2299 | func (m *ObjectMeta) Size() (n int) { |
| 2300 | var l int |
| 2301 | _ = l |
| 2302 | l = len(m.Name) |
| 2303 | n += 1 + l + sovGenerated(uint64(l)) |
| 2304 | l = len(m.GenerateName) |
| 2305 | n += 1 + l + sovGenerated(uint64(l)) |
| 2306 | l = len(m.Namespace) |
| 2307 | n += 1 + l + sovGenerated(uint64(l)) |
| 2308 | l = len(m.SelfLink) |
| 2309 | n += 1 + l + sovGenerated(uint64(l)) |
| 2310 | l = len(m.UID) |
| 2311 | n += 1 + l + sovGenerated(uint64(l)) |
| 2312 | l = len(m.ResourceVersion) |
| 2313 | n += 1 + l + sovGenerated(uint64(l)) |
| 2314 | n += 1 + sovGenerated(uint64(m.Generation)) |
| 2315 | l = m.CreationTimestamp.Size() |
| 2316 | n += 1 + l + sovGenerated(uint64(l)) |
| 2317 | if m.DeletionTimestamp != nil { |
| 2318 | l = m.DeletionTimestamp.Size() |
| 2319 | n += 1 + l + sovGenerated(uint64(l)) |
| 2320 | } |
| 2321 | if m.DeletionGracePeriodSeconds != nil { |
| 2322 | n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds)) |
| 2323 | } |
| 2324 | if len(m.Labels) > 0 { |
| 2325 | for k, v := range m.Labels { |
| 2326 | _ = k |
| 2327 | _ = v |
| 2328 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 2329 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2330 | } |
| 2331 | } |
| 2332 | if len(m.Annotations) > 0 { |
| 2333 | for k, v := range m.Annotations { |
| 2334 | _ = k |
| 2335 | _ = v |
| 2336 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 2337 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2338 | } |
| 2339 | } |
| 2340 | if len(m.OwnerReferences) > 0 { |
| 2341 | for _, e := range m.OwnerReferences { |
| 2342 | l = e.Size() |
| 2343 | n += 1 + l + sovGenerated(uint64(l)) |
| 2344 | } |
| 2345 | } |
| 2346 | if len(m.Finalizers) > 0 { |
| 2347 | for _, s := range m.Finalizers { |
| 2348 | l = len(s) |
| 2349 | n += 1 + l + sovGenerated(uint64(l)) |
| 2350 | } |
| 2351 | } |
| 2352 | l = len(m.ClusterName) |
| 2353 | n += 1 + l + sovGenerated(uint64(l)) |
| 2354 | if m.Initializers != nil { |
| 2355 | l = m.Initializers.Size() |
| 2356 | n += 2 + l + sovGenerated(uint64(l)) |
| 2357 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2358 | if len(m.ManagedFields) > 0 { |
| 2359 | for _, e := range m.ManagedFields { |
| 2360 | l = e.Size() |
| 2361 | n += 2 + l + sovGenerated(uint64(l)) |
| 2362 | } |
| 2363 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2364 | return n |
| 2365 | } |
| 2366 | |
| 2367 | func (m *OwnerReference) Size() (n int) { |
| 2368 | var l int |
| 2369 | _ = l |
| 2370 | l = len(m.Kind) |
| 2371 | n += 1 + l + sovGenerated(uint64(l)) |
| 2372 | l = len(m.Name) |
| 2373 | n += 1 + l + sovGenerated(uint64(l)) |
| 2374 | l = len(m.UID) |
| 2375 | n += 1 + l + sovGenerated(uint64(l)) |
| 2376 | l = len(m.APIVersion) |
| 2377 | n += 1 + l + sovGenerated(uint64(l)) |
| 2378 | if m.Controller != nil { |
| 2379 | n += 2 |
| 2380 | } |
| 2381 | if m.BlockOwnerDeletion != nil { |
| 2382 | n += 2 |
| 2383 | } |
| 2384 | return n |
| 2385 | } |
| 2386 | |
| 2387 | func (m *Patch) Size() (n int) { |
| 2388 | var l int |
| 2389 | _ = l |
| 2390 | return n |
| 2391 | } |
| 2392 | |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2393 | func (m *PatchOptions) Size() (n int) { |
| 2394 | var l int |
| 2395 | _ = l |
| 2396 | if len(m.DryRun) > 0 { |
| 2397 | for _, s := range m.DryRun { |
| 2398 | l = len(s) |
| 2399 | n += 1 + l + sovGenerated(uint64(l)) |
| 2400 | } |
| 2401 | } |
| 2402 | if m.Force != nil { |
| 2403 | n += 2 |
| 2404 | } |
| 2405 | return n |
| 2406 | } |
| 2407 | |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2408 | func (m *Preconditions) Size() (n int) { |
| 2409 | var l int |
| 2410 | _ = l |
| 2411 | if m.UID != nil { |
| 2412 | l = len(*m.UID) |
| 2413 | n += 1 + l + sovGenerated(uint64(l)) |
| 2414 | } |
| 2415 | return n |
| 2416 | } |
| 2417 | |
| 2418 | func (m *RootPaths) Size() (n int) { |
| 2419 | var l int |
| 2420 | _ = l |
| 2421 | if len(m.Paths) > 0 { |
| 2422 | for _, s := range m.Paths { |
| 2423 | l = len(s) |
| 2424 | n += 1 + l + sovGenerated(uint64(l)) |
| 2425 | } |
| 2426 | } |
| 2427 | return n |
| 2428 | } |
| 2429 | |
| 2430 | func (m *ServerAddressByClientCIDR) Size() (n int) { |
| 2431 | var l int |
| 2432 | _ = l |
| 2433 | l = len(m.ClientCIDR) |
| 2434 | n += 1 + l + sovGenerated(uint64(l)) |
| 2435 | l = len(m.ServerAddress) |
| 2436 | n += 1 + l + sovGenerated(uint64(l)) |
| 2437 | return n |
| 2438 | } |
| 2439 | |
| 2440 | func (m *Status) Size() (n int) { |
| 2441 | var l int |
| 2442 | _ = l |
| 2443 | l = m.ListMeta.Size() |
| 2444 | n += 1 + l + sovGenerated(uint64(l)) |
| 2445 | l = len(m.Status) |
| 2446 | n += 1 + l + sovGenerated(uint64(l)) |
| 2447 | l = len(m.Message) |
| 2448 | n += 1 + l + sovGenerated(uint64(l)) |
| 2449 | l = len(m.Reason) |
| 2450 | n += 1 + l + sovGenerated(uint64(l)) |
| 2451 | if m.Details != nil { |
| 2452 | l = m.Details.Size() |
| 2453 | n += 1 + l + sovGenerated(uint64(l)) |
| 2454 | } |
| 2455 | n += 1 + sovGenerated(uint64(m.Code)) |
| 2456 | return n |
| 2457 | } |
| 2458 | |
| 2459 | func (m *StatusCause) Size() (n int) { |
| 2460 | var l int |
| 2461 | _ = l |
| 2462 | l = len(m.Type) |
| 2463 | n += 1 + l + sovGenerated(uint64(l)) |
| 2464 | l = len(m.Message) |
| 2465 | n += 1 + l + sovGenerated(uint64(l)) |
| 2466 | l = len(m.Field) |
| 2467 | n += 1 + l + sovGenerated(uint64(l)) |
| 2468 | return n |
| 2469 | } |
| 2470 | |
| 2471 | func (m *StatusDetails) Size() (n int) { |
| 2472 | var l int |
| 2473 | _ = l |
| 2474 | l = len(m.Name) |
| 2475 | n += 1 + l + sovGenerated(uint64(l)) |
| 2476 | l = len(m.Group) |
| 2477 | n += 1 + l + sovGenerated(uint64(l)) |
| 2478 | l = len(m.Kind) |
| 2479 | n += 1 + l + sovGenerated(uint64(l)) |
| 2480 | if len(m.Causes) > 0 { |
| 2481 | for _, e := range m.Causes { |
| 2482 | l = e.Size() |
| 2483 | n += 1 + l + sovGenerated(uint64(l)) |
| 2484 | } |
| 2485 | } |
| 2486 | n += 1 + sovGenerated(uint64(m.RetryAfterSeconds)) |
| 2487 | l = len(m.UID) |
| 2488 | n += 1 + l + sovGenerated(uint64(l)) |
| 2489 | return n |
| 2490 | } |
| 2491 | |
| 2492 | func (m *Timestamp) Size() (n int) { |
| 2493 | var l int |
| 2494 | _ = l |
| 2495 | n += 1 + sovGenerated(uint64(m.Seconds)) |
| 2496 | n += 1 + sovGenerated(uint64(m.Nanos)) |
| 2497 | return n |
| 2498 | } |
| 2499 | |
| 2500 | func (m *TypeMeta) Size() (n int) { |
| 2501 | var l int |
| 2502 | _ = l |
| 2503 | l = len(m.Kind) |
| 2504 | n += 1 + l + sovGenerated(uint64(l)) |
| 2505 | l = len(m.APIVersion) |
| 2506 | n += 1 + l + sovGenerated(uint64(l)) |
| 2507 | return n |
| 2508 | } |
| 2509 | |
| 2510 | func (m *UpdateOptions) Size() (n int) { |
| 2511 | var l int |
| 2512 | _ = l |
| 2513 | if len(m.DryRun) > 0 { |
| 2514 | for _, s := range m.DryRun { |
| 2515 | l = len(s) |
| 2516 | n += 1 + l + sovGenerated(uint64(l)) |
| 2517 | } |
| 2518 | } |
| 2519 | return n |
| 2520 | } |
| 2521 | |
| 2522 | func (m Verbs) Size() (n int) { |
| 2523 | var l int |
| 2524 | _ = l |
| 2525 | if len(m) > 0 { |
| 2526 | for _, s := range m { |
| 2527 | l = len(s) |
| 2528 | n += 1 + l + sovGenerated(uint64(l)) |
| 2529 | } |
| 2530 | } |
| 2531 | return n |
| 2532 | } |
| 2533 | |
| 2534 | func (m *WatchEvent) Size() (n int) { |
| 2535 | var l int |
| 2536 | _ = l |
| 2537 | l = len(m.Type) |
| 2538 | n += 1 + l + sovGenerated(uint64(l)) |
| 2539 | l = m.Object.Size() |
| 2540 | n += 1 + l + sovGenerated(uint64(l)) |
| 2541 | return n |
| 2542 | } |
| 2543 | |
| 2544 | func sovGenerated(x uint64) (n int) { |
| 2545 | for { |
| 2546 | n++ |
| 2547 | x >>= 7 |
| 2548 | if x == 0 { |
| 2549 | break |
| 2550 | } |
| 2551 | } |
| 2552 | return n |
| 2553 | } |
| 2554 | func sozGenerated(x uint64) (n int) { |
| 2555 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 2556 | } |
| 2557 | func (this *APIGroup) String() string { |
| 2558 | if this == nil { |
| 2559 | return "nil" |
| 2560 | } |
| 2561 | s := strings.Join([]string{`&APIGroup{`, |
| 2562 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2563 | `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`, |
| 2564 | `PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`, |
| 2565 | `ServerAddressByClientCIDRs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServerAddressByClientCIDRs), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + `,`, |
| 2566 | `}`, |
| 2567 | }, "") |
| 2568 | return s |
| 2569 | } |
| 2570 | func (this *APIGroupList) String() string { |
| 2571 | if this == nil { |
| 2572 | return "nil" |
| 2573 | } |
| 2574 | s := strings.Join([]string{`&APIGroupList{`, |
| 2575 | `Groups:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Groups), "APIGroup", "APIGroup", 1), `&`, ``, 1) + `,`, |
| 2576 | `}`, |
| 2577 | }, "") |
| 2578 | return s |
| 2579 | } |
| 2580 | func (this *APIResource) String() string { |
| 2581 | if this == nil { |
| 2582 | return "nil" |
| 2583 | } |
| 2584 | s := strings.Join([]string{`&APIResource{`, |
| 2585 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2586 | `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`, |
| 2587 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 2588 | `Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`, |
| 2589 | `ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`, |
| 2590 | `SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`, |
| 2591 | `Categories:` + fmt.Sprintf("%v", this.Categories) + `,`, |
| 2592 | `Group:` + fmt.Sprintf("%v", this.Group) + `,`, |
| 2593 | `Version:` + fmt.Sprintf("%v", this.Version) + `,`, |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2594 | `StorageVersionHash:` + fmt.Sprintf("%v", this.StorageVersionHash) + `,`, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2595 | `}`, |
| 2596 | }, "") |
| 2597 | return s |
| 2598 | } |
| 2599 | func (this *APIResourceList) String() string { |
| 2600 | if this == nil { |
| 2601 | return "nil" |
| 2602 | } |
| 2603 | s := strings.Join([]string{`&APIResourceList{`, |
| 2604 | `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, |
| 2605 | `APIResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.APIResources), "APIResource", "APIResource", 1), `&`, ``, 1) + `,`, |
| 2606 | `}`, |
| 2607 | }, "") |
| 2608 | return s |
| 2609 | } |
| 2610 | func (this *CreateOptions) String() string { |
| 2611 | if this == nil { |
| 2612 | return "nil" |
| 2613 | } |
| 2614 | s := strings.Join([]string{`&CreateOptions{`, |
| 2615 | `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2616 | `}`, |
| 2617 | }, "") |
| 2618 | return s |
| 2619 | } |
| 2620 | func (this *DeleteOptions) String() string { |
| 2621 | if this == nil { |
| 2622 | return "nil" |
| 2623 | } |
| 2624 | s := strings.Join([]string{`&DeleteOptions{`, |
| 2625 | `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`, |
| 2626 | `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`, |
| 2627 | `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`, |
| 2628 | `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`, |
| 2629 | `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 2630 | `}`, |
| 2631 | }, "") |
| 2632 | return s |
| 2633 | } |
| 2634 | func (this *Duration) String() string { |
| 2635 | if this == nil { |
| 2636 | return "nil" |
| 2637 | } |
| 2638 | s := strings.Join([]string{`&Duration{`, |
| 2639 | `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`, |
| 2640 | `}`, |
| 2641 | }, "") |
| 2642 | return s |
| 2643 | } |
| 2644 | func (this *ExportOptions) String() string { |
| 2645 | if this == nil { |
| 2646 | return "nil" |
| 2647 | } |
| 2648 | s := strings.Join([]string{`&ExportOptions{`, |
| 2649 | `Export:` + fmt.Sprintf("%v", this.Export) + `,`, |
| 2650 | `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`, |
| 2651 | `}`, |
| 2652 | }, "") |
| 2653 | return s |
| 2654 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2655 | func (this *Fields) String() string { |
| 2656 | if this == nil { |
| 2657 | return "nil" |
| 2658 | } |
| 2659 | keysForMap := make([]string, 0, len(this.Map)) |
| 2660 | for k := range this.Map { |
| 2661 | keysForMap = append(keysForMap, k) |
| 2662 | } |
| 2663 | github_com_gogo_protobuf_sortkeys.Strings(keysForMap) |
| 2664 | mapStringForMap := "map[string]Fields{" |
| 2665 | for _, k := range keysForMap { |
| 2666 | mapStringForMap += fmt.Sprintf("%v: %v,", k, this.Map[k]) |
| 2667 | } |
| 2668 | mapStringForMap += "}" |
| 2669 | s := strings.Join([]string{`&Fields{`, |
| 2670 | `Map:` + mapStringForMap + `,`, |
| 2671 | `}`, |
| 2672 | }, "") |
| 2673 | return s |
| 2674 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2675 | func (this *GetOptions) String() string { |
| 2676 | if this == nil { |
| 2677 | return "nil" |
| 2678 | } |
| 2679 | s := strings.Join([]string{`&GetOptions{`, |
| 2680 | `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2681 | `}`, |
| 2682 | }, "") |
| 2683 | return s |
| 2684 | } |
| 2685 | func (this *GroupVersionForDiscovery) String() string { |
| 2686 | if this == nil { |
| 2687 | return "nil" |
| 2688 | } |
| 2689 | s := strings.Join([]string{`&GroupVersionForDiscovery{`, |
| 2690 | `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, |
| 2691 | `Version:` + fmt.Sprintf("%v", this.Version) + `,`, |
| 2692 | `}`, |
| 2693 | }, "") |
| 2694 | return s |
| 2695 | } |
| 2696 | func (this *Initializer) String() string { |
| 2697 | if this == nil { |
| 2698 | return "nil" |
| 2699 | } |
| 2700 | s := strings.Join([]string{`&Initializer{`, |
| 2701 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2702 | `}`, |
| 2703 | }, "") |
| 2704 | return s |
| 2705 | } |
| 2706 | func (this *Initializers) String() string { |
| 2707 | if this == nil { |
| 2708 | return "nil" |
| 2709 | } |
| 2710 | s := strings.Join([]string{`&Initializers{`, |
| 2711 | `Pending:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Pending), "Initializer", "Initializer", 1), `&`, ``, 1) + `,`, |
| 2712 | `Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Status", "Status", 1) + `,`, |
| 2713 | `}`, |
| 2714 | }, "") |
| 2715 | return s |
| 2716 | } |
| 2717 | func (this *LabelSelector) String() string { |
| 2718 | if this == nil { |
| 2719 | return "nil" |
| 2720 | } |
| 2721 | keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) |
| 2722 | for k := range this.MatchLabels { |
| 2723 | keysForMatchLabels = append(keysForMatchLabels, k) |
| 2724 | } |
| 2725 | github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) |
| 2726 | mapStringForMatchLabels := "map[string]string{" |
| 2727 | for _, k := range keysForMatchLabels { |
| 2728 | mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) |
| 2729 | } |
| 2730 | mapStringForMatchLabels += "}" |
| 2731 | s := strings.Join([]string{`&LabelSelector{`, |
| 2732 | `MatchLabels:` + mapStringForMatchLabels + `,`, |
| 2733 | `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`, |
| 2734 | `}`, |
| 2735 | }, "") |
| 2736 | return s |
| 2737 | } |
| 2738 | func (this *LabelSelectorRequirement) String() string { |
| 2739 | if this == nil { |
| 2740 | return "nil" |
| 2741 | } |
| 2742 | s := strings.Join([]string{`&LabelSelectorRequirement{`, |
| 2743 | `Key:` + fmt.Sprintf("%v", this.Key) + `,`, |
| 2744 | `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, |
| 2745 | `Values:` + fmt.Sprintf("%v", this.Values) + `,`, |
| 2746 | `}`, |
| 2747 | }, "") |
| 2748 | return s |
| 2749 | } |
| 2750 | func (this *List) String() string { |
| 2751 | if this == nil { |
| 2752 | return "nil" |
| 2753 | } |
| 2754 | s := strings.Join([]string{`&List{`, |
| 2755 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, |
| 2756 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, |
| 2757 | `}`, |
| 2758 | }, "") |
| 2759 | return s |
| 2760 | } |
| 2761 | func (this *ListMeta) String() string { |
| 2762 | if this == nil { |
| 2763 | return "nil" |
| 2764 | } |
| 2765 | s := strings.Join([]string{`&ListMeta{`, |
| 2766 | `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, |
| 2767 | `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 2768 | `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, |
| 2769 | `}`, |
| 2770 | }, "") |
| 2771 | return s |
| 2772 | } |
| 2773 | func (this *ListOptions) String() string { |
| 2774 | if this == nil { |
| 2775 | return "nil" |
| 2776 | } |
| 2777 | s := strings.Join([]string{`&ListOptions{`, |
| 2778 | `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`, |
| 2779 | `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`, |
| 2780 | `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`, |
| 2781 | `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 2782 | `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2783 | `Limit:` + fmt.Sprintf("%v", this.Limit) + `,`, |
| 2784 | `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, |
| 2785 | `}`, |
| 2786 | }, "") |
| 2787 | return s |
| 2788 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2789 | func (this *ManagedFieldsEntry) String() string { |
| 2790 | if this == nil { |
| 2791 | return "nil" |
| 2792 | } |
| 2793 | s := strings.Join([]string{`&ManagedFieldsEntry{`, |
| 2794 | `Manager:` + fmt.Sprintf("%v", this.Manager) + `,`, |
| 2795 | `Operation:` + fmt.Sprintf("%v", this.Operation) + `,`, |
| 2796 | `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 2797 | `Time:` + strings.Replace(fmt.Sprintf("%v", this.Time), "Time", "Time", 1) + `,`, |
| 2798 | `Fields:` + strings.Replace(fmt.Sprintf("%v", this.Fields), "Fields", "Fields", 1) + `,`, |
| 2799 | `}`, |
| 2800 | }, "") |
| 2801 | return s |
| 2802 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2803 | func (this *ObjectMeta) String() string { |
| 2804 | if this == nil { |
| 2805 | return "nil" |
| 2806 | } |
| 2807 | keysForLabels := make([]string, 0, len(this.Labels)) |
| 2808 | for k := range this.Labels { |
| 2809 | keysForLabels = append(keysForLabels, k) |
| 2810 | } |
| 2811 | github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) |
| 2812 | mapStringForLabels := "map[string]string{" |
| 2813 | for _, k := range keysForLabels { |
| 2814 | mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) |
| 2815 | } |
| 2816 | mapStringForLabels += "}" |
| 2817 | keysForAnnotations := make([]string, 0, len(this.Annotations)) |
| 2818 | for k := range this.Annotations { |
| 2819 | keysForAnnotations = append(keysForAnnotations, k) |
| 2820 | } |
| 2821 | github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) |
| 2822 | mapStringForAnnotations := "map[string]string{" |
| 2823 | for _, k := range keysForAnnotations { |
| 2824 | mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k]) |
| 2825 | } |
| 2826 | mapStringForAnnotations += "}" |
| 2827 | s := strings.Join([]string{`&ObjectMeta{`, |
| 2828 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2829 | `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`, |
| 2830 | `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, |
| 2831 | `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, |
| 2832 | `UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 2833 | `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 2834 | `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, |
| 2835 | `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "Time", 1), `&`, ``, 1) + `,`, |
| 2836 | `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`, |
| 2837 | `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`, |
| 2838 | `Labels:` + mapStringForLabels + `,`, |
| 2839 | `Annotations:` + mapStringForAnnotations + `,`, |
| 2840 | `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + `,`, |
| 2841 | `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`, |
| 2842 | `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`, |
| 2843 | `Initializers:` + strings.Replace(fmt.Sprintf("%v", this.Initializers), "Initializers", "Initializers", 1) + `,`, |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2844 | `ManagedFields:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ManagedFields), "ManagedFieldsEntry", "ManagedFieldsEntry", 1), `&`, ``, 1) + `,`, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2845 | `}`, |
| 2846 | }, "") |
| 2847 | return s |
| 2848 | } |
| 2849 | func (this *OwnerReference) String() string { |
| 2850 | if this == nil { |
| 2851 | return "nil" |
| 2852 | } |
| 2853 | s := strings.Join([]string{`&OwnerReference{`, |
| 2854 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 2855 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2856 | `UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 2857 | `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 2858 | `Controller:` + valueToStringGenerated(this.Controller) + `,`, |
| 2859 | `BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`, |
| 2860 | `}`, |
| 2861 | }, "") |
| 2862 | return s |
| 2863 | } |
| 2864 | func (this *Patch) String() string { |
| 2865 | if this == nil { |
| 2866 | return "nil" |
| 2867 | } |
| 2868 | s := strings.Join([]string{`&Patch{`, |
| 2869 | `}`, |
| 2870 | }, "") |
| 2871 | return s |
| 2872 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 2873 | func (this *PatchOptions) String() string { |
| 2874 | if this == nil { |
| 2875 | return "nil" |
| 2876 | } |
| 2877 | s := strings.Join([]string{`&PatchOptions{`, |
| 2878 | `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 2879 | `Force:` + valueToStringGenerated(this.Force) + `,`, |
| 2880 | `}`, |
| 2881 | }, "") |
| 2882 | return s |
| 2883 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 2884 | func (this *Preconditions) String() string { |
| 2885 | if this == nil { |
| 2886 | return "nil" |
| 2887 | } |
| 2888 | s := strings.Join([]string{`&Preconditions{`, |
| 2889 | `UID:` + valueToStringGenerated(this.UID) + `,`, |
| 2890 | `}`, |
| 2891 | }, "") |
| 2892 | return s |
| 2893 | } |
| 2894 | func (this *RootPaths) String() string { |
| 2895 | if this == nil { |
| 2896 | return "nil" |
| 2897 | } |
| 2898 | s := strings.Join([]string{`&RootPaths{`, |
| 2899 | `Paths:` + fmt.Sprintf("%v", this.Paths) + `,`, |
| 2900 | `}`, |
| 2901 | }, "") |
| 2902 | return s |
| 2903 | } |
| 2904 | func (this *ServerAddressByClientCIDR) String() string { |
| 2905 | if this == nil { |
| 2906 | return "nil" |
| 2907 | } |
| 2908 | s := strings.Join([]string{`&ServerAddressByClientCIDR{`, |
| 2909 | `ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`, |
| 2910 | `ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`, |
| 2911 | `}`, |
| 2912 | }, "") |
| 2913 | return s |
| 2914 | } |
| 2915 | func (this *Status) String() string { |
| 2916 | if this == nil { |
| 2917 | return "nil" |
| 2918 | } |
| 2919 | s := strings.Join([]string{`&Status{`, |
| 2920 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, |
| 2921 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2922 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2923 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2924 | `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "StatusDetails", "StatusDetails", 1) + `,`, |
| 2925 | `Code:` + fmt.Sprintf("%v", this.Code) + `,`, |
| 2926 | `}`, |
| 2927 | }, "") |
| 2928 | return s |
| 2929 | } |
| 2930 | func (this *StatusCause) String() string { |
| 2931 | if this == nil { |
| 2932 | return "nil" |
| 2933 | } |
| 2934 | s := strings.Join([]string{`&StatusCause{`, |
| 2935 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2936 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2937 | `Field:` + fmt.Sprintf("%v", this.Field) + `,`, |
| 2938 | `}`, |
| 2939 | }, "") |
| 2940 | return s |
| 2941 | } |
| 2942 | func (this *StatusDetails) String() string { |
| 2943 | if this == nil { |
| 2944 | return "nil" |
| 2945 | } |
| 2946 | s := strings.Join([]string{`&StatusDetails{`, |
| 2947 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2948 | `Group:` + fmt.Sprintf("%v", this.Group) + `,`, |
| 2949 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 2950 | `Causes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Causes), "StatusCause", "StatusCause", 1), `&`, ``, 1) + `,`, |
| 2951 | `RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`, |
| 2952 | `UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 2953 | `}`, |
| 2954 | }, "") |
| 2955 | return s |
| 2956 | } |
| 2957 | func (this *Timestamp) String() string { |
| 2958 | if this == nil { |
| 2959 | return "nil" |
| 2960 | } |
| 2961 | s := strings.Join([]string{`&Timestamp{`, |
| 2962 | `Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`, |
| 2963 | `Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`, |
| 2964 | `}`, |
| 2965 | }, "") |
| 2966 | return s |
| 2967 | } |
| 2968 | func (this *TypeMeta) String() string { |
| 2969 | if this == nil { |
| 2970 | return "nil" |
| 2971 | } |
| 2972 | s := strings.Join([]string{`&TypeMeta{`, |
| 2973 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 2974 | `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 2975 | `}`, |
| 2976 | }, "") |
| 2977 | return s |
| 2978 | } |
| 2979 | func (this *UpdateOptions) String() string { |
| 2980 | if this == nil { |
| 2981 | return "nil" |
| 2982 | } |
| 2983 | s := strings.Join([]string{`&UpdateOptions{`, |
| 2984 | `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 2985 | `}`, |
| 2986 | }, "") |
| 2987 | return s |
| 2988 | } |
| 2989 | func (this *WatchEvent) String() string { |
| 2990 | if this == nil { |
| 2991 | return "nil" |
| 2992 | } |
| 2993 | s := strings.Join([]string{`&WatchEvent{`, |
| 2994 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2995 | `Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, |
| 2996 | `}`, |
| 2997 | }, "") |
| 2998 | return s |
| 2999 | } |
| 3000 | func valueToStringGenerated(v interface{}) string { |
| 3001 | rv := reflect.ValueOf(v) |
| 3002 | if rv.IsNil() { |
| 3003 | return "nil" |
| 3004 | } |
| 3005 | pv := reflect.Indirect(rv).Interface() |
| 3006 | return fmt.Sprintf("*%v", pv) |
| 3007 | } |
| 3008 | func (m *APIGroup) Unmarshal(dAtA []byte) error { |
| 3009 | l := len(dAtA) |
| 3010 | iNdEx := 0 |
| 3011 | for iNdEx < l { |
| 3012 | preIndex := iNdEx |
| 3013 | var wire uint64 |
| 3014 | for shift := uint(0); ; shift += 7 { |
| 3015 | if shift >= 64 { |
| 3016 | return ErrIntOverflowGenerated |
| 3017 | } |
| 3018 | if iNdEx >= l { |
| 3019 | return io.ErrUnexpectedEOF |
| 3020 | } |
| 3021 | b := dAtA[iNdEx] |
| 3022 | iNdEx++ |
| 3023 | wire |= (uint64(b) & 0x7F) << shift |
| 3024 | if b < 0x80 { |
| 3025 | break |
| 3026 | } |
| 3027 | } |
| 3028 | fieldNum := int32(wire >> 3) |
| 3029 | wireType := int(wire & 0x7) |
| 3030 | if wireType == 4 { |
| 3031 | return fmt.Errorf("proto: APIGroup: wiretype end group for non-group") |
| 3032 | } |
| 3033 | if fieldNum <= 0 { |
| 3034 | return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3035 | } |
| 3036 | switch fieldNum { |
| 3037 | case 1: |
| 3038 | if wireType != 2 { |
| 3039 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 3040 | } |
| 3041 | var stringLen uint64 |
| 3042 | for shift := uint(0); ; shift += 7 { |
| 3043 | if shift >= 64 { |
| 3044 | return ErrIntOverflowGenerated |
| 3045 | } |
| 3046 | if iNdEx >= l { |
| 3047 | return io.ErrUnexpectedEOF |
| 3048 | } |
| 3049 | b := dAtA[iNdEx] |
| 3050 | iNdEx++ |
| 3051 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3052 | if b < 0x80 { |
| 3053 | break |
| 3054 | } |
| 3055 | } |
| 3056 | intStringLen := int(stringLen) |
| 3057 | if intStringLen < 0 { |
| 3058 | return ErrInvalidLengthGenerated |
| 3059 | } |
| 3060 | postIndex := iNdEx + intStringLen |
| 3061 | if postIndex > l { |
| 3062 | return io.ErrUnexpectedEOF |
| 3063 | } |
| 3064 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 3065 | iNdEx = postIndex |
| 3066 | case 2: |
| 3067 | if wireType != 2 { |
| 3068 | return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) |
| 3069 | } |
| 3070 | var msglen int |
| 3071 | for shift := uint(0); ; shift += 7 { |
| 3072 | if shift >= 64 { |
| 3073 | return ErrIntOverflowGenerated |
| 3074 | } |
| 3075 | if iNdEx >= l { |
| 3076 | return io.ErrUnexpectedEOF |
| 3077 | } |
| 3078 | b := dAtA[iNdEx] |
| 3079 | iNdEx++ |
| 3080 | msglen |= (int(b) & 0x7F) << shift |
| 3081 | if b < 0x80 { |
| 3082 | break |
| 3083 | } |
| 3084 | } |
| 3085 | if msglen < 0 { |
| 3086 | return ErrInvalidLengthGenerated |
| 3087 | } |
| 3088 | postIndex := iNdEx + msglen |
| 3089 | if postIndex > l { |
| 3090 | return io.ErrUnexpectedEOF |
| 3091 | } |
| 3092 | m.Versions = append(m.Versions, GroupVersionForDiscovery{}) |
| 3093 | if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3094 | return err |
| 3095 | } |
| 3096 | iNdEx = postIndex |
| 3097 | case 3: |
| 3098 | if wireType != 2 { |
| 3099 | return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType) |
| 3100 | } |
| 3101 | var msglen int |
| 3102 | for shift := uint(0); ; shift += 7 { |
| 3103 | if shift >= 64 { |
| 3104 | return ErrIntOverflowGenerated |
| 3105 | } |
| 3106 | if iNdEx >= l { |
| 3107 | return io.ErrUnexpectedEOF |
| 3108 | } |
| 3109 | b := dAtA[iNdEx] |
| 3110 | iNdEx++ |
| 3111 | msglen |= (int(b) & 0x7F) << shift |
| 3112 | if b < 0x80 { |
| 3113 | break |
| 3114 | } |
| 3115 | } |
| 3116 | if msglen < 0 { |
| 3117 | return ErrInvalidLengthGenerated |
| 3118 | } |
| 3119 | postIndex := iNdEx + msglen |
| 3120 | if postIndex > l { |
| 3121 | return io.ErrUnexpectedEOF |
| 3122 | } |
| 3123 | if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3124 | return err |
| 3125 | } |
| 3126 | iNdEx = postIndex |
| 3127 | case 4: |
| 3128 | if wireType != 2 { |
| 3129 | return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) |
| 3130 | } |
| 3131 | var msglen int |
| 3132 | for shift := uint(0); ; shift += 7 { |
| 3133 | if shift >= 64 { |
| 3134 | return ErrIntOverflowGenerated |
| 3135 | } |
| 3136 | if iNdEx >= l { |
| 3137 | return io.ErrUnexpectedEOF |
| 3138 | } |
| 3139 | b := dAtA[iNdEx] |
| 3140 | iNdEx++ |
| 3141 | msglen |= (int(b) & 0x7F) << shift |
| 3142 | if b < 0x80 { |
| 3143 | break |
| 3144 | } |
| 3145 | } |
| 3146 | if msglen < 0 { |
| 3147 | return ErrInvalidLengthGenerated |
| 3148 | } |
| 3149 | postIndex := iNdEx + msglen |
| 3150 | if postIndex > l { |
| 3151 | return io.ErrUnexpectedEOF |
| 3152 | } |
| 3153 | m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) |
| 3154 | if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3155 | return err |
| 3156 | } |
| 3157 | iNdEx = postIndex |
| 3158 | default: |
| 3159 | iNdEx = preIndex |
| 3160 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3161 | if err != nil { |
| 3162 | return err |
| 3163 | } |
| 3164 | if skippy < 0 { |
| 3165 | return ErrInvalidLengthGenerated |
| 3166 | } |
| 3167 | if (iNdEx + skippy) > l { |
| 3168 | return io.ErrUnexpectedEOF |
| 3169 | } |
| 3170 | iNdEx += skippy |
| 3171 | } |
| 3172 | } |
| 3173 | |
| 3174 | if iNdEx > l { |
| 3175 | return io.ErrUnexpectedEOF |
| 3176 | } |
| 3177 | return nil |
| 3178 | } |
| 3179 | func (m *APIGroupList) Unmarshal(dAtA []byte) error { |
| 3180 | l := len(dAtA) |
| 3181 | iNdEx := 0 |
| 3182 | for iNdEx < l { |
| 3183 | preIndex := iNdEx |
| 3184 | var wire uint64 |
| 3185 | for shift := uint(0); ; shift += 7 { |
| 3186 | if shift >= 64 { |
| 3187 | return ErrIntOverflowGenerated |
| 3188 | } |
| 3189 | if iNdEx >= l { |
| 3190 | return io.ErrUnexpectedEOF |
| 3191 | } |
| 3192 | b := dAtA[iNdEx] |
| 3193 | iNdEx++ |
| 3194 | wire |= (uint64(b) & 0x7F) << shift |
| 3195 | if b < 0x80 { |
| 3196 | break |
| 3197 | } |
| 3198 | } |
| 3199 | fieldNum := int32(wire >> 3) |
| 3200 | wireType := int(wire & 0x7) |
| 3201 | if wireType == 4 { |
| 3202 | return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group") |
| 3203 | } |
| 3204 | if fieldNum <= 0 { |
| 3205 | return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3206 | } |
| 3207 | switch fieldNum { |
| 3208 | case 1: |
| 3209 | if wireType != 2 { |
| 3210 | return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) |
| 3211 | } |
| 3212 | var msglen int |
| 3213 | for shift := uint(0); ; shift += 7 { |
| 3214 | if shift >= 64 { |
| 3215 | return ErrIntOverflowGenerated |
| 3216 | } |
| 3217 | if iNdEx >= l { |
| 3218 | return io.ErrUnexpectedEOF |
| 3219 | } |
| 3220 | b := dAtA[iNdEx] |
| 3221 | iNdEx++ |
| 3222 | msglen |= (int(b) & 0x7F) << shift |
| 3223 | if b < 0x80 { |
| 3224 | break |
| 3225 | } |
| 3226 | } |
| 3227 | if msglen < 0 { |
| 3228 | return ErrInvalidLengthGenerated |
| 3229 | } |
| 3230 | postIndex := iNdEx + msglen |
| 3231 | if postIndex > l { |
| 3232 | return io.ErrUnexpectedEOF |
| 3233 | } |
| 3234 | m.Groups = append(m.Groups, APIGroup{}) |
| 3235 | if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3236 | return err |
| 3237 | } |
| 3238 | iNdEx = postIndex |
| 3239 | default: |
| 3240 | iNdEx = preIndex |
| 3241 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3242 | if err != nil { |
| 3243 | return err |
| 3244 | } |
| 3245 | if skippy < 0 { |
| 3246 | return ErrInvalidLengthGenerated |
| 3247 | } |
| 3248 | if (iNdEx + skippy) > l { |
| 3249 | return io.ErrUnexpectedEOF |
| 3250 | } |
| 3251 | iNdEx += skippy |
| 3252 | } |
| 3253 | } |
| 3254 | |
| 3255 | if iNdEx > l { |
| 3256 | return io.ErrUnexpectedEOF |
| 3257 | } |
| 3258 | return nil |
| 3259 | } |
| 3260 | func (m *APIResource) Unmarshal(dAtA []byte) error { |
| 3261 | l := len(dAtA) |
| 3262 | iNdEx := 0 |
| 3263 | for iNdEx < l { |
| 3264 | preIndex := iNdEx |
| 3265 | var wire uint64 |
| 3266 | for shift := uint(0); ; shift += 7 { |
| 3267 | if shift >= 64 { |
| 3268 | return ErrIntOverflowGenerated |
| 3269 | } |
| 3270 | if iNdEx >= l { |
| 3271 | return io.ErrUnexpectedEOF |
| 3272 | } |
| 3273 | b := dAtA[iNdEx] |
| 3274 | iNdEx++ |
| 3275 | wire |= (uint64(b) & 0x7F) << shift |
| 3276 | if b < 0x80 { |
| 3277 | break |
| 3278 | } |
| 3279 | } |
| 3280 | fieldNum := int32(wire >> 3) |
| 3281 | wireType := int(wire & 0x7) |
| 3282 | if wireType == 4 { |
| 3283 | return fmt.Errorf("proto: APIResource: wiretype end group for non-group") |
| 3284 | } |
| 3285 | if fieldNum <= 0 { |
| 3286 | return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3287 | } |
| 3288 | switch fieldNum { |
| 3289 | case 1: |
| 3290 | if wireType != 2 { |
| 3291 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 3292 | } |
| 3293 | var stringLen uint64 |
| 3294 | for shift := uint(0); ; shift += 7 { |
| 3295 | if shift >= 64 { |
| 3296 | return ErrIntOverflowGenerated |
| 3297 | } |
| 3298 | if iNdEx >= l { |
| 3299 | return io.ErrUnexpectedEOF |
| 3300 | } |
| 3301 | b := dAtA[iNdEx] |
| 3302 | iNdEx++ |
| 3303 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3304 | if b < 0x80 { |
| 3305 | break |
| 3306 | } |
| 3307 | } |
| 3308 | intStringLen := int(stringLen) |
| 3309 | if intStringLen < 0 { |
| 3310 | return ErrInvalidLengthGenerated |
| 3311 | } |
| 3312 | postIndex := iNdEx + intStringLen |
| 3313 | if postIndex > l { |
| 3314 | return io.ErrUnexpectedEOF |
| 3315 | } |
| 3316 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 3317 | iNdEx = postIndex |
| 3318 | case 2: |
| 3319 | if wireType != 0 { |
| 3320 | return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType) |
| 3321 | } |
| 3322 | var v int |
| 3323 | for shift := uint(0); ; shift += 7 { |
| 3324 | if shift >= 64 { |
| 3325 | return ErrIntOverflowGenerated |
| 3326 | } |
| 3327 | if iNdEx >= l { |
| 3328 | return io.ErrUnexpectedEOF |
| 3329 | } |
| 3330 | b := dAtA[iNdEx] |
| 3331 | iNdEx++ |
| 3332 | v |= (int(b) & 0x7F) << shift |
| 3333 | if b < 0x80 { |
| 3334 | break |
| 3335 | } |
| 3336 | } |
| 3337 | m.Namespaced = bool(v != 0) |
| 3338 | case 3: |
| 3339 | if wireType != 2 { |
| 3340 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 3341 | } |
| 3342 | var stringLen uint64 |
| 3343 | for shift := uint(0); ; shift += 7 { |
| 3344 | if shift >= 64 { |
| 3345 | return ErrIntOverflowGenerated |
| 3346 | } |
| 3347 | if iNdEx >= l { |
| 3348 | return io.ErrUnexpectedEOF |
| 3349 | } |
| 3350 | b := dAtA[iNdEx] |
| 3351 | iNdEx++ |
| 3352 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3353 | if b < 0x80 { |
| 3354 | break |
| 3355 | } |
| 3356 | } |
| 3357 | intStringLen := int(stringLen) |
| 3358 | if intStringLen < 0 { |
| 3359 | return ErrInvalidLengthGenerated |
| 3360 | } |
| 3361 | postIndex := iNdEx + intStringLen |
| 3362 | if postIndex > l { |
| 3363 | return io.ErrUnexpectedEOF |
| 3364 | } |
| 3365 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 3366 | iNdEx = postIndex |
| 3367 | case 4: |
| 3368 | if wireType != 2 { |
| 3369 | return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) |
| 3370 | } |
| 3371 | var msglen int |
| 3372 | for shift := uint(0); ; shift += 7 { |
| 3373 | if shift >= 64 { |
| 3374 | return ErrIntOverflowGenerated |
| 3375 | } |
| 3376 | if iNdEx >= l { |
| 3377 | return io.ErrUnexpectedEOF |
| 3378 | } |
| 3379 | b := dAtA[iNdEx] |
| 3380 | iNdEx++ |
| 3381 | msglen |= (int(b) & 0x7F) << shift |
| 3382 | if b < 0x80 { |
| 3383 | break |
| 3384 | } |
| 3385 | } |
| 3386 | if msglen < 0 { |
| 3387 | return ErrInvalidLengthGenerated |
| 3388 | } |
| 3389 | postIndex := iNdEx + msglen |
| 3390 | if postIndex > l { |
| 3391 | return io.ErrUnexpectedEOF |
| 3392 | } |
| 3393 | if m.Verbs == nil { |
| 3394 | m.Verbs = Verbs{} |
| 3395 | } |
| 3396 | if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3397 | return err |
| 3398 | } |
| 3399 | iNdEx = postIndex |
| 3400 | case 5: |
| 3401 | if wireType != 2 { |
| 3402 | return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType) |
| 3403 | } |
| 3404 | var stringLen uint64 |
| 3405 | for shift := uint(0); ; shift += 7 { |
| 3406 | if shift >= 64 { |
| 3407 | return ErrIntOverflowGenerated |
| 3408 | } |
| 3409 | if iNdEx >= l { |
| 3410 | return io.ErrUnexpectedEOF |
| 3411 | } |
| 3412 | b := dAtA[iNdEx] |
| 3413 | iNdEx++ |
| 3414 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3415 | if b < 0x80 { |
| 3416 | break |
| 3417 | } |
| 3418 | } |
| 3419 | intStringLen := int(stringLen) |
| 3420 | if intStringLen < 0 { |
| 3421 | return ErrInvalidLengthGenerated |
| 3422 | } |
| 3423 | postIndex := iNdEx + intStringLen |
| 3424 | if postIndex > l { |
| 3425 | return io.ErrUnexpectedEOF |
| 3426 | } |
| 3427 | m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex])) |
| 3428 | iNdEx = postIndex |
| 3429 | case 6: |
| 3430 | if wireType != 2 { |
| 3431 | return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType) |
| 3432 | } |
| 3433 | var stringLen uint64 |
| 3434 | for shift := uint(0); ; shift += 7 { |
| 3435 | if shift >= 64 { |
| 3436 | return ErrIntOverflowGenerated |
| 3437 | } |
| 3438 | if iNdEx >= l { |
| 3439 | return io.ErrUnexpectedEOF |
| 3440 | } |
| 3441 | b := dAtA[iNdEx] |
| 3442 | iNdEx++ |
| 3443 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3444 | if b < 0x80 { |
| 3445 | break |
| 3446 | } |
| 3447 | } |
| 3448 | intStringLen := int(stringLen) |
| 3449 | if intStringLen < 0 { |
| 3450 | return ErrInvalidLengthGenerated |
| 3451 | } |
| 3452 | postIndex := iNdEx + intStringLen |
| 3453 | if postIndex > l { |
| 3454 | return io.ErrUnexpectedEOF |
| 3455 | } |
| 3456 | m.SingularName = string(dAtA[iNdEx:postIndex]) |
| 3457 | iNdEx = postIndex |
| 3458 | case 7: |
| 3459 | if wireType != 2 { |
| 3460 | return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType) |
| 3461 | } |
| 3462 | var stringLen uint64 |
| 3463 | for shift := uint(0); ; shift += 7 { |
| 3464 | if shift >= 64 { |
| 3465 | return ErrIntOverflowGenerated |
| 3466 | } |
| 3467 | if iNdEx >= l { |
| 3468 | return io.ErrUnexpectedEOF |
| 3469 | } |
| 3470 | b := dAtA[iNdEx] |
| 3471 | iNdEx++ |
| 3472 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3473 | if b < 0x80 { |
| 3474 | break |
| 3475 | } |
| 3476 | } |
| 3477 | intStringLen := int(stringLen) |
| 3478 | if intStringLen < 0 { |
| 3479 | return ErrInvalidLengthGenerated |
| 3480 | } |
| 3481 | postIndex := iNdEx + intStringLen |
| 3482 | if postIndex > l { |
| 3483 | return io.ErrUnexpectedEOF |
| 3484 | } |
| 3485 | m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex])) |
| 3486 | iNdEx = postIndex |
| 3487 | case 8: |
| 3488 | if wireType != 2 { |
| 3489 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 3490 | } |
| 3491 | var stringLen uint64 |
| 3492 | for shift := uint(0); ; shift += 7 { |
| 3493 | if shift >= 64 { |
| 3494 | return ErrIntOverflowGenerated |
| 3495 | } |
| 3496 | if iNdEx >= l { |
| 3497 | return io.ErrUnexpectedEOF |
| 3498 | } |
| 3499 | b := dAtA[iNdEx] |
| 3500 | iNdEx++ |
| 3501 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3502 | if b < 0x80 { |
| 3503 | break |
| 3504 | } |
| 3505 | } |
| 3506 | intStringLen := int(stringLen) |
| 3507 | if intStringLen < 0 { |
| 3508 | return ErrInvalidLengthGenerated |
| 3509 | } |
| 3510 | postIndex := iNdEx + intStringLen |
| 3511 | if postIndex > l { |
| 3512 | return io.ErrUnexpectedEOF |
| 3513 | } |
| 3514 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 3515 | iNdEx = postIndex |
| 3516 | case 9: |
| 3517 | if wireType != 2 { |
| 3518 | return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 3519 | } |
| 3520 | var stringLen uint64 |
| 3521 | for shift := uint(0); ; shift += 7 { |
| 3522 | if shift >= 64 { |
| 3523 | return ErrIntOverflowGenerated |
| 3524 | } |
| 3525 | if iNdEx >= l { |
| 3526 | return io.ErrUnexpectedEOF |
| 3527 | } |
| 3528 | b := dAtA[iNdEx] |
| 3529 | iNdEx++ |
| 3530 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3531 | if b < 0x80 { |
| 3532 | break |
| 3533 | } |
| 3534 | } |
| 3535 | intStringLen := int(stringLen) |
| 3536 | if intStringLen < 0 { |
| 3537 | return ErrInvalidLengthGenerated |
| 3538 | } |
| 3539 | postIndex := iNdEx + intStringLen |
| 3540 | if postIndex > l { |
| 3541 | return io.ErrUnexpectedEOF |
| 3542 | } |
| 3543 | m.Version = string(dAtA[iNdEx:postIndex]) |
| 3544 | iNdEx = postIndex |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 3545 | case 10: |
| 3546 | if wireType != 2 { |
| 3547 | return fmt.Errorf("proto: wrong wireType = %d for field StorageVersionHash", wireType) |
| 3548 | } |
| 3549 | var stringLen uint64 |
| 3550 | for shift := uint(0); ; shift += 7 { |
| 3551 | if shift >= 64 { |
| 3552 | return ErrIntOverflowGenerated |
| 3553 | } |
| 3554 | if iNdEx >= l { |
| 3555 | return io.ErrUnexpectedEOF |
| 3556 | } |
| 3557 | b := dAtA[iNdEx] |
| 3558 | iNdEx++ |
| 3559 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3560 | if b < 0x80 { |
| 3561 | break |
| 3562 | } |
| 3563 | } |
| 3564 | intStringLen := int(stringLen) |
| 3565 | if intStringLen < 0 { |
| 3566 | return ErrInvalidLengthGenerated |
| 3567 | } |
| 3568 | postIndex := iNdEx + intStringLen |
| 3569 | if postIndex > l { |
| 3570 | return io.ErrUnexpectedEOF |
| 3571 | } |
| 3572 | m.StorageVersionHash = string(dAtA[iNdEx:postIndex]) |
| 3573 | iNdEx = postIndex |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 3574 | default: |
| 3575 | iNdEx = preIndex |
| 3576 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3577 | if err != nil { |
| 3578 | return err |
| 3579 | } |
| 3580 | if skippy < 0 { |
| 3581 | return ErrInvalidLengthGenerated |
| 3582 | } |
| 3583 | if (iNdEx + skippy) > l { |
| 3584 | return io.ErrUnexpectedEOF |
| 3585 | } |
| 3586 | iNdEx += skippy |
| 3587 | } |
| 3588 | } |
| 3589 | |
| 3590 | if iNdEx > l { |
| 3591 | return io.ErrUnexpectedEOF |
| 3592 | } |
| 3593 | return nil |
| 3594 | } |
| 3595 | func (m *APIResourceList) Unmarshal(dAtA []byte) error { |
| 3596 | l := len(dAtA) |
| 3597 | iNdEx := 0 |
| 3598 | for iNdEx < l { |
| 3599 | preIndex := iNdEx |
| 3600 | var wire uint64 |
| 3601 | for shift := uint(0); ; shift += 7 { |
| 3602 | if shift >= 64 { |
| 3603 | return ErrIntOverflowGenerated |
| 3604 | } |
| 3605 | if iNdEx >= l { |
| 3606 | return io.ErrUnexpectedEOF |
| 3607 | } |
| 3608 | b := dAtA[iNdEx] |
| 3609 | iNdEx++ |
| 3610 | wire |= (uint64(b) & 0x7F) << shift |
| 3611 | if b < 0x80 { |
| 3612 | break |
| 3613 | } |
| 3614 | } |
| 3615 | fieldNum := int32(wire >> 3) |
| 3616 | wireType := int(wire & 0x7) |
| 3617 | if wireType == 4 { |
| 3618 | return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group") |
| 3619 | } |
| 3620 | if fieldNum <= 0 { |
| 3621 | return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3622 | } |
| 3623 | switch fieldNum { |
| 3624 | case 1: |
| 3625 | if wireType != 2 { |
| 3626 | return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) |
| 3627 | } |
| 3628 | var stringLen uint64 |
| 3629 | for shift := uint(0); ; shift += 7 { |
| 3630 | if shift >= 64 { |
| 3631 | return ErrIntOverflowGenerated |
| 3632 | } |
| 3633 | if iNdEx >= l { |
| 3634 | return io.ErrUnexpectedEOF |
| 3635 | } |
| 3636 | b := dAtA[iNdEx] |
| 3637 | iNdEx++ |
| 3638 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3639 | if b < 0x80 { |
| 3640 | break |
| 3641 | } |
| 3642 | } |
| 3643 | intStringLen := int(stringLen) |
| 3644 | if intStringLen < 0 { |
| 3645 | return ErrInvalidLengthGenerated |
| 3646 | } |
| 3647 | postIndex := iNdEx + intStringLen |
| 3648 | if postIndex > l { |
| 3649 | return io.ErrUnexpectedEOF |
| 3650 | } |
| 3651 | m.GroupVersion = string(dAtA[iNdEx:postIndex]) |
| 3652 | iNdEx = postIndex |
| 3653 | case 2: |
| 3654 | if wireType != 2 { |
| 3655 | return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType) |
| 3656 | } |
| 3657 | var msglen int |
| 3658 | for shift := uint(0); ; shift += 7 { |
| 3659 | if shift >= 64 { |
| 3660 | return ErrIntOverflowGenerated |
| 3661 | } |
| 3662 | if iNdEx >= l { |
| 3663 | return io.ErrUnexpectedEOF |
| 3664 | } |
| 3665 | b := dAtA[iNdEx] |
| 3666 | iNdEx++ |
| 3667 | msglen |= (int(b) & 0x7F) << shift |
| 3668 | if b < 0x80 { |
| 3669 | break |
| 3670 | } |
| 3671 | } |
| 3672 | if msglen < 0 { |
| 3673 | return ErrInvalidLengthGenerated |
| 3674 | } |
| 3675 | postIndex := iNdEx + msglen |
| 3676 | if postIndex > l { |
| 3677 | return io.ErrUnexpectedEOF |
| 3678 | } |
| 3679 | m.APIResources = append(m.APIResources, APIResource{}) |
| 3680 | if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3681 | return err |
| 3682 | } |
| 3683 | iNdEx = postIndex |
| 3684 | default: |
| 3685 | iNdEx = preIndex |
| 3686 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3687 | if err != nil { |
| 3688 | return err |
| 3689 | } |
| 3690 | if skippy < 0 { |
| 3691 | return ErrInvalidLengthGenerated |
| 3692 | } |
| 3693 | if (iNdEx + skippy) > l { |
| 3694 | return io.ErrUnexpectedEOF |
| 3695 | } |
| 3696 | iNdEx += skippy |
| 3697 | } |
| 3698 | } |
| 3699 | |
| 3700 | if iNdEx > l { |
| 3701 | return io.ErrUnexpectedEOF |
| 3702 | } |
| 3703 | return nil |
| 3704 | } |
| 3705 | func (m *APIVersions) Unmarshal(dAtA []byte) error { |
| 3706 | l := len(dAtA) |
| 3707 | iNdEx := 0 |
| 3708 | for iNdEx < l { |
| 3709 | preIndex := iNdEx |
| 3710 | var wire uint64 |
| 3711 | for shift := uint(0); ; shift += 7 { |
| 3712 | if shift >= 64 { |
| 3713 | return ErrIntOverflowGenerated |
| 3714 | } |
| 3715 | if iNdEx >= l { |
| 3716 | return io.ErrUnexpectedEOF |
| 3717 | } |
| 3718 | b := dAtA[iNdEx] |
| 3719 | iNdEx++ |
| 3720 | wire |= (uint64(b) & 0x7F) << shift |
| 3721 | if b < 0x80 { |
| 3722 | break |
| 3723 | } |
| 3724 | } |
| 3725 | fieldNum := int32(wire >> 3) |
| 3726 | wireType := int(wire & 0x7) |
| 3727 | if wireType == 4 { |
| 3728 | return fmt.Errorf("proto: APIVersions: wiretype end group for non-group") |
| 3729 | } |
| 3730 | if fieldNum <= 0 { |
| 3731 | return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3732 | } |
| 3733 | switch fieldNum { |
| 3734 | case 1: |
| 3735 | if wireType != 2 { |
| 3736 | return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) |
| 3737 | } |
| 3738 | var stringLen uint64 |
| 3739 | for shift := uint(0); ; shift += 7 { |
| 3740 | if shift >= 64 { |
| 3741 | return ErrIntOverflowGenerated |
| 3742 | } |
| 3743 | if iNdEx >= l { |
| 3744 | return io.ErrUnexpectedEOF |
| 3745 | } |
| 3746 | b := dAtA[iNdEx] |
| 3747 | iNdEx++ |
| 3748 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3749 | if b < 0x80 { |
| 3750 | break |
| 3751 | } |
| 3752 | } |
| 3753 | intStringLen := int(stringLen) |
| 3754 | if intStringLen < 0 { |
| 3755 | return ErrInvalidLengthGenerated |
| 3756 | } |
| 3757 | postIndex := iNdEx + intStringLen |
| 3758 | if postIndex > l { |
| 3759 | return io.ErrUnexpectedEOF |
| 3760 | } |
| 3761 | m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex])) |
| 3762 | iNdEx = postIndex |
| 3763 | case 2: |
| 3764 | if wireType != 2 { |
| 3765 | return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) |
| 3766 | } |
| 3767 | var msglen int |
| 3768 | for shift := uint(0); ; shift += 7 { |
| 3769 | if shift >= 64 { |
| 3770 | return ErrIntOverflowGenerated |
| 3771 | } |
| 3772 | if iNdEx >= l { |
| 3773 | return io.ErrUnexpectedEOF |
| 3774 | } |
| 3775 | b := dAtA[iNdEx] |
| 3776 | iNdEx++ |
| 3777 | msglen |= (int(b) & 0x7F) << shift |
| 3778 | if b < 0x80 { |
| 3779 | break |
| 3780 | } |
| 3781 | } |
| 3782 | if msglen < 0 { |
| 3783 | return ErrInvalidLengthGenerated |
| 3784 | } |
| 3785 | postIndex := iNdEx + msglen |
| 3786 | if postIndex > l { |
| 3787 | return io.ErrUnexpectedEOF |
| 3788 | } |
| 3789 | m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) |
| 3790 | if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3791 | return err |
| 3792 | } |
| 3793 | iNdEx = postIndex |
| 3794 | default: |
| 3795 | iNdEx = preIndex |
| 3796 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3797 | if err != nil { |
| 3798 | return err |
| 3799 | } |
| 3800 | if skippy < 0 { |
| 3801 | return ErrInvalidLengthGenerated |
| 3802 | } |
| 3803 | if (iNdEx + skippy) > l { |
| 3804 | return io.ErrUnexpectedEOF |
| 3805 | } |
| 3806 | iNdEx += skippy |
| 3807 | } |
| 3808 | } |
| 3809 | |
| 3810 | if iNdEx > l { |
| 3811 | return io.ErrUnexpectedEOF |
| 3812 | } |
| 3813 | return nil |
| 3814 | } |
| 3815 | func (m *CreateOptions) Unmarshal(dAtA []byte) error { |
| 3816 | l := len(dAtA) |
| 3817 | iNdEx := 0 |
| 3818 | for iNdEx < l { |
| 3819 | preIndex := iNdEx |
| 3820 | var wire uint64 |
| 3821 | for shift := uint(0); ; shift += 7 { |
| 3822 | if shift >= 64 { |
| 3823 | return ErrIntOverflowGenerated |
| 3824 | } |
| 3825 | if iNdEx >= l { |
| 3826 | return io.ErrUnexpectedEOF |
| 3827 | } |
| 3828 | b := dAtA[iNdEx] |
| 3829 | iNdEx++ |
| 3830 | wire |= (uint64(b) & 0x7F) << shift |
| 3831 | if b < 0x80 { |
| 3832 | break |
| 3833 | } |
| 3834 | } |
| 3835 | fieldNum := int32(wire >> 3) |
| 3836 | wireType := int(wire & 0x7) |
| 3837 | if wireType == 4 { |
| 3838 | return fmt.Errorf("proto: CreateOptions: wiretype end group for non-group") |
| 3839 | } |
| 3840 | if fieldNum <= 0 { |
| 3841 | return fmt.Errorf("proto: CreateOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3842 | } |
| 3843 | switch fieldNum { |
| 3844 | case 1: |
| 3845 | if wireType != 2 { |
| 3846 | return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 3847 | } |
| 3848 | var stringLen uint64 |
| 3849 | for shift := uint(0); ; shift += 7 { |
| 3850 | if shift >= 64 { |
| 3851 | return ErrIntOverflowGenerated |
| 3852 | } |
| 3853 | if iNdEx >= l { |
| 3854 | return io.ErrUnexpectedEOF |
| 3855 | } |
| 3856 | b := dAtA[iNdEx] |
| 3857 | iNdEx++ |
| 3858 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3859 | if b < 0x80 { |
| 3860 | break |
| 3861 | } |
| 3862 | } |
| 3863 | intStringLen := int(stringLen) |
| 3864 | if intStringLen < 0 { |
| 3865 | return ErrInvalidLengthGenerated |
| 3866 | } |
| 3867 | postIndex := iNdEx + intStringLen |
| 3868 | if postIndex > l { |
| 3869 | return io.ErrUnexpectedEOF |
| 3870 | } |
| 3871 | m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 3872 | iNdEx = postIndex |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 3873 | default: |
| 3874 | iNdEx = preIndex |
| 3875 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3876 | if err != nil { |
| 3877 | return err |
| 3878 | } |
| 3879 | if skippy < 0 { |
| 3880 | return ErrInvalidLengthGenerated |
| 3881 | } |
| 3882 | if (iNdEx + skippy) > l { |
| 3883 | return io.ErrUnexpectedEOF |
| 3884 | } |
| 3885 | iNdEx += skippy |
| 3886 | } |
| 3887 | } |
| 3888 | |
| 3889 | if iNdEx > l { |
| 3890 | return io.ErrUnexpectedEOF |
| 3891 | } |
| 3892 | return nil |
| 3893 | } |
| 3894 | func (m *DeleteOptions) Unmarshal(dAtA []byte) error { |
| 3895 | l := len(dAtA) |
| 3896 | iNdEx := 0 |
| 3897 | for iNdEx < l { |
| 3898 | preIndex := iNdEx |
| 3899 | var wire uint64 |
| 3900 | for shift := uint(0); ; shift += 7 { |
| 3901 | if shift >= 64 { |
| 3902 | return ErrIntOverflowGenerated |
| 3903 | } |
| 3904 | if iNdEx >= l { |
| 3905 | return io.ErrUnexpectedEOF |
| 3906 | } |
| 3907 | b := dAtA[iNdEx] |
| 3908 | iNdEx++ |
| 3909 | wire |= (uint64(b) & 0x7F) << shift |
| 3910 | if b < 0x80 { |
| 3911 | break |
| 3912 | } |
| 3913 | } |
| 3914 | fieldNum := int32(wire >> 3) |
| 3915 | wireType := int(wire & 0x7) |
| 3916 | if wireType == 4 { |
| 3917 | return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group") |
| 3918 | } |
| 3919 | if fieldNum <= 0 { |
| 3920 | return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3921 | } |
| 3922 | switch fieldNum { |
| 3923 | case 1: |
| 3924 | if wireType != 0 { |
| 3925 | return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType) |
| 3926 | } |
| 3927 | var v int64 |
| 3928 | for shift := uint(0); ; shift += 7 { |
| 3929 | if shift >= 64 { |
| 3930 | return ErrIntOverflowGenerated |
| 3931 | } |
| 3932 | if iNdEx >= l { |
| 3933 | return io.ErrUnexpectedEOF |
| 3934 | } |
| 3935 | b := dAtA[iNdEx] |
| 3936 | iNdEx++ |
| 3937 | v |= (int64(b) & 0x7F) << shift |
| 3938 | if b < 0x80 { |
| 3939 | break |
| 3940 | } |
| 3941 | } |
| 3942 | m.GracePeriodSeconds = &v |
| 3943 | case 2: |
| 3944 | if wireType != 2 { |
| 3945 | return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType) |
| 3946 | } |
| 3947 | var msglen int |
| 3948 | for shift := uint(0); ; shift += 7 { |
| 3949 | if shift >= 64 { |
| 3950 | return ErrIntOverflowGenerated |
| 3951 | } |
| 3952 | if iNdEx >= l { |
| 3953 | return io.ErrUnexpectedEOF |
| 3954 | } |
| 3955 | b := dAtA[iNdEx] |
| 3956 | iNdEx++ |
| 3957 | msglen |= (int(b) & 0x7F) << shift |
| 3958 | if b < 0x80 { |
| 3959 | break |
| 3960 | } |
| 3961 | } |
| 3962 | if msglen < 0 { |
| 3963 | return ErrInvalidLengthGenerated |
| 3964 | } |
| 3965 | postIndex := iNdEx + msglen |
| 3966 | if postIndex > l { |
| 3967 | return io.ErrUnexpectedEOF |
| 3968 | } |
| 3969 | if m.Preconditions == nil { |
| 3970 | m.Preconditions = &Preconditions{} |
| 3971 | } |
| 3972 | if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3973 | return err |
| 3974 | } |
| 3975 | iNdEx = postIndex |
| 3976 | case 3: |
| 3977 | if wireType != 0 { |
| 3978 | return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType) |
| 3979 | } |
| 3980 | var v int |
| 3981 | for shift := uint(0); ; shift += 7 { |
| 3982 | if shift >= 64 { |
| 3983 | return ErrIntOverflowGenerated |
| 3984 | } |
| 3985 | if iNdEx >= l { |
| 3986 | return io.ErrUnexpectedEOF |
| 3987 | } |
| 3988 | b := dAtA[iNdEx] |
| 3989 | iNdEx++ |
| 3990 | v |= (int(b) & 0x7F) << shift |
| 3991 | if b < 0x80 { |
| 3992 | break |
| 3993 | } |
| 3994 | } |
| 3995 | b := bool(v != 0) |
| 3996 | m.OrphanDependents = &b |
| 3997 | case 4: |
| 3998 | if wireType != 2 { |
| 3999 | return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) |
| 4000 | } |
| 4001 | var stringLen uint64 |
| 4002 | for shift := uint(0); ; shift += 7 { |
| 4003 | if shift >= 64 { |
| 4004 | return ErrIntOverflowGenerated |
| 4005 | } |
| 4006 | if iNdEx >= l { |
| 4007 | return io.ErrUnexpectedEOF |
| 4008 | } |
| 4009 | b := dAtA[iNdEx] |
| 4010 | iNdEx++ |
| 4011 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4012 | if b < 0x80 { |
| 4013 | break |
| 4014 | } |
| 4015 | } |
| 4016 | intStringLen := int(stringLen) |
| 4017 | if intStringLen < 0 { |
| 4018 | return ErrInvalidLengthGenerated |
| 4019 | } |
| 4020 | postIndex := iNdEx + intStringLen |
| 4021 | if postIndex > l { |
| 4022 | return io.ErrUnexpectedEOF |
| 4023 | } |
| 4024 | s := DeletionPropagation(dAtA[iNdEx:postIndex]) |
| 4025 | m.PropagationPolicy = &s |
| 4026 | iNdEx = postIndex |
| 4027 | case 5: |
| 4028 | if wireType != 2 { |
| 4029 | return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 4030 | } |
| 4031 | var stringLen uint64 |
| 4032 | for shift := uint(0); ; shift += 7 { |
| 4033 | if shift >= 64 { |
| 4034 | return ErrIntOverflowGenerated |
| 4035 | } |
| 4036 | if iNdEx >= l { |
| 4037 | return io.ErrUnexpectedEOF |
| 4038 | } |
| 4039 | b := dAtA[iNdEx] |
| 4040 | iNdEx++ |
| 4041 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4042 | if b < 0x80 { |
| 4043 | break |
| 4044 | } |
| 4045 | } |
| 4046 | intStringLen := int(stringLen) |
| 4047 | if intStringLen < 0 { |
| 4048 | return ErrInvalidLengthGenerated |
| 4049 | } |
| 4050 | postIndex := iNdEx + intStringLen |
| 4051 | if postIndex > l { |
| 4052 | return io.ErrUnexpectedEOF |
| 4053 | } |
| 4054 | m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 4055 | iNdEx = postIndex |
| 4056 | default: |
| 4057 | iNdEx = preIndex |
| 4058 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4059 | if err != nil { |
| 4060 | return err |
| 4061 | } |
| 4062 | if skippy < 0 { |
| 4063 | return ErrInvalidLengthGenerated |
| 4064 | } |
| 4065 | if (iNdEx + skippy) > l { |
| 4066 | return io.ErrUnexpectedEOF |
| 4067 | } |
| 4068 | iNdEx += skippy |
| 4069 | } |
| 4070 | } |
| 4071 | |
| 4072 | if iNdEx > l { |
| 4073 | return io.ErrUnexpectedEOF |
| 4074 | } |
| 4075 | return nil |
| 4076 | } |
| 4077 | func (m *Duration) Unmarshal(dAtA []byte) error { |
| 4078 | l := len(dAtA) |
| 4079 | iNdEx := 0 |
| 4080 | for iNdEx < l { |
| 4081 | preIndex := iNdEx |
| 4082 | var wire uint64 |
| 4083 | for shift := uint(0); ; shift += 7 { |
| 4084 | if shift >= 64 { |
| 4085 | return ErrIntOverflowGenerated |
| 4086 | } |
| 4087 | if iNdEx >= l { |
| 4088 | return io.ErrUnexpectedEOF |
| 4089 | } |
| 4090 | b := dAtA[iNdEx] |
| 4091 | iNdEx++ |
| 4092 | wire |= (uint64(b) & 0x7F) << shift |
| 4093 | if b < 0x80 { |
| 4094 | break |
| 4095 | } |
| 4096 | } |
| 4097 | fieldNum := int32(wire >> 3) |
| 4098 | wireType := int(wire & 0x7) |
| 4099 | if wireType == 4 { |
| 4100 | return fmt.Errorf("proto: Duration: wiretype end group for non-group") |
| 4101 | } |
| 4102 | if fieldNum <= 0 { |
| 4103 | return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4104 | } |
| 4105 | switch fieldNum { |
| 4106 | case 1: |
| 4107 | if wireType != 0 { |
| 4108 | return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 4109 | } |
| 4110 | m.Duration = 0 |
| 4111 | for shift := uint(0); ; shift += 7 { |
| 4112 | if shift >= 64 { |
| 4113 | return ErrIntOverflowGenerated |
| 4114 | } |
| 4115 | if iNdEx >= l { |
| 4116 | return io.ErrUnexpectedEOF |
| 4117 | } |
| 4118 | b := dAtA[iNdEx] |
| 4119 | iNdEx++ |
| 4120 | m.Duration |= (time.Duration(b) & 0x7F) << shift |
| 4121 | if b < 0x80 { |
| 4122 | break |
| 4123 | } |
| 4124 | } |
| 4125 | default: |
| 4126 | iNdEx = preIndex |
| 4127 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4128 | if err != nil { |
| 4129 | return err |
| 4130 | } |
| 4131 | if skippy < 0 { |
| 4132 | return ErrInvalidLengthGenerated |
| 4133 | } |
| 4134 | if (iNdEx + skippy) > l { |
| 4135 | return io.ErrUnexpectedEOF |
| 4136 | } |
| 4137 | iNdEx += skippy |
| 4138 | } |
| 4139 | } |
| 4140 | |
| 4141 | if iNdEx > l { |
| 4142 | return io.ErrUnexpectedEOF |
| 4143 | } |
| 4144 | return nil |
| 4145 | } |
| 4146 | func (m *ExportOptions) Unmarshal(dAtA []byte) error { |
| 4147 | l := len(dAtA) |
| 4148 | iNdEx := 0 |
| 4149 | for iNdEx < l { |
| 4150 | preIndex := iNdEx |
| 4151 | var wire uint64 |
| 4152 | for shift := uint(0); ; shift += 7 { |
| 4153 | if shift >= 64 { |
| 4154 | return ErrIntOverflowGenerated |
| 4155 | } |
| 4156 | if iNdEx >= l { |
| 4157 | return io.ErrUnexpectedEOF |
| 4158 | } |
| 4159 | b := dAtA[iNdEx] |
| 4160 | iNdEx++ |
| 4161 | wire |= (uint64(b) & 0x7F) << shift |
| 4162 | if b < 0x80 { |
| 4163 | break |
| 4164 | } |
| 4165 | } |
| 4166 | fieldNum := int32(wire >> 3) |
| 4167 | wireType := int(wire & 0x7) |
| 4168 | if wireType == 4 { |
| 4169 | return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group") |
| 4170 | } |
| 4171 | if fieldNum <= 0 { |
| 4172 | return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4173 | } |
| 4174 | switch fieldNum { |
| 4175 | case 1: |
| 4176 | if wireType != 0 { |
| 4177 | return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType) |
| 4178 | } |
| 4179 | var v int |
| 4180 | for shift := uint(0); ; shift += 7 { |
| 4181 | if shift >= 64 { |
| 4182 | return ErrIntOverflowGenerated |
| 4183 | } |
| 4184 | if iNdEx >= l { |
| 4185 | return io.ErrUnexpectedEOF |
| 4186 | } |
| 4187 | b := dAtA[iNdEx] |
| 4188 | iNdEx++ |
| 4189 | v |= (int(b) & 0x7F) << shift |
| 4190 | if b < 0x80 { |
| 4191 | break |
| 4192 | } |
| 4193 | } |
| 4194 | m.Export = bool(v != 0) |
| 4195 | case 2: |
| 4196 | if wireType != 0 { |
| 4197 | return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType) |
| 4198 | } |
| 4199 | var v int |
| 4200 | for shift := uint(0); ; shift += 7 { |
| 4201 | if shift >= 64 { |
| 4202 | return ErrIntOverflowGenerated |
| 4203 | } |
| 4204 | if iNdEx >= l { |
| 4205 | return io.ErrUnexpectedEOF |
| 4206 | } |
| 4207 | b := dAtA[iNdEx] |
| 4208 | iNdEx++ |
| 4209 | v |= (int(b) & 0x7F) << shift |
| 4210 | if b < 0x80 { |
| 4211 | break |
| 4212 | } |
| 4213 | } |
| 4214 | m.Exact = bool(v != 0) |
| 4215 | default: |
| 4216 | iNdEx = preIndex |
| 4217 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4218 | if err != nil { |
| 4219 | return err |
| 4220 | } |
| 4221 | if skippy < 0 { |
| 4222 | return ErrInvalidLengthGenerated |
| 4223 | } |
| 4224 | if (iNdEx + skippy) > l { |
| 4225 | return io.ErrUnexpectedEOF |
| 4226 | } |
| 4227 | iNdEx += skippy |
| 4228 | } |
| 4229 | } |
| 4230 | |
| 4231 | if iNdEx > l { |
| 4232 | return io.ErrUnexpectedEOF |
| 4233 | } |
| 4234 | return nil |
| 4235 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 4236 | func (m *Fields) Unmarshal(dAtA []byte) error { |
| 4237 | l := len(dAtA) |
| 4238 | iNdEx := 0 |
| 4239 | for iNdEx < l { |
| 4240 | preIndex := iNdEx |
| 4241 | var wire uint64 |
| 4242 | for shift := uint(0); ; shift += 7 { |
| 4243 | if shift >= 64 { |
| 4244 | return ErrIntOverflowGenerated |
| 4245 | } |
| 4246 | if iNdEx >= l { |
| 4247 | return io.ErrUnexpectedEOF |
| 4248 | } |
| 4249 | b := dAtA[iNdEx] |
| 4250 | iNdEx++ |
| 4251 | wire |= (uint64(b) & 0x7F) << shift |
| 4252 | if b < 0x80 { |
| 4253 | break |
| 4254 | } |
| 4255 | } |
| 4256 | fieldNum := int32(wire >> 3) |
| 4257 | wireType := int(wire & 0x7) |
| 4258 | if wireType == 4 { |
| 4259 | return fmt.Errorf("proto: Fields: wiretype end group for non-group") |
| 4260 | } |
| 4261 | if fieldNum <= 0 { |
| 4262 | return fmt.Errorf("proto: Fields: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4263 | } |
| 4264 | switch fieldNum { |
| 4265 | case 1: |
| 4266 | if wireType != 2 { |
| 4267 | return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType) |
| 4268 | } |
| 4269 | var msglen int |
| 4270 | for shift := uint(0); ; shift += 7 { |
| 4271 | if shift >= 64 { |
| 4272 | return ErrIntOverflowGenerated |
| 4273 | } |
| 4274 | if iNdEx >= l { |
| 4275 | return io.ErrUnexpectedEOF |
| 4276 | } |
| 4277 | b := dAtA[iNdEx] |
| 4278 | iNdEx++ |
| 4279 | msglen |= (int(b) & 0x7F) << shift |
| 4280 | if b < 0x80 { |
| 4281 | break |
| 4282 | } |
| 4283 | } |
| 4284 | if msglen < 0 { |
| 4285 | return ErrInvalidLengthGenerated |
| 4286 | } |
| 4287 | postIndex := iNdEx + msglen |
| 4288 | if postIndex > l { |
| 4289 | return io.ErrUnexpectedEOF |
| 4290 | } |
| 4291 | if m.Map == nil { |
| 4292 | m.Map = make(map[string]Fields) |
| 4293 | } |
| 4294 | var mapkey string |
| 4295 | mapvalue := &Fields{} |
| 4296 | for iNdEx < postIndex { |
| 4297 | entryPreIndex := iNdEx |
| 4298 | var wire uint64 |
| 4299 | for shift := uint(0); ; shift += 7 { |
| 4300 | if shift >= 64 { |
| 4301 | return ErrIntOverflowGenerated |
| 4302 | } |
| 4303 | if iNdEx >= l { |
| 4304 | return io.ErrUnexpectedEOF |
| 4305 | } |
| 4306 | b := dAtA[iNdEx] |
| 4307 | iNdEx++ |
| 4308 | wire |= (uint64(b) & 0x7F) << shift |
| 4309 | if b < 0x80 { |
| 4310 | break |
| 4311 | } |
| 4312 | } |
| 4313 | fieldNum := int32(wire >> 3) |
| 4314 | if fieldNum == 1 { |
| 4315 | var stringLenmapkey uint64 |
| 4316 | for shift := uint(0); ; shift += 7 { |
| 4317 | if shift >= 64 { |
| 4318 | return ErrIntOverflowGenerated |
| 4319 | } |
| 4320 | if iNdEx >= l { |
| 4321 | return io.ErrUnexpectedEOF |
| 4322 | } |
| 4323 | b := dAtA[iNdEx] |
| 4324 | iNdEx++ |
| 4325 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 4326 | if b < 0x80 { |
| 4327 | break |
| 4328 | } |
| 4329 | } |
| 4330 | intStringLenmapkey := int(stringLenmapkey) |
| 4331 | if intStringLenmapkey < 0 { |
| 4332 | return ErrInvalidLengthGenerated |
| 4333 | } |
| 4334 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 4335 | if postStringIndexmapkey > l { |
| 4336 | return io.ErrUnexpectedEOF |
| 4337 | } |
| 4338 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 4339 | iNdEx = postStringIndexmapkey |
| 4340 | } else if fieldNum == 2 { |
| 4341 | var mapmsglen int |
| 4342 | for shift := uint(0); ; shift += 7 { |
| 4343 | if shift >= 64 { |
| 4344 | return ErrIntOverflowGenerated |
| 4345 | } |
| 4346 | if iNdEx >= l { |
| 4347 | return io.ErrUnexpectedEOF |
| 4348 | } |
| 4349 | b := dAtA[iNdEx] |
| 4350 | iNdEx++ |
| 4351 | mapmsglen |= (int(b) & 0x7F) << shift |
| 4352 | if b < 0x80 { |
| 4353 | break |
| 4354 | } |
| 4355 | } |
| 4356 | if mapmsglen < 0 { |
| 4357 | return ErrInvalidLengthGenerated |
| 4358 | } |
| 4359 | postmsgIndex := iNdEx + mapmsglen |
| 4360 | if mapmsglen < 0 { |
| 4361 | return ErrInvalidLengthGenerated |
| 4362 | } |
| 4363 | if postmsgIndex > l { |
| 4364 | return io.ErrUnexpectedEOF |
| 4365 | } |
| 4366 | mapvalue = &Fields{} |
| 4367 | if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 4368 | return err |
| 4369 | } |
| 4370 | iNdEx = postmsgIndex |
| 4371 | } else { |
| 4372 | iNdEx = entryPreIndex |
| 4373 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4374 | if err != nil { |
| 4375 | return err |
| 4376 | } |
| 4377 | if skippy < 0 { |
| 4378 | return ErrInvalidLengthGenerated |
| 4379 | } |
| 4380 | if (iNdEx + skippy) > postIndex { |
| 4381 | return io.ErrUnexpectedEOF |
| 4382 | } |
| 4383 | iNdEx += skippy |
| 4384 | } |
| 4385 | } |
| 4386 | m.Map[mapkey] = *mapvalue |
| 4387 | iNdEx = postIndex |
| 4388 | default: |
| 4389 | iNdEx = preIndex |
| 4390 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4391 | if err != nil { |
| 4392 | return err |
| 4393 | } |
| 4394 | if skippy < 0 { |
| 4395 | return ErrInvalidLengthGenerated |
| 4396 | } |
| 4397 | if (iNdEx + skippy) > l { |
| 4398 | return io.ErrUnexpectedEOF |
| 4399 | } |
| 4400 | iNdEx += skippy |
| 4401 | } |
| 4402 | } |
| 4403 | |
| 4404 | if iNdEx > l { |
| 4405 | return io.ErrUnexpectedEOF |
| 4406 | } |
| 4407 | return nil |
| 4408 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 4409 | func (m *GetOptions) Unmarshal(dAtA []byte) error { |
| 4410 | l := len(dAtA) |
| 4411 | iNdEx := 0 |
| 4412 | for iNdEx < l { |
| 4413 | preIndex := iNdEx |
| 4414 | var wire uint64 |
| 4415 | for shift := uint(0); ; shift += 7 { |
| 4416 | if shift >= 64 { |
| 4417 | return ErrIntOverflowGenerated |
| 4418 | } |
| 4419 | if iNdEx >= l { |
| 4420 | return io.ErrUnexpectedEOF |
| 4421 | } |
| 4422 | b := dAtA[iNdEx] |
| 4423 | iNdEx++ |
| 4424 | wire |= (uint64(b) & 0x7F) << shift |
| 4425 | if b < 0x80 { |
| 4426 | break |
| 4427 | } |
| 4428 | } |
| 4429 | fieldNum := int32(wire >> 3) |
| 4430 | wireType := int(wire & 0x7) |
| 4431 | if wireType == 4 { |
| 4432 | return fmt.Errorf("proto: GetOptions: wiretype end group for non-group") |
| 4433 | } |
| 4434 | if fieldNum <= 0 { |
| 4435 | return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4436 | } |
| 4437 | switch fieldNum { |
| 4438 | case 1: |
| 4439 | if wireType != 2 { |
| 4440 | return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 4441 | } |
| 4442 | var stringLen uint64 |
| 4443 | for shift := uint(0); ; shift += 7 { |
| 4444 | if shift >= 64 { |
| 4445 | return ErrIntOverflowGenerated |
| 4446 | } |
| 4447 | if iNdEx >= l { |
| 4448 | return io.ErrUnexpectedEOF |
| 4449 | } |
| 4450 | b := dAtA[iNdEx] |
| 4451 | iNdEx++ |
| 4452 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4453 | if b < 0x80 { |
| 4454 | break |
| 4455 | } |
| 4456 | } |
| 4457 | intStringLen := int(stringLen) |
| 4458 | if intStringLen < 0 { |
| 4459 | return ErrInvalidLengthGenerated |
| 4460 | } |
| 4461 | postIndex := iNdEx + intStringLen |
| 4462 | if postIndex > l { |
| 4463 | return io.ErrUnexpectedEOF |
| 4464 | } |
| 4465 | m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 4466 | iNdEx = postIndex |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 4467 | default: |
| 4468 | iNdEx = preIndex |
| 4469 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4470 | if err != nil { |
| 4471 | return err |
| 4472 | } |
| 4473 | if skippy < 0 { |
| 4474 | return ErrInvalidLengthGenerated |
| 4475 | } |
| 4476 | if (iNdEx + skippy) > l { |
| 4477 | return io.ErrUnexpectedEOF |
| 4478 | } |
| 4479 | iNdEx += skippy |
| 4480 | } |
| 4481 | } |
| 4482 | |
| 4483 | if iNdEx > l { |
| 4484 | return io.ErrUnexpectedEOF |
| 4485 | } |
| 4486 | return nil |
| 4487 | } |
| 4488 | func (m *GroupKind) Unmarshal(dAtA []byte) error { |
| 4489 | l := len(dAtA) |
| 4490 | iNdEx := 0 |
| 4491 | for iNdEx < l { |
| 4492 | preIndex := iNdEx |
| 4493 | var wire uint64 |
| 4494 | for shift := uint(0); ; shift += 7 { |
| 4495 | if shift >= 64 { |
| 4496 | return ErrIntOverflowGenerated |
| 4497 | } |
| 4498 | if iNdEx >= l { |
| 4499 | return io.ErrUnexpectedEOF |
| 4500 | } |
| 4501 | b := dAtA[iNdEx] |
| 4502 | iNdEx++ |
| 4503 | wire |= (uint64(b) & 0x7F) << shift |
| 4504 | if b < 0x80 { |
| 4505 | break |
| 4506 | } |
| 4507 | } |
| 4508 | fieldNum := int32(wire >> 3) |
| 4509 | wireType := int(wire & 0x7) |
| 4510 | if wireType == 4 { |
| 4511 | return fmt.Errorf("proto: GroupKind: wiretype end group for non-group") |
| 4512 | } |
| 4513 | if fieldNum <= 0 { |
| 4514 | return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4515 | } |
| 4516 | switch fieldNum { |
| 4517 | case 1: |
| 4518 | if wireType != 2 { |
| 4519 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 4520 | } |
| 4521 | var stringLen uint64 |
| 4522 | for shift := uint(0); ; shift += 7 { |
| 4523 | if shift >= 64 { |
| 4524 | return ErrIntOverflowGenerated |
| 4525 | } |
| 4526 | if iNdEx >= l { |
| 4527 | return io.ErrUnexpectedEOF |
| 4528 | } |
| 4529 | b := dAtA[iNdEx] |
| 4530 | iNdEx++ |
| 4531 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4532 | if b < 0x80 { |
| 4533 | break |
| 4534 | } |
| 4535 | } |
| 4536 | intStringLen := int(stringLen) |
| 4537 | if intStringLen < 0 { |
| 4538 | return ErrInvalidLengthGenerated |
| 4539 | } |
| 4540 | postIndex := iNdEx + intStringLen |
| 4541 | if postIndex > l { |
| 4542 | return io.ErrUnexpectedEOF |
| 4543 | } |
| 4544 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 4545 | iNdEx = postIndex |
| 4546 | case 2: |
| 4547 | if wireType != 2 { |
| 4548 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 4549 | } |
| 4550 | var stringLen uint64 |
| 4551 | for shift := uint(0); ; shift += 7 { |
| 4552 | if shift >= 64 { |
| 4553 | return ErrIntOverflowGenerated |
| 4554 | } |
| 4555 | if iNdEx >= l { |
| 4556 | return io.ErrUnexpectedEOF |
| 4557 | } |
| 4558 | b := dAtA[iNdEx] |
| 4559 | iNdEx++ |
| 4560 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4561 | if b < 0x80 { |
| 4562 | break |
| 4563 | } |
| 4564 | } |
| 4565 | intStringLen := int(stringLen) |
| 4566 | if intStringLen < 0 { |
| 4567 | return ErrInvalidLengthGenerated |
| 4568 | } |
| 4569 | postIndex := iNdEx + intStringLen |
| 4570 | if postIndex > l { |
| 4571 | return io.ErrUnexpectedEOF |
| 4572 | } |
| 4573 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 4574 | iNdEx = postIndex |
| 4575 | default: |
| 4576 | iNdEx = preIndex |
| 4577 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4578 | if err != nil { |
| 4579 | return err |
| 4580 | } |
| 4581 | if skippy < 0 { |
| 4582 | return ErrInvalidLengthGenerated |
| 4583 | } |
| 4584 | if (iNdEx + skippy) > l { |
| 4585 | return io.ErrUnexpectedEOF |
| 4586 | } |
| 4587 | iNdEx += skippy |
| 4588 | } |
| 4589 | } |
| 4590 | |
| 4591 | if iNdEx > l { |
| 4592 | return io.ErrUnexpectedEOF |
| 4593 | } |
| 4594 | return nil |
| 4595 | } |
| 4596 | func (m *GroupResource) Unmarshal(dAtA []byte) error { |
| 4597 | l := len(dAtA) |
| 4598 | iNdEx := 0 |
| 4599 | for iNdEx < l { |
| 4600 | preIndex := iNdEx |
| 4601 | var wire uint64 |
| 4602 | for shift := uint(0); ; shift += 7 { |
| 4603 | if shift >= 64 { |
| 4604 | return ErrIntOverflowGenerated |
| 4605 | } |
| 4606 | if iNdEx >= l { |
| 4607 | return io.ErrUnexpectedEOF |
| 4608 | } |
| 4609 | b := dAtA[iNdEx] |
| 4610 | iNdEx++ |
| 4611 | wire |= (uint64(b) & 0x7F) << shift |
| 4612 | if b < 0x80 { |
| 4613 | break |
| 4614 | } |
| 4615 | } |
| 4616 | fieldNum := int32(wire >> 3) |
| 4617 | wireType := int(wire & 0x7) |
| 4618 | if wireType == 4 { |
| 4619 | return fmt.Errorf("proto: GroupResource: wiretype end group for non-group") |
| 4620 | } |
| 4621 | if fieldNum <= 0 { |
| 4622 | return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4623 | } |
| 4624 | switch fieldNum { |
| 4625 | case 1: |
| 4626 | if wireType != 2 { |
| 4627 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 4628 | } |
| 4629 | var stringLen uint64 |
| 4630 | for shift := uint(0); ; shift += 7 { |
| 4631 | if shift >= 64 { |
| 4632 | return ErrIntOverflowGenerated |
| 4633 | } |
| 4634 | if iNdEx >= l { |
| 4635 | return io.ErrUnexpectedEOF |
| 4636 | } |
| 4637 | b := dAtA[iNdEx] |
| 4638 | iNdEx++ |
| 4639 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4640 | if b < 0x80 { |
| 4641 | break |
| 4642 | } |
| 4643 | } |
| 4644 | intStringLen := int(stringLen) |
| 4645 | if intStringLen < 0 { |
| 4646 | return ErrInvalidLengthGenerated |
| 4647 | } |
| 4648 | postIndex := iNdEx + intStringLen |
| 4649 | if postIndex > l { |
| 4650 | return io.ErrUnexpectedEOF |
| 4651 | } |
| 4652 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 4653 | iNdEx = postIndex |
| 4654 | case 2: |
| 4655 | if wireType != 2 { |
| 4656 | return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) |
| 4657 | } |
| 4658 | var stringLen uint64 |
| 4659 | for shift := uint(0); ; shift += 7 { |
| 4660 | if shift >= 64 { |
| 4661 | return ErrIntOverflowGenerated |
| 4662 | } |
| 4663 | if iNdEx >= l { |
| 4664 | return io.ErrUnexpectedEOF |
| 4665 | } |
| 4666 | b := dAtA[iNdEx] |
| 4667 | iNdEx++ |
| 4668 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4669 | if b < 0x80 { |
| 4670 | break |
| 4671 | } |
| 4672 | } |
| 4673 | intStringLen := int(stringLen) |
| 4674 | if intStringLen < 0 { |
| 4675 | return ErrInvalidLengthGenerated |
| 4676 | } |
| 4677 | postIndex := iNdEx + intStringLen |
| 4678 | if postIndex > l { |
| 4679 | return io.ErrUnexpectedEOF |
| 4680 | } |
| 4681 | m.Resource = string(dAtA[iNdEx:postIndex]) |
| 4682 | iNdEx = postIndex |
| 4683 | default: |
| 4684 | iNdEx = preIndex |
| 4685 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4686 | if err != nil { |
| 4687 | return err |
| 4688 | } |
| 4689 | if skippy < 0 { |
| 4690 | return ErrInvalidLengthGenerated |
| 4691 | } |
| 4692 | if (iNdEx + skippy) > l { |
| 4693 | return io.ErrUnexpectedEOF |
| 4694 | } |
| 4695 | iNdEx += skippy |
| 4696 | } |
| 4697 | } |
| 4698 | |
| 4699 | if iNdEx > l { |
| 4700 | return io.ErrUnexpectedEOF |
| 4701 | } |
| 4702 | return nil |
| 4703 | } |
| 4704 | func (m *GroupVersion) Unmarshal(dAtA []byte) error { |
| 4705 | l := len(dAtA) |
| 4706 | iNdEx := 0 |
| 4707 | for iNdEx < l { |
| 4708 | preIndex := iNdEx |
| 4709 | var wire uint64 |
| 4710 | for shift := uint(0); ; shift += 7 { |
| 4711 | if shift >= 64 { |
| 4712 | return ErrIntOverflowGenerated |
| 4713 | } |
| 4714 | if iNdEx >= l { |
| 4715 | return io.ErrUnexpectedEOF |
| 4716 | } |
| 4717 | b := dAtA[iNdEx] |
| 4718 | iNdEx++ |
| 4719 | wire |= (uint64(b) & 0x7F) << shift |
| 4720 | if b < 0x80 { |
| 4721 | break |
| 4722 | } |
| 4723 | } |
| 4724 | fieldNum := int32(wire >> 3) |
| 4725 | wireType := int(wire & 0x7) |
| 4726 | if wireType == 4 { |
| 4727 | return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group") |
| 4728 | } |
| 4729 | if fieldNum <= 0 { |
| 4730 | return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4731 | } |
| 4732 | switch fieldNum { |
| 4733 | case 1: |
| 4734 | if wireType != 2 { |
| 4735 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 4736 | } |
| 4737 | var stringLen uint64 |
| 4738 | for shift := uint(0); ; shift += 7 { |
| 4739 | if shift >= 64 { |
| 4740 | return ErrIntOverflowGenerated |
| 4741 | } |
| 4742 | if iNdEx >= l { |
| 4743 | return io.ErrUnexpectedEOF |
| 4744 | } |
| 4745 | b := dAtA[iNdEx] |
| 4746 | iNdEx++ |
| 4747 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4748 | if b < 0x80 { |
| 4749 | break |
| 4750 | } |
| 4751 | } |
| 4752 | intStringLen := int(stringLen) |
| 4753 | if intStringLen < 0 { |
| 4754 | return ErrInvalidLengthGenerated |
| 4755 | } |
| 4756 | postIndex := iNdEx + intStringLen |
| 4757 | if postIndex > l { |
| 4758 | return io.ErrUnexpectedEOF |
| 4759 | } |
| 4760 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 4761 | iNdEx = postIndex |
| 4762 | case 2: |
| 4763 | if wireType != 2 { |
| 4764 | return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 4765 | } |
| 4766 | var stringLen uint64 |
| 4767 | for shift := uint(0); ; shift += 7 { |
| 4768 | if shift >= 64 { |
| 4769 | return ErrIntOverflowGenerated |
| 4770 | } |
| 4771 | if iNdEx >= l { |
| 4772 | return io.ErrUnexpectedEOF |
| 4773 | } |
| 4774 | b := dAtA[iNdEx] |
| 4775 | iNdEx++ |
| 4776 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4777 | if b < 0x80 { |
| 4778 | break |
| 4779 | } |
| 4780 | } |
| 4781 | intStringLen := int(stringLen) |
| 4782 | if intStringLen < 0 { |
| 4783 | return ErrInvalidLengthGenerated |
| 4784 | } |
| 4785 | postIndex := iNdEx + intStringLen |
| 4786 | if postIndex > l { |
| 4787 | return io.ErrUnexpectedEOF |
| 4788 | } |
| 4789 | m.Version = string(dAtA[iNdEx:postIndex]) |
| 4790 | iNdEx = postIndex |
| 4791 | default: |
| 4792 | iNdEx = preIndex |
| 4793 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4794 | if err != nil { |
| 4795 | return err |
| 4796 | } |
| 4797 | if skippy < 0 { |
| 4798 | return ErrInvalidLengthGenerated |
| 4799 | } |
| 4800 | if (iNdEx + skippy) > l { |
| 4801 | return io.ErrUnexpectedEOF |
| 4802 | } |
| 4803 | iNdEx += skippy |
| 4804 | } |
| 4805 | } |
| 4806 | |
| 4807 | if iNdEx > l { |
| 4808 | return io.ErrUnexpectedEOF |
| 4809 | } |
| 4810 | return nil |
| 4811 | } |
| 4812 | func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error { |
| 4813 | l := len(dAtA) |
| 4814 | iNdEx := 0 |
| 4815 | for iNdEx < l { |
| 4816 | preIndex := iNdEx |
| 4817 | var wire uint64 |
| 4818 | for shift := uint(0); ; shift += 7 { |
| 4819 | if shift >= 64 { |
| 4820 | return ErrIntOverflowGenerated |
| 4821 | } |
| 4822 | if iNdEx >= l { |
| 4823 | return io.ErrUnexpectedEOF |
| 4824 | } |
| 4825 | b := dAtA[iNdEx] |
| 4826 | iNdEx++ |
| 4827 | wire |= (uint64(b) & 0x7F) << shift |
| 4828 | if b < 0x80 { |
| 4829 | break |
| 4830 | } |
| 4831 | } |
| 4832 | fieldNum := int32(wire >> 3) |
| 4833 | wireType := int(wire & 0x7) |
| 4834 | if wireType == 4 { |
| 4835 | return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group") |
| 4836 | } |
| 4837 | if fieldNum <= 0 { |
| 4838 | return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4839 | } |
| 4840 | switch fieldNum { |
| 4841 | case 1: |
| 4842 | if wireType != 2 { |
| 4843 | return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) |
| 4844 | } |
| 4845 | var stringLen uint64 |
| 4846 | for shift := uint(0); ; shift += 7 { |
| 4847 | if shift >= 64 { |
| 4848 | return ErrIntOverflowGenerated |
| 4849 | } |
| 4850 | if iNdEx >= l { |
| 4851 | return io.ErrUnexpectedEOF |
| 4852 | } |
| 4853 | b := dAtA[iNdEx] |
| 4854 | iNdEx++ |
| 4855 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4856 | if b < 0x80 { |
| 4857 | break |
| 4858 | } |
| 4859 | } |
| 4860 | intStringLen := int(stringLen) |
| 4861 | if intStringLen < 0 { |
| 4862 | return ErrInvalidLengthGenerated |
| 4863 | } |
| 4864 | postIndex := iNdEx + intStringLen |
| 4865 | if postIndex > l { |
| 4866 | return io.ErrUnexpectedEOF |
| 4867 | } |
| 4868 | m.GroupVersion = string(dAtA[iNdEx:postIndex]) |
| 4869 | iNdEx = postIndex |
| 4870 | case 2: |
| 4871 | if wireType != 2 { |
| 4872 | return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 4873 | } |
| 4874 | var stringLen uint64 |
| 4875 | for shift := uint(0); ; shift += 7 { |
| 4876 | if shift >= 64 { |
| 4877 | return ErrIntOverflowGenerated |
| 4878 | } |
| 4879 | if iNdEx >= l { |
| 4880 | return io.ErrUnexpectedEOF |
| 4881 | } |
| 4882 | b := dAtA[iNdEx] |
| 4883 | iNdEx++ |
| 4884 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4885 | if b < 0x80 { |
| 4886 | break |
| 4887 | } |
| 4888 | } |
| 4889 | intStringLen := int(stringLen) |
| 4890 | if intStringLen < 0 { |
| 4891 | return ErrInvalidLengthGenerated |
| 4892 | } |
| 4893 | postIndex := iNdEx + intStringLen |
| 4894 | if postIndex > l { |
| 4895 | return io.ErrUnexpectedEOF |
| 4896 | } |
| 4897 | m.Version = string(dAtA[iNdEx:postIndex]) |
| 4898 | iNdEx = postIndex |
| 4899 | default: |
| 4900 | iNdEx = preIndex |
| 4901 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4902 | if err != nil { |
| 4903 | return err |
| 4904 | } |
| 4905 | if skippy < 0 { |
| 4906 | return ErrInvalidLengthGenerated |
| 4907 | } |
| 4908 | if (iNdEx + skippy) > l { |
| 4909 | return io.ErrUnexpectedEOF |
| 4910 | } |
| 4911 | iNdEx += skippy |
| 4912 | } |
| 4913 | } |
| 4914 | |
| 4915 | if iNdEx > l { |
| 4916 | return io.ErrUnexpectedEOF |
| 4917 | } |
| 4918 | return nil |
| 4919 | } |
| 4920 | func (m *GroupVersionKind) Unmarshal(dAtA []byte) error { |
| 4921 | l := len(dAtA) |
| 4922 | iNdEx := 0 |
| 4923 | for iNdEx < l { |
| 4924 | preIndex := iNdEx |
| 4925 | var wire uint64 |
| 4926 | for shift := uint(0); ; shift += 7 { |
| 4927 | if shift >= 64 { |
| 4928 | return ErrIntOverflowGenerated |
| 4929 | } |
| 4930 | if iNdEx >= l { |
| 4931 | return io.ErrUnexpectedEOF |
| 4932 | } |
| 4933 | b := dAtA[iNdEx] |
| 4934 | iNdEx++ |
| 4935 | wire |= (uint64(b) & 0x7F) << shift |
| 4936 | if b < 0x80 { |
| 4937 | break |
| 4938 | } |
| 4939 | } |
| 4940 | fieldNum := int32(wire >> 3) |
| 4941 | wireType := int(wire & 0x7) |
| 4942 | if wireType == 4 { |
| 4943 | return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group") |
| 4944 | } |
| 4945 | if fieldNum <= 0 { |
| 4946 | return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4947 | } |
| 4948 | switch fieldNum { |
| 4949 | case 1: |
| 4950 | if wireType != 2 { |
| 4951 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 4952 | } |
| 4953 | var stringLen uint64 |
| 4954 | for shift := uint(0); ; shift += 7 { |
| 4955 | if shift >= 64 { |
| 4956 | return ErrIntOverflowGenerated |
| 4957 | } |
| 4958 | if iNdEx >= l { |
| 4959 | return io.ErrUnexpectedEOF |
| 4960 | } |
| 4961 | b := dAtA[iNdEx] |
| 4962 | iNdEx++ |
| 4963 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4964 | if b < 0x80 { |
| 4965 | break |
| 4966 | } |
| 4967 | } |
| 4968 | intStringLen := int(stringLen) |
| 4969 | if intStringLen < 0 { |
| 4970 | return ErrInvalidLengthGenerated |
| 4971 | } |
| 4972 | postIndex := iNdEx + intStringLen |
| 4973 | if postIndex > l { |
| 4974 | return io.ErrUnexpectedEOF |
| 4975 | } |
| 4976 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 4977 | iNdEx = postIndex |
| 4978 | case 2: |
| 4979 | if wireType != 2 { |
| 4980 | return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 4981 | } |
| 4982 | var stringLen uint64 |
| 4983 | for shift := uint(0); ; shift += 7 { |
| 4984 | if shift >= 64 { |
| 4985 | return ErrIntOverflowGenerated |
| 4986 | } |
| 4987 | if iNdEx >= l { |
| 4988 | return io.ErrUnexpectedEOF |
| 4989 | } |
| 4990 | b := dAtA[iNdEx] |
| 4991 | iNdEx++ |
| 4992 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4993 | if b < 0x80 { |
| 4994 | break |
| 4995 | } |
| 4996 | } |
| 4997 | intStringLen := int(stringLen) |
| 4998 | if intStringLen < 0 { |
| 4999 | return ErrInvalidLengthGenerated |
| 5000 | } |
| 5001 | postIndex := iNdEx + intStringLen |
| 5002 | if postIndex > l { |
| 5003 | return io.ErrUnexpectedEOF |
| 5004 | } |
| 5005 | m.Version = string(dAtA[iNdEx:postIndex]) |
| 5006 | iNdEx = postIndex |
| 5007 | case 3: |
| 5008 | if wireType != 2 { |
| 5009 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 5010 | } |
| 5011 | var stringLen uint64 |
| 5012 | for shift := uint(0); ; shift += 7 { |
| 5013 | if shift >= 64 { |
| 5014 | return ErrIntOverflowGenerated |
| 5015 | } |
| 5016 | if iNdEx >= l { |
| 5017 | return io.ErrUnexpectedEOF |
| 5018 | } |
| 5019 | b := dAtA[iNdEx] |
| 5020 | iNdEx++ |
| 5021 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5022 | if b < 0x80 { |
| 5023 | break |
| 5024 | } |
| 5025 | } |
| 5026 | intStringLen := int(stringLen) |
| 5027 | if intStringLen < 0 { |
| 5028 | return ErrInvalidLengthGenerated |
| 5029 | } |
| 5030 | postIndex := iNdEx + intStringLen |
| 5031 | if postIndex > l { |
| 5032 | return io.ErrUnexpectedEOF |
| 5033 | } |
| 5034 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 5035 | iNdEx = postIndex |
| 5036 | default: |
| 5037 | iNdEx = preIndex |
| 5038 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5039 | if err != nil { |
| 5040 | return err |
| 5041 | } |
| 5042 | if skippy < 0 { |
| 5043 | return ErrInvalidLengthGenerated |
| 5044 | } |
| 5045 | if (iNdEx + skippy) > l { |
| 5046 | return io.ErrUnexpectedEOF |
| 5047 | } |
| 5048 | iNdEx += skippy |
| 5049 | } |
| 5050 | } |
| 5051 | |
| 5052 | if iNdEx > l { |
| 5053 | return io.ErrUnexpectedEOF |
| 5054 | } |
| 5055 | return nil |
| 5056 | } |
| 5057 | func (m *GroupVersionResource) Unmarshal(dAtA []byte) error { |
| 5058 | l := len(dAtA) |
| 5059 | iNdEx := 0 |
| 5060 | for iNdEx < l { |
| 5061 | preIndex := iNdEx |
| 5062 | var wire uint64 |
| 5063 | for shift := uint(0); ; shift += 7 { |
| 5064 | if shift >= 64 { |
| 5065 | return ErrIntOverflowGenerated |
| 5066 | } |
| 5067 | if iNdEx >= l { |
| 5068 | return io.ErrUnexpectedEOF |
| 5069 | } |
| 5070 | b := dAtA[iNdEx] |
| 5071 | iNdEx++ |
| 5072 | wire |= (uint64(b) & 0x7F) << shift |
| 5073 | if b < 0x80 { |
| 5074 | break |
| 5075 | } |
| 5076 | } |
| 5077 | fieldNum := int32(wire >> 3) |
| 5078 | wireType := int(wire & 0x7) |
| 5079 | if wireType == 4 { |
| 5080 | return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group") |
| 5081 | } |
| 5082 | if fieldNum <= 0 { |
| 5083 | return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5084 | } |
| 5085 | switch fieldNum { |
| 5086 | case 1: |
| 5087 | if wireType != 2 { |
| 5088 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 5089 | } |
| 5090 | var stringLen uint64 |
| 5091 | for shift := uint(0); ; shift += 7 { |
| 5092 | if shift >= 64 { |
| 5093 | return ErrIntOverflowGenerated |
| 5094 | } |
| 5095 | if iNdEx >= l { |
| 5096 | return io.ErrUnexpectedEOF |
| 5097 | } |
| 5098 | b := dAtA[iNdEx] |
| 5099 | iNdEx++ |
| 5100 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5101 | if b < 0x80 { |
| 5102 | break |
| 5103 | } |
| 5104 | } |
| 5105 | intStringLen := int(stringLen) |
| 5106 | if intStringLen < 0 { |
| 5107 | return ErrInvalidLengthGenerated |
| 5108 | } |
| 5109 | postIndex := iNdEx + intStringLen |
| 5110 | if postIndex > l { |
| 5111 | return io.ErrUnexpectedEOF |
| 5112 | } |
| 5113 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 5114 | iNdEx = postIndex |
| 5115 | case 2: |
| 5116 | if wireType != 2 { |
| 5117 | return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 5118 | } |
| 5119 | var stringLen uint64 |
| 5120 | for shift := uint(0); ; shift += 7 { |
| 5121 | if shift >= 64 { |
| 5122 | return ErrIntOverflowGenerated |
| 5123 | } |
| 5124 | if iNdEx >= l { |
| 5125 | return io.ErrUnexpectedEOF |
| 5126 | } |
| 5127 | b := dAtA[iNdEx] |
| 5128 | iNdEx++ |
| 5129 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5130 | if b < 0x80 { |
| 5131 | break |
| 5132 | } |
| 5133 | } |
| 5134 | intStringLen := int(stringLen) |
| 5135 | if intStringLen < 0 { |
| 5136 | return ErrInvalidLengthGenerated |
| 5137 | } |
| 5138 | postIndex := iNdEx + intStringLen |
| 5139 | if postIndex > l { |
| 5140 | return io.ErrUnexpectedEOF |
| 5141 | } |
| 5142 | m.Version = string(dAtA[iNdEx:postIndex]) |
| 5143 | iNdEx = postIndex |
| 5144 | case 3: |
| 5145 | if wireType != 2 { |
| 5146 | return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) |
| 5147 | } |
| 5148 | var stringLen uint64 |
| 5149 | for shift := uint(0); ; shift += 7 { |
| 5150 | if shift >= 64 { |
| 5151 | return ErrIntOverflowGenerated |
| 5152 | } |
| 5153 | if iNdEx >= l { |
| 5154 | return io.ErrUnexpectedEOF |
| 5155 | } |
| 5156 | b := dAtA[iNdEx] |
| 5157 | iNdEx++ |
| 5158 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5159 | if b < 0x80 { |
| 5160 | break |
| 5161 | } |
| 5162 | } |
| 5163 | intStringLen := int(stringLen) |
| 5164 | if intStringLen < 0 { |
| 5165 | return ErrInvalidLengthGenerated |
| 5166 | } |
| 5167 | postIndex := iNdEx + intStringLen |
| 5168 | if postIndex > l { |
| 5169 | return io.ErrUnexpectedEOF |
| 5170 | } |
| 5171 | m.Resource = string(dAtA[iNdEx:postIndex]) |
| 5172 | iNdEx = postIndex |
| 5173 | default: |
| 5174 | iNdEx = preIndex |
| 5175 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5176 | if err != nil { |
| 5177 | return err |
| 5178 | } |
| 5179 | if skippy < 0 { |
| 5180 | return ErrInvalidLengthGenerated |
| 5181 | } |
| 5182 | if (iNdEx + skippy) > l { |
| 5183 | return io.ErrUnexpectedEOF |
| 5184 | } |
| 5185 | iNdEx += skippy |
| 5186 | } |
| 5187 | } |
| 5188 | |
| 5189 | if iNdEx > l { |
| 5190 | return io.ErrUnexpectedEOF |
| 5191 | } |
| 5192 | return nil |
| 5193 | } |
| 5194 | func (m *Initializer) Unmarshal(dAtA []byte) error { |
| 5195 | l := len(dAtA) |
| 5196 | iNdEx := 0 |
| 5197 | for iNdEx < l { |
| 5198 | preIndex := iNdEx |
| 5199 | var wire uint64 |
| 5200 | for shift := uint(0); ; shift += 7 { |
| 5201 | if shift >= 64 { |
| 5202 | return ErrIntOverflowGenerated |
| 5203 | } |
| 5204 | if iNdEx >= l { |
| 5205 | return io.ErrUnexpectedEOF |
| 5206 | } |
| 5207 | b := dAtA[iNdEx] |
| 5208 | iNdEx++ |
| 5209 | wire |= (uint64(b) & 0x7F) << shift |
| 5210 | if b < 0x80 { |
| 5211 | break |
| 5212 | } |
| 5213 | } |
| 5214 | fieldNum := int32(wire >> 3) |
| 5215 | wireType := int(wire & 0x7) |
| 5216 | if wireType == 4 { |
| 5217 | return fmt.Errorf("proto: Initializer: wiretype end group for non-group") |
| 5218 | } |
| 5219 | if fieldNum <= 0 { |
| 5220 | return fmt.Errorf("proto: Initializer: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5221 | } |
| 5222 | switch fieldNum { |
| 5223 | case 1: |
| 5224 | if wireType != 2 { |
| 5225 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 5226 | } |
| 5227 | var stringLen uint64 |
| 5228 | for shift := uint(0); ; shift += 7 { |
| 5229 | if shift >= 64 { |
| 5230 | return ErrIntOverflowGenerated |
| 5231 | } |
| 5232 | if iNdEx >= l { |
| 5233 | return io.ErrUnexpectedEOF |
| 5234 | } |
| 5235 | b := dAtA[iNdEx] |
| 5236 | iNdEx++ |
| 5237 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5238 | if b < 0x80 { |
| 5239 | break |
| 5240 | } |
| 5241 | } |
| 5242 | intStringLen := int(stringLen) |
| 5243 | if intStringLen < 0 { |
| 5244 | return ErrInvalidLengthGenerated |
| 5245 | } |
| 5246 | postIndex := iNdEx + intStringLen |
| 5247 | if postIndex > l { |
| 5248 | return io.ErrUnexpectedEOF |
| 5249 | } |
| 5250 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 5251 | iNdEx = postIndex |
| 5252 | default: |
| 5253 | iNdEx = preIndex |
| 5254 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5255 | if err != nil { |
| 5256 | return err |
| 5257 | } |
| 5258 | if skippy < 0 { |
| 5259 | return ErrInvalidLengthGenerated |
| 5260 | } |
| 5261 | if (iNdEx + skippy) > l { |
| 5262 | return io.ErrUnexpectedEOF |
| 5263 | } |
| 5264 | iNdEx += skippy |
| 5265 | } |
| 5266 | } |
| 5267 | |
| 5268 | if iNdEx > l { |
| 5269 | return io.ErrUnexpectedEOF |
| 5270 | } |
| 5271 | return nil |
| 5272 | } |
| 5273 | func (m *Initializers) Unmarshal(dAtA []byte) error { |
| 5274 | l := len(dAtA) |
| 5275 | iNdEx := 0 |
| 5276 | for iNdEx < l { |
| 5277 | preIndex := iNdEx |
| 5278 | var wire uint64 |
| 5279 | for shift := uint(0); ; shift += 7 { |
| 5280 | if shift >= 64 { |
| 5281 | return ErrIntOverflowGenerated |
| 5282 | } |
| 5283 | if iNdEx >= l { |
| 5284 | return io.ErrUnexpectedEOF |
| 5285 | } |
| 5286 | b := dAtA[iNdEx] |
| 5287 | iNdEx++ |
| 5288 | wire |= (uint64(b) & 0x7F) << shift |
| 5289 | if b < 0x80 { |
| 5290 | break |
| 5291 | } |
| 5292 | } |
| 5293 | fieldNum := int32(wire >> 3) |
| 5294 | wireType := int(wire & 0x7) |
| 5295 | if wireType == 4 { |
| 5296 | return fmt.Errorf("proto: Initializers: wiretype end group for non-group") |
| 5297 | } |
| 5298 | if fieldNum <= 0 { |
| 5299 | return fmt.Errorf("proto: Initializers: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5300 | } |
| 5301 | switch fieldNum { |
| 5302 | case 1: |
| 5303 | if wireType != 2 { |
| 5304 | return fmt.Errorf("proto: wrong wireType = %d for field Pending", wireType) |
| 5305 | } |
| 5306 | var msglen int |
| 5307 | for shift := uint(0); ; shift += 7 { |
| 5308 | if shift >= 64 { |
| 5309 | return ErrIntOverflowGenerated |
| 5310 | } |
| 5311 | if iNdEx >= l { |
| 5312 | return io.ErrUnexpectedEOF |
| 5313 | } |
| 5314 | b := dAtA[iNdEx] |
| 5315 | iNdEx++ |
| 5316 | msglen |= (int(b) & 0x7F) << shift |
| 5317 | if b < 0x80 { |
| 5318 | break |
| 5319 | } |
| 5320 | } |
| 5321 | if msglen < 0 { |
| 5322 | return ErrInvalidLengthGenerated |
| 5323 | } |
| 5324 | postIndex := iNdEx + msglen |
| 5325 | if postIndex > l { |
| 5326 | return io.ErrUnexpectedEOF |
| 5327 | } |
| 5328 | m.Pending = append(m.Pending, Initializer{}) |
| 5329 | if err := m.Pending[len(m.Pending)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5330 | return err |
| 5331 | } |
| 5332 | iNdEx = postIndex |
| 5333 | case 2: |
| 5334 | if wireType != 2 { |
| 5335 | return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) |
| 5336 | } |
| 5337 | var msglen int |
| 5338 | for shift := uint(0); ; shift += 7 { |
| 5339 | if shift >= 64 { |
| 5340 | return ErrIntOverflowGenerated |
| 5341 | } |
| 5342 | if iNdEx >= l { |
| 5343 | return io.ErrUnexpectedEOF |
| 5344 | } |
| 5345 | b := dAtA[iNdEx] |
| 5346 | iNdEx++ |
| 5347 | msglen |= (int(b) & 0x7F) << shift |
| 5348 | if b < 0x80 { |
| 5349 | break |
| 5350 | } |
| 5351 | } |
| 5352 | if msglen < 0 { |
| 5353 | return ErrInvalidLengthGenerated |
| 5354 | } |
| 5355 | postIndex := iNdEx + msglen |
| 5356 | if postIndex > l { |
| 5357 | return io.ErrUnexpectedEOF |
| 5358 | } |
| 5359 | if m.Result == nil { |
| 5360 | m.Result = &Status{} |
| 5361 | } |
| 5362 | if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5363 | return err |
| 5364 | } |
| 5365 | iNdEx = postIndex |
| 5366 | default: |
| 5367 | iNdEx = preIndex |
| 5368 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5369 | if err != nil { |
| 5370 | return err |
| 5371 | } |
| 5372 | if skippy < 0 { |
| 5373 | return ErrInvalidLengthGenerated |
| 5374 | } |
| 5375 | if (iNdEx + skippy) > l { |
| 5376 | return io.ErrUnexpectedEOF |
| 5377 | } |
| 5378 | iNdEx += skippy |
| 5379 | } |
| 5380 | } |
| 5381 | |
| 5382 | if iNdEx > l { |
| 5383 | return io.ErrUnexpectedEOF |
| 5384 | } |
| 5385 | return nil |
| 5386 | } |
| 5387 | func (m *LabelSelector) Unmarshal(dAtA []byte) error { |
| 5388 | l := len(dAtA) |
| 5389 | iNdEx := 0 |
| 5390 | for iNdEx < l { |
| 5391 | preIndex := iNdEx |
| 5392 | var wire uint64 |
| 5393 | for shift := uint(0); ; shift += 7 { |
| 5394 | if shift >= 64 { |
| 5395 | return ErrIntOverflowGenerated |
| 5396 | } |
| 5397 | if iNdEx >= l { |
| 5398 | return io.ErrUnexpectedEOF |
| 5399 | } |
| 5400 | b := dAtA[iNdEx] |
| 5401 | iNdEx++ |
| 5402 | wire |= (uint64(b) & 0x7F) << shift |
| 5403 | if b < 0x80 { |
| 5404 | break |
| 5405 | } |
| 5406 | } |
| 5407 | fieldNum := int32(wire >> 3) |
| 5408 | wireType := int(wire & 0x7) |
| 5409 | if wireType == 4 { |
| 5410 | return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") |
| 5411 | } |
| 5412 | if fieldNum <= 0 { |
| 5413 | return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5414 | } |
| 5415 | switch fieldNum { |
| 5416 | case 1: |
| 5417 | if wireType != 2 { |
| 5418 | return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) |
| 5419 | } |
| 5420 | var msglen int |
| 5421 | for shift := uint(0); ; shift += 7 { |
| 5422 | if shift >= 64 { |
| 5423 | return ErrIntOverflowGenerated |
| 5424 | } |
| 5425 | if iNdEx >= l { |
| 5426 | return io.ErrUnexpectedEOF |
| 5427 | } |
| 5428 | b := dAtA[iNdEx] |
| 5429 | iNdEx++ |
| 5430 | msglen |= (int(b) & 0x7F) << shift |
| 5431 | if b < 0x80 { |
| 5432 | break |
| 5433 | } |
| 5434 | } |
| 5435 | if msglen < 0 { |
| 5436 | return ErrInvalidLengthGenerated |
| 5437 | } |
| 5438 | postIndex := iNdEx + msglen |
| 5439 | if postIndex > l { |
| 5440 | return io.ErrUnexpectedEOF |
| 5441 | } |
| 5442 | if m.MatchLabels == nil { |
| 5443 | m.MatchLabels = make(map[string]string) |
| 5444 | } |
| 5445 | var mapkey string |
| 5446 | var mapvalue string |
| 5447 | for iNdEx < postIndex { |
| 5448 | entryPreIndex := iNdEx |
| 5449 | var wire uint64 |
| 5450 | for shift := uint(0); ; shift += 7 { |
| 5451 | if shift >= 64 { |
| 5452 | return ErrIntOverflowGenerated |
| 5453 | } |
| 5454 | if iNdEx >= l { |
| 5455 | return io.ErrUnexpectedEOF |
| 5456 | } |
| 5457 | b := dAtA[iNdEx] |
| 5458 | iNdEx++ |
| 5459 | wire |= (uint64(b) & 0x7F) << shift |
| 5460 | if b < 0x80 { |
| 5461 | break |
| 5462 | } |
| 5463 | } |
| 5464 | fieldNum := int32(wire >> 3) |
| 5465 | if fieldNum == 1 { |
| 5466 | var stringLenmapkey uint64 |
| 5467 | for shift := uint(0); ; shift += 7 { |
| 5468 | if shift >= 64 { |
| 5469 | return ErrIntOverflowGenerated |
| 5470 | } |
| 5471 | if iNdEx >= l { |
| 5472 | return io.ErrUnexpectedEOF |
| 5473 | } |
| 5474 | b := dAtA[iNdEx] |
| 5475 | iNdEx++ |
| 5476 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 5477 | if b < 0x80 { |
| 5478 | break |
| 5479 | } |
| 5480 | } |
| 5481 | intStringLenmapkey := int(stringLenmapkey) |
| 5482 | if intStringLenmapkey < 0 { |
| 5483 | return ErrInvalidLengthGenerated |
| 5484 | } |
| 5485 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 5486 | if postStringIndexmapkey > l { |
| 5487 | return io.ErrUnexpectedEOF |
| 5488 | } |
| 5489 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 5490 | iNdEx = postStringIndexmapkey |
| 5491 | } else if fieldNum == 2 { |
| 5492 | var stringLenmapvalue uint64 |
| 5493 | for shift := uint(0); ; shift += 7 { |
| 5494 | if shift >= 64 { |
| 5495 | return ErrIntOverflowGenerated |
| 5496 | } |
| 5497 | if iNdEx >= l { |
| 5498 | return io.ErrUnexpectedEOF |
| 5499 | } |
| 5500 | b := dAtA[iNdEx] |
| 5501 | iNdEx++ |
| 5502 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 5503 | if b < 0x80 { |
| 5504 | break |
| 5505 | } |
| 5506 | } |
| 5507 | intStringLenmapvalue := int(stringLenmapvalue) |
| 5508 | if intStringLenmapvalue < 0 { |
| 5509 | return ErrInvalidLengthGenerated |
| 5510 | } |
| 5511 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 5512 | if postStringIndexmapvalue > l { |
| 5513 | return io.ErrUnexpectedEOF |
| 5514 | } |
| 5515 | mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 5516 | iNdEx = postStringIndexmapvalue |
| 5517 | } else { |
| 5518 | iNdEx = entryPreIndex |
| 5519 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5520 | if err != nil { |
| 5521 | return err |
| 5522 | } |
| 5523 | if skippy < 0 { |
| 5524 | return ErrInvalidLengthGenerated |
| 5525 | } |
| 5526 | if (iNdEx + skippy) > postIndex { |
| 5527 | return io.ErrUnexpectedEOF |
| 5528 | } |
| 5529 | iNdEx += skippy |
| 5530 | } |
| 5531 | } |
| 5532 | m.MatchLabels[mapkey] = mapvalue |
| 5533 | iNdEx = postIndex |
| 5534 | case 2: |
| 5535 | if wireType != 2 { |
| 5536 | return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) |
| 5537 | } |
| 5538 | var msglen int |
| 5539 | for shift := uint(0); ; shift += 7 { |
| 5540 | if shift >= 64 { |
| 5541 | return ErrIntOverflowGenerated |
| 5542 | } |
| 5543 | if iNdEx >= l { |
| 5544 | return io.ErrUnexpectedEOF |
| 5545 | } |
| 5546 | b := dAtA[iNdEx] |
| 5547 | iNdEx++ |
| 5548 | msglen |= (int(b) & 0x7F) << shift |
| 5549 | if b < 0x80 { |
| 5550 | break |
| 5551 | } |
| 5552 | } |
| 5553 | if msglen < 0 { |
| 5554 | return ErrInvalidLengthGenerated |
| 5555 | } |
| 5556 | postIndex := iNdEx + msglen |
| 5557 | if postIndex > l { |
| 5558 | return io.ErrUnexpectedEOF |
| 5559 | } |
| 5560 | m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) |
| 5561 | if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5562 | return err |
| 5563 | } |
| 5564 | iNdEx = postIndex |
| 5565 | default: |
| 5566 | iNdEx = preIndex |
| 5567 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5568 | if err != nil { |
| 5569 | return err |
| 5570 | } |
| 5571 | if skippy < 0 { |
| 5572 | return ErrInvalidLengthGenerated |
| 5573 | } |
| 5574 | if (iNdEx + skippy) > l { |
| 5575 | return io.ErrUnexpectedEOF |
| 5576 | } |
| 5577 | iNdEx += skippy |
| 5578 | } |
| 5579 | } |
| 5580 | |
| 5581 | if iNdEx > l { |
| 5582 | return io.ErrUnexpectedEOF |
| 5583 | } |
| 5584 | return nil |
| 5585 | } |
| 5586 | func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error { |
| 5587 | l := len(dAtA) |
| 5588 | iNdEx := 0 |
| 5589 | for iNdEx < l { |
| 5590 | preIndex := iNdEx |
| 5591 | var wire uint64 |
| 5592 | for shift := uint(0); ; shift += 7 { |
| 5593 | if shift >= 64 { |
| 5594 | return ErrIntOverflowGenerated |
| 5595 | } |
| 5596 | if iNdEx >= l { |
| 5597 | return io.ErrUnexpectedEOF |
| 5598 | } |
| 5599 | b := dAtA[iNdEx] |
| 5600 | iNdEx++ |
| 5601 | wire |= (uint64(b) & 0x7F) << shift |
| 5602 | if b < 0x80 { |
| 5603 | break |
| 5604 | } |
| 5605 | } |
| 5606 | fieldNum := int32(wire >> 3) |
| 5607 | wireType := int(wire & 0x7) |
| 5608 | if wireType == 4 { |
| 5609 | return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") |
| 5610 | } |
| 5611 | if fieldNum <= 0 { |
| 5612 | return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5613 | } |
| 5614 | switch fieldNum { |
| 5615 | case 1: |
| 5616 | if wireType != 2 { |
| 5617 | return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) |
| 5618 | } |
| 5619 | var stringLen uint64 |
| 5620 | for shift := uint(0); ; shift += 7 { |
| 5621 | if shift >= 64 { |
| 5622 | return ErrIntOverflowGenerated |
| 5623 | } |
| 5624 | if iNdEx >= l { |
| 5625 | return io.ErrUnexpectedEOF |
| 5626 | } |
| 5627 | b := dAtA[iNdEx] |
| 5628 | iNdEx++ |
| 5629 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5630 | if b < 0x80 { |
| 5631 | break |
| 5632 | } |
| 5633 | } |
| 5634 | intStringLen := int(stringLen) |
| 5635 | if intStringLen < 0 { |
| 5636 | return ErrInvalidLengthGenerated |
| 5637 | } |
| 5638 | postIndex := iNdEx + intStringLen |
| 5639 | if postIndex > l { |
| 5640 | return io.ErrUnexpectedEOF |
| 5641 | } |
| 5642 | m.Key = string(dAtA[iNdEx:postIndex]) |
| 5643 | iNdEx = postIndex |
| 5644 | case 2: |
| 5645 | if wireType != 2 { |
| 5646 | return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) |
| 5647 | } |
| 5648 | var stringLen uint64 |
| 5649 | for shift := uint(0); ; shift += 7 { |
| 5650 | if shift >= 64 { |
| 5651 | return ErrIntOverflowGenerated |
| 5652 | } |
| 5653 | if iNdEx >= l { |
| 5654 | return io.ErrUnexpectedEOF |
| 5655 | } |
| 5656 | b := dAtA[iNdEx] |
| 5657 | iNdEx++ |
| 5658 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5659 | if b < 0x80 { |
| 5660 | break |
| 5661 | } |
| 5662 | } |
| 5663 | intStringLen := int(stringLen) |
| 5664 | if intStringLen < 0 { |
| 5665 | return ErrInvalidLengthGenerated |
| 5666 | } |
| 5667 | postIndex := iNdEx + intStringLen |
| 5668 | if postIndex > l { |
| 5669 | return io.ErrUnexpectedEOF |
| 5670 | } |
| 5671 | m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex]) |
| 5672 | iNdEx = postIndex |
| 5673 | case 3: |
| 5674 | if wireType != 2 { |
| 5675 | return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) |
| 5676 | } |
| 5677 | var stringLen uint64 |
| 5678 | for shift := uint(0); ; shift += 7 { |
| 5679 | if shift >= 64 { |
| 5680 | return ErrIntOverflowGenerated |
| 5681 | } |
| 5682 | if iNdEx >= l { |
| 5683 | return io.ErrUnexpectedEOF |
| 5684 | } |
| 5685 | b := dAtA[iNdEx] |
| 5686 | iNdEx++ |
| 5687 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5688 | if b < 0x80 { |
| 5689 | break |
| 5690 | } |
| 5691 | } |
| 5692 | intStringLen := int(stringLen) |
| 5693 | if intStringLen < 0 { |
| 5694 | return ErrInvalidLengthGenerated |
| 5695 | } |
| 5696 | postIndex := iNdEx + intStringLen |
| 5697 | if postIndex > l { |
| 5698 | return io.ErrUnexpectedEOF |
| 5699 | } |
| 5700 | m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) |
| 5701 | iNdEx = postIndex |
| 5702 | default: |
| 5703 | iNdEx = preIndex |
| 5704 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5705 | if err != nil { |
| 5706 | return err |
| 5707 | } |
| 5708 | if skippy < 0 { |
| 5709 | return ErrInvalidLengthGenerated |
| 5710 | } |
| 5711 | if (iNdEx + skippy) > l { |
| 5712 | return io.ErrUnexpectedEOF |
| 5713 | } |
| 5714 | iNdEx += skippy |
| 5715 | } |
| 5716 | } |
| 5717 | |
| 5718 | if iNdEx > l { |
| 5719 | return io.ErrUnexpectedEOF |
| 5720 | } |
| 5721 | return nil |
| 5722 | } |
| 5723 | func (m *List) Unmarshal(dAtA []byte) error { |
| 5724 | l := len(dAtA) |
| 5725 | iNdEx := 0 |
| 5726 | for iNdEx < l { |
| 5727 | preIndex := iNdEx |
| 5728 | var wire uint64 |
| 5729 | for shift := uint(0); ; shift += 7 { |
| 5730 | if shift >= 64 { |
| 5731 | return ErrIntOverflowGenerated |
| 5732 | } |
| 5733 | if iNdEx >= l { |
| 5734 | return io.ErrUnexpectedEOF |
| 5735 | } |
| 5736 | b := dAtA[iNdEx] |
| 5737 | iNdEx++ |
| 5738 | wire |= (uint64(b) & 0x7F) << shift |
| 5739 | if b < 0x80 { |
| 5740 | break |
| 5741 | } |
| 5742 | } |
| 5743 | fieldNum := int32(wire >> 3) |
| 5744 | wireType := int(wire & 0x7) |
| 5745 | if wireType == 4 { |
| 5746 | return fmt.Errorf("proto: List: wiretype end group for non-group") |
| 5747 | } |
| 5748 | if fieldNum <= 0 { |
| 5749 | return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5750 | } |
| 5751 | switch fieldNum { |
| 5752 | case 1: |
| 5753 | if wireType != 2 { |
| 5754 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 5755 | } |
| 5756 | var msglen int |
| 5757 | for shift := uint(0); ; shift += 7 { |
| 5758 | if shift >= 64 { |
| 5759 | return ErrIntOverflowGenerated |
| 5760 | } |
| 5761 | if iNdEx >= l { |
| 5762 | return io.ErrUnexpectedEOF |
| 5763 | } |
| 5764 | b := dAtA[iNdEx] |
| 5765 | iNdEx++ |
| 5766 | msglen |= (int(b) & 0x7F) << shift |
| 5767 | if b < 0x80 { |
| 5768 | break |
| 5769 | } |
| 5770 | } |
| 5771 | if msglen < 0 { |
| 5772 | return ErrInvalidLengthGenerated |
| 5773 | } |
| 5774 | postIndex := iNdEx + msglen |
| 5775 | if postIndex > l { |
| 5776 | return io.ErrUnexpectedEOF |
| 5777 | } |
| 5778 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5779 | return err |
| 5780 | } |
| 5781 | iNdEx = postIndex |
| 5782 | case 2: |
| 5783 | if wireType != 2 { |
| 5784 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 5785 | } |
| 5786 | var msglen int |
| 5787 | for shift := uint(0); ; shift += 7 { |
| 5788 | if shift >= 64 { |
| 5789 | return ErrIntOverflowGenerated |
| 5790 | } |
| 5791 | if iNdEx >= l { |
| 5792 | return io.ErrUnexpectedEOF |
| 5793 | } |
| 5794 | b := dAtA[iNdEx] |
| 5795 | iNdEx++ |
| 5796 | msglen |= (int(b) & 0x7F) << shift |
| 5797 | if b < 0x80 { |
| 5798 | break |
| 5799 | } |
| 5800 | } |
| 5801 | if msglen < 0 { |
| 5802 | return ErrInvalidLengthGenerated |
| 5803 | } |
| 5804 | postIndex := iNdEx + msglen |
| 5805 | if postIndex > l { |
| 5806 | return io.ErrUnexpectedEOF |
| 5807 | } |
| 5808 | m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{}) |
| 5809 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5810 | return err |
| 5811 | } |
| 5812 | iNdEx = postIndex |
| 5813 | default: |
| 5814 | iNdEx = preIndex |
| 5815 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5816 | if err != nil { |
| 5817 | return err |
| 5818 | } |
| 5819 | if skippy < 0 { |
| 5820 | return ErrInvalidLengthGenerated |
| 5821 | } |
| 5822 | if (iNdEx + skippy) > l { |
| 5823 | return io.ErrUnexpectedEOF |
| 5824 | } |
| 5825 | iNdEx += skippy |
| 5826 | } |
| 5827 | } |
| 5828 | |
| 5829 | if iNdEx > l { |
| 5830 | return io.ErrUnexpectedEOF |
| 5831 | } |
| 5832 | return nil |
| 5833 | } |
| 5834 | func (m *ListMeta) Unmarshal(dAtA []byte) error { |
| 5835 | l := len(dAtA) |
| 5836 | iNdEx := 0 |
| 5837 | for iNdEx < l { |
| 5838 | preIndex := iNdEx |
| 5839 | var wire uint64 |
| 5840 | for shift := uint(0); ; shift += 7 { |
| 5841 | if shift >= 64 { |
| 5842 | return ErrIntOverflowGenerated |
| 5843 | } |
| 5844 | if iNdEx >= l { |
| 5845 | return io.ErrUnexpectedEOF |
| 5846 | } |
| 5847 | b := dAtA[iNdEx] |
| 5848 | iNdEx++ |
| 5849 | wire |= (uint64(b) & 0x7F) << shift |
| 5850 | if b < 0x80 { |
| 5851 | break |
| 5852 | } |
| 5853 | } |
| 5854 | fieldNum := int32(wire >> 3) |
| 5855 | wireType := int(wire & 0x7) |
| 5856 | if wireType == 4 { |
| 5857 | return fmt.Errorf("proto: ListMeta: wiretype end group for non-group") |
| 5858 | } |
| 5859 | if fieldNum <= 0 { |
| 5860 | return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5861 | } |
| 5862 | switch fieldNum { |
| 5863 | case 1: |
| 5864 | if wireType != 2 { |
| 5865 | return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) |
| 5866 | } |
| 5867 | var stringLen uint64 |
| 5868 | for shift := uint(0); ; shift += 7 { |
| 5869 | if shift >= 64 { |
| 5870 | return ErrIntOverflowGenerated |
| 5871 | } |
| 5872 | if iNdEx >= l { |
| 5873 | return io.ErrUnexpectedEOF |
| 5874 | } |
| 5875 | b := dAtA[iNdEx] |
| 5876 | iNdEx++ |
| 5877 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5878 | if b < 0x80 { |
| 5879 | break |
| 5880 | } |
| 5881 | } |
| 5882 | intStringLen := int(stringLen) |
| 5883 | if intStringLen < 0 { |
| 5884 | return ErrInvalidLengthGenerated |
| 5885 | } |
| 5886 | postIndex := iNdEx + intStringLen |
| 5887 | if postIndex > l { |
| 5888 | return io.ErrUnexpectedEOF |
| 5889 | } |
| 5890 | m.SelfLink = string(dAtA[iNdEx:postIndex]) |
| 5891 | iNdEx = postIndex |
| 5892 | case 2: |
| 5893 | if wireType != 2 { |
| 5894 | return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 5895 | } |
| 5896 | var stringLen uint64 |
| 5897 | for shift := uint(0); ; shift += 7 { |
| 5898 | if shift >= 64 { |
| 5899 | return ErrIntOverflowGenerated |
| 5900 | } |
| 5901 | if iNdEx >= l { |
| 5902 | return io.ErrUnexpectedEOF |
| 5903 | } |
| 5904 | b := dAtA[iNdEx] |
| 5905 | iNdEx++ |
| 5906 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5907 | if b < 0x80 { |
| 5908 | break |
| 5909 | } |
| 5910 | } |
| 5911 | intStringLen := int(stringLen) |
| 5912 | if intStringLen < 0 { |
| 5913 | return ErrInvalidLengthGenerated |
| 5914 | } |
| 5915 | postIndex := iNdEx + intStringLen |
| 5916 | if postIndex > l { |
| 5917 | return io.ErrUnexpectedEOF |
| 5918 | } |
| 5919 | m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 5920 | iNdEx = postIndex |
| 5921 | case 3: |
| 5922 | if wireType != 2 { |
| 5923 | return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) |
| 5924 | } |
| 5925 | var stringLen uint64 |
| 5926 | for shift := uint(0); ; shift += 7 { |
| 5927 | if shift >= 64 { |
| 5928 | return ErrIntOverflowGenerated |
| 5929 | } |
| 5930 | if iNdEx >= l { |
| 5931 | return io.ErrUnexpectedEOF |
| 5932 | } |
| 5933 | b := dAtA[iNdEx] |
| 5934 | iNdEx++ |
| 5935 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5936 | if b < 0x80 { |
| 5937 | break |
| 5938 | } |
| 5939 | } |
| 5940 | intStringLen := int(stringLen) |
| 5941 | if intStringLen < 0 { |
| 5942 | return ErrInvalidLengthGenerated |
| 5943 | } |
| 5944 | postIndex := iNdEx + intStringLen |
| 5945 | if postIndex > l { |
| 5946 | return io.ErrUnexpectedEOF |
| 5947 | } |
| 5948 | m.Continue = string(dAtA[iNdEx:postIndex]) |
| 5949 | iNdEx = postIndex |
| 5950 | default: |
| 5951 | iNdEx = preIndex |
| 5952 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5953 | if err != nil { |
| 5954 | return err |
| 5955 | } |
| 5956 | if skippy < 0 { |
| 5957 | return ErrInvalidLengthGenerated |
| 5958 | } |
| 5959 | if (iNdEx + skippy) > l { |
| 5960 | return io.ErrUnexpectedEOF |
| 5961 | } |
| 5962 | iNdEx += skippy |
| 5963 | } |
| 5964 | } |
| 5965 | |
| 5966 | if iNdEx > l { |
| 5967 | return io.ErrUnexpectedEOF |
| 5968 | } |
| 5969 | return nil |
| 5970 | } |
| 5971 | func (m *ListOptions) Unmarshal(dAtA []byte) error { |
| 5972 | l := len(dAtA) |
| 5973 | iNdEx := 0 |
| 5974 | for iNdEx < l { |
| 5975 | preIndex := iNdEx |
| 5976 | var wire uint64 |
| 5977 | for shift := uint(0); ; shift += 7 { |
| 5978 | if shift >= 64 { |
| 5979 | return ErrIntOverflowGenerated |
| 5980 | } |
| 5981 | if iNdEx >= l { |
| 5982 | return io.ErrUnexpectedEOF |
| 5983 | } |
| 5984 | b := dAtA[iNdEx] |
| 5985 | iNdEx++ |
| 5986 | wire |= (uint64(b) & 0x7F) << shift |
| 5987 | if b < 0x80 { |
| 5988 | break |
| 5989 | } |
| 5990 | } |
| 5991 | fieldNum := int32(wire >> 3) |
| 5992 | wireType := int(wire & 0x7) |
| 5993 | if wireType == 4 { |
| 5994 | return fmt.Errorf("proto: ListOptions: wiretype end group for non-group") |
| 5995 | } |
| 5996 | if fieldNum <= 0 { |
| 5997 | return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5998 | } |
| 5999 | switch fieldNum { |
| 6000 | case 1: |
| 6001 | if wireType != 2 { |
| 6002 | return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType) |
| 6003 | } |
| 6004 | var stringLen uint64 |
| 6005 | for shift := uint(0); ; shift += 7 { |
| 6006 | if shift >= 64 { |
| 6007 | return ErrIntOverflowGenerated |
| 6008 | } |
| 6009 | if iNdEx >= l { |
| 6010 | return io.ErrUnexpectedEOF |
| 6011 | } |
| 6012 | b := dAtA[iNdEx] |
| 6013 | iNdEx++ |
| 6014 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6015 | if b < 0x80 { |
| 6016 | break |
| 6017 | } |
| 6018 | } |
| 6019 | intStringLen := int(stringLen) |
| 6020 | if intStringLen < 0 { |
| 6021 | return ErrInvalidLengthGenerated |
| 6022 | } |
| 6023 | postIndex := iNdEx + intStringLen |
| 6024 | if postIndex > l { |
| 6025 | return io.ErrUnexpectedEOF |
| 6026 | } |
| 6027 | m.LabelSelector = string(dAtA[iNdEx:postIndex]) |
| 6028 | iNdEx = postIndex |
| 6029 | case 2: |
| 6030 | if wireType != 2 { |
| 6031 | return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType) |
| 6032 | } |
| 6033 | var stringLen uint64 |
| 6034 | for shift := uint(0); ; shift += 7 { |
| 6035 | if shift >= 64 { |
| 6036 | return ErrIntOverflowGenerated |
| 6037 | } |
| 6038 | if iNdEx >= l { |
| 6039 | return io.ErrUnexpectedEOF |
| 6040 | } |
| 6041 | b := dAtA[iNdEx] |
| 6042 | iNdEx++ |
| 6043 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6044 | if b < 0x80 { |
| 6045 | break |
| 6046 | } |
| 6047 | } |
| 6048 | intStringLen := int(stringLen) |
| 6049 | if intStringLen < 0 { |
| 6050 | return ErrInvalidLengthGenerated |
| 6051 | } |
| 6052 | postIndex := iNdEx + intStringLen |
| 6053 | if postIndex > l { |
| 6054 | return io.ErrUnexpectedEOF |
| 6055 | } |
| 6056 | m.FieldSelector = string(dAtA[iNdEx:postIndex]) |
| 6057 | iNdEx = postIndex |
| 6058 | case 3: |
| 6059 | if wireType != 0 { |
| 6060 | return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType) |
| 6061 | } |
| 6062 | var v int |
| 6063 | for shift := uint(0); ; shift += 7 { |
| 6064 | if shift >= 64 { |
| 6065 | return ErrIntOverflowGenerated |
| 6066 | } |
| 6067 | if iNdEx >= l { |
| 6068 | return io.ErrUnexpectedEOF |
| 6069 | } |
| 6070 | b := dAtA[iNdEx] |
| 6071 | iNdEx++ |
| 6072 | v |= (int(b) & 0x7F) << shift |
| 6073 | if b < 0x80 { |
| 6074 | break |
| 6075 | } |
| 6076 | } |
| 6077 | m.Watch = bool(v != 0) |
| 6078 | case 4: |
| 6079 | if wireType != 2 { |
| 6080 | return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 6081 | } |
| 6082 | var stringLen uint64 |
| 6083 | for shift := uint(0); ; shift += 7 { |
| 6084 | if shift >= 64 { |
| 6085 | return ErrIntOverflowGenerated |
| 6086 | } |
| 6087 | if iNdEx >= l { |
| 6088 | return io.ErrUnexpectedEOF |
| 6089 | } |
| 6090 | b := dAtA[iNdEx] |
| 6091 | iNdEx++ |
| 6092 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6093 | if b < 0x80 { |
| 6094 | break |
| 6095 | } |
| 6096 | } |
| 6097 | intStringLen := int(stringLen) |
| 6098 | if intStringLen < 0 { |
| 6099 | return ErrInvalidLengthGenerated |
| 6100 | } |
| 6101 | postIndex := iNdEx + intStringLen |
| 6102 | if postIndex > l { |
| 6103 | return io.ErrUnexpectedEOF |
| 6104 | } |
| 6105 | m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 6106 | iNdEx = postIndex |
| 6107 | case 5: |
| 6108 | if wireType != 0 { |
| 6109 | return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) |
| 6110 | } |
| 6111 | var v int64 |
| 6112 | for shift := uint(0); ; shift += 7 { |
| 6113 | if shift >= 64 { |
| 6114 | return ErrIntOverflowGenerated |
| 6115 | } |
| 6116 | if iNdEx >= l { |
| 6117 | return io.ErrUnexpectedEOF |
| 6118 | } |
| 6119 | b := dAtA[iNdEx] |
| 6120 | iNdEx++ |
| 6121 | v |= (int64(b) & 0x7F) << shift |
| 6122 | if b < 0x80 { |
| 6123 | break |
| 6124 | } |
| 6125 | } |
| 6126 | m.TimeoutSeconds = &v |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 6127 | case 7: |
| 6128 | if wireType != 0 { |
| 6129 | return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) |
| 6130 | } |
| 6131 | m.Limit = 0 |
| 6132 | for shift := uint(0); ; shift += 7 { |
| 6133 | if shift >= 64 { |
| 6134 | return ErrIntOverflowGenerated |
| 6135 | } |
| 6136 | if iNdEx >= l { |
| 6137 | return io.ErrUnexpectedEOF |
| 6138 | } |
| 6139 | b := dAtA[iNdEx] |
| 6140 | iNdEx++ |
| 6141 | m.Limit |= (int64(b) & 0x7F) << shift |
| 6142 | if b < 0x80 { |
| 6143 | break |
| 6144 | } |
| 6145 | } |
| 6146 | case 8: |
| 6147 | if wireType != 2 { |
| 6148 | return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) |
| 6149 | } |
| 6150 | var stringLen uint64 |
| 6151 | for shift := uint(0); ; shift += 7 { |
| 6152 | if shift >= 64 { |
| 6153 | return ErrIntOverflowGenerated |
| 6154 | } |
| 6155 | if iNdEx >= l { |
| 6156 | return io.ErrUnexpectedEOF |
| 6157 | } |
| 6158 | b := dAtA[iNdEx] |
| 6159 | iNdEx++ |
| 6160 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6161 | if b < 0x80 { |
| 6162 | break |
| 6163 | } |
| 6164 | } |
| 6165 | intStringLen := int(stringLen) |
| 6166 | if intStringLen < 0 { |
| 6167 | return ErrInvalidLengthGenerated |
| 6168 | } |
| 6169 | postIndex := iNdEx + intStringLen |
| 6170 | if postIndex > l { |
| 6171 | return io.ErrUnexpectedEOF |
| 6172 | } |
| 6173 | m.Continue = string(dAtA[iNdEx:postIndex]) |
| 6174 | iNdEx = postIndex |
| 6175 | default: |
| 6176 | iNdEx = preIndex |
| 6177 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6178 | if err != nil { |
| 6179 | return err |
| 6180 | } |
| 6181 | if skippy < 0 { |
| 6182 | return ErrInvalidLengthGenerated |
| 6183 | } |
| 6184 | if (iNdEx + skippy) > l { |
| 6185 | return io.ErrUnexpectedEOF |
| 6186 | } |
| 6187 | iNdEx += skippy |
| 6188 | } |
| 6189 | } |
| 6190 | |
| 6191 | if iNdEx > l { |
| 6192 | return io.ErrUnexpectedEOF |
| 6193 | } |
| 6194 | return nil |
| 6195 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 6196 | func (m *ManagedFieldsEntry) Unmarshal(dAtA []byte) error { |
| 6197 | l := len(dAtA) |
| 6198 | iNdEx := 0 |
| 6199 | for iNdEx < l { |
| 6200 | preIndex := iNdEx |
| 6201 | var wire uint64 |
| 6202 | for shift := uint(0); ; shift += 7 { |
| 6203 | if shift >= 64 { |
| 6204 | return ErrIntOverflowGenerated |
| 6205 | } |
| 6206 | if iNdEx >= l { |
| 6207 | return io.ErrUnexpectedEOF |
| 6208 | } |
| 6209 | b := dAtA[iNdEx] |
| 6210 | iNdEx++ |
| 6211 | wire |= (uint64(b) & 0x7F) << shift |
| 6212 | if b < 0x80 { |
| 6213 | break |
| 6214 | } |
| 6215 | } |
| 6216 | fieldNum := int32(wire >> 3) |
| 6217 | wireType := int(wire & 0x7) |
| 6218 | if wireType == 4 { |
| 6219 | return fmt.Errorf("proto: ManagedFieldsEntry: wiretype end group for non-group") |
| 6220 | } |
| 6221 | if fieldNum <= 0 { |
| 6222 | return fmt.Errorf("proto: ManagedFieldsEntry: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6223 | } |
| 6224 | switch fieldNum { |
| 6225 | case 1: |
| 6226 | if wireType != 2 { |
| 6227 | return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType) |
| 6228 | } |
| 6229 | var stringLen uint64 |
| 6230 | for shift := uint(0); ; shift += 7 { |
| 6231 | if shift >= 64 { |
| 6232 | return ErrIntOverflowGenerated |
| 6233 | } |
| 6234 | if iNdEx >= l { |
| 6235 | return io.ErrUnexpectedEOF |
| 6236 | } |
| 6237 | b := dAtA[iNdEx] |
| 6238 | iNdEx++ |
| 6239 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6240 | if b < 0x80 { |
| 6241 | break |
| 6242 | } |
| 6243 | } |
| 6244 | intStringLen := int(stringLen) |
| 6245 | if intStringLen < 0 { |
| 6246 | return ErrInvalidLengthGenerated |
| 6247 | } |
| 6248 | postIndex := iNdEx + intStringLen |
| 6249 | if postIndex > l { |
| 6250 | return io.ErrUnexpectedEOF |
| 6251 | } |
| 6252 | m.Manager = string(dAtA[iNdEx:postIndex]) |
| 6253 | iNdEx = postIndex |
| 6254 | case 2: |
| 6255 | if wireType != 2 { |
| 6256 | return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType) |
| 6257 | } |
| 6258 | var stringLen uint64 |
| 6259 | for shift := uint(0); ; shift += 7 { |
| 6260 | if shift >= 64 { |
| 6261 | return ErrIntOverflowGenerated |
| 6262 | } |
| 6263 | if iNdEx >= l { |
| 6264 | return io.ErrUnexpectedEOF |
| 6265 | } |
| 6266 | b := dAtA[iNdEx] |
| 6267 | iNdEx++ |
| 6268 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6269 | if b < 0x80 { |
| 6270 | break |
| 6271 | } |
| 6272 | } |
| 6273 | intStringLen := int(stringLen) |
| 6274 | if intStringLen < 0 { |
| 6275 | return ErrInvalidLengthGenerated |
| 6276 | } |
| 6277 | postIndex := iNdEx + intStringLen |
| 6278 | if postIndex > l { |
| 6279 | return io.ErrUnexpectedEOF |
| 6280 | } |
| 6281 | m.Operation = ManagedFieldsOperationType(dAtA[iNdEx:postIndex]) |
| 6282 | iNdEx = postIndex |
| 6283 | case 3: |
| 6284 | if wireType != 2 { |
| 6285 | return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 6286 | } |
| 6287 | var stringLen uint64 |
| 6288 | for shift := uint(0); ; shift += 7 { |
| 6289 | if shift >= 64 { |
| 6290 | return ErrIntOverflowGenerated |
| 6291 | } |
| 6292 | if iNdEx >= l { |
| 6293 | return io.ErrUnexpectedEOF |
| 6294 | } |
| 6295 | b := dAtA[iNdEx] |
| 6296 | iNdEx++ |
| 6297 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6298 | if b < 0x80 { |
| 6299 | break |
| 6300 | } |
| 6301 | } |
| 6302 | intStringLen := int(stringLen) |
| 6303 | if intStringLen < 0 { |
| 6304 | return ErrInvalidLengthGenerated |
| 6305 | } |
| 6306 | postIndex := iNdEx + intStringLen |
| 6307 | if postIndex > l { |
| 6308 | return io.ErrUnexpectedEOF |
| 6309 | } |
| 6310 | m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 6311 | iNdEx = postIndex |
| 6312 | case 4: |
| 6313 | if wireType != 2 { |
| 6314 | return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) |
| 6315 | } |
| 6316 | var msglen int |
| 6317 | for shift := uint(0); ; shift += 7 { |
| 6318 | if shift >= 64 { |
| 6319 | return ErrIntOverflowGenerated |
| 6320 | } |
| 6321 | if iNdEx >= l { |
| 6322 | return io.ErrUnexpectedEOF |
| 6323 | } |
| 6324 | b := dAtA[iNdEx] |
| 6325 | iNdEx++ |
| 6326 | msglen |= (int(b) & 0x7F) << shift |
| 6327 | if b < 0x80 { |
| 6328 | break |
| 6329 | } |
| 6330 | } |
| 6331 | if msglen < 0 { |
| 6332 | return ErrInvalidLengthGenerated |
| 6333 | } |
| 6334 | postIndex := iNdEx + msglen |
| 6335 | if postIndex > l { |
| 6336 | return io.ErrUnexpectedEOF |
| 6337 | } |
| 6338 | if m.Time == nil { |
| 6339 | m.Time = &Time{} |
| 6340 | } |
| 6341 | if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6342 | return err |
| 6343 | } |
| 6344 | iNdEx = postIndex |
| 6345 | case 5: |
| 6346 | if wireType != 2 { |
| 6347 | return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) |
| 6348 | } |
| 6349 | var msglen int |
| 6350 | for shift := uint(0); ; shift += 7 { |
| 6351 | if shift >= 64 { |
| 6352 | return ErrIntOverflowGenerated |
| 6353 | } |
| 6354 | if iNdEx >= l { |
| 6355 | return io.ErrUnexpectedEOF |
| 6356 | } |
| 6357 | b := dAtA[iNdEx] |
| 6358 | iNdEx++ |
| 6359 | msglen |= (int(b) & 0x7F) << shift |
| 6360 | if b < 0x80 { |
| 6361 | break |
| 6362 | } |
| 6363 | } |
| 6364 | if msglen < 0 { |
| 6365 | return ErrInvalidLengthGenerated |
| 6366 | } |
| 6367 | postIndex := iNdEx + msglen |
| 6368 | if postIndex > l { |
| 6369 | return io.ErrUnexpectedEOF |
| 6370 | } |
| 6371 | if m.Fields == nil { |
| 6372 | m.Fields = &Fields{} |
| 6373 | } |
| 6374 | if err := m.Fields.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6375 | return err |
| 6376 | } |
| 6377 | iNdEx = postIndex |
| 6378 | default: |
| 6379 | iNdEx = preIndex |
| 6380 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6381 | if err != nil { |
| 6382 | return err |
| 6383 | } |
| 6384 | if skippy < 0 { |
| 6385 | return ErrInvalidLengthGenerated |
| 6386 | } |
| 6387 | if (iNdEx + skippy) > l { |
| 6388 | return io.ErrUnexpectedEOF |
| 6389 | } |
| 6390 | iNdEx += skippy |
| 6391 | } |
| 6392 | } |
| 6393 | |
| 6394 | if iNdEx > l { |
| 6395 | return io.ErrUnexpectedEOF |
| 6396 | } |
| 6397 | return nil |
| 6398 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 6399 | func (m *ObjectMeta) Unmarshal(dAtA []byte) error { |
| 6400 | l := len(dAtA) |
| 6401 | iNdEx := 0 |
| 6402 | for iNdEx < l { |
| 6403 | preIndex := iNdEx |
| 6404 | var wire uint64 |
| 6405 | for shift := uint(0); ; shift += 7 { |
| 6406 | if shift >= 64 { |
| 6407 | return ErrIntOverflowGenerated |
| 6408 | } |
| 6409 | if iNdEx >= l { |
| 6410 | return io.ErrUnexpectedEOF |
| 6411 | } |
| 6412 | b := dAtA[iNdEx] |
| 6413 | iNdEx++ |
| 6414 | wire |= (uint64(b) & 0x7F) << shift |
| 6415 | if b < 0x80 { |
| 6416 | break |
| 6417 | } |
| 6418 | } |
| 6419 | fieldNum := int32(wire >> 3) |
| 6420 | wireType := int(wire & 0x7) |
| 6421 | if wireType == 4 { |
| 6422 | return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group") |
| 6423 | } |
| 6424 | if fieldNum <= 0 { |
| 6425 | return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6426 | } |
| 6427 | switch fieldNum { |
| 6428 | case 1: |
| 6429 | if wireType != 2 { |
| 6430 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 6431 | } |
| 6432 | var stringLen uint64 |
| 6433 | for shift := uint(0); ; shift += 7 { |
| 6434 | if shift >= 64 { |
| 6435 | return ErrIntOverflowGenerated |
| 6436 | } |
| 6437 | if iNdEx >= l { |
| 6438 | return io.ErrUnexpectedEOF |
| 6439 | } |
| 6440 | b := dAtA[iNdEx] |
| 6441 | iNdEx++ |
| 6442 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6443 | if b < 0x80 { |
| 6444 | break |
| 6445 | } |
| 6446 | } |
| 6447 | intStringLen := int(stringLen) |
| 6448 | if intStringLen < 0 { |
| 6449 | return ErrInvalidLengthGenerated |
| 6450 | } |
| 6451 | postIndex := iNdEx + intStringLen |
| 6452 | if postIndex > l { |
| 6453 | return io.ErrUnexpectedEOF |
| 6454 | } |
| 6455 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 6456 | iNdEx = postIndex |
| 6457 | case 2: |
| 6458 | if wireType != 2 { |
| 6459 | return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType) |
| 6460 | } |
| 6461 | var stringLen uint64 |
| 6462 | for shift := uint(0); ; shift += 7 { |
| 6463 | if shift >= 64 { |
| 6464 | return ErrIntOverflowGenerated |
| 6465 | } |
| 6466 | if iNdEx >= l { |
| 6467 | return io.ErrUnexpectedEOF |
| 6468 | } |
| 6469 | b := dAtA[iNdEx] |
| 6470 | iNdEx++ |
| 6471 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6472 | if b < 0x80 { |
| 6473 | break |
| 6474 | } |
| 6475 | } |
| 6476 | intStringLen := int(stringLen) |
| 6477 | if intStringLen < 0 { |
| 6478 | return ErrInvalidLengthGenerated |
| 6479 | } |
| 6480 | postIndex := iNdEx + intStringLen |
| 6481 | if postIndex > l { |
| 6482 | return io.ErrUnexpectedEOF |
| 6483 | } |
| 6484 | m.GenerateName = string(dAtA[iNdEx:postIndex]) |
| 6485 | iNdEx = postIndex |
| 6486 | case 3: |
| 6487 | if wireType != 2 { |
| 6488 | return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) |
| 6489 | } |
| 6490 | var stringLen uint64 |
| 6491 | for shift := uint(0); ; shift += 7 { |
| 6492 | if shift >= 64 { |
| 6493 | return ErrIntOverflowGenerated |
| 6494 | } |
| 6495 | if iNdEx >= l { |
| 6496 | return io.ErrUnexpectedEOF |
| 6497 | } |
| 6498 | b := dAtA[iNdEx] |
| 6499 | iNdEx++ |
| 6500 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6501 | if b < 0x80 { |
| 6502 | break |
| 6503 | } |
| 6504 | } |
| 6505 | intStringLen := int(stringLen) |
| 6506 | if intStringLen < 0 { |
| 6507 | return ErrInvalidLengthGenerated |
| 6508 | } |
| 6509 | postIndex := iNdEx + intStringLen |
| 6510 | if postIndex > l { |
| 6511 | return io.ErrUnexpectedEOF |
| 6512 | } |
| 6513 | m.Namespace = string(dAtA[iNdEx:postIndex]) |
| 6514 | iNdEx = postIndex |
| 6515 | case 4: |
| 6516 | if wireType != 2 { |
| 6517 | return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) |
| 6518 | } |
| 6519 | var stringLen uint64 |
| 6520 | for shift := uint(0); ; shift += 7 { |
| 6521 | if shift >= 64 { |
| 6522 | return ErrIntOverflowGenerated |
| 6523 | } |
| 6524 | if iNdEx >= l { |
| 6525 | return io.ErrUnexpectedEOF |
| 6526 | } |
| 6527 | b := dAtA[iNdEx] |
| 6528 | iNdEx++ |
| 6529 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6530 | if b < 0x80 { |
| 6531 | break |
| 6532 | } |
| 6533 | } |
| 6534 | intStringLen := int(stringLen) |
| 6535 | if intStringLen < 0 { |
| 6536 | return ErrInvalidLengthGenerated |
| 6537 | } |
| 6538 | postIndex := iNdEx + intStringLen |
| 6539 | if postIndex > l { |
| 6540 | return io.ErrUnexpectedEOF |
| 6541 | } |
| 6542 | m.SelfLink = string(dAtA[iNdEx:postIndex]) |
| 6543 | iNdEx = postIndex |
| 6544 | case 5: |
| 6545 | if wireType != 2 { |
| 6546 | return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 6547 | } |
| 6548 | var stringLen uint64 |
| 6549 | for shift := uint(0); ; shift += 7 { |
| 6550 | if shift >= 64 { |
| 6551 | return ErrIntOverflowGenerated |
| 6552 | } |
| 6553 | if iNdEx >= l { |
| 6554 | return io.ErrUnexpectedEOF |
| 6555 | } |
| 6556 | b := dAtA[iNdEx] |
| 6557 | iNdEx++ |
| 6558 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6559 | if b < 0x80 { |
| 6560 | break |
| 6561 | } |
| 6562 | } |
| 6563 | intStringLen := int(stringLen) |
| 6564 | if intStringLen < 0 { |
| 6565 | return ErrInvalidLengthGenerated |
| 6566 | } |
| 6567 | postIndex := iNdEx + intStringLen |
| 6568 | if postIndex > l { |
| 6569 | return io.ErrUnexpectedEOF |
| 6570 | } |
| 6571 | m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 6572 | iNdEx = postIndex |
| 6573 | case 6: |
| 6574 | if wireType != 2 { |
| 6575 | return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 6576 | } |
| 6577 | var stringLen uint64 |
| 6578 | for shift := uint(0); ; shift += 7 { |
| 6579 | if shift >= 64 { |
| 6580 | return ErrIntOverflowGenerated |
| 6581 | } |
| 6582 | if iNdEx >= l { |
| 6583 | return io.ErrUnexpectedEOF |
| 6584 | } |
| 6585 | b := dAtA[iNdEx] |
| 6586 | iNdEx++ |
| 6587 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6588 | if b < 0x80 { |
| 6589 | break |
| 6590 | } |
| 6591 | } |
| 6592 | intStringLen := int(stringLen) |
| 6593 | if intStringLen < 0 { |
| 6594 | return ErrInvalidLengthGenerated |
| 6595 | } |
| 6596 | postIndex := iNdEx + intStringLen |
| 6597 | if postIndex > l { |
| 6598 | return io.ErrUnexpectedEOF |
| 6599 | } |
| 6600 | m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 6601 | iNdEx = postIndex |
| 6602 | case 7: |
| 6603 | if wireType != 0 { |
| 6604 | return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 6605 | } |
| 6606 | m.Generation = 0 |
| 6607 | for shift := uint(0); ; shift += 7 { |
| 6608 | if shift >= 64 { |
| 6609 | return ErrIntOverflowGenerated |
| 6610 | } |
| 6611 | if iNdEx >= l { |
| 6612 | return io.ErrUnexpectedEOF |
| 6613 | } |
| 6614 | b := dAtA[iNdEx] |
| 6615 | iNdEx++ |
| 6616 | m.Generation |= (int64(b) & 0x7F) << shift |
| 6617 | if b < 0x80 { |
| 6618 | break |
| 6619 | } |
| 6620 | } |
| 6621 | case 8: |
| 6622 | if wireType != 2 { |
| 6623 | return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType) |
| 6624 | } |
| 6625 | var msglen int |
| 6626 | for shift := uint(0); ; shift += 7 { |
| 6627 | if shift >= 64 { |
| 6628 | return ErrIntOverflowGenerated |
| 6629 | } |
| 6630 | if iNdEx >= l { |
| 6631 | return io.ErrUnexpectedEOF |
| 6632 | } |
| 6633 | b := dAtA[iNdEx] |
| 6634 | iNdEx++ |
| 6635 | msglen |= (int(b) & 0x7F) << shift |
| 6636 | if b < 0x80 { |
| 6637 | break |
| 6638 | } |
| 6639 | } |
| 6640 | if msglen < 0 { |
| 6641 | return ErrInvalidLengthGenerated |
| 6642 | } |
| 6643 | postIndex := iNdEx + msglen |
| 6644 | if postIndex > l { |
| 6645 | return io.ErrUnexpectedEOF |
| 6646 | } |
| 6647 | if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6648 | return err |
| 6649 | } |
| 6650 | iNdEx = postIndex |
| 6651 | case 9: |
| 6652 | if wireType != 2 { |
| 6653 | return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType) |
| 6654 | } |
| 6655 | var msglen int |
| 6656 | for shift := uint(0); ; shift += 7 { |
| 6657 | if shift >= 64 { |
| 6658 | return ErrIntOverflowGenerated |
| 6659 | } |
| 6660 | if iNdEx >= l { |
| 6661 | return io.ErrUnexpectedEOF |
| 6662 | } |
| 6663 | b := dAtA[iNdEx] |
| 6664 | iNdEx++ |
| 6665 | msglen |= (int(b) & 0x7F) << shift |
| 6666 | if b < 0x80 { |
| 6667 | break |
| 6668 | } |
| 6669 | } |
| 6670 | if msglen < 0 { |
| 6671 | return ErrInvalidLengthGenerated |
| 6672 | } |
| 6673 | postIndex := iNdEx + msglen |
| 6674 | if postIndex > l { |
| 6675 | return io.ErrUnexpectedEOF |
| 6676 | } |
| 6677 | if m.DeletionTimestamp == nil { |
| 6678 | m.DeletionTimestamp = &Time{} |
| 6679 | } |
| 6680 | if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6681 | return err |
| 6682 | } |
| 6683 | iNdEx = postIndex |
| 6684 | case 10: |
| 6685 | if wireType != 0 { |
| 6686 | return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType) |
| 6687 | } |
| 6688 | var v int64 |
| 6689 | for shift := uint(0); ; shift += 7 { |
| 6690 | if shift >= 64 { |
| 6691 | return ErrIntOverflowGenerated |
| 6692 | } |
| 6693 | if iNdEx >= l { |
| 6694 | return io.ErrUnexpectedEOF |
| 6695 | } |
| 6696 | b := dAtA[iNdEx] |
| 6697 | iNdEx++ |
| 6698 | v |= (int64(b) & 0x7F) << shift |
| 6699 | if b < 0x80 { |
| 6700 | break |
| 6701 | } |
| 6702 | } |
| 6703 | m.DeletionGracePeriodSeconds = &v |
| 6704 | case 11: |
| 6705 | if wireType != 2 { |
| 6706 | return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) |
| 6707 | } |
| 6708 | var msglen int |
| 6709 | for shift := uint(0); ; shift += 7 { |
| 6710 | if shift >= 64 { |
| 6711 | return ErrIntOverflowGenerated |
| 6712 | } |
| 6713 | if iNdEx >= l { |
| 6714 | return io.ErrUnexpectedEOF |
| 6715 | } |
| 6716 | b := dAtA[iNdEx] |
| 6717 | iNdEx++ |
| 6718 | msglen |= (int(b) & 0x7F) << shift |
| 6719 | if b < 0x80 { |
| 6720 | break |
| 6721 | } |
| 6722 | } |
| 6723 | if msglen < 0 { |
| 6724 | return ErrInvalidLengthGenerated |
| 6725 | } |
| 6726 | postIndex := iNdEx + msglen |
| 6727 | if postIndex > l { |
| 6728 | return io.ErrUnexpectedEOF |
| 6729 | } |
| 6730 | if m.Labels == nil { |
| 6731 | m.Labels = make(map[string]string) |
| 6732 | } |
| 6733 | var mapkey string |
| 6734 | var mapvalue string |
| 6735 | for iNdEx < postIndex { |
| 6736 | entryPreIndex := iNdEx |
| 6737 | var wire uint64 |
| 6738 | for shift := uint(0); ; shift += 7 { |
| 6739 | if shift >= 64 { |
| 6740 | return ErrIntOverflowGenerated |
| 6741 | } |
| 6742 | if iNdEx >= l { |
| 6743 | return io.ErrUnexpectedEOF |
| 6744 | } |
| 6745 | b := dAtA[iNdEx] |
| 6746 | iNdEx++ |
| 6747 | wire |= (uint64(b) & 0x7F) << shift |
| 6748 | if b < 0x80 { |
| 6749 | break |
| 6750 | } |
| 6751 | } |
| 6752 | fieldNum := int32(wire >> 3) |
| 6753 | if fieldNum == 1 { |
| 6754 | var stringLenmapkey uint64 |
| 6755 | for shift := uint(0); ; shift += 7 { |
| 6756 | if shift >= 64 { |
| 6757 | return ErrIntOverflowGenerated |
| 6758 | } |
| 6759 | if iNdEx >= l { |
| 6760 | return io.ErrUnexpectedEOF |
| 6761 | } |
| 6762 | b := dAtA[iNdEx] |
| 6763 | iNdEx++ |
| 6764 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 6765 | if b < 0x80 { |
| 6766 | break |
| 6767 | } |
| 6768 | } |
| 6769 | intStringLenmapkey := int(stringLenmapkey) |
| 6770 | if intStringLenmapkey < 0 { |
| 6771 | return ErrInvalidLengthGenerated |
| 6772 | } |
| 6773 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 6774 | if postStringIndexmapkey > l { |
| 6775 | return io.ErrUnexpectedEOF |
| 6776 | } |
| 6777 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 6778 | iNdEx = postStringIndexmapkey |
| 6779 | } else if fieldNum == 2 { |
| 6780 | var stringLenmapvalue uint64 |
| 6781 | for shift := uint(0); ; shift += 7 { |
| 6782 | if shift >= 64 { |
| 6783 | return ErrIntOverflowGenerated |
| 6784 | } |
| 6785 | if iNdEx >= l { |
| 6786 | return io.ErrUnexpectedEOF |
| 6787 | } |
| 6788 | b := dAtA[iNdEx] |
| 6789 | iNdEx++ |
| 6790 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 6791 | if b < 0x80 { |
| 6792 | break |
| 6793 | } |
| 6794 | } |
| 6795 | intStringLenmapvalue := int(stringLenmapvalue) |
| 6796 | if intStringLenmapvalue < 0 { |
| 6797 | return ErrInvalidLengthGenerated |
| 6798 | } |
| 6799 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 6800 | if postStringIndexmapvalue > l { |
| 6801 | return io.ErrUnexpectedEOF |
| 6802 | } |
| 6803 | mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 6804 | iNdEx = postStringIndexmapvalue |
| 6805 | } else { |
| 6806 | iNdEx = entryPreIndex |
| 6807 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6808 | if err != nil { |
| 6809 | return err |
| 6810 | } |
| 6811 | if skippy < 0 { |
| 6812 | return ErrInvalidLengthGenerated |
| 6813 | } |
| 6814 | if (iNdEx + skippy) > postIndex { |
| 6815 | return io.ErrUnexpectedEOF |
| 6816 | } |
| 6817 | iNdEx += skippy |
| 6818 | } |
| 6819 | } |
| 6820 | m.Labels[mapkey] = mapvalue |
| 6821 | iNdEx = postIndex |
| 6822 | case 12: |
| 6823 | if wireType != 2 { |
| 6824 | return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) |
| 6825 | } |
| 6826 | var msglen int |
| 6827 | for shift := uint(0); ; shift += 7 { |
| 6828 | if shift >= 64 { |
| 6829 | return ErrIntOverflowGenerated |
| 6830 | } |
| 6831 | if iNdEx >= l { |
| 6832 | return io.ErrUnexpectedEOF |
| 6833 | } |
| 6834 | b := dAtA[iNdEx] |
| 6835 | iNdEx++ |
| 6836 | msglen |= (int(b) & 0x7F) << shift |
| 6837 | if b < 0x80 { |
| 6838 | break |
| 6839 | } |
| 6840 | } |
| 6841 | if msglen < 0 { |
| 6842 | return ErrInvalidLengthGenerated |
| 6843 | } |
| 6844 | postIndex := iNdEx + msglen |
| 6845 | if postIndex > l { |
| 6846 | return io.ErrUnexpectedEOF |
| 6847 | } |
| 6848 | if m.Annotations == nil { |
| 6849 | m.Annotations = make(map[string]string) |
| 6850 | } |
| 6851 | var mapkey string |
| 6852 | var mapvalue string |
| 6853 | for iNdEx < postIndex { |
| 6854 | entryPreIndex := iNdEx |
| 6855 | var wire uint64 |
| 6856 | for shift := uint(0); ; shift += 7 { |
| 6857 | if shift >= 64 { |
| 6858 | return ErrIntOverflowGenerated |
| 6859 | } |
| 6860 | if iNdEx >= l { |
| 6861 | return io.ErrUnexpectedEOF |
| 6862 | } |
| 6863 | b := dAtA[iNdEx] |
| 6864 | iNdEx++ |
| 6865 | wire |= (uint64(b) & 0x7F) << shift |
| 6866 | if b < 0x80 { |
| 6867 | break |
| 6868 | } |
| 6869 | } |
| 6870 | fieldNum := int32(wire >> 3) |
| 6871 | if fieldNum == 1 { |
| 6872 | var stringLenmapkey uint64 |
| 6873 | for shift := uint(0); ; shift += 7 { |
| 6874 | if shift >= 64 { |
| 6875 | return ErrIntOverflowGenerated |
| 6876 | } |
| 6877 | if iNdEx >= l { |
| 6878 | return io.ErrUnexpectedEOF |
| 6879 | } |
| 6880 | b := dAtA[iNdEx] |
| 6881 | iNdEx++ |
| 6882 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 6883 | if b < 0x80 { |
| 6884 | break |
| 6885 | } |
| 6886 | } |
| 6887 | intStringLenmapkey := int(stringLenmapkey) |
| 6888 | if intStringLenmapkey < 0 { |
| 6889 | return ErrInvalidLengthGenerated |
| 6890 | } |
| 6891 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 6892 | if postStringIndexmapkey > l { |
| 6893 | return io.ErrUnexpectedEOF |
| 6894 | } |
| 6895 | mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 6896 | iNdEx = postStringIndexmapkey |
| 6897 | } else if fieldNum == 2 { |
| 6898 | var stringLenmapvalue uint64 |
| 6899 | for shift := uint(0); ; shift += 7 { |
| 6900 | if shift >= 64 { |
| 6901 | return ErrIntOverflowGenerated |
| 6902 | } |
| 6903 | if iNdEx >= l { |
| 6904 | return io.ErrUnexpectedEOF |
| 6905 | } |
| 6906 | b := dAtA[iNdEx] |
| 6907 | iNdEx++ |
| 6908 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 6909 | if b < 0x80 { |
| 6910 | break |
| 6911 | } |
| 6912 | } |
| 6913 | intStringLenmapvalue := int(stringLenmapvalue) |
| 6914 | if intStringLenmapvalue < 0 { |
| 6915 | return ErrInvalidLengthGenerated |
| 6916 | } |
| 6917 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 6918 | if postStringIndexmapvalue > l { |
| 6919 | return io.ErrUnexpectedEOF |
| 6920 | } |
| 6921 | mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 6922 | iNdEx = postStringIndexmapvalue |
| 6923 | } else { |
| 6924 | iNdEx = entryPreIndex |
| 6925 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6926 | if err != nil { |
| 6927 | return err |
| 6928 | } |
| 6929 | if skippy < 0 { |
| 6930 | return ErrInvalidLengthGenerated |
| 6931 | } |
| 6932 | if (iNdEx + skippy) > postIndex { |
| 6933 | return io.ErrUnexpectedEOF |
| 6934 | } |
| 6935 | iNdEx += skippy |
| 6936 | } |
| 6937 | } |
| 6938 | m.Annotations[mapkey] = mapvalue |
| 6939 | iNdEx = postIndex |
| 6940 | case 13: |
| 6941 | if wireType != 2 { |
| 6942 | return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType) |
| 6943 | } |
| 6944 | var msglen int |
| 6945 | for shift := uint(0); ; shift += 7 { |
| 6946 | if shift >= 64 { |
| 6947 | return ErrIntOverflowGenerated |
| 6948 | } |
| 6949 | if iNdEx >= l { |
| 6950 | return io.ErrUnexpectedEOF |
| 6951 | } |
| 6952 | b := dAtA[iNdEx] |
| 6953 | iNdEx++ |
| 6954 | msglen |= (int(b) & 0x7F) << shift |
| 6955 | if b < 0x80 { |
| 6956 | break |
| 6957 | } |
| 6958 | } |
| 6959 | if msglen < 0 { |
| 6960 | return ErrInvalidLengthGenerated |
| 6961 | } |
| 6962 | postIndex := iNdEx + msglen |
| 6963 | if postIndex > l { |
| 6964 | return io.ErrUnexpectedEOF |
| 6965 | } |
| 6966 | m.OwnerReferences = append(m.OwnerReferences, OwnerReference{}) |
| 6967 | if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6968 | return err |
| 6969 | } |
| 6970 | iNdEx = postIndex |
| 6971 | case 14: |
| 6972 | if wireType != 2 { |
| 6973 | return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType) |
| 6974 | } |
| 6975 | var stringLen uint64 |
| 6976 | for shift := uint(0); ; shift += 7 { |
| 6977 | if shift >= 64 { |
| 6978 | return ErrIntOverflowGenerated |
| 6979 | } |
| 6980 | if iNdEx >= l { |
| 6981 | return io.ErrUnexpectedEOF |
| 6982 | } |
| 6983 | b := dAtA[iNdEx] |
| 6984 | iNdEx++ |
| 6985 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6986 | if b < 0x80 { |
| 6987 | break |
| 6988 | } |
| 6989 | } |
| 6990 | intStringLen := int(stringLen) |
| 6991 | if intStringLen < 0 { |
| 6992 | return ErrInvalidLengthGenerated |
| 6993 | } |
| 6994 | postIndex := iNdEx + intStringLen |
| 6995 | if postIndex > l { |
| 6996 | return io.ErrUnexpectedEOF |
| 6997 | } |
| 6998 | m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex])) |
| 6999 | iNdEx = postIndex |
| 7000 | case 15: |
| 7001 | if wireType != 2 { |
| 7002 | return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) |
| 7003 | } |
| 7004 | var stringLen uint64 |
| 7005 | for shift := uint(0); ; shift += 7 { |
| 7006 | if shift >= 64 { |
| 7007 | return ErrIntOverflowGenerated |
| 7008 | } |
| 7009 | if iNdEx >= l { |
| 7010 | return io.ErrUnexpectedEOF |
| 7011 | } |
| 7012 | b := dAtA[iNdEx] |
| 7013 | iNdEx++ |
| 7014 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7015 | if b < 0x80 { |
| 7016 | break |
| 7017 | } |
| 7018 | } |
| 7019 | intStringLen := int(stringLen) |
| 7020 | if intStringLen < 0 { |
| 7021 | return ErrInvalidLengthGenerated |
| 7022 | } |
| 7023 | postIndex := iNdEx + intStringLen |
| 7024 | if postIndex > l { |
| 7025 | return io.ErrUnexpectedEOF |
| 7026 | } |
| 7027 | m.ClusterName = string(dAtA[iNdEx:postIndex]) |
| 7028 | iNdEx = postIndex |
| 7029 | case 16: |
| 7030 | if wireType != 2 { |
| 7031 | return fmt.Errorf("proto: wrong wireType = %d for field Initializers", wireType) |
| 7032 | } |
| 7033 | var msglen int |
| 7034 | for shift := uint(0); ; shift += 7 { |
| 7035 | if shift >= 64 { |
| 7036 | return ErrIntOverflowGenerated |
| 7037 | } |
| 7038 | if iNdEx >= l { |
| 7039 | return io.ErrUnexpectedEOF |
| 7040 | } |
| 7041 | b := dAtA[iNdEx] |
| 7042 | iNdEx++ |
| 7043 | msglen |= (int(b) & 0x7F) << shift |
| 7044 | if b < 0x80 { |
| 7045 | break |
| 7046 | } |
| 7047 | } |
| 7048 | if msglen < 0 { |
| 7049 | return ErrInvalidLengthGenerated |
| 7050 | } |
| 7051 | postIndex := iNdEx + msglen |
| 7052 | if postIndex > l { |
| 7053 | return io.ErrUnexpectedEOF |
| 7054 | } |
| 7055 | if m.Initializers == nil { |
| 7056 | m.Initializers = &Initializers{} |
| 7057 | } |
| 7058 | if err := m.Initializers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7059 | return err |
| 7060 | } |
| 7061 | iNdEx = postIndex |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 7062 | case 17: |
| 7063 | if wireType != 2 { |
| 7064 | return fmt.Errorf("proto: wrong wireType = %d for field ManagedFields", wireType) |
| 7065 | } |
| 7066 | var msglen int |
| 7067 | for shift := uint(0); ; shift += 7 { |
| 7068 | if shift >= 64 { |
| 7069 | return ErrIntOverflowGenerated |
| 7070 | } |
| 7071 | if iNdEx >= l { |
| 7072 | return io.ErrUnexpectedEOF |
| 7073 | } |
| 7074 | b := dAtA[iNdEx] |
| 7075 | iNdEx++ |
| 7076 | msglen |= (int(b) & 0x7F) << shift |
| 7077 | if b < 0x80 { |
| 7078 | break |
| 7079 | } |
| 7080 | } |
| 7081 | if msglen < 0 { |
| 7082 | return ErrInvalidLengthGenerated |
| 7083 | } |
| 7084 | postIndex := iNdEx + msglen |
| 7085 | if postIndex > l { |
| 7086 | return io.ErrUnexpectedEOF |
| 7087 | } |
| 7088 | m.ManagedFields = append(m.ManagedFields, ManagedFieldsEntry{}) |
| 7089 | if err := m.ManagedFields[len(m.ManagedFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7090 | return err |
| 7091 | } |
| 7092 | iNdEx = postIndex |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 7093 | default: |
| 7094 | iNdEx = preIndex |
| 7095 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7096 | if err != nil { |
| 7097 | return err |
| 7098 | } |
| 7099 | if skippy < 0 { |
| 7100 | return ErrInvalidLengthGenerated |
| 7101 | } |
| 7102 | if (iNdEx + skippy) > l { |
| 7103 | return io.ErrUnexpectedEOF |
| 7104 | } |
| 7105 | iNdEx += skippy |
| 7106 | } |
| 7107 | } |
| 7108 | |
| 7109 | if iNdEx > l { |
| 7110 | return io.ErrUnexpectedEOF |
| 7111 | } |
| 7112 | return nil |
| 7113 | } |
| 7114 | func (m *OwnerReference) Unmarshal(dAtA []byte) error { |
| 7115 | l := len(dAtA) |
| 7116 | iNdEx := 0 |
| 7117 | for iNdEx < l { |
| 7118 | preIndex := iNdEx |
| 7119 | var wire uint64 |
| 7120 | for shift := uint(0); ; shift += 7 { |
| 7121 | if shift >= 64 { |
| 7122 | return ErrIntOverflowGenerated |
| 7123 | } |
| 7124 | if iNdEx >= l { |
| 7125 | return io.ErrUnexpectedEOF |
| 7126 | } |
| 7127 | b := dAtA[iNdEx] |
| 7128 | iNdEx++ |
| 7129 | wire |= (uint64(b) & 0x7F) << shift |
| 7130 | if b < 0x80 { |
| 7131 | break |
| 7132 | } |
| 7133 | } |
| 7134 | fieldNum := int32(wire >> 3) |
| 7135 | wireType := int(wire & 0x7) |
| 7136 | if wireType == 4 { |
| 7137 | return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group") |
| 7138 | } |
| 7139 | if fieldNum <= 0 { |
| 7140 | return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7141 | } |
| 7142 | switch fieldNum { |
| 7143 | case 1: |
| 7144 | if wireType != 2 { |
| 7145 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 7146 | } |
| 7147 | var stringLen uint64 |
| 7148 | for shift := uint(0); ; shift += 7 { |
| 7149 | if shift >= 64 { |
| 7150 | return ErrIntOverflowGenerated |
| 7151 | } |
| 7152 | if iNdEx >= l { |
| 7153 | return io.ErrUnexpectedEOF |
| 7154 | } |
| 7155 | b := dAtA[iNdEx] |
| 7156 | iNdEx++ |
| 7157 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7158 | if b < 0x80 { |
| 7159 | break |
| 7160 | } |
| 7161 | } |
| 7162 | intStringLen := int(stringLen) |
| 7163 | if intStringLen < 0 { |
| 7164 | return ErrInvalidLengthGenerated |
| 7165 | } |
| 7166 | postIndex := iNdEx + intStringLen |
| 7167 | if postIndex > l { |
| 7168 | return io.ErrUnexpectedEOF |
| 7169 | } |
| 7170 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 7171 | iNdEx = postIndex |
| 7172 | case 3: |
| 7173 | if wireType != 2 { |
| 7174 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 7175 | } |
| 7176 | var stringLen uint64 |
| 7177 | for shift := uint(0); ; shift += 7 { |
| 7178 | if shift >= 64 { |
| 7179 | return ErrIntOverflowGenerated |
| 7180 | } |
| 7181 | if iNdEx >= l { |
| 7182 | return io.ErrUnexpectedEOF |
| 7183 | } |
| 7184 | b := dAtA[iNdEx] |
| 7185 | iNdEx++ |
| 7186 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7187 | if b < 0x80 { |
| 7188 | break |
| 7189 | } |
| 7190 | } |
| 7191 | intStringLen := int(stringLen) |
| 7192 | if intStringLen < 0 { |
| 7193 | return ErrInvalidLengthGenerated |
| 7194 | } |
| 7195 | postIndex := iNdEx + intStringLen |
| 7196 | if postIndex > l { |
| 7197 | return io.ErrUnexpectedEOF |
| 7198 | } |
| 7199 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 7200 | iNdEx = postIndex |
| 7201 | case 4: |
| 7202 | if wireType != 2 { |
| 7203 | return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 7204 | } |
| 7205 | var stringLen uint64 |
| 7206 | for shift := uint(0); ; shift += 7 { |
| 7207 | if shift >= 64 { |
| 7208 | return ErrIntOverflowGenerated |
| 7209 | } |
| 7210 | if iNdEx >= l { |
| 7211 | return io.ErrUnexpectedEOF |
| 7212 | } |
| 7213 | b := dAtA[iNdEx] |
| 7214 | iNdEx++ |
| 7215 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7216 | if b < 0x80 { |
| 7217 | break |
| 7218 | } |
| 7219 | } |
| 7220 | intStringLen := int(stringLen) |
| 7221 | if intStringLen < 0 { |
| 7222 | return ErrInvalidLengthGenerated |
| 7223 | } |
| 7224 | postIndex := iNdEx + intStringLen |
| 7225 | if postIndex > l { |
| 7226 | return io.ErrUnexpectedEOF |
| 7227 | } |
| 7228 | m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 7229 | iNdEx = postIndex |
| 7230 | case 5: |
| 7231 | if wireType != 2 { |
| 7232 | return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 7233 | } |
| 7234 | var stringLen uint64 |
| 7235 | for shift := uint(0); ; shift += 7 { |
| 7236 | if shift >= 64 { |
| 7237 | return ErrIntOverflowGenerated |
| 7238 | } |
| 7239 | if iNdEx >= l { |
| 7240 | return io.ErrUnexpectedEOF |
| 7241 | } |
| 7242 | b := dAtA[iNdEx] |
| 7243 | iNdEx++ |
| 7244 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7245 | if b < 0x80 { |
| 7246 | break |
| 7247 | } |
| 7248 | } |
| 7249 | intStringLen := int(stringLen) |
| 7250 | if intStringLen < 0 { |
| 7251 | return ErrInvalidLengthGenerated |
| 7252 | } |
| 7253 | postIndex := iNdEx + intStringLen |
| 7254 | if postIndex > l { |
| 7255 | return io.ErrUnexpectedEOF |
| 7256 | } |
| 7257 | m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 7258 | iNdEx = postIndex |
| 7259 | case 6: |
| 7260 | if wireType != 0 { |
| 7261 | return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) |
| 7262 | } |
| 7263 | var v int |
| 7264 | for shift := uint(0); ; shift += 7 { |
| 7265 | if shift >= 64 { |
| 7266 | return ErrIntOverflowGenerated |
| 7267 | } |
| 7268 | if iNdEx >= l { |
| 7269 | return io.ErrUnexpectedEOF |
| 7270 | } |
| 7271 | b := dAtA[iNdEx] |
| 7272 | iNdEx++ |
| 7273 | v |= (int(b) & 0x7F) << shift |
| 7274 | if b < 0x80 { |
| 7275 | break |
| 7276 | } |
| 7277 | } |
| 7278 | b := bool(v != 0) |
| 7279 | m.Controller = &b |
| 7280 | case 7: |
| 7281 | if wireType != 0 { |
| 7282 | return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType) |
| 7283 | } |
| 7284 | var v int |
| 7285 | for shift := uint(0); ; shift += 7 { |
| 7286 | if shift >= 64 { |
| 7287 | return ErrIntOverflowGenerated |
| 7288 | } |
| 7289 | if iNdEx >= l { |
| 7290 | return io.ErrUnexpectedEOF |
| 7291 | } |
| 7292 | b := dAtA[iNdEx] |
| 7293 | iNdEx++ |
| 7294 | v |= (int(b) & 0x7F) << shift |
| 7295 | if b < 0x80 { |
| 7296 | break |
| 7297 | } |
| 7298 | } |
| 7299 | b := bool(v != 0) |
| 7300 | m.BlockOwnerDeletion = &b |
| 7301 | default: |
| 7302 | iNdEx = preIndex |
| 7303 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7304 | if err != nil { |
| 7305 | return err |
| 7306 | } |
| 7307 | if skippy < 0 { |
| 7308 | return ErrInvalidLengthGenerated |
| 7309 | } |
| 7310 | if (iNdEx + skippy) > l { |
| 7311 | return io.ErrUnexpectedEOF |
| 7312 | } |
| 7313 | iNdEx += skippy |
| 7314 | } |
| 7315 | } |
| 7316 | |
| 7317 | if iNdEx > l { |
| 7318 | return io.ErrUnexpectedEOF |
| 7319 | } |
| 7320 | return nil |
| 7321 | } |
| 7322 | func (m *Patch) Unmarshal(dAtA []byte) error { |
| 7323 | l := len(dAtA) |
| 7324 | iNdEx := 0 |
| 7325 | for iNdEx < l { |
| 7326 | preIndex := iNdEx |
| 7327 | var wire uint64 |
| 7328 | for shift := uint(0); ; shift += 7 { |
| 7329 | if shift >= 64 { |
| 7330 | return ErrIntOverflowGenerated |
| 7331 | } |
| 7332 | if iNdEx >= l { |
| 7333 | return io.ErrUnexpectedEOF |
| 7334 | } |
| 7335 | b := dAtA[iNdEx] |
| 7336 | iNdEx++ |
| 7337 | wire |= (uint64(b) & 0x7F) << shift |
| 7338 | if b < 0x80 { |
| 7339 | break |
| 7340 | } |
| 7341 | } |
| 7342 | fieldNum := int32(wire >> 3) |
| 7343 | wireType := int(wire & 0x7) |
| 7344 | if wireType == 4 { |
| 7345 | return fmt.Errorf("proto: Patch: wiretype end group for non-group") |
| 7346 | } |
| 7347 | if fieldNum <= 0 { |
| 7348 | return fmt.Errorf("proto: Patch: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7349 | } |
| 7350 | switch fieldNum { |
| 7351 | default: |
| 7352 | iNdEx = preIndex |
| 7353 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7354 | if err != nil { |
| 7355 | return err |
| 7356 | } |
| 7357 | if skippy < 0 { |
| 7358 | return ErrInvalidLengthGenerated |
| 7359 | } |
| 7360 | if (iNdEx + skippy) > l { |
| 7361 | return io.ErrUnexpectedEOF |
| 7362 | } |
| 7363 | iNdEx += skippy |
| 7364 | } |
| 7365 | } |
| 7366 | |
| 7367 | if iNdEx > l { |
| 7368 | return io.ErrUnexpectedEOF |
| 7369 | } |
| 7370 | return nil |
| 7371 | } |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 7372 | func (m *PatchOptions) Unmarshal(dAtA []byte) error { |
| 7373 | l := len(dAtA) |
| 7374 | iNdEx := 0 |
| 7375 | for iNdEx < l { |
| 7376 | preIndex := iNdEx |
| 7377 | var wire uint64 |
| 7378 | for shift := uint(0); ; shift += 7 { |
| 7379 | if shift >= 64 { |
| 7380 | return ErrIntOverflowGenerated |
| 7381 | } |
| 7382 | if iNdEx >= l { |
| 7383 | return io.ErrUnexpectedEOF |
| 7384 | } |
| 7385 | b := dAtA[iNdEx] |
| 7386 | iNdEx++ |
| 7387 | wire |= (uint64(b) & 0x7F) << shift |
| 7388 | if b < 0x80 { |
| 7389 | break |
| 7390 | } |
| 7391 | } |
| 7392 | fieldNum := int32(wire >> 3) |
| 7393 | wireType := int(wire & 0x7) |
| 7394 | if wireType == 4 { |
| 7395 | return fmt.Errorf("proto: PatchOptions: wiretype end group for non-group") |
| 7396 | } |
| 7397 | if fieldNum <= 0 { |
| 7398 | return fmt.Errorf("proto: PatchOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7399 | } |
| 7400 | switch fieldNum { |
| 7401 | case 1: |
| 7402 | if wireType != 2 { |
| 7403 | return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 7404 | } |
| 7405 | var stringLen uint64 |
| 7406 | for shift := uint(0); ; shift += 7 { |
| 7407 | if shift >= 64 { |
| 7408 | return ErrIntOverflowGenerated |
| 7409 | } |
| 7410 | if iNdEx >= l { |
| 7411 | return io.ErrUnexpectedEOF |
| 7412 | } |
| 7413 | b := dAtA[iNdEx] |
| 7414 | iNdEx++ |
| 7415 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7416 | if b < 0x80 { |
| 7417 | break |
| 7418 | } |
| 7419 | } |
| 7420 | intStringLen := int(stringLen) |
| 7421 | if intStringLen < 0 { |
| 7422 | return ErrInvalidLengthGenerated |
| 7423 | } |
| 7424 | postIndex := iNdEx + intStringLen |
| 7425 | if postIndex > l { |
| 7426 | return io.ErrUnexpectedEOF |
| 7427 | } |
| 7428 | m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 7429 | iNdEx = postIndex |
| 7430 | case 2: |
| 7431 | if wireType != 0 { |
| 7432 | return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) |
| 7433 | } |
| 7434 | var v int |
| 7435 | for shift := uint(0); ; shift += 7 { |
| 7436 | if shift >= 64 { |
| 7437 | return ErrIntOverflowGenerated |
| 7438 | } |
| 7439 | if iNdEx >= l { |
| 7440 | return io.ErrUnexpectedEOF |
| 7441 | } |
| 7442 | b := dAtA[iNdEx] |
| 7443 | iNdEx++ |
| 7444 | v |= (int(b) & 0x7F) << shift |
| 7445 | if b < 0x80 { |
| 7446 | break |
| 7447 | } |
| 7448 | } |
| 7449 | b := bool(v != 0) |
| 7450 | m.Force = &b |
| 7451 | default: |
| 7452 | iNdEx = preIndex |
| 7453 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7454 | if err != nil { |
| 7455 | return err |
| 7456 | } |
| 7457 | if skippy < 0 { |
| 7458 | return ErrInvalidLengthGenerated |
| 7459 | } |
| 7460 | if (iNdEx + skippy) > l { |
| 7461 | return io.ErrUnexpectedEOF |
| 7462 | } |
| 7463 | iNdEx += skippy |
| 7464 | } |
| 7465 | } |
| 7466 | |
| 7467 | if iNdEx > l { |
| 7468 | return io.ErrUnexpectedEOF |
| 7469 | } |
| 7470 | return nil |
| 7471 | } |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 7472 | func (m *Preconditions) Unmarshal(dAtA []byte) error { |
| 7473 | l := len(dAtA) |
| 7474 | iNdEx := 0 |
| 7475 | for iNdEx < l { |
| 7476 | preIndex := iNdEx |
| 7477 | var wire uint64 |
| 7478 | for shift := uint(0); ; shift += 7 { |
| 7479 | if shift >= 64 { |
| 7480 | return ErrIntOverflowGenerated |
| 7481 | } |
| 7482 | if iNdEx >= l { |
| 7483 | return io.ErrUnexpectedEOF |
| 7484 | } |
| 7485 | b := dAtA[iNdEx] |
| 7486 | iNdEx++ |
| 7487 | wire |= (uint64(b) & 0x7F) << shift |
| 7488 | if b < 0x80 { |
| 7489 | break |
| 7490 | } |
| 7491 | } |
| 7492 | fieldNum := int32(wire >> 3) |
| 7493 | wireType := int(wire & 0x7) |
| 7494 | if wireType == 4 { |
| 7495 | return fmt.Errorf("proto: Preconditions: wiretype end group for non-group") |
| 7496 | } |
| 7497 | if fieldNum <= 0 { |
| 7498 | return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7499 | } |
| 7500 | switch fieldNum { |
| 7501 | case 1: |
| 7502 | if wireType != 2 { |
| 7503 | return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 7504 | } |
| 7505 | var stringLen uint64 |
| 7506 | for shift := uint(0); ; shift += 7 { |
| 7507 | if shift >= 64 { |
| 7508 | return ErrIntOverflowGenerated |
| 7509 | } |
| 7510 | if iNdEx >= l { |
| 7511 | return io.ErrUnexpectedEOF |
| 7512 | } |
| 7513 | b := dAtA[iNdEx] |
| 7514 | iNdEx++ |
| 7515 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7516 | if b < 0x80 { |
| 7517 | break |
| 7518 | } |
| 7519 | } |
| 7520 | intStringLen := int(stringLen) |
| 7521 | if intStringLen < 0 { |
| 7522 | return ErrInvalidLengthGenerated |
| 7523 | } |
| 7524 | postIndex := iNdEx + intStringLen |
| 7525 | if postIndex > l { |
| 7526 | return io.ErrUnexpectedEOF |
| 7527 | } |
| 7528 | s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 7529 | m.UID = &s |
| 7530 | iNdEx = postIndex |
| 7531 | default: |
| 7532 | iNdEx = preIndex |
| 7533 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7534 | if err != nil { |
| 7535 | return err |
| 7536 | } |
| 7537 | if skippy < 0 { |
| 7538 | return ErrInvalidLengthGenerated |
| 7539 | } |
| 7540 | if (iNdEx + skippy) > l { |
| 7541 | return io.ErrUnexpectedEOF |
| 7542 | } |
| 7543 | iNdEx += skippy |
| 7544 | } |
| 7545 | } |
| 7546 | |
| 7547 | if iNdEx > l { |
| 7548 | return io.ErrUnexpectedEOF |
| 7549 | } |
| 7550 | return nil |
| 7551 | } |
| 7552 | func (m *RootPaths) Unmarshal(dAtA []byte) error { |
| 7553 | l := len(dAtA) |
| 7554 | iNdEx := 0 |
| 7555 | for iNdEx < l { |
| 7556 | preIndex := iNdEx |
| 7557 | var wire uint64 |
| 7558 | for shift := uint(0); ; shift += 7 { |
| 7559 | if shift >= 64 { |
| 7560 | return ErrIntOverflowGenerated |
| 7561 | } |
| 7562 | if iNdEx >= l { |
| 7563 | return io.ErrUnexpectedEOF |
| 7564 | } |
| 7565 | b := dAtA[iNdEx] |
| 7566 | iNdEx++ |
| 7567 | wire |= (uint64(b) & 0x7F) << shift |
| 7568 | if b < 0x80 { |
| 7569 | break |
| 7570 | } |
| 7571 | } |
| 7572 | fieldNum := int32(wire >> 3) |
| 7573 | wireType := int(wire & 0x7) |
| 7574 | if wireType == 4 { |
| 7575 | return fmt.Errorf("proto: RootPaths: wiretype end group for non-group") |
| 7576 | } |
| 7577 | if fieldNum <= 0 { |
| 7578 | return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7579 | } |
| 7580 | switch fieldNum { |
| 7581 | case 1: |
| 7582 | if wireType != 2 { |
| 7583 | return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType) |
| 7584 | } |
| 7585 | var stringLen uint64 |
| 7586 | for shift := uint(0); ; shift += 7 { |
| 7587 | if shift >= 64 { |
| 7588 | return ErrIntOverflowGenerated |
| 7589 | } |
| 7590 | if iNdEx >= l { |
| 7591 | return io.ErrUnexpectedEOF |
| 7592 | } |
| 7593 | b := dAtA[iNdEx] |
| 7594 | iNdEx++ |
| 7595 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7596 | if b < 0x80 { |
| 7597 | break |
| 7598 | } |
| 7599 | } |
| 7600 | intStringLen := int(stringLen) |
| 7601 | if intStringLen < 0 { |
| 7602 | return ErrInvalidLengthGenerated |
| 7603 | } |
| 7604 | postIndex := iNdEx + intStringLen |
| 7605 | if postIndex > l { |
| 7606 | return io.ErrUnexpectedEOF |
| 7607 | } |
| 7608 | m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex])) |
| 7609 | iNdEx = postIndex |
| 7610 | default: |
| 7611 | iNdEx = preIndex |
| 7612 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7613 | if err != nil { |
| 7614 | return err |
| 7615 | } |
| 7616 | if skippy < 0 { |
| 7617 | return ErrInvalidLengthGenerated |
| 7618 | } |
| 7619 | if (iNdEx + skippy) > l { |
| 7620 | return io.ErrUnexpectedEOF |
| 7621 | } |
| 7622 | iNdEx += skippy |
| 7623 | } |
| 7624 | } |
| 7625 | |
| 7626 | if iNdEx > l { |
| 7627 | return io.ErrUnexpectedEOF |
| 7628 | } |
| 7629 | return nil |
| 7630 | } |
| 7631 | func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error { |
| 7632 | l := len(dAtA) |
| 7633 | iNdEx := 0 |
| 7634 | for iNdEx < l { |
| 7635 | preIndex := iNdEx |
| 7636 | var wire uint64 |
| 7637 | for shift := uint(0); ; shift += 7 { |
| 7638 | if shift >= 64 { |
| 7639 | return ErrIntOverflowGenerated |
| 7640 | } |
| 7641 | if iNdEx >= l { |
| 7642 | return io.ErrUnexpectedEOF |
| 7643 | } |
| 7644 | b := dAtA[iNdEx] |
| 7645 | iNdEx++ |
| 7646 | wire |= (uint64(b) & 0x7F) << shift |
| 7647 | if b < 0x80 { |
| 7648 | break |
| 7649 | } |
| 7650 | } |
| 7651 | fieldNum := int32(wire >> 3) |
| 7652 | wireType := int(wire & 0x7) |
| 7653 | if wireType == 4 { |
| 7654 | return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group") |
| 7655 | } |
| 7656 | if fieldNum <= 0 { |
| 7657 | return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7658 | } |
| 7659 | switch fieldNum { |
| 7660 | case 1: |
| 7661 | if wireType != 2 { |
| 7662 | return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType) |
| 7663 | } |
| 7664 | var stringLen uint64 |
| 7665 | for shift := uint(0); ; shift += 7 { |
| 7666 | if shift >= 64 { |
| 7667 | return ErrIntOverflowGenerated |
| 7668 | } |
| 7669 | if iNdEx >= l { |
| 7670 | return io.ErrUnexpectedEOF |
| 7671 | } |
| 7672 | b := dAtA[iNdEx] |
| 7673 | iNdEx++ |
| 7674 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7675 | if b < 0x80 { |
| 7676 | break |
| 7677 | } |
| 7678 | } |
| 7679 | intStringLen := int(stringLen) |
| 7680 | if intStringLen < 0 { |
| 7681 | return ErrInvalidLengthGenerated |
| 7682 | } |
| 7683 | postIndex := iNdEx + intStringLen |
| 7684 | if postIndex > l { |
| 7685 | return io.ErrUnexpectedEOF |
| 7686 | } |
| 7687 | m.ClientCIDR = string(dAtA[iNdEx:postIndex]) |
| 7688 | iNdEx = postIndex |
| 7689 | case 2: |
| 7690 | if wireType != 2 { |
| 7691 | return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType) |
| 7692 | } |
| 7693 | var stringLen uint64 |
| 7694 | for shift := uint(0); ; shift += 7 { |
| 7695 | if shift >= 64 { |
| 7696 | return ErrIntOverflowGenerated |
| 7697 | } |
| 7698 | if iNdEx >= l { |
| 7699 | return io.ErrUnexpectedEOF |
| 7700 | } |
| 7701 | b := dAtA[iNdEx] |
| 7702 | iNdEx++ |
| 7703 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7704 | if b < 0x80 { |
| 7705 | break |
| 7706 | } |
| 7707 | } |
| 7708 | intStringLen := int(stringLen) |
| 7709 | if intStringLen < 0 { |
| 7710 | return ErrInvalidLengthGenerated |
| 7711 | } |
| 7712 | postIndex := iNdEx + intStringLen |
| 7713 | if postIndex > l { |
| 7714 | return io.ErrUnexpectedEOF |
| 7715 | } |
| 7716 | m.ServerAddress = string(dAtA[iNdEx:postIndex]) |
| 7717 | iNdEx = postIndex |
| 7718 | default: |
| 7719 | iNdEx = preIndex |
| 7720 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7721 | if err != nil { |
| 7722 | return err |
| 7723 | } |
| 7724 | if skippy < 0 { |
| 7725 | return ErrInvalidLengthGenerated |
| 7726 | } |
| 7727 | if (iNdEx + skippy) > l { |
| 7728 | return io.ErrUnexpectedEOF |
| 7729 | } |
| 7730 | iNdEx += skippy |
| 7731 | } |
| 7732 | } |
| 7733 | |
| 7734 | if iNdEx > l { |
| 7735 | return io.ErrUnexpectedEOF |
| 7736 | } |
| 7737 | return nil |
| 7738 | } |
| 7739 | func (m *Status) Unmarshal(dAtA []byte) error { |
| 7740 | l := len(dAtA) |
| 7741 | iNdEx := 0 |
| 7742 | for iNdEx < l { |
| 7743 | preIndex := iNdEx |
| 7744 | var wire uint64 |
| 7745 | for shift := uint(0); ; shift += 7 { |
| 7746 | if shift >= 64 { |
| 7747 | return ErrIntOverflowGenerated |
| 7748 | } |
| 7749 | if iNdEx >= l { |
| 7750 | return io.ErrUnexpectedEOF |
| 7751 | } |
| 7752 | b := dAtA[iNdEx] |
| 7753 | iNdEx++ |
| 7754 | wire |= (uint64(b) & 0x7F) << shift |
| 7755 | if b < 0x80 { |
| 7756 | break |
| 7757 | } |
| 7758 | } |
| 7759 | fieldNum := int32(wire >> 3) |
| 7760 | wireType := int(wire & 0x7) |
| 7761 | if wireType == 4 { |
| 7762 | return fmt.Errorf("proto: Status: wiretype end group for non-group") |
| 7763 | } |
| 7764 | if fieldNum <= 0 { |
| 7765 | return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7766 | } |
| 7767 | switch fieldNum { |
| 7768 | case 1: |
| 7769 | if wireType != 2 { |
| 7770 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 7771 | } |
| 7772 | var msglen int |
| 7773 | for shift := uint(0); ; shift += 7 { |
| 7774 | if shift >= 64 { |
| 7775 | return ErrIntOverflowGenerated |
| 7776 | } |
| 7777 | if iNdEx >= l { |
| 7778 | return io.ErrUnexpectedEOF |
| 7779 | } |
| 7780 | b := dAtA[iNdEx] |
| 7781 | iNdEx++ |
| 7782 | msglen |= (int(b) & 0x7F) << shift |
| 7783 | if b < 0x80 { |
| 7784 | break |
| 7785 | } |
| 7786 | } |
| 7787 | if msglen < 0 { |
| 7788 | return ErrInvalidLengthGenerated |
| 7789 | } |
| 7790 | postIndex := iNdEx + msglen |
| 7791 | if postIndex > l { |
| 7792 | return io.ErrUnexpectedEOF |
| 7793 | } |
| 7794 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7795 | return err |
| 7796 | } |
| 7797 | iNdEx = postIndex |
| 7798 | case 2: |
| 7799 | if wireType != 2 { |
| 7800 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 7801 | } |
| 7802 | var stringLen uint64 |
| 7803 | for shift := uint(0); ; shift += 7 { |
| 7804 | if shift >= 64 { |
| 7805 | return ErrIntOverflowGenerated |
| 7806 | } |
| 7807 | if iNdEx >= l { |
| 7808 | return io.ErrUnexpectedEOF |
| 7809 | } |
| 7810 | b := dAtA[iNdEx] |
| 7811 | iNdEx++ |
| 7812 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7813 | if b < 0x80 { |
| 7814 | break |
| 7815 | } |
| 7816 | } |
| 7817 | intStringLen := int(stringLen) |
| 7818 | if intStringLen < 0 { |
| 7819 | return ErrInvalidLengthGenerated |
| 7820 | } |
| 7821 | postIndex := iNdEx + intStringLen |
| 7822 | if postIndex > l { |
| 7823 | return io.ErrUnexpectedEOF |
| 7824 | } |
| 7825 | m.Status = string(dAtA[iNdEx:postIndex]) |
| 7826 | iNdEx = postIndex |
| 7827 | case 3: |
| 7828 | if wireType != 2 { |
| 7829 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 7830 | } |
| 7831 | var stringLen uint64 |
| 7832 | for shift := uint(0); ; shift += 7 { |
| 7833 | if shift >= 64 { |
| 7834 | return ErrIntOverflowGenerated |
| 7835 | } |
| 7836 | if iNdEx >= l { |
| 7837 | return io.ErrUnexpectedEOF |
| 7838 | } |
| 7839 | b := dAtA[iNdEx] |
| 7840 | iNdEx++ |
| 7841 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7842 | if b < 0x80 { |
| 7843 | break |
| 7844 | } |
| 7845 | } |
| 7846 | intStringLen := int(stringLen) |
| 7847 | if intStringLen < 0 { |
| 7848 | return ErrInvalidLengthGenerated |
| 7849 | } |
| 7850 | postIndex := iNdEx + intStringLen |
| 7851 | if postIndex > l { |
| 7852 | return io.ErrUnexpectedEOF |
| 7853 | } |
| 7854 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 7855 | iNdEx = postIndex |
| 7856 | case 4: |
| 7857 | if wireType != 2 { |
| 7858 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 7859 | } |
| 7860 | var stringLen uint64 |
| 7861 | for shift := uint(0); ; shift += 7 { |
| 7862 | if shift >= 64 { |
| 7863 | return ErrIntOverflowGenerated |
| 7864 | } |
| 7865 | if iNdEx >= l { |
| 7866 | return io.ErrUnexpectedEOF |
| 7867 | } |
| 7868 | b := dAtA[iNdEx] |
| 7869 | iNdEx++ |
| 7870 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7871 | if b < 0x80 { |
| 7872 | break |
| 7873 | } |
| 7874 | } |
| 7875 | intStringLen := int(stringLen) |
| 7876 | if intStringLen < 0 { |
| 7877 | return ErrInvalidLengthGenerated |
| 7878 | } |
| 7879 | postIndex := iNdEx + intStringLen |
| 7880 | if postIndex > l { |
| 7881 | return io.ErrUnexpectedEOF |
| 7882 | } |
| 7883 | m.Reason = StatusReason(dAtA[iNdEx:postIndex]) |
| 7884 | iNdEx = postIndex |
| 7885 | case 5: |
| 7886 | if wireType != 2 { |
| 7887 | return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) |
| 7888 | } |
| 7889 | var msglen int |
| 7890 | for shift := uint(0); ; shift += 7 { |
| 7891 | if shift >= 64 { |
| 7892 | return ErrIntOverflowGenerated |
| 7893 | } |
| 7894 | if iNdEx >= l { |
| 7895 | return io.ErrUnexpectedEOF |
| 7896 | } |
| 7897 | b := dAtA[iNdEx] |
| 7898 | iNdEx++ |
| 7899 | msglen |= (int(b) & 0x7F) << shift |
| 7900 | if b < 0x80 { |
| 7901 | break |
| 7902 | } |
| 7903 | } |
| 7904 | if msglen < 0 { |
| 7905 | return ErrInvalidLengthGenerated |
| 7906 | } |
| 7907 | postIndex := iNdEx + msglen |
| 7908 | if postIndex > l { |
| 7909 | return io.ErrUnexpectedEOF |
| 7910 | } |
| 7911 | if m.Details == nil { |
| 7912 | m.Details = &StatusDetails{} |
| 7913 | } |
| 7914 | if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7915 | return err |
| 7916 | } |
| 7917 | iNdEx = postIndex |
| 7918 | case 6: |
| 7919 | if wireType != 0 { |
| 7920 | return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) |
| 7921 | } |
| 7922 | m.Code = 0 |
| 7923 | for shift := uint(0); ; shift += 7 { |
| 7924 | if shift >= 64 { |
| 7925 | return ErrIntOverflowGenerated |
| 7926 | } |
| 7927 | if iNdEx >= l { |
| 7928 | return io.ErrUnexpectedEOF |
| 7929 | } |
| 7930 | b := dAtA[iNdEx] |
| 7931 | iNdEx++ |
| 7932 | m.Code |= (int32(b) & 0x7F) << shift |
| 7933 | if b < 0x80 { |
| 7934 | break |
| 7935 | } |
| 7936 | } |
| 7937 | default: |
| 7938 | iNdEx = preIndex |
| 7939 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7940 | if err != nil { |
| 7941 | return err |
| 7942 | } |
| 7943 | if skippy < 0 { |
| 7944 | return ErrInvalidLengthGenerated |
| 7945 | } |
| 7946 | if (iNdEx + skippy) > l { |
| 7947 | return io.ErrUnexpectedEOF |
| 7948 | } |
| 7949 | iNdEx += skippy |
| 7950 | } |
| 7951 | } |
| 7952 | |
| 7953 | if iNdEx > l { |
| 7954 | return io.ErrUnexpectedEOF |
| 7955 | } |
| 7956 | return nil |
| 7957 | } |
| 7958 | func (m *StatusCause) Unmarshal(dAtA []byte) error { |
| 7959 | l := len(dAtA) |
| 7960 | iNdEx := 0 |
| 7961 | for iNdEx < l { |
| 7962 | preIndex := iNdEx |
| 7963 | var wire uint64 |
| 7964 | for shift := uint(0); ; shift += 7 { |
| 7965 | if shift >= 64 { |
| 7966 | return ErrIntOverflowGenerated |
| 7967 | } |
| 7968 | if iNdEx >= l { |
| 7969 | return io.ErrUnexpectedEOF |
| 7970 | } |
| 7971 | b := dAtA[iNdEx] |
| 7972 | iNdEx++ |
| 7973 | wire |= (uint64(b) & 0x7F) << shift |
| 7974 | if b < 0x80 { |
| 7975 | break |
| 7976 | } |
| 7977 | } |
| 7978 | fieldNum := int32(wire >> 3) |
| 7979 | wireType := int(wire & 0x7) |
| 7980 | if wireType == 4 { |
| 7981 | return fmt.Errorf("proto: StatusCause: wiretype end group for non-group") |
| 7982 | } |
| 7983 | if fieldNum <= 0 { |
| 7984 | return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7985 | } |
| 7986 | switch fieldNum { |
| 7987 | case 1: |
| 7988 | if wireType != 2 { |
| 7989 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 7990 | } |
| 7991 | var stringLen uint64 |
| 7992 | for shift := uint(0); ; shift += 7 { |
| 7993 | if shift >= 64 { |
| 7994 | return ErrIntOverflowGenerated |
| 7995 | } |
| 7996 | if iNdEx >= l { |
| 7997 | return io.ErrUnexpectedEOF |
| 7998 | } |
| 7999 | b := dAtA[iNdEx] |
| 8000 | iNdEx++ |
| 8001 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8002 | if b < 0x80 { |
| 8003 | break |
| 8004 | } |
| 8005 | } |
| 8006 | intStringLen := int(stringLen) |
| 8007 | if intStringLen < 0 { |
| 8008 | return ErrInvalidLengthGenerated |
| 8009 | } |
| 8010 | postIndex := iNdEx + intStringLen |
| 8011 | if postIndex > l { |
| 8012 | return io.ErrUnexpectedEOF |
| 8013 | } |
| 8014 | m.Type = CauseType(dAtA[iNdEx:postIndex]) |
| 8015 | iNdEx = postIndex |
| 8016 | case 2: |
| 8017 | if wireType != 2 { |
| 8018 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 8019 | } |
| 8020 | var stringLen uint64 |
| 8021 | for shift := uint(0); ; shift += 7 { |
| 8022 | if shift >= 64 { |
| 8023 | return ErrIntOverflowGenerated |
| 8024 | } |
| 8025 | if iNdEx >= l { |
| 8026 | return io.ErrUnexpectedEOF |
| 8027 | } |
| 8028 | b := dAtA[iNdEx] |
| 8029 | iNdEx++ |
| 8030 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8031 | if b < 0x80 { |
| 8032 | break |
| 8033 | } |
| 8034 | } |
| 8035 | intStringLen := int(stringLen) |
| 8036 | if intStringLen < 0 { |
| 8037 | return ErrInvalidLengthGenerated |
| 8038 | } |
| 8039 | postIndex := iNdEx + intStringLen |
| 8040 | if postIndex > l { |
| 8041 | return io.ErrUnexpectedEOF |
| 8042 | } |
| 8043 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 8044 | iNdEx = postIndex |
| 8045 | case 3: |
| 8046 | if wireType != 2 { |
| 8047 | return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType) |
| 8048 | } |
| 8049 | var stringLen uint64 |
| 8050 | for shift := uint(0); ; shift += 7 { |
| 8051 | if shift >= 64 { |
| 8052 | return ErrIntOverflowGenerated |
| 8053 | } |
| 8054 | if iNdEx >= l { |
| 8055 | return io.ErrUnexpectedEOF |
| 8056 | } |
| 8057 | b := dAtA[iNdEx] |
| 8058 | iNdEx++ |
| 8059 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8060 | if b < 0x80 { |
| 8061 | break |
| 8062 | } |
| 8063 | } |
| 8064 | intStringLen := int(stringLen) |
| 8065 | if intStringLen < 0 { |
| 8066 | return ErrInvalidLengthGenerated |
| 8067 | } |
| 8068 | postIndex := iNdEx + intStringLen |
| 8069 | if postIndex > l { |
| 8070 | return io.ErrUnexpectedEOF |
| 8071 | } |
| 8072 | m.Field = string(dAtA[iNdEx:postIndex]) |
| 8073 | iNdEx = postIndex |
| 8074 | default: |
| 8075 | iNdEx = preIndex |
| 8076 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8077 | if err != nil { |
| 8078 | return err |
| 8079 | } |
| 8080 | if skippy < 0 { |
| 8081 | return ErrInvalidLengthGenerated |
| 8082 | } |
| 8083 | if (iNdEx + skippy) > l { |
| 8084 | return io.ErrUnexpectedEOF |
| 8085 | } |
| 8086 | iNdEx += skippy |
| 8087 | } |
| 8088 | } |
| 8089 | |
| 8090 | if iNdEx > l { |
| 8091 | return io.ErrUnexpectedEOF |
| 8092 | } |
| 8093 | return nil |
| 8094 | } |
| 8095 | func (m *StatusDetails) Unmarshal(dAtA []byte) error { |
| 8096 | l := len(dAtA) |
| 8097 | iNdEx := 0 |
| 8098 | for iNdEx < l { |
| 8099 | preIndex := iNdEx |
| 8100 | var wire uint64 |
| 8101 | for shift := uint(0); ; shift += 7 { |
| 8102 | if shift >= 64 { |
| 8103 | return ErrIntOverflowGenerated |
| 8104 | } |
| 8105 | if iNdEx >= l { |
| 8106 | return io.ErrUnexpectedEOF |
| 8107 | } |
| 8108 | b := dAtA[iNdEx] |
| 8109 | iNdEx++ |
| 8110 | wire |= (uint64(b) & 0x7F) << shift |
| 8111 | if b < 0x80 { |
| 8112 | break |
| 8113 | } |
| 8114 | } |
| 8115 | fieldNum := int32(wire >> 3) |
| 8116 | wireType := int(wire & 0x7) |
| 8117 | if wireType == 4 { |
| 8118 | return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group") |
| 8119 | } |
| 8120 | if fieldNum <= 0 { |
| 8121 | return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8122 | } |
| 8123 | switch fieldNum { |
| 8124 | case 1: |
| 8125 | if wireType != 2 { |
| 8126 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 8127 | } |
| 8128 | var stringLen uint64 |
| 8129 | for shift := uint(0); ; shift += 7 { |
| 8130 | if shift >= 64 { |
| 8131 | return ErrIntOverflowGenerated |
| 8132 | } |
| 8133 | if iNdEx >= l { |
| 8134 | return io.ErrUnexpectedEOF |
| 8135 | } |
| 8136 | b := dAtA[iNdEx] |
| 8137 | iNdEx++ |
| 8138 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8139 | if b < 0x80 { |
| 8140 | break |
| 8141 | } |
| 8142 | } |
| 8143 | intStringLen := int(stringLen) |
| 8144 | if intStringLen < 0 { |
| 8145 | return ErrInvalidLengthGenerated |
| 8146 | } |
| 8147 | postIndex := iNdEx + intStringLen |
| 8148 | if postIndex > l { |
| 8149 | return io.ErrUnexpectedEOF |
| 8150 | } |
| 8151 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 8152 | iNdEx = postIndex |
| 8153 | case 2: |
| 8154 | if wireType != 2 { |
| 8155 | return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 8156 | } |
| 8157 | var stringLen uint64 |
| 8158 | for shift := uint(0); ; shift += 7 { |
| 8159 | if shift >= 64 { |
| 8160 | return ErrIntOverflowGenerated |
| 8161 | } |
| 8162 | if iNdEx >= l { |
| 8163 | return io.ErrUnexpectedEOF |
| 8164 | } |
| 8165 | b := dAtA[iNdEx] |
| 8166 | iNdEx++ |
| 8167 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8168 | if b < 0x80 { |
| 8169 | break |
| 8170 | } |
| 8171 | } |
| 8172 | intStringLen := int(stringLen) |
| 8173 | if intStringLen < 0 { |
| 8174 | return ErrInvalidLengthGenerated |
| 8175 | } |
| 8176 | postIndex := iNdEx + intStringLen |
| 8177 | if postIndex > l { |
| 8178 | return io.ErrUnexpectedEOF |
| 8179 | } |
| 8180 | m.Group = string(dAtA[iNdEx:postIndex]) |
| 8181 | iNdEx = postIndex |
| 8182 | case 3: |
| 8183 | if wireType != 2 { |
| 8184 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 8185 | } |
| 8186 | var stringLen uint64 |
| 8187 | for shift := uint(0); ; shift += 7 { |
| 8188 | if shift >= 64 { |
| 8189 | return ErrIntOverflowGenerated |
| 8190 | } |
| 8191 | if iNdEx >= l { |
| 8192 | return io.ErrUnexpectedEOF |
| 8193 | } |
| 8194 | b := dAtA[iNdEx] |
| 8195 | iNdEx++ |
| 8196 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8197 | if b < 0x80 { |
| 8198 | break |
| 8199 | } |
| 8200 | } |
| 8201 | intStringLen := int(stringLen) |
| 8202 | if intStringLen < 0 { |
| 8203 | return ErrInvalidLengthGenerated |
| 8204 | } |
| 8205 | postIndex := iNdEx + intStringLen |
| 8206 | if postIndex > l { |
| 8207 | return io.ErrUnexpectedEOF |
| 8208 | } |
| 8209 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 8210 | iNdEx = postIndex |
| 8211 | case 4: |
| 8212 | if wireType != 2 { |
| 8213 | return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType) |
| 8214 | } |
| 8215 | var msglen int |
| 8216 | for shift := uint(0); ; shift += 7 { |
| 8217 | if shift >= 64 { |
| 8218 | return ErrIntOverflowGenerated |
| 8219 | } |
| 8220 | if iNdEx >= l { |
| 8221 | return io.ErrUnexpectedEOF |
| 8222 | } |
| 8223 | b := dAtA[iNdEx] |
| 8224 | iNdEx++ |
| 8225 | msglen |= (int(b) & 0x7F) << shift |
| 8226 | if b < 0x80 { |
| 8227 | break |
| 8228 | } |
| 8229 | } |
| 8230 | if msglen < 0 { |
| 8231 | return ErrInvalidLengthGenerated |
| 8232 | } |
| 8233 | postIndex := iNdEx + msglen |
| 8234 | if postIndex > l { |
| 8235 | return io.ErrUnexpectedEOF |
| 8236 | } |
| 8237 | m.Causes = append(m.Causes, StatusCause{}) |
| 8238 | if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8239 | return err |
| 8240 | } |
| 8241 | iNdEx = postIndex |
| 8242 | case 5: |
| 8243 | if wireType != 0 { |
| 8244 | return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType) |
| 8245 | } |
| 8246 | m.RetryAfterSeconds = 0 |
| 8247 | for shift := uint(0); ; shift += 7 { |
| 8248 | if shift >= 64 { |
| 8249 | return ErrIntOverflowGenerated |
| 8250 | } |
| 8251 | if iNdEx >= l { |
| 8252 | return io.ErrUnexpectedEOF |
| 8253 | } |
| 8254 | b := dAtA[iNdEx] |
| 8255 | iNdEx++ |
| 8256 | m.RetryAfterSeconds |= (int32(b) & 0x7F) << shift |
| 8257 | if b < 0x80 { |
| 8258 | break |
| 8259 | } |
| 8260 | } |
| 8261 | case 6: |
| 8262 | if wireType != 2 { |
| 8263 | return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 8264 | } |
| 8265 | var stringLen uint64 |
| 8266 | for shift := uint(0); ; shift += 7 { |
| 8267 | if shift >= 64 { |
| 8268 | return ErrIntOverflowGenerated |
| 8269 | } |
| 8270 | if iNdEx >= l { |
| 8271 | return io.ErrUnexpectedEOF |
| 8272 | } |
| 8273 | b := dAtA[iNdEx] |
| 8274 | iNdEx++ |
| 8275 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8276 | if b < 0x80 { |
| 8277 | break |
| 8278 | } |
| 8279 | } |
| 8280 | intStringLen := int(stringLen) |
| 8281 | if intStringLen < 0 { |
| 8282 | return ErrInvalidLengthGenerated |
| 8283 | } |
| 8284 | postIndex := iNdEx + intStringLen |
| 8285 | if postIndex > l { |
| 8286 | return io.ErrUnexpectedEOF |
| 8287 | } |
| 8288 | m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 8289 | iNdEx = postIndex |
| 8290 | default: |
| 8291 | iNdEx = preIndex |
| 8292 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8293 | if err != nil { |
| 8294 | return err |
| 8295 | } |
| 8296 | if skippy < 0 { |
| 8297 | return ErrInvalidLengthGenerated |
| 8298 | } |
| 8299 | if (iNdEx + skippy) > l { |
| 8300 | return io.ErrUnexpectedEOF |
| 8301 | } |
| 8302 | iNdEx += skippy |
| 8303 | } |
| 8304 | } |
| 8305 | |
| 8306 | if iNdEx > l { |
| 8307 | return io.ErrUnexpectedEOF |
| 8308 | } |
| 8309 | return nil |
| 8310 | } |
| 8311 | func (m *Timestamp) Unmarshal(dAtA []byte) error { |
| 8312 | l := len(dAtA) |
| 8313 | iNdEx := 0 |
| 8314 | for iNdEx < l { |
| 8315 | preIndex := iNdEx |
| 8316 | var wire uint64 |
| 8317 | for shift := uint(0); ; shift += 7 { |
| 8318 | if shift >= 64 { |
| 8319 | return ErrIntOverflowGenerated |
| 8320 | } |
| 8321 | if iNdEx >= l { |
| 8322 | return io.ErrUnexpectedEOF |
| 8323 | } |
| 8324 | b := dAtA[iNdEx] |
| 8325 | iNdEx++ |
| 8326 | wire |= (uint64(b) & 0x7F) << shift |
| 8327 | if b < 0x80 { |
| 8328 | break |
| 8329 | } |
| 8330 | } |
| 8331 | fieldNum := int32(wire >> 3) |
| 8332 | wireType := int(wire & 0x7) |
| 8333 | if wireType == 4 { |
| 8334 | return fmt.Errorf("proto: Timestamp: wiretype end group for non-group") |
| 8335 | } |
| 8336 | if fieldNum <= 0 { |
| 8337 | return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8338 | } |
| 8339 | switch fieldNum { |
| 8340 | case 1: |
| 8341 | if wireType != 0 { |
| 8342 | return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) |
| 8343 | } |
| 8344 | m.Seconds = 0 |
| 8345 | for shift := uint(0); ; shift += 7 { |
| 8346 | if shift >= 64 { |
| 8347 | return ErrIntOverflowGenerated |
| 8348 | } |
| 8349 | if iNdEx >= l { |
| 8350 | return io.ErrUnexpectedEOF |
| 8351 | } |
| 8352 | b := dAtA[iNdEx] |
| 8353 | iNdEx++ |
| 8354 | m.Seconds |= (int64(b) & 0x7F) << shift |
| 8355 | if b < 0x80 { |
| 8356 | break |
| 8357 | } |
| 8358 | } |
| 8359 | case 2: |
| 8360 | if wireType != 0 { |
| 8361 | return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType) |
| 8362 | } |
| 8363 | m.Nanos = 0 |
| 8364 | for shift := uint(0); ; shift += 7 { |
| 8365 | if shift >= 64 { |
| 8366 | return ErrIntOverflowGenerated |
| 8367 | } |
| 8368 | if iNdEx >= l { |
| 8369 | return io.ErrUnexpectedEOF |
| 8370 | } |
| 8371 | b := dAtA[iNdEx] |
| 8372 | iNdEx++ |
| 8373 | m.Nanos |= (int32(b) & 0x7F) << shift |
| 8374 | if b < 0x80 { |
| 8375 | break |
| 8376 | } |
| 8377 | } |
| 8378 | default: |
| 8379 | iNdEx = preIndex |
| 8380 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8381 | if err != nil { |
| 8382 | return err |
| 8383 | } |
| 8384 | if skippy < 0 { |
| 8385 | return ErrInvalidLengthGenerated |
| 8386 | } |
| 8387 | if (iNdEx + skippy) > l { |
| 8388 | return io.ErrUnexpectedEOF |
| 8389 | } |
| 8390 | iNdEx += skippy |
| 8391 | } |
| 8392 | } |
| 8393 | |
| 8394 | if iNdEx > l { |
| 8395 | return io.ErrUnexpectedEOF |
| 8396 | } |
| 8397 | return nil |
| 8398 | } |
| 8399 | func (m *TypeMeta) Unmarshal(dAtA []byte) error { |
| 8400 | l := len(dAtA) |
| 8401 | iNdEx := 0 |
| 8402 | for iNdEx < l { |
| 8403 | preIndex := iNdEx |
| 8404 | var wire uint64 |
| 8405 | for shift := uint(0); ; shift += 7 { |
| 8406 | if shift >= 64 { |
| 8407 | return ErrIntOverflowGenerated |
| 8408 | } |
| 8409 | if iNdEx >= l { |
| 8410 | return io.ErrUnexpectedEOF |
| 8411 | } |
| 8412 | b := dAtA[iNdEx] |
| 8413 | iNdEx++ |
| 8414 | wire |= (uint64(b) & 0x7F) << shift |
| 8415 | if b < 0x80 { |
| 8416 | break |
| 8417 | } |
| 8418 | } |
| 8419 | fieldNum := int32(wire >> 3) |
| 8420 | wireType := int(wire & 0x7) |
| 8421 | if wireType == 4 { |
| 8422 | return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group") |
| 8423 | } |
| 8424 | if fieldNum <= 0 { |
| 8425 | return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8426 | } |
| 8427 | switch fieldNum { |
| 8428 | case 1: |
| 8429 | if wireType != 2 { |
| 8430 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 8431 | } |
| 8432 | var stringLen uint64 |
| 8433 | for shift := uint(0); ; shift += 7 { |
| 8434 | if shift >= 64 { |
| 8435 | return ErrIntOverflowGenerated |
| 8436 | } |
| 8437 | if iNdEx >= l { |
| 8438 | return io.ErrUnexpectedEOF |
| 8439 | } |
| 8440 | b := dAtA[iNdEx] |
| 8441 | iNdEx++ |
| 8442 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8443 | if b < 0x80 { |
| 8444 | break |
| 8445 | } |
| 8446 | } |
| 8447 | intStringLen := int(stringLen) |
| 8448 | if intStringLen < 0 { |
| 8449 | return ErrInvalidLengthGenerated |
| 8450 | } |
| 8451 | postIndex := iNdEx + intStringLen |
| 8452 | if postIndex > l { |
| 8453 | return io.ErrUnexpectedEOF |
| 8454 | } |
| 8455 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 8456 | iNdEx = postIndex |
| 8457 | case 2: |
| 8458 | if wireType != 2 { |
| 8459 | return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 8460 | } |
| 8461 | var stringLen uint64 |
| 8462 | for shift := uint(0); ; shift += 7 { |
| 8463 | if shift >= 64 { |
| 8464 | return ErrIntOverflowGenerated |
| 8465 | } |
| 8466 | if iNdEx >= l { |
| 8467 | return io.ErrUnexpectedEOF |
| 8468 | } |
| 8469 | b := dAtA[iNdEx] |
| 8470 | iNdEx++ |
| 8471 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8472 | if b < 0x80 { |
| 8473 | break |
| 8474 | } |
| 8475 | } |
| 8476 | intStringLen := int(stringLen) |
| 8477 | if intStringLen < 0 { |
| 8478 | return ErrInvalidLengthGenerated |
| 8479 | } |
| 8480 | postIndex := iNdEx + intStringLen |
| 8481 | if postIndex > l { |
| 8482 | return io.ErrUnexpectedEOF |
| 8483 | } |
| 8484 | m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 8485 | iNdEx = postIndex |
| 8486 | default: |
| 8487 | iNdEx = preIndex |
| 8488 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8489 | if err != nil { |
| 8490 | return err |
| 8491 | } |
| 8492 | if skippy < 0 { |
| 8493 | return ErrInvalidLengthGenerated |
| 8494 | } |
| 8495 | if (iNdEx + skippy) > l { |
| 8496 | return io.ErrUnexpectedEOF |
| 8497 | } |
| 8498 | iNdEx += skippy |
| 8499 | } |
| 8500 | } |
| 8501 | |
| 8502 | if iNdEx > l { |
| 8503 | return io.ErrUnexpectedEOF |
| 8504 | } |
| 8505 | return nil |
| 8506 | } |
| 8507 | func (m *UpdateOptions) Unmarshal(dAtA []byte) error { |
| 8508 | l := len(dAtA) |
| 8509 | iNdEx := 0 |
| 8510 | for iNdEx < l { |
| 8511 | preIndex := iNdEx |
| 8512 | var wire uint64 |
| 8513 | for shift := uint(0); ; shift += 7 { |
| 8514 | if shift >= 64 { |
| 8515 | return ErrIntOverflowGenerated |
| 8516 | } |
| 8517 | if iNdEx >= l { |
| 8518 | return io.ErrUnexpectedEOF |
| 8519 | } |
| 8520 | b := dAtA[iNdEx] |
| 8521 | iNdEx++ |
| 8522 | wire |= (uint64(b) & 0x7F) << shift |
| 8523 | if b < 0x80 { |
| 8524 | break |
| 8525 | } |
| 8526 | } |
| 8527 | fieldNum := int32(wire >> 3) |
| 8528 | wireType := int(wire & 0x7) |
| 8529 | if wireType == 4 { |
| 8530 | return fmt.Errorf("proto: UpdateOptions: wiretype end group for non-group") |
| 8531 | } |
| 8532 | if fieldNum <= 0 { |
| 8533 | return fmt.Errorf("proto: UpdateOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8534 | } |
| 8535 | switch fieldNum { |
| 8536 | case 1: |
| 8537 | if wireType != 2 { |
| 8538 | return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 8539 | } |
| 8540 | var stringLen uint64 |
| 8541 | for shift := uint(0); ; shift += 7 { |
| 8542 | if shift >= 64 { |
| 8543 | return ErrIntOverflowGenerated |
| 8544 | } |
| 8545 | if iNdEx >= l { |
| 8546 | return io.ErrUnexpectedEOF |
| 8547 | } |
| 8548 | b := dAtA[iNdEx] |
| 8549 | iNdEx++ |
| 8550 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8551 | if b < 0x80 { |
| 8552 | break |
| 8553 | } |
| 8554 | } |
| 8555 | intStringLen := int(stringLen) |
| 8556 | if intStringLen < 0 { |
| 8557 | return ErrInvalidLengthGenerated |
| 8558 | } |
| 8559 | postIndex := iNdEx + intStringLen |
| 8560 | if postIndex > l { |
| 8561 | return io.ErrUnexpectedEOF |
| 8562 | } |
| 8563 | m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 8564 | iNdEx = postIndex |
| 8565 | default: |
| 8566 | iNdEx = preIndex |
| 8567 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8568 | if err != nil { |
| 8569 | return err |
| 8570 | } |
| 8571 | if skippy < 0 { |
| 8572 | return ErrInvalidLengthGenerated |
| 8573 | } |
| 8574 | if (iNdEx + skippy) > l { |
| 8575 | return io.ErrUnexpectedEOF |
| 8576 | } |
| 8577 | iNdEx += skippy |
| 8578 | } |
| 8579 | } |
| 8580 | |
| 8581 | if iNdEx > l { |
| 8582 | return io.ErrUnexpectedEOF |
| 8583 | } |
| 8584 | return nil |
| 8585 | } |
| 8586 | func (m *Verbs) Unmarshal(dAtA []byte) error { |
| 8587 | l := len(dAtA) |
| 8588 | iNdEx := 0 |
| 8589 | for iNdEx < l { |
| 8590 | preIndex := iNdEx |
| 8591 | var wire uint64 |
| 8592 | for shift := uint(0); ; shift += 7 { |
| 8593 | if shift >= 64 { |
| 8594 | return ErrIntOverflowGenerated |
| 8595 | } |
| 8596 | if iNdEx >= l { |
| 8597 | return io.ErrUnexpectedEOF |
| 8598 | } |
| 8599 | b := dAtA[iNdEx] |
| 8600 | iNdEx++ |
| 8601 | wire |= (uint64(b) & 0x7F) << shift |
| 8602 | if b < 0x80 { |
| 8603 | break |
| 8604 | } |
| 8605 | } |
| 8606 | fieldNum := int32(wire >> 3) |
| 8607 | wireType := int(wire & 0x7) |
| 8608 | if wireType == 4 { |
| 8609 | return fmt.Errorf("proto: Verbs: wiretype end group for non-group") |
| 8610 | } |
| 8611 | if fieldNum <= 0 { |
| 8612 | return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8613 | } |
| 8614 | switch fieldNum { |
| 8615 | case 1: |
| 8616 | if wireType != 2 { |
| 8617 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 8618 | } |
| 8619 | var stringLen uint64 |
| 8620 | for shift := uint(0); ; shift += 7 { |
| 8621 | if shift >= 64 { |
| 8622 | return ErrIntOverflowGenerated |
| 8623 | } |
| 8624 | if iNdEx >= l { |
| 8625 | return io.ErrUnexpectedEOF |
| 8626 | } |
| 8627 | b := dAtA[iNdEx] |
| 8628 | iNdEx++ |
| 8629 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8630 | if b < 0x80 { |
| 8631 | break |
| 8632 | } |
| 8633 | } |
| 8634 | intStringLen := int(stringLen) |
| 8635 | if intStringLen < 0 { |
| 8636 | return ErrInvalidLengthGenerated |
| 8637 | } |
| 8638 | postIndex := iNdEx + intStringLen |
| 8639 | if postIndex > l { |
| 8640 | return io.ErrUnexpectedEOF |
| 8641 | } |
| 8642 | *m = append(*m, string(dAtA[iNdEx:postIndex])) |
| 8643 | iNdEx = postIndex |
| 8644 | default: |
| 8645 | iNdEx = preIndex |
| 8646 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8647 | if err != nil { |
| 8648 | return err |
| 8649 | } |
| 8650 | if skippy < 0 { |
| 8651 | return ErrInvalidLengthGenerated |
| 8652 | } |
| 8653 | if (iNdEx + skippy) > l { |
| 8654 | return io.ErrUnexpectedEOF |
| 8655 | } |
| 8656 | iNdEx += skippy |
| 8657 | } |
| 8658 | } |
| 8659 | |
| 8660 | if iNdEx > l { |
| 8661 | return io.ErrUnexpectedEOF |
| 8662 | } |
| 8663 | return nil |
| 8664 | } |
| 8665 | func (m *WatchEvent) Unmarshal(dAtA []byte) error { |
| 8666 | l := len(dAtA) |
| 8667 | iNdEx := 0 |
| 8668 | for iNdEx < l { |
| 8669 | preIndex := iNdEx |
| 8670 | var wire uint64 |
| 8671 | for shift := uint(0); ; shift += 7 { |
| 8672 | if shift >= 64 { |
| 8673 | return ErrIntOverflowGenerated |
| 8674 | } |
| 8675 | if iNdEx >= l { |
| 8676 | return io.ErrUnexpectedEOF |
| 8677 | } |
| 8678 | b := dAtA[iNdEx] |
| 8679 | iNdEx++ |
| 8680 | wire |= (uint64(b) & 0x7F) << shift |
| 8681 | if b < 0x80 { |
| 8682 | break |
| 8683 | } |
| 8684 | } |
| 8685 | fieldNum := int32(wire >> 3) |
| 8686 | wireType := int(wire & 0x7) |
| 8687 | if wireType == 4 { |
| 8688 | return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group") |
| 8689 | } |
| 8690 | if fieldNum <= 0 { |
| 8691 | return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8692 | } |
| 8693 | switch fieldNum { |
| 8694 | case 1: |
| 8695 | if wireType != 2 { |
| 8696 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 8697 | } |
| 8698 | var stringLen uint64 |
| 8699 | for shift := uint(0); ; shift += 7 { |
| 8700 | if shift >= 64 { |
| 8701 | return ErrIntOverflowGenerated |
| 8702 | } |
| 8703 | if iNdEx >= l { |
| 8704 | return io.ErrUnexpectedEOF |
| 8705 | } |
| 8706 | b := dAtA[iNdEx] |
| 8707 | iNdEx++ |
| 8708 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8709 | if b < 0x80 { |
| 8710 | break |
| 8711 | } |
| 8712 | } |
| 8713 | intStringLen := int(stringLen) |
| 8714 | if intStringLen < 0 { |
| 8715 | return ErrInvalidLengthGenerated |
| 8716 | } |
| 8717 | postIndex := iNdEx + intStringLen |
| 8718 | if postIndex > l { |
| 8719 | return io.ErrUnexpectedEOF |
| 8720 | } |
| 8721 | m.Type = string(dAtA[iNdEx:postIndex]) |
| 8722 | iNdEx = postIndex |
| 8723 | case 2: |
| 8724 | if wireType != 2 { |
| 8725 | return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) |
| 8726 | } |
| 8727 | var msglen int |
| 8728 | for shift := uint(0); ; shift += 7 { |
| 8729 | if shift >= 64 { |
| 8730 | return ErrIntOverflowGenerated |
| 8731 | } |
| 8732 | if iNdEx >= l { |
| 8733 | return io.ErrUnexpectedEOF |
| 8734 | } |
| 8735 | b := dAtA[iNdEx] |
| 8736 | iNdEx++ |
| 8737 | msglen |= (int(b) & 0x7F) << shift |
| 8738 | if b < 0x80 { |
| 8739 | break |
| 8740 | } |
| 8741 | } |
| 8742 | if msglen < 0 { |
| 8743 | return ErrInvalidLengthGenerated |
| 8744 | } |
| 8745 | postIndex := iNdEx + msglen |
| 8746 | if postIndex > l { |
| 8747 | return io.ErrUnexpectedEOF |
| 8748 | } |
| 8749 | if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8750 | return err |
| 8751 | } |
| 8752 | iNdEx = postIndex |
| 8753 | default: |
| 8754 | iNdEx = preIndex |
| 8755 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8756 | if err != nil { |
| 8757 | return err |
| 8758 | } |
| 8759 | if skippy < 0 { |
| 8760 | return ErrInvalidLengthGenerated |
| 8761 | } |
| 8762 | if (iNdEx + skippy) > l { |
| 8763 | return io.ErrUnexpectedEOF |
| 8764 | } |
| 8765 | iNdEx += skippy |
| 8766 | } |
| 8767 | } |
| 8768 | |
| 8769 | if iNdEx > l { |
| 8770 | return io.ErrUnexpectedEOF |
| 8771 | } |
| 8772 | return nil |
| 8773 | } |
| 8774 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 8775 | l := len(dAtA) |
| 8776 | iNdEx := 0 |
| 8777 | for iNdEx < l { |
| 8778 | var wire uint64 |
| 8779 | for shift := uint(0); ; shift += 7 { |
| 8780 | if shift >= 64 { |
| 8781 | return 0, ErrIntOverflowGenerated |
| 8782 | } |
| 8783 | if iNdEx >= l { |
| 8784 | return 0, io.ErrUnexpectedEOF |
| 8785 | } |
| 8786 | b := dAtA[iNdEx] |
| 8787 | iNdEx++ |
| 8788 | wire |= (uint64(b) & 0x7F) << shift |
| 8789 | if b < 0x80 { |
| 8790 | break |
| 8791 | } |
| 8792 | } |
| 8793 | wireType := int(wire & 0x7) |
| 8794 | switch wireType { |
| 8795 | case 0: |
| 8796 | for shift := uint(0); ; shift += 7 { |
| 8797 | if shift >= 64 { |
| 8798 | return 0, ErrIntOverflowGenerated |
| 8799 | } |
| 8800 | if iNdEx >= l { |
| 8801 | return 0, io.ErrUnexpectedEOF |
| 8802 | } |
| 8803 | iNdEx++ |
| 8804 | if dAtA[iNdEx-1] < 0x80 { |
| 8805 | break |
| 8806 | } |
| 8807 | } |
| 8808 | return iNdEx, nil |
| 8809 | case 1: |
| 8810 | iNdEx += 8 |
| 8811 | return iNdEx, nil |
| 8812 | case 2: |
| 8813 | var length int |
| 8814 | for shift := uint(0); ; shift += 7 { |
| 8815 | if shift >= 64 { |
| 8816 | return 0, ErrIntOverflowGenerated |
| 8817 | } |
| 8818 | if iNdEx >= l { |
| 8819 | return 0, io.ErrUnexpectedEOF |
| 8820 | } |
| 8821 | b := dAtA[iNdEx] |
| 8822 | iNdEx++ |
| 8823 | length |= (int(b) & 0x7F) << shift |
| 8824 | if b < 0x80 { |
| 8825 | break |
| 8826 | } |
| 8827 | } |
| 8828 | iNdEx += length |
| 8829 | if length < 0 { |
| 8830 | return 0, ErrInvalidLengthGenerated |
| 8831 | } |
| 8832 | return iNdEx, nil |
| 8833 | case 3: |
| 8834 | for { |
| 8835 | var innerWire uint64 |
| 8836 | var start int = iNdEx |
| 8837 | for shift := uint(0); ; shift += 7 { |
| 8838 | if shift >= 64 { |
| 8839 | return 0, ErrIntOverflowGenerated |
| 8840 | } |
| 8841 | if iNdEx >= l { |
| 8842 | return 0, io.ErrUnexpectedEOF |
| 8843 | } |
| 8844 | b := dAtA[iNdEx] |
| 8845 | iNdEx++ |
| 8846 | innerWire |= (uint64(b) & 0x7F) << shift |
| 8847 | if b < 0x80 { |
| 8848 | break |
| 8849 | } |
| 8850 | } |
| 8851 | innerWireType := int(innerWire & 0x7) |
| 8852 | if innerWireType == 4 { |
| 8853 | break |
| 8854 | } |
| 8855 | next, err := skipGenerated(dAtA[start:]) |
| 8856 | if err != nil { |
| 8857 | return 0, err |
| 8858 | } |
| 8859 | iNdEx = start + next |
| 8860 | } |
| 8861 | return iNdEx, nil |
| 8862 | case 4: |
| 8863 | return iNdEx, nil |
| 8864 | case 5: |
| 8865 | iNdEx += 4 |
| 8866 | return iNdEx, nil |
| 8867 | default: |
| 8868 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 8869 | } |
| 8870 | } |
| 8871 | panic("unreachable") |
| 8872 | } |
| 8873 | |
| 8874 | var ( |
| 8875 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 8876 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 8877 | ) |
| 8878 | |
| 8879 | func init() { |
| 8880 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptorGenerated) |
| 8881 | } |
| 8882 | |
| 8883 | var fileDescriptorGenerated = []byte{ |
Stephane Barbarie | 260a563 | 2019-02-26 16:12:49 -0500 | [diff] [blame] | 8884 | // 2643 bytes of a gzipped FileDescriptorProto |
| 8885 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x39, 0x4d, 0x6c, 0x23, 0x49, |
| 8886 | 0xd5, 0x69, 0x3b, 0x76, 0xec, 0xe7, 0x38, 0x3f, 0xb5, 0xb3, 0xdf, 0xe7, 0xb5, 0x44, 0x9c, 0xed, |
| 8887 | 0x45, 0xab, 0x2c, 0xcc, 0xda, 0x24, 0xc3, 0xae, 0x86, 0x01, 0x16, 0xe2, 0x38, 0x99, 0x0d, 0x3b, |
| 8888 | 0xd9, 0x44, 0x95, 0x99, 0x41, 0x0c, 0x23, 0x44, 0xc7, 0x5d, 0x71, 0x9a, 0xd8, 0xdd, 0xbd, 0x55, |
| 8889 | 0xed, 0xcc, 0x04, 0x0e, 0xec, 0x01, 0x04, 0x48, 0x08, 0xcd, 0x91, 0x13, 0xda, 0x11, 0x5c, 0xb8, |
| 8890 | 0x72, 0xe2, 0xc4, 0x69, 0x25, 0xe6, 0xb8, 0x12, 0x97, 0x3d, 0x20, 0x6b, 0x27, 0x20, 0xc1, 0x8d, |
| 8891 | 0x7b, 0x0e, 0x08, 0xd5, 0x4f, 0x77, 0x57, 0xdb, 0xf1, 0xa4, 0xcd, 0x2c, 0x88, 0x53, 0xdc, 0xef, |
| 8892 | 0xbf, 0xde, 0x7b, 0xf5, 0xde, 0xab, 0x17, 0xd8, 0x39, 0xbe, 0xce, 0xea, 0x8e, 0xd7, 0x38, 0xee, |
| 8893 | 0x1f, 0x10, 0xea, 0x92, 0x80, 0xb0, 0xc6, 0x09, 0x71, 0x6d, 0x8f, 0x36, 0x14, 0xc2, 0xf2, 0x9d, |
| 8894 | 0x9e, 0xd5, 0x3e, 0x72, 0x5c, 0x42, 0x4f, 0x1b, 0xfe, 0x71, 0x87, 0x03, 0x58, 0xa3, 0x47, 0x02, |
| 8895 | 0xab, 0x71, 0xb2, 0xda, 0xe8, 0x10, 0x97, 0x50, 0x2b, 0x20, 0x76, 0xdd, 0xa7, 0x5e, 0xe0, 0xa1, |
| 8896 | 0xcf, 0x4a, 0xae, 0xba, 0xce, 0x55, 0xf7, 0x8f, 0x3b, 0x1c, 0xc0, 0xea, 0x9c, 0xab, 0x7e, 0xb2, |
| 8897 | 0x5a, 0x7d, 0xbd, 0xe3, 0x04, 0x47, 0xfd, 0x83, 0x7a, 0xdb, 0xeb, 0x35, 0x3a, 0x5e, 0xc7, 0x6b, |
| 8898 | 0x08, 0xe6, 0x83, 0xfe, 0xa1, 0xf8, 0x12, 0x1f, 0xe2, 0x97, 0x14, 0x5a, 0x1d, 0x6b, 0x0a, 0xed, |
| 8899 | 0xbb, 0x81, 0xd3, 0x23, 0xc3, 0x56, 0x54, 0xdf, 0xbc, 0x8c, 0x81, 0xb5, 0x8f, 0x48, 0xcf, 0x1a, |
| 8900 | 0xe6, 0x33, 0xff, 0x98, 0x85, 0xc2, 0xfa, 0xde, 0xf6, 0x4d, 0xea, 0xf5, 0x7d, 0xb4, 0x0c, 0xd3, |
| 8901 | 0xae, 0xd5, 0x23, 0x15, 0x63, 0xd9, 0x58, 0x29, 0x36, 0x67, 0x9f, 0x0c, 0x6a, 0x53, 0x67, 0x83, |
| 8902 | 0xda, 0xf4, 0xbb, 0x56, 0x8f, 0x60, 0x81, 0x41, 0x5d, 0x28, 0x9c, 0x10, 0xca, 0x1c, 0xcf, 0x65, |
| 8903 | 0x95, 0xcc, 0x72, 0x76, 0xa5, 0xb4, 0xf6, 0x56, 0x3d, 0xcd, 0xf9, 0xeb, 0x42, 0xc1, 0x5d, 0xc9, |
| 8904 | 0xba, 0xe5, 0xd1, 0x96, 0xc3, 0xda, 0xde, 0x09, 0xa1, 0xa7, 0xcd, 0x05, 0xa5, 0xa5, 0xa0, 0x90, |
| 8905 | 0x0c, 0x47, 0x1a, 0xd0, 0x8f, 0x0c, 0x58, 0xf0, 0x29, 0x39, 0x24, 0x94, 0x12, 0x5b, 0xe1, 0x2b, |
| 8906 | 0xd9, 0x65, 0xe3, 0x53, 0x50, 0x5b, 0x51, 0x6a, 0x17, 0xf6, 0x86, 0xe4, 0xe3, 0x11, 0x8d, 0xe8, |
| 8907 | 0xd7, 0x06, 0x54, 0x19, 0xa1, 0x27, 0x84, 0xae, 0xdb, 0x36, 0x25, 0x8c, 0x35, 0x4f, 0x37, 0xba, |
| 8908 | 0x0e, 0x71, 0x83, 0x8d, 0xed, 0x16, 0x66, 0x95, 0x69, 0xe1, 0x87, 0xaf, 0xa5, 0x33, 0x68, 0x7f, |
| 8909 | 0x9c, 0x9c, 0xa6, 0xa9, 0x2c, 0xaa, 0x8e, 0x25, 0x61, 0xf8, 0x19, 0x66, 0x98, 0x87, 0x30, 0x1b, |
| 8910 | 0x06, 0xf2, 0x96, 0xc3, 0x02, 0x74, 0x17, 0xf2, 0x1d, 0xfe, 0xc1, 0x2a, 0x86, 0x30, 0xb0, 0x9e, |
| 8911 | 0xce, 0xc0, 0x50, 0x46, 0x73, 0x4e, 0xd9, 0x93, 0x17, 0x9f, 0x0c, 0x2b, 0x69, 0xe6, 0xcf, 0xa6, |
| 8912 | 0xa1, 0xb4, 0xbe, 0xb7, 0x8d, 0x09, 0xf3, 0xfa, 0xb4, 0x4d, 0x52, 0x24, 0xcd, 0x1a, 0x00, 0xff, |
| 8913 | 0xcb, 0x7c, 0xab, 0x4d, 0xec, 0x4a, 0x66, 0xd9, 0x58, 0x29, 0x34, 0x91, 0xa2, 0x83, 0x77, 0x23, |
| 8914 | 0x0c, 0xd6, 0xa8, 0xb8, 0xd4, 0x63, 0xc7, 0xb5, 0x45, 0xb4, 0x35, 0xa9, 0xef, 0x38, 0xae, 0x8d, |
| 8915 | 0x05, 0x06, 0xdd, 0x82, 0xdc, 0x09, 0xa1, 0x07, 0xdc, 0xff, 0x3c, 0x21, 0x3e, 0x9f, 0xee, 0x78, |
| 8916 | 0x77, 0x39, 0x4b, 0xb3, 0x78, 0x36, 0xa8, 0xe5, 0xc4, 0x4f, 0x2c, 0x85, 0xa0, 0x3a, 0x00, 0x3b, |
| 8917 | 0xf2, 0x68, 0x20, 0xcc, 0xa9, 0xe4, 0x96, 0xb3, 0x2b, 0xc5, 0xe6, 0x1c, 0xb7, 0x6f, 0x3f, 0x82, |
| 8918 | 0x62, 0x8d, 0x02, 0x5d, 0x87, 0x59, 0xe6, 0xb8, 0x9d, 0x7e, 0xd7, 0xa2, 0x1c, 0x50, 0xc9, 0x0b, |
| 8919 | 0x3b, 0xaf, 0x28, 0x3b, 0x67, 0xf7, 0x35, 0x1c, 0x4e, 0x50, 0x72, 0x4d, 0x6d, 0x2b, 0x20, 0x1d, |
| 8920 | 0x8f, 0x3a, 0x84, 0x55, 0x66, 0x62, 0x4d, 0x1b, 0x11, 0x14, 0x6b, 0x14, 0xe8, 0x15, 0xc8, 0x09, |
| 8921 | 0xcf, 0x57, 0x0a, 0x42, 0x45, 0x59, 0xa9, 0xc8, 0x89, 0xb0, 0x60, 0x89, 0x43, 0xaf, 0xc1, 0x8c, |
| 8922 | 0xba, 0x35, 0x95, 0xa2, 0x20, 0x9b, 0x57, 0x64, 0x33, 0x61, 0x5a, 0x87, 0x78, 0xf4, 0x0d, 0x40, |
| 8923 | 0x2c, 0xf0, 0xa8, 0xd5, 0x21, 0x0a, 0xf5, 0xb6, 0xc5, 0x8e, 0x2a, 0x20, 0xb8, 0xaa, 0x8a, 0x0b, |
| 8924 | 0xed, 0x8f, 0x50, 0xe0, 0x0b, 0xb8, 0xcc, 0xdf, 0x19, 0x30, 0xaf, 0xe5, 0x82, 0xc8, 0xbb, 0xeb, |
| 8925 | 0x30, 0xdb, 0xd1, 0x6e, 0x9d, 0xca, 0x8b, 0xc8, 0x33, 0xfa, 0x8d, 0xc4, 0x09, 0x4a, 0x44, 0xa0, |
| 8926 | 0x48, 0x95, 0xa4, 0xb0, 0xba, 0xac, 0xa6, 0x4e, 0xda, 0xd0, 0x86, 0x58, 0x93, 0x06, 0x64, 0x38, |
| 8927 | 0x96, 0x6c, 0xfe, 0xcd, 0x10, 0x09, 0x1c, 0xd6, 0x1b, 0xb4, 0xa2, 0xd5, 0x34, 0x43, 0x84, 0x63, |
| 8928 | 0x76, 0x4c, 0x3d, 0xba, 0xa4, 0x10, 0x64, 0xfe, 0x27, 0x0a, 0xc1, 0x8d, 0xc2, 0x2f, 0x3f, 0xa8, |
| 8929 | 0x4d, 0xbd, 0xff, 0xe7, 0xe5, 0x29, 0xf3, 0x1a, 0x94, 0x37, 0x28, 0xb1, 0x02, 0xb2, 0xeb, 0x07, |
| 8930 | 0xe2, 0x00, 0x26, 0xe4, 0x6d, 0x7a, 0x8a, 0xfb, 0xae, 0x3a, 0x28, 0xf0, 0xfb, 0xdd, 0x12, 0x10, |
| 8931 | 0xac, 0x30, 0xe6, 0x4f, 0xb2, 0x50, 0x6e, 0x91, 0x2e, 0x89, 0xb9, 0xb6, 0x00, 0x75, 0xa8, 0xd5, |
| 8932 | 0x26, 0x7b, 0x84, 0x3a, 0x9e, 0xbd, 0x4f, 0xda, 0x9e, 0x6b, 0x33, 0x11, 0xd7, 0x6c, 0xf3, 0xff, |
| 8933 | 0x78, 0xb6, 0xdc, 0x1c, 0xc1, 0xe2, 0x0b, 0x38, 0x50, 0x17, 0xca, 0x3e, 0x15, 0xbf, 0x9d, 0x40, |
| 8934 | 0x75, 0x10, 0x7e, 0x73, 0xaf, 0xa5, 0x73, 0xd8, 0x9e, 0xce, 0xda, 0x5c, 0x3c, 0x1b, 0xd4, 0xca, |
| 8935 | 0x09, 0x10, 0x4e, 0x0a, 0x47, 0x5f, 0x87, 0x05, 0x8f, 0xfa, 0x47, 0x96, 0xdb, 0x22, 0x3e, 0x71, |
| 8936 | 0x6d, 0xe2, 0x06, 0x4c, 0x54, 0x93, 0x42, 0xf3, 0x0a, 0xaf, 0xfb, 0xbb, 0x43, 0x38, 0x3c, 0x42, |
| 8937 | 0x8d, 0xee, 0xc1, 0xa2, 0x4f, 0x3d, 0xdf, 0xea, 0x58, 0x5c, 0xe2, 0x9e, 0xd7, 0x75, 0xda, 0xa7, |
| 8938 | 0xa2, 0xda, 0x14, 0x9b, 0x57, 0xcf, 0x06, 0xb5, 0xc5, 0xbd, 0x61, 0xe4, 0xf9, 0xa0, 0xf6, 0x82, |
| 8939 | 0x70, 0x1d, 0x87, 0xc4, 0x48, 0x3c, 0x2a, 0x46, 0x8b, 0x44, 0x6e, 0x6c, 0x24, 0xb6, 0xa1, 0xd0, |
| 8940 | 0xea, 0x53, 0xc1, 0x85, 0xbe, 0x0a, 0x05, 0x5b, 0xfd, 0x56, 0x9e, 0x7f, 0x39, 0x6c, 0x9c, 0x21, |
| 8941 | 0xcd, 0xf9, 0xa0, 0x56, 0xe6, 0xad, 0xbe, 0x1e, 0x02, 0x70, 0xc4, 0x62, 0xde, 0x87, 0xf2, 0xe6, |
| 8942 | 0x43, 0xdf, 0xa3, 0x41, 0x18, 0xd3, 0x57, 0x21, 0x4f, 0x04, 0x40, 0x48, 0x2b, 0xc4, 0xd5, 0x5e, |
| 8943 | 0x92, 0x61, 0x85, 0xe5, 0xd5, 0x87, 0x3c, 0xb4, 0xda, 0x81, 0x2a, 0xdb, 0x51, 0xf5, 0xd9, 0xe4, |
| 8944 | 0x40, 0x2c, 0x71, 0xe6, 0x87, 0x06, 0xe4, 0xb7, 0x1c, 0xd2, 0xb5, 0x19, 0xba, 0x0d, 0xd9, 0x9e, |
| 8945 | 0xe5, 0xab, 0x96, 0xf3, 0x46, 0xba, 0xc8, 0x4a, 0xd6, 0xfa, 0x8e, 0xe5, 0x6f, 0xba, 0x01, 0x3d, |
| 8946 | 0x6d, 0x96, 0x94, 0x92, 0xec, 0x8e, 0xe5, 0x63, 0x2e, 0xae, 0x6a, 0x43, 0x21, 0xc4, 0xa2, 0x05, |
| 8947 | 0xc8, 0x1e, 0x93, 0x53, 0x59, 0x56, 0x30, 0xff, 0x89, 0x9a, 0x90, 0x3b, 0xb1, 0xba, 0x7d, 0xa2, |
| 8948 | 0xf2, 0xe9, 0xea, 0x24, 0x5a, 0xb1, 0x64, 0xbd, 0x91, 0xb9, 0x6e, 0x98, 0xbb, 0x00, 0x37, 0x49, |
| 8949 | 0xe4, 0xa1, 0x75, 0x98, 0x0f, 0x6b, 0x46, 0xb2, 0x94, 0xfd, 0xbf, 0x32, 0x6f, 0x1e, 0x27, 0xd1, |
| 8950 | 0x78, 0x98, 0xde, 0xbc, 0x0f, 0x45, 0x51, 0xee, 0x78, 0xd7, 0x8a, 0xeb, 0xb8, 0xf1, 0x8c, 0x3a, |
| 8951 | 0x1e, 0xb6, 0xbd, 0xcc, 0xb8, 0xb6, 0xa7, 0xdd, 0xee, 0x2e, 0x94, 0x25, 0x6f, 0xd8, 0x89, 0x53, |
| 8952 | 0x69, 0xb8, 0x0a, 0x85, 0xd0, 0x4c, 0xa5, 0x25, 0x9a, 0xc0, 0x42, 0x41, 0x38, 0xa2, 0xd0, 0xb4, |
| 8953 | 0x1d, 0x41, 0xa2, 0x74, 0xa7, 0x53, 0xa6, 0xb5, 0xa5, 0xcc, 0xb3, 0xdb, 0x92, 0xa6, 0xe9, 0x87, |
| 8954 | 0x50, 0x19, 0x37, 0xb6, 0x3d, 0x47, 0x73, 0x49, 0x6f, 0x8a, 0xf9, 0x0b, 0x03, 0x16, 0x74, 0x49, |
| 8955 | 0xe9, 0xc3, 0x97, 0x5e, 0xc9, 0xe5, 0x03, 0x8e, 0xe6, 0x91, 0x5f, 0x19, 0x70, 0x25, 0x71, 0xb4, |
| 8956 | 0x89, 0x22, 0x3e, 0x81, 0x51, 0x7a, 0x72, 0x64, 0x27, 0x48, 0x8e, 0x06, 0x94, 0xb6, 0x5d, 0x27, |
| 8957 | 0x70, 0xac, 0xae, 0xf3, 0x7d, 0x42, 0x2f, 0x1f, 0x09, 0xcd, 0x3f, 0x18, 0x30, 0xab, 0x71, 0x30, |
| 8958 | 0x74, 0x1f, 0x66, 0x78, 0xdd, 0x75, 0xdc, 0x8e, 0xaa, 0x1d, 0x29, 0x3b, 0xbf, 0x26, 0x24, 0x3e, |
| 8959 | 0xd7, 0x9e, 0x94, 0x84, 0x43, 0x91, 0x68, 0x0f, 0xf2, 0x94, 0xb0, 0x7e, 0x37, 0x98, 0xac, 0x44, |
| 8960 | 0xec, 0x07, 0x56, 0xd0, 0x67, 0xb2, 0x36, 0x63, 0xc1, 0x8f, 0x95, 0x1c, 0xf3, 0x4f, 0x19, 0x28, |
| 8961 | 0xdf, 0xb2, 0x0e, 0x48, 0x77, 0x9f, 0x74, 0x49, 0x3b, 0xf0, 0x28, 0xfa, 0x01, 0x94, 0x7a, 0x56, |
| 8962 | 0xd0, 0x3e, 0x12, 0xd0, 0x70, 0xe8, 0x6e, 0xa5, 0x53, 0x94, 0x90, 0x54, 0xdf, 0x89, 0xc5, 0xc8, |
| 8963 | 0x82, 0xf8, 0x82, 0x3a, 0x58, 0x49, 0xc3, 0x60, 0x5d, 0x9b, 0x78, 0x29, 0x89, 0xef, 0xcd, 0x87, |
| 8964 | 0x3e, 0x9f, 0x08, 0x26, 0x7f, 0xa0, 0x25, 0x4c, 0xc0, 0xe4, 0xbd, 0xbe, 0x43, 0x49, 0x8f, 0xb8, |
| 8965 | 0x41, 0xfc, 0x52, 0xda, 0x19, 0x92, 0x8f, 0x47, 0x34, 0x56, 0xdf, 0x82, 0x85, 0x61, 0xe3, 0x2f, |
| 8966 | 0xa8, 0xd7, 0x57, 0xf4, 0x7a, 0x5d, 0xd4, 0x2b, 0xf0, 0x6f, 0x0c, 0xa8, 0x8c, 0x33, 0x04, 0x7d, |
| 8967 | 0x46, 0x13, 0x14, 0xf7, 0x88, 0x77, 0xc8, 0xa9, 0x94, 0xba, 0x09, 0x05, 0xcf, 0xe7, 0x6f, 0x5b, |
| 8968 | 0x8f, 0xaa, 0x3c, 0x7f, 0x2d, 0xcc, 0xdd, 0x5d, 0x05, 0x3f, 0x1f, 0xd4, 0x5e, 0x4c, 0x88, 0x0f, |
| 8969 | 0x11, 0x38, 0x62, 0xe5, 0x8d, 0x59, 0xd8, 0xc3, 0x87, 0x85, 0xa8, 0x31, 0xdf, 0x15, 0x10, 0xac, |
| 8970 | 0x30, 0xe6, 0xef, 0x0d, 0x98, 0x16, 0xb3, 0xee, 0x7d, 0x28, 0x70, 0xff, 0xd9, 0x56, 0x60, 0x09, |
| 8971 | 0xbb, 0x52, 0xbf, 0xb2, 0x38, 0xf7, 0x0e, 0x09, 0xac, 0xf8, 0x7e, 0x85, 0x10, 0x1c, 0x49, 0x44, |
| 8972 | 0x18, 0x72, 0x4e, 0x40, 0x7a, 0x61, 0x20, 0x5f, 0x1f, 0x2b, 0x5a, 0xbd, 0xf1, 0xeb, 0xd8, 0x7a, |
| 8973 | 0xb0, 0xf9, 0x30, 0x20, 0x2e, 0x0f, 0x46, 0x5c, 0x0c, 0xb6, 0xb9, 0x0c, 0x2c, 0x45, 0x99, 0xbf, |
| 8974 | 0x35, 0x20, 0x52, 0xc5, 0xaf, 0x3b, 0x23, 0xdd, 0xc3, 0x5b, 0x8e, 0x7b, 0xac, 0xdc, 0x1a, 0x99, |
| 8975 | 0xb3, 0xaf, 0xe0, 0x38, 0xa2, 0xb8, 0xa8, 0x21, 0x66, 0x26, 0x6b, 0x88, 0x5c, 0x61, 0xdb, 0x73, |
| 8976 | 0x03, 0xc7, 0xed, 0x8f, 0xd4, 0x97, 0x0d, 0x05, 0xc7, 0x11, 0x85, 0xf9, 0xcf, 0x0c, 0x94, 0xb8, |
| 8977 | 0xad, 0x61, 0x47, 0xfe, 0x32, 0x94, 0xbb, 0x7a, 0xf4, 0x94, 0xcd, 0x2f, 0x2a, 0x11, 0xc9, 0xfb, |
| 8978 | 0x88, 0x93, 0xb4, 0x9c, 0xf9, 0x90, 0x77, 0xfc, 0x88, 0x39, 0x93, 0x64, 0xde, 0xd2, 0x91, 0x38, |
| 8979 | 0x49, 0xcb, 0xeb, 0xec, 0x03, 0x9e, 0xd7, 0x6a, 0x80, 0x8c, 0x5c, 0xfb, 0x4d, 0x0e, 0xc4, 0x12, |
| 8980 | 0x77, 0x91, 0x7f, 0xa6, 0x27, 0xf4, 0xcf, 0x0d, 0x98, 0xe3, 0x81, 0xf4, 0xfa, 0x41, 0x38, 0x65, |
| 8981 | 0xe7, 0xc4, 0xac, 0x87, 0xce, 0x06, 0xb5, 0xb9, 0xdb, 0x09, 0x0c, 0x1e, 0xa2, 0xe4, 0x36, 0x76, |
| 8982 | 0x9d, 0x9e, 0x13, 0x54, 0x66, 0x04, 0x4b, 0x64, 0xe3, 0x2d, 0x0e, 0xc4, 0x12, 0x97, 0x08, 0x40, |
| 8983 | 0xe1, 0xd2, 0x00, 0xfc, 0x3d, 0x03, 0x68, 0xc7, 0x72, 0xad, 0x0e, 0xb1, 0xe5, 0xb4, 0x24, 0x6f, |
| 8984 | 0xf4, 0x6b, 0x30, 0xd3, 0x13, 0xd0, 0x30, 0x02, 0x51, 0xe1, 0x95, 0xc4, 0x14, 0x87, 0x78, 0xb4, |
| 8985 | 0x03, 0x45, 0x79, 0xb3, 0xe2, 0x6c, 0x69, 0x28, 0xe2, 0xe2, 0x6e, 0x88, 0x38, 0x1f, 0xd4, 0xaa, |
| 8986 | 0x09, 0x35, 0x11, 0xe6, 0xf6, 0xa9, 0x4f, 0x70, 0x2c, 0x01, 0xad, 0x01, 0x58, 0xbe, 0xa3, 0x6f, |
| 8987 | 0x82, 0x8a, 0xf1, 0x26, 0x21, 0x7e, 0xd3, 0x61, 0x8d, 0x0a, 0xbd, 0x0d, 0xd3, 0xdc, 0x53, 0x6a, |
| 8988 | 0x4d, 0xf0, 0xb9, 0x74, 0xf7, 0x93, 0xfb, 0xba, 0x59, 0xe0, 0x4d, 0x8b, 0xff, 0xc2, 0x42, 0x02, |
| 8989 | 0xba, 0x07, 0x79, 0x91, 0x16, 0x32, 0x2a, 0x13, 0x0e, 0x9a, 0xe2, 0xd5, 0xa1, 0xa6, 0xe4, 0xf3, |
| 8990 | 0xe8, 0x17, 0x56, 0x12, 0xcd, 0xf7, 0xa0, 0xb8, 0xe3, 0xb4, 0xa9, 0xc7, 0xd5, 0x71, 0x07, 0xb3, |
| 8991 | 0xc4, 0x2b, 0x2b, 0x72, 0x70, 0x18, 0xfc, 0x10, 0xcf, 0xa3, 0xee, 0x5a, 0xae, 0x27, 0xdf, 0x52, |
| 8992 | 0xb9, 0x38, 0xea, 0xef, 0x72, 0x20, 0x96, 0xb8, 0x1b, 0x57, 0x78, 0xa3, 0xfe, 0xe9, 0xe3, 0xda, |
| 8993 | 0xd4, 0xa3, 0xc7, 0xb5, 0xa9, 0x0f, 0x1e, 0xab, 0xa6, 0xfd, 0xd7, 0x12, 0xc0, 0xee, 0xc1, 0xf7, |
| 8994 | 0x48, 0x5b, 0x16, 0x83, 0xcb, 0xf7, 0x38, 0x7c, 0xf8, 0x52, 0xeb, 0x43, 0xb1, 0xf3, 0xc8, 0x0c, |
| 8995 | 0x0d, 0x5f, 0x1a, 0x0e, 0x27, 0x28, 0x51, 0x03, 0x8a, 0xd1, 0x6e, 0x47, 0x85, 0x6d, 0x31, 0x4c, |
| 8996 | 0x83, 0x68, 0x01, 0x84, 0x63, 0x9a, 0x44, 0x65, 0x9a, 0xbe, 0xb4, 0x32, 0x35, 0x21, 0xdb, 0x77, |
| 8997 | 0x6c, 0x11, 0x95, 0x62, 0xf3, 0x0b, 0x61, 0x67, 0xb8, 0xb3, 0xdd, 0x3a, 0x1f, 0xd4, 0x5e, 0x1e, |
| 8998 | 0xb7, 0x18, 0x0d, 0x4e, 0x7d, 0xc2, 0xea, 0x77, 0xb6, 0x5b, 0x98, 0x33, 0x5f, 0x74, 0x7b, 0xf3, |
| 8999 | 0x13, 0xde, 0xde, 0x35, 0x00, 0x75, 0x6a, 0xce, 0x2d, 0xaf, 0x61, 0x94, 0x9d, 0x37, 0x23, 0x0c, |
| 9000 | 0xd6, 0xa8, 0x10, 0x83, 0xc5, 0x36, 0x7f, 0xa2, 0xf3, 0x64, 0x77, 0x7a, 0x84, 0x05, 0x56, 0x4f, |
| 9001 | 0x6e, 0x7a, 0x26, 0x4b, 0xd5, 0x97, 0x94, 0x9a, 0xc5, 0x8d, 0x61, 0x61, 0x78, 0x54, 0x3e, 0xf2, |
| 9002 | 0x60, 0xd1, 0x56, 0xcf, 0xd4, 0x58, 0x69, 0x71, 0x62, 0xa5, 0x2f, 0x72, 0x85, 0xad, 0x61, 0x41, |
| 9003 | 0x78, 0x54, 0x36, 0xfa, 0x0e, 0x54, 0x43, 0xe0, 0xe8, 0xae, 0x40, 0xec, 0x9e, 0xb2, 0xcd, 0xa5, |
| 9004 | 0xb3, 0x41, 0xad, 0xda, 0x1a, 0x4b, 0x85, 0x9f, 0x21, 0x01, 0xd9, 0x90, 0xef, 0xca, 0xb1, 0xab, |
| 9005 | 0x24, 0x5a, 0xe5, 0x57, 0xd2, 0x9d, 0x22, 0xce, 0xfe, 0xba, 0x3e, 0x6e, 0x45, 0x6f, 0x61, 0x35, |
| 9006 | 0x69, 0x29, 0xd9, 0xe8, 0x21, 0x94, 0x2c, 0xd7, 0xf5, 0x02, 0x4b, 0x6e, 0x2f, 0x66, 0x85, 0xaa, |
| 9007 | 0xf5, 0x89, 0x55, 0xad, 0xc7, 0x32, 0x86, 0xc6, 0x3b, 0x0d, 0x83, 0x75, 0x55, 0xe8, 0x01, 0xcc, |
| 9008 | 0x7b, 0x0f, 0x5c, 0x42, 0x31, 0x39, 0x24, 0x94, 0xb8, 0x6d, 0xc2, 0x2a, 0x65, 0xa1, 0xfd, 0x8b, |
| 9009 | 0x29, 0xb5, 0x27, 0x98, 0xe3, 0x94, 0x4e, 0xc2, 0x19, 0x1e, 0xd6, 0x82, 0xea, 0x00, 0x87, 0x8e, |
| 9010 | 0xab, 0x86, 0xf4, 0xca, 0x5c, 0xbc, 0xac, 0xdc, 0x8a, 0xa0, 0x58, 0xa3, 0x40, 0x6f, 0x40, 0xa9, |
| 9011 | 0xdd, 0xed, 0xb3, 0x80, 0xc8, 0xad, 0xe8, 0xbc, 0xb8, 0x41, 0xd1, 0xf9, 0x36, 0x62, 0x14, 0xd6, |
| 9012 | 0xe9, 0xd0, 0x11, 0xcc, 0x3a, 0xda, 0x6b, 0xa0, 0xb2, 0x20, 0x72, 0x71, 0x6d, 0xe2, 0x27, 0x00, |
| 9013 | 0x6b, 0x2e, 0xf0, 0x4a, 0xa4, 0x43, 0x70, 0x42, 0x32, 0xea, 0x43, 0xb9, 0xa7, 0xb7, 0x9a, 0xca, |
| 9014 | 0xa2, 0xf0, 0xe3, 0xf5, 0x74, 0xaa, 0x46, 0x9b, 0x61, 0x3c, 0x40, 0x24, 0x70, 0x38, 0xa9, 0xa5, |
| 9015 | 0xfa, 0x25, 0x28, 0xfd, 0x9b, 0x33, 0x31, 0x9f, 0xa9, 0x87, 0x33, 0x66, 0xa2, 0x99, 0xfa, 0xc3, |
| 9016 | 0x0c, 0xcc, 0x25, 0xe3, 0x1c, 0xbd, 0x3d, 0x8d, 0xb1, 0xcb, 0xf5, 0xb0, 0x19, 0x64, 0xc7, 0x36, |
| 9017 | 0x03, 0x55, 0x73, 0xa7, 0x9f, 0xa7, 0xe6, 0x26, 0xdb, 0x79, 0x2e, 0x55, 0x3b, 0xaf, 0x03, 0xf0, |
| 9018 | 0xf9, 0x84, 0x7a, 0xdd, 0x2e, 0xa1, 0xa2, 0x44, 0x17, 0xd4, 0xfa, 0x3c, 0x82, 0x62, 0x8d, 0x02, |
| 9019 | 0x6d, 0x01, 0x3a, 0xe8, 0x7a, 0xed, 0x63, 0xe1, 0x82, 0xb0, 0xbc, 0x88, 0xe2, 0x5c, 0x90, 0xcb, |
| 9020 | 0xcb, 0xe6, 0x08, 0x16, 0x5f, 0xc0, 0x61, 0xce, 0x40, 0x6e, 0x8f, 0x8f, 0x79, 0xe6, 0x3e, 0xcc, |
| 9021 | 0x8a, 0x1f, 0x13, 0xec, 0x54, 0x51, 0x0d, 0x72, 0x87, 0x5e, 0xb8, 0x71, 0x29, 0xc8, 0x7f, 0x3f, |
| 9022 | 0x6c, 0x71, 0x00, 0x96, 0x70, 0x73, 0x17, 0x92, 0xcb, 0x4c, 0xf4, 0x96, 0x74, 0xaf, 0x11, 0x6d, |
| 9023 | 0x1b, 0x27, 0x73, 0xad, 0x79, 0x15, 0x8a, 0xd8, 0xf3, 0x82, 0x3d, 0x2b, 0x38, 0x62, 0x5c, 0xbd, |
| 9024 | 0xcf, 0x7f, 0x28, 0x0b, 0x85, 0x7a, 0x81, 0xc1, 0x12, 0x6e, 0xfe, 0xdc, 0x80, 0x97, 0xc6, 0x6e, |
| 9025 | 0x9b, 0x79, 0x98, 0xda, 0xd1, 0x97, 0x32, 0x29, 0x0a, 0x53, 0x4c, 0x87, 0x35, 0x2a, 0x3e, 0x6e, |
| 9026 | 0x27, 0x56, 0xd4, 0xc3, 0xe3, 0x76, 0x42, 0x1b, 0x4e, 0xd2, 0x9a, 0xff, 0xc8, 0x40, 0x5e, 0xbe, |
| 9027 | 0xbd, 0xff, 0xc3, 0x2f, 0xac, 0x57, 0x21, 0xcf, 0x84, 0x1e, 0x65, 0x5e, 0x54, 0xf9, 0xa5, 0x76, |
| 9028 | 0xac, 0xb0, 0x62, 0xe2, 0x25, 0x8c, 0x59, 0x9d, 0xf0, 0x46, 0xc4, 0x13, 0xaf, 0x04, 0xe3, 0x10, |
| 9029 | 0x8f, 0xde, 0x84, 0x3c, 0x25, 0x16, 0x8b, 0x86, 0xff, 0xa5, 0x50, 0x24, 0x16, 0xd0, 0xf3, 0x41, |
| 9030 | 0x6d, 0x56, 0x09, 0x17, 0xdf, 0x58, 0x51, 0xa3, 0x7b, 0x30, 0x63, 0x93, 0xc0, 0x72, 0xba, 0xe1, |
| 9031 | 0x74, 0x79, 0x6d, 0x92, 0x1d, 0x45, 0x4b, 0xb2, 0x36, 0x4b, 0xdc, 0x26, 0xf5, 0x81, 0x43, 0x81, |
| 9032 | 0xfc, 0x36, 0xb7, 0x3d, 0x5b, 0xfe, 0x93, 0x2a, 0x17, 0xdf, 0xe6, 0x0d, 0xcf, 0x26, 0x58, 0x60, |
| 9033 | 0xcc, 0x47, 0x06, 0x94, 0xa4, 0xa4, 0x0d, 0xab, 0xcf, 0x08, 0x5a, 0x8d, 0x4e, 0x21, 0xc3, 0x1d, |
| 9034 | 0xce, 0x17, 0xd3, 0x7c, 0x22, 0x3f, 0x1f, 0xd4, 0x8a, 0x82, 0x4c, 0x8c, 0xe7, 0xe1, 0x01, 0x34, |
| 9035 | 0x1f, 0x65, 0x2e, 0xf1, 0xd1, 0x2b, 0x90, 0x13, 0x63, 0xaf, 0x72, 0x66, 0x34, 0xb4, 0x8a, 0x62, |
| 9036 | 0x89, 0x25, 0xce, 0xfc, 0x24, 0x03, 0xe5, 0xc4, 0xe1, 0x52, 0x4c, 0xa8, 0xd1, 0x3e, 0x2c, 0x93, |
| 9037 | 0x62, 0xc7, 0x3a, 0xfe, 0x5f, 0x8b, 0xdf, 0x82, 0x7c, 0x9b, 0x9f, 0x2f, 0xfc, 0xdf, 0xee, 0xea, |
| 9038 | 0x24, 0xa1, 0x10, 0x9e, 0x89, 0x33, 0x49, 0x7c, 0x32, 0xac, 0x04, 0xa2, 0x9b, 0xb0, 0x48, 0x49, |
| 9039 | 0x40, 0x4f, 0xd7, 0x0f, 0x03, 0x42, 0xf5, 0x47, 0x5e, 0x2e, 0x9e, 0xe1, 0xf0, 0x30, 0x01, 0x1e, |
| 9040 | 0xe5, 0x09, 0xeb, 0x6f, 0xfe, 0x39, 0xea, 0xaf, 0xd9, 0x85, 0xe9, 0xff, 0xe2, 0x7b, 0xe3, 0xdb, |
| 9041 | 0x50, 0x8c, 0x27, 0xc2, 0x4f, 0x59, 0xa5, 0xf9, 0x5d, 0x28, 0xf0, 0x6c, 0x0c, 0x5f, 0x32, 0x97, |
| 9042 | 0xb4, 0xb7, 0x64, 0xe3, 0xc9, 0xa4, 0x69, 0x3c, 0xe6, 0x35, 0x28, 0xdf, 0xf1, 0xed, 0x09, 0xff, |
| 9043 | 0x99, 0xb6, 0x06, 0xf2, 0xdf, 0xcc, 0xbc, 0x04, 0xcb, 0x5d, 0x8e, 0x56, 0x82, 0xf5, 0xc5, 0x8c, |
| 9044 | 0xb6, 0x4c, 0xfd, 0xb1, 0x01, 0x20, 0x16, 0x0b, 0x9b, 0x27, 0xc4, 0x0d, 0xf8, 0x69, 0x78, 0xd8, |
| 9045 | 0x86, 0x4f, 0x23, 0xee, 0x9e, 0xc0, 0xa0, 0x3b, 0x90, 0xf7, 0xc4, 0x78, 0xa9, 0xb6, 0x9b, 0x13, |
| 9046 | 0x2e, 0x8a, 0xa2, 0x54, 0x95, 0x33, 0x2a, 0x56, 0xc2, 0x9a, 0x2b, 0x4f, 0x9e, 0x2e, 0x4d, 0x7d, |
| 9047 | 0xf4, 0x74, 0x69, 0xea, 0xe3, 0xa7, 0x4b, 0x53, 0xef, 0x9f, 0x2d, 0x19, 0x4f, 0xce, 0x96, 0x8c, |
| 9048 | 0x8f, 0xce, 0x96, 0x8c, 0x8f, 0xcf, 0x96, 0x8c, 0x4f, 0xce, 0x96, 0x8c, 0x47, 0x7f, 0x59, 0x9a, |
| 9049 | 0xba, 0x97, 0x39, 0x59, 0xfd, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xb1, 0xa3, 0x81, 0x52, |
| 9050 | 0x23, 0x00, 0x00, |
sslobodr | 60a6d0f | 2019-01-18 14:51:05 -0500 | [diff] [blame] | 9051 | } |