| 1 |
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 2 |
// source: github.com/openshift/api/image/v1/generated.proto |
| 3 |
|
| 4 |
/* |
| 5 |
Package v1 is a generated protocol buffer package. |
| 6 |
|
| 7 |
It is generated from these files: |
| 8 |
github.com/openshift/api/image/v1/generated.proto |
| 9 |
|
| 10 |
It has these top-level messages: |
| 11 |
DockerImageReference |
| 12 |
Image |
| 13 |
ImageBlobReferences |
| 14 |
ImageImportSpec |
| 15 |
ImageImportStatus |
| 16 |
ImageLayer |
| 17 |
ImageLayerData |
| 18 |
ImageList |
| 19 |
ImageLookupPolicy |
| 20 |
ImageSignature |
| 21 |
ImageStream |
| 22 |
ImageStreamImage |
| 23 |
ImageStreamImport |
| 24 |
ImageStreamImportSpec |
| 25 |
ImageStreamImportStatus |
| 26 |
ImageStreamLayers |
| 27 |
ImageStreamList |
| 28 |
ImageStreamMapping |
| 29 |
ImageStreamSpec |
| 30 |
ImageStreamStatus |
| 31 |
ImageStreamTag |
| 32 |
ImageStreamTagList |
| 33 |
NamedTagEventList |
| 34 |
RepositoryImportSpec |
| 35 |
RepositoryImportStatus |
| 36 |
SignatureCondition |
| 37 |
SignatureGenericEntity |
| 38 |
SignatureIssuer |
| 39 |
SignatureSubject |
| 40 |
TagEvent |
| 41 |
TagEventCondition |
| 42 |
TagImportPolicy |
| 43 |
TagReference |
| 44 |
TagReferencePolicy |
| 45 |
*/ |
| 46 |
package v1 |
| 47 |
|
| 48 |
import proto "github.com/gogo/protobuf/proto" |
| 49 |
import fmt "fmt" |
| 50 |
import math "math" |
| 51 |
|
| 52 |
import k8s_io_api_core_v1 "k8s.io/api/core/v1" |
| 53 |
import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 54 |
|
| 55 |
import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" |
| 56 |
|
| 57 |
import strings "strings" |
| 58 |
import reflect "reflect" |
| 59 |
|
| 60 |
import io "io" |
| 61 |
|
| 62 |
// Reference imports to suppress errors if they are not otherwise used. |
| 63 |
var _ = proto.Marshal |
| 64 |
var _ = fmt.Errorf |
| 65 |
var _ = math.Inf |
| 66 |
|
| 67 |
// This is a compile-time assertion to ensure that this generated file |
| 68 |
// is compatible with the proto package it is being compiled against. |
| 69 |
// A compilation error at this line likely means your copy of the |
| 70 |
// proto package needs to be updated. |
| 71 |
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 72 |
|
| 73 |
func (m *DockerImageReference) Reset() { *m = DockerImageReference{} } |
| 74 |
func (*DockerImageReference) ProtoMessage() {} |
| 75 |
func (*DockerImageReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 76 |
|
| 77 |
func (m *Image) Reset() { *m = Image{} } |
| 78 |
func (*Image) ProtoMessage() {} |
| 79 |
func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 80 |
|
| 81 |
func (m *ImageBlobReferences) Reset() { *m = ImageBlobReferences{} } |
| 82 |
func (*ImageBlobReferences) ProtoMessage() {} |
| 83 |
func (*ImageBlobReferences) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } |
| 84 |
|
| 85 |
func (m *ImageImportSpec) Reset() { *m = ImageImportSpec{} } |
| 86 |
func (*ImageImportSpec) ProtoMessage() {} |
| 87 |
func (*ImageImportSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } |
| 88 |
|
| 89 |
func (m *ImageImportStatus) Reset() { *m = ImageImportStatus{} } |
| 90 |
func (*ImageImportStatus) ProtoMessage() {} |
| 91 |
func (*ImageImportStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 92 |
|
| 93 |
func (m *ImageLayer) Reset() { *m = ImageLayer{} } |
| 94 |
func (*ImageLayer) ProtoMessage() {} |
| 95 |
func (*ImageLayer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 96 |
|
| 97 |
func (m *ImageLayerData) Reset() { *m = ImageLayerData{} } |
| 98 |
func (*ImageLayerData) ProtoMessage() {} |
| 99 |
func (*ImageLayerData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 100 |
|
| 101 |
func (m *ImageList) Reset() { *m = ImageList{} } |
| 102 |
func (*ImageList) ProtoMessage() {} |
| 103 |
func (*ImageList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 104 |
|
| 105 |
func (m *ImageLookupPolicy) Reset() { *m = ImageLookupPolicy{} } |
| 106 |
func (*ImageLookupPolicy) ProtoMessage() {} |
| 107 |
func (*ImageLookupPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 108 |
|
| 109 |
func (m *ImageSignature) Reset() { *m = ImageSignature{} } |
| 110 |
func (*ImageSignature) ProtoMessage() {} |
| 111 |
func (*ImageSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 112 |
|
| 113 |
func (m *ImageStream) Reset() { *m = ImageStream{} } |
| 114 |
func (*ImageStream) ProtoMessage() {} |
| 115 |
func (*ImageStream) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
| 116 |
|
| 117 |
func (m *ImageStreamImage) Reset() { *m = ImageStreamImage{} } |
| 118 |
func (*ImageStreamImage) ProtoMessage() {} |
| 119 |
func (*ImageStreamImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } |
| 120 |
|
| 121 |
func (m *ImageStreamImport) Reset() { *m = ImageStreamImport{} } |
| 122 |
func (*ImageStreamImport) ProtoMessage() {} |
| 123 |
func (*ImageStreamImport) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } |
| 124 |
|
| 125 |
func (m *ImageStreamImportSpec) Reset() { *m = ImageStreamImportSpec{} } |
| 126 |
func (*ImageStreamImportSpec) ProtoMessage() {} |
| 127 |
func (*ImageStreamImportSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } |
| 128 |
|
| 129 |
func (m *ImageStreamImportStatus) Reset() { *m = ImageStreamImportStatus{} } |
| 130 |
func (*ImageStreamImportStatus) ProtoMessage() {} |
| 131 |
func (*ImageStreamImportStatus) Descriptor() ([]byte, []int) { |
| 132 |
return fileDescriptorGenerated, []int{14} |
| 133 |
} |
| 134 |
|
| 135 |
func (m *ImageStreamLayers) Reset() { *m = ImageStreamLayers{} } |
| 136 |
func (*ImageStreamLayers) ProtoMessage() {} |
| 137 |
func (*ImageStreamLayers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } |
| 138 |
|
| 139 |
func (m *ImageStreamList) Reset() { *m = ImageStreamList{} } |
| 140 |
func (*ImageStreamList) ProtoMessage() {} |
| 141 |
func (*ImageStreamList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } |
| 142 |
|
| 143 |
func (m *ImageStreamMapping) Reset() { *m = ImageStreamMapping{} } |
| 144 |
func (*ImageStreamMapping) ProtoMessage() {} |
| 145 |
func (*ImageStreamMapping) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } |
| 146 |
|
| 147 |
func (m *ImageStreamSpec) Reset() { *m = ImageStreamSpec{} } |
| 148 |
func (*ImageStreamSpec) ProtoMessage() {} |
| 149 |
func (*ImageStreamSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } |
| 150 |
|
| 151 |
func (m *ImageStreamStatus) Reset() { *m = ImageStreamStatus{} } |
| 152 |
func (*ImageStreamStatus) ProtoMessage() {} |
| 153 |
func (*ImageStreamStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } |
| 154 |
|
| 155 |
func (m *ImageStreamTag) Reset() { *m = ImageStreamTag{} } |
| 156 |
func (*ImageStreamTag) ProtoMessage() {} |
| 157 |
func (*ImageStreamTag) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } |
| 158 |
|
| 159 |
func (m *ImageStreamTagList) Reset() { *m = ImageStreamTagList{} } |
| 160 |
func (*ImageStreamTagList) ProtoMessage() {} |
| 161 |
func (*ImageStreamTagList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } |
| 162 |
|
| 163 |
func (m *NamedTagEventList) Reset() { *m = NamedTagEventList{} } |
| 164 |
func (*NamedTagEventList) ProtoMessage() {} |
| 165 |
func (*NamedTagEventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } |
| 166 |
|
| 167 |
func (m *RepositoryImportSpec) Reset() { *m = RepositoryImportSpec{} } |
| 168 |
func (*RepositoryImportSpec) ProtoMessage() {} |
| 169 |
func (*RepositoryImportSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } |
| 170 |
|
| 171 |
func (m *RepositoryImportStatus) Reset() { *m = RepositoryImportStatus{} } |
| 172 |
func (*RepositoryImportStatus) ProtoMessage() {} |
| 173 |
func (*RepositoryImportStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } |
| 174 |
|
| 175 |
func (m *SignatureCondition) Reset() { *m = SignatureCondition{} } |
| 176 |
func (*SignatureCondition) ProtoMessage() {} |
| 177 |
func (*SignatureCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } |
| 178 |
|
| 179 |
func (m *SignatureGenericEntity) Reset() { *m = SignatureGenericEntity{} } |
| 180 |
func (*SignatureGenericEntity) ProtoMessage() {} |
| 181 |
func (*SignatureGenericEntity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } |
| 182 |
|
| 183 |
func (m *SignatureIssuer) Reset() { *m = SignatureIssuer{} } |
| 184 |
func (*SignatureIssuer) ProtoMessage() {} |
| 185 |
func (*SignatureIssuer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } |
| 186 |
|
| 187 |
func (m *SignatureSubject) Reset() { *m = SignatureSubject{} } |
| 188 |
func (*SignatureSubject) ProtoMessage() {} |
| 189 |
func (*SignatureSubject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } |
| 190 |
|
| 191 |
func (m *TagEvent) Reset() { *m = TagEvent{} } |
| 192 |
func (*TagEvent) ProtoMessage() {} |
| 193 |
func (*TagEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } |
| 194 |
|
| 195 |
func (m *TagEventCondition) Reset() { *m = TagEventCondition{} } |
| 196 |
func (*TagEventCondition) ProtoMessage() {} |
| 197 |
func (*TagEventCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } |
| 198 |
|
| 199 |
func (m *TagImportPolicy) Reset() { *m = TagImportPolicy{} } |
| 200 |
func (*TagImportPolicy) ProtoMessage() {} |
| 201 |
func (*TagImportPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } |
| 202 |
|
| 203 |
func (m *TagReference) Reset() { *m = TagReference{} } |
| 204 |
func (*TagReference) ProtoMessage() {} |
| 205 |
func (*TagReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } |
| 206 |
|
| 207 |
func (m *TagReferencePolicy) Reset() { *m = TagReferencePolicy{} } |
| 208 |
func (*TagReferencePolicy) ProtoMessage() {} |
| 209 |
func (*TagReferencePolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } |
| 210 |
|
| 211 |
func init() { |
| 212 |
proto.RegisterType((*DockerImageReference)(nil), "github.com.openshift.api.image.v1.DockerImageReference") |
| 213 |
proto.RegisterType((*Image)(nil), "github.com.openshift.api.image.v1.Image") |
| 214 |
proto.RegisterType((*ImageBlobReferences)(nil), "github.com.openshift.api.image.v1.ImageBlobReferences") |
| 215 |
proto.RegisterType((*ImageImportSpec)(nil), "github.com.openshift.api.image.v1.ImageImportSpec") |
| 216 |
proto.RegisterType((*ImageImportStatus)(nil), "github.com.openshift.api.image.v1.ImageImportStatus") |
| 217 |
proto.RegisterType((*ImageLayer)(nil), "github.com.openshift.api.image.v1.ImageLayer") |
| 218 |
proto.RegisterType((*ImageLayerData)(nil), "github.com.openshift.api.image.v1.ImageLayerData") |
| 219 |
proto.RegisterType((*ImageList)(nil), "github.com.openshift.api.image.v1.ImageList") |
| 220 |
proto.RegisterType((*ImageLookupPolicy)(nil), "github.com.openshift.api.image.v1.ImageLookupPolicy") |
| 221 |
proto.RegisterType((*ImageSignature)(nil), "github.com.openshift.api.image.v1.ImageSignature") |
| 222 |
proto.RegisterType((*ImageStream)(nil), "github.com.openshift.api.image.v1.ImageStream") |
| 223 |
proto.RegisterType((*ImageStreamImage)(nil), "github.com.openshift.api.image.v1.ImageStreamImage") |
| 224 |
proto.RegisterType((*ImageStreamImport)(nil), "github.com.openshift.api.image.v1.ImageStreamImport") |
| 225 |
proto.RegisterType((*ImageStreamImportSpec)(nil), "github.com.openshift.api.image.v1.ImageStreamImportSpec") |
| 226 |
proto.RegisterType((*ImageStreamImportStatus)(nil), "github.com.openshift.api.image.v1.ImageStreamImportStatus") |
| 227 |
proto.RegisterType((*ImageStreamLayers)(nil), "github.com.openshift.api.image.v1.ImageStreamLayers") |
| 228 |
proto.RegisterType((*ImageStreamList)(nil), "github.com.openshift.api.image.v1.ImageStreamList") |
| 229 |
proto.RegisterType((*ImageStreamMapping)(nil), "github.com.openshift.api.image.v1.ImageStreamMapping") |
| 230 |
proto.RegisterType((*ImageStreamSpec)(nil), "github.com.openshift.api.image.v1.ImageStreamSpec") |
| 231 |
proto.RegisterType((*ImageStreamStatus)(nil), "github.com.openshift.api.image.v1.ImageStreamStatus") |
| 232 |
proto.RegisterType((*ImageStreamTag)(nil), "github.com.openshift.api.image.v1.ImageStreamTag") |
| 233 |
proto.RegisterType((*ImageStreamTagList)(nil), "github.com.openshift.api.image.v1.ImageStreamTagList") |
| 234 |
proto.RegisterType((*NamedTagEventList)(nil), "github.com.openshift.api.image.v1.NamedTagEventList") |
| 235 |
proto.RegisterType((*RepositoryImportSpec)(nil), "github.com.openshift.api.image.v1.RepositoryImportSpec") |
| 236 |
proto.RegisterType((*RepositoryImportStatus)(nil), "github.com.openshift.api.image.v1.RepositoryImportStatus") |
| 237 |
proto.RegisterType((*SignatureCondition)(nil), "github.com.openshift.api.image.v1.SignatureCondition") |
| 238 |
proto.RegisterType((*SignatureGenericEntity)(nil), "github.com.openshift.api.image.v1.SignatureGenericEntity") |
| 239 |
proto.RegisterType((*SignatureIssuer)(nil), "github.com.openshift.api.image.v1.SignatureIssuer") |
| 240 |
proto.RegisterType((*SignatureSubject)(nil), "github.com.openshift.api.image.v1.SignatureSubject") |
| 241 |
proto.RegisterType((*TagEvent)(nil), "github.com.openshift.api.image.v1.TagEvent") |
| 242 |
proto.RegisterType((*TagEventCondition)(nil), "github.com.openshift.api.image.v1.TagEventCondition") |
| 243 |
proto.RegisterType((*TagImportPolicy)(nil), "github.com.openshift.api.image.v1.TagImportPolicy") |
| 244 |
proto.RegisterType((*TagReference)(nil), "github.com.openshift.api.image.v1.TagReference") |
| 245 |
proto.RegisterType((*TagReferencePolicy)(nil), "github.com.openshift.api.image.v1.TagReferencePolicy") |
| 246 |
} |
| 247 |
func (m *DockerImageReference) Marshal() (dAtA []byte, err error) { |
| 248 |
size := m.Size() |
| 249 |
dAtA = make([]byte, size) |
| 250 |
n, err := m.MarshalTo(dAtA) |
| 251 |
if err != nil { |
| 252 |
return nil, err |
| 253 |
} |
| 254 |
return dAtA[:n], nil |
| 255 |
} |
| 256 |
|
| 257 |
func (m *DockerImageReference) MarshalTo(dAtA []byte) (int, error) { |
| 258 |
var i int |
| 259 |
_ = i |
| 260 |
var l int |
| 261 |
_ = l |
| 262 |
dAtA[i] = 0xa |
| 263 |
i++ |
| 264 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Registry))) |
| 265 |
i += copy(dAtA[i:], m.Registry) |
| 266 |
dAtA[i] = 0x12 |
| 267 |
i++ |
| 268 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) |
| 269 |
i += copy(dAtA[i:], m.Namespace) |
| 270 |
dAtA[i] = 0x1a |
| 271 |
i++ |
| 272 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 273 |
i += copy(dAtA[i:], m.Name) |
| 274 |
dAtA[i] = 0x22 |
| 275 |
i++ |
| 276 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tag))) |
| 277 |
i += copy(dAtA[i:], m.Tag) |
| 278 |
dAtA[i] = 0x2a |
| 279 |
i++ |
| 280 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ID))) |
| 281 |
i += copy(dAtA[i:], m.ID) |
| 282 |
return i, nil |
| 283 |
} |
| 284 |
|
| 285 |
func (m *Image) Marshal() (dAtA []byte, err error) { |
| 286 |
size := m.Size() |
| 287 |
dAtA = make([]byte, size) |
| 288 |
n, err := m.MarshalTo(dAtA) |
| 289 |
if err != nil { |
| 290 |
return nil, err |
| 291 |
} |
| 292 |
return dAtA[:n], nil |
| 293 |
} |
| 294 |
|
| 295 |
func (m *Image) MarshalTo(dAtA []byte) (int, error) { |
| 296 |
var i int |
| 297 |
_ = i |
| 298 |
var l int |
| 299 |
_ = l |
| 300 |
dAtA[i] = 0xa |
| 301 |
i++ |
| 302 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 303 |
n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 304 |
if err != nil { |
| 305 |
return 0, err |
| 306 |
} |
| 307 |
i += n1 |
| 308 |
dAtA[i] = 0x12 |
| 309 |
i++ |
| 310 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageReference))) |
| 311 |
i += copy(dAtA[i:], m.DockerImageReference) |
| 312 |
dAtA[i] = 0x1a |
| 313 |
i++ |
| 314 |
i = encodeVarintGenerated(dAtA, i, uint64(m.DockerImageMetadata.Size())) |
| 315 |
n2, err := m.DockerImageMetadata.MarshalTo(dAtA[i:]) |
| 316 |
if err != nil { |
| 317 |
return 0, err |
| 318 |
} |
| 319 |
i += n2 |
| 320 |
dAtA[i] = 0x22 |
| 321 |
i++ |
| 322 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageMetadataVersion))) |
| 323 |
i += copy(dAtA[i:], m.DockerImageMetadataVersion) |
| 324 |
dAtA[i] = 0x2a |
| 325 |
i++ |
| 326 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageManifest))) |
| 327 |
i += copy(dAtA[i:], m.DockerImageManifest) |
| 328 |
if len(m.DockerImageLayers) > 0 { |
| 329 |
for _, msg := range m.DockerImageLayers { |
| 330 |
dAtA[i] = 0x32 |
| 331 |
i++ |
| 332 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 333 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 334 |
if err != nil { |
| 335 |
return 0, err |
| 336 |
} |
| 337 |
i += n |
| 338 |
} |
| 339 |
} |
| 340 |
if len(m.Signatures) > 0 { |
| 341 |
for _, msg := range m.Signatures { |
| 342 |
dAtA[i] = 0x3a |
| 343 |
i++ |
| 344 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 345 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 346 |
if err != nil { |
| 347 |
return 0, err |
| 348 |
} |
| 349 |
i += n |
| 350 |
} |
| 351 |
} |
| 352 |
if len(m.DockerImageSignatures) > 0 { |
| 353 |
for _, b := range m.DockerImageSignatures { |
| 354 |
dAtA[i] = 0x42 |
| 355 |
i++ |
| 356 |
i = encodeVarintGenerated(dAtA, i, uint64(len(b))) |
| 357 |
i += copy(dAtA[i:], b) |
| 358 |
} |
| 359 |
} |
| 360 |
dAtA[i] = 0x4a |
| 361 |
i++ |
| 362 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageManifestMediaType))) |
| 363 |
i += copy(dAtA[i:], m.DockerImageManifestMediaType) |
| 364 |
dAtA[i] = 0x52 |
| 365 |
i++ |
| 366 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageConfig))) |
| 367 |
i += copy(dAtA[i:], m.DockerImageConfig) |
| 368 |
return i, nil |
| 369 |
} |
| 370 |
|
| 371 |
func (m *ImageBlobReferences) Marshal() (dAtA []byte, err error) { |
| 372 |
size := m.Size() |
| 373 |
dAtA = make([]byte, size) |
| 374 |
n, err := m.MarshalTo(dAtA) |
| 375 |
if err != nil { |
| 376 |
return nil, err |
| 377 |
} |
| 378 |
return dAtA[:n], nil |
| 379 |
} |
| 380 |
|
| 381 |
func (m *ImageBlobReferences) MarshalTo(dAtA []byte) (int, error) { |
| 382 |
var i int |
| 383 |
_ = i |
| 384 |
var l int |
| 385 |
_ = l |
| 386 |
if len(m.Layers) > 0 { |
| 387 |
for _, s := range m.Layers { |
| 388 |
dAtA[i] = 0xa |
| 389 |
i++ |
| 390 |
l = len(s) |
| 391 |
for l >= 1<<7 { |
| 392 |
dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 393 |
l >>= 7 |
| 394 |
i++ |
| 395 |
} |
| 396 |
dAtA[i] = uint8(l) |
| 397 |
i++ |
| 398 |
i += copy(dAtA[i:], s) |
| 399 |
} |
| 400 |
} |
| 401 |
if m.Config != nil { |
| 402 |
dAtA[i] = 0x12 |
| 403 |
i++ |
| 404 |
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Config))) |
| 405 |
i += copy(dAtA[i:], *m.Config) |
| 406 |
} |
| 407 |
dAtA[i] = 0x18 |
| 408 |
i++ |
| 409 |
if m.ImageMissing { |
| 410 |
dAtA[i] = 1 |
| 411 |
} else { |
| 412 |
dAtA[i] = 0 |
| 413 |
} |
| 414 |
i++ |
| 415 |
return i, nil |
| 416 |
} |
| 417 |
|
| 418 |
func (m *ImageImportSpec) Marshal() (dAtA []byte, err error) { |
| 419 |
size := m.Size() |
| 420 |
dAtA = make([]byte, size) |
| 421 |
n, err := m.MarshalTo(dAtA) |
| 422 |
if err != nil { |
| 423 |
return nil, err |
| 424 |
} |
| 425 |
return dAtA[:n], nil |
| 426 |
} |
| 427 |
|
| 428 |
func (m *ImageImportSpec) MarshalTo(dAtA []byte) (int, error) { |
| 429 |
var i int |
| 430 |
_ = i |
| 431 |
var l int |
| 432 |
_ = l |
| 433 |
dAtA[i] = 0xa |
| 434 |
i++ |
| 435 |
i = encodeVarintGenerated(dAtA, i, uint64(m.From.Size())) |
| 436 |
n3, err := m.From.MarshalTo(dAtA[i:]) |
| 437 |
if err != nil { |
| 438 |
return 0, err |
| 439 |
} |
| 440 |
i += n3 |
| 441 |
if m.To != nil { |
| 442 |
dAtA[i] = 0x12 |
| 443 |
i++ |
| 444 |
i = encodeVarintGenerated(dAtA, i, uint64(m.To.Size())) |
| 445 |
n4, err := m.To.MarshalTo(dAtA[i:]) |
| 446 |
if err != nil { |
| 447 |
return 0, err |
| 448 |
} |
| 449 |
i += n4 |
| 450 |
} |
| 451 |
dAtA[i] = 0x1a |
| 452 |
i++ |
| 453 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ImportPolicy.Size())) |
| 454 |
n5, err := m.ImportPolicy.MarshalTo(dAtA[i:]) |
| 455 |
if err != nil { |
| 456 |
return 0, err |
| 457 |
} |
| 458 |
i += n5 |
| 459 |
dAtA[i] = 0x20 |
| 460 |
i++ |
| 461 |
if m.IncludeManifest { |
| 462 |
dAtA[i] = 1 |
| 463 |
} else { |
| 464 |
dAtA[i] = 0 |
| 465 |
} |
| 466 |
i++ |
| 467 |
dAtA[i] = 0x2a |
| 468 |
i++ |
| 469 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ReferencePolicy.Size())) |
| 470 |
n6, err := m.ReferencePolicy.MarshalTo(dAtA[i:]) |
| 471 |
if err != nil { |
| 472 |
return 0, err |
| 473 |
} |
| 474 |
i += n6 |
| 475 |
return i, nil |
| 476 |
} |
| 477 |
|
| 478 |
func (m *ImageImportStatus) Marshal() (dAtA []byte, err error) { |
| 479 |
size := m.Size() |
| 480 |
dAtA = make([]byte, size) |
| 481 |
n, err := m.MarshalTo(dAtA) |
| 482 |
if err != nil { |
| 483 |
return nil, err |
| 484 |
} |
| 485 |
return dAtA[:n], nil |
| 486 |
} |
| 487 |
|
| 488 |
func (m *ImageImportStatus) MarshalTo(dAtA []byte) (int, error) { |
| 489 |
var i int |
| 490 |
_ = i |
| 491 |
var l int |
| 492 |
_ = l |
| 493 |
dAtA[i] = 0xa |
| 494 |
i++ |
| 495 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 496 |
n7, err := m.Status.MarshalTo(dAtA[i:]) |
| 497 |
if err != nil { |
| 498 |
return 0, err |
| 499 |
} |
| 500 |
i += n7 |
| 501 |
if m.Image != nil { |
| 502 |
dAtA[i] = 0x12 |
| 503 |
i++ |
| 504 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Image.Size())) |
| 505 |
n8, err := m.Image.MarshalTo(dAtA[i:]) |
| 506 |
if err != nil { |
| 507 |
return 0, err |
| 508 |
} |
| 509 |
i += n8 |
| 510 |
} |
| 511 |
dAtA[i] = 0x1a |
| 512 |
i++ |
| 513 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tag))) |
| 514 |
i += copy(dAtA[i:], m.Tag) |
| 515 |
return i, nil |
| 516 |
} |
| 517 |
|
| 518 |
func (m *ImageLayer) Marshal() (dAtA []byte, err error) { |
| 519 |
size := m.Size() |
| 520 |
dAtA = make([]byte, size) |
| 521 |
n, err := m.MarshalTo(dAtA) |
| 522 |
if err != nil { |
| 523 |
return nil, err |
| 524 |
} |
| 525 |
return dAtA[:n], nil |
| 526 |
} |
| 527 |
|
| 528 |
func (m *ImageLayer) MarshalTo(dAtA []byte) (int, error) { |
| 529 |
var i int |
| 530 |
_ = i |
| 531 |
var l int |
| 532 |
_ = l |
| 533 |
dAtA[i] = 0xa |
| 534 |
i++ |
| 535 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 536 |
i += copy(dAtA[i:], m.Name) |
| 537 |
dAtA[i] = 0x10 |
| 538 |
i++ |
| 539 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LayerSize)) |
| 540 |
dAtA[i] = 0x1a |
| 541 |
i++ |
| 542 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.MediaType))) |
| 543 |
i += copy(dAtA[i:], m.MediaType) |
| 544 |
return i, nil |
| 545 |
} |
| 546 |
|
| 547 |
func (m *ImageLayerData) Marshal() (dAtA []byte, err error) { |
| 548 |
size := m.Size() |
| 549 |
dAtA = make([]byte, size) |
| 550 |
n, err := m.MarshalTo(dAtA) |
| 551 |
if err != nil { |
| 552 |
return nil, err |
| 553 |
} |
| 554 |
return dAtA[:n], nil |
| 555 |
} |
| 556 |
|
| 557 |
func (m *ImageLayerData) MarshalTo(dAtA []byte) (int, error) { |
| 558 |
var i int |
| 559 |
_ = i |
| 560 |
var l int |
| 561 |
_ = l |
| 562 |
if m.LayerSize != nil { |
| 563 |
dAtA[i] = 0x8 |
| 564 |
i++ |
| 565 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.LayerSize)) |
| 566 |
} |
| 567 |
dAtA[i] = 0x12 |
| 568 |
i++ |
| 569 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.MediaType))) |
| 570 |
i += copy(dAtA[i:], m.MediaType) |
| 571 |
return i, nil |
| 572 |
} |
| 573 |
|
| 574 |
func (m *ImageList) Marshal() (dAtA []byte, err error) { |
| 575 |
size := m.Size() |
| 576 |
dAtA = make([]byte, size) |
| 577 |
n, err := m.MarshalTo(dAtA) |
| 578 |
if err != nil { |
| 579 |
return nil, err |
| 580 |
} |
| 581 |
return dAtA[:n], nil |
| 582 |
} |
| 583 |
|
| 584 |
func (m *ImageList) MarshalTo(dAtA []byte) (int, error) { |
| 585 |
var i int |
| 586 |
_ = i |
| 587 |
var l int |
| 588 |
_ = l |
| 589 |
dAtA[i] = 0xa |
| 590 |
i++ |
| 591 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 592 |
n9, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 593 |
if err != nil { |
| 594 |
return 0, err |
| 595 |
} |
| 596 |
i += n9 |
| 597 |
if len(m.Items) > 0 { |
| 598 |
for _, msg := range m.Items { |
| 599 |
dAtA[i] = 0x12 |
| 600 |
i++ |
| 601 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 602 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 603 |
if err != nil { |
| 604 |
return 0, err |
| 605 |
} |
| 606 |
i += n |
| 607 |
} |
| 608 |
} |
| 609 |
return i, nil |
| 610 |
} |
| 611 |
|
| 612 |
func (m *ImageLookupPolicy) Marshal() (dAtA []byte, err error) { |
| 613 |
size := m.Size() |
| 614 |
dAtA = make([]byte, size) |
| 615 |
n, err := m.MarshalTo(dAtA) |
| 616 |
if err != nil { |
| 617 |
return nil, err |
| 618 |
} |
| 619 |
return dAtA[:n], nil |
| 620 |
} |
| 621 |
|
| 622 |
func (m *ImageLookupPolicy) MarshalTo(dAtA []byte) (int, error) { |
| 623 |
var i int |
| 624 |
_ = i |
| 625 |
var l int |
| 626 |
_ = l |
| 627 |
dAtA[i] = 0x18 |
| 628 |
i++ |
| 629 |
if m.Local { |
| 630 |
dAtA[i] = 1 |
| 631 |
} else { |
| 632 |
dAtA[i] = 0 |
| 633 |
} |
| 634 |
i++ |
| 635 |
return i, nil |
| 636 |
} |
| 637 |
|
| 638 |
func (m *ImageSignature) Marshal() (dAtA []byte, err error) { |
| 639 |
size := m.Size() |
| 640 |
dAtA = make([]byte, size) |
| 641 |
n, err := m.MarshalTo(dAtA) |
| 642 |
if err != nil { |
| 643 |
return nil, err |
| 644 |
} |
| 645 |
return dAtA[:n], nil |
| 646 |
} |
| 647 |
|
| 648 |
func (m *ImageSignature) MarshalTo(dAtA []byte) (int, error) { |
| 649 |
var i int |
| 650 |
_ = i |
| 651 |
var l int |
| 652 |
_ = l |
| 653 |
dAtA[i] = 0xa |
| 654 |
i++ |
| 655 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 656 |
n10, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 657 |
if err != nil { |
| 658 |
return 0, err |
| 659 |
} |
| 660 |
i += n10 |
| 661 |
dAtA[i] = 0x12 |
| 662 |
i++ |
| 663 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 664 |
i += copy(dAtA[i:], m.Type) |
| 665 |
if m.Content != nil { |
| 666 |
dAtA[i] = 0x1a |
| 667 |
i++ |
| 668 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Content))) |
| 669 |
i += copy(dAtA[i:], m.Content) |
| 670 |
} |
| 671 |
if len(m.Conditions) > 0 { |
| 672 |
for _, msg := range m.Conditions { |
| 673 |
dAtA[i] = 0x22 |
| 674 |
i++ |
| 675 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 676 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 677 |
if err != nil { |
| 678 |
return 0, err |
| 679 |
} |
| 680 |
i += n |
| 681 |
} |
| 682 |
} |
| 683 |
dAtA[i] = 0x2a |
| 684 |
i++ |
| 685 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ImageIdentity))) |
| 686 |
i += copy(dAtA[i:], m.ImageIdentity) |
| 687 |
if len(m.SignedClaims) > 0 { |
| 688 |
keysForSignedClaims := make([]string, 0, len(m.SignedClaims)) |
| 689 |
for k := range m.SignedClaims { |
| 690 |
keysForSignedClaims = append(keysForSignedClaims, string(k)) |
| 691 |
} |
| 692 |
github_com_gogo_protobuf_sortkeys.Strings(keysForSignedClaims) |
| 693 |
for _, k := range keysForSignedClaims { |
| 694 |
dAtA[i] = 0x32 |
| 695 |
i++ |
| 696 |
v := m.SignedClaims[string(k)] |
| 697 |
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 698 |
i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 699 |
dAtA[i] = 0xa |
| 700 |
i++ |
| 701 |
i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 702 |
i += copy(dAtA[i:], k) |
| 703 |
dAtA[i] = 0x12 |
| 704 |
i++ |
| 705 |
i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 706 |
i += copy(dAtA[i:], v) |
| 707 |
} |
| 708 |
} |
| 709 |
if m.Created != nil { |
| 710 |
dAtA[i] = 0x3a |
| 711 |
i++ |
| 712 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Created.Size())) |
| 713 |
n11, err := m.Created.MarshalTo(dAtA[i:]) |
| 714 |
if err != nil { |
| 715 |
return 0, err |
| 716 |
} |
| 717 |
i += n11 |
| 718 |
} |
| 719 |
if m.IssuedBy != nil { |
| 720 |
dAtA[i] = 0x42 |
| 721 |
i++ |
| 722 |
i = encodeVarintGenerated(dAtA, i, uint64(m.IssuedBy.Size())) |
| 723 |
n12, err := m.IssuedBy.MarshalTo(dAtA[i:]) |
| 724 |
if err != nil { |
| 725 |
return 0, err |
| 726 |
} |
| 727 |
i += n12 |
| 728 |
} |
| 729 |
if m.IssuedTo != nil { |
| 730 |
dAtA[i] = 0x4a |
| 731 |
i++ |
| 732 |
i = encodeVarintGenerated(dAtA, i, uint64(m.IssuedTo.Size())) |
| 733 |
n13, err := m.IssuedTo.MarshalTo(dAtA[i:]) |
| 734 |
if err != nil { |
| 735 |
return 0, err |
| 736 |
} |
| 737 |
i += n13 |
| 738 |
} |
| 739 |
return i, nil |
| 740 |
} |
| 741 |
|
| 742 |
func (m *ImageStream) Marshal() (dAtA []byte, err error) { |
| 743 |
size := m.Size() |
| 744 |
dAtA = make([]byte, size) |
| 745 |
n, err := m.MarshalTo(dAtA) |
| 746 |
if err != nil { |
| 747 |
return nil, err |
| 748 |
} |
| 749 |
return dAtA[:n], nil |
| 750 |
} |
| 751 |
|
| 752 |
func (m *ImageStream) MarshalTo(dAtA []byte) (int, error) { |
| 753 |
var i int |
| 754 |
_ = i |
| 755 |
var l int |
| 756 |
_ = l |
| 757 |
dAtA[i] = 0xa |
| 758 |
i++ |
| 759 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 760 |
n14, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 761 |
if err != nil { |
| 762 |
return 0, err |
| 763 |
} |
| 764 |
i += n14 |
| 765 |
dAtA[i] = 0x12 |
| 766 |
i++ |
| 767 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 768 |
n15, err := m.Spec.MarshalTo(dAtA[i:]) |
| 769 |
if err != nil { |
| 770 |
return 0, err |
| 771 |
} |
| 772 |
i += n15 |
| 773 |
dAtA[i] = 0x1a |
| 774 |
i++ |
| 775 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 776 |
n16, err := m.Status.MarshalTo(dAtA[i:]) |
| 777 |
if err != nil { |
| 778 |
return 0, err |
| 779 |
} |
| 780 |
i += n16 |
| 781 |
return i, nil |
| 782 |
} |
| 783 |
|
| 784 |
func (m *ImageStreamImage) Marshal() (dAtA []byte, err error) { |
| 785 |
size := m.Size() |
| 786 |
dAtA = make([]byte, size) |
| 787 |
n, err := m.MarshalTo(dAtA) |
| 788 |
if err != nil { |
| 789 |
return nil, err |
| 790 |
} |
| 791 |
return dAtA[:n], nil |
| 792 |
} |
| 793 |
|
| 794 |
func (m *ImageStreamImage) MarshalTo(dAtA []byte) (int, error) { |
| 795 |
var i int |
| 796 |
_ = i |
| 797 |
var l int |
| 798 |
_ = l |
| 799 |
dAtA[i] = 0xa |
| 800 |
i++ |
| 801 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 802 |
n17, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 803 |
if err != nil { |
| 804 |
return 0, err |
| 805 |
} |
| 806 |
i += n17 |
| 807 |
dAtA[i] = 0x12 |
| 808 |
i++ |
| 809 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Image.Size())) |
| 810 |
n18, err := m.Image.MarshalTo(dAtA[i:]) |
| 811 |
if err != nil { |
| 812 |
return 0, err |
| 813 |
} |
| 814 |
i += n18 |
| 815 |
return i, nil |
| 816 |
} |
| 817 |
|
| 818 |
func (m *ImageStreamImport) Marshal() (dAtA []byte, err error) { |
| 819 |
size := m.Size() |
| 820 |
dAtA = make([]byte, size) |
| 821 |
n, err := m.MarshalTo(dAtA) |
| 822 |
if err != nil { |
| 823 |
return nil, err |
| 824 |
} |
| 825 |
return dAtA[:n], nil |
| 826 |
} |
| 827 |
|
| 828 |
func (m *ImageStreamImport) MarshalTo(dAtA []byte) (int, error) { |
| 829 |
var i int |
| 830 |
_ = i |
| 831 |
var l int |
| 832 |
_ = l |
| 833 |
dAtA[i] = 0xa |
| 834 |
i++ |
| 835 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 836 |
n19, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 837 |
if err != nil { |
| 838 |
return 0, err |
| 839 |
} |
| 840 |
i += n19 |
| 841 |
dAtA[i] = 0x12 |
| 842 |
i++ |
| 843 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 844 |
n20, err := m.Spec.MarshalTo(dAtA[i:]) |
| 845 |
if err != nil { |
| 846 |
return 0, err |
| 847 |
} |
| 848 |
i += n20 |
| 849 |
dAtA[i] = 0x1a |
| 850 |
i++ |
| 851 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 852 |
n21, err := m.Status.MarshalTo(dAtA[i:]) |
| 853 |
if err != nil { |
| 854 |
return 0, err |
| 855 |
} |
| 856 |
i += n21 |
| 857 |
return i, nil |
| 858 |
} |
| 859 |
|
| 860 |
func (m *ImageStreamImportSpec) Marshal() (dAtA []byte, err error) { |
| 861 |
size := m.Size() |
| 862 |
dAtA = make([]byte, size) |
| 863 |
n, err := m.MarshalTo(dAtA) |
| 864 |
if err != nil { |
| 865 |
return nil, err |
| 866 |
} |
| 867 |
return dAtA[:n], nil |
| 868 |
} |
| 869 |
|
| 870 |
func (m *ImageStreamImportSpec) MarshalTo(dAtA []byte) (int, error) { |
| 871 |
var i int |
| 872 |
_ = i |
| 873 |
var l int |
| 874 |
_ = l |
| 875 |
dAtA[i] = 0x8 |
| 876 |
i++ |
| 877 |
if m.Import { |
| 878 |
dAtA[i] = 1 |
| 879 |
} else { |
| 880 |
dAtA[i] = 0 |
| 881 |
} |
| 882 |
i++ |
| 883 |
if m.Repository != nil { |
| 884 |
dAtA[i] = 0x12 |
| 885 |
i++ |
| 886 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Repository.Size())) |
| 887 |
n22, err := m.Repository.MarshalTo(dAtA[i:]) |
| 888 |
if err != nil { |
| 889 |
return 0, err |
| 890 |
} |
| 891 |
i += n22 |
| 892 |
} |
| 893 |
if len(m.Images) > 0 { |
| 894 |
for _, msg := range m.Images { |
| 895 |
dAtA[i] = 0x1a |
| 896 |
i++ |
| 897 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 898 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 899 |
if err != nil { |
| 900 |
return 0, err |
| 901 |
} |
| 902 |
i += n |
| 903 |
} |
| 904 |
} |
| 905 |
return i, nil |
| 906 |
} |
| 907 |
|
| 908 |
func (m *ImageStreamImportStatus) Marshal() (dAtA []byte, err error) { |
| 909 |
size := m.Size() |
| 910 |
dAtA = make([]byte, size) |
| 911 |
n, err := m.MarshalTo(dAtA) |
| 912 |
if err != nil { |
| 913 |
return nil, err |
| 914 |
} |
| 915 |
return dAtA[:n], nil |
| 916 |
} |
| 917 |
|
| 918 |
func (m *ImageStreamImportStatus) MarshalTo(dAtA []byte) (int, error) { |
| 919 |
var i int |
| 920 |
_ = i |
| 921 |
var l int |
| 922 |
_ = l |
| 923 |
if m.Import != nil { |
| 924 |
dAtA[i] = 0xa |
| 925 |
i++ |
| 926 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Import.Size())) |
| 927 |
n23, err := m.Import.MarshalTo(dAtA[i:]) |
| 928 |
if err != nil { |
| 929 |
return 0, err |
| 930 |
} |
| 931 |
i += n23 |
| 932 |
} |
| 933 |
if m.Repository != nil { |
| 934 |
dAtA[i] = 0x12 |
| 935 |
i++ |
| 936 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Repository.Size())) |
| 937 |
n24, err := m.Repository.MarshalTo(dAtA[i:]) |
| 938 |
if err != nil { |
| 939 |
return 0, err |
| 940 |
} |
| 941 |
i += n24 |
| 942 |
} |
| 943 |
if len(m.Images) > 0 { |
| 944 |
for _, msg := range m.Images { |
| 945 |
dAtA[i] = 0x1a |
| 946 |
i++ |
| 947 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 948 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 949 |
if err != nil { |
| 950 |
return 0, err |
| 951 |
} |
| 952 |
i += n |
| 953 |
} |
| 954 |
} |
| 955 |
return i, nil |
| 956 |
} |
| 957 |
|
| 958 |
func (m *ImageStreamLayers) 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 *ImageStreamLayers) 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(m.ObjectMeta.Size())) |
| 976 |
n25, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 977 |
if err != nil { |
| 978 |
return 0, err |
| 979 |
} |
| 980 |
i += n25 |
| 981 |
if len(m.Blobs) > 0 { |
| 982 |
keysForBlobs := make([]string, 0, len(m.Blobs)) |
| 983 |
for k := range m.Blobs { |
| 984 |
keysForBlobs = append(keysForBlobs, string(k)) |
| 985 |
} |
| 986 |
github_com_gogo_protobuf_sortkeys.Strings(keysForBlobs) |
| 987 |
for _, k := range keysForBlobs { |
| 988 |
dAtA[i] = 0x12 |
| 989 |
i++ |
| 990 |
v := m.Blobs[string(k)] |
| 991 |
msgSize := 0 |
| 992 |
if (&v) != nil { |
| 993 |
msgSize = (&v).Size() |
| 994 |
msgSize += 1 + sovGenerated(uint64(msgSize)) |
| 995 |
} |
| 996 |
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize |
| 997 |
i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 998 |
dAtA[i] = 0xa |
| 999 |
i++ |
| 1000 |
i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1001 |
i += copy(dAtA[i:], k) |
| 1002 |
dAtA[i] = 0x12 |
| 1003 |
i++ |
| 1004 |
i = encodeVarintGenerated(dAtA, i, uint64((&v).Size())) |
| 1005 |
n26, err := (&v).MarshalTo(dAtA[i:]) |
| 1006 |
if err != nil { |
| 1007 |
return 0, err |
| 1008 |
} |
| 1009 |
i += n26 |
| 1010 |
} |
| 1011 |
} |
| 1012 |
if len(m.Images) > 0 { |
| 1013 |
keysForImages := make([]string, 0, len(m.Images)) |
| 1014 |
for k := range m.Images { |
| 1015 |
keysForImages = append(keysForImages, string(k)) |
| 1016 |
} |
| 1017 |
github_com_gogo_protobuf_sortkeys.Strings(keysForImages) |
| 1018 |
for _, k := range keysForImages { |
| 1019 |
dAtA[i] = 0x1a |
| 1020 |
i++ |
| 1021 |
v := m.Images[string(k)] |
| 1022 |
msgSize := 0 |
| 1023 |
if (&v) != nil { |
| 1024 |
msgSize = (&v).Size() |
| 1025 |
msgSize += 1 + sovGenerated(uint64(msgSize)) |
| 1026 |
} |
| 1027 |
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize |
| 1028 |
i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1029 |
dAtA[i] = 0xa |
| 1030 |
i++ |
| 1031 |
i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1032 |
i += copy(dAtA[i:], k) |
| 1033 |
dAtA[i] = 0x12 |
| 1034 |
i++ |
| 1035 |
i = encodeVarintGenerated(dAtA, i, uint64((&v).Size())) |
| 1036 |
n27, err := (&v).MarshalTo(dAtA[i:]) |
| 1037 |
if err != nil { |
| 1038 |
return 0, err |
| 1039 |
} |
| 1040 |
i += n27 |
| 1041 |
} |
| 1042 |
} |
| 1043 |
return i, nil |
| 1044 |
} |
| 1045 |
|
| 1046 |
func (m *ImageStreamList) Marshal() (dAtA []byte, err error) { |
| 1047 |
size := m.Size() |
| 1048 |
dAtA = make([]byte, size) |
| 1049 |
n, err := m.MarshalTo(dAtA) |
| 1050 |
if err != nil { |
| 1051 |
return nil, err |
| 1052 |
} |
| 1053 |
return dAtA[:n], nil |
| 1054 |
} |
| 1055 |
|
| 1056 |
func (m *ImageStreamList) MarshalTo(dAtA []byte) (int, error) { |
| 1057 |
var i int |
| 1058 |
_ = i |
| 1059 |
var l int |
| 1060 |
_ = l |
| 1061 |
dAtA[i] = 0xa |
| 1062 |
i++ |
| 1063 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 1064 |
n28, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 1065 |
if err != nil { |
| 1066 |
return 0, err |
| 1067 |
} |
| 1068 |
i += n28 |
| 1069 |
if len(m.Items) > 0 { |
| 1070 |
for _, msg := range m.Items { |
| 1071 |
dAtA[i] = 0x12 |
| 1072 |
i++ |
| 1073 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1074 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1075 |
if err != nil { |
| 1076 |
return 0, err |
| 1077 |
} |
| 1078 |
i += n |
| 1079 |
} |
| 1080 |
} |
| 1081 |
return i, nil |
| 1082 |
} |
| 1083 |
|
| 1084 |
func (m *ImageStreamMapping) Marshal() (dAtA []byte, err error) { |
| 1085 |
size := m.Size() |
| 1086 |
dAtA = make([]byte, size) |
| 1087 |
n, err := m.MarshalTo(dAtA) |
| 1088 |
if err != nil { |
| 1089 |
return nil, err |
| 1090 |
} |
| 1091 |
return dAtA[:n], nil |
| 1092 |
} |
| 1093 |
|
| 1094 |
func (m *ImageStreamMapping) MarshalTo(dAtA []byte) (int, error) { |
| 1095 |
var i int |
| 1096 |
_ = i |
| 1097 |
var l int |
| 1098 |
_ = l |
| 1099 |
dAtA[i] = 0xa |
| 1100 |
i++ |
| 1101 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1102 |
n29, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1103 |
if err != nil { |
| 1104 |
return 0, err |
| 1105 |
} |
| 1106 |
i += n29 |
| 1107 |
dAtA[i] = 0x12 |
| 1108 |
i++ |
| 1109 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Image.Size())) |
| 1110 |
n30, err := m.Image.MarshalTo(dAtA[i:]) |
| 1111 |
if err != nil { |
| 1112 |
return 0, err |
| 1113 |
} |
| 1114 |
i += n30 |
| 1115 |
dAtA[i] = 0x1a |
| 1116 |
i++ |
| 1117 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tag))) |
| 1118 |
i += copy(dAtA[i:], m.Tag) |
| 1119 |
return i, nil |
| 1120 |
} |
| 1121 |
|
| 1122 |
func (m *ImageStreamSpec) Marshal() (dAtA []byte, err error) { |
| 1123 |
size := m.Size() |
| 1124 |
dAtA = make([]byte, size) |
| 1125 |
n, err := m.MarshalTo(dAtA) |
| 1126 |
if err != nil { |
| 1127 |
return nil, err |
| 1128 |
} |
| 1129 |
return dAtA[:n], nil |
| 1130 |
} |
| 1131 |
|
| 1132 |
func (m *ImageStreamSpec) MarshalTo(dAtA []byte) (int, error) { |
| 1133 |
var i int |
| 1134 |
_ = i |
| 1135 |
var l int |
| 1136 |
_ = l |
| 1137 |
dAtA[i] = 0xa |
| 1138 |
i++ |
| 1139 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageRepository))) |
| 1140 |
i += copy(dAtA[i:], m.DockerImageRepository) |
| 1141 |
if len(m.Tags) > 0 { |
| 1142 |
for _, msg := range m.Tags { |
| 1143 |
dAtA[i] = 0x12 |
| 1144 |
i++ |
| 1145 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1146 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1147 |
if err != nil { |
| 1148 |
return 0, err |
| 1149 |
} |
| 1150 |
i += n |
| 1151 |
} |
| 1152 |
} |
| 1153 |
dAtA[i] = 0x1a |
| 1154 |
i++ |
| 1155 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LookupPolicy.Size())) |
| 1156 |
n31, err := m.LookupPolicy.MarshalTo(dAtA[i:]) |
| 1157 |
if err != nil { |
| 1158 |
return 0, err |
| 1159 |
} |
| 1160 |
i += n31 |
| 1161 |
return i, nil |
| 1162 |
} |
| 1163 |
|
| 1164 |
func (m *ImageStreamStatus) Marshal() (dAtA []byte, err error) { |
| 1165 |
size := m.Size() |
| 1166 |
dAtA = make([]byte, size) |
| 1167 |
n, err := m.MarshalTo(dAtA) |
| 1168 |
if err != nil { |
| 1169 |
return nil, err |
| 1170 |
} |
| 1171 |
return dAtA[:n], nil |
| 1172 |
} |
| 1173 |
|
| 1174 |
func (m *ImageStreamStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1175 |
var i int |
| 1176 |
_ = i |
| 1177 |
var l int |
| 1178 |
_ = l |
| 1179 |
dAtA[i] = 0xa |
| 1180 |
i++ |
| 1181 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageRepository))) |
| 1182 |
i += copy(dAtA[i:], m.DockerImageRepository) |
| 1183 |
if len(m.Tags) > 0 { |
| 1184 |
for _, msg := range m.Tags { |
| 1185 |
dAtA[i] = 0x12 |
| 1186 |
i++ |
| 1187 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1188 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1189 |
if err != nil { |
| 1190 |
return 0, err |
| 1191 |
} |
| 1192 |
i += n |
| 1193 |
} |
| 1194 |
} |
| 1195 |
dAtA[i] = 0x1a |
| 1196 |
i++ |
| 1197 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PublicDockerImageRepository))) |
| 1198 |
i += copy(dAtA[i:], m.PublicDockerImageRepository) |
| 1199 |
return i, nil |
| 1200 |
} |
| 1201 |
|
| 1202 |
func (m *ImageStreamTag) Marshal() (dAtA []byte, err error) { |
| 1203 |
size := m.Size() |
| 1204 |
dAtA = make([]byte, size) |
| 1205 |
n, err := m.MarshalTo(dAtA) |
| 1206 |
if err != nil { |
| 1207 |
return nil, err |
| 1208 |
} |
| 1209 |
return dAtA[:n], nil |
| 1210 |
} |
| 1211 |
|
| 1212 |
func (m *ImageStreamTag) MarshalTo(dAtA []byte) (int, error) { |
| 1213 |
var i int |
| 1214 |
_ = i |
| 1215 |
var l int |
| 1216 |
_ = l |
| 1217 |
dAtA[i] = 0xa |
| 1218 |
i++ |
| 1219 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1220 |
n32, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1221 |
if err != nil { |
| 1222 |
return 0, err |
| 1223 |
} |
| 1224 |
i += n32 |
| 1225 |
if m.Tag != nil { |
| 1226 |
dAtA[i] = 0x12 |
| 1227 |
i++ |
| 1228 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Tag.Size())) |
| 1229 |
n33, err := m.Tag.MarshalTo(dAtA[i:]) |
| 1230 |
if err != nil { |
| 1231 |
return 0, err |
| 1232 |
} |
| 1233 |
i += n33 |
| 1234 |
} |
| 1235 |
dAtA[i] = 0x18 |
| 1236 |
i++ |
| 1237 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) |
| 1238 |
if len(m.Conditions) > 0 { |
| 1239 |
for _, msg := range m.Conditions { |
| 1240 |
dAtA[i] = 0x22 |
| 1241 |
i++ |
| 1242 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1243 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1244 |
if err != nil { |
| 1245 |
return 0, err |
| 1246 |
} |
| 1247 |
i += n |
| 1248 |
} |
| 1249 |
} |
| 1250 |
dAtA[i] = 0x2a |
| 1251 |
i++ |
| 1252 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Image.Size())) |
| 1253 |
n34, err := m.Image.MarshalTo(dAtA[i:]) |
| 1254 |
if err != nil { |
| 1255 |
return 0, err |
| 1256 |
} |
| 1257 |
i += n34 |
| 1258 |
dAtA[i] = 0x32 |
| 1259 |
i++ |
| 1260 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LookupPolicy.Size())) |
| 1261 |
n35, err := m.LookupPolicy.MarshalTo(dAtA[i:]) |
| 1262 |
if err != nil { |
| 1263 |
return 0, err |
| 1264 |
} |
| 1265 |
i += n35 |
| 1266 |
return i, nil |
| 1267 |
} |
| 1268 |
|
| 1269 |
func (m *ImageStreamTagList) Marshal() (dAtA []byte, err error) { |
| 1270 |
size := m.Size() |
| 1271 |
dAtA = make([]byte, size) |
| 1272 |
n, err := m.MarshalTo(dAtA) |
| 1273 |
if err != nil { |
| 1274 |
return nil, err |
| 1275 |
} |
| 1276 |
return dAtA[:n], nil |
| 1277 |
} |
| 1278 |
|
| 1279 |
func (m *ImageStreamTagList) MarshalTo(dAtA []byte) (int, error) { |
| 1280 |
var i int |
| 1281 |
_ = i |
| 1282 |
var l int |
| 1283 |
_ = l |
| 1284 |
dAtA[i] = 0xa |
| 1285 |
i++ |
| 1286 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 1287 |
n36, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 1288 |
if err != nil { |
| 1289 |
return 0, err |
| 1290 |
} |
| 1291 |
i += n36 |
| 1292 |
if len(m.Items) > 0 { |
| 1293 |
for _, msg := range m.Items { |
| 1294 |
dAtA[i] = 0x12 |
| 1295 |
i++ |
| 1296 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1297 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1298 |
if err != nil { |
| 1299 |
return 0, err |
| 1300 |
} |
| 1301 |
i += n |
| 1302 |
} |
| 1303 |
} |
| 1304 |
return i, nil |
| 1305 |
} |
| 1306 |
|
| 1307 |
func (m *NamedTagEventList) Marshal() (dAtA []byte, err error) { |
| 1308 |
size := m.Size() |
| 1309 |
dAtA = make([]byte, size) |
| 1310 |
n, err := m.MarshalTo(dAtA) |
| 1311 |
if err != nil { |
| 1312 |
return nil, err |
| 1313 |
} |
| 1314 |
return dAtA[:n], nil |
| 1315 |
} |
| 1316 |
|
| 1317 |
func (m *NamedTagEventList) MarshalTo(dAtA []byte) (int, error) { |
| 1318 |
var i int |
| 1319 |
_ = i |
| 1320 |
var l int |
| 1321 |
_ = l |
| 1322 |
dAtA[i] = 0xa |
| 1323 |
i++ |
| 1324 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Tag))) |
| 1325 |
i += copy(dAtA[i:], m.Tag) |
| 1326 |
if len(m.Items) > 0 { |
| 1327 |
for _, msg := range m.Items { |
| 1328 |
dAtA[i] = 0x12 |
| 1329 |
i++ |
| 1330 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1331 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1332 |
if err != nil { |
| 1333 |
return 0, err |
| 1334 |
} |
| 1335 |
i += n |
| 1336 |
} |
| 1337 |
} |
| 1338 |
if len(m.Conditions) > 0 { |
| 1339 |
for _, msg := range m.Conditions { |
| 1340 |
dAtA[i] = 0x1a |
| 1341 |
i++ |
| 1342 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1343 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1344 |
if err != nil { |
| 1345 |
return 0, err |
| 1346 |
} |
| 1347 |
i += n |
| 1348 |
} |
| 1349 |
} |
| 1350 |
return i, nil |
| 1351 |
} |
| 1352 |
|
| 1353 |
func (m *RepositoryImportSpec) Marshal() (dAtA []byte, err error) { |
| 1354 |
size := m.Size() |
| 1355 |
dAtA = make([]byte, size) |
| 1356 |
n, err := m.MarshalTo(dAtA) |
| 1357 |
if err != nil { |
| 1358 |
return nil, err |
| 1359 |
} |
| 1360 |
return dAtA[:n], nil |
| 1361 |
} |
| 1362 |
|
| 1363 |
func (m *RepositoryImportSpec) MarshalTo(dAtA []byte) (int, error) { |
| 1364 |
var i int |
| 1365 |
_ = i |
| 1366 |
var l int |
| 1367 |
_ = l |
| 1368 |
dAtA[i] = 0xa |
| 1369 |
i++ |
| 1370 |
i = encodeVarintGenerated(dAtA, i, uint64(m.From.Size())) |
| 1371 |
n37, err := m.From.MarshalTo(dAtA[i:]) |
| 1372 |
if err != nil { |
| 1373 |
return 0, err |
| 1374 |
} |
| 1375 |
i += n37 |
| 1376 |
dAtA[i] = 0x12 |
| 1377 |
i++ |
| 1378 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ImportPolicy.Size())) |
| 1379 |
n38, err := m.ImportPolicy.MarshalTo(dAtA[i:]) |
| 1380 |
if err != nil { |
| 1381 |
return 0, err |
| 1382 |
} |
| 1383 |
i += n38 |
| 1384 |
dAtA[i] = 0x18 |
| 1385 |
i++ |
| 1386 |
if m.IncludeManifest { |
| 1387 |
dAtA[i] = 1 |
| 1388 |
} else { |
| 1389 |
dAtA[i] = 0 |
| 1390 |
} |
| 1391 |
i++ |
| 1392 |
dAtA[i] = 0x22 |
| 1393 |
i++ |
| 1394 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ReferencePolicy.Size())) |
| 1395 |
n39, err := m.ReferencePolicy.MarshalTo(dAtA[i:]) |
| 1396 |
if err != nil { |
| 1397 |
return 0, err |
| 1398 |
} |
| 1399 |
i += n39 |
| 1400 |
return i, nil |
| 1401 |
} |
| 1402 |
|
| 1403 |
func (m *RepositoryImportStatus) Marshal() (dAtA []byte, err error) { |
| 1404 |
size := m.Size() |
| 1405 |
dAtA = make([]byte, size) |
| 1406 |
n, err := m.MarshalTo(dAtA) |
| 1407 |
if err != nil { |
| 1408 |
return nil, err |
| 1409 |
} |
| 1410 |
return dAtA[:n], nil |
| 1411 |
} |
| 1412 |
|
| 1413 |
func (m *RepositoryImportStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1414 |
var i int |
| 1415 |
_ = i |
| 1416 |
var l int |
| 1417 |
_ = l |
| 1418 |
dAtA[i] = 0xa |
| 1419 |
i++ |
| 1420 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 1421 |
n40, err := m.Status.MarshalTo(dAtA[i:]) |
| 1422 |
if err != nil { |
| 1423 |
return 0, err |
| 1424 |
} |
| 1425 |
i += n40 |
| 1426 |
if len(m.Images) > 0 { |
| 1427 |
for _, msg := range m.Images { |
| 1428 |
dAtA[i] = 0x12 |
| 1429 |
i++ |
| 1430 |
i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1431 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 1432 |
if err != nil { |
| 1433 |
return 0, err |
| 1434 |
} |
| 1435 |
i += n |
| 1436 |
} |
| 1437 |
} |
| 1438 |
if len(m.AdditionalTags) > 0 { |
| 1439 |
for _, s := range m.AdditionalTags { |
| 1440 |
dAtA[i] = 0x1a |
| 1441 |
i++ |
| 1442 |
l = len(s) |
| 1443 |
for l >= 1<<7 { |
| 1444 |
dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1445 |
l >>= 7 |
| 1446 |
i++ |
| 1447 |
} |
| 1448 |
dAtA[i] = uint8(l) |
| 1449 |
i++ |
| 1450 |
i += copy(dAtA[i:], s) |
| 1451 |
} |
| 1452 |
} |
| 1453 |
return i, nil |
| 1454 |
} |
| 1455 |
|
| 1456 |
func (m *SignatureCondition) Marshal() (dAtA []byte, err error) { |
| 1457 |
size := m.Size() |
| 1458 |
dAtA = make([]byte, size) |
| 1459 |
n, err := m.MarshalTo(dAtA) |
| 1460 |
if err != nil { |
| 1461 |
return nil, err |
| 1462 |
} |
| 1463 |
return dAtA[:n], nil |
| 1464 |
} |
| 1465 |
|
| 1466 |
func (m *SignatureCondition) MarshalTo(dAtA []byte) (int, error) { |
| 1467 |
var i int |
| 1468 |
_ = i |
| 1469 |
var l int |
| 1470 |
_ = l |
| 1471 |
dAtA[i] = 0xa |
| 1472 |
i++ |
| 1473 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1474 |
i += copy(dAtA[i:], m.Type) |
| 1475 |
dAtA[i] = 0x12 |
| 1476 |
i++ |
| 1477 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 1478 |
i += copy(dAtA[i:], m.Status) |
| 1479 |
dAtA[i] = 0x1a |
| 1480 |
i++ |
| 1481 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LastProbeTime.Size())) |
| 1482 |
n41, err := m.LastProbeTime.MarshalTo(dAtA[i:]) |
| 1483 |
if err != nil { |
| 1484 |
return 0, err |
| 1485 |
} |
| 1486 |
i += n41 |
| 1487 |
dAtA[i] = 0x22 |
| 1488 |
i++ |
| 1489 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 1490 |
n42, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 1491 |
if err != nil { |
| 1492 |
return 0, err |
| 1493 |
} |
| 1494 |
i += n42 |
| 1495 |
dAtA[i] = 0x2a |
| 1496 |
i++ |
| 1497 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 1498 |
i += copy(dAtA[i:], m.Reason) |
| 1499 |
dAtA[i] = 0x32 |
| 1500 |
i++ |
| 1501 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1502 |
i += copy(dAtA[i:], m.Message) |
| 1503 |
return i, nil |
| 1504 |
} |
| 1505 |
|
| 1506 |
func (m *SignatureGenericEntity) Marshal() (dAtA []byte, err error) { |
| 1507 |
size := m.Size() |
| 1508 |
dAtA = make([]byte, size) |
| 1509 |
n, err := m.MarshalTo(dAtA) |
| 1510 |
if err != nil { |
| 1511 |
return nil, err |
| 1512 |
} |
| 1513 |
return dAtA[:n], nil |
| 1514 |
} |
| 1515 |
|
| 1516 |
func (m *SignatureGenericEntity) MarshalTo(dAtA []byte) (int, error) { |
| 1517 |
var i int |
| 1518 |
_ = i |
| 1519 |
var l int |
| 1520 |
_ = l |
| 1521 |
dAtA[i] = 0xa |
| 1522 |
i++ |
| 1523 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Organization))) |
| 1524 |
i += copy(dAtA[i:], m.Organization) |
| 1525 |
dAtA[i] = 0x12 |
| 1526 |
i++ |
| 1527 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.CommonName))) |
| 1528 |
i += copy(dAtA[i:], m.CommonName) |
| 1529 |
return i, nil |
| 1530 |
} |
| 1531 |
|
| 1532 |
func (m *SignatureIssuer) Marshal() (dAtA []byte, err error) { |
| 1533 |
size := m.Size() |
| 1534 |
dAtA = make([]byte, size) |
| 1535 |
n, err := m.MarshalTo(dAtA) |
| 1536 |
if err != nil { |
| 1537 |
return nil, err |
| 1538 |
} |
| 1539 |
return dAtA[:n], nil |
| 1540 |
} |
| 1541 |
|
| 1542 |
func (m *SignatureIssuer) MarshalTo(dAtA []byte) (int, error) { |
| 1543 |
var i int |
| 1544 |
_ = i |
| 1545 |
var l int |
| 1546 |
_ = l |
| 1547 |
dAtA[i] = 0xa |
| 1548 |
i++ |
| 1549 |
i = encodeVarintGenerated(dAtA, i, uint64(m.SignatureGenericEntity.Size())) |
| 1550 |
n43, err := m.SignatureGenericEntity.MarshalTo(dAtA[i:]) |
| 1551 |
if err != nil { |
| 1552 |
return 0, err |
| 1553 |
} |
| 1554 |
i += n43 |
| 1555 |
return i, nil |
| 1556 |
} |
| 1557 |
|
| 1558 |
func (m *SignatureSubject) Marshal() (dAtA []byte, err error) { |
| 1559 |
size := m.Size() |
| 1560 |
dAtA = make([]byte, size) |
| 1561 |
n, err := m.MarshalTo(dAtA) |
| 1562 |
if err != nil { |
| 1563 |
return nil, err |
| 1564 |
} |
| 1565 |
return dAtA[:n], nil |
| 1566 |
} |
| 1567 |
|
| 1568 |
func (m *SignatureSubject) MarshalTo(dAtA []byte) (int, error) { |
| 1569 |
var i int |
| 1570 |
_ = i |
| 1571 |
var l int |
| 1572 |
_ = l |
| 1573 |
dAtA[i] = 0xa |
| 1574 |
i++ |
| 1575 |
i = encodeVarintGenerated(dAtA, i, uint64(m.SignatureGenericEntity.Size())) |
| 1576 |
n44, err := m.SignatureGenericEntity.MarshalTo(dAtA[i:]) |
| 1577 |
if err != nil { |
| 1578 |
return 0, err |
| 1579 |
} |
| 1580 |
i += n44 |
| 1581 |
dAtA[i] = 0x12 |
| 1582 |
i++ |
| 1583 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.PublicKeyID))) |
| 1584 |
i += copy(dAtA[i:], m.PublicKeyID) |
| 1585 |
return i, nil |
| 1586 |
} |
| 1587 |
|
| 1588 |
func (m *TagEvent) Marshal() (dAtA []byte, err error) { |
| 1589 |
size := m.Size() |
| 1590 |
dAtA = make([]byte, size) |
| 1591 |
n, err := m.MarshalTo(dAtA) |
| 1592 |
if err != nil { |
| 1593 |
return nil, err |
| 1594 |
} |
| 1595 |
return dAtA[:n], nil |
| 1596 |
} |
| 1597 |
|
| 1598 |
func (m *TagEvent) MarshalTo(dAtA []byte) (int, error) { |
| 1599 |
var i int |
| 1600 |
_ = i |
| 1601 |
var l int |
| 1602 |
_ = l |
| 1603 |
dAtA[i] = 0xa |
| 1604 |
i++ |
| 1605 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Created.Size())) |
| 1606 |
n45, err := m.Created.MarshalTo(dAtA[i:]) |
| 1607 |
if err != nil { |
| 1608 |
return 0, err |
| 1609 |
} |
| 1610 |
i += n45 |
| 1611 |
dAtA[i] = 0x12 |
| 1612 |
i++ |
| 1613 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DockerImageReference))) |
| 1614 |
i += copy(dAtA[i:], m.DockerImageReference) |
| 1615 |
dAtA[i] = 0x1a |
| 1616 |
i++ |
| 1617 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image))) |
| 1618 |
i += copy(dAtA[i:], m.Image) |
| 1619 |
dAtA[i] = 0x20 |
| 1620 |
i++ |
| 1621 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) |
| 1622 |
return i, nil |
| 1623 |
} |
| 1624 |
|
| 1625 |
func (m *TagEventCondition) Marshal() (dAtA []byte, err error) { |
| 1626 |
size := m.Size() |
| 1627 |
dAtA = make([]byte, size) |
| 1628 |
n, err := m.MarshalTo(dAtA) |
| 1629 |
if err != nil { |
| 1630 |
return nil, err |
| 1631 |
} |
| 1632 |
return dAtA[:n], nil |
| 1633 |
} |
| 1634 |
|
| 1635 |
func (m *TagEventCondition) MarshalTo(dAtA []byte) (int, error) { |
| 1636 |
var i int |
| 1637 |
_ = i |
| 1638 |
var l int |
| 1639 |
_ = l |
| 1640 |
dAtA[i] = 0xa |
| 1641 |
i++ |
| 1642 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1643 |
i += copy(dAtA[i:], m.Type) |
| 1644 |
dAtA[i] = 0x12 |
| 1645 |
i++ |
| 1646 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 1647 |
i += copy(dAtA[i:], m.Status) |
| 1648 |
dAtA[i] = 0x1a |
| 1649 |
i++ |
| 1650 |
i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 1651 |
n46, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 1652 |
if err != nil { |
| 1653 |
return 0, err |
| 1654 |
} |
| 1655 |
i += n46 |
| 1656 |
dAtA[i] = 0x22 |
| 1657 |
i++ |
| 1658 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 1659 |
i += copy(dAtA[i:], m.Reason) |
| 1660 |
dAtA[i] = 0x2a |
| 1661 |
i++ |
| 1662 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1663 |
i += copy(dAtA[i:], m.Message) |
| 1664 |
dAtA[i] = 0x30 |
| 1665 |
i++ |
| 1666 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) |
| 1667 |
return i, nil |
| 1668 |
} |
| 1669 |
|
| 1670 |
func (m *TagImportPolicy) Marshal() (dAtA []byte, err error) { |
| 1671 |
size := m.Size() |
| 1672 |
dAtA = make([]byte, size) |
| 1673 |
n, err := m.MarshalTo(dAtA) |
| 1674 |
if err != nil { |
| 1675 |
return nil, err |
| 1676 |
} |
| 1677 |
return dAtA[:n], nil |
| 1678 |
} |
| 1679 |
|
| 1680 |
func (m *TagImportPolicy) MarshalTo(dAtA []byte) (int, error) { |
| 1681 |
var i int |
| 1682 |
_ = i |
| 1683 |
var l int |
| 1684 |
_ = l |
| 1685 |
dAtA[i] = 0x8 |
| 1686 |
i++ |
| 1687 |
if m.Insecure { |
| 1688 |
dAtA[i] = 1 |
| 1689 |
} else { |
| 1690 |
dAtA[i] = 0 |
| 1691 |
} |
| 1692 |
i++ |
| 1693 |
dAtA[i] = 0x10 |
| 1694 |
i++ |
| 1695 |
if m.Scheduled { |
| 1696 |
dAtA[i] = 1 |
| 1697 |
} else { |
| 1698 |
dAtA[i] = 0 |
| 1699 |
} |
| 1700 |
i++ |
| 1701 |
return i, nil |
| 1702 |
} |
| 1703 |
|
| 1704 |
func (m *TagReference) Marshal() (dAtA []byte, err error) { |
| 1705 |
size := m.Size() |
| 1706 |
dAtA = make([]byte, size) |
| 1707 |
n, err := m.MarshalTo(dAtA) |
| 1708 |
if err != nil { |
| 1709 |
return nil, err |
| 1710 |
} |
| 1711 |
return dAtA[:n], nil |
| 1712 |
} |
| 1713 |
|
| 1714 |
func (m *TagReference) MarshalTo(dAtA []byte) (int, error) { |
| 1715 |
var i int |
| 1716 |
_ = i |
| 1717 |
var l int |
| 1718 |
_ = l |
| 1719 |
dAtA[i] = 0xa |
| 1720 |
i++ |
| 1721 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1722 |
i += copy(dAtA[i:], m.Name) |
| 1723 |
if len(m.Annotations) > 0 { |
| 1724 |
keysForAnnotations := make([]string, 0, len(m.Annotations)) |
| 1725 |
for k := range m.Annotations { |
| 1726 |
keysForAnnotations = append(keysForAnnotations, string(k)) |
| 1727 |
} |
| 1728 |
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) |
| 1729 |
for _, k := range keysForAnnotations { |
| 1730 |
dAtA[i] = 0x12 |
| 1731 |
i++ |
| 1732 |
v := m.Annotations[string(k)] |
| 1733 |
mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1734 |
i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1735 |
dAtA[i] = 0xa |
| 1736 |
i++ |
| 1737 |
i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1738 |
i += copy(dAtA[i:], k) |
| 1739 |
dAtA[i] = 0x12 |
| 1740 |
i++ |
| 1741 |
i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 1742 |
i += copy(dAtA[i:], v) |
| 1743 |
} |
| 1744 |
} |
| 1745 |
if m.From != nil { |
| 1746 |
dAtA[i] = 0x1a |
| 1747 |
i++ |
| 1748 |
i = encodeVarintGenerated(dAtA, i, uint64(m.From.Size())) |
| 1749 |
n47, err := m.From.MarshalTo(dAtA[i:]) |
| 1750 |
if err != nil { |
| 1751 |
return 0, err |
| 1752 |
} |
| 1753 |
i += n47 |
| 1754 |
} |
| 1755 |
dAtA[i] = 0x20 |
| 1756 |
i++ |
| 1757 |
if m.Reference { |
| 1758 |
dAtA[i] = 1 |
| 1759 |
} else { |
| 1760 |
dAtA[i] = 0 |
| 1761 |
} |
| 1762 |
i++ |
| 1763 |
if m.Generation != nil { |
| 1764 |
dAtA[i] = 0x28 |
| 1765 |
i++ |
| 1766 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.Generation)) |
| 1767 |
} |
| 1768 |
dAtA[i] = 0x32 |
| 1769 |
i++ |
| 1770 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ImportPolicy.Size())) |
| 1771 |
n48, err := m.ImportPolicy.MarshalTo(dAtA[i:]) |
| 1772 |
if err != nil { |
| 1773 |
return 0, err |
| 1774 |
} |
| 1775 |
i += n48 |
| 1776 |
dAtA[i] = 0x3a |
| 1777 |
i++ |
| 1778 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ReferencePolicy.Size())) |
| 1779 |
n49, err := m.ReferencePolicy.MarshalTo(dAtA[i:]) |
| 1780 |
if err != nil { |
| 1781 |
return 0, err |
| 1782 |
} |
| 1783 |
i += n49 |
| 1784 |
return i, nil |
| 1785 |
} |
| 1786 |
|
| 1787 |
func (m *TagReferencePolicy) Marshal() (dAtA []byte, err error) { |
| 1788 |
size := m.Size() |
| 1789 |
dAtA = make([]byte, size) |
| 1790 |
n, err := m.MarshalTo(dAtA) |
| 1791 |
if err != nil { |
| 1792 |
return nil, err |
| 1793 |
} |
| 1794 |
return dAtA[:n], nil |
| 1795 |
} |
| 1796 |
|
| 1797 |
func (m *TagReferencePolicy) MarshalTo(dAtA []byte) (int, error) { |
| 1798 |
var i int |
| 1799 |
_ = i |
| 1800 |
var l int |
| 1801 |
_ = l |
| 1802 |
dAtA[i] = 0xa |
| 1803 |
i++ |
| 1804 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1805 |
i += copy(dAtA[i:], m.Type) |
| 1806 |
return i, nil |
| 1807 |
} |
| 1808 |
|
| 1809 |
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 1810 |
for v >= 1<<7 { |
| 1811 |
dAtA[offset] = uint8(v&0x7f | 0x80) |
| 1812 |
v >>= 7 |
| 1813 |
offset++ |
| 1814 |
} |
| 1815 |
dAtA[offset] = uint8(v) |
| 1816 |
return offset + 1 |
| 1817 |
} |
| 1818 |
func (m *DockerImageReference) Size() (n int) { |
| 1819 |
var l int |
| 1820 |
_ = l |
| 1821 |
l = len(m.Registry) |
| 1822 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1823 |
l = len(m.Namespace) |
| 1824 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1825 |
l = len(m.Name) |
| 1826 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1827 |
l = len(m.Tag) |
| 1828 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1829 |
l = len(m.ID) |
| 1830 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1831 |
return n |
| 1832 |
} |
| 1833 |
|
| 1834 |
func (m *Image) Size() (n int) { |
| 1835 |
var l int |
| 1836 |
_ = l |
| 1837 |
l = m.ObjectMeta.Size() |
| 1838 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1839 |
l = len(m.DockerImageReference) |
| 1840 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1841 |
l = m.DockerImageMetadata.Size() |
| 1842 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1843 |
l = len(m.DockerImageMetadataVersion) |
| 1844 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1845 |
l = len(m.DockerImageManifest) |
| 1846 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1847 |
if len(m.DockerImageLayers) > 0 { |
| 1848 |
for _, e := range m.DockerImageLayers { |
| 1849 |
l = e.Size() |
| 1850 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1851 |
} |
| 1852 |
} |
| 1853 |
if len(m.Signatures) > 0 { |
| 1854 |
for _, e := range m.Signatures { |
| 1855 |
l = e.Size() |
| 1856 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1857 |
} |
| 1858 |
} |
| 1859 |
if len(m.DockerImageSignatures) > 0 { |
| 1860 |
for _, b := range m.DockerImageSignatures { |
| 1861 |
l = len(b) |
| 1862 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1863 |
} |
| 1864 |
} |
| 1865 |
l = len(m.DockerImageManifestMediaType) |
| 1866 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1867 |
l = len(m.DockerImageConfig) |
| 1868 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1869 |
return n |
| 1870 |
} |
| 1871 |
|
| 1872 |
func (m *ImageBlobReferences) Size() (n int) { |
| 1873 |
var l int |
| 1874 |
_ = l |
| 1875 |
if len(m.Layers) > 0 { |
| 1876 |
for _, s := range m.Layers { |
| 1877 |
l = len(s) |
| 1878 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1879 |
} |
| 1880 |
} |
| 1881 |
if m.Config != nil { |
| 1882 |
l = len(*m.Config) |
| 1883 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1884 |
} |
| 1885 |
n += 2 |
| 1886 |
return n |
| 1887 |
} |
| 1888 |
|
| 1889 |
func (m *ImageImportSpec) Size() (n int) { |
| 1890 |
var l int |
| 1891 |
_ = l |
| 1892 |
l = m.From.Size() |
| 1893 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1894 |
if m.To != nil { |
| 1895 |
l = m.To.Size() |
| 1896 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1897 |
} |
| 1898 |
l = m.ImportPolicy.Size() |
| 1899 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1900 |
n += 2 |
| 1901 |
l = m.ReferencePolicy.Size() |
| 1902 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1903 |
return n |
| 1904 |
} |
| 1905 |
|
| 1906 |
func (m *ImageImportStatus) Size() (n int) { |
| 1907 |
var l int |
| 1908 |
_ = l |
| 1909 |
l = m.Status.Size() |
| 1910 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1911 |
if m.Image != nil { |
| 1912 |
l = m.Image.Size() |
| 1913 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1914 |
} |
| 1915 |
l = len(m.Tag) |
| 1916 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1917 |
return n |
| 1918 |
} |
| 1919 |
|
| 1920 |
func (m *ImageLayer) Size() (n int) { |
| 1921 |
var l int |
| 1922 |
_ = l |
| 1923 |
l = len(m.Name) |
| 1924 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1925 |
n += 1 + sovGenerated(uint64(m.LayerSize)) |
| 1926 |
l = len(m.MediaType) |
| 1927 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1928 |
return n |
| 1929 |
} |
| 1930 |
|
| 1931 |
func (m *ImageLayerData) Size() (n int) { |
| 1932 |
var l int |
| 1933 |
_ = l |
| 1934 |
if m.LayerSize != nil { |
| 1935 |
n += 1 + sovGenerated(uint64(*m.LayerSize)) |
| 1936 |
} |
| 1937 |
l = len(m.MediaType) |
| 1938 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1939 |
return n |
| 1940 |
} |
| 1941 |
|
| 1942 |
func (m *ImageList) Size() (n int) { |
| 1943 |
var l int |
| 1944 |
_ = l |
| 1945 |
l = m.ListMeta.Size() |
| 1946 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1947 |
if len(m.Items) > 0 { |
| 1948 |
for _, e := range m.Items { |
| 1949 |
l = e.Size() |
| 1950 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1951 |
} |
| 1952 |
} |
| 1953 |
return n |
| 1954 |
} |
| 1955 |
|
| 1956 |
func (m *ImageLookupPolicy) Size() (n int) { |
| 1957 |
var l int |
| 1958 |
_ = l |
| 1959 |
n += 2 |
| 1960 |
return n |
| 1961 |
} |
| 1962 |
|
| 1963 |
func (m *ImageSignature) Size() (n int) { |
| 1964 |
var l int |
| 1965 |
_ = l |
| 1966 |
l = m.ObjectMeta.Size() |
| 1967 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1968 |
l = len(m.Type) |
| 1969 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1970 |
if m.Content != nil { |
| 1971 |
l = len(m.Content) |
| 1972 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1973 |
} |
| 1974 |
if len(m.Conditions) > 0 { |
| 1975 |
for _, e := range m.Conditions { |
| 1976 |
l = e.Size() |
| 1977 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1978 |
} |
| 1979 |
} |
| 1980 |
l = len(m.ImageIdentity) |
| 1981 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1982 |
if len(m.SignedClaims) > 0 { |
| 1983 |
for k, v := range m.SignedClaims { |
| 1984 |
_ = k |
| 1985 |
_ = v |
| 1986 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1987 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 1988 |
} |
| 1989 |
} |
| 1990 |
if m.Created != nil { |
| 1991 |
l = m.Created.Size() |
| 1992 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1993 |
} |
| 1994 |
if m.IssuedBy != nil { |
| 1995 |
l = m.IssuedBy.Size() |
| 1996 |
n += 1 + l + sovGenerated(uint64(l)) |
| 1997 |
} |
| 1998 |
if m.IssuedTo != nil { |
| 1999 |
l = m.IssuedTo.Size() |
| 2000 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2001 |
} |
| 2002 |
return n |
| 2003 |
} |
| 2004 |
|
| 2005 |
func (m *ImageStream) Size() (n int) { |
| 2006 |
var l int |
| 2007 |
_ = l |
| 2008 |
l = m.ObjectMeta.Size() |
| 2009 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2010 |
l = m.Spec.Size() |
| 2011 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2012 |
l = m.Status.Size() |
| 2013 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2014 |
return n |
| 2015 |
} |
| 2016 |
|
| 2017 |
func (m *ImageStreamImage) Size() (n int) { |
| 2018 |
var l int |
| 2019 |
_ = l |
| 2020 |
l = m.ObjectMeta.Size() |
| 2021 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2022 |
l = m.Image.Size() |
| 2023 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2024 |
return n |
| 2025 |
} |
| 2026 |
|
| 2027 |
func (m *ImageStreamImport) Size() (n int) { |
| 2028 |
var l int |
| 2029 |
_ = l |
| 2030 |
l = m.ObjectMeta.Size() |
| 2031 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2032 |
l = m.Spec.Size() |
| 2033 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2034 |
l = m.Status.Size() |
| 2035 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2036 |
return n |
| 2037 |
} |
| 2038 |
|
| 2039 |
func (m *ImageStreamImportSpec) Size() (n int) { |
| 2040 |
var l int |
| 2041 |
_ = l |
| 2042 |
n += 2 |
| 2043 |
if m.Repository != nil { |
| 2044 |
l = m.Repository.Size() |
| 2045 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2046 |
} |
| 2047 |
if len(m.Images) > 0 { |
| 2048 |
for _, e := range m.Images { |
| 2049 |
l = e.Size() |
| 2050 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2051 |
} |
| 2052 |
} |
| 2053 |
return n |
| 2054 |
} |
| 2055 |
|
| 2056 |
func (m *ImageStreamImportStatus) Size() (n int) { |
| 2057 |
var l int |
| 2058 |
_ = l |
| 2059 |
if m.Import != nil { |
| 2060 |
l = m.Import.Size() |
| 2061 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2062 |
} |
| 2063 |
if m.Repository != nil { |
| 2064 |
l = m.Repository.Size() |
| 2065 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2066 |
} |
| 2067 |
if len(m.Images) > 0 { |
| 2068 |
for _, e := range m.Images { |
| 2069 |
l = e.Size() |
| 2070 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2071 |
} |
| 2072 |
} |
| 2073 |
return n |
| 2074 |
} |
| 2075 |
|
| 2076 |
func (m *ImageStreamLayers) Size() (n int) { |
| 2077 |
var l int |
| 2078 |
_ = l |
| 2079 |
l = m.ObjectMeta.Size() |
| 2080 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2081 |
if len(m.Blobs) > 0 { |
| 2082 |
for k, v := range m.Blobs { |
| 2083 |
_ = k |
| 2084 |
_ = v |
| 2085 |
l = v.Size() |
| 2086 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l)) |
| 2087 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2088 |
} |
| 2089 |
} |
| 2090 |
if len(m.Images) > 0 { |
| 2091 |
for k, v := range m.Images { |
| 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 |
|
| 2102 |
func (m *ImageStreamList) Size() (n int) { |
| 2103 |
var l int |
| 2104 |
_ = l |
| 2105 |
l = m.ListMeta.Size() |
| 2106 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2107 |
if len(m.Items) > 0 { |
| 2108 |
for _, e := range m.Items { |
| 2109 |
l = e.Size() |
| 2110 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2111 |
} |
| 2112 |
} |
| 2113 |
return n |
| 2114 |
} |
| 2115 |
|
| 2116 |
func (m *ImageStreamMapping) Size() (n int) { |
| 2117 |
var l int |
| 2118 |
_ = l |
| 2119 |
l = m.ObjectMeta.Size() |
| 2120 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2121 |
l = m.Image.Size() |
| 2122 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2123 |
l = len(m.Tag) |
| 2124 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2125 |
return n |
| 2126 |
} |
| 2127 |
|
| 2128 |
func (m *ImageStreamSpec) Size() (n int) { |
| 2129 |
var l int |
| 2130 |
_ = l |
| 2131 |
l = len(m.DockerImageRepository) |
| 2132 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2133 |
if len(m.Tags) > 0 { |
| 2134 |
for _, e := range m.Tags { |
| 2135 |
l = e.Size() |
| 2136 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2137 |
} |
| 2138 |
} |
| 2139 |
l = m.LookupPolicy.Size() |
| 2140 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2141 |
return n |
| 2142 |
} |
| 2143 |
|
| 2144 |
func (m *ImageStreamStatus) Size() (n int) { |
| 2145 |
var l int |
| 2146 |
_ = l |
| 2147 |
l = len(m.DockerImageRepository) |
| 2148 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2149 |
if len(m.Tags) > 0 { |
| 2150 |
for _, e := range m.Tags { |
| 2151 |
l = e.Size() |
| 2152 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2153 |
} |
| 2154 |
} |
| 2155 |
l = len(m.PublicDockerImageRepository) |
| 2156 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2157 |
return n |
| 2158 |
} |
| 2159 |
|
| 2160 |
func (m *ImageStreamTag) Size() (n int) { |
| 2161 |
var l int |
| 2162 |
_ = l |
| 2163 |
l = m.ObjectMeta.Size() |
| 2164 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2165 |
if m.Tag != nil { |
| 2166 |
l = m.Tag.Size() |
| 2167 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2168 |
} |
| 2169 |
n += 1 + sovGenerated(uint64(m.Generation)) |
| 2170 |
if len(m.Conditions) > 0 { |
| 2171 |
for _, e := range m.Conditions { |
| 2172 |
l = e.Size() |
| 2173 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2174 |
} |
| 2175 |
} |
| 2176 |
l = m.Image.Size() |
| 2177 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2178 |
l = m.LookupPolicy.Size() |
| 2179 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2180 |
return n |
| 2181 |
} |
| 2182 |
|
| 2183 |
func (m *ImageStreamTagList) Size() (n int) { |
| 2184 |
var l int |
| 2185 |
_ = l |
| 2186 |
l = m.ListMeta.Size() |
| 2187 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2188 |
if len(m.Items) > 0 { |
| 2189 |
for _, e := range m.Items { |
| 2190 |
l = e.Size() |
| 2191 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2192 |
} |
| 2193 |
} |
| 2194 |
return n |
| 2195 |
} |
| 2196 |
|
| 2197 |
func (m *NamedTagEventList) Size() (n int) { |
| 2198 |
var l int |
| 2199 |
_ = l |
| 2200 |
l = len(m.Tag) |
| 2201 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2202 |
if len(m.Items) > 0 { |
| 2203 |
for _, e := range m.Items { |
| 2204 |
l = e.Size() |
| 2205 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2206 |
} |
| 2207 |
} |
| 2208 |
if len(m.Conditions) > 0 { |
| 2209 |
for _, e := range m.Conditions { |
| 2210 |
l = e.Size() |
| 2211 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2212 |
} |
| 2213 |
} |
| 2214 |
return n |
| 2215 |
} |
| 2216 |
|
| 2217 |
func (m *RepositoryImportSpec) Size() (n int) { |
| 2218 |
var l int |
| 2219 |
_ = l |
| 2220 |
l = m.From.Size() |
| 2221 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2222 |
l = m.ImportPolicy.Size() |
| 2223 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2224 |
n += 2 |
| 2225 |
l = m.ReferencePolicy.Size() |
| 2226 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2227 |
return n |
| 2228 |
} |
| 2229 |
|
| 2230 |
func (m *RepositoryImportStatus) Size() (n int) { |
| 2231 |
var l int |
| 2232 |
_ = l |
| 2233 |
l = m.Status.Size() |
| 2234 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2235 |
if len(m.Images) > 0 { |
| 2236 |
for _, e := range m.Images { |
| 2237 |
l = e.Size() |
| 2238 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2239 |
} |
| 2240 |
} |
| 2241 |
if len(m.AdditionalTags) > 0 { |
| 2242 |
for _, s := range m.AdditionalTags { |
| 2243 |
l = len(s) |
| 2244 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2245 |
} |
| 2246 |
} |
| 2247 |
return n |
| 2248 |
} |
| 2249 |
|
| 2250 |
func (m *SignatureCondition) Size() (n int) { |
| 2251 |
var l int |
| 2252 |
_ = l |
| 2253 |
l = len(m.Type) |
| 2254 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2255 |
l = len(m.Status) |
| 2256 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2257 |
l = m.LastProbeTime.Size() |
| 2258 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2259 |
l = m.LastTransitionTime.Size() |
| 2260 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2261 |
l = len(m.Reason) |
| 2262 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2263 |
l = len(m.Message) |
| 2264 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2265 |
return n |
| 2266 |
} |
| 2267 |
|
| 2268 |
func (m *SignatureGenericEntity) Size() (n int) { |
| 2269 |
var l int |
| 2270 |
_ = l |
| 2271 |
l = len(m.Organization) |
| 2272 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2273 |
l = len(m.CommonName) |
| 2274 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2275 |
return n |
| 2276 |
} |
| 2277 |
|
| 2278 |
func (m *SignatureIssuer) Size() (n int) { |
| 2279 |
var l int |
| 2280 |
_ = l |
| 2281 |
l = m.SignatureGenericEntity.Size() |
| 2282 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2283 |
return n |
| 2284 |
} |
| 2285 |
|
| 2286 |
func (m *SignatureSubject) Size() (n int) { |
| 2287 |
var l int |
| 2288 |
_ = l |
| 2289 |
l = m.SignatureGenericEntity.Size() |
| 2290 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2291 |
l = len(m.PublicKeyID) |
| 2292 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2293 |
return n |
| 2294 |
} |
| 2295 |
|
| 2296 |
func (m *TagEvent) Size() (n int) { |
| 2297 |
var l int |
| 2298 |
_ = l |
| 2299 |
l = m.Created.Size() |
| 2300 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2301 |
l = len(m.DockerImageReference) |
| 2302 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2303 |
l = len(m.Image) |
| 2304 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2305 |
n += 1 + sovGenerated(uint64(m.Generation)) |
| 2306 |
return n |
| 2307 |
} |
| 2308 |
|
| 2309 |
func (m *TagEventCondition) Size() (n int) { |
| 2310 |
var l int |
| 2311 |
_ = l |
| 2312 |
l = len(m.Type) |
| 2313 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2314 |
l = len(m.Status) |
| 2315 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2316 |
l = m.LastTransitionTime.Size() |
| 2317 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2318 |
l = len(m.Reason) |
| 2319 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2320 |
l = len(m.Message) |
| 2321 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2322 |
n += 1 + sovGenerated(uint64(m.Generation)) |
| 2323 |
return n |
| 2324 |
} |
| 2325 |
|
| 2326 |
func (m *TagImportPolicy) Size() (n int) { |
| 2327 |
var l int |
| 2328 |
_ = l |
| 2329 |
n += 2 |
| 2330 |
n += 2 |
| 2331 |
return n |
| 2332 |
} |
| 2333 |
|
| 2334 |
func (m *TagReference) Size() (n int) { |
| 2335 |
var l int |
| 2336 |
_ = l |
| 2337 |
l = len(m.Name) |
| 2338 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2339 |
if len(m.Annotations) > 0 { |
| 2340 |
for k, v := range m.Annotations { |
| 2341 |
_ = k |
| 2342 |
_ = v |
| 2343 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 2344 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 2345 |
} |
| 2346 |
} |
| 2347 |
if m.From != nil { |
| 2348 |
l = m.From.Size() |
| 2349 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2350 |
} |
| 2351 |
n += 2 |
| 2352 |
if m.Generation != nil { |
| 2353 |
n += 1 + sovGenerated(uint64(*m.Generation)) |
| 2354 |
} |
| 2355 |
l = m.ImportPolicy.Size() |
| 2356 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2357 |
l = m.ReferencePolicy.Size() |
| 2358 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2359 |
return n |
| 2360 |
} |
| 2361 |
|
| 2362 |
func (m *TagReferencePolicy) Size() (n int) { |
| 2363 |
var l int |
| 2364 |
_ = l |
| 2365 |
l = len(m.Type) |
| 2366 |
n += 1 + l + sovGenerated(uint64(l)) |
| 2367 |
return n |
| 2368 |
} |
| 2369 |
|
| 2370 |
func sovGenerated(x uint64) (n int) { |
| 2371 |
for { |
| 2372 |
n++ |
| 2373 |
x >>= 7 |
| 2374 |
if x == 0 { |
| 2375 |
break |
| 2376 |
} |
| 2377 |
} |
| 2378 |
return n |
| 2379 |
} |
| 2380 |
func sozGenerated(x uint64) (n int) { |
| 2381 |
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 2382 |
} |
| 2383 |
func (this *DockerImageReference) String() string { |
| 2384 |
if this == nil { |
| 2385 |
return "nil" |
| 2386 |
} |
| 2387 |
s := strings.Join([]string{`&DockerImageReference{`, |
| 2388 |
`Registry:` + fmt.Sprintf("%v", this.Registry) + `,`, |
| 2389 |
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, |
| 2390 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2391 |
`Tag:` + fmt.Sprintf("%v", this.Tag) + `,`, |
| 2392 |
`ID:` + fmt.Sprintf("%v", this.ID) + `,`, |
| 2393 |
`}`, |
| 2394 |
}, "") |
| 2395 |
return s |
| 2396 |
} |
| 2397 |
func (this *Image) String() string { |
| 2398 |
if this == nil { |
| 2399 |
return "nil" |
| 2400 |
} |
| 2401 |
s := strings.Join([]string{`&Image{`, |
| 2402 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2403 |
`DockerImageReference:` + fmt.Sprintf("%v", this.DockerImageReference) + `,`, |
| 2404 |
`DockerImageMetadata:` + strings.Replace(strings.Replace(this.DockerImageMetadata.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, |
| 2405 |
`DockerImageMetadataVersion:` + fmt.Sprintf("%v", this.DockerImageMetadataVersion) + `,`, |
| 2406 |
`DockerImageManifest:` + fmt.Sprintf("%v", this.DockerImageManifest) + `,`, |
| 2407 |
`DockerImageLayers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.DockerImageLayers), "ImageLayer", "ImageLayer", 1), `&`, ``, 1) + `,`, |
| 2408 |
`Signatures:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Signatures), "ImageSignature", "ImageSignature", 1), `&`, ``, 1) + `,`, |
| 2409 |
`DockerImageSignatures:` + fmt.Sprintf("%v", this.DockerImageSignatures) + `,`, |
| 2410 |
`DockerImageManifestMediaType:` + fmt.Sprintf("%v", this.DockerImageManifestMediaType) + `,`, |
| 2411 |
`DockerImageConfig:` + fmt.Sprintf("%v", this.DockerImageConfig) + `,`, |
| 2412 |
`}`, |
| 2413 |
}, "") |
| 2414 |
return s |
| 2415 |
} |
| 2416 |
func (this *ImageBlobReferences) String() string { |
| 2417 |
if this == nil { |
| 2418 |
return "nil" |
| 2419 |
} |
| 2420 |
s := strings.Join([]string{`&ImageBlobReferences{`, |
| 2421 |
`Layers:` + fmt.Sprintf("%v", this.Layers) + `,`, |
| 2422 |
`Config:` + valueToStringGenerated(this.Config) + `,`, |
| 2423 |
`ImageMissing:` + fmt.Sprintf("%v", this.ImageMissing) + `,`, |
| 2424 |
`}`, |
| 2425 |
}, "") |
| 2426 |
return s |
| 2427 |
} |
| 2428 |
func (this *ImageImportSpec) String() string { |
| 2429 |
if this == nil { |
| 2430 |
return "nil" |
| 2431 |
} |
| 2432 |
s := strings.Join([]string{`&ImageImportSpec{`, |
| 2433 |
`From:` + strings.Replace(strings.Replace(this.From.String(), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1), `&`, ``, 1) + `,`, |
| 2434 |
`To:` + strings.Replace(fmt.Sprintf("%v", this.To), "LocalObjectReference", "k8s_io_api_core_v1.LocalObjectReference", 1) + `,`, |
| 2435 |
`ImportPolicy:` + strings.Replace(strings.Replace(this.ImportPolicy.String(), "TagImportPolicy", "TagImportPolicy", 1), `&`, ``, 1) + `,`, |
| 2436 |
`IncludeManifest:` + fmt.Sprintf("%v", this.IncludeManifest) + `,`, |
| 2437 |
`ReferencePolicy:` + strings.Replace(strings.Replace(this.ReferencePolicy.String(), "TagReferencePolicy", "TagReferencePolicy", 1), `&`, ``, 1) + `,`, |
| 2438 |
`}`, |
| 2439 |
}, "") |
| 2440 |
return s |
| 2441 |
} |
| 2442 |
func (this *ImageImportStatus) String() string { |
| 2443 |
if this == nil { |
| 2444 |
return "nil" |
| 2445 |
} |
| 2446 |
s := strings.Join([]string{`&ImageImportStatus{`, |
| 2447 |
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "Status", "k8s_io_apimachinery_pkg_apis_meta_v1.Status", 1), `&`, ``, 1) + `,`, |
| 2448 |
`Image:` + strings.Replace(fmt.Sprintf("%v", this.Image), "Image", "Image", 1) + `,`, |
| 2449 |
`Tag:` + fmt.Sprintf("%v", this.Tag) + `,`, |
| 2450 |
`}`, |
| 2451 |
}, "") |
| 2452 |
return s |
| 2453 |
} |
| 2454 |
func (this *ImageLayer) String() string { |
| 2455 |
if this == nil { |
| 2456 |
return "nil" |
| 2457 |
} |
| 2458 |
s := strings.Join([]string{`&ImageLayer{`, |
| 2459 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2460 |
`LayerSize:` + fmt.Sprintf("%v", this.LayerSize) + `,`, |
| 2461 |
`MediaType:` + fmt.Sprintf("%v", this.MediaType) + `,`, |
| 2462 |
`}`, |
| 2463 |
}, "") |
| 2464 |
return s |
| 2465 |
} |
| 2466 |
func (this *ImageLayerData) String() string { |
| 2467 |
if this == nil { |
| 2468 |
return "nil" |
| 2469 |
} |
| 2470 |
s := strings.Join([]string{`&ImageLayerData{`, |
| 2471 |
`LayerSize:` + valueToStringGenerated(this.LayerSize) + `,`, |
| 2472 |
`MediaType:` + fmt.Sprintf("%v", this.MediaType) + `,`, |
| 2473 |
`}`, |
| 2474 |
}, "") |
| 2475 |
return s |
| 2476 |
} |
| 2477 |
func (this *ImageList) String() string { |
| 2478 |
if this == nil { |
| 2479 |
return "nil" |
| 2480 |
} |
| 2481 |
s := strings.Join([]string{`&ImageList{`, |
| 2482 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2483 |
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Image", "Image", 1), `&`, ``, 1) + `,`, |
| 2484 |
`}`, |
| 2485 |
}, "") |
| 2486 |
return s |
| 2487 |
} |
| 2488 |
func (this *ImageLookupPolicy) String() string { |
| 2489 |
if this == nil { |
| 2490 |
return "nil" |
| 2491 |
} |
| 2492 |
s := strings.Join([]string{`&ImageLookupPolicy{`, |
| 2493 |
`Local:` + fmt.Sprintf("%v", this.Local) + `,`, |
| 2494 |
`}`, |
| 2495 |
}, "") |
| 2496 |
return s |
| 2497 |
} |
| 2498 |
func (this *ImageSignature) String() string { |
| 2499 |
if this == nil { |
| 2500 |
return "nil" |
| 2501 |
} |
| 2502 |
keysForSignedClaims := make([]string, 0, len(this.SignedClaims)) |
| 2503 |
for k := range this.SignedClaims { |
| 2504 |
keysForSignedClaims = append(keysForSignedClaims, k) |
| 2505 |
} |
| 2506 |
github_com_gogo_protobuf_sortkeys.Strings(keysForSignedClaims) |
| 2507 |
mapStringForSignedClaims := "map[string]string{" |
| 2508 |
for _, k := range keysForSignedClaims { |
| 2509 |
mapStringForSignedClaims += fmt.Sprintf("%v: %v,", k, this.SignedClaims[k]) |
| 2510 |
} |
| 2511 |
mapStringForSignedClaims += "}" |
| 2512 |
s := strings.Join([]string{`&ImageSignature{`, |
| 2513 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2514 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2515 |
`Content:` + valueToStringGenerated(this.Content) + `,`, |
| 2516 |
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "SignatureCondition", "SignatureCondition", 1), `&`, ``, 1) + `,`, |
| 2517 |
`ImageIdentity:` + fmt.Sprintf("%v", this.ImageIdentity) + `,`, |
| 2518 |
`SignedClaims:` + mapStringForSignedClaims + `,`, |
| 2519 |
`Created:` + strings.Replace(fmt.Sprintf("%v", this.Created), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, |
| 2520 |
`IssuedBy:` + strings.Replace(fmt.Sprintf("%v", this.IssuedBy), "SignatureIssuer", "SignatureIssuer", 1) + `,`, |
| 2521 |
`IssuedTo:` + strings.Replace(fmt.Sprintf("%v", this.IssuedTo), "SignatureSubject", "SignatureSubject", 1) + `,`, |
| 2522 |
`}`, |
| 2523 |
}, "") |
| 2524 |
return s |
| 2525 |
} |
| 2526 |
func (this *ImageStream) String() string { |
| 2527 |
if this == nil { |
| 2528 |
return "nil" |
| 2529 |
} |
| 2530 |
s := strings.Join([]string{`&ImageStream{`, |
| 2531 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2532 |
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ImageStreamSpec", "ImageStreamSpec", 1), `&`, ``, 1) + `,`, |
| 2533 |
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ImageStreamStatus", "ImageStreamStatus", 1), `&`, ``, 1) + `,`, |
| 2534 |
`}`, |
| 2535 |
}, "") |
| 2536 |
return s |
| 2537 |
} |
| 2538 |
func (this *ImageStreamImage) String() string { |
| 2539 |
if this == nil { |
| 2540 |
return "nil" |
| 2541 |
} |
| 2542 |
s := strings.Join([]string{`&ImageStreamImage{`, |
| 2543 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2544 |
`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`, |
| 2545 |
`}`, |
| 2546 |
}, "") |
| 2547 |
return s |
| 2548 |
} |
| 2549 |
func (this *ImageStreamImport) String() string { |
| 2550 |
if this == nil { |
| 2551 |
return "nil" |
| 2552 |
} |
| 2553 |
s := strings.Join([]string{`&ImageStreamImport{`, |
| 2554 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2555 |
`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ImageStreamImportSpec", "ImageStreamImportSpec", 1), `&`, ``, 1) + `,`, |
| 2556 |
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "ImageStreamImportStatus", "ImageStreamImportStatus", 1), `&`, ``, 1) + `,`, |
| 2557 |
`}`, |
| 2558 |
}, "") |
| 2559 |
return s |
| 2560 |
} |
| 2561 |
func (this *ImageStreamImportSpec) String() string { |
| 2562 |
if this == nil { |
| 2563 |
return "nil" |
| 2564 |
} |
| 2565 |
s := strings.Join([]string{`&ImageStreamImportSpec{`, |
| 2566 |
`Import:` + fmt.Sprintf("%v", this.Import) + `,`, |
| 2567 |
`Repository:` + strings.Replace(fmt.Sprintf("%v", this.Repository), "RepositoryImportSpec", "RepositoryImportSpec", 1) + `,`, |
| 2568 |
`Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ImageImportSpec", "ImageImportSpec", 1), `&`, ``, 1) + `,`, |
| 2569 |
`}`, |
| 2570 |
}, "") |
| 2571 |
return s |
| 2572 |
} |
| 2573 |
func (this *ImageStreamImportStatus) String() string { |
| 2574 |
if this == nil { |
| 2575 |
return "nil" |
| 2576 |
} |
| 2577 |
s := strings.Join([]string{`&ImageStreamImportStatus{`, |
| 2578 |
`Import:` + strings.Replace(fmt.Sprintf("%v", this.Import), "ImageStream", "ImageStream", 1) + `,`, |
| 2579 |
`Repository:` + strings.Replace(fmt.Sprintf("%v", this.Repository), "RepositoryImportStatus", "RepositoryImportStatus", 1) + `,`, |
| 2580 |
`Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ImageImportStatus", "ImageImportStatus", 1), `&`, ``, 1) + `,`, |
| 2581 |
`}`, |
| 2582 |
}, "") |
| 2583 |
return s |
| 2584 |
} |
| 2585 |
func (this *ImageStreamLayers) String() string { |
| 2586 |
if this == nil { |
| 2587 |
return "nil" |
| 2588 |
} |
| 2589 |
keysForBlobs := make([]string, 0, len(this.Blobs)) |
| 2590 |
for k := range this.Blobs { |
| 2591 |
keysForBlobs = append(keysForBlobs, k) |
| 2592 |
} |
| 2593 |
github_com_gogo_protobuf_sortkeys.Strings(keysForBlobs) |
| 2594 |
mapStringForBlobs := "map[string]ImageLayerData{" |
| 2595 |
for _, k := range keysForBlobs { |
| 2596 |
mapStringForBlobs += fmt.Sprintf("%v: %v,", k, this.Blobs[k]) |
| 2597 |
} |
| 2598 |
mapStringForBlobs += "}" |
| 2599 |
keysForImages := make([]string, 0, len(this.Images)) |
| 2600 |
for k := range this.Images { |
| 2601 |
keysForImages = append(keysForImages, k) |
| 2602 |
} |
| 2603 |
github_com_gogo_protobuf_sortkeys.Strings(keysForImages) |
| 2604 |
mapStringForImages := "map[string]ImageBlobReferences{" |
| 2605 |
for _, k := range keysForImages { |
| 2606 |
mapStringForImages += fmt.Sprintf("%v: %v,", k, this.Images[k]) |
| 2607 |
} |
| 2608 |
mapStringForImages += "}" |
| 2609 |
s := strings.Join([]string{`&ImageStreamLayers{`, |
| 2610 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2611 |
`Blobs:` + mapStringForBlobs + `,`, |
| 2612 |
`Images:` + mapStringForImages + `,`, |
| 2613 |
`}`, |
| 2614 |
}, "") |
| 2615 |
return s |
| 2616 |
} |
| 2617 |
func (this *ImageStreamList) String() string { |
| 2618 |
if this == nil { |
| 2619 |
return "nil" |
| 2620 |
} |
| 2621 |
s := strings.Join([]string{`&ImageStreamList{`, |
| 2622 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2623 |
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ImageStream", "ImageStream", 1), `&`, ``, 1) + `,`, |
| 2624 |
`}`, |
| 2625 |
}, "") |
| 2626 |
return s |
| 2627 |
} |
| 2628 |
func (this *ImageStreamMapping) String() string { |
| 2629 |
if this == nil { |
| 2630 |
return "nil" |
| 2631 |
} |
| 2632 |
s := strings.Join([]string{`&ImageStreamMapping{`, |
| 2633 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2634 |
`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`, |
| 2635 |
`Tag:` + fmt.Sprintf("%v", this.Tag) + `,`, |
| 2636 |
`}`, |
| 2637 |
}, "") |
| 2638 |
return s |
| 2639 |
} |
| 2640 |
func (this *ImageStreamSpec) String() string { |
| 2641 |
if this == nil { |
| 2642 |
return "nil" |
| 2643 |
} |
| 2644 |
s := strings.Join([]string{`&ImageStreamSpec{`, |
| 2645 |
`DockerImageRepository:` + fmt.Sprintf("%v", this.DockerImageRepository) + `,`, |
| 2646 |
`Tags:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Tags), "TagReference", "TagReference", 1), `&`, ``, 1) + `,`, |
| 2647 |
`LookupPolicy:` + strings.Replace(strings.Replace(this.LookupPolicy.String(), "ImageLookupPolicy", "ImageLookupPolicy", 1), `&`, ``, 1) + `,`, |
| 2648 |
`}`, |
| 2649 |
}, "") |
| 2650 |
return s |
| 2651 |
} |
| 2652 |
func (this *ImageStreamStatus) String() string { |
| 2653 |
if this == nil { |
| 2654 |
return "nil" |
| 2655 |
} |
| 2656 |
s := strings.Join([]string{`&ImageStreamStatus{`, |
| 2657 |
`DockerImageRepository:` + fmt.Sprintf("%v", this.DockerImageRepository) + `,`, |
| 2658 |
`Tags:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Tags), "NamedTagEventList", "NamedTagEventList", 1), `&`, ``, 1) + `,`, |
| 2659 |
`PublicDockerImageRepository:` + fmt.Sprintf("%v", this.PublicDockerImageRepository) + `,`, |
| 2660 |
`}`, |
| 2661 |
}, "") |
| 2662 |
return s |
| 2663 |
} |
| 2664 |
func (this *ImageStreamTag) String() string { |
| 2665 |
if this == nil { |
| 2666 |
return "nil" |
| 2667 |
} |
| 2668 |
s := strings.Join([]string{`&ImageStreamTag{`, |
| 2669 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2670 |
`Tag:` + strings.Replace(fmt.Sprintf("%v", this.Tag), "TagReference", "TagReference", 1) + `,`, |
| 2671 |
`Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, |
| 2672 |
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "TagEventCondition", "TagEventCondition", 1), `&`, ``, 1) + `,`, |
| 2673 |
`Image:` + strings.Replace(strings.Replace(this.Image.String(), "Image", "Image", 1), `&`, ``, 1) + `,`, |
| 2674 |
`LookupPolicy:` + strings.Replace(strings.Replace(this.LookupPolicy.String(), "ImageLookupPolicy", "ImageLookupPolicy", 1), `&`, ``, 1) + `,`, |
| 2675 |
`}`, |
| 2676 |
}, "") |
| 2677 |
return s |
| 2678 |
} |
| 2679 |
func (this *ImageStreamTagList) String() string { |
| 2680 |
if this == nil { |
| 2681 |
return "nil" |
| 2682 |
} |
| 2683 |
s := strings.Join([]string{`&ImageStreamTagList{`, |
| 2684 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2685 |
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ImageStreamTag", "ImageStreamTag", 1), `&`, ``, 1) + `,`, |
| 2686 |
`}`, |
| 2687 |
}, "") |
| 2688 |
return s |
| 2689 |
} |
| 2690 |
func (this *NamedTagEventList) String() string { |
| 2691 |
if this == nil { |
| 2692 |
return "nil" |
| 2693 |
} |
| 2694 |
s := strings.Join([]string{`&NamedTagEventList{`, |
| 2695 |
`Tag:` + fmt.Sprintf("%v", this.Tag) + `,`, |
| 2696 |
`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "TagEvent", "TagEvent", 1), `&`, ``, 1) + `,`, |
| 2697 |
`Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "TagEventCondition", "TagEventCondition", 1), `&`, ``, 1) + `,`, |
| 2698 |
`}`, |
| 2699 |
}, "") |
| 2700 |
return s |
| 2701 |
} |
| 2702 |
func (this *RepositoryImportSpec) String() string { |
| 2703 |
if this == nil { |
| 2704 |
return "nil" |
| 2705 |
} |
| 2706 |
s := strings.Join([]string{`&RepositoryImportSpec{`, |
| 2707 |
`From:` + strings.Replace(strings.Replace(this.From.String(), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1), `&`, ``, 1) + `,`, |
| 2708 |
`ImportPolicy:` + strings.Replace(strings.Replace(this.ImportPolicy.String(), "TagImportPolicy", "TagImportPolicy", 1), `&`, ``, 1) + `,`, |
| 2709 |
`IncludeManifest:` + fmt.Sprintf("%v", this.IncludeManifest) + `,`, |
| 2710 |
`ReferencePolicy:` + strings.Replace(strings.Replace(this.ReferencePolicy.String(), "TagReferencePolicy", "TagReferencePolicy", 1), `&`, ``, 1) + `,`, |
| 2711 |
`}`, |
| 2712 |
}, "") |
| 2713 |
return s |
| 2714 |
} |
| 2715 |
func (this *RepositoryImportStatus) String() string { |
| 2716 |
if this == nil { |
| 2717 |
return "nil" |
| 2718 |
} |
| 2719 |
s := strings.Join([]string{`&RepositoryImportStatus{`, |
| 2720 |
`Status:` + strings.Replace(strings.Replace(this.Status.String(), "Status", "k8s_io_apimachinery_pkg_apis_meta_v1.Status", 1), `&`, ``, 1) + `,`, |
| 2721 |
`Images:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Images), "ImageImportStatus", "ImageImportStatus", 1), `&`, ``, 1) + `,`, |
| 2722 |
`AdditionalTags:` + fmt.Sprintf("%v", this.AdditionalTags) + `,`, |
| 2723 |
`}`, |
| 2724 |
}, "") |
| 2725 |
return s |
| 2726 |
} |
| 2727 |
func (this *SignatureCondition) String() string { |
| 2728 |
if this == nil { |
| 2729 |
return "nil" |
| 2730 |
} |
| 2731 |
s := strings.Join([]string{`&SignatureCondition{`, |
| 2732 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2733 |
`Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2734 |
`LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2735 |
`LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2736 |
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2737 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2738 |
`}`, |
| 2739 |
}, "") |
| 2740 |
return s |
| 2741 |
} |
| 2742 |
func (this *SignatureGenericEntity) String() string { |
| 2743 |
if this == nil { |
| 2744 |
return "nil" |
| 2745 |
} |
| 2746 |
s := strings.Join([]string{`&SignatureGenericEntity{`, |
| 2747 |
`Organization:` + fmt.Sprintf("%v", this.Organization) + `,`, |
| 2748 |
`CommonName:` + fmt.Sprintf("%v", this.CommonName) + `,`, |
| 2749 |
`}`, |
| 2750 |
}, "") |
| 2751 |
return s |
| 2752 |
} |
| 2753 |
func (this *SignatureIssuer) String() string { |
| 2754 |
if this == nil { |
| 2755 |
return "nil" |
| 2756 |
} |
| 2757 |
s := strings.Join([]string{`&SignatureIssuer{`, |
| 2758 |
`SignatureGenericEntity:` + strings.Replace(strings.Replace(this.SignatureGenericEntity.String(), "SignatureGenericEntity", "SignatureGenericEntity", 1), `&`, ``, 1) + `,`, |
| 2759 |
`}`, |
| 2760 |
}, "") |
| 2761 |
return s |
| 2762 |
} |
| 2763 |
func (this *SignatureSubject) String() string { |
| 2764 |
if this == nil { |
| 2765 |
return "nil" |
| 2766 |
} |
| 2767 |
s := strings.Join([]string{`&SignatureSubject{`, |
| 2768 |
`SignatureGenericEntity:` + strings.Replace(strings.Replace(this.SignatureGenericEntity.String(), "SignatureGenericEntity", "SignatureGenericEntity", 1), `&`, ``, 1) + `,`, |
| 2769 |
`PublicKeyID:` + fmt.Sprintf("%v", this.PublicKeyID) + `,`, |
| 2770 |
`}`, |
| 2771 |
}, "") |
| 2772 |
return s |
| 2773 |
} |
| 2774 |
func (this *TagEvent) String() string { |
| 2775 |
if this == nil { |
| 2776 |
return "nil" |
| 2777 |
} |
| 2778 |
s := strings.Join([]string{`&TagEvent{`, |
| 2779 |
`Created:` + strings.Replace(strings.Replace(this.Created.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2780 |
`DockerImageReference:` + fmt.Sprintf("%v", this.DockerImageReference) + `,`, |
| 2781 |
`Image:` + fmt.Sprintf("%v", this.Image) + `,`, |
| 2782 |
`Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, |
| 2783 |
`}`, |
| 2784 |
}, "") |
| 2785 |
return s |
| 2786 |
} |
| 2787 |
func (this *TagEventCondition) String() string { |
| 2788 |
if this == nil { |
| 2789 |
return "nil" |
| 2790 |
} |
| 2791 |
s := strings.Join([]string{`&TagEventCondition{`, |
| 2792 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2793 |
`Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2794 |
`LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2795 |
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2796 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2797 |
`Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, |
| 2798 |
`}`, |
| 2799 |
}, "") |
| 2800 |
return s |
| 2801 |
} |
| 2802 |
func (this *TagImportPolicy) String() string { |
| 2803 |
if this == nil { |
| 2804 |
return "nil" |
| 2805 |
} |
| 2806 |
s := strings.Join([]string{`&TagImportPolicy{`, |
| 2807 |
`Insecure:` + fmt.Sprintf("%v", this.Insecure) + `,`, |
| 2808 |
`Scheduled:` + fmt.Sprintf("%v", this.Scheduled) + `,`, |
| 2809 |
`}`, |
| 2810 |
}, "") |
| 2811 |
return s |
| 2812 |
} |
| 2813 |
func (this *TagReference) String() string { |
| 2814 |
if this == nil { |
| 2815 |
return "nil" |
| 2816 |
} |
| 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{`&TagReference{`, |
| 2828 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 2829 |
`Annotations:` + mapStringForAnnotations + `,`, |
| 2830 |
`From:` + strings.Replace(fmt.Sprintf("%v", this.From), "ObjectReference", "k8s_io_api_core_v1.ObjectReference", 1) + `,`, |
| 2831 |
`Reference:` + fmt.Sprintf("%v", this.Reference) + `,`, |
| 2832 |
`Generation:` + valueToStringGenerated(this.Generation) + `,`, |
| 2833 |
`ImportPolicy:` + strings.Replace(strings.Replace(this.ImportPolicy.String(), "TagImportPolicy", "TagImportPolicy", 1), `&`, ``, 1) + `,`, |
| 2834 |
`ReferencePolicy:` + strings.Replace(strings.Replace(this.ReferencePolicy.String(), "TagReferencePolicy", "TagReferencePolicy", 1), `&`, ``, 1) + `,`, |
| 2835 |
`}`, |
| 2836 |
}, "") |
| 2837 |
return s |
| 2838 |
} |
| 2839 |
func (this *TagReferencePolicy) String() string { |
| 2840 |
if this == nil { |
| 2841 |
return "nil" |
| 2842 |
} |
| 2843 |
s := strings.Join([]string{`&TagReferencePolicy{`, |
| 2844 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2845 |
`}`, |
| 2846 |
}, "") |
| 2847 |
return s |
| 2848 |
} |
| 2849 |
func valueToStringGenerated(v interface{}) string { |
| 2850 |
rv := reflect.ValueOf(v) |
| 2851 |
if rv.IsNil() { |
| 2852 |
return "nil" |
| 2853 |
} |
| 2854 |
pv := reflect.Indirect(rv).Interface() |
| 2855 |
return fmt.Sprintf("*%v", pv) |
| 2856 |
} |
| 2857 |
func (m *DockerImageReference) Unmarshal(dAtA []byte) error { |
| 2858 |
l := len(dAtA) |
| 2859 |
iNdEx := 0 |
| 2860 |
for iNdEx < l { |
| 2861 |
preIndex := iNdEx |
| 2862 |
var wire uint64 |
| 2863 |
for shift := uint(0); ; shift += 7 { |
| 2864 |
if shift >= 64 { |
| 2865 |
return ErrIntOverflowGenerated |
| 2866 |
} |
| 2867 |
if iNdEx >= l { |
| 2868 |
return io.ErrUnexpectedEOF |
| 2869 |
} |
| 2870 |
b := dAtA[iNdEx] |
| 2871 |
iNdEx++ |
| 2872 |
wire |= (uint64(b) & 0x7F) << shift |
| 2873 |
if b < 0x80 { |
| 2874 |
break |
| 2875 |
} |
| 2876 |
} |
| 2877 |
fieldNum := int32(wire >> 3) |
| 2878 |
wireType := int(wire & 0x7) |
| 2879 |
if wireType == 4 { |
| 2880 |
return fmt.Errorf("proto: DockerImageReference: wiretype end group for non-group") |
| 2881 |
} |
| 2882 |
if fieldNum <= 0 { |
| 2883 |
return fmt.Errorf("proto: DockerImageReference: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2884 |
} |
| 2885 |
switch fieldNum { |
| 2886 |
case 1: |
| 2887 |
if wireType != 2 { |
| 2888 |
return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType) |
| 2889 |
} |
| 2890 |
var stringLen uint64 |
| 2891 |
for shift := uint(0); ; shift += 7 { |
| 2892 |
if shift >= 64 { |
| 2893 |
return ErrIntOverflowGenerated |
| 2894 |
} |
| 2895 |
if iNdEx >= l { |
| 2896 |
return io.ErrUnexpectedEOF |
| 2897 |
} |
| 2898 |
b := dAtA[iNdEx] |
| 2899 |
iNdEx++ |
| 2900 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 2901 |
if b < 0x80 { |
| 2902 |
break |
| 2903 |
} |
| 2904 |
} |
| 2905 |
intStringLen := int(stringLen) |
| 2906 |
if intStringLen < 0 { |
| 2907 |
return ErrInvalidLengthGenerated |
| 2908 |
} |
| 2909 |
postIndex := iNdEx + intStringLen |
| 2910 |
if postIndex > l { |
| 2911 |
return io.ErrUnexpectedEOF |
| 2912 |
} |
| 2913 |
m.Registry = string(dAtA[iNdEx:postIndex]) |
| 2914 |
iNdEx = postIndex |
| 2915 |
case 2: |
| 2916 |
if wireType != 2 { |
| 2917 |
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) |
| 2918 |
} |
| 2919 |
var stringLen uint64 |
| 2920 |
for shift := uint(0); ; shift += 7 { |
| 2921 |
if shift >= 64 { |
| 2922 |
return ErrIntOverflowGenerated |
| 2923 |
} |
| 2924 |
if iNdEx >= l { |
| 2925 |
return io.ErrUnexpectedEOF |
| 2926 |
} |
| 2927 |
b := dAtA[iNdEx] |
| 2928 |
iNdEx++ |
| 2929 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 2930 |
if b < 0x80 { |
| 2931 |
break |
| 2932 |
} |
| 2933 |
} |
| 2934 |
intStringLen := int(stringLen) |
| 2935 |
if intStringLen < 0 { |
| 2936 |
return ErrInvalidLengthGenerated |
| 2937 |
} |
| 2938 |
postIndex := iNdEx + intStringLen |
| 2939 |
if postIndex > l { |
| 2940 |
return io.ErrUnexpectedEOF |
| 2941 |
} |
| 2942 |
m.Namespace = string(dAtA[iNdEx:postIndex]) |
| 2943 |
iNdEx = postIndex |
| 2944 |
case 3: |
| 2945 |
if wireType != 2 { |
| 2946 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 2947 |
} |
| 2948 |
var stringLen uint64 |
| 2949 |
for shift := uint(0); ; shift += 7 { |
| 2950 |
if shift >= 64 { |
| 2951 |
return ErrIntOverflowGenerated |
| 2952 |
} |
| 2953 |
if iNdEx >= l { |
| 2954 |
return io.ErrUnexpectedEOF |
| 2955 |
} |
| 2956 |
b := dAtA[iNdEx] |
| 2957 |
iNdEx++ |
| 2958 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 2959 |
if b < 0x80 { |
| 2960 |
break |
| 2961 |
} |
| 2962 |
} |
| 2963 |
intStringLen := int(stringLen) |
| 2964 |
if intStringLen < 0 { |
| 2965 |
return ErrInvalidLengthGenerated |
| 2966 |
} |
| 2967 |
postIndex := iNdEx + intStringLen |
| 2968 |
if postIndex > l { |
| 2969 |
return io.ErrUnexpectedEOF |
| 2970 |
} |
| 2971 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 2972 |
iNdEx = postIndex |
| 2973 |
case 4: |
| 2974 |
if wireType != 2 { |
| 2975 |
return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) |
| 2976 |
} |
| 2977 |
var stringLen uint64 |
| 2978 |
for shift := uint(0); ; shift += 7 { |
| 2979 |
if shift >= 64 { |
| 2980 |
return ErrIntOverflowGenerated |
| 2981 |
} |
| 2982 |
if iNdEx >= l { |
| 2983 |
return io.ErrUnexpectedEOF |
| 2984 |
} |
| 2985 |
b := dAtA[iNdEx] |
| 2986 |
iNdEx++ |
| 2987 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 2988 |
if b < 0x80 { |
| 2989 |
break |
| 2990 |
} |
| 2991 |
} |
| 2992 |
intStringLen := int(stringLen) |
| 2993 |
if intStringLen < 0 { |
| 2994 |
return ErrInvalidLengthGenerated |
| 2995 |
} |
| 2996 |
postIndex := iNdEx + intStringLen |
| 2997 |
if postIndex > l { |
| 2998 |
return io.ErrUnexpectedEOF |
| 2999 |
} |
| 3000 |
m.Tag = string(dAtA[iNdEx:postIndex]) |
| 3001 |
iNdEx = postIndex |
| 3002 |
case 5: |
| 3003 |
if wireType != 2 { |
| 3004 |
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) |
| 3005 |
} |
| 3006 |
var stringLen uint64 |
| 3007 |
for shift := uint(0); ; shift += 7 { |
| 3008 |
if shift >= 64 { |
| 3009 |
return ErrIntOverflowGenerated |
| 3010 |
} |
| 3011 |
if iNdEx >= l { |
| 3012 |
return io.ErrUnexpectedEOF |
| 3013 |
} |
| 3014 |
b := dAtA[iNdEx] |
| 3015 |
iNdEx++ |
| 3016 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3017 |
if b < 0x80 { |
| 3018 |
break |
| 3019 |
} |
| 3020 |
} |
| 3021 |
intStringLen := int(stringLen) |
| 3022 |
if intStringLen < 0 { |
| 3023 |
return ErrInvalidLengthGenerated |
| 3024 |
} |
| 3025 |
postIndex := iNdEx + intStringLen |
| 3026 |
if postIndex > l { |
| 3027 |
return io.ErrUnexpectedEOF |
| 3028 |
} |
| 3029 |
m.ID = string(dAtA[iNdEx:postIndex]) |
| 3030 |
iNdEx = postIndex |
| 3031 |
default: |
| 3032 |
iNdEx = preIndex |
| 3033 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3034 |
if err != nil { |
| 3035 |
return err |
| 3036 |
} |
| 3037 |
if skippy < 0 { |
| 3038 |
return ErrInvalidLengthGenerated |
| 3039 |
} |
| 3040 |
if (iNdEx + skippy) > l { |
| 3041 |
return io.ErrUnexpectedEOF |
| 3042 |
} |
| 3043 |
iNdEx += skippy |
| 3044 |
} |
| 3045 |
} |
| 3046 |
|
| 3047 |
if iNdEx > l { |
| 3048 |
return io.ErrUnexpectedEOF |
| 3049 |
} |
| 3050 |
return nil |
| 3051 |
} |
| 3052 |
func (m *Image) Unmarshal(dAtA []byte) error { |
| 3053 |
l := len(dAtA) |
| 3054 |
iNdEx := 0 |
| 3055 |
for iNdEx < l { |
| 3056 |
preIndex := iNdEx |
| 3057 |
var wire uint64 |
| 3058 |
for shift := uint(0); ; shift += 7 { |
| 3059 |
if shift >= 64 { |
| 3060 |
return ErrIntOverflowGenerated |
| 3061 |
} |
| 3062 |
if iNdEx >= l { |
| 3063 |
return io.ErrUnexpectedEOF |
| 3064 |
} |
| 3065 |
b := dAtA[iNdEx] |
| 3066 |
iNdEx++ |
| 3067 |
wire |= (uint64(b) & 0x7F) << shift |
| 3068 |
if b < 0x80 { |
| 3069 |
break |
| 3070 |
} |
| 3071 |
} |
| 3072 |
fieldNum := int32(wire >> 3) |
| 3073 |
wireType := int(wire & 0x7) |
| 3074 |
if wireType == 4 { |
| 3075 |
return fmt.Errorf("proto: Image: wiretype end group for non-group") |
| 3076 |
} |
| 3077 |
if fieldNum <= 0 { |
| 3078 |
return fmt.Errorf("proto: Image: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3079 |
} |
| 3080 |
switch fieldNum { |
| 3081 |
case 1: |
| 3082 |
if wireType != 2 { |
| 3083 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 3084 |
} |
| 3085 |
var msglen int |
| 3086 |
for shift := uint(0); ; shift += 7 { |
| 3087 |
if shift >= 64 { |
| 3088 |
return ErrIntOverflowGenerated |
| 3089 |
} |
| 3090 |
if iNdEx >= l { |
| 3091 |
return io.ErrUnexpectedEOF |
| 3092 |
} |
| 3093 |
b := dAtA[iNdEx] |
| 3094 |
iNdEx++ |
| 3095 |
msglen |= (int(b) & 0x7F) << shift |
| 3096 |
if b < 0x80 { |
| 3097 |
break |
| 3098 |
} |
| 3099 |
} |
| 3100 |
if msglen < 0 { |
| 3101 |
return ErrInvalidLengthGenerated |
| 3102 |
} |
| 3103 |
postIndex := iNdEx + msglen |
| 3104 |
if postIndex > l { |
| 3105 |
return io.ErrUnexpectedEOF |
| 3106 |
} |
| 3107 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3108 |
return err |
| 3109 |
} |
| 3110 |
iNdEx = postIndex |
| 3111 |
case 2: |
| 3112 |
if wireType != 2 { |
| 3113 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageReference", wireType) |
| 3114 |
} |
| 3115 |
var stringLen uint64 |
| 3116 |
for shift := uint(0); ; shift += 7 { |
| 3117 |
if shift >= 64 { |
| 3118 |
return ErrIntOverflowGenerated |
| 3119 |
} |
| 3120 |
if iNdEx >= l { |
| 3121 |
return io.ErrUnexpectedEOF |
| 3122 |
} |
| 3123 |
b := dAtA[iNdEx] |
| 3124 |
iNdEx++ |
| 3125 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3126 |
if b < 0x80 { |
| 3127 |
break |
| 3128 |
} |
| 3129 |
} |
| 3130 |
intStringLen := int(stringLen) |
| 3131 |
if intStringLen < 0 { |
| 3132 |
return ErrInvalidLengthGenerated |
| 3133 |
} |
| 3134 |
postIndex := iNdEx + intStringLen |
| 3135 |
if postIndex > l { |
| 3136 |
return io.ErrUnexpectedEOF |
| 3137 |
} |
| 3138 |
m.DockerImageReference = string(dAtA[iNdEx:postIndex]) |
| 3139 |
iNdEx = postIndex |
| 3140 |
case 3: |
| 3141 |
if wireType != 2 { |
| 3142 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageMetadata", wireType) |
| 3143 |
} |
| 3144 |
var msglen int |
| 3145 |
for shift := uint(0); ; shift += 7 { |
| 3146 |
if shift >= 64 { |
| 3147 |
return ErrIntOverflowGenerated |
| 3148 |
} |
| 3149 |
if iNdEx >= l { |
| 3150 |
return io.ErrUnexpectedEOF |
| 3151 |
} |
| 3152 |
b := dAtA[iNdEx] |
| 3153 |
iNdEx++ |
| 3154 |
msglen |= (int(b) & 0x7F) << shift |
| 3155 |
if b < 0x80 { |
| 3156 |
break |
| 3157 |
} |
| 3158 |
} |
| 3159 |
if msglen < 0 { |
| 3160 |
return ErrInvalidLengthGenerated |
| 3161 |
} |
| 3162 |
postIndex := iNdEx + msglen |
| 3163 |
if postIndex > l { |
| 3164 |
return io.ErrUnexpectedEOF |
| 3165 |
} |
| 3166 |
if err := m.DockerImageMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3167 |
return err |
| 3168 |
} |
| 3169 |
iNdEx = postIndex |
| 3170 |
case 4: |
| 3171 |
if wireType != 2 { |
| 3172 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageMetadataVersion", wireType) |
| 3173 |
} |
| 3174 |
var stringLen uint64 |
| 3175 |
for shift := uint(0); ; shift += 7 { |
| 3176 |
if shift >= 64 { |
| 3177 |
return ErrIntOverflowGenerated |
| 3178 |
} |
| 3179 |
if iNdEx >= l { |
| 3180 |
return io.ErrUnexpectedEOF |
| 3181 |
} |
| 3182 |
b := dAtA[iNdEx] |
| 3183 |
iNdEx++ |
| 3184 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3185 |
if b < 0x80 { |
| 3186 |
break |
| 3187 |
} |
| 3188 |
} |
| 3189 |
intStringLen := int(stringLen) |
| 3190 |
if intStringLen < 0 { |
| 3191 |
return ErrInvalidLengthGenerated |
| 3192 |
} |
| 3193 |
postIndex := iNdEx + intStringLen |
| 3194 |
if postIndex > l { |
| 3195 |
return io.ErrUnexpectedEOF |
| 3196 |
} |
| 3197 |
m.DockerImageMetadataVersion = string(dAtA[iNdEx:postIndex]) |
| 3198 |
iNdEx = postIndex |
| 3199 |
case 5: |
| 3200 |
if wireType != 2 { |
| 3201 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageManifest", wireType) |
| 3202 |
} |
| 3203 |
var stringLen uint64 |
| 3204 |
for shift := uint(0); ; shift += 7 { |
| 3205 |
if shift >= 64 { |
| 3206 |
return ErrIntOverflowGenerated |
| 3207 |
} |
| 3208 |
if iNdEx >= l { |
| 3209 |
return io.ErrUnexpectedEOF |
| 3210 |
} |
| 3211 |
b := dAtA[iNdEx] |
| 3212 |
iNdEx++ |
| 3213 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3214 |
if b < 0x80 { |
| 3215 |
break |
| 3216 |
} |
| 3217 |
} |
| 3218 |
intStringLen := int(stringLen) |
| 3219 |
if intStringLen < 0 { |
| 3220 |
return ErrInvalidLengthGenerated |
| 3221 |
} |
| 3222 |
postIndex := iNdEx + intStringLen |
| 3223 |
if postIndex > l { |
| 3224 |
return io.ErrUnexpectedEOF |
| 3225 |
} |
| 3226 |
m.DockerImageManifest = string(dAtA[iNdEx:postIndex]) |
| 3227 |
iNdEx = postIndex |
| 3228 |
case 6: |
| 3229 |
if wireType != 2 { |
| 3230 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageLayers", wireType) |
| 3231 |
} |
| 3232 |
var msglen int |
| 3233 |
for shift := uint(0); ; shift += 7 { |
| 3234 |
if shift >= 64 { |
| 3235 |
return ErrIntOverflowGenerated |
| 3236 |
} |
| 3237 |
if iNdEx >= l { |
| 3238 |
return io.ErrUnexpectedEOF |
| 3239 |
} |
| 3240 |
b := dAtA[iNdEx] |
| 3241 |
iNdEx++ |
| 3242 |
msglen |= (int(b) & 0x7F) << shift |
| 3243 |
if b < 0x80 { |
| 3244 |
break |
| 3245 |
} |
| 3246 |
} |
| 3247 |
if msglen < 0 { |
| 3248 |
return ErrInvalidLengthGenerated |
| 3249 |
} |
| 3250 |
postIndex := iNdEx + msglen |
| 3251 |
if postIndex > l { |
| 3252 |
return io.ErrUnexpectedEOF |
| 3253 |
} |
| 3254 |
m.DockerImageLayers = append(m.DockerImageLayers, ImageLayer{}) |
| 3255 |
if err := m.DockerImageLayers[len(m.DockerImageLayers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3256 |
return err |
| 3257 |
} |
| 3258 |
iNdEx = postIndex |
| 3259 |
case 7: |
| 3260 |
if wireType != 2 { |
| 3261 |
return fmt.Errorf("proto: wrong wireType = %d for field Signatures", wireType) |
| 3262 |
} |
| 3263 |
var msglen int |
| 3264 |
for shift := uint(0); ; shift += 7 { |
| 3265 |
if shift >= 64 { |
| 3266 |
return ErrIntOverflowGenerated |
| 3267 |
} |
| 3268 |
if iNdEx >= l { |
| 3269 |
return io.ErrUnexpectedEOF |
| 3270 |
} |
| 3271 |
b := dAtA[iNdEx] |
| 3272 |
iNdEx++ |
| 3273 |
msglen |= (int(b) & 0x7F) << shift |
| 3274 |
if b < 0x80 { |
| 3275 |
break |
| 3276 |
} |
| 3277 |
} |
| 3278 |
if msglen < 0 { |
| 3279 |
return ErrInvalidLengthGenerated |
| 3280 |
} |
| 3281 |
postIndex := iNdEx + msglen |
| 3282 |
if postIndex > l { |
| 3283 |
return io.ErrUnexpectedEOF |
| 3284 |
} |
| 3285 |
m.Signatures = append(m.Signatures, ImageSignature{}) |
| 3286 |
if err := m.Signatures[len(m.Signatures)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3287 |
return err |
| 3288 |
} |
| 3289 |
iNdEx = postIndex |
| 3290 |
case 8: |
| 3291 |
if wireType != 2 { |
| 3292 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageSignatures", wireType) |
| 3293 |
} |
| 3294 |
var byteLen int |
| 3295 |
for shift := uint(0); ; shift += 7 { |
| 3296 |
if shift >= 64 { |
| 3297 |
return ErrIntOverflowGenerated |
| 3298 |
} |
| 3299 |
if iNdEx >= l { |
| 3300 |
return io.ErrUnexpectedEOF |
| 3301 |
} |
| 3302 |
b := dAtA[iNdEx] |
| 3303 |
iNdEx++ |
| 3304 |
byteLen |= (int(b) & 0x7F) << shift |
| 3305 |
if b < 0x80 { |
| 3306 |
break |
| 3307 |
} |
| 3308 |
} |
| 3309 |
if byteLen < 0 { |
| 3310 |
return ErrInvalidLengthGenerated |
| 3311 |
} |
| 3312 |
postIndex := iNdEx + byteLen |
| 3313 |
if postIndex > l { |
| 3314 |
return io.ErrUnexpectedEOF |
| 3315 |
} |
| 3316 |
m.DockerImageSignatures = append(m.DockerImageSignatures, make([]byte, postIndex-iNdEx)) |
| 3317 |
copy(m.DockerImageSignatures[len(m.DockerImageSignatures)-1], dAtA[iNdEx:postIndex]) |
| 3318 |
iNdEx = postIndex |
| 3319 |
case 9: |
| 3320 |
if wireType != 2 { |
| 3321 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageManifestMediaType", wireType) |
| 3322 |
} |
| 3323 |
var stringLen uint64 |
| 3324 |
for shift := uint(0); ; shift += 7 { |
| 3325 |
if shift >= 64 { |
| 3326 |
return ErrIntOverflowGenerated |
| 3327 |
} |
| 3328 |
if iNdEx >= l { |
| 3329 |
return io.ErrUnexpectedEOF |
| 3330 |
} |
| 3331 |
b := dAtA[iNdEx] |
| 3332 |
iNdEx++ |
| 3333 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3334 |
if b < 0x80 { |
| 3335 |
break |
| 3336 |
} |
| 3337 |
} |
| 3338 |
intStringLen := int(stringLen) |
| 3339 |
if intStringLen < 0 { |
| 3340 |
return ErrInvalidLengthGenerated |
| 3341 |
} |
| 3342 |
postIndex := iNdEx + intStringLen |
| 3343 |
if postIndex > l { |
| 3344 |
return io.ErrUnexpectedEOF |
| 3345 |
} |
| 3346 |
m.DockerImageManifestMediaType = string(dAtA[iNdEx:postIndex]) |
| 3347 |
iNdEx = postIndex |
| 3348 |
case 10: |
| 3349 |
if wireType != 2 { |
| 3350 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageConfig", wireType) |
| 3351 |
} |
| 3352 |
var stringLen uint64 |
| 3353 |
for shift := uint(0); ; shift += 7 { |
| 3354 |
if shift >= 64 { |
| 3355 |
return ErrIntOverflowGenerated |
| 3356 |
} |
| 3357 |
if iNdEx >= l { |
| 3358 |
return io.ErrUnexpectedEOF |
| 3359 |
} |
| 3360 |
b := dAtA[iNdEx] |
| 3361 |
iNdEx++ |
| 3362 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3363 |
if b < 0x80 { |
| 3364 |
break |
| 3365 |
} |
| 3366 |
} |
| 3367 |
intStringLen := int(stringLen) |
| 3368 |
if intStringLen < 0 { |
| 3369 |
return ErrInvalidLengthGenerated |
| 3370 |
} |
| 3371 |
postIndex := iNdEx + intStringLen |
| 3372 |
if postIndex > l { |
| 3373 |
return io.ErrUnexpectedEOF |
| 3374 |
} |
| 3375 |
m.DockerImageConfig = string(dAtA[iNdEx:postIndex]) |
| 3376 |
iNdEx = postIndex |
| 3377 |
default: |
| 3378 |
iNdEx = preIndex |
| 3379 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3380 |
if err != nil { |
| 3381 |
return err |
| 3382 |
} |
| 3383 |
if skippy < 0 { |
| 3384 |
return ErrInvalidLengthGenerated |
| 3385 |
} |
| 3386 |
if (iNdEx + skippy) > l { |
| 3387 |
return io.ErrUnexpectedEOF |
| 3388 |
} |
| 3389 |
iNdEx += skippy |
| 3390 |
} |
| 3391 |
} |
| 3392 |
|
| 3393 |
if iNdEx > l { |
| 3394 |
return io.ErrUnexpectedEOF |
| 3395 |
} |
| 3396 |
return nil |
| 3397 |
} |
| 3398 |
func (m *ImageBlobReferences) Unmarshal(dAtA []byte) error { |
| 3399 |
l := len(dAtA) |
| 3400 |
iNdEx := 0 |
| 3401 |
for iNdEx < l { |
| 3402 |
preIndex := iNdEx |
| 3403 |
var wire uint64 |
| 3404 |
for shift := uint(0); ; shift += 7 { |
| 3405 |
if shift >= 64 { |
| 3406 |
return ErrIntOverflowGenerated |
| 3407 |
} |
| 3408 |
if iNdEx >= l { |
| 3409 |
return io.ErrUnexpectedEOF |
| 3410 |
} |
| 3411 |
b := dAtA[iNdEx] |
| 3412 |
iNdEx++ |
| 3413 |
wire |= (uint64(b) & 0x7F) << shift |
| 3414 |
if b < 0x80 { |
| 3415 |
break |
| 3416 |
} |
| 3417 |
} |
| 3418 |
fieldNum := int32(wire >> 3) |
| 3419 |
wireType := int(wire & 0x7) |
| 3420 |
if wireType == 4 { |
| 3421 |
return fmt.Errorf("proto: ImageBlobReferences: wiretype end group for non-group") |
| 3422 |
} |
| 3423 |
if fieldNum <= 0 { |
| 3424 |
return fmt.Errorf("proto: ImageBlobReferences: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3425 |
} |
| 3426 |
switch fieldNum { |
| 3427 |
case 1: |
| 3428 |
if wireType != 2 { |
| 3429 |
return fmt.Errorf("proto: wrong wireType = %d for field Layers", wireType) |
| 3430 |
} |
| 3431 |
var stringLen uint64 |
| 3432 |
for shift := uint(0); ; shift += 7 { |
| 3433 |
if shift >= 64 { |
| 3434 |
return ErrIntOverflowGenerated |
| 3435 |
} |
| 3436 |
if iNdEx >= l { |
| 3437 |
return io.ErrUnexpectedEOF |
| 3438 |
} |
| 3439 |
b := dAtA[iNdEx] |
| 3440 |
iNdEx++ |
| 3441 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3442 |
if b < 0x80 { |
| 3443 |
break |
| 3444 |
} |
| 3445 |
} |
| 3446 |
intStringLen := int(stringLen) |
| 3447 |
if intStringLen < 0 { |
| 3448 |
return ErrInvalidLengthGenerated |
| 3449 |
} |
| 3450 |
postIndex := iNdEx + intStringLen |
| 3451 |
if postIndex > l { |
| 3452 |
return io.ErrUnexpectedEOF |
| 3453 |
} |
| 3454 |
m.Layers = append(m.Layers, string(dAtA[iNdEx:postIndex])) |
| 3455 |
iNdEx = postIndex |
| 3456 |
case 2: |
| 3457 |
if wireType != 2 { |
| 3458 |
return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) |
| 3459 |
} |
| 3460 |
var stringLen uint64 |
| 3461 |
for shift := uint(0); ; shift += 7 { |
| 3462 |
if shift >= 64 { |
| 3463 |
return ErrIntOverflowGenerated |
| 3464 |
} |
| 3465 |
if iNdEx >= l { |
| 3466 |
return io.ErrUnexpectedEOF |
| 3467 |
} |
| 3468 |
b := dAtA[iNdEx] |
| 3469 |
iNdEx++ |
| 3470 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3471 |
if b < 0x80 { |
| 3472 |
break |
| 3473 |
} |
| 3474 |
} |
| 3475 |
intStringLen := int(stringLen) |
| 3476 |
if intStringLen < 0 { |
| 3477 |
return ErrInvalidLengthGenerated |
| 3478 |
} |
| 3479 |
postIndex := iNdEx + intStringLen |
| 3480 |
if postIndex > l { |
| 3481 |
return io.ErrUnexpectedEOF |
| 3482 |
} |
| 3483 |
s := string(dAtA[iNdEx:postIndex]) |
| 3484 |
m.Config = &s |
| 3485 |
iNdEx = postIndex |
| 3486 |
case 3: |
| 3487 |
if wireType != 0 { |
| 3488 |
return fmt.Errorf("proto: wrong wireType = %d for field ImageMissing", wireType) |
| 3489 |
} |
| 3490 |
var v int |
| 3491 |
for shift := uint(0); ; shift += 7 { |
| 3492 |
if shift >= 64 { |
| 3493 |
return ErrIntOverflowGenerated |
| 3494 |
} |
| 3495 |
if iNdEx >= l { |
| 3496 |
return io.ErrUnexpectedEOF |
| 3497 |
} |
| 3498 |
b := dAtA[iNdEx] |
| 3499 |
iNdEx++ |
| 3500 |
v |= (int(b) & 0x7F) << shift |
| 3501 |
if b < 0x80 { |
| 3502 |
break |
| 3503 |
} |
| 3504 |
} |
| 3505 |
m.ImageMissing = bool(v != 0) |
| 3506 |
default: |
| 3507 |
iNdEx = preIndex |
| 3508 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3509 |
if err != nil { |
| 3510 |
return err |
| 3511 |
} |
| 3512 |
if skippy < 0 { |
| 3513 |
return ErrInvalidLengthGenerated |
| 3514 |
} |
| 3515 |
if (iNdEx + skippy) > l { |
| 3516 |
return io.ErrUnexpectedEOF |
| 3517 |
} |
| 3518 |
iNdEx += skippy |
| 3519 |
} |
| 3520 |
} |
| 3521 |
|
| 3522 |
if iNdEx > l { |
| 3523 |
return io.ErrUnexpectedEOF |
| 3524 |
} |
| 3525 |
return nil |
| 3526 |
} |
| 3527 |
func (m *ImageImportSpec) Unmarshal(dAtA []byte) error { |
| 3528 |
l := len(dAtA) |
| 3529 |
iNdEx := 0 |
| 3530 |
for iNdEx < l { |
| 3531 |
preIndex := iNdEx |
| 3532 |
var wire uint64 |
| 3533 |
for shift := uint(0); ; shift += 7 { |
| 3534 |
if shift >= 64 { |
| 3535 |
return ErrIntOverflowGenerated |
| 3536 |
} |
| 3537 |
if iNdEx >= l { |
| 3538 |
return io.ErrUnexpectedEOF |
| 3539 |
} |
| 3540 |
b := dAtA[iNdEx] |
| 3541 |
iNdEx++ |
| 3542 |
wire |= (uint64(b) & 0x7F) << shift |
| 3543 |
if b < 0x80 { |
| 3544 |
break |
| 3545 |
} |
| 3546 |
} |
| 3547 |
fieldNum := int32(wire >> 3) |
| 3548 |
wireType := int(wire & 0x7) |
| 3549 |
if wireType == 4 { |
| 3550 |
return fmt.Errorf("proto: ImageImportSpec: wiretype end group for non-group") |
| 3551 |
} |
| 3552 |
if fieldNum <= 0 { |
| 3553 |
return fmt.Errorf("proto: ImageImportSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3554 |
} |
| 3555 |
switch fieldNum { |
| 3556 |
case 1: |
| 3557 |
if wireType != 2 { |
| 3558 |
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) |
| 3559 |
} |
| 3560 |
var msglen int |
| 3561 |
for shift := uint(0); ; shift += 7 { |
| 3562 |
if shift >= 64 { |
| 3563 |
return ErrIntOverflowGenerated |
| 3564 |
} |
| 3565 |
if iNdEx >= l { |
| 3566 |
return io.ErrUnexpectedEOF |
| 3567 |
} |
| 3568 |
b := dAtA[iNdEx] |
| 3569 |
iNdEx++ |
| 3570 |
msglen |= (int(b) & 0x7F) << shift |
| 3571 |
if b < 0x80 { |
| 3572 |
break |
| 3573 |
} |
| 3574 |
} |
| 3575 |
if msglen < 0 { |
| 3576 |
return ErrInvalidLengthGenerated |
| 3577 |
} |
| 3578 |
postIndex := iNdEx + msglen |
| 3579 |
if postIndex > l { |
| 3580 |
return io.ErrUnexpectedEOF |
| 3581 |
} |
| 3582 |
if err := m.From.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3583 |
return err |
| 3584 |
} |
| 3585 |
iNdEx = postIndex |
| 3586 |
case 2: |
| 3587 |
if wireType != 2 { |
| 3588 |
return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) |
| 3589 |
} |
| 3590 |
var msglen int |
| 3591 |
for shift := uint(0); ; shift += 7 { |
| 3592 |
if shift >= 64 { |
| 3593 |
return ErrIntOverflowGenerated |
| 3594 |
} |
| 3595 |
if iNdEx >= l { |
| 3596 |
return io.ErrUnexpectedEOF |
| 3597 |
} |
| 3598 |
b := dAtA[iNdEx] |
| 3599 |
iNdEx++ |
| 3600 |
msglen |= (int(b) & 0x7F) << shift |
| 3601 |
if b < 0x80 { |
| 3602 |
break |
| 3603 |
} |
| 3604 |
} |
| 3605 |
if msglen < 0 { |
| 3606 |
return ErrInvalidLengthGenerated |
| 3607 |
} |
| 3608 |
postIndex := iNdEx + msglen |
| 3609 |
if postIndex > l { |
| 3610 |
return io.ErrUnexpectedEOF |
| 3611 |
} |
| 3612 |
if m.To == nil { |
| 3613 |
m.To = &k8s_io_api_core_v1.LocalObjectReference{} |
| 3614 |
} |
| 3615 |
if err := m.To.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3616 |
return err |
| 3617 |
} |
| 3618 |
iNdEx = postIndex |
| 3619 |
case 3: |
| 3620 |
if wireType != 2 { |
| 3621 |
return fmt.Errorf("proto: wrong wireType = %d for field ImportPolicy", wireType) |
| 3622 |
} |
| 3623 |
var msglen int |
| 3624 |
for shift := uint(0); ; shift += 7 { |
| 3625 |
if shift >= 64 { |
| 3626 |
return ErrIntOverflowGenerated |
| 3627 |
} |
| 3628 |
if iNdEx >= l { |
| 3629 |
return io.ErrUnexpectedEOF |
| 3630 |
} |
| 3631 |
b := dAtA[iNdEx] |
| 3632 |
iNdEx++ |
| 3633 |
msglen |= (int(b) & 0x7F) << shift |
| 3634 |
if b < 0x80 { |
| 3635 |
break |
| 3636 |
} |
| 3637 |
} |
| 3638 |
if msglen < 0 { |
| 3639 |
return ErrInvalidLengthGenerated |
| 3640 |
} |
| 3641 |
postIndex := iNdEx + msglen |
| 3642 |
if postIndex > l { |
| 3643 |
return io.ErrUnexpectedEOF |
| 3644 |
} |
| 3645 |
if err := m.ImportPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3646 |
return err |
| 3647 |
} |
| 3648 |
iNdEx = postIndex |
| 3649 |
case 4: |
| 3650 |
if wireType != 0 { |
| 3651 |
return fmt.Errorf("proto: wrong wireType = %d for field IncludeManifest", wireType) |
| 3652 |
} |
| 3653 |
var v int |
| 3654 |
for shift := uint(0); ; shift += 7 { |
| 3655 |
if shift >= 64 { |
| 3656 |
return ErrIntOverflowGenerated |
| 3657 |
} |
| 3658 |
if iNdEx >= l { |
| 3659 |
return io.ErrUnexpectedEOF |
| 3660 |
} |
| 3661 |
b := dAtA[iNdEx] |
| 3662 |
iNdEx++ |
| 3663 |
v |= (int(b) & 0x7F) << shift |
| 3664 |
if b < 0x80 { |
| 3665 |
break |
| 3666 |
} |
| 3667 |
} |
| 3668 |
m.IncludeManifest = bool(v != 0) |
| 3669 |
case 5: |
| 3670 |
if wireType != 2 { |
| 3671 |
return fmt.Errorf("proto: wrong wireType = %d for field ReferencePolicy", wireType) |
| 3672 |
} |
| 3673 |
var msglen int |
| 3674 |
for shift := uint(0); ; shift += 7 { |
| 3675 |
if shift >= 64 { |
| 3676 |
return ErrIntOverflowGenerated |
| 3677 |
} |
| 3678 |
if iNdEx >= l { |
| 3679 |
return io.ErrUnexpectedEOF |
| 3680 |
} |
| 3681 |
b := dAtA[iNdEx] |
| 3682 |
iNdEx++ |
| 3683 |
msglen |= (int(b) & 0x7F) << shift |
| 3684 |
if b < 0x80 { |
| 3685 |
break |
| 3686 |
} |
| 3687 |
} |
| 3688 |
if msglen < 0 { |
| 3689 |
return ErrInvalidLengthGenerated |
| 3690 |
} |
| 3691 |
postIndex := iNdEx + msglen |
| 3692 |
if postIndex > l { |
| 3693 |
return io.ErrUnexpectedEOF |
| 3694 |
} |
| 3695 |
if err := m.ReferencePolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3696 |
return err |
| 3697 |
} |
| 3698 |
iNdEx = postIndex |
| 3699 |
default: |
| 3700 |
iNdEx = preIndex |
| 3701 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3702 |
if err != nil { |
| 3703 |
return err |
| 3704 |
} |
| 3705 |
if skippy < 0 { |
| 3706 |
return ErrInvalidLengthGenerated |
| 3707 |
} |
| 3708 |
if (iNdEx + skippy) > l { |
| 3709 |
return io.ErrUnexpectedEOF |
| 3710 |
} |
| 3711 |
iNdEx += skippy |
| 3712 |
} |
| 3713 |
} |
| 3714 |
|
| 3715 |
if iNdEx > l { |
| 3716 |
return io.ErrUnexpectedEOF |
| 3717 |
} |
| 3718 |
return nil |
| 3719 |
} |
| 3720 |
func (m *ImageImportStatus) Unmarshal(dAtA []byte) error { |
| 3721 |
l := len(dAtA) |
| 3722 |
iNdEx := 0 |
| 3723 |
for iNdEx < l { |
| 3724 |
preIndex := iNdEx |
| 3725 |
var wire uint64 |
| 3726 |
for shift := uint(0); ; shift += 7 { |
| 3727 |
if shift >= 64 { |
| 3728 |
return ErrIntOverflowGenerated |
| 3729 |
} |
| 3730 |
if iNdEx >= l { |
| 3731 |
return io.ErrUnexpectedEOF |
| 3732 |
} |
| 3733 |
b := dAtA[iNdEx] |
| 3734 |
iNdEx++ |
| 3735 |
wire |= (uint64(b) & 0x7F) << shift |
| 3736 |
if b < 0x80 { |
| 3737 |
break |
| 3738 |
} |
| 3739 |
} |
| 3740 |
fieldNum := int32(wire >> 3) |
| 3741 |
wireType := int(wire & 0x7) |
| 3742 |
if wireType == 4 { |
| 3743 |
return fmt.Errorf("proto: ImageImportStatus: wiretype end group for non-group") |
| 3744 |
} |
| 3745 |
if fieldNum <= 0 { |
| 3746 |
return fmt.Errorf("proto: ImageImportStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3747 |
} |
| 3748 |
switch fieldNum { |
| 3749 |
case 1: |
| 3750 |
if wireType != 2 { |
| 3751 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 3752 |
} |
| 3753 |
var msglen int |
| 3754 |
for shift := uint(0); ; shift += 7 { |
| 3755 |
if shift >= 64 { |
| 3756 |
return ErrIntOverflowGenerated |
| 3757 |
} |
| 3758 |
if iNdEx >= l { |
| 3759 |
return io.ErrUnexpectedEOF |
| 3760 |
} |
| 3761 |
b := dAtA[iNdEx] |
| 3762 |
iNdEx++ |
| 3763 |
msglen |= (int(b) & 0x7F) << shift |
| 3764 |
if b < 0x80 { |
| 3765 |
break |
| 3766 |
} |
| 3767 |
} |
| 3768 |
if msglen < 0 { |
| 3769 |
return ErrInvalidLengthGenerated |
| 3770 |
} |
| 3771 |
postIndex := iNdEx + msglen |
| 3772 |
if postIndex > l { |
| 3773 |
return io.ErrUnexpectedEOF |
| 3774 |
} |
| 3775 |
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3776 |
return err |
| 3777 |
} |
| 3778 |
iNdEx = postIndex |
| 3779 |
case 2: |
| 3780 |
if wireType != 2 { |
| 3781 |
return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) |
| 3782 |
} |
| 3783 |
var msglen int |
| 3784 |
for shift := uint(0); ; shift += 7 { |
| 3785 |
if shift >= 64 { |
| 3786 |
return ErrIntOverflowGenerated |
| 3787 |
} |
| 3788 |
if iNdEx >= l { |
| 3789 |
return io.ErrUnexpectedEOF |
| 3790 |
} |
| 3791 |
b := dAtA[iNdEx] |
| 3792 |
iNdEx++ |
| 3793 |
msglen |= (int(b) & 0x7F) << shift |
| 3794 |
if b < 0x80 { |
| 3795 |
break |
| 3796 |
} |
| 3797 |
} |
| 3798 |
if msglen < 0 { |
| 3799 |
return ErrInvalidLengthGenerated |
| 3800 |
} |
| 3801 |
postIndex := iNdEx + msglen |
| 3802 |
if postIndex > l { |
| 3803 |
return io.ErrUnexpectedEOF |
| 3804 |
} |
| 3805 |
if m.Image == nil { |
| 3806 |
m.Image = &Image{} |
| 3807 |
} |
| 3808 |
if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3809 |
return err |
| 3810 |
} |
| 3811 |
iNdEx = postIndex |
| 3812 |
case 3: |
| 3813 |
if wireType != 2 { |
| 3814 |
return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) |
| 3815 |
} |
| 3816 |
var stringLen uint64 |
| 3817 |
for shift := uint(0); ; shift += 7 { |
| 3818 |
if shift >= 64 { |
| 3819 |
return ErrIntOverflowGenerated |
| 3820 |
} |
| 3821 |
if iNdEx >= l { |
| 3822 |
return io.ErrUnexpectedEOF |
| 3823 |
} |
| 3824 |
b := dAtA[iNdEx] |
| 3825 |
iNdEx++ |
| 3826 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3827 |
if b < 0x80 { |
| 3828 |
break |
| 3829 |
} |
| 3830 |
} |
| 3831 |
intStringLen := int(stringLen) |
| 3832 |
if intStringLen < 0 { |
| 3833 |
return ErrInvalidLengthGenerated |
| 3834 |
} |
| 3835 |
postIndex := iNdEx + intStringLen |
| 3836 |
if postIndex > l { |
| 3837 |
return io.ErrUnexpectedEOF |
| 3838 |
} |
| 3839 |
m.Tag = string(dAtA[iNdEx:postIndex]) |
| 3840 |
iNdEx = postIndex |
| 3841 |
default: |
| 3842 |
iNdEx = preIndex |
| 3843 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3844 |
if err != nil { |
| 3845 |
return err |
| 3846 |
} |
| 3847 |
if skippy < 0 { |
| 3848 |
return ErrInvalidLengthGenerated |
| 3849 |
} |
| 3850 |
if (iNdEx + skippy) > l { |
| 3851 |
return io.ErrUnexpectedEOF |
| 3852 |
} |
| 3853 |
iNdEx += skippy |
| 3854 |
} |
| 3855 |
} |
| 3856 |
|
| 3857 |
if iNdEx > l { |
| 3858 |
return io.ErrUnexpectedEOF |
| 3859 |
} |
| 3860 |
return nil |
| 3861 |
} |
| 3862 |
func (m *ImageLayer) Unmarshal(dAtA []byte) error { |
| 3863 |
l := len(dAtA) |
| 3864 |
iNdEx := 0 |
| 3865 |
for iNdEx < l { |
| 3866 |
preIndex := iNdEx |
| 3867 |
var wire uint64 |
| 3868 |
for shift := uint(0); ; shift += 7 { |
| 3869 |
if shift >= 64 { |
| 3870 |
return ErrIntOverflowGenerated |
| 3871 |
} |
| 3872 |
if iNdEx >= l { |
| 3873 |
return io.ErrUnexpectedEOF |
| 3874 |
} |
| 3875 |
b := dAtA[iNdEx] |
| 3876 |
iNdEx++ |
| 3877 |
wire |= (uint64(b) & 0x7F) << shift |
| 3878 |
if b < 0x80 { |
| 3879 |
break |
| 3880 |
} |
| 3881 |
} |
| 3882 |
fieldNum := int32(wire >> 3) |
| 3883 |
wireType := int(wire & 0x7) |
| 3884 |
if wireType == 4 { |
| 3885 |
return fmt.Errorf("proto: ImageLayer: wiretype end group for non-group") |
| 3886 |
} |
| 3887 |
if fieldNum <= 0 { |
| 3888 |
return fmt.Errorf("proto: ImageLayer: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3889 |
} |
| 3890 |
switch fieldNum { |
| 3891 |
case 1: |
| 3892 |
if wireType != 2 { |
| 3893 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 3894 |
} |
| 3895 |
var stringLen uint64 |
| 3896 |
for shift := uint(0); ; shift += 7 { |
| 3897 |
if shift >= 64 { |
| 3898 |
return ErrIntOverflowGenerated |
| 3899 |
} |
| 3900 |
if iNdEx >= l { |
| 3901 |
return io.ErrUnexpectedEOF |
| 3902 |
} |
| 3903 |
b := dAtA[iNdEx] |
| 3904 |
iNdEx++ |
| 3905 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3906 |
if b < 0x80 { |
| 3907 |
break |
| 3908 |
} |
| 3909 |
} |
| 3910 |
intStringLen := int(stringLen) |
| 3911 |
if intStringLen < 0 { |
| 3912 |
return ErrInvalidLengthGenerated |
| 3913 |
} |
| 3914 |
postIndex := iNdEx + intStringLen |
| 3915 |
if postIndex > l { |
| 3916 |
return io.ErrUnexpectedEOF |
| 3917 |
} |
| 3918 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 3919 |
iNdEx = postIndex |
| 3920 |
case 2: |
| 3921 |
if wireType != 0 { |
| 3922 |
return fmt.Errorf("proto: wrong wireType = %d for field LayerSize", wireType) |
| 3923 |
} |
| 3924 |
m.LayerSize = 0 |
| 3925 |
for shift := uint(0); ; shift += 7 { |
| 3926 |
if shift >= 64 { |
| 3927 |
return ErrIntOverflowGenerated |
| 3928 |
} |
| 3929 |
if iNdEx >= l { |
| 3930 |
return io.ErrUnexpectedEOF |
| 3931 |
} |
| 3932 |
b := dAtA[iNdEx] |
| 3933 |
iNdEx++ |
| 3934 |
m.LayerSize |= (int64(b) & 0x7F) << shift |
| 3935 |
if b < 0x80 { |
| 3936 |
break |
| 3937 |
} |
| 3938 |
} |
| 3939 |
case 3: |
| 3940 |
if wireType != 2 { |
| 3941 |
return fmt.Errorf("proto: wrong wireType = %d for field MediaType", wireType) |
| 3942 |
} |
| 3943 |
var stringLen uint64 |
| 3944 |
for shift := uint(0); ; shift += 7 { |
| 3945 |
if shift >= 64 { |
| 3946 |
return ErrIntOverflowGenerated |
| 3947 |
} |
| 3948 |
if iNdEx >= l { |
| 3949 |
return io.ErrUnexpectedEOF |
| 3950 |
} |
| 3951 |
b := dAtA[iNdEx] |
| 3952 |
iNdEx++ |
| 3953 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 3954 |
if b < 0x80 { |
| 3955 |
break |
| 3956 |
} |
| 3957 |
} |
| 3958 |
intStringLen := int(stringLen) |
| 3959 |
if intStringLen < 0 { |
| 3960 |
return ErrInvalidLengthGenerated |
| 3961 |
} |
| 3962 |
postIndex := iNdEx + intStringLen |
| 3963 |
if postIndex > l { |
| 3964 |
return io.ErrUnexpectedEOF |
| 3965 |
} |
| 3966 |
m.MediaType = string(dAtA[iNdEx:postIndex]) |
| 3967 |
iNdEx = postIndex |
| 3968 |
default: |
| 3969 |
iNdEx = preIndex |
| 3970 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3971 |
if err != nil { |
| 3972 |
return err |
| 3973 |
} |
| 3974 |
if skippy < 0 { |
| 3975 |
return ErrInvalidLengthGenerated |
| 3976 |
} |
| 3977 |
if (iNdEx + skippy) > l { |
| 3978 |
return io.ErrUnexpectedEOF |
| 3979 |
} |
| 3980 |
iNdEx += skippy |
| 3981 |
} |
| 3982 |
} |
| 3983 |
|
| 3984 |
if iNdEx > l { |
| 3985 |
return io.ErrUnexpectedEOF |
| 3986 |
} |
| 3987 |
return nil |
| 3988 |
} |
| 3989 |
func (m *ImageLayerData) Unmarshal(dAtA []byte) error { |
| 3990 |
l := len(dAtA) |
| 3991 |
iNdEx := 0 |
| 3992 |
for iNdEx < l { |
| 3993 |
preIndex := iNdEx |
| 3994 |
var wire uint64 |
| 3995 |
for shift := uint(0); ; shift += 7 { |
| 3996 |
if shift >= 64 { |
| 3997 |
return ErrIntOverflowGenerated |
| 3998 |
} |
| 3999 |
if iNdEx >= l { |
| 4000 |
return io.ErrUnexpectedEOF |
| 4001 |
} |
| 4002 |
b := dAtA[iNdEx] |
| 4003 |
iNdEx++ |
| 4004 |
wire |= (uint64(b) & 0x7F) << shift |
| 4005 |
if b < 0x80 { |
| 4006 |
break |
| 4007 |
} |
| 4008 |
} |
| 4009 |
fieldNum := int32(wire >> 3) |
| 4010 |
wireType := int(wire & 0x7) |
| 4011 |
if wireType == 4 { |
| 4012 |
return fmt.Errorf("proto: ImageLayerData: wiretype end group for non-group") |
| 4013 |
} |
| 4014 |
if fieldNum <= 0 { |
| 4015 |
return fmt.Errorf("proto: ImageLayerData: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4016 |
} |
| 4017 |
switch fieldNum { |
| 4018 |
case 1: |
| 4019 |
if wireType != 0 { |
| 4020 |
return fmt.Errorf("proto: wrong wireType = %d for field LayerSize", wireType) |
| 4021 |
} |
| 4022 |
var v int64 |
| 4023 |
for shift := uint(0); ; shift += 7 { |
| 4024 |
if shift >= 64 { |
| 4025 |
return ErrIntOverflowGenerated |
| 4026 |
} |
| 4027 |
if iNdEx >= l { |
| 4028 |
return io.ErrUnexpectedEOF |
| 4029 |
} |
| 4030 |
b := dAtA[iNdEx] |
| 4031 |
iNdEx++ |
| 4032 |
v |= (int64(b) & 0x7F) << shift |
| 4033 |
if b < 0x80 { |
| 4034 |
break |
| 4035 |
} |
| 4036 |
} |
| 4037 |
m.LayerSize = &v |
| 4038 |
case 2: |
| 4039 |
if wireType != 2 { |
| 4040 |
return fmt.Errorf("proto: wrong wireType = %d for field MediaType", wireType) |
| 4041 |
} |
| 4042 |
var stringLen uint64 |
| 4043 |
for shift := uint(0); ; shift += 7 { |
| 4044 |
if shift >= 64 { |
| 4045 |
return ErrIntOverflowGenerated |
| 4046 |
} |
| 4047 |
if iNdEx >= l { |
| 4048 |
return io.ErrUnexpectedEOF |
| 4049 |
} |
| 4050 |
b := dAtA[iNdEx] |
| 4051 |
iNdEx++ |
| 4052 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 4053 |
if b < 0x80 { |
| 4054 |
break |
| 4055 |
} |
| 4056 |
} |
| 4057 |
intStringLen := int(stringLen) |
| 4058 |
if intStringLen < 0 { |
| 4059 |
return ErrInvalidLengthGenerated |
| 4060 |
} |
| 4061 |
postIndex := iNdEx + intStringLen |
| 4062 |
if postIndex > l { |
| 4063 |
return io.ErrUnexpectedEOF |
| 4064 |
} |
| 4065 |
m.MediaType = string(dAtA[iNdEx:postIndex]) |
| 4066 |
iNdEx = postIndex |
| 4067 |
default: |
| 4068 |
iNdEx = preIndex |
| 4069 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4070 |
if err != nil { |
| 4071 |
return err |
| 4072 |
} |
| 4073 |
if skippy < 0 { |
| 4074 |
return ErrInvalidLengthGenerated |
| 4075 |
} |
| 4076 |
if (iNdEx + skippy) > l { |
| 4077 |
return io.ErrUnexpectedEOF |
| 4078 |
} |
| 4079 |
iNdEx += skippy |
| 4080 |
} |
| 4081 |
} |
| 4082 |
|
| 4083 |
if iNdEx > l { |
| 4084 |
return io.ErrUnexpectedEOF |
| 4085 |
} |
| 4086 |
return nil |
| 4087 |
} |
| 4088 |
func (m *ImageList) Unmarshal(dAtA []byte) error { |
| 4089 |
l := len(dAtA) |
| 4090 |
iNdEx := 0 |
| 4091 |
for iNdEx < l { |
| 4092 |
preIndex := iNdEx |
| 4093 |
var wire uint64 |
| 4094 |
for shift := uint(0); ; shift += 7 { |
| 4095 |
if shift >= 64 { |
| 4096 |
return ErrIntOverflowGenerated |
| 4097 |
} |
| 4098 |
if iNdEx >= l { |
| 4099 |
return io.ErrUnexpectedEOF |
| 4100 |
} |
| 4101 |
b := dAtA[iNdEx] |
| 4102 |
iNdEx++ |
| 4103 |
wire |= (uint64(b) & 0x7F) << shift |
| 4104 |
if b < 0x80 { |
| 4105 |
break |
| 4106 |
} |
| 4107 |
} |
| 4108 |
fieldNum := int32(wire >> 3) |
| 4109 |
wireType := int(wire & 0x7) |
| 4110 |
if wireType == 4 { |
| 4111 |
return fmt.Errorf("proto: ImageList: wiretype end group for non-group") |
| 4112 |
} |
| 4113 |
if fieldNum <= 0 { |
| 4114 |
return fmt.Errorf("proto: ImageList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4115 |
} |
| 4116 |
switch fieldNum { |
| 4117 |
case 1: |
| 4118 |
if wireType != 2 { |
| 4119 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 4120 |
} |
| 4121 |
var msglen int |
| 4122 |
for shift := uint(0); ; shift += 7 { |
| 4123 |
if shift >= 64 { |
| 4124 |
return ErrIntOverflowGenerated |
| 4125 |
} |
| 4126 |
if iNdEx >= l { |
| 4127 |
return io.ErrUnexpectedEOF |
| 4128 |
} |
| 4129 |
b := dAtA[iNdEx] |
| 4130 |
iNdEx++ |
| 4131 |
msglen |= (int(b) & 0x7F) << shift |
| 4132 |
if b < 0x80 { |
| 4133 |
break |
| 4134 |
} |
| 4135 |
} |
| 4136 |
if msglen < 0 { |
| 4137 |
return ErrInvalidLengthGenerated |
| 4138 |
} |
| 4139 |
postIndex := iNdEx + msglen |
| 4140 |
if postIndex > l { |
| 4141 |
return io.ErrUnexpectedEOF |
| 4142 |
} |
| 4143 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4144 |
return err |
| 4145 |
} |
| 4146 |
iNdEx = postIndex |
| 4147 |
case 2: |
| 4148 |
if wireType != 2 { |
| 4149 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 4150 |
} |
| 4151 |
var msglen int |
| 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 |
msglen |= (int(b) & 0x7F) << shift |
| 4162 |
if b < 0x80 { |
| 4163 |
break |
| 4164 |
} |
| 4165 |
} |
| 4166 |
if msglen < 0 { |
| 4167 |
return ErrInvalidLengthGenerated |
| 4168 |
} |
| 4169 |
postIndex := iNdEx + msglen |
| 4170 |
if postIndex > l { |
| 4171 |
return io.ErrUnexpectedEOF |
| 4172 |
} |
| 4173 |
m.Items = append(m.Items, Image{}) |
| 4174 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4175 |
return err |
| 4176 |
} |
| 4177 |
iNdEx = postIndex |
| 4178 |
default: |
| 4179 |
iNdEx = preIndex |
| 4180 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4181 |
if err != nil { |
| 4182 |
return err |
| 4183 |
} |
| 4184 |
if skippy < 0 { |
| 4185 |
return ErrInvalidLengthGenerated |
| 4186 |
} |
| 4187 |
if (iNdEx + skippy) > l { |
| 4188 |
return io.ErrUnexpectedEOF |
| 4189 |
} |
| 4190 |
iNdEx += skippy |
| 4191 |
} |
| 4192 |
} |
| 4193 |
|
| 4194 |
if iNdEx > l { |
| 4195 |
return io.ErrUnexpectedEOF |
| 4196 |
} |
| 4197 |
return nil |
| 4198 |
} |
| 4199 |
func (m *ImageLookupPolicy) Unmarshal(dAtA []byte) error { |
| 4200 |
l := len(dAtA) |
| 4201 |
iNdEx := 0 |
| 4202 |
for iNdEx < l { |
| 4203 |
preIndex := iNdEx |
| 4204 |
var wire uint64 |
| 4205 |
for shift := uint(0); ; shift += 7 { |
| 4206 |
if shift >= 64 { |
| 4207 |
return ErrIntOverflowGenerated |
| 4208 |
} |
| 4209 |
if iNdEx >= l { |
| 4210 |
return io.ErrUnexpectedEOF |
| 4211 |
} |
| 4212 |
b := dAtA[iNdEx] |
| 4213 |
iNdEx++ |
| 4214 |
wire |= (uint64(b) & 0x7F) << shift |
| 4215 |
if b < 0x80 { |
| 4216 |
break |
| 4217 |
} |
| 4218 |
} |
| 4219 |
fieldNum := int32(wire >> 3) |
| 4220 |
wireType := int(wire & 0x7) |
| 4221 |
if wireType == 4 { |
| 4222 |
return fmt.Errorf("proto: ImageLookupPolicy: wiretype end group for non-group") |
| 4223 |
} |
| 4224 |
if fieldNum <= 0 { |
| 4225 |
return fmt.Errorf("proto: ImageLookupPolicy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4226 |
} |
| 4227 |
switch fieldNum { |
| 4228 |
case 3: |
| 4229 |
if wireType != 0 { |
| 4230 |
return fmt.Errorf("proto: wrong wireType = %d for field Local", wireType) |
| 4231 |
} |
| 4232 |
var v int |
| 4233 |
for shift := uint(0); ; shift += 7 { |
| 4234 |
if shift >= 64 { |
| 4235 |
return ErrIntOverflowGenerated |
| 4236 |
} |
| 4237 |
if iNdEx >= l { |
| 4238 |
return io.ErrUnexpectedEOF |
| 4239 |
} |
| 4240 |
b := dAtA[iNdEx] |
| 4241 |
iNdEx++ |
| 4242 |
v |= (int(b) & 0x7F) << shift |
| 4243 |
if b < 0x80 { |
| 4244 |
break |
| 4245 |
} |
| 4246 |
} |
| 4247 |
m.Local = bool(v != 0) |
| 4248 |
default: |
| 4249 |
iNdEx = preIndex |
| 4250 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4251 |
if err != nil { |
| 4252 |
return err |
| 4253 |
} |
| 4254 |
if skippy < 0 { |
| 4255 |
return ErrInvalidLengthGenerated |
| 4256 |
} |
| 4257 |
if (iNdEx + skippy) > l { |
| 4258 |
return io.ErrUnexpectedEOF |
| 4259 |
} |
| 4260 |
iNdEx += skippy |
| 4261 |
} |
| 4262 |
} |
| 4263 |
|
| 4264 |
if iNdEx > l { |
| 4265 |
return io.ErrUnexpectedEOF |
| 4266 |
} |
| 4267 |
return nil |
| 4268 |
} |
| 4269 |
func (m *ImageSignature) Unmarshal(dAtA []byte) error { |
| 4270 |
l := len(dAtA) |
| 4271 |
iNdEx := 0 |
| 4272 |
for iNdEx < l { |
| 4273 |
preIndex := iNdEx |
| 4274 |
var wire uint64 |
| 4275 |
for shift := uint(0); ; shift += 7 { |
| 4276 |
if shift >= 64 { |
| 4277 |
return ErrIntOverflowGenerated |
| 4278 |
} |
| 4279 |
if iNdEx >= l { |
| 4280 |
return io.ErrUnexpectedEOF |
| 4281 |
} |
| 4282 |
b := dAtA[iNdEx] |
| 4283 |
iNdEx++ |
| 4284 |
wire |= (uint64(b) & 0x7F) << shift |
| 4285 |
if b < 0x80 { |
| 4286 |
break |
| 4287 |
} |
| 4288 |
} |
| 4289 |
fieldNum := int32(wire >> 3) |
| 4290 |
wireType := int(wire & 0x7) |
| 4291 |
if wireType == 4 { |
| 4292 |
return fmt.Errorf("proto: ImageSignature: wiretype end group for non-group") |
| 4293 |
} |
| 4294 |
if fieldNum <= 0 { |
| 4295 |
return fmt.Errorf("proto: ImageSignature: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4296 |
} |
| 4297 |
switch fieldNum { |
| 4298 |
case 1: |
| 4299 |
if wireType != 2 { |
| 4300 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 4301 |
} |
| 4302 |
var msglen int |
| 4303 |
for shift := uint(0); ; shift += 7 { |
| 4304 |
if shift >= 64 { |
| 4305 |
return ErrIntOverflowGenerated |
| 4306 |
} |
| 4307 |
if iNdEx >= l { |
| 4308 |
return io.ErrUnexpectedEOF |
| 4309 |
} |
| 4310 |
b := dAtA[iNdEx] |
| 4311 |
iNdEx++ |
| 4312 |
msglen |= (int(b) & 0x7F) << shift |
| 4313 |
if b < 0x80 { |
| 4314 |
break |
| 4315 |
} |
| 4316 |
} |
| 4317 |
if msglen < 0 { |
| 4318 |
return ErrInvalidLengthGenerated |
| 4319 |
} |
| 4320 |
postIndex := iNdEx + msglen |
| 4321 |
if postIndex > l { |
| 4322 |
return io.ErrUnexpectedEOF |
| 4323 |
} |
| 4324 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4325 |
return err |
| 4326 |
} |
| 4327 |
iNdEx = postIndex |
| 4328 |
case 2: |
| 4329 |
if wireType != 2 { |
| 4330 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 4331 |
} |
| 4332 |
var stringLen uint64 |
| 4333 |
for shift := uint(0); ; shift += 7 { |
| 4334 |
if shift >= 64 { |
| 4335 |
return ErrIntOverflowGenerated |
| 4336 |
} |
| 4337 |
if iNdEx >= l { |
| 4338 |
return io.ErrUnexpectedEOF |
| 4339 |
} |
| 4340 |
b := dAtA[iNdEx] |
| 4341 |
iNdEx++ |
| 4342 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 4343 |
if b < 0x80 { |
| 4344 |
break |
| 4345 |
} |
| 4346 |
} |
| 4347 |
intStringLen := int(stringLen) |
| 4348 |
if intStringLen < 0 { |
| 4349 |
return ErrInvalidLengthGenerated |
| 4350 |
} |
| 4351 |
postIndex := iNdEx + intStringLen |
| 4352 |
if postIndex > l { |
| 4353 |
return io.ErrUnexpectedEOF |
| 4354 |
} |
| 4355 |
m.Type = string(dAtA[iNdEx:postIndex]) |
| 4356 |
iNdEx = postIndex |
| 4357 |
case 3: |
| 4358 |
if wireType != 2 { |
| 4359 |
return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) |
| 4360 |
} |
| 4361 |
var byteLen int |
| 4362 |
for shift := uint(0); ; shift += 7 { |
| 4363 |
if shift >= 64 { |
| 4364 |
return ErrIntOverflowGenerated |
| 4365 |
} |
| 4366 |
if iNdEx >= l { |
| 4367 |
return io.ErrUnexpectedEOF |
| 4368 |
} |
| 4369 |
b := dAtA[iNdEx] |
| 4370 |
iNdEx++ |
| 4371 |
byteLen |= (int(b) & 0x7F) << shift |
| 4372 |
if b < 0x80 { |
| 4373 |
break |
| 4374 |
} |
| 4375 |
} |
| 4376 |
if byteLen < 0 { |
| 4377 |
return ErrInvalidLengthGenerated |
| 4378 |
} |
| 4379 |
postIndex := iNdEx + byteLen |
| 4380 |
if postIndex > l { |
| 4381 |
return io.ErrUnexpectedEOF |
| 4382 |
} |
| 4383 |
m.Content = append(m.Content[:0], dAtA[iNdEx:postIndex]...) |
| 4384 |
if m.Content == nil { |
| 4385 |
m.Content = []byte{} |
| 4386 |
} |
| 4387 |
iNdEx = postIndex |
| 4388 |
case 4: |
| 4389 |
if wireType != 2 { |
| 4390 |
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 4391 |
} |
| 4392 |
var msglen int |
| 4393 |
for shift := uint(0); ; shift += 7 { |
| 4394 |
if shift >= 64 { |
| 4395 |
return ErrIntOverflowGenerated |
| 4396 |
} |
| 4397 |
if iNdEx >= l { |
| 4398 |
return io.ErrUnexpectedEOF |
| 4399 |
} |
| 4400 |
b := dAtA[iNdEx] |
| 4401 |
iNdEx++ |
| 4402 |
msglen |= (int(b) & 0x7F) << shift |
| 4403 |
if b < 0x80 { |
| 4404 |
break |
| 4405 |
} |
| 4406 |
} |
| 4407 |
if msglen < 0 { |
| 4408 |
return ErrInvalidLengthGenerated |
| 4409 |
} |
| 4410 |
postIndex := iNdEx + msglen |
| 4411 |
if postIndex > l { |
| 4412 |
return io.ErrUnexpectedEOF |
| 4413 |
} |
| 4414 |
m.Conditions = append(m.Conditions, SignatureCondition{}) |
| 4415 |
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4416 |
return err |
| 4417 |
} |
| 4418 |
iNdEx = postIndex |
| 4419 |
case 5: |
| 4420 |
if wireType != 2 { |
| 4421 |
return fmt.Errorf("proto: wrong wireType = %d for field ImageIdentity", wireType) |
| 4422 |
} |
| 4423 |
var stringLen uint64 |
| 4424 |
for shift := uint(0); ; shift += 7 { |
| 4425 |
if shift >= 64 { |
| 4426 |
return ErrIntOverflowGenerated |
| 4427 |
} |
| 4428 |
if iNdEx >= l { |
| 4429 |
return io.ErrUnexpectedEOF |
| 4430 |
} |
| 4431 |
b := dAtA[iNdEx] |
| 4432 |
iNdEx++ |
| 4433 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 4434 |
if b < 0x80 { |
| 4435 |
break |
| 4436 |
} |
| 4437 |
} |
| 4438 |
intStringLen := int(stringLen) |
| 4439 |
if intStringLen < 0 { |
| 4440 |
return ErrInvalidLengthGenerated |
| 4441 |
} |
| 4442 |
postIndex := iNdEx + intStringLen |
| 4443 |
if postIndex > l { |
| 4444 |
return io.ErrUnexpectedEOF |
| 4445 |
} |
| 4446 |
m.ImageIdentity = string(dAtA[iNdEx:postIndex]) |
| 4447 |
iNdEx = postIndex |
| 4448 |
case 6: |
| 4449 |
if wireType != 2 { |
| 4450 |
return fmt.Errorf("proto: wrong wireType = %d for field SignedClaims", wireType) |
| 4451 |
} |
| 4452 |
var msglen int |
| 4453 |
for shift := uint(0); ; shift += 7 { |
| 4454 |
if shift >= 64 { |
| 4455 |
return ErrIntOverflowGenerated |
| 4456 |
} |
| 4457 |
if iNdEx >= l { |
| 4458 |
return io.ErrUnexpectedEOF |
| 4459 |
} |
| 4460 |
b := dAtA[iNdEx] |
| 4461 |
iNdEx++ |
| 4462 |
msglen |= (int(b) & 0x7F) << shift |
| 4463 |
if b < 0x80 { |
| 4464 |
break |
| 4465 |
} |
| 4466 |
} |
| 4467 |
if msglen < 0 { |
| 4468 |
return ErrInvalidLengthGenerated |
| 4469 |
} |
| 4470 |
postIndex := iNdEx + msglen |
| 4471 |
if postIndex > l { |
| 4472 |
return io.ErrUnexpectedEOF |
| 4473 |
} |
| 4474 |
if m.SignedClaims == nil { |
| 4475 |
m.SignedClaims = make(map[string]string) |
| 4476 |
} |
| 4477 |
var mapkey string |
| 4478 |
var mapvalue string |
| 4479 |
for iNdEx < postIndex { |
| 4480 |
entryPreIndex := iNdEx |
| 4481 |
var wire uint64 |
| 4482 |
for shift := uint(0); ; shift += 7 { |
| 4483 |
if shift >= 64 { |
| 4484 |
return ErrIntOverflowGenerated |
| 4485 |
} |
| 4486 |
if iNdEx >= l { |
| 4487 |
return io.ErrUnexpectedEOF |
| 4488 |
} |
| 4489 |
b := dAtA[iNdEx] |
| 4490 |
iNdEx++ |
| 4491 |
wire |= (uint64(b) & 0x7F) << shift |
| 4492 |
if b < 0x80 { |
| 4493 |
break |
| 4494 |
} |
| 4495 |
} |
| 4496 |
fieldNum := int32(wire >> 3) |
| 4497 |
if fieldNum == 1 { |
| 4498 |
var stringLenmapkey uint64 |
| 4499 |
for shift := uint(0); ; shift += 7 { |
| 4500 |
if shift >= 64 { |
| 4501 |
return ErrIntOverflowGenerated |
| 4502 |
} |
| 4503 |
if iNdEx >= l { |
| 4504 |
return io.ErrUnexpectedEOF |
| 4505 |
} |
| 4506 |
b := dAtA[iNdEx] |
| 4507 |
iNdEx++ |
| 4508 |
stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 4509 |
if b < 0x80 { |
| 4510 |
break |
| 4511 |
} |
| 4512 |
} |
| 4513 |
intStringLenmapkey := int(stringLenmapkey) |
| 4514 |
if intStringLenmapkey < 0 { |
| 4515 |
return ErrInvalidLengthGenerated |
| 4516 |
} |
| 4517 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 4518 |
if postStringIndexmapkey > l { |
| 4519 |
return io.ErrUnexpectedEOF |
| 4520 |
} |
| 4521 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 4522 |
iNdEx = postStringIndexmapkey |
| 4523 |
} else if fieldNum == 2 { |
| 4524 |
var stringLenmapvalue uint64 |
| 4525 |
for shift := uint(0); ; shift += 7 { |
| 4526 |
if shift >= 64 { |
| 4527 |
return ErrIntOverflowGenerated |
| 4528 |
} |
| 4529 |
if iNdEx >= l { |
| 4530 |
return io.ErrUnexpectedEOF |
| 4531 |
} |
| 4532 |
b := dAtA[iNdEx] |
| 4533 |
iNdEx++ |
| 4534 |
stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 4535 |
if b < 0x80 { |
| 4536 |
break |
| 4537 |
} |
| 4538 |
} |
| 4539 |
intStringLenmapvalue := int(stringLenmapvalue) |
| 4540 |
if intStringLenmapvalue < 0 { |
| 4541 |
return ErrInvalidLengthGenerated |
| 4542 |
} |
| 4543 |
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 4544 |
if postStringIndexmapvalue > l { |
| 4545 |
return io.ErrUnexpectedEOF |
| 4546 |
} |
| 4547 |
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 4548 |
iNdEx = postStringIndexmapvalue |
| 4549 |
} else { |
| 4550 |
iNdEx = entryPreIndex |
| 4551 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4552 |
if err != nil { |
| 4553 |
return err |
| 4554 |
} |
| 4555 |
if skippy < 0 { |
| 4556 |
return ErrInvalidLengthGenerated |
| 4557 |
} |
| 4558 |
if (iNdEx + skippy) > postIndex { |
| 4559 |
return io.ErrUnexpectedEOF |
| 4560 |
} |
| 4561 |
iNdEx += skippy |
| 4562 |
} |
| 4563 |
} |
| 4564 |
m.SignedClaims[mapkey] = mapvalue |
| 4565 |
iNdEx = postIndex |
| 4566 |
case 7: |
| 4567 |
if wireType != 2 { |
| 4568 |
return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) |
| 4569 |
} |
| 4570 |
var msglen int |
| 4571 |
for shift := uint(0); ; shift += 7 { |
| 4572 |
if shift >= 64 { |
| 4573 |
return ErrIntOverflowGenerated |
| 4574 |
} |
| 4575 |
if iNdEx >= l { |
| 4576 |
return io.ErrUnexpectedEOF |
| 4577 |
} |
| 4578 |
b := dAtA[iNdEx] |
| 4579 |
iNdEx++ |
| 4580 |
msglen |= (int(b) & 0x7F) << shift |
| 4581 |
if b < 0x80 { |
| 4582 |
break |
| 4583 |
} |
| 4584 |
} |
| 4585 |
if msglen < 0 { |
| 4586 |
return ErrInvalidLengthGenerated |
| 4587 |
} |
| 4588 |
postIndex := iNdEx + msglen |
| 4589 |
if postIndex > l { |
| 4590 |
return io.ErrUnexpectedEOF |
| 4591 |
} |
| 4592 |
if m.Created == nil { |
| 4593 |
m.Created = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} |
| 4594 |
} |
| 4595 |
if err := m.Created.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4596 |
return err |
| 4597 |
} |
| 4598 |
iNdEx = postIndex |
| 4599 |
case 8: |
| 4600 |
if wireType != 2 { |
| 4601 |
return fmt.Errorf("proto: wrong wireType = %d for field IssuedBy", wireType) |
| 4602 |
} |
| 4603 |
var msglen int |
| 4604 |
for shift := uint(0); ; shift += 7 { |
| 4605 |
if shift >= 64 { |
| 4606 |
return ErrIntOverflowGenerated |
| 4607 |
} |
| 4608 |
if iNdEx >= l { |
| 4609 |
return io.ErrUnexpectedEOF |
| 4610 |
} |
| 4611 |
b := dAtA[iNdEx] |
| 4612 |
iNdEx++ |
| 4613 |
msglen |= (int(b) & 0x7F) << shift |
| 4614 |
if b < 0x80 { |
| 4615 |
break |
| 4616 |
} |
| 4617 |
} |
| 4618 |
if msglen < 0 { |
| 4619 |
return ErrInvalidLengthGenerated |
| 4620 |
} |
| 4621 |
postIndex := iNdEx + msglen |
| 4622 |
if postIndex > l { |
| 4623 |
return io.ErrUnexpectedEOF |
| 4624 |
} |
| 4625 |
if m.IssuedBy == nil { |
| 4626 |
m.IssuedBy = &SignatureIssuer{} |
| 4627 |
} |
| 4628 |
if err := m.IssuedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4629 |
return err |
| 4630 |
} |
| 4631 |
iNdEx = postIndex |
| 4632 |
case 9: |
| 4633 |
if wireType != 2 { |
| 4634 |
return fmt.Errorf("proto: wrong wireType = %d for field IssuedTo", wireType) |
| 4635 |
} |
| 4636 |
var msglen int |
| 4637 |
for shift := uint(0); ; shift += 7 { |
| 4638 |
if shift >= 64 { |
| 4639 |
return ErrIntOverflowGenerated |
| 4640 |
} |
| 4641 |
if iNdEx >= l { |
| 4642 |
return io.ErrUnexpectedEOF |
| 4643 |
} |
| 4644 |
b := dAtA[iNdEx] |
| 4645 |
iNdEx++ |
| 4646 |
msglen |= (int(b) & 0x7F) << shift |
| 4647 |
if b < 0x80 { |
| 4648 |
break |
| 4649 |
} |
| 4650 |
} |
| 4651 |
if msglen < 0 { |
| 4652 |
return ErrInvalidLengthGenerated |
| 4653 |
} |
| 4654 |
postIndex := iNdEx + msglen |
| 4655 |
if postIndex > l { |
| 4656 |
return io.ErrUnexpectedEOF |
| 4657 |
} |
| 4658 |
if m.IssuedTo == nil { |
| 4659 |
m.IssuedTo = &SignatureSubject{} |
| 4660 |
} |
| 4661 |
if err := m.IssuedTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4662 |
return err |
| 4663 |
} |
| 4664 |
iNdEx = postIndex |
| 4665 |
default: |
| 4666 |
iNdEx = preIndex |
| 4667 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4668 |
if err != nil { |
| 4669 |
return err |
| 4670 |
} |
| 4671 |
if skippy < 0 { |
| 4672 |
return ErrInvalidLengthGenerated |
| 4673 |
} |
| 4674 |
if (iNdEx + skippy) > l { |
| 4675 |
return io.ErrUnexpectedEOF |
| 4676 |
} |
| 4677 |
iNdEx += skippy |
| 4678 |
} |
| 4679 |
} |
| 4680 |
|
| 4681 |
if iNdEx > l { |
| 4682 |
return io.ErrUnexpectedEOF |
| 4683 |
} |
| 4684 |
return nil |
| 4685 |
} |
| 4686 |
func (m *ImageStream) Unmarshal(dAtA []byte) error { |
| 4687 |
l := len(dAtA) |
| 4688 |
iNdEx := 0 |
| 4689 |
for iNdEx < l { |
| 4690 |
preIndex := iNdEx |
| 4691 |
var wire uint64 |
| 4692 |
for shift := uint(0); ; shift += 7 { |
| 4693 |
if shift >= 64 { |
| 4694 |
return ErrIntOverflowGenerated |
| 4695 |
} |
| 4696 |
if iNdEx >= l { |
| 4697 |
return io.ErrUnexpectedEOF |
| 4698 |
} |
| 4699 |
b := dAtA[iNdEx] |
| 4700 |
iNdEx++ |
| 4701 |
wire |= (uint64(b) & 0x7F) << shift |
| 4702 |
if b < 0x80 { |
| 4703 |
break |
| 4704 |
} |
| 4705 |
} |
| 4706 |
fieldNum := int32(wire >> 3) |
| 4707 |
wireType := int(wire & 0x7) |
| 4708 |
if wireType == 4 { |
| 4709 |
return fmt.Errorf("proto: ImageStream: wiretype end group for non-group") |
| 4710 |
} |
| 4711 |
if fieldNum <= 0 { |
| 4712 |
return fmt.Errorf("proto: ImageStream: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4713 |
} |
| 4714 |
switch fieldNum { |
| 4715 |
case 1: |
| 4716 |
if wireType != 2 { |
| 4717 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 4718 |
} |
| 4719 |
var msglen int |
| 4720 |
for shift := uint(0); ; shift += 7 { |
| 4721 |
if shift >= 64 { |
| 4722 |
return ErrIntOverflowGenerated |
| 4723 |
} |
| 4724 |
if iNdEx >= l { |
| 4725 |
return io.ErrUnexpectedEOF |
| 4726 |
} |
| 4727 |
b := dAtA[iNdEx] |
| 4728 |
iNdEx++ |
| 4729 |
msglen |= (int(b) & 0x7F) << shift |
| 4730 |
if b < 0x80 { |
| 4731 |
break |
| 4732 |
} |
| 4733 |
} |
| 4734 |
if msglen < 0 { |
| 4735 |
return ErrInvalidLengthGenerated |
| 4736 |
} |
| 4737 |
postIndex := iNdEx + msglen |
| 4738 |
if postIndex > l { |
| 4739 |
return io.ErrUnexpectedEOF |
| 4740 |
} |
| 4741 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4742 |
return err |
| 4743 |
} |
| 4744 |
iNdEx = postIndex |
| 4745 |
case 2: |
| 4746 |
if wireType != 2 { |
| 4747 |
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 4748 |
} |
| 4749 |
var msglen int |
| 4750 |
for shift := uint(0); ; shift += 7 { |
| 4751 |
if shift >= 64 { |
| 4752 |
return ErrIntOverflowGenerated |
| 4753 |
} |
| 4754 |
if iNdEx >= l { |
| 4755 |
return io.ErrUnexpectedEOF |
| 4756 |
} |
| 4757 |
b := dAtA[iNdEx] |
| 4758 |
iNdEx++ |
| 4759 |
msglen |= (int(b) & 0x7F) << shift |
| 4760 |
if b < 0x80 { |
| 4761 |
break |
| 4762 |
} |
| 4763 |
} |
| 4764 |
if msglen < 0 { |
| 4765 |
return ErrInvalidLengthGenerated |
| 4766 |
} |
| 4767 |
postIndex := iNdEx + msglen |
| 4768 |
if postIndex > l { |
| 4769 |
return io.ErrUnexpectedEOF |
| 4770 |
} |
| 4771 |
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4772 |
return err |
| 4773 |
} |
| 4774 |
iNdEx = postIndex |
| 4775 |
case 3: |
| 4776 |
if wireType != 2 { |
| 4777 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 4778 |
} |
| 4779 |
var msglen int |
| 4780 |
for shift := uint(0); ; shift += 7 { |
| 4781 |
if shift >= 64 { |
| 4782 |
return ErrIntOverflowGenerated |
| 4783 |
} |
| 4784 |
if iNdEx >= l { |
| 4785 |
return io.ErrUnexpectedEOF |
| 4786 |
} |
| 4787 |
b := dAtA[iNdEx] |
| 4788 |
iNdEx++ |
| 4789 |
msglen |= (int(b) & 0x7F) << shift |
| 4790 |
if b < 0x80 { |
| 4791 |
break |
| 4792 |
} |
| 4793 |
} |
| 4794 |
if msglen < 0 { |
| 4795 |
return ErrInvalidLengthGenerated |
| 4796 |
} |
| 4797 |
postIndex := iNdEx + msglen |
| 4798 |
if postIndex > l { |
| 4799 |
return io.ErrUnexpectedEOF |
| 4800 |
} |
| 4801 |
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4802 |
return err |
| 4803 |
} |
| 4804 |
iNdEx = postIndex |
| 4805 |
default: |
| 4806 |
iNdEx = preIndex |
| 4807 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4808 |
if err != nil { |
| 4809 |
return err |
| 4810 |
} |
| 4811 |
if skippy < 0 { |
| 4812 |
return ErrInvalidLengthGenerated |
| 4813 |
} |
| 4814 |
if (iNdEx + skippy) > l { |
| 4815 |
return io.ErrUnexpectedEOF |
| 4816 |
} |
| 4817 |
iNdEx += skippy |
| 4818 |
} |
| 4819 |
} |
| 4820 |
|
| 4821 |
if iNdEx > l { |
| 4822 |
return io.ErrUnexpectedEOF |
| 4823 |
} |
| 4824 |
return nil |
| 4825 |
} |
| 4826 |
func (m *ImageStreamImage) Unmarshal(dAtA []byte) error { |
| 4827 |
l := len(dAtA) |
| 4828 |
iNdEx := 0 |
| 4829 |
for iNdEx < l { |
| 4830 |
preIndex := iNdEx |
| 4831 |
var wire uint64 |
| 4832 |
for shift := uint(0); ; shift += 7 { |
| 4833 |
if shift >= 64 { |
| 4834 |
return ErrIntOverflowGenerated |
| 4835 |
} |
| 4836 |
if iNdEx >= l { |
| 4837 |
return io.ErrUnexpectedEOF |
| 4838 |
} |
| 4839 |
b := dAtA[iNdEx] |
| 4840 |
iNdEx++ |
| 4841 |
wire |= (uint64(b) & 0x7F) << shift |
| 4842 |
if b < 0x80 { |
| 4843 |
break |
| 4844 |
} |
| 4845 |
} |
| 4846 |
fieldNum := int32(wire >> 3) |
| 4847 |
wireType := int(wire & 0x7) |
| 4848 |
if wireType == 4 { |
| 4849 |
return fmt.Errorf("proto: ImageStreamImage: wiretype end group for non-group") |
| 4850 |
} |
| 4851 |
if fieldNum <= 0 { |
| 4852 |
return fmt.Errorf("proto: ImageStreamImage: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4853 |
} |
| 4854 |
switch fieldNum { |
| 4855 |
case 1: |
| 4856 |
if wireType != 2 { |
| 4857 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 4858 |
} |
| 4859 |
var msglen int |
| 4860 |
for shift := uint(0); ; shift += 7 { |
| 4861 |
if shift >= 64 { |
| 4862 |
return ErrIntOverflowGenerated |
| 4863 |
} |
| 4864 |
if iNdEx >= l { |
| 4865 |
return io.ErrUnexpectedEOF |
| 4866 |
} |
| 4867 |
b := dAtA[iNdEx] |
| 4868 |
iNdEx++ |
| 4869 |
msglen |= (int(b) & 0x7F) << shift |
| 4870 |
if b < 0x80 { |
| 4871 |
break |
| 4872 |
} |
| 4873 |
} |
| 4874 |
if msglen < 0 { |
| 4875 |
return ErrInvalidLengthGenerated |
| 4876 |
} |
| 4877 |
postIndex := iNdEx + msglen |
| 4878 |
if postIndex > l { |
| 4879 |
return io.ErrUnexpectedEOF |
| 4880 |
} |
| 4881 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4882 |
return err |
| 4883 |
} |
| 4884 |
iNdEx = postIndex |
| 4885 |
case 2: |
| 4886 |
if wireType != 2 { |
| 4887 |
return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) |
| 4888 |
} |
| 4889 |
var msglen int |
| 4890 |
for shift := uint(0); ; shift += 7 { |
| 4891 |
if shift >= 64 { |
| 4892 |
return ErrIntOverflowGenerated |
| 4893 |
} |
| 4894 |
if iNdEx >= l { |
| 4895 |
return io.ErrUnexpectedEOF |
| 4896 |
} |
| 4897 |
b := dAtA[iNdEx] |
| 4898 |
iNdEx++ |
| 4899 |
msglen |= (int(b) & 0x7F) << shift |
| 4900 |
if b < 0x80 { |
| 4901 |
break |
| 4902 |
} |
| 4903 |
} |
| 4904 |
if msglen < 0 { |
| 4905 |
return ErrInvalidLengthGenerated |
| 4906 |
} |
| 4907 |
postIndex := iNdEx + msglen |
| 4908 |
if postIndex > l { |
| 4909 |
return io.ErrUnexpectedEOF |
| 4910 |
} |
| 4911 |
if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4912 |
return err |
| 4913 |
} |
| 4914 |
iNdEx = postIndex |
| 4915 |
default: |
| 4916 |
iNdEx = preIndex |
| 4917 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4918 |
if err != nil { |
| 4919 |
return err |
| 4920 |
} |
| 4921 |
if skippy < 0 { |
| 4922 |
return ErrInvalidLengthGenerated |
| 4923 |
} |
| 4924 |
if (iNdEx + skippy) > l { |
| 4925 |
return io.ErrUnexpectedEOF |
| 4926 |
} |
| 4927 |
iNdEx += skippy |
| 4928 |
} |
| 4929 |
} |
| 4930 |
|
| 4931 |
if iNdEx > l { |
| 4932 |
return io.ErrUnexpectedEOF |
| 4933 |
} |
| 4934 |
return nil |
| 4935 |
} |
| 4936 |
func (m *ImageStreamImport) Unmarshal(dAtA []byte) error { |
| 4937 |
l := len(dAtA) |
| 4938 |
iNdEx := 0 |
| 4939 |
for iNdEx < l { |
| 4940 |
preIndex := iNdEx |
| 4941 |
var wire uint64 |
| 4942 |
for shift := uint(0); ; shift += 7 { |
| 4943 |
if shift >= 64 { |
| 4944 |
return ErrIntOverflowGenerated |
| 4945 |
} |
| 4946 |
if iNdEx >= l { |
| 4947 |
return io.ErrUnexpectedEOF |
| 4948 |
} |
| 4949 |
b := dAtA[iNdEx] |
| 4950 |
iNdEx++ |
| 4951 |
wire |= (uint64(b) & 0x7F) << shift |
| 4952 |
if b < 0x80 { |
| 4953 |
break |
| 4954 |
} |
| 4955 |
} |
| 4956 |
fieldNum := int32(wire >> 3) |
| 4957 |
wireType := int(wire & 0x7) |
| 4958 |
if wireType == 4 { |
| 4959 |
return fmt.Errorf("proto: ImageStreamImport: wiretype end group for non-group") |
| 4960 |
} |
| 4961 |
if fieldNum <= 0 { |
| 4962 |
return fmt.Errorf("proto: ImageStreamImport: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4963 |
} |
| 4964 |
switch fieldNum { |
| 4965 |
case 1: |
| 4966 |
if wireType != 2 { |
| 4967 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 4968 |
} |
| 4969 |
var msglen int |
| 4970 |
for shift := uint(0); ; shift += 7 { |
| 4971 |
if shift >= 64 { |
| 4972 |
return ErrIntOverflowGenerated |
| 4973 |
} |
| 4974 |
if iNdEx >= l { |
| 4975 |
return io.ErrUnexpectedEOF |
| 4976 |
} |
| 4977 |
b := dAtA[iNdEx] |
| 4978 |
iNdEx++ |
| 4979 |
msglen |= (int(b) & 0x7F) << shift |
| 4980 |
if b < 0x80 { |
| 4981 |
break |
| 4982 |
} |
| 4983 |
} |
| 4984 |
if msglen < 0 { |
| 4985 |
return ErrInvalidLengthGenerated |
| 4986 |
} |
| 4987 |
postIndex := iNdEx + msglen |
| 4988 |
if postIndex > l { |
| 4989 |
return io.ErrUnexpectedEOF |
| 4990 |
} |
| 4991 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4992 |
return err |
| 4993 |
} |
| 4994 |
iNdEx = postIndex |
| 4995 |
case 2: |
| 4996 |
if wireType != 2 { |
| 4997 |
return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 4998 |
} |
| 4999 |
var msglen int |
| 5000 |
for shift := uint(0); ; shift += 7 { |
| 5001 |
if shift >= 64 { |
| 5002 |
return ErrIntOverflowGenerated |
| 5003 |
} |
| 5004 |
if iNdEx >= l { |
| 5005 |
return io.ErrUnexpectedEOF |
| 5006 |
} |
| 5007 |
b := dAtA[iNdEx] |
| 5008 |
iNdEx++ |
| 5009 |
msglen |= (int(b) & 0x7F) << shift |
| 5010 |
if b < 0x80 { |
| 5011 |
break |
| 5012 |
} |
| 5013 |
} |
| 5014 |
if msglen < 0 { |
| 5015 |
return ErrInvalidLengthGenerated |
| 5016 |
} |
| 5017 |
postIndex := iNdEx + msglen |
| 5018 |
if postIndex > l { |
| 5019 |
return io.ErrUnexpectedEOF |
| 5020 |
} |
| 5021 |
if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5022 |
return err |
| 5023 |
} |
| 5024 |
iNdEx = postIndex |
| 5025 |
case 3: |
| 5026 |
if wireType != 2 { |
| 5027 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5028 |
} |
| 5029 |
var msglen int |
| 5030 |
for shift := uint(0); ; shift += 7 { |
| 5031 |
if shift >= 64 { |
| 5032 |
return ErrIntOverflowGenerated |
| 5033 |
} |
| 5034 |
if iNdEx >= l { |
| 5035 |
return io.ErrUnexpectedEOF |
| 5036 |
} |
| 5037 |
b := dAtA[iNdEx] |
| 5038 |
iNdEx++ |
| 5039 |
msglen |= (int(b) & 0x7F) << shift |
| 5040 |
if b < 0x80 { |
| 5041 |
break |
| 5042 |
} |
| 5043 |
} |
| 5044 |
if msglen < 0 { |
| 5045 |
return ErrInvalidLengthGenerated |
| 5046 |
} |
| 5047 |
postIndex := iNdEx + msglen |
| 5048 |
if postIndex > l { |
| 5049 |
return io.ErrUnexpectedEOF |
| 5050 |
} |
| 5051 |
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5052 |
return err |
| 5053 |
} |
| 5054 |
iNdEx = postIndex |
| 5055 |
default: |
| 5056 |
iNdEx = preIndex |
| 5057 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5058 |
if err != nil { |
| 5059 |
return err |
| 5060 |
} |
| 5061 |
if skippy < 0 { |
| 5062 |
return ErrInvalidLengthGenerated |
| 5063 |
} |
| 5064 |
if (iNdEx + skippy) > l { |
| 5065 |
return io.ErrUnexpectedEOF |
| 5066 |
} |
| 5067 |
iNdEx += skippy |
| 5068 |
} |
| 5069 |
} |
| 5070 |
|
| 5071 |
if iNdEx > l { |
| 5072 |
return io.ErrUnexpectedEOF |
| 5073 |
} |
| 5074 |
return nil |
| 5075 |
} |
| 5076 |
func (m *ImageStreamImportSpec) Unmarshal(dAtA []byte) error { |
| 5077 |
l := len(dAtA) |
| 5078 |
iNdEx := 0 |
| 5079 |
for iNdEx < l { |
| 5080 |
preIndex := iNdEx |
| 5081 |
var wire uint64 |
| 5082 |
for shift := uint(0); ; shift += 7 { |
| 5083 |
if shift >= 64 { |
| 5084 |
return ErrIntOverflowGenerated |
| 5085 |
} |
| 5086 |
if iNdEx >= l { |
| 5087 |
return io.ErrUnexpectedEOF |
| 5088 |
} |
| 5089 |
b := dAtA[iNdEx] |
| 5090 |
iNdEx++ |
| 5091 |
wire |= (uint64(b) & 0x7F) << shift |
| 5092 |
if b < 0x80 { |
| 5093 |
break |
| 5094 |
} |
| 5095 |
} |
| 5096 |
fieldNum := int32(wire >> 3) |
| 5097 |
wireType := int(wire & 0x7) |
| 5098 |
if wireType == 4 { |
| 5099 |
return fmt.Errorf("proto: ImageStreamImportSpec: wiretype end group for non-group") |
| 5100 |
} |
| 5101 |
if fieldNum <= 0 { |
| 5102 |
return fmt.Errorf("proto: ImageStreamImportSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5103 |
} |
| 5104 |
switch fieldNum { |
| 5105 |
case 1: |
| 5106 |
if wireType != 0 { |
| 5107 |
return fmt.Errorf("proto: wrong wireType = %d for field Import", wireType) |
| 5108 |
} |
| 5109 |
var v int |
| 5110 |
for shift := uint(0); ; shift += 7 { |
| 5111 |
if shift >= 64 { |
| 5112 |
return ErrIntOverflowGenerated |
| 5113 |
} |
| 5114 |
if iNdEx >= l { |
| 5115 |
return io.ErrUnexpectedEOF |
| 5116 |
} |
| 5117 |
b := dAtA[iNdEx] |
| 5118 |
iNdEx++ |
| 5119 |
v |= (int(b) & 0x7F) << shift |
| 5120 |
if b < 0x80 { |
| 5121 |
break |
| 5122 |
} |
| 5123 |
} |
| 5124 |
m.Import = bool(v != 0) |
| 5125 |
case 2: |
| 5126 |
if wireType != 2 { |
| 5127 |
return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType) |
| 5128 |
} |
| 5129 |
var msglen int |
| 5130 |
for shift := uint(0); ; shift += 7 { |
| 5131 |
if shift >= 64 { |
| 5132 |
return ErrIntOverflowGenerated |
| 5133 |
} |
| 5134 |
if iNdEx >= l { |
| 5135 |
return io.ErrUnexpectedEOF |
| 5136 |
} |
| 5137 |
b := dAtA[iNdEx] |
| 5138 |
iNdEx++ |
| 5139 |
msglen |= (int(b) & 0x7F) << shift |
| 5140 |
if b < 0x80 { |
| 5141 |
break |
| 5142 |
} |
| 5143 |
} |
| 5144 |
if msglen < 0 { |
| 5145 |
return ErrInvalidLengthGenerated |
| 5146 |
} |
| 5147 |
postIndex := iNdEx + msglen |
| 5148 |
if postIndex > l { |
| 5149 |
return io.ErrUnexpectedEOF |
| 5150 |
} |
| 5151 |
if m.Repository == nil { |
| 5152 |
m.Repository = &RepositoryImportSpec{} |
| 5153 |
} |
| 5154 |
if err := m.Repository.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5155 |
return err |
| 5156 |
} |
| 5157 |
iNdEx = postIndex |
| 5158 |
case 3: |
| 5159 |
if wireType != 2 { |
| 5160 |
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) |
| 5161 |
} |
| 5162 |
var msglen int |
| 5163 |
for shift := uint(0); ; shift += 7 { |
| 5164 |
if shift >= 64 { |
| 5165 |
return ErrIntOverflowGenerated |
| 5166 |
} |
| 5167 |
if iNdEx >= l { |
| 5168 |
return io.ErrUnexpectedEOF |
| 5169 |
} |
| 5170 |
b := dAtA[iNdEx] |
| 5171 |
iNdEx++ |
| 5172 |
msglen |= (int(b) & 0x7F) << shift |
| 5173 |
if b < 0x80 { |
| 5174 |
break |
| 5175 |
} |
| 5176 |
} |
| 5177 |
if msglen < 0 { |
| 5178 |
return ErrInvalidLengthGenerated |
| 5179 |
} |
| 5180 |
postIndex := iNdEx + msglen |
| 5181 |
if postIndex > l { |
| 5182 |
return io.ErrUnexpectedEOF |
| 5183 |
} |
| 5184 |
m.Images = append(m.Images, ImageImportSpec{}) |
| 5185 |
if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5186 |
return err |
| 5187 |
} |
| 5188 |
iNdEx = postIndex |
| 5189 |
default: |
| 5190 |
iNdEx = preIndex |
| 5191 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5192 |
if err != nil { |
| 5193 |
return err |
| 5194 |
} |
| 5195 |
if skippy < 0 { |
| 5196 |
return ErrInvalidLengthGenerated |
| 5197 |
} |
| 5198 |
if (iNdEx + skippy) > l { |
| 5199 |
return io.ErrUnexpectedEOF |
| 5200 |
} |
| 5201 |
iNdEx += skippy |
| 5202 |
} |
| 5203 |
} |
| 5204 |
|
| 5205 |
if iNdEx > l { |
| 5206 |
return io.ErrUnexpectedEOF |
| 5207 |
} |
| 5208 |
return nil |
| 5209 |
} |
| 5210 |
func (m *ImageStreamImportStatus) Unmarshal(dAtA []byte) error { |
| 5211 |
l := len(dAtA) |
| 5212 |
iNdEx := 0 |
| 5213 |
for iNdEx < l { |
| 5214 |
preIndex := iNdEx |
| 5215 |
var wire uint64 |
| 5216 |
for shift := uint(0); ; shift += 7 { |
| 5217 |
if shift >= 64 { |
| 5218 |
return ErrIntOverflowGenerated |
| 5219 |
} |
| 5220 |
if iNdEx >= l { |
| 5221 |
return io.ErrUnexpectedEOF |
| 5222 |
} |
| 5223 |
b := dAtA[iNdEx] |
| 5224 |
iNdEx++ |
| 5225 |
wire |= (uint64(b) & 0x7F) << shift |
| 5226 |
if b < 0x80 { |
| 5227 |
break |
| 5228 |
} |
| 5229 |
} |
| 5230 |
fieldNum := int32(wire >> 3) |
| 5231 |
wireType := int(wire & 0x7) |
| 5232 |
if wireType == 4 { |
| 5233 |
return fmt.Errorf("proto: ImageStreamImportStatus: wiretype end group for non-group") |
| 5234 |
} |
| 5235 |
if fieldNum <= 0 { |
| 5236 |
return fmt.Errorf("proto: ImageStreamImportStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5237 |
} |
| 5238 |
switch fieldNum { |
| 5239 |
case 1: |
| 5240 |
if wireType != 2 { |
| 5241 |
return fmt.Errorf("proto: wrong wireType = %d for field Import", wireType) |
| 5242 |
} |
| 5243 |
var msglen int |
| 5244 |
for shift := uint(0); ; shift += 7 { |
| 5245 |
if shift >= 64 { |
| 5246 |
return ErrIntOverflowGenerated |
| 5247 |
} |
| 5248 |
if iNdEx >= l { |
| 5249 |
return io.ErrUnexpectedEOF |
| 5250 |
} |
| 5251 |
b := dAtA[iNdEx] |
| 5252 |
iNdEx++ |
| 5253 |
msglen |= (int(b) & 0x7F) << shift |
| 5254 |
if b < 0x80 { |
| 5255 |
break |
| 5256 |
} |
| 5257 |
} |
| 5258 |
if msglen < 0 { |
| 5259 |
return ErrInvalidLengthGenerated |
| 5260 |
} |
| 5261 |
postIndex := iNdEx + msglen |
| 5262 |
if postIndex > l { |
| 5263 |
return io.ErrUnexpectedEOF |
| 5264 |
} |
| 5265 |
if m.Import == nil { |
| 5266 |
m.Import = &ImageStream{} |
| 5267 |
} |
| 5268 |
if err := m.Import.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5269 |
return err |
| 5270 |
} |
| 5271 |
iNdEx = postIndex |
| 5272 |
case 2: |
| 5273 |
if wireType != 2 { |
| 5274 |
return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType) |
| 5275 |
} |
| 5276 |
var msglen int |
| 5277 |
for shift := uint(0); ; shift += 7 { |
| 5278 |
if shift >= 64 { |
| 5279 |
return ErrIntOverflowGenerated |
| 5280 |
} |
| 5281 |
if iNdEx >= l { |
| 5282 |
return io.ErrUnexpectedEOF |
| 5283 |
} |
| 5284 |
b := dAtA[iNdEx] |
| 5285 |
iNdEx++ |
| 5286 |
msglen |= (int(b) & 0x7F) << shift |
| 5287 |
if b < 0x80 { |
| 5288 |
break |
| 5289 |
} |
| 5290 |
} |
| 5291 |
if msglen < 0 { |
| 5292 |
return ErrInvalidLengthGenerated |
| 5293 |
} |
| 5294 |
postIndex := iNdEx + msglen |
| 5295 |
if postIndex > l { |
| 5296 |
return io.ErrUnexpectedEOF |
| 5297 |
} |
| 5298 |
if m.Repository == nil { |
| 5299 |
m.Repository = &RepositoryImportStatus{} |
| 5300 |
} |
| 5301 |
if err := m.Repository.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5302 |
return err |
| 5303 |
} |
| 5304 |
iNdEx = postIndex |
| 5305 |
case 3: |
| 5306 |
if wireType != 2 { |
| 5307 |
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) |
| 5308 |
} |
| 5309 |
var msglen int |
| 5310 |
for shift := uint(0); ; shift += 7 { |
| 5311 |
if shift >= 64 { |
| 5312 |
return ErrIntOverflowGenerated |
| 5313 |
} |
| 5314 |
if iNdEx >= l { |
| 5315 |
return io.ErrUnexpectedEOF |
| 5316 |
} |
| 5317 |
b := dAtA[iNdEx] |
| 5318 |
iNdEx++ |
| 5319 |
msglen |= (int(b) & 0x7F) << shift |
| 5320 |
if b < 0x80 { |
| 5321 |
break |
| 5322 |
} |
| 5323 |
} |
| 5324 |
if msglen < 0 { |
| 5325 |
return ErrInvalidLengthGenerated |
| 5326 |
} |
| 5327 |
postIndex := iNdEx + msglen |
| 5328 |
if postIndex > l { |
| 5329 |
return io.ErrUnexpectedEOF |
| 5330 |
} |
| 5331 |
m.Images = append(m.Images, ImageImportStatus{}) |
| 5332 |
if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5333 |
return err |
| 5334 |
} |
| 5335 |
iNdEx = postIndex |
| 5336 |
default: |
| 5337 |
iNdEx = preIndex |
| 5338 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5339 |
if err != nil { |
| 5340 |
return err |
| 5341 |
} |
| 5342 |
if skippy < 0 { |
| 5343 |
return ErrInvalidLengthGenerated |
| 5344 |
} |
| 5345 |
if (iNdEx + skippy) > l { |
| 5346 |
return io.ErrUnexpectedEOF |
| 5347 |
} |
| 5348 |
iNdEx += skippy |
| 5349 |
} |
| 5350 |
} |
| 5351 |
|
| 5352 |
if iNdEx > l { |
| 5353 |
return io.ErrUnexpectedEOF |
| 5354 |
} |
| 5355 |
return nil |
| 5356 |
} |
| 5357 |
func (m *ImageStreamLayers) Unmarshal(dAtA []byte) error { |
| 5358 |
l := len(dAtA) |
| 5359 |
iNdEx := 0 |
| 5360 |
for iNdEx < l { |
| 5361 |
preIndex := iNdEx |
| 5362 |
var wire uint64 |
| 5363 |
for shift := uint(0); ; shift += 7 { |
| 5364 |
if shift >= 64 { |
| 5365 |
return ErrIntOverflowGenerated |
| 5366 |
} |
| 5367 |
if iNdEx >= l { |
| 5368 |
return io.ErrUnexpectedEOF |
| 5369 |
} |
| 5370 |
b := dAtA[iNdEx] |
| 5371 |
iNdEx++ |
| 5372 |
wire |= (uint64(b) & 0x7F) << shift |
| 5373 |
if b < 0x80 { |
| 5374 |
break |
| 5375 |
} |
| 5376 |
} |
| 5377 |
fieldNum := int32(wire >> 3) |
| 5378 |
wireType := int(wire & 0x7) |
| 5379 |
if wireType == 4 { |
| 5380 |
return fmt.Errorf("proto: ImageStreamLayers: wiretype end group for non-group") |
| 5381 |
} |
| 5382 |
if fieldNum <= 0 { |
| 5383 |
return fmt.Errorf("proto: ImageStreamLayers: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5384 |
} |
| 5385 |
switch fieldNum { |
| 5386 |
case 1: |
| 5387 |
if wireType != 2 { |
| 5388 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 5389 |
} |
| 5390 |
var msglen int |
| 5391 |
for shift := uint(0); ; shift += 7 { |
| 5392 |
if shift >= 64 { |
| 5393 |
return ErrIntOverflowGenerated |
| 5394 |
} |
| 5395 |
if iNdEx >= l { |
| 5396 |
return io.ErrUnexpectedEOF |
| 5397 |
} |
| 5398 |
b := dAtA[iNdEx] |
| 5399 |
iNdEx++ |
| 5400 |
msglen |= (int(b) & 0x7F) << shift |
| 5401 |
if b < 0x80 { |
| 5402 |
break |
| 5403 |
} |
| 5404 |
} |
| 5405 |
if msglen < 0 { |
| 5406 |
return ErrInvalidLengthGenerated |
| 5407 |
} |
| 5408 |
postIndex := iNdEx + msglen |
| 5409 |
if postIndex > l { |
| 5410 |
return io.ErrUnexpectedEOF |
| 5411 |
} |
| 5412 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5413 |
return err |
| 5414 |
} |
| 5415 |
iNdEx = postIndex |
| 5416 |
case 2: |
| 5417 |
if wireType != 2 { |
| 5418 |
return fmt.Errorf("proto: wrong wireType = %d for field Blobs", 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.Blobs == nil { |
| 5443 |
m.Blobs = make(map[string]ImageLayerData) |
| 5444 |
} |
| 5445 |
var mapkey string |
| 5446 |
mapvalue := &ImageLayerData{} |
| 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 mapmsglen int |
| 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 |
mapmsglen |= (int(b) & 0x7F) << shift |
| 5503 |
if b < 0x80 { |
| 5504 |
break |
| 5505 |
} |
| 5506 |
} |
| 5507 |
if mapmsglen < 0 { |
| 5508 |
return ErrInvalidLengthGenerated |
| 5509 |
} |
| 5510 |
postmsgIndex := iNdEx + mapmsglen |
| 5511 |
if mapmsglen < 0 { |
| 5512 |
return ErrInvalidLengthGenerated |
| 5513 |
} |
| 5514 |
if postmsgIndex > l { |
| 5515 |
return io.ErrUnexpectedEOF |
| 5516 |
} |
| 5517 |
mapvalue = &ImageLayerData{} |
| 5518 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 5519 |
return err |
| 5520 |
} |
| 5521 |
iNdEx = postmsgIndex |
| 5522 |
} else { |
| 5523 |
iNdEx = entryPreIndex |
| 5524 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5525 |
if err != nil { |
| 5526 |
return err |
| 5527 |
} |
| 5528 |
if skippy < 0 { |
| 5529 |
return ErrInvalidLengthGenerated |
| 5530 |
} |
| 5531 |
if (iNdEx + skippy) > postIndex { |
| 5532 |
return io.ErrUnexpectedEOF |
| 5533 |
} |
| 5534 |
iNdEx += skippy |
| 5535 |
} |
| 5536 |
} |
| 5537 |
m.Blobs[mapkey] = *mapvalue |
| 5538 |
iNdEx = postIndex |
| 5539 |
case 3: |
| 5540 |
if wireType != 2 { |
| 5541 |
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) |
| 5542 |
} |
| 5543 |
var msglen int |
| 5544 |
for shift := uint(0); ; shift += 7 { |
| 5545 |
if shift >= 64 { |
| 5546 |
return ErrIntOverflowGenerated |
| 5547 |
} |
| 5548 |
if iNdEx >= l { |
| 5549 |
return io.ErrUnexpectedEOF |
| 5550 |
} |
| 5551 |
b := dAtA[iNdEx] |
| 5552 |
iNdEx++ |
| 5553 |
msglen |= (int(b) & 0x7F) << shift |
| 5554 |
if b < 0x80 { |
| 5555 |
break |
| 5556 |
} |
| 5557 |
} |
| 5558 |
if msglen < 0 { |
| 5559 |
return ErrInvalidLengthGenerated |
| 5560 |
} |
| 5561 |
postIndex := iNdEx + msglen |
| 5562 |
if postIndex > l { |
| 5563 |
return io.ErrUnexpectedEOF |
| 5564 |
} |
| 5565 |
if m.Images == nil { |
| 5566 |
m.Images = make(map[string]ImageBlobReferences) |
| 5567 |
} |
| 5568 |
var mapkey string |
| 5569 |
mapvalue := &ImageBlobReferences{} |
| 5570 |
for iNdEx < postIndex { |
| 5571 |
entryPreIndex := iNdEx |
| 5572 |
var wire uint64 |
| 5573 |
for shift := uint(0); ; shift += 7 { |
| 5574 |
if shift >= 64 { |
| 5575 |
return ErrIntOverflowGenerated |
| 5576 |
} |
| 5577 |
if iNdEx >= l { |
| 5578 |
return io.ErrUnexpectedEOF |
| 5579 |
} |
| 5580 |
b := dAtA[iNdEx] |
| 5581 |
iNdEx++ |
| 5582 |
wire |= (uint64(b) & 0x7F) << shift |
| 5583 |
if b < 0x80 { |
| 5584 |
break |
| 5585 |
} |
| 5586 |
} |
| 5587 |
fieldNum := int32(wire >> 3) |
| 5588 |
if fieldNum == 1 { |
| 5589 |
var stringLenmapkey uint64 |
| 5590 |
for shift := uint(0); ; shift += 7 { |
| 5591 |
if shift >= 64 { |
| 5592 |
return ErrIntOverflowGenerated |
| 5593 |
} |
| 5594 |
if iNdEx >= l { |
| 5595 |
return io.ErrUnexpectedEOF |
| 5596 |
} |
| 5597 |
b := dAtA[iNdEx] |
| 5598 |
iNdEx++ |
| 5599 |
stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 5600 |
if b < 0x80 { |
| 5601 |
break |
| 5602 |
} |
| 5603 |
} |
| 5604 |
intStringLenmapkey := int(stringLenmapkey) |
| 5605 |
if intStringLenmapkey < 0 { |
| 5606 |
return ErrInvalidLengthGenerated |
| 5607 |
} |
| 5608 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 5609 |
if postStringIndexmapkey > l { |
| 5610 |
return io.ErrUnexpectedEOF |
| 5611 |
} |
| 5612 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 5613 |
iNdEx = postStringIndexmapkey |
| 5614 |
} else if fieldNum == 2 { |
| 5615 |
var mapmsglen int |
| 5616 |
for shift := uint(0); ; shift += 7 { |
| 5617 |
if shift >= 64 { |
| 5618 |
return ErrIntOverflowGenerated |
| 5619 |
} |
| 5620 |
if iNdEx >= l { |
| 5621 |
return io.ErrUnexpectedEOF |
| 5622 |
} |
| 5623 |
b := dAtA[iNdEx] |
| 5624 |
iNdEx++ |
| 5625 |
mapmsglen |= (int(b) & 0x7F) << shift |
| 5626 |
if b < 0x80 { |
| 5627 |
break |
| 5628 |
} |
| 5629 |
} |
| 5630 |
if mapmsglen < 0 { |
| 5631 |
return ErrInvalidLengthGenerated |
| 5632 |
} |
| 5633 |
postmsgIndex := iNdEx + mapmsglen |
| 5634 |
if mapmsglen < 0 { |
| 5635 |
return ErrInvalidLengthGenerated |
| 5636 |
} |
| 5637 |
if postmsgIndex > l { |
| 5638 |
return io.ErrUnexpectedEOF |
| 5639 |
} |
| 5640 |
mapvalue = &ImageBlobReferences{} |
| 5641 |
if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { |
| 5642 |
return err |
| 5643 |
} |
| 5644 |
iNdEx = postmsgIndex |
| 5645 |
} else { |
| 5646 |
iNdEx = entryPreIndex |
| 5647 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5648 |
if err != nil { |
| 5649 |
return err |
| 5650 |
} |
| 5651 |
if skippy < 0 { |
| 5652 |
return ErrInvalidLengthGenerated |
| 5653 |
} |
| 5654 |
if (iNdEx + skippy) > postIndex { |
| 5655 |
return io.ErrUnexpectedEOF |
| 5656 |
} |
| 5657 |
iNdEx += skippy |
| 5658 |
} |
| 5659 |
} |
| 5660 |
m.Images[mapkey] = *mapvalue |
| 5661 |
iNdEx = postIndex |
| 5662 |
default: |
| 5663 |
iNdEx = preIndex |
| 5664 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5665 |
if err != nil { |
| 5666 |
return err |
| 5667 |
} |
| 5668 |
if skippy < 0 { |
| 5669 |
return ErrInvalidLengthGenerated |
| 5670 |
} |
| 5671 |
if (iNdEx + skippy) > l { |
| 5672 |
return io.ErrUnexpectedEOF |
| 5673 |
} |
| 5674 |
iNdEx += skippy |
| 5675 |
} |
| 5676 |
} |
| 5677 |
|
| 5678 |
if iNdEx > l { |
| 5679 |
return io.ErrUnexpectedEOF |
| 5680 |
} |
| 5681 |
return nil |
| 5682 |
} |
| 5683 |
func (m *ImageStreamList) Unmarshal(dAtA []byte) error { |
| 5684 |
l := len(dAtA) |
| 5685 |
iNdEx := 0 |
| 5686 |
for iNdEx < l { |
| 5687 |
preIndex := iNdEx |
| 5688 |
var wire uint64 |
| 5689 |
for shift := uint(0); ; shift += 7 { |
| 5690 |
if shift >= 64 { |
| 5691 |
return ErrIntOverflowGenerated |
| 5692 |
} |
| 5693 |
if iNdEx >= l { |
| 5694 |
return io.ErrUnexpectedEOF |
| 5695 |
} |
| 5696 |
b := dAtA[iNdEx] |
| 5697 |
iNdEx++ |
| 5698 |
wire |= (uint64(b) & 0x7F) << shift |
| 5699 |
if b < 0x80 { |
| 5700 |
break |
| 5701 |
} |
| 5702 |
} |
| 5703 |
fieldNum := int32(wire >> 3) |
| 5704 |
wireType := int(wire & 0x7) |
| 5705 |
if wireType == 4 { |
| 5706 |
return fmt.Errorf("proto: ImageStreamList: wiretype end group for non-group") |
| 5707 |
} |
| 5708 |
if fieldNum <= 0 { |
| 5709 |
return fmt.Errorf("proto: ImageStreamList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5710 |
} |
| 5711 |
switch fieldNum { |
| 5712 |
case 1: |
| 5713 |
if wireType != 2 { |
| 5714 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 5715 |
} |
| 5716 |
var msglen int |
| 5717 |
for shift := uint(0); ; shift += 7 { |
| 5718 |
if shift >= 64 { |
| 5719 |
return ErrIntOverflowGenerated |
| 5720 |
} |
| 5721 |
if iNdEx >= l { |
| 5722 |
return io.ErrUnexpectedEOF |
| 5723 |
} |
| 5724 |
b := dAtA[iNdEx] |
| 5725 |
iNdEx++ |
| 5726 |
msglen |= (int(b) & 0x7F) << shift |
| 5727 |
if b < 0x80 { |
| 5728 |
break |
| 5729 |
} |
| 5730 |
} |
| 5731 |
if msglen < 0 { |
| 5732 |
return ErrInvalidLengthGenerated |
| 5733 |
} |
| 5734 |
postIndex := iNdEx + msglen |
| 5735 |
if postIndex > l { |
| 5736 |
return io.ErrUnexpectedEOF |
| 5737 |
} |
| 5738 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5739 |
return err |
| 5740 |
} |
| 5741 |
iNdEx = postIndex |
| 5742 |
case 2: |
| 5743 |
if wireType != 2 { |
| 5744 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 5745 |
} |
| 5746 |
var msglen int |
| 5747 |
for shift := uint(0); ; shift += 7 { |
| 5748 |
if shift >= 64 { |
| 5749 |
return ErrIntOverflowGenerated |
| 5750 |
} |
| 5751 |
if iNdEx >= l { |
| 5752 |
return io.ErrUnexpectedEOF |
| 5753 |
} |
| 5754 |
b := dAtA[iNdEx] |
| 5755 |
iNdEx++ |
| 5756 |
msglen |= (int(b) & 0x7F) << shift |
| 5757 |
if b < 0x80 { |
| 5758 |
break |
| 5759 |
} |
| 5760 |
} |
| 5761 |
if msglen < 0 { |
| 5762 |
return ErrInvalidLengthGenerated |
| 5763 |
} |
| 5764 |
postIndex := iNdEx + msglen |
| 5765 |
if postIndex > l { |
| 5766 |
return io.ErrUnexpectedEOF |
| 5767 |
} |
| 5768 |
m.Items = append(m.Items, ImageStream{}) |
| 5769 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5770 |
return err |
| 5771 |
} |
| 5772 |
iNdEx = postIndex |
| 5773 |
default: |
| 5774 |
iNdEx = preIndex |
| 5775 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5776 |
if err != nil { |
| 5777 |
return err |
| 5778 |
} |
| 5779 |
if skippy < 0 { |
| 5780 |
return ErrInvalidLengthGenerated |
| 5781 |
} |
| 5782 |
if (iNdEx + skippy) > l { |
| 5783 |
return io.ErrUnexpectedEOF |
| 5784 |
} |
| 5785 |
iNdEx += skippy |
| 5786 |
} |
| 5787 |
} |
| 5788 |
|
| 5789 |
if iNdEx > l { |
| 5790 |
return io.ErrUnexpectedEOF |
| 5791 |
} |
| 5792 |
return nil |
| 5793 |
} |
| 5794 |
func (m *ImageStreamMapping) Unmarshal(dAtA []byte) error { |
| 5795 |
l := len(dAtA) |
| 5796 |
iNdEx := 0 |
| 5797 |
for iNdEx < l { |
| 5798 |
preIndex := iNdEx |
| 5799 |
var wire uint64 |
| 5800 |
for shift := uint(0); ; shift += 7 { |
| 5801 |
if shift >= 64 { |
| 5802 |
return ErrIntOverflowGenerated |
| 5803 |
} |
| 5804 |
if iNdEx >= l { |
| 5805 |
return io.ErrUnexpectedEOF |
| 5806 |
} |
| 5807 |
b := dAtA[iNdEx] |
| 5808 |
iNdEx++ |
| 5809 |
wire |= (uint64(b) & 0x7F) << shift |
| 5810 |
if b < 0x80 { |
| 5811 |
break |
| 5812 |
} |
| 5813 |
} |
| 5814 |
fieldNum := int32(wire >> 3) |
| 5815 |
wireType := int(wire & 0x7) |
| 5816 |
if wireType == 4 { |
| 5817 |
return fmt.Errorf("proto: ImageStreamMapping: wiretype end group for non-group") |
| 5818 |
} |
| 5819 |
if fieldNum <= 0 { |
| 5820 |
return fmt.Errorf("proto: ImageStreamMapping: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5821 |
} |
| 5822 |
switch fieldNum { |
| 5823 |
case 1: |
| 5824 |
if wireType != 2 { |
| 5825 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 5826 |
} |
| 5827 |
var msglen int |
| 5828 |
for shift := uint(0); ; shift += 7 { |
| 5829 |
if shift >= 64 { |
| 5830 |
return ErrIntOverflowGenerated |
| 5831 |
} |
| 5832 |
if iNdEx >= l { |
| 5833 |
return io.ErrUnexpectedEOF |
| 5834 |
} |
| 5835 |
b := dAtA[iNdEx] |
| 5836 |
iNdEx++ |
| 5837 |
msglen |= (int(b) & 0x7F) << shift |
| 5838 |
if b < 0x80 { |
| 5839 |
break |
| 5840 |
} |
| 5841 |
} |
| 5842 |
if msglen < 0 { |
| 5843 |
return ErrInvalidLengthGenerated |
| 5844 |
} |
| 5845 |
postIndex := iNdEx + msglen |
| 5846 |
if postIndex > l { |
| 5847 |
return io.ErrUnexpectedEOF |
| 5848 |
} |
| 5849 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5850 |
return err |
| 5851 |
} |
| 5852 |
iNdEx = postIndex |
| 5853 |
case 2: |
| 5854 |
if wireType != 2 { |
| 5855 |
return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) |
| 5856 |
} |
| 5857 |
var msglen int |
| 5858 |
for shift := uint(0); ; shift += 7 { |
| 5859 |
if shift >= 64 { |
| 5860 |
return ErrIntOverflowGenerated |
| 5861 |
} |
| 5862 |
if iNdEx >= l { |
| 5863 |
return io.ErrUnexpectedEOF |
| 5864 |
} |
| 5865 |
b := dAtA[iNdEx] |
| 5866 |
iNdEx++ |
| 5867 |
msglen |= (int(b) & 0x7F) << shift |
| 5868 |
if b < 0x80 { |
| 5869 |
break |
| 5870 |
} |
| 5871 |
} |
| 5872 |
if msglen < 0 { |
| 5873 |
return ErrInvalidLengthGenerated |
| 5874 |
} |
| 5875 |
postIndex := iNdEx + msglen |
| 5876 |
if postIndex > l { |
| 5877 |
return io.ErrUnexpectedEOF |
| 5878 |
} |
| 5879 |
if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5880 |
return err |
| 5881 |
} |
| 5882 |
iNdEx = postIndex |
| 5883 |
case 3: |
| 5884 |
if wireType != 2 { |
| 5885 |
return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) |
| 5886 |
} |
| 5887 |
var stringLen uint64 |
| 5888 |
for shift := uint(0); ; shift += 7 { |
| 5889 |
if shift >= 64 { |
| 5890 |
return ErrIntOverflowGenerated |
| 5891 |
} |
| 5892 |
if iNdEx >= l { |
| 5893 |
return io.ErrUnexpectedEOF |
| 5894 |
} |
| 5895 |
b := dAtA[iNdEx] |
| 5896 |
iNdEx++ |
| 5897 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 5898 |
if b < 0x80 { |
| 5899 |
break |
| 5900 |
} |
| 5901 |
} |
| 5902 |
intStringLen := int(stringLen) |
| 5903 |
if intStringLen < 0 { |
| 5904 |
return ErrInvalidLengthGenerated |
| 5905 |
} |
| 5906 |
postIndex := iNdEx + intStringLen |
| 5907 |
if postIndex > l { |
| 5908 |
return io.ErrUnexpectedEOF |
| 5909 |
} |
| 5910 |
m.Tag = string(dAtA[iNdEx:postIndex]) |
| 5911 |
iNdEx = postIndex |
| 5912 |
default: |
| 5913 |
iNdEx = preIndex |
| 5914 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5915 |
if err != nil { |
| 5916 |
return err |
| 5917 |
} |
| 5918 |
if skippy < 0 { |
| 5919 |
return ErrInvalidLengthGenerated |
| 5920 |
} |
| 5921 |
if (iNdEx + skippy) > l { |
| 5922 |
return io.ErrUnexpectedEOF |
| 5923 |
} |
| 5924 |
iNdEx += skippy |
| 5925 |
} |
| 5926 |
} |
| 5927 |
|
| 5928 |
if iNdEx > l { |
| 5929 |
return io.ErrUnexpectedEOF |
| 5930 |
} |
| 5931 |
return nil |
| 5932 |
} |
| 5933 |
func (m *ImageStreamSpec) Unmarshal(dAtA []byte) error { |
| 5934 |
l := len(dAtA) |
| 5935 |
iNdEx := 0 |
| 5936 |
for iNdEx < l { |
| 5937 |
preIndex := iNdEx |
| 5938 |
var wire uint64 |
| 5939 |
for shift := uint(0); ; shift += 7 { |
| 5940 |
if shift >= 64 { |
| 5941 |
return ErrIntOverflowGenerated |
| 5942 |
} |
| 5943 |
if iNdEx >= l { |
| 5944 |
return io.ErrUnexpectedEOF |
| 5945 |
} |
| 5946 |
b := dAtA[iNdEx] |
| 5947 |
iNdEx++ |
| 5948 |
wire |= (uint64(b) & 0x7F) << shift |
| 5949 |
if b < 0x80 { |
| 5950 |
break |
| 5951 |
} |
| 5952 |
} |
| 5953 |
fieldNum := int32(wire >> 3) |
| 5954 |
wireType := int(wire & 0x7) |
| 5955 |
if wireType == 4 { |
| 5956 |
return fmt.Errorf("proto: ImageStreamSpec: wiretype end group for non-group") |
| 5957 |
} |
| 5958 |
if fieldNum <= 0 { |
| 5959 |
return fmt.Errorf("proto: ImageStreamSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5960 |
} |
| 5961 |
switch fieldNum { |
| 5962 |
case 1: |
| 5963 |
if wireType != 2 { |
| 5964 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageRepository", wireType) |
| 5965 |
} |
| 5966 |
var stringLen uint64 |
| 5967 |
for shift := uint(0); ; shift += 7 { |
| 5968 |
if shift >= 64 { |
| 5969 |
return ErrIntOverflowGenerated |
| 5970 |
} |
| 5971 |
if iNdEx >= l { |
| 5972 |
return io.ErrUnexpectedEOF |
| 5973 |
} |
| 5974 |
b := dAtA[iNdEx] |
| 5975 |
iNdEx++ |
| 5976 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 5977 |
if b < 0x80 { |
| 5978 |
break |
| 5979 |
} |
| 5980 |
} |
| 5981 |
intStringLen := int(stringLen) |
| 5982 |
if intStringLen < 0 { |
| 5983 |
return ErrInvalidLengthGenerated |
| 5984 |
} |
| 5985 |
postIndex := iNdEx + intStringLen |
| 5986 |
if postIndex > l { |
| 5987 |
return io.ErrUnexpectedEOF |
| 5988 |
} |
| 5989 |
m.DockerImageRepository = string(dAtA[iNdEx:postIndex]) |
| 5990 |
iNdEx = postIndex |
| 5991 |
case 2: |
| 5992 |
if wireType != 2 { |
| 5993 |
return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) |
| 5994 |
} |
| 5995 |
var msglen int |
| 5996 |
for shift := uint(0); ; shift += 7 { |
| 5997 |
if shift >= 64 { |
| 5998 |
return ErrIntOverflowGenerated |
| 5999 |
} |
| 6000 |
if iNdEx >= l { |
| 6001 |
return io.ErrUnexpectedEOF |
| 6002 |
} |
| 6003 |
b := dAtA[iNdEx] |
| 6004 |
iNdEx++ |
| 6005 |
msglen |= (int(b) & 0x7F) << shift |
| 6006 |
if b < 0x80 { |
| 6007 |
break |
| 6008 |
} |
| 6009 |
} |
| 6010 |
if msglen < 0 { |
| 6011 |
return ErrInvalidLengthGenerated |
| 6012 |
} |
| 6013 |
postIndex := iNdEx + msglen |
| 6014 |
if postIndex > l { |
| 6015 |
return io.ErrUnexpectedEOF |
| 6016 |
} |
| 6017 |
m.Tags = append(m.Tags, TagReference{}) |
| 6018 |
if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6019 |
return err |
| 6020 |
} |
| 6021 |
iNdEx = postIndex |
| 6022 |
case 3: |
| 6023 |
if wireType != 2 { |
| 6024 |
return fmt.Errorf("proto: wrong wireType = %d for field LookupPolicy", wireType) |
| 6025 |
} |
| 6026 |
var msglen int |
| 6027 |
for shift := uint(0); ; shift += 7 { |
| 6028 |
if shift >= 64 { |
| 6029 |
return ErrIntOverflowGenerated |
| 6030 |
} |
| 6031 |
if iNdEx >= l { |
| 6032 |
return io.ErrUnexpectedEOF |
| 6033 |
} |
| 6034 |
b := dAtA[iNdEx] |
| 6035 |
iNdEx++ |
| 6036 |
msglen |= (int(b) & 0x7F) << shift |
| 6037 |
if b < 0x80 { |
| 6038 |
break |
| 6039 |
} |
| 6040 |
} |
| 6041 |
if msglen < 0 { |
| 6042 |
return ErrInvalidLengthGenerated |
| 6043 |
} |
| 6044 |
postIndex := iNdEx + msglen |
| 6045 |
if postIndex > l { |
| 6046 |
return io.ErrUnexpectedEOF |
| 6047 |
} |
| 6048 |
if err := m.LookupPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6049 |
return err |
| 6050 |
} |
| 6051 |
iNdEx = postIndex |
| 6052 |
default: |
| 6053 |
iNdEx = preIndex |
| 6054 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6055 |
if err != nil { |
| 6056 |
return err |
| 6057 |
} |
| 6058 |
if skippy < 0 { |
| 6059 |
return ErrInvalidLengthGenerated |
| 6060 |
} |
| 6061 |
if (iNdEx + skippy) > l { |
| 6062 |
return io.ErrUnexpectedEOF |
| 6063 |
} |
| 6064 |
iNdEx += skippy |
| 6065 |
} |
| 6066 |
} |
| 6067 |
|
| 6068 |
if iNdEx > l { |
| 6069 |
return io.ErrUnexpectedEOF |
| 6070 |
} |
| 6071 |
return nil |
| 6072 |
} |
| 6073 |
func (m *ImageStreamStatus) Unmarshal(dAtA []byte) error { |
| 6074 |
l := len(dAtA) |
| 6075 |
iNdEx := 0 |
| 6076 |
for iNdEx < l { |
| 6077 |
preIndex := iNdEx |
| 6078 |
var wire uint64 |
| 6079 |
for shift := uint(0); ; shift += 7 { |
| 6080 |
if shift >= 64 { |
| 6081 |
return ErrIntOverflowGenerated |
| 6082 |
} |
| 6083 |
if iNdEx >= l { |
| 6084 |
return io.ErrUnexpectedEOF |
| 6085 |
} |
| 6086 |
b := dAtA[iNdEx] |
| 6087 |
iNdEx++ |
| 6088 |
wire |= (uint64(b) & 0x7F) << shift |
| 6089 |
if b < 0x80 { |
| 6090 |
break |
| 6091 |
} |
| 6092 |
} |
| 6093 |
fieldNum := int32(wire >> 3) |
| 6094 |
wireType := int(wire & 0x7) |
| 6095 |
if wireType == 4 { |
| 6096 |
return fmt.Errorf("proto: ImageStreamStatus: wiretype end group for non-group") |
| 6097 |
} |
| 6098 |
if fieldNum <= 0 { |
| 6099 |
return fmt.Errorf("proto: ImageStreamStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6100 |
} |
| 6101 |
switch fieldNum { |
| 6102 |
case 1: |
| 6103 |
if wireType != 2 { |
| 6104 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageRepository", wireType) |
| 6105 |
} |
| 6106 |
var stringLen uint64 |
| 6107 |
for shift := uint(0); ; shift += 7 { |
| 6108 |
if shift >= 64 { |
| 6109 |
return ErrIntOverflowGenerated |
| 6110 |
} |
| 6111 |
if iNdEx >= l { |
| 6112 |
return io.ErrUnexpectedEOF |
| 6113 |
} |
| 6114 |
b := dAtA[iNdEx] |
| 6115 |
iNdEx++ |
| 6116 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 6117 |
if b < 0x80 { |
| 6118 |
break |
| 6119 |
} |
| 6120 |
} |
| 6121 |
intStringLen := int(stringLen) |
| 6122 |
if intStringLen < 0 { |
| 6123 |
return ErrInvalidLengthGenerated |
| 6124 |
} |
| 6125 |
postIndex := iNdEx + intStringLen |
| 6126 |
if postIndex > l { |
| 6127 |
return io.ErrUnexpectedEOF |
| 6128 |
} |
| 6129 |
m.DockerImageRepository = string(dAtA[iNdEx:postIndex]) |
| 6130 |
iNdEx = postIndex |
| 6131 |
case 2: |
| 6132 |
if wireType != 2 { |
| 6133 |
return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) |
| 6134 |
} |
| 6135 |
var msglen int |
| 6136 |
for shift := uint(0); ; shift += 7 { |
| 6137 |
if shift >= 64 { |
| 6138 |
return ErrIntOverflowGenerated |
| 6139 |
} |
| 6140 |
if iNdEx >= l { |
| 6141 |
return io.ErrUnexpectedEOF |
| 6142 |
} |
| 6143 |
b := dAtA[iNdEx] |
| 6144 |
iNdEx++ |
| 6145 |
msglen |= (int(b) & 0x7F) << shift |
| 6146 |
if b < 0x80 { |
| 6147 |
break |
| 6148 |
} |
| 6149 |
} |
| 6150 |
if msglen < 0 { |
| 6151 |
return ErrInvalidLengthGenerated |
| 6152 |
} |
| 6153 |
postIndex := iNdEx + msglen |
| 6154 |
if postIndex > l { |
| 6155 |
return io.ErrUnexpectedEOF |
| 6156 |
} |
| 6157 |
m.Tags = append(m.Tags, NamedTagEventList{}) |
| 6158 |
if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6159 |
return err |
| 6160 |
} |
| 6161 |
iNdEx = postIndex |
| 6162 |
case 3: |
| 6163 |
if wireType != 2 { |
| 6164 |
return fmt.Errorf("proto: wrong wireType = %d for field PublicDockerImageRepository", wireType) |
| 6165 |
} |
| 6166 |
var stringLen uint64 |
| 6167 |
for shift := uint(0); ; shift += 7 { |
| 6168 |
if shift >= 64 { |
| 6169 |
return ErrIntOverflowGenerated |
| 6170 |
} |
| 6171 |
if iNdEx >= l { |
| 6172 |
return io.ErrUnexpectedEOF |
| 6173 |
} |
| 6174 |
b := dAtA[iNdEx] |
| 6175 |
iNdEx++ |
| 6176 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 6177 |
if b < 0x80 { |
| 6178 |
break |
| 6179 |
} |
| 6180 |
} |
| 6181 |
intStringLen := int(stringLen) |
| 6182 |
if intStringLen < 0 { |
| 6183 |
return ErrInvalidLengthGenerated |
| 6184 |
} |
| 6185 |
postIndex := iNdEx + intStringLen |
| 6186 |
if postIndex > l { |
| 6187 |
return io.ErrUnexpectedEOF |
| 6188 |
} |
| 6189 |
m.PublicDockerImageRepository = string(dAtA[iNdEx:postIndex]) |
| 6190 |
iNdEx = postIndex |
| 6191 |
default: |
| 6192 |
iNdEx = preIndex |
| 6193 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6194 |
if err != nil { |
| 6195 |
return err |
| 6196 |
} |
| 6197 |
if skippy < 0 { |
| 6198 |
return ErrInvalidLengthGenerated |
| 6199 |
} |
| 6200 |
if (iNdEx + skippy) > l { |
| 6201 |
return io.ErrUnexpectedEOF |
| 6202 |
} |
| 6203 |
iNdEx += skippy |
| 6204 |
} |
| 6205 |
} |
| 6206 |
|
| 6207 |
if iNdEx > l { |
| 6208 |
return io.ErrUnexpectedEOF |
| 6209 |
} |
| 6210 |
return nil |
| 6211 |
} |
| 6212 |
func (m *ImageStreamTag) Unmarshal(dAtA []byte) error { |
| 6213 |
l := len(dAtA) |
| 6214 |
iNdEx := 0 |
| 6215 |
for iNdEx < l { |
| 6216 |
preIndex := iNdEx |
| 6217 |
var wire uint64 |
| 6218 |
for shift := uint(0); ; shift += 7 { |
| 6219 |
if shift >= 64 { |
| 6220 |
return ErrIntOverflowGenerated |
| 6221 |
} |
| 6222 |
if iNdEx >= l { |
| 6223 |
return io.ErrUnexpectedEOF |
| 6224 |
} |
| 6225 |
b := dAtA[iNdEx] |
| 6226 |
iNdEx++ |
| 6227 |
wire |= (uint64(b) & 0x7F) << shift |
| 6228 |
if b < 0x80 { |
| 6229 |
break |
| 6230 |
} |
| 6231 |
} |
| 6232 |
fieldNum := int32(wire >> 3) |
| 6233 |
wireType := int(wire & 0x7) |
| 6234 |
if wireType == 4 { |
| 6235 |
return fmt.Errorf("proto: ImageStreamTag: wiretype end group for non-group") |
| 6236 |
} |
| 6237 |
if fieldNum <= 0 { |
| 6238 |
return fmt.Errorf("proto: ImageStreamTag: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6239 |
} |
| 6240 |
switch fieldNum { |
| 6241 |
case 1: |
| 6242 |
if wireType != 2 { |
| 6243 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 6244 |
} |
| 6245 |
var msglen int |
| 6246 |
for shift := uint(0); ; shift += 7 { |
| 6247 |
if shift >= 64 { |
| 6248 |
return ErrIntOverflowGenerated |
| 6249 |
} |
| 6250 |
if iNdEx >= l { |
| 6251 |
return io.ErrUnexpectedEOF |
| 6252 |
} |
| 6253 |
b := dAtA[iNdEx] |
| 6254 |
iNdEx++ |
| 6255 |
msglen |= (int(b) & 0x7F) << shift |
| 6256 |
if b < 0x80 { |
| 6257 |
break |
| 6258 |
} |
| 6259 |
} |
| 6260 |
if msglen < 0 { |
| 6261 |
return ErrInvalidLengthGenerated |
| 6262 |
} |
| 6263 |
postIndex := iNdEx + msglen |
| 6264 |
if postIndex > l { |
| 6265 |
return io.ErrUnexpectedEOF |
| 6266 |
} |
| 6267 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6268 |
return err |
| 6269 |
} |
| 6270 |
iNdEx = postIndex |
| 6271 |
case 2: |
| 6272 |
if wireType != 2 { |
| 6273 |
return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) |
| 6274 |
} |
| 6275 |
var msglen int |
| 6276 |
for shift := uint(0); ; shift += 7 { |
| 6277 |
if shift >= 64 { |
| 6278 |
return ErrIntOverflowGenerated |
| 6279 |
} |
| 6280 |
if iNdEx >= l { |
| 6281 |
return io.ErrUnexpectedEOF |
| 6282 |
} |
| 6283 |
b := dAtA[iNdEx] |
| 6284 |
iNdEx++ |
| 6285 |
msglen |= (int(b) & 0x7F) << shift |
| 6286 |
if b < 0x80 { |
| 6287 |
break |
| 6288 |
} |
| 6289 |
} |
| 6290 |
if msglen < 0 { |
| 6291 |
return ErrInvalidLengthGenerated |
| 6292 |
} |
| 6293 |
postIndex := iNdEx + msglen |
| 6294 |
if postIndex > l { |
| 6295 |
return io.ErrUnexpectedEOF |
| 6296 |
} |
| 6297 |
if m.Tag == nil { |
| 6298 |
m.Tag = &TagReference{} |
| 6299 |
} |
| 6300 |
if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6301 |
return err |
| 6302 |
} |
| 6303 |
iNdEx = postIndex |
| 6304 |
case 3: |
| 6305 |
if wireType != 0 { |
| 6306 |
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 6307 |
} |
| 6308 |
m.Generation = 0 |
| 6309 |
for shift := uint(0); ; shift += 7 { |
| 6310 |
if shift >= 64 { |
| 6311 |
return ErrIntOverflowGenerated |
| 6312 |
} |
| 6313 |
if iNdEx >= l { |
| 6314 |
return io.ErrUnexpectedEOF |
| 6315 |
} |
| 6316 |
b := dAtA[iNdEx] |
| 6317 |
iNdEx++ |
| 6318 |
m.Generation |= (int64(b) & 0x7F) << shift |
| 6319 |
if b < 0x80 { |
| 6320 |
break |
| 6321 |
} |
| 6322 |
} |
| 6323 |
case 4: |
| 6324 |
if wireType != 2 { |
| 6325 |
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 6326 |
} |
| 6327 |
var msglen int |
| 6328 |
for shift := uint(0); ; shift += 7 { |
| 6329 |
if shift >= 64 { |
| 6330 |
return ErrIntOverflowGenerated |
| 6331 |
} |
| 6332 |
if iNdEx >= l { |
| 6333 |
return io.ErrUnexpectedEOF |
| 6334 |
} |
| 6335 |
b := dAtA[iNdEx] |
| 6336 |
iNdEx++ |
| 6337 |
msglen |= (int(b) & 0x7F) << shift |
| 6338 |
if b < 0x80 { |
| 6339 |
break |
| 6340 |
} |
| 6341 |
} |
| 6342 |
if msglen < 0 { |
| 6343 |
return ErrInvalidLengthGenerated |
| 6344 |
} |
| 6345 |
postIndex := iNdEx + msglen |
| 6346 |
if postIndex > l { |
| 6347 |
return io.ErrUnexpectedEOF |
| 6348 |
} |
| 6349 |
m.Conditions = append(m.Conditions, TagEventCondition{}) |
| 6350 |
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6351 |
return err |
| 6352 |
} |
| 6353 |
iNdEx = postIndex |
| 6354 |
case 5: |
| 6355 |
if wireType != 2 { |
| 6356 |
return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) |
| 6357 |
} |
| 6358 |
var msglen int |
| 6359 |
for shift := uint(0); ; shift += 7 { |
| 6360 |
if shift >= 64 { |
| 6361 |
return ErrIntOverflowGenerated |
| 6362 |
} |
| 6363 |
if iNdEx >= l { |
| 6364 |
return io.ErrUnexpectedEOF |
| 6365 |
} |
| 6366 |
b := dAtA[iNdEx] |
| 6367 |
iNdEx++ |
| 6368 |
msglen |= (int(b) & 0x7F) << shift |
| 6369 |
if b < 0x80 { |
| 6370 |
break |
| 6371 |
} |
| 6372 |
} |
| 6373 |
if msglen < 0 { |
| 6374 |
return ErrInvalidLengthGenerated |
| 6375 |
} |
| 6376 |
postIndex := iNdEx + msglen |
| 6377 |
if postIndex > l { |
| 6378 |
return io.ErrUnexpectedEOF |
| 6379 |
} |
| 6380 |
if err := m.Image.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6381 |
return err |
| 6382 |
} |
| 6383 |
iNdEx = postIndex |
| 6384 |
case 6: |
| 6385 |
if wireType != 2 { |
| 6386 |
return fmt.Errorf("proto: wrong wireType = %d for field LookupPolicy", wireType) |
| 6387 |
} |
| 6388 |
var msglen int |
| 6389 |
for shift := uint(0); ; shift += 7 { |
| 6390 |
if shift >= 64 { |
| 6391 |
return ErrIntOverflowGenerated |
| 6392 |
} |
| 6393 |
if iNdEx >= l { |
| 6394 |
return io.ErrUnexpectedEOF |
| 6395 |
} |
| 6396 |
b := dAtA[iNdEx] |
| 6397 |
iNdEx++ |
| 6398 |
msglen |= (int(b) & 0x7F) << shift |
| 6399 |
if b < 0x80 { |
| 6400 |
break |
| 6401 |
} |
| 6402 |
} |
| 6403 |
if msglen < 0 { |
| 6404 |
return ErrInvalidLengthGenerated |
| 6405 |
} |
| 6406 |
postIndex := iNdEx + msglen |
| 6407 |
if postIndex > l { |
| 6408 |
return io.ErrUnexpectedEOF |
| 6409 |
} |
| 6410 |
if err := m.LookupPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6411 |
return err |
| 6412 |
} |
| 6413 |
iNdEx = postIndex |
| 6414 |
default: |
| 6415 |
iNdEx = preIndex |
| 6416 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6417 |
if err != nil { |
| 6418 |
return err |
| 6419 |
} |
| 6420 |
if skippy < 0 { |
| 6421 |
return ErrInvalidLengthGenerated |
| 6422 |
} |
| 6423 |
if (iNdEx + skippy) > l { |
| 6424 |
return io.ErrUnexpectedEOF |
| 6425 |
} |
| 6426 |
iNdEx += skippy |
| 6427 |
} |
| 6428 |
} |
| 6429 |
|
| 6430 |
if iNdEx > l { |
| 6431 |
return io.ErrUnexpectedEOF |
| 6432 |
} |
| 6433 |
return nil |
| 6434 |
} |
| 6435 |
func (m *ImageStreamTagList) Unmarshal(dAtA []byte) error { |
| 6436 |
l := len(dAtA) |
| 6437 |
iNdEx := 0 |
| 6438 |
for iNdEx < l { |
| 6439 |
preIndex := iNdEx |
| 6440 |
var wire uint64 |
| 6441 |
for shift := uint(0); ; shift += 7 { |
| 6442 |
if shift >= 64 { |
| 6443 |
return ErrIntOverflowGenerated |
| 6444 |
} |
| 6445 |
if iNdEx >= l { |
| 6446 |
return io.ErrUnexpectedEOF |
| 6447 |
} |
| 6448 |
b := dAtA[iNdEx] |
| 6449 |
iNdEx++ |
| 6450 |
wire |= (uint64(b) & 0x7F) << shift |
| 6451 |
if b < 0x80 { |
| 6452 |
break |
| 6453 |
} |
| 6454 |
} |
| 6455 |
fieldNum := int32(wire >> 3) |
| 6456 |
wireType := int(wire & 0x7) |
| 6457 |
if wireType == 4 { |
| 6458 |
return fmt.Errorf("proto: ImageStreamTagList: wiretype end group for non-group") |
| 6459 |
} |
| 6460 |
if fieldNum <= 0 { |
| 6461 |
return fmt.Errorf("proto: ImageStreamTagList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6462 |
} |
| 6463 |
switch fieldNum { |
| 6464 |
case 1: |
| 6465 |
if wireType != 2 { |
| 6466 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 6467 |
} |
| 6468 |
var msglen int |
| 6469 |
for shift := uint(0); ; shift += 7 { |
| 6470 |
if shift >= 64 { |
| 6471 |
return ErrIntOverflowGenerated |
| 6472 |
} |
| 6473 |
if iNdEx >= l { |
| 6474 |
return io.ErrUnexpectedEOF |
| 6475 |
} |
| 6476 |
b := dAtA[iNdEx] |
| 6477 |
iNdEx++ |
| 6478 |
msglen |= (int(b) & 0x7F) << shift |
| 6479 |
if b < 0x80 { |
| 6480 |
break |
| 6481 |
} |
| 6482 |
} |
| 6483 |
if msglen < 0 { |
| 6484 |
return ErrInvalidLengthGenerated |
| 6485 |
} |
| 6486 |
postIndex := iNdEx + msglen |
| 6487 |
if postIndex > l { |
| 6488 |
return io.ErrUnexpectedEOF |
| 6489 |
} |
| 6490 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6491 |
return err |
| 6492 |
} |
| 6493 |
iNdEx = postIndex |
| 6494 |
case 2: |
| 6495 |
if wireType != 2 { |
| 6496 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 6497 |
} |
| 6498 |
var msglen int |
| 6499 |
for shift := uint(0); ; shift += 7 { |
| 6500 |
if shift >= 64 { |
| 6501 |
return ErrIntOverflowGenerated |
| 6502 |
} |
| 6503 |
if iNdEx >= l { |
| 6504 |
return io.ErrUnexpectedEOF |
| 6505 |
} |
| 6506 |
b := dAtA[iNdEx] |
| 6507 |
iNdEx++ |
| 6508 |
msglen |= (int(b) & 0x7F) << shift |
| 6509 |
if b < 0x80 { |
| 6510 |
break |
| 6511 |
} |
| 6512 |
} |
| 6513 |
if msglen < 0 { |
| 6514 |
return ErrInvalidLengthGenerated |
| 6515 |
} |
| 6516 |
postIndex := iNdEx + msglen |
| 6517 |
if postIndex > l { |
| 6518 |
return io.ErrUnexpectedEOF |
| 6519 |
} |
| 6520 |
m.Items = append(m.Items, ImageStreamTag{}) |
| 6521 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6522 |
return err |
| 6523 |
} |
| 6524 |
iNdEx = postIndex |
| 6525 |
default: |
| 6526 |
iNdEx = preIndex |
| 6527 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6528 |
if err != nil { |
| 6529 |
return err |
| 6530 |
} |
| 6531 |
if skippy < 0 { |
| 6532 |
return ErrInvalidLengthGenerated |
| 6533 |
} |
| 6534 |
if (iNdEx + skippy) > l { |
| 6535 |
return io.ErrUnexpectedEOF |
| 6536 |
} |
| 6537 |
iNdEx += skippy |
| 6538 |
} |
| 6539 |
} |
| 6540 |
|
| 6541 |
if iNdEx > l { |
| 6542 |
return io.ErrUnexpectedEOF |
| 6543 |
} |
| 6544 |
return nil |
| 6545 |
} |
| 6546 |
func (m *NamedTagEventList) Unmarshal(dAtA []byte) error { |
| 6547 |
l := len(dAtA) |
| 6548 |
iNdEx := 0 |
| 6549 |
for iNdEx < l { |
| 6550 |
preIndex := iNdEx |
| 6551 |
var wire uint64 |
| 6552 |
for shift := uint(0); ; shift += 7 { |
| 6553 |
if shift >= 64 { |
| 6554 |
return ErrIntOverflowGenerated |
| 6555 |
} |
| 6556 |
if iNdEx >= l { |
| 6557 |
return io.ErrUnexpectedEOF |
| 6558 |
} |
| 6559 |
b := dAtA[iNdEx] |
| 6560 |
iNdEx++ |
| 6561 |
wire |= (uint64(b) & 0x7F) << shift |
| 6562 |
if b < 0x80 { |
| 6563 |
break |
| 6564 |
} |
| 6565 |
} |
| 6566 |
fieldNum := int32(wire >> 3) |
| 6567 |
wireType := int(wire & 0x7) |
| 6568 |
if wireType == 4 { |
| 6569 |
return fmt.Errorf("proto: NamedTagEventList: wiretype end group for non-group") |
| 6570 |
} |
| 6571 |
if fieldNum <= 0 { |
| 6572 |
return fmt.Errorf("proto: NamedTagEventList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6573 |
} |
| 6574 |
switch fieldNum { |
| 6575 |
case 1: |
| 6576 |
if wireType != 2 { |
| 6577 |
return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) |
| 6578 |
} |
| 6579 |
var stringLen uint64 |
| 6580 |
for shift := uint(0); ; shift += 7 { |
| 6581 |
if shift >= 64 { |
| 6582 |
return ErrIntOverflowGenerated |
| 6583 |
} |
| 6584 |
if iNdEx >= l { |
| 6585 |
return io.ErrUnexpectedEOF |
| 6586 |
} |
| 6587 |
b := dAtA[iNdEx] |
| 6588 |
iNdEx++ |
| 6589 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 6590 |
if b < 0x80 { |
| 6591 |
break |
| 6592 |
} |
| 6593 |
} |
| 6594 |
intStringLen := int(stringLen) |
| 6595 |
if intStringLen < 0 { |
| 6596 |
return ErrInvalidLengthGenerated |
| 6597 |
} |
| 6598 |
postIndex := iNdEx + intStringLen |
| 6599 |
if postIndex > l { |
| 6600 |
return io.ErrUnexpectedEOF |
| 6601 |
} |
| 6602 |
m.Tag = string(dAtA[iNdEx:postIndex]) |
| 6603 |
iNdEx = postIndex |
| 6604 |
case 2: |
| 6605 |
if wireType != 2 { |
| 6606 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 6607 |
} |
| 6608 |
var msglen int |
| 6609 |
for shift := uint(0); ; shift += 7 { |
| 6610 |
if shift >= 64 { |
| 6611 |
return ErrIntOverflowGenerated |
| 6612 |
} |
| 6613 |
if iNdEx >= l { |
| 6614 |
return io.ErrUnexpectedEOF |
| 6615 |
} |
| 6616 |
b := dAtA[iNdEx] |
| 6617 |
iNdEx++ |
| 6618 |
msglen |= (int(b) & 0x7F) << shift |
| 6619 |
if b < 0x80 { |
| 6620 |
break |
| 6621 |
} |
| 6622 |
} |
| 6623 |
if msglen < 0 { |
| 6624 |
return ErrInvalidLengthGenerated |
| 6625 |
} |
| 6626 |
postIndex := iNdEx + msglen |
| 6627 |
if postIndex > l { |
| 6628 |
return io.ErrUnexpectedEOF |
| 6629 |
} |
| 6630 |
m.Items = append(m.Items, TagEvent{}) |
| 6631 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6632 |
return err |
| 6633 |
} |
| 6634 |
iNdEx = postIndex |
| 6635 |
case 3: |
| 6636 |
if wireType != 2 { |
| 6637 |
return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 6638 |
} |
| 6639 |
var msglen int |
| 6640 |
for shift := uint(0); ; shift += 7 { |
| 6641 |
if shift >= 64 { |
| 6642 |
return ErrIntOverflowGenerated |
| 6643 |
} |
| 6644 |
if iNdEx >= l { |
| 6645 |
return io.ErrUnexpectedEOF |
| 6646 |
} |
| 6647 |
b := dAtA[iNdEx] |
| 6648 |
iNdEx++ |
| 6649 |
msglen |= (int(b) & 0x7F) << shift |
| 6650 |
if b < 0x80 { |
| 6651 |
break |
| 6652 |
} |
| 6653 |
} |
| 6654 |
if msglen < 0 { |
| 6655 |
return ErrInvalidLengthGenerated |
| 6656 |
} |
| 6657 |
postIndex := iNdEx + msglen |
| 6658 |
if postIndex > l { |
| 6659 |
return io.ErrUnexpectedEOF |
| 6660 |
} |
| 6661 |
m.Conditions = append(m.Conditions, TagEventCondition{}) |
| 6662 |
if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6663 |
return err |
| 6664 |
} |
| 6665 |
iNdEx = postIndex |
| 6666 |
default: |
| 6667 |
iNdEx = preIndex |
| 6668 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6669 |
if err != nil { |
| 6670 |
return err |
| 6671 |
} |
| 6672 |
if skippy < 0 { |
| 6673 |
return ErrInvalidLengthGenerated |
| 6674 |
} |
| 6675 |
if (iNdEx + skippy) > l { |
| 6676 |
return io.ErrUnexpectedEOF |
| 6677 |
} |
| 6678 |
iNdEx += skippy |
| 6679 |
} |
| 6680 |
} |
| 6681 |
|
| 6682 |
if iNdEx > l { |
| 6683 |
return io.ErrUnexpectedEOF |
| 6684 |
} |
| 6685 |
return nil |
| 6686 |
} |
| 6687 |
func (m *RepositoryImportSpec) Unmarshal(dAtA []byte) error { |
| 6688 |
l := len(dAtA) |
| 6689 |
iNdEx := 0 |
| 6690 |
for iNdEx < l { |
| 6691 |
preIndex := iNdEx |
| 6692 |
var wire uint64 |
| 6693 |
for shift := uint(0); ; shift += 7 { |
| 6694 |
if shift >= 64 { |
| 6695 |
return ErrIntOverflowGenerated |
| 6696 |
} |
| 6697 |
if iNdEx >= l { |
| 6698 |
return io.ErrUnexpectedEOF |
| 6699 |
} |
| 6700 |
b := dAtA[iNdEx] |
| 6701 |
iNdEx++ |
| 6702 |
wire |= (uint64(b) & 0x7F) << shift |
| 6703 |
if b < 0x80 { |
| 6704 |
break |
| 6705 |
} |
| 6706 |
} |
| 6707 |
fieldNum := int32(wire >> 3) |
| 6708 |
wireType := int(wire & 0x7) |
| 6709 |
if wireType == 4 { |
| 6710 |
return fmt.Errorf("proto: RepositoryImportSpec: wiretype end group for non-group") |
| 6711 |
} |
| 6712 |
if fieldNum <= 0 { |
| 6713 |
return fmt.Errorf("proto: RepositoryImportSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6714 |
} |
| 6715 |
switch fieldNum { |
| 6716 |
case 1: |
| 6717 |
if wireType != 2 { |
| 6718 |
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) |
| 6719 |
} |
| 6720 |
var msglen int |
| 6721 |
for shift := uint(0); ; shift += 7 { |
| 6722 |
if shift >= 64 { |
| 6723 |
return ErrIntOverflowGenerated |
| 6724 |
} |
| 6725 |
if iNdEx >= l { |
| 6726 |
return io.ErrUnexpectedEOF |
| 6727 |
} |
| 6728 |
b := dAtA[iNdEx] |
| 6729 |
iNdEx++ |
| 6730 |
msglen |= (int(b) & 0x7F) << shift |
| 6731 |
if b < 0x80 { |
| 6732 |
break |
| 6733 |
} |
| 6734 |
} |
| 6735 |
if msglen < 0 { |
| 6736 |
return ErrInvalidLengthGenerated |
| 6737 |
} |
| 6738 |
postIndex := iNdEx + msglen |
| 6739 |
if postIndex > l { |
| 6740 |
return io.ErrUnexpectedEOF |
| 6741 |
} |
| 6742 |
if err := m.From.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6743 |
return err |
| 6744 |
} |
| 6745 |
iNdEx = postIndex |
| 6746 |
case 2: |
| 6747 |
if wireType != 2 { |
| 6748 |
return fmt.Errorf("proto: wrong wireType = %d for field ImportPolicy", wireType) |
| 6749 |
} |
| 6750 |
var msglen int |
| 6751 |
for shift := uint(0); ; shift += 7 { |
| 6752 |
if shift >= 64 { |
| 6753 |
return ErrIntOverflowGenerated |
| 6754 |
} |
| 6755 |
if iNdEx >= l { |
| 6756 |
return io.ErrUnexpectedEOF |
| 6757 |
} |
| 6758 |
b := dAtA[iNdEx] |
| 6759 |
iNdEx++ |
| 6760 |
msglen |= (int(b) & 0x7F) << shift |
| 6761 |
if b < 0x80 { |
| 6762 |
break |
| 6763 |
} |
| 6764 |
} |
| 6765 |
if msglen < 0 { |
| 6766 |
return ErrInvalidLengthGenerated |
| 6767 |
} |
| 6768 |
postIndex := iNdEx + msglen |
| 6769 |
if postIndex > l { |
| 6770 |
return io.ErrUnexpectedEOF |
| 6771 |
} |
| 6772 |
if err := m.ImportPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6773 |
return err |
| 6774 |
} |
| 6775 |
iNdEx = postIndex |
| 6776 |
case 3: |
| 6777 |
if wireType != 0 { |
| 6778 |
return fmt.Errorf("proto: wrong wireType = %d for field IncludeManifest", wireType) |
| 6779 |
} |
| 6780 |
var v int |
| 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 |
v |= (int(b) & 0x7F) << shift |
| 6791 |
if b < 0x80 { |
| 6792 |
break |
| 6793 |
} |
| 6794 |
} |
| 6795 |
m.IncludeManifest = bool(v != 0) |
| 6796 |
case 4: |
| 6797 |
if wireType != 2 { |
| 6798 |
return fmt.Errorf("proto: wrong wireType = %d for field ReferencePolicy", wireType) |
| 6799 |
} |
| 6800 |
var msglen int |
| 6801 |
for shift := uint(0); ; shift += 7 { |
| 6802 |
if shift >= 64 { |
| 6803 |
return ErrIntOverflowGenerated |
| 6804 |
} |
| 6805 |
if iNdEx >= l { |
| 6806 |
return io.ErrUnexpectedEOF |
| 6807 |
} |
| 6808 |
b := dAtA[iNdEx] |
| 6809 |
iNdEx++ |
| 6810 |
msglen |= (int(b) & 0x7F) << shift |
| 6811 |
if b < 0x80 { |
| 6812 |
break |
| 6813 |
} |
| 6814 |
} |
| 6815 |
if msglen < 0 { |
| 6816 |
return ErrInvalidLengthGenerated |
| 6817 |
} |
| 6818 |
postIndex := iNdEx + msglen |
| 6819 |
if postIndex > l { |
| 6820 |
return io.ErrUnexpectedEOF |
| 6821 |
} |
| 6822 |
if err := m.ReferencePolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6823 |
return err |
| 6824 |
} |
| 6825 |
iNdEx = postIndex |
| 6826 |
default: |
| 6827 |
iNdEx = preIndex |
| 6828 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6829 |
if err != nil { |
| 6830 |
return err |
| 6831 |
} |
| 6832 |
if skippy < 0 { |
| 6833 |
return ErrInvalidLengthGenerated |
| 6834 |
} |
| 6835 |
if (iNdEx + skippy) > l { |
| 6836 |
return io.ErrUnexpectedEOF |
| 6837 |
} |
| 6838 |
iNdEx += skippy |
| 6839 |
} |
| 6840 |
} |
| 6841 |
|
| 6842 |
if iNdEx > l { |
| 6843 |
return io.ErrUnexpectedEOF |
| 6844 |
} |
| 6845 |
return nil |
| 6846 |
} |
| 6847 |
func (m *RepositoryImportStatus) Unmarshal(dAtA []byte) error { |
| 6848 |
l := len(dAtA) |
| 6849 |
iNdEx := 0 |
| 6850 |
for iNdEx < l { |
| 6851 |
preIndex := iNdEx |
| 6852 |
var wire uint64 |
| 6853 |
for shift := uint(0); ; shift += 7 { |
| 6854 |
if shift >= 64 { |
| 6855 |
return ErrIntOverflowGenerated |
| 6856 |
} |
| 6857 |
if iNdEx >= l { |
| 6858 |
return io.ErrUnexpectedEOF |
| 6859 |
} |
| 6860 |
b := dAtA[iNdEx] |
| 6861 |
iNdEx++ |
| 6862 |
wire |= (uint64(b) & 0x7F) << shift |
| 6863 |
if b < 0x80 { |
| 6864 |
break |
| 6865 |
} |
| 6866 |
} |
| 6867 |
fieldNum := int32(wire >> 3) |
| 6868 |
wireType := int(wire & 0x7) |
| 6869 |
if wireType == 4 { |
| 6870 |
return fmt.Errorf("proto: RepositoryImportStatus: wiretype end group for non-group") |
| 6871 |
} |
| 6872 |
if fieldNum <= 0 { |
| 6873 |
return fmt.Errorf("proto: RepositoryImportStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6874 |
} |
| 6875 |
switch fieldNum { |
| 6876 |
case 1: |
| 6877 |
if wireType != 2 { |
| 6878 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 6879 |
} |
| 6880 |
var msglen int |
| 6881 |
for shift := uint(0); ; shift += 7 { |
| 6882 |
if shift >= 64 { |
| 6883 |
return ErrIntOverflowGenerated |
| 6884 |
} |
| 6885 |
if iNdEx >= l { |
| 6886 |
return io.ErrUnexpectedEOF |
| 6887 |
} |
| 6888 |
b := dAtA[iNdEx] |
| 6889 |
iNdEx++ |
| 6890 |
msglen |= (int(b) & 0x7F) << shift |
| 6891 |
if b < 0x80 { |
| 6892 |
break |
| 6893 |
} |
| 6894 |
} |
| 6895 |
if msglen < 0 { |
| 6896 |
return ErrInvalidLengthGenerated |
| 6897 |
} |
| 6898 |
postIndex := iNdEx + msglen |
| 6899 |
if postIndex > l { |
| 6900 |
return io.ErrUnexpectedEOF |
| 6901 |
} |
| 6902 |
if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6903 |
return err |
| 6904 |
} |
| 6905 |
iNdEx = postIndex |
| 6906 |
case 2: |
| 6907 |
if wireType != 2 { |
| 6908 |
return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) |
| 6909 |
} |
| 6910 |
var msglen int |
| 6911 |
for shift := uint(0); ; shift += 7 { |
| 6912 |
if shift >= 64 { |
| 6913 |
return ErrIntOverflowGenerated |
| 6914 |
} |
| 6915 |
if iNdEx >= l { |
| 6916 |
return io.ErrUnexpectedEOF |
| 6917 |
} |
| 6918 |
b := dAtA[iNdEx] |
| 6919 |
iNdEx++ |
| 6920 |
msglen |= (int(b) & 0x7F) << shift |
| 6921 |
if b < 0x80 { |
| 6922 |
break |
| 6923 |
} |
| 6924 |
} |
| 6925 |
if msglen < 0 { |
| 6926 |
return ErrInvalidLengthGenerated |
| 6927 |
} |
| 6928 |
postIndex := iNdEx + msglen |
| 6929 |
if postIndex > l { |
| 6930 |
return io.ErrUnexpectedEOF |
| 6931 |
} |
| 6932 |
m.Images = append(m.Images, ImageImportStatus{}) |
| 6933 |
if err := m.Images[len(m.Images)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6934 |
return err |
| 6935 |
} |
| 6936 |
iNdEx = postIndex |
| 6937 |
case 3: |
| 6938 |
if wireType != 2 { |
| 6939 |
return fmt.Errorf("proto: wrong wireType = %d for field AdditionalTags", wireType) |
| 6940 |
} |
| 6941 |
var stringLen uint64 |
| 6942 |
for shift := uint(0); ; shift += 7 { |
| 6943 |
if shift >= 64 { |
| 6944 |
return ErrIntOverflowGenerated |
| 6945 |
} |
| 6946 |
if iNdEx >= l { |
| 6947 |
return io.ErrUnexpectedEOF |
| 6948 |
} |
| 6949 |
b := dAtA[iNdEx] |
| 6950 |
iNdEx++ |
| 6951 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 6952 |
if b < 0x80 { |
| 6953 |
break |
| 6954 |
} |
| 6955 |
} |
| 6956 |
intStringLen := int(stringLen) |
| 6957 |
if intStringLen < 0 { |
| 6958 |
return ErrInvalidLengthGenerated |
| 6959 |
} |
| 6960 |
postIndex := iNdEx + intStringLen |
| 6961 |
if postIndex > l { |
| 6962 |
return io.ErrUnexpectedEOF |
| 6963 |
} |
| 6964 |
m.AdditionalTags = append(m.AdditionalTags, string(dAtA[iNdEx:postIndex])) |
| 6965 |
iNdEx = postIndex |
| 6966 |
default: |
| 6967 |
iNdEx = preIndex |
| 6968 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6969 |
if err != nil { |
| 6970 |
return err |
| 6971 |
} |
| 6972 |
if skippy < 0 { |
| 6973 |
return ErrInvalidLengthGenerated |
| 6974 |
} |
| 6975 |
if (iNdEx + skippy) > l { |
| 6976 |
return io.ErrUnexpectedEOF |
| 6977 |
} |
| 6978 |
iNdEx += skippy |
| 6979 |
} |
| 6980 |
} |
| 6981 |
|
| 6982 |
if iNdEx > l { |
| 6983 |
return io.ErrUnexpectedEOF |
| 6984 |
} |
| 6985 |
return nil |
| 6986 |
} |
| 6987 |
func (m *SignatureCondition) Unmarshal(dAtA []byte) error { |
| 6988 |
l := len(dAtA) |
| 6989 |
iNdEx := 0 |
| 6990 |
for iNdEx < l { |
| 6991 |
preIndex := iNdEx |
| 6992 |
var wire uint64 |
| 6993 |
for shift := uint(0); ; shift += 7 { |
| 6994 |
if shift >= 64 { |
| 6995 |
return ErrIntOverflowGenerated |
| 6996 |
} |
| 6997 |
if iNdEx >= l { |
| 6998 |
return io.ErrUnexpectedEOF |
| 6999 |
} |
| 7000 |
b := dAtA[iNdEx] |
| 7001 |
iNdEx++ |
| 7002 |
wire |= (uint64(b) & 0x7F) << shift |
| 7003 |
if b < 0x80 { |
| 7004 |
break |
| 7005 |
} |
| 7006 |
} |
| 7007 |
fieldNum := int32(wire >> 3) |
| 7008 |
wireType := int(wire & 0x7) |
| 7009 |
if wireType == 4 { |
| 7010 |
return fmt.Errorf("proto: SignatureCondition: wiretype end group for non-group") |
| 7011 |
} |
| 7012 |
if fieldNum <= 0 { |
| 7013 |
return fmt.Errorf("proto: SignatureCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7014 |
} |
| 7015 |
switch fieldNum { |
| 7016 |
case 1: |
| 7017 |
if wireType != 2 { |
| 7018 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 7019 |
} |
| 7020 |
var stringLen uint64 |
| 7021 |
for shift := uint(0); ; shift += 7 { |
| 7022 |
if shift >= 64 { |
| 7023 |
return ErrIntOverflowGenerated |
| 7024 |
} |
| 7025 |
if iNdEx >= l { |
| 7026 |
return io.ErrUnexpectedEOF |
| 7027 |
} |
| 7028 |
b := dAtA[iNdEx] |
| 7029 |
iNdEx++ |
| 7030 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7031 |
if b < 0x80 { |
| 7032 |
break |
| 7033 |
} |
| 7034 |
} |
| 7035 |
intStringLen := int(stringLen) |
| 7036 |
if intStringLen < 0 { |
| 7037 |
return ErrInvalidLengthGenerated |
| 7038 |
} |
| 7039 |
postIndex := iNdEx + intStringLen |
| 7040 |
if postIndex > l { |
| 7041 |
return io.ErrUnexpectedEOF |
| 7042 |
} |
| 7043 |
m.Type = SignatureConditionType(dAtA[iNdEx:postIndex]) |
| 7044 |
iNdEx = postIndex |
| 7045 |
case 2: |
| 7046 |
if wireType != 2 { |
| 7047 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 7048 |
} |
| 7049 |
var stringLen uint64 |
| 7050 |
for shift := uint(0); ; shift += 7 { |
| 7051 |
if shift >= 64 { |
| 7052 |
return ErrIntOverflowGenerated |
| 7053 |
} |
| 7054 |
if iNdEx >= l { |
| 7055 |
return io.ErrUnexpectedEOF |
| 7056 |
} |
| 7057 |
b := dAtA[iNdEx] |
| 7058 |
iNdEx++ |
| 7059 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7060 |
if b < 0x80 { |
| 7061 |
break |
| 7062 |
} |
| 7063 |
} |
| 7064 |
intStringLen := int(stringLen) |
| 7065 |
if intStringLen < 0 { |
| 7066 |
return ErrInvalidLengthGenerated |
| 7067 |
} |
| 7068 |
postIndex := iNdEx + intStringLen |
| 7069 |
if postIndex > l { |
| 7070 |
return io.ErrUnexpectedEOF |
| 7071 |
} |
| 7072 |
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 7073 |
iNdEx = postIndex |
| 7074 |
case 3: |
| 7075 |
if wireType != 2 { |
| 7076 |
return fmt.Errorf("proto: wrong wireType = %d for field LastProbeTime", wireType) |
| 7077 |
} |
| 7078 |
var msglen int |
| 7079 |
for shift := uint(0); ; shift += 7 { |
| 7080 |
if shift >= 64 { |
| 7081 |
return ErrIntOverflowGenerated |
| 7082 |
} |
| 7083 |
if iNdEx >= l { |
| 7084 |
return io.ErrUnexpectedEOF |
| 7085 |
} |
| 7086 |
b := dAtA[iNdEx] |
| 7087 |
iNdEx++ |
| 7088 |
msglen |= (int(b) & 0x7F) << shift |
| 7089 |
if b < 0x80 { |
| 7090 |
break |
| 7091 |
} |
| 7092 |
} |
| 7093 |
if msglen < 0 { |
| 7094 |
return ErrInvalidLengthGenerated |
| 7095 |
} |
| 7096 |
postIndex := iNdEx + msglen |
| 7097 |
if postIndex > l { |
| 7098 |
return io.ErrUnexpectedEOF |
| 7099 |
} |
| 7100 |
if err := m.LastProbeTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7101 |
return err |
| 7102 |
} |
| 7103 |
iNdEx = postIndex |
| 7104 |
case 4: |
| 7105 |
if wireType != 2 { |
| 7106 |
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 7107 |
} |
| 7108 |
var msglen int |
| 7109 |
for shift := uint(0); ; shift += 7 { |
| 7110 |
if shift >= 64 { |
| 7111 |
return ErrIntOverflowGenerated |
| 7112 |
} |
| 7113 |
if iNdEx >= l { |
| 7114 |
return io.ErrUnexpectedEOF |
| 7115 |
} |
| 7116 |
b := dAtA[iNdEx] |
| 7117 |
iNdEx++ |
| 7118 |
msglen |= (int(b) & 0x7F) << shift |
| 7119 |
if b < 0x80 { |
| 7120 |
break |
| 7121 |
} |
| 7122 |
} |
| 7123 |
if msglen < 0 { |
| 7124 |
return ErrInvalidLengthGenerated |
| 7125 |
} |
| 7126 |
postIndex := iNdEx + msglen |
| 7127 |
if postIndex > l { |
| 7128 |
return io.ErrUnexpectedEOF |
| 7129 |
} |
| 7130 |
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7131 |
return err |
| 7132 |
} |
| 7133 |
iNdEx = postIndex |
| 7134 |
case 5: |
| 7135 |
if wireType != 2 { |
| 7136 |
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 7137 |
} |
| 7138 |
var stringLen uint64 |
| 7139 |
for shift := uint(0); ; shift += 7 { |
| 7140 |
if shift >= 64 { |
| 7141 |
return ErrIntOverflowGenerated |
| 7142 |
} |
| 7143 |
if iNdEx >= l { |
| 7144 |
return io.ErrUnexpectedEOF |
| 7145 |
} |
| 7146 |
b := dAtA[iNdEx] |
| 7147 |
iNdEx++ |
| 7148 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7149 |
if b < 0x80 { |
| 7150 |
break |
| 7151 |
} |
| 7152 |
} |
| 7153 |
intStringLen := int(stringLen) |
| 7154 |
if intStringLen < 0 { |
| 7155 |
return ErrInvalidLengthGenerated |
| 7156 |
} |
| 7157 |
postIndex := iNdEx + intStringLen |
| 7158 |
if postIndex > l { |
| 7159 |
return io.ErrUnexpectedEOF |
| 7160 |
} |
| 7161 |
m.Reason = string(dAtA[iNdEx:postIndex]) |
| 7162 |
iNdEx = postIndex |
| 7163 |
case 6: |
| 7164 |
if wireType != 2 { |
| 7165 |
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 7166 |
} |
| 7167 |
var stringLen uint64 |
| 7168 |
for shift := uint(0); ; shift += 7 { |
| 7169 |
if shift >= 64 { |
| 7170 |
return ErrIntOverflowGenerated |
| 7171 |
} |
| 7172 |
if iNdEx >= l { |
| 7173 |
return io.ErrUnexpectedEOF |
| 7174 |
} |
| 7175 |
b := dAtA[iNdEx] |
| 7176 |
iNdEx++ |
| 7177 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7178 |
if b < 0x80 { |
| 7179 |
break |
| 7180 |
} |
| 7181 |
} |
| 7182 |
intStringLen := int(stringLen) |
| 7183 |
if intStringLen < 0 { |
| 7184 |
return ErrInvalidLengthGenerated |
| 7185 |
} |
| 7186 |
postIndex := iNdEx + intStringLen |
| 7187 |
if postIndex > l { |
| 7188 |
return io.ErrUnexpectedEOF |
| 7189 |
} |
| 7190 |
m.Message = string(dAtA[iNdEx:postIndex]) |
| 7191 |
iNdEx = postIndex |
| 7192 |
default: |
| 7193 |
iNdEx = preIndex |
| 7194 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7195 |
if err != nil { |
| 7196 |
return err |
| 7197 |
} |
| 7198 |
if skippy < 0 { |
| 7199 |
return ErrInvalidLengthGenerated |
| 7200 |
} |
| 7201 |
if (iNdEx + skippy) > l { |
| 7202 |
return io.ErrUnexpectedEOF |
| 7203 |
} |
| 7204 |
iNdEx += skippy |
| 7205 |
} |
| 7206 |
} |
| 7207 |
|
| 7208 |
if iNdEx > l { |
| 7209 |
return io.ErrUnexpectedEOF |
| 7210 |
} |
| 7211 |
return nil |
| 7212 |
} |
| 7213 |
func (m *SignatureGenericEntity) Unmarshal(dAtA []byte) error { |
| 7214 |
l := len(dAtA) |
| 7215 |
iNdEx := 0 |
| 7216 |
for iNdEx < l { |
| 7217 |
preIndex := iNdEx |
| 7218 |
var wire uint64 |
| 7219 |
for shift := uint(0); ; shift += 7 { |
| 7220 |
if shift >= 64 { |
| 7221 |
return ErrIntOverflowGenerated |
| 7222 |
} |
| 7223 |
if iNdEx >= l { |
| 7224 |
return io.ErrUnexpectedEOF |
| 7225 |
} |
| 7226 |
b := dAtA[iNdEx] |
| 7227 |
iNdEx++ |
| 7228 |
wire |= (uint64(b) & 0x7F) << shift |
| 7229 |
if b < 0x80 { |
| 7230 |
break |
| 7231 |
} |
| 7232 |
} |
| 7233 |
fieldNum := int32(wire >> 3) |
| 7234 |
wireType := int(wire & 0x7) |
| 7235 |
if wireType == 4 { |
| 7236 |
return fmt.Errorf("proto: SignatureGenericEntity: wiretype end group for non-group") |
| 7237 |
} |
| 7238 |
if fieldNum <= 0 { |
| 7239 |
return fmt.Errorf("proto: SignatureGenericEntity: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7240 |
} |
| 7241 |
switch fieldNum { |
| 7242 |
case 1: |
| 7243 |
if wireType != 2 { |
| 7244 |
return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType) |
| 7245 |
} |
| 7246 |
var stringLen uint64 |
| 7247 |
for shift := uint(0); ; shift += 7 { |
| 7248 |
if shift >= 64 { |
| 7249 |
return ErrIntOverflowGenerated |
| 7250 |
} |
| 7251 |
if iNdEx >= l { |
| 7252 |
return io.ErrUnexpectedEOF |
| 7253 |
} |
| 7254 |
b := dAtA[iNdEx] |
| 7255 |
iNdEx++ |
| 7256 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7257 |
if b < 0x80 { |
| 7258 |
break |
| 7259 |
} |
| 7260 |
} |
| 7261 |
intStringLen := int(stringLen) |
| 7262 |
if intStringLen < 0 { |
| 7263 |
return ErrInvalidLengthGenerated |
| 7264 |
} |
| 7265 |
postIndex := iNdEx + intStringLen |
| 7266 |
if postIndex > l { |
| 7267 |
return io.ErrUnexpectedEOF |
| 7268 |
} |
| 7269 |
m.Organization = string(dAtA[iNdEx:postIndex]) |
| 7270 |
iNdEx = postIndex |
| 7271 |
case 2: |
| 7272 |
if wireType != 2 { |
| 7273 |
return fmt.Errorf("proto: wrong wireType = %d for field CommonName", wireType) |
| 7274 |
} |
| 7275 |
var stringLen uint64 |
| 7276 |
for shift := uint(0); ; shift += 7 { |
| 7277 |
if shift >= 64 { |
| 7278 |
return ErrIntOverflowGenerated |
| 7279 |
} |
| 7280 |
if iNdEx >= l { |
| 7281 |
return io.ErrUnexpectedEOF |
| 7282 |
} |
| 7283 |
b := dAtA[iNdEx] |
| 7284 |
iNdEx++ |
| 7285 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7286 |
if b < 0x80 { |
| 7287 |
break |
| 7288 |
} |
| 7289 |
} |
| 7290 |
intStringLen := int(stringLen) |
| 7291 |
if intStringLen < 0 { |
| 7292 |
return ErrInvalidLengthGenerated |
| 7293 |
} |
| 7294 |
postIndex := iNdEx + intStringLen |
| 7295 |
if postIndex > l { |
| 7296 |
return io.ErrUnexpectedEOF |
| 7297 |
} |
| 7298 |
m.CommonName = string(dAtA[iNdEx:postIndex]) |
| 7299 |
iNdEx = postIndex |
| 7300 |
default: |
| 7301 |
iNdEx = preIndex |
| 7302 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7303 |
if err != nil { |
| 7304 |
return err |
| 7305 |
} |
| 7306 |
if skippy < 0 { |
| 7307 |
return ErrInvalidLengthGenerated |
| 7308 |
} |
| 7309 |
if (iNdEx + skippy) > l { |
| 7310 |
return io.ErrUnexpectedEOF |
| 7311 |
} |
| 7312 |
iNdEx += skippy |
| 7313 |
} |
| 7314 |
} |
| 7315 |
|
| 7316 |
if iNdEx > l { |
| 7317 |
return io.ErrUnexpectedEOF |
| 7318 |
} |
| 7319 |
return nil |
| 7320 |
} |
| 7321 |
func (m *SignatureIssuer) Unmarshal(dAtA []byte) error { |
| 7322 |
l := len(dAtA) |
| 7323 |
iNdEx := 0 |
| 7324 |
for iNdEx < l { |
| 7325 |
preIndex := iNdEx |
| 7326 |
var wire uint64 |
| 7327 |
for shift := uint(0); ; shift += 7 { |
| 7328 |
if shift >= 64 { |
| 7329 |
return ErrIntOverflowGenerated |
| 7330 |
} |
| 7331 |
if iNdEx >= l { |
| 7332 |
return io.ErrUnexpectedEOF |
| 7333 |
} |
| 7334 |
b := dAtA[iNdEx] |
| 7335 |
iNdEx++ |
| 7336 |
wire |= (uint64(b) & 0x7F) << shift |
| 7337 |
if b < 0x80 { |
| 7338 |
break |
| 7339 |
} |
| 7340 |
} |
| 7341 |
fieldNum := int32(wire >> 3) |
| 7342 |
wireType := int(wire & 0x7) |
| 7343 |
if wireType == 4 { |
| 7344 |
return fmt.Errorf("proto: SignatureIssuer: wiretype end group for non-group") |
| 7345 |
} |
| 7346 |
if fieldNum <= 0 { |
| 7347 |
return fmt.Errorf("proto: SignatureIssuer: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7348 |
} |
| 7349 |
switch fieldNum { |
| 7350 |
case 1: |
| 7351 |
if wireType != 2 { |
| 7352 |
return fmt.Errorf("proto: wrong wireType = %d for field SignatureGenericEntity", wireType) |
| 7353 |
} |
| 7354 |
var msglen int |
| 7355 |
for shift := uint(0); ; shift += 7 { |
| 7356 |
if shift >= 64 { |
| 7357 |
return ErrIntOverflowGenerated |
| 7358 |
} |
| 7359 |
if iNdEx >= l { |
| 7360 |
return io.ErrUnexpectedEOF |
| 7361 |
} |
| 7362 |
b := dAtA[iNdEx] |
| 7363 |
iNdEx++ |
| 7364 |
msglen |= (int(b) & 0x7F) << shift |
| 7365 |
if b < 0x80 { |
| 7366 |
break |
| 7367 |
} |
| 7368 |
} |
| 7369 |
if msglen < 0 { |
| 7370 |
return ErrInvalidLengthGenerated |
| 7371 |
} |
| 7372 |
postIndex := iNdEx + msglen |
| 7373 |
if postIndex > l { |
| 7374 |
return io.ErrUnexpectedEOF |
| 7375 |
} |
| 7376 |
if err := m.SignatureGenericEntity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7377 |
return err |
| 7378 |
} |
| 7379 |
iNdEx = postIndex |
| 7380 |
default: |
| 7381 |
iNdEx = preIndex |
| 7382 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7383 |
if err != nil { |
| 7384 |
return err |
| 7385 |
} |
| 7386 |
if skippy < 0 { |
| 7387 |
return ErrInvalidLengthGenerated |
| 7388 |
} |
| 7389 |
if (iNdEx + skippy) > l { |
| 7390 |
return io.ErrUnexpectedEOF |
| 7391 |
} |
| 7392 |
iNdEx += skippy |
| 7393 |
} |
| 7394 |
} |
| 7395 |
|
| 7396 |
if iNdEx > l { |
| 7397 |
return io.ErrUnexpectedEOF |
| 7398 |
} |
| 7399 |
return nil |
| 7400 |
} |
| 7401 |
func (m *SignatureSubject) Unmarshal(dAtA []byte) error { |
| 7402 |
l := len(dAtA) |
| 7403 |
iNdEx := 0 |
| 7404 |
for iNdEx < l { |
| 7405 |
preIndex := iNdEx |
| 7406 |
var wire uint64 |
| 7407 |
for shift := uint(0); ; shift += 7 { |
| 7408 |
if shift >= 64 { |
| 7409 |
return ErrIntOverflowGenerated |
| 7410 |
} |
| 7411 |
if iNdEx >= l { |
| 7412 |
return io.ErrUnexpectedEOF |
| 7413 |
} |
| 7414 |
b := dAtA[iNdEx] |
| 7415 |
iNdEx++ |
| 7416 |
wire |= (uint64(b) & 0x7F) << shift |
| 7417 |
if b < 0x80 { |
| 7418 |
break |
| 7419 |
} |
| 7420 |
} |
| 7421 |
fieldNum := int32(wire >> 3) |
| 7422 |
wireType := int(wire & 0x7) |
| 7423 |
if wireType == 4 { |
| 7424 |
return fmt.Errorf("proto: SignatureSubject: wiretype end group for non-group") |
| 7425 |
} |
| 7426 |
if fieldNum <= 0 { |
| 7427 |
return fmt.Errorf("proto: SignatureSubject: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7428 |
} |
| 7429 |
switch fieldNum { |
| 7430 |
case 1: |
| 7431 |
if wireType != 2 { |
| 7432 |
return fmt.Errorf("proto: wrong wireType = %d for field SignatureGenericEntity", wireType) |
| 7433 |
} |
| 7434 |
var msglen 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 |
msglen |= (int(b) & 0x7F) << shift |
| 7445 |
if b < 0x80 { |
| 7446 |
break |
| 7447 |
} |
| 7448 |
} |
| 7449 |
if msglen < 0 { |
| 7450 |
return ErrInvalidLengthGenerated |
| 7451 |
} |
| 7452 |
postIndex := iNdEx + msglen |
| 7453 |
if postIndex > l { |
| 7454 |
return io.ErrUnexpectedEOF |
| 7455 |
} |
| 7456 |
if err := m.SignatureGenericEntity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7457 |
return err |
| 7458 |
} |
| 7459 |
iNdEx = postIndex |
| 7460 |
case 2: |
| 7461 |
if wireType != 2 { |
| 7462 |
return fmt.Errorf("proto: wrong wireType = %d for field PublicKeyID", wireType) |
| 7463 |
} |
| 7464 |
var stringLen uint64 |
| 7465 |
for shift := uint(0); ; shift += 7 { |
| 7466 |
if shift >= 64 { |
| 7467 |
return ErrIntOverflowGenerated |
| 7468 |
} |
| 7469 |
if iNdEx >= l { |
| 7470 |
return io.ErrUnexpectedEOF |
| 7471 |
} |
| 7472 |
b := dAtA[iNdEx] |
| 7473 |
iNdEx++ |
| 7474 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7475 |
if b < 0x80 { |
| 7476 |
break |
| 7477 |
} |
| 7478 |
} |
| 7479 |
intStringLen := int(stringLen) |
| 7480 |
if intStringLen < 0 { |
| 7481 |
return ErrInvalidLengthGenerated |
| 7482 |
} |
| 7483 |
postIndex := iNdEx + intStringLen |
| 7484 |
if postIndex > l { |
| 7485 |
return io.ErrUnexpectedEOF |
| 7486 |
} |
| 7487 |
m.PublicKeyID = string(dAtA[iNdEx:postIndex]) |
| 7488 |
iNdEx = postIndex |
| 7489 |
default: |
| 7490 |
iNdEx = preIndex |
| 7491 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7492 |
if err != nil { |
| 7493 |
return err |
| 7494 |
} |
| 7495 |
if skippy < 0 { |
| 7496 |
return ErrInvalidLengthGenerated |
| 7497 |
} |
| 7498 |
if (iNdEx + skippy) > l { |
| 7499 |
return io.ErrUnexpectedEOF |
| 7500 |
} |
| 7501 |
iNdEx += skippy |
| 7502 |
} |
| 7503 |
} |
| 7504 |
|
| 7505 |
if iNdEx > l { |
| 7506 |
return io.ErrUnexpectedEOF |
| 7507 |
} |
| 7508 |
return nil |
| 7509 |
} |
| 7510 |
func (m *TagEvent) Unmarshal(dAtA []byte) error { |
| 7511 |
l := len(dAtA) |
| 7512 |
iNdEx := 0 |
| 7513 |
for iNdEx < l { |
| 7514 |
preIndex := iNdEx |
| 7515 |
var wire uint64 |
| 7516 |
for shift := uint(0); ; shift += 7 { |
| 7517 |
if shift >= 64 { |
| 7518 |
return ErrIntOverflowGenerated |
| 7519 |
} |
| 7520 |
if iNdEx >= l { |
| 7521 |
return io.ErrUnexpectedEOF |
| 7522 |
} |
| 7523 |
b := dAtA[iNdEx] |
| 7524 |
iNdEx++ |
| 7525 |
wire |= (uint64(b) & 0x7F) << shift |
| 7526 |
if b < 0x80 { |
| 7527 |
break |
| 7528 |
} |
| 7529 |
} |
| 7530 |
fieldNum := int32(wire >> 3) |
| 7531 |
wireType := int(wire & 0x7) |
| 7532 |
if wireType == 4 { |
| 7533 |
return fmt.Errorf("proto: TagEvent: wiretype end group for non-group") |
| 7534 |
} |
| 7535 |
if fieldNum <= 0 { |
| 7536 |
return fmt.Errorf("proto: TagEvent: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7537 |
} |
| 7538 |
switch fieldNum { |
| 7539 |
case 1: |
| 7540 |
if wireType != 2 { |
| 7541 |
return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) |
| 7542 |
} |
| 7543 |
var msglen int |
| 7544 |
for shift := uint(0); ; shift += 7 { |
| 7545 |
if shift >= 64 { |
| 7546 |
return ErrIntOverflowGenerated |
| 7547 |
} |
| 7548 |
if iNdEx >= l { |
| 7549 |
return io.ErrUnexpectedEOF |
| 7550 |
} |
| 7551 |
b := dAtA[iNdEx] |
| 7552 |
iNdEx++ |
| 7553 |
msglen |= (int(b) & 0x7F) << shift |
| 7554 |
if b < 0x80 { |
| 7555 |
break |
| 7556 |
} |
| 7557 |
} |
| 7558 |
if msglen < 0 { |
| 7559 |
return ErrInvalidLengthGenerated |
| 7560 |
} |
| 7561 |
postIndex := iNdEx + msglen |
| 7562 |
if postIndex > l { |
| 7563 |
return io.ErrUnexpectedEOF |
| 7564 |
} |
| 7565 |
if err := m.Created.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7566 |
return err |
| 7567 |
} |
| 7568 |
iNdEx = postIndex |
| 7569 |
case 2: |
| 7570 |
if wireType != 2 { |
| 7571 |
return fmt.Errorf("proto: wrong wireType = %d for field DockerImageReference", wireType) |
| 7572 |
} |
| 7573 |
var stringLen uint64 |
| 7574 |
for shift := uint(0); ; shift += 7 { |
| 7575 |
if shift >= 64 { |
| 7576 |
return ErrIntOverflowGenerated |
| 7577 |
} |
| 7578 |
if iNdEx >= l { |
| 7579 |
return io.ErrUnexpectedEOF |
| 7580 |
} |
| 7581 |
b := dAtA[iNdEx] |
| 7582 |
iNdEx++ |
| 7583 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7584 |
if b < 0x80 { |
| 7585 |
break |
| 7586 |
} |
| 7587 |
} |
| 7588 |
intStringLen := int(stringLen) |
| 7589 |
if intStringLen < 0 { |
| 7590 |
return ErrInvalidLengthGenerated |
| 7591 |
} |
| 7592 |
postIndex := iNdEx + intStringLen |
| 7593 |
if postIndex > l { |
| 7594 |
return io.ErrUnexpectedEOF |
| 7595 |
} |
| 7596 |
m.DockerImageReference = string(dAtA[iNdEx:postIndex]) |
| 7597 |
iNdEx = postIndex |
| 7598 |
case 3: |
| 7599 |
if wireType != 2 { |
| 7600 |
return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) |
| 7601 |
} |
| 7602 |
var stringLen uint64 |
| 7603 |
for shift := uint(0); ; shift += 7 { |
| 7604 |
if shift >= 64 { |
| 7605 |
return ErrIntOverflowGenerated |
| 7606 |
} |
| 7607 |
if iNdEx >= l { |
| 7608 |
return io.ErrUnexpectedEOF |
| 7609 |
} |
| 7610 |
b := dAtA[iNdEx] |
| 7611 |
iNdEx++ |
| 7612 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7613 |
if b < 0x80 { |
| 7614 |
break |
| 7615 |
} |
| 7616 |
} |
| 7617 |
intStringLen := int(stringLen) |
| 7618 |
if intStringLen < 0 { |
| 7619 |
return ErrInvalidLengthGenerated |
| 7620 |
} |
| 7621 |
postIndex := iNdEx + intStringLen |
| 7622 |
if postIndex > l { |
| 7623 |
return io.ErrUnexpectedEOF |
| 7624 |
} |
| 7625 |
m.Image = string(dAtA[iNdEx:postIndex]) |
| 7626 |
iNdEx = postIndex |
| 7627 |
case 4: |
| 7628 |
if wireType != 0 { |
| 7629 |
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 7630 |
} |
| 7631 |
m.Generation = 0 |
| 7632 |
for shift := uint(0); ; shift += 7 { |
| 7633 |
if shift >= 64 { |
| 7634 |
return ErrIntOverflowGenerated |
| 7635 |
} |
| 7636 |
if iNdEx >= l { |
| 7637 |
return io.ErrUnexpectedEOF |
| 7638 |
} |
| 7639 |
b := dAtA[iNdEx] |
| 7640 |
iNdEx++ |
| 7641 |
m.Generation |= (int64(b) & 0x7F) << shift |
| 7642 |
if b < 0x80 { |
| 7643 |
break |
| 7644 |
} |
| 7645 |
} |
| 7646 |
default: |
| 7647 |
iNdEx = preIndex |
| 7648 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7649 |
if err != nil { |
| 7650 |
return err |
| 7651 |
} |
| 7652 |
if skippy < 0 { |
| 7653 |
return ErrInvalidLengthGenerated |
| 7654 |
} |
| 7655 |
if (iNdEx + skippy) > l { |
| 7656 |
return io.ErrUnexpectedEOF |
| 7657 |
} |
| 7658 |
iNdEx += skippy |
| 7659 |
} |
| 7660 |
} |
| 7661 |
|
| 7662 |
if iNdEx > l { |
| 7663 |
return io.ErrUnexpectedEOF |
| 7664 |
} |
| 7665 |
return nil |
| 7666 |
} |
| 7667 |
func (m *TagEventCondition) Unmarshal(dAtA []byte) error { |
| 7668 |
l := len(dAtA) |
| 7669 |
iNdEx := 0 |
| 7670 |
for iNdEx < l { |
| 7671 |
preIndex := iNdEx |
| 7672 |
var wire uint64 |
| 7673 |
for shift := uint(0); ; shift += 7 { |
| 7674 |
if shift >= 64 { |
| 7675 |
return ErrIntOverflowGenerated |
| 7676 |
} |
| 7677 |
if iNdEx >= l { |
| 7678 |
return io.ErrUnexpectedEOF |
| 7679 |
} |
| 7680 |
b := dAtA[iNdEx] |
| 7681 |
iNdEx++ |
| 7682 |
wire |= (uint64(b) & 0x7F) << shift |
| 7683 |
if b < 0x80 { |
| 7684 |
break |
| 7685 |
} |
| 7686 |
} |
| 7687 |
fieldNum := int32(wire >> 3) |
| 7688 |
wireType := int(wire & 0x7) |
| 7689 |
if wireType == 4 { |
| 7690 |
return fmt.Errorf("proto: TagEventCondition: wiretype end group for non-group") |
| 7691 |
} |
| 7692 |
if fieldNum <= 0 { |
| 7693 |
return fmt.Errorf("proto: TagEventCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7694 |
} |
| 7695 |
switch fieldNum { |
| 7696 |
case 1: |
| 7697 |
if wireType != 2 { |
| 7698 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 7699 |
} |
| 7700 |
var stringLen uint64 |
| 7701 |
for shift := uint(0); ; shift += 7 { |
| 7702 |
if shift >= 64 { |
| 7703 |
return ErrIntOverflowGenerated |
| 7704 |
} |
| 7705 |
if iNdEx >= l { |
| 7706 |
return io.ErrUnexpectedEOF |
| 7707 |
} |
| 7708 |
b := dAtA[iNdEx] |
| 7709 |
iNdEx++ |
| 7710 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7711 |
if b < 0x80 { |
| 7712 |
break |
| 7713 |
} |
| 7714 |
} |
| 7715 |
intStringLen := int(stringLen) |
| 7716 |
if intStringLen < 0 { |
| 7717 |
return ErrInvalidLengthGenerated |
| 7718 |
} |
| 7719 |
postIndex := iNdEx + intStringLen |
| 7720 |
if postIndex > l { |
| 7721 |
return io.ErrUnexpectedEOF |
| 7722 |
} |
| 7723 |
m.Type = TagEventConditionType(dAtA[iNdEx:postIndex]) |
| 7724 |
iNdEx = postIndex |
| 7725 |
case 2: |
| 7726 |
if wireType != 2 { |
| 7727 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 7728 |
} |
| 7729 |
var stringLen uint64 |
| 7730 |
for shift := uint(0); ; shift += 7 { |
| 7731 |
if shift >= 64 { |
| 7732 |
return ErrIntOverflowGenerated |
| 7733 |
} |
| 7734 |
if iNdEx >= l { |
| 7735 |
return io.ErrUnexpectedEOF |
| 7736 |
} |
| 7737 |
b := dAtA[iNdEx] |
| 7738 |
iNdEx++ |
| 7739 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7740 |
if b < 0x80 { |
| 7741 |
break |
| 7742 |
} |
| 7743 |
} |
| 7744 |
intStringLen := int(stringLen) |
| 7745 |
if intStringLen < 0 { |
| 7746 |
return ErrInvalidLengthGenerated |
| 7747 |
} |
| 7748 |
postIndex := iNdEx + intStringLen |
| 7749 |
if postIndex > l { |
| 7750 |
return io.ErrUnexpectedEOF |
| 7751 |
} |
| 7752 |
m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 7753 |
iNdEx = postIndex |
| 7754 |
case 3: |
| 7755 |
if wireType != 2 { |
| 7756 |
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 7757 |
} |
| 7758 |
var msglen int |
| 7759 |
for shift := uint(0); ; shift += 7 { |
| 7760 |
if shift >= 64 { |
| 7761 |
return ErrIntOverflowGenerated |
| 7762 |
} |
| 7763 |
if iNdEx >= l { |
| 7764 |
return io.ErrUnexpectedEOF |
| 7765 |
} |
| 7766 |
b := dAtA[iNdEx] |
| 7767 |
iNdEx++ |
| 7768 |
msglen |= (int(b) & 0x7F) << shift |
| 7769 |
if b < 0x80 { |
| 7770 |
break |
| 7771 |
} |
| 7772 |
} |
| 7773 |
if msglen < 0 { |
| 7774 |
return ErrInvalidLengthGenerated |
| 7775 |
} |
| 7776 |
postIndex := iNdEx + msglen |
| 7777 |
if postIndex > l { |
| 7778 |
return io.ErrUnexpectedEOF |
| 7779 |
} |
| 7780 |
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7781 |
return err |
| 7782 |
} |
| 7783 |
iNdEx = postIndex |
| 7784 |
case 4: |
| 7785 |
if wireType != 2 { |
| 7786 |
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 7787 |
} |
| 7788 |
var stringLen uint64 |
| 7789 |
for shift := uint(0); ; shift += 7 { |
| 7790 |
if shift >= 64 { |
| 7791 |
return ErrIntOverflowGenerated |
| 7792 |
} |
| 7793 |
if iNdEx >= l { |
| 7794 |
return io.ErrUnexpectedEOF |
| 7795 |
} |
| 7796 |
b := dAtA[iNdEx] |
| 7797 |
iNdEx++ |
| 7798 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7799 |
if b < 0x80 { |
| 7800 |
break |
| 7801 |
} |
| 7802 |
} |
| 7803 |
intStringLen := int(stringLen) |
| 7804 |
if intStringLen < 0 { |
| 7805 |
return ErrInvalidLengthGenerated |
| 7806 |
} |
| 7807 |
postIndex := iNdEx + intStringLen |
| 7808 |
if postIndex > l { |
| 7809 |
return io.ErrUnexpectedEOF |
| 7810 |
} |
| 7811 |
m.Reason = string(dAtA[iNdEx:postIndex]) |
| 7812 |
iNdEx = postIndex |
| 7813 |
case 5: |
| 7814 |
if wireType != 2 { |
| 7815 |
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 7816 |
} |
| 7817 |
var stringLen uint64 |
| 7818 |
for shift := uint(0); ; shift += 7 { |
| 7819 |
if shift >= 64 { |
| 7820 |
return ErrIntOverflowGenerated |
| 7821 |
} |
| 7822 |
if iNdEx >= l { |
| 7823 |
return io.ErrUnexpectedEOF |
| 7824 |
} |
| 7825 |
b := dAtA[iNdEx] |
| 7826 |
iNdEx++ |
| 7827 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 7828 |
if b < 0x80 { |
| 7829 |
break |
| 7830 |
} |
| 7831 |
} |
| 7832 |
intStringLen := int(stringLen) |
| 7833 |
if intStringLen < 0 { |
| 7834 |
return ErrInvalidLengthGenerated |
| 7835 |
} |
| 7836 |
postIndex := iNdEx + intStringLen |
| 7837 |
if postIndex > l { |
| 7838 |
return io.ErrUnexpectedEOF |
| 7839 |
} |
| 7840 |
m.Message = string(dAtA[iNdEx:postIndex]) |
| 7841 |
iNdEx = postIndex |
| 7842 |
case 6: |
| 7843 |
if wireType != 0 { |
| 7844 |
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 7845 |
} |
| 7846 |
m.Generation = 0 |
| 7847 |
for shift := uint(0); ; shift += 7 { |
| 7848 |
if shift >= 64 { |
| 7849 |
return ErrIntOverflowGenerated |
| 7850 |
} |
| 7851 |
if iNdEx >= l { |
| 7852 |
return io.ErrUnexpectedEOF |
| 7853 |
} |
| 7854 |
b := dAtA[iNdEx] |
| 7855 |
iNdEx++ |
| 7856 |
m.Generation |= (int64(b) & 0x7F) << shift |
| 7857 |
if b < 0x80 { |
| 7858 |
break |
| 7859 |
} |
| 7860 |
} |
| 7861 |
default: |
| 7862 |
iNdEx = preIndex |
| 7863 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7864 |
if err != nil { |
| 7865 |
return err |
| 7866 |
} |
| 7867 |
if skippy < 0 { |
| 7868 |
return ErrInvalidLengthGenerated |
| 7869 |
} |
| 7870 |
if (iNdEx + skippy) > l { |
| 7871 |
return io.ErrUnexpectedEOF |
| 7872 |
} |
| 7873 |
iNdEx += skippy |
| 7874 |
} |
| 7875 |
} |
| 7876 |
|
| 7877 |
if iNdEx > l { |
| 7878 |
return io.ErrUnexpectedEOF |
| 7879 |
} |
| 7880 |
return nil |
| 7881 |
} |
| 7882 |
func (m *TagImportPolicy) Unmarshal(dAtA []byte) error { |
| 7883 |
l := len(dAtA) |
| 7884 |
iNdEx := 0 |
| 7885 |
for iNdEx < l { |
| 7886 |
preIndex := iNdEx |
| 7887 |
var wire uint64 |
| 7888 |
for shift := uint(0); ; shift += 7 { |
| 7889 |
if shift >= 64 { |
| 7890 |
return ErrIntOverflowGenerated |
| 7891 |
} |
| 7892 |
if iNdEx >= l { |
| 7893 |
return io.ErrUnexpectedEOF |
| 7894 |
} |
| 7895 |
b := dAtA[iNdEx] |
| 7896 |
iNdEx++ |
| 7897 |
wire |= (uint64(b) & 0x7F) << shift |
| 7898 |
if b < 0x80 { |
| 7899 |
break |
| 7900 |
} |
| 7901 |
} |
| 7902 |
fieldNum := int32(wire >> 3) |
| 7903 |
wireType := int(wire & 0x7) |
| 7904 |
if wireType == 4 { |
| 7905 |
return fmt.Errorf("proto: TagImportPolicy: wiretype end group for non-group") |
| 7906 |
} |
| 7907 |
if fieldNum <= 0 { |
| 7908 |
return fmt.Errorf("proto: TagImportPolicy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7909 |
} |
| 7910 |
switch fieldNum { |
| 7911 |
case 1: |
| 7912 |
if wireType != 0 { |
| 7913 |
return fmt.Errorf("proto: wrong wireType = %d for field Insecure", wireType) |
| 7914 |
} |
| 7915 |
var v int |
| 7916 |
for shift := uint(0); ; shift += 7 { |
| 7917 |
if shift >= 64 { |
| 7918 |
return ErrIntOverflowGenerated |
| 7919 |
} |
| 7920 |
if iNdEx >= l { |
| 7921 |
return io.ErrUnexpectedEOF |
| 7922 |
} |
| 7923 |
b := dAtA[iNdEx] |
| 7924 |
iNdEx++ |
| 7925 |
v |= (int(b) & 0x7F) << shift |
| 7926 |
if b < 0x80 { |
| 7927 |
break |
| 7928 |
} |
| 7929 |
} |
| 7930 |
m.Insecure = bool(v != 0) |
| 7931 |
case 2: |
| 7932 |
if wireType != 0 { |
| 7933 |
return fmt.Errorf("proto: wrong wireType = %d for field Scheduled", wireType) |
| 7934 |
} |
| 7935 |
var v int |
| 7936 |
for shift := uint(0); ; shift += 7 { |
| 7937 |
if shift >= 64 { |
| 7938 |
return ErrIntOverflowGenerated |
| 7939 |
} |
| 7940 |
if iNdEx >= l { |
| 7941 |
return io.ErrUnexpectedEOF |
| 7942 |
} |
| 7943 |
b := dAtA[iNdEx] |
| 7944 |
iNdEx++ |
| 7945 |
v |= (int(b) & 0x7F) << shift |
| 7946 |
if b < 0x80 { |
| 7947 |
break |
| 7948 |
} |
| 7949 |
} |
| 7950 |
m.Scheduled = bool(v != 0) |
| 7951 |
default: |
| 7952 |
iNdEx = preIndex |
| 7953 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7954 |
if err != nil { |
| 7955 |
return err |
| 7956 |
} |
| 7957 |
if skippy < 0 { |
| 7958 |
return ErrInvalidLengthGenerated |
| 7959 |
} |
| 7960 |
if (iNdEx + skippy) > l { |
| 7961 |
return io.ErrUnexpectedEOF |
| 7962 |
} |
| 7963 |
iNdEx += skippy |
| 7964 |
} |
| 7965 |
} |
| 7966 |
|
| 7967 |
if iNdEx > l { |
| 7968 |
return io.ErrUnexpectedEOF |
| 7969 |
} |
| 7970 |
return nil |
| 7971 |
} |
| 7972 |
func (m *TagReference) Unmarshal(dAtA []byte) error { |
| 7973 |
l := len(dAtA) |
| 7974 |
iNdEx := 0 |
| 7975 |
for iNdEx < l { |
| 7976 |
preIndex := iNdEx |
| 7977 |
var wire uint64 |
| 7978 |
for shift := uint(0); ; shift += 7 { |
| 7979 |
if shift >= 64 { |
| 7980 |
return ErrIntOverflowGenerated |
| 7981 |
} |
| 7982 |
if iNdEx >= l { |
| 7983 |
return io.ErrUnexpectedEOF |
| 7984 |
} |
| 7985 |
b := dAtA[iNdEx] |
| 7986 |
iNdEx++ |
| 7987 |
wire |= (uint64(b) & 0x7F) << shift |
| 7988 |
if b < 0x80 { |
| 7989 |
break |
| 7990 |
} |
| 7991 |
} |
| 7992 |
fieldNum := int32(wire >> 3) |
| 7993 |
wireType := int(wire & 0x7) |
| 7994 |
if wireType == 4 { |
| 7995 |
return fmt.Errorf("proto: TagReference: wiretype end group for non-group") |
| 7996 |
} |
| 7997 |
if fieldNum <= 0 { |
| 7998 |
return fmt.Errorf("proto: TagReference: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7999 |
} |
| 8000 |
switch fieldNum { |
| 8001 |
case 1: |
| 8002 |
if wireType != 2 { |
| 8003 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 8004 |
} |
| 8005 |
var stringLen uint64 |
| 8006 |
for shift := uint(0); ; shift += 7 { |
| 8007 |
if shift >= 64 { |
| 8008 |
return ErrIntOverflowGenerated |
| 8009 |
} |
| 8010 |
if iNdEx >= l { |
| 8011 |
return io.ErrUnexpectedEOF |
| 8012 |
} |
| 8013 |
b := dAtA[iNdEx] |
| 8014 |
iNdEx++ |
| 8015 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 8016 |
if b < 0x80 { |
| 8017 |
break |
| 8018 |
} |
| 8019 |
} |
| 8020 |
intStringLen := int(stringLen) |
| 8021 |
if intStringLen < 0 { |
| 8022 |
return ErrInvalidLengthGenerated |
| 8023 |
} |
| 8024 |
postIndex := iNdEx + intStringLen |
| 8025 |
if postIndex > l { |
| 8026 |
return io.ErrUnexpectedEOF |
| 8027 |
} |
| 8028 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 8029 |
iNdEx = postIndex |
| 8030 |
case 2: |
| 8031 |
if wireType != 2 { |
| 8032 |
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) |
| 8033 |
} |
| 8034 |
var msglen int |
| 8035 |
for shift := uint(0); ; shift += 7 { |
| 8036 |
if shift >= 64 { |
| 8037 |
return ErrIntOverflowGenerated |
| 8038 |
} |
| 8039 |
if iNdEx >= l { |
| 8040 |
return io.ErrUnexpectedEOF |
| 8041 |
} |
| 8042 |
b := dAtA[iNdEx] |
| 8043 |
iNdEx++ |
| 8044 |
msglen |= (int(b) & 0x7F) << shift |
| 8045 |
if b < 0x80 { |
| 8046 |
break |
| 8047 |
} |
| 8048 |
} |
| 8049 |
if msglen < 0 { |
| 8050 |
return ErrInvalidLengthGenerated |
| 8051 |
} |
| 8052 |
postIndex := iNdEx + msglen |
| 8053 |
if postIndex > l { |
| 8054 |
return io.ErrUnexpectedEOF |
| 8055 |
} |
| 8056 |
if m.Annotations == nil { |
| 8057 |
m.Annotations = make(map[string]string) |
| 8058 |
} |
| 8059 |
var mapkey string |
| 8060 |
var mapvalue string |
| 8061 |
for iNdEx < postIndex { |
| 8062 |
entryPreIndex := iNdEx |
| 8063 |
var wire uint64 |
| 8064 |
for shift := uint(0); ; shift += 7 { |
| 8065 |
if shift >= 64 { |
| 8066 |
return ErrIntOverflowGenerated |
| 8067 |
} |
| 8068 |
if iNdEx >= l { |
| 8069 |
return io.ErrUnexpectedEOF |
| 8070 |
} |
| 8071 |
b := dAtA[iNdEx] |
| 8072 |
iNdEx++ |
| 8073 |
wire |= (uint64(b) & 0x7F) << shift |
| 8074 |
if b < 0x80 { |
| 8075 |
break |
| 8076 |
} |
| 8077 |
} |
| 8078 |
fieldNum := int32(wire >> 3) |
| 8079 |
if fieldNum == 1 { |
| 8080 |
var stringLenmapkey uint64 |
| 8081 |
for shift := uint(0); ; shift += 7 { |
| 8082 |
if shift >= 64 { |
| 8083 |
return ErrIntOverflowGenerated |
| 8084 |
} |
| 8085 |
if iNdEx >= l { |
| 8086 |
return io.ErrUnexpectedEOF |
| 8087 |
} |
| 8088 |
b := dAtA[iNdEx] |
| 8089 |
iNdEx++ |
| 8090 |
stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 8091 |
if b < 0x80 { |
| 8092 |
break |
| 8093 |
} |
| 8094 |
} |
| 8095 |
intStringLenmapkey := int(stringLenmapkey) |
| 8096 |
if intStringLenmapkey < 0 { |
| 8097 |
return ErrInvalidLengthGenerated |
| 8098 |
} |
| 8099 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 8100 |
if postStringIndexmapkey > l { |
| 8101 |
return io.ErrUnexpectedEOF |
| 8102 |
} |
| 8103 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 8104 |
iNdEx = postStringIndexmapkey |
| 8105 |
} else if fieldNum == 2 { |
| 8106 |
var stringLenmapvalue uint64 |
| 8107 |
for shift := uint(0); ; shift += 7 { |
| 8108 |
if shift >= 64 { |
| 8109 |
return ErrIntOverflowGenerated |
| 8110 |
} |
| 8111 |
if iNdEx >= l { |
| 8112 |
return io.ErrUnexpectedEOF |
| 8113 |
} |
| 8114 |
b := dAtA[iNdEx] |
| 8115 |
iNdEx++ |
| 8116 |
stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 8117 |
if b < 0x80 { |
| 8118 |
break |
| 8119 |
} |
| 8120 |
} |
| 8121 |
intStringLenmapvalue := int(stringLenmapvalue) |
| 8122 |
if intStringLenmapvalue < 0 { |
| 8123 |
return ErrInvalidLengthGenerated |
| 8124 |
} |
| 8125 |
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 8126 |
if postStringIndexmapvalue > l { |
| 8127 |
return io.ErrUnexpectedEOF |
| 8128 |
} |
| 8129 |
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 8130 |
iNdEx = postStringIndexmapvalue |
| 8131 |
} else { |
| 8132 |
iNdEx = entryPreIndex |
| 8133 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8134 |
if err != nil { |
| 8135 |
return err |
| 8136 |
} |
| 8137 |
if skippy < 0 { |
| 8138 |
return ErrInvalidLengthGenerated |
| 8139 |
} |
| 8140 |
if (iNdEx + skippy) > postIndex { |
| 8141 |
return io.ErrUnexpectedEOF |
| 8142 |
} |
| 8143 |
iNdEx += skippy |
| 8144 |
} |
| 8145 |
} |
| 8146 |
m.Annotations[mapkey] = mapvalue |
| 8147 |
iNdEx = postIndex |
| 8148 |
case 3: |
| 8149 |
if wireType != 2 { |
| 8150 |
return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) |
| 8151 |
} |
| 8152 |
var msglen int |
| 8153 |
for shift := uint(0); ; shift += 7 { |
| 8154 |
if shift >= 64 { |
| 8155 |
return ErrIntOverflowGenerated |
| 8156 |
} |
| 8157 |
if iNdEx >= l { |
| 8158 |
return io.ErrUnexpectedEOF |
| 8159 |
} |
| 8160 |
b := dAtA[iNdEx] |
| 8161 |
iNdEx++ |
| 8162 |
msglen |= (int(b) & 0x7F) << shift |
| 8163 |
if b < 0x80 { |
| 8164 |
break |
| 8165 |
} |
| 8166 |
} |
| 8167 |
if msglen < 0 { |
| 8168 |
return ErrInvalidLengthGenerated |
| 8169 |
} |
| 8170 |
postIndex := iNdEx + msglen |
| 8171 |
if postIndex > l { |
| 8172 |
return io.ErrUnexpectedEOF |
| 8173 |
} |
| 8174 |
if m.From == nil { |
| 8175 |
m.From = &k8s_io_api_core_v1.ObjectReference{} |
| 8176 |
} |
| 8177 |
if err := m.From.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8178 |
return err |
| 8179 |
} |
| 8180 |
iNdEx = postIndex |
| 8181 |
case 4: |
| 8182 |
if wireType != 0 { |
| 8183 |
return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType) |
| 8184 |
} |
| 8185 |
var v int |
| 8186 |
for shift := uint(0); ; shift += 7 { |
| 8187 |
if shift >= 64 { |
| 8188 |
return ErrIntOverflowGenerated |
| 8189 |
} |
| 8190 |
if iNdEx >= l { |
| 8191 |
return io.ErrUnexpectedEOF |
| 8192 |
} |
| 8193 |
b := dAtA[iNdEx] |
| 8194 |
iNdEx++ |
| 8195 |
v |= (int(b) & 0x7F) << shift |
| 8196 |
if b < 0x80 { |
| 8197 |
break |
| 8198 |
} |
| 8199 |
} |
| 8200 |
m.Reference = bool(v != 0) |
| 8201 |
case 5: |
| 8202 |
if wireType != 0 { |
| 8203 |
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 8204 |
} |
| 8205 |
var v int64 |
| 8206 |
for shift := uint(0); ; shift += 7 { |
| 8207 |
if shift >= 64 { |
| 8208 |
return ErrIntOverflowGenerated |
| 8209 |
} |
| 8210 |
if iNdEx >= l { |
| 8211 |
return io.ErrUnexpectedEOF |
| 8212 |
} |
| 8213 |
b := dAtA[iNdEx] |
| 8214 |
iNdEx++ |
| 8215 |
v |= (int64(b) & 0x7F) << shift |
| 8216 |
if b < 0x80 { |
| 8217 |
break |
| 8218 |
} |
| 8219 |
} |
| 8220 |
m.Generation = &v |
| 8221 |
case 6: |
| 8222 |
if wireType != 2 { |
| 8223 |
return fmt.Errorf("proto: wrong wireType = %d for field ImportPolicy", wireType) |
| 8224 |
} |
| 8225 |
var msglen int |
| 8226 |
for shift := uint(0); ; shift += 7 { |
| 8227 |
if shift >= 64 { |
| 8228 |
return ErrIntOverflowGenerated |
| 8229 |
} |
| 8230 |
if iNdEx >= l { |
| 8231 |
return io.ErrUnexpectedEOF |
| 8232 |
} |
| 8233 |
b := dAtA[iNdEx] |
| 8234 |
iNdEx++ |
| 8235 |
msglen |= (int(b) & 0x7F) << shift |
| 8236 |
if b < 0x80 { |
| 8237 |
break |
| 8238 |
} |
| 8239 |
} |
| 8240 |
if msglen < 0 { |
| 8241 |
return ErrInvalidLengthGenerated |
| 8242 |
} |
| 8243 |
postIndex := iNdEx + msglen |
| 8244 |
if postIndex > l { |
| 8245 |
return io.ErrUnexpectedEOF |
| 8246 |
} |
| 8247 |
if err := m.ImportPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8248 |
return err |
| 8249 |
} |
| 8250 |
iNdEx = postIndex |
| 8251 |
case 7: |
| 8252 |
if wireType != 2 { |
| 8253 |
return fmt.Errorf("proto: wrong wireType = %d for field ReferencePolicy", wireType) |
| 8254 |
} |
| 8255 |
var msglen int |
| 8256 |
for shift := uint(0); ; shift += 7 { |
| 8257 |
if shift >= 64 { |
| 8258 |
return ErrIntOverflowGenerated |
| 8259 |
} |
| 8260 |
if iNdEx >= l { |
| 8261 |
return io.ErrUnexpectedEOF |
| 8262 |
} |
| 8263 |
b := dAtA[iNdEx] |
| 8264 |
iNdEx++ |
| 8265 |
msglen |= (int(b) & 0x7F) << shift |
| 8266 |
if b < 0x80 { |
| 8267 |
break |
| 8268 |
} |
| 8269 |
} |
| 8270 |
if msglen < 0 { |
| 8271 |
return ErrInvalidLengthGenerated |
| 8272 |
} |
| 8273 |
postIndex := iNdEx + msglen |
| 8274 |
if postIndex > l { |
| 8275 |
return io.ErrUnexpectedEOF |
| 8276 |
} |
| 8277 |
if err := m.ReferencePolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8278 |
return err |
| 8279 |
} |
| 8280 |
iNdEx = postIndex |
| 8281 |
default: |
| 8282 |
iNdEx = preIndex |
| 8283 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8284 |
if err != nil { |
| 8285 |
return err |
| 8286 |
} |
| 8287 |
if skippy < 0 { |
| 8288 |
return ErrInvalidLengthGenerated |
| 8289 |
} |
| 8290 |
if (iNdEx + skippy) > l { |
| 8291 |
return io.ErrUnexpectedEOF |
| 8292 |
} |
| 8293 |
iNdEx += skippy |
| 8294 |
} |
| 8295 |
} |
| 8296 |
|
| 8297 |
if iNdEx > l { |
| 8298 |
return io.ErrUnexpectedEOF |
| 8299 |
} |
| 8300 |
return nil |
| 8301 |
} |
| 8302 |
func (m *TagReferencePolicy) Unmarshal(dAtA []byte) error { |
| 8303 |
l := len(dAtA) |
| 8304 |
iNdEx := 0 |
| 8305 |
for iNdEx < l { |
| 8306 |
preIndex := iNdEx |
| 8307 |
var wire uint64 |
| 8308 |
for shift := uint(0); ; shift += 7 { |
| 8309 |
if shift >= 64 { |
| 8310 |
return ErrIntOverflowGenerated |
| 8311 |
} |
| 8312 |
if iNdEx >= l { |
| 8313 |
return io.ErrUnexpectedEOF |
| 8314 |
} |
| 8315 |
b := dAtA[iNdEx] |
| 8316 |
iNdEx++ |
| 8317 |
wire |= (uint64(b) & 0x7F) << shift |
| 8318 |
if b < 0x80 { |
| 8319 |
break |
| 8320 |
} |
| 8321 |
} |
| 8322 |
fieldNum := int32(wire >> 3) |
| 8323 |
wireType := int(wire & 0x7) |
| 8324 |
if wireType == 4 { |
| 8325 |
return fmt.Errorf("proto: TagReferencePolicy: wiretype end group for non-group") |
| 8326 |
} |
| 8327 |
if fieldNum <= 0 { |
| 8328 |
return fmt.Errorf("proto: TagReferencePolicy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8329 |
} |
| 8330 |
switch fieldNum { |
| 8331 |
case 1: |
| 8332 |
if wireType != 2 { |
| 8333 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 8334 |
} |
| 8335 |
var stringLen uint64 |
| 8336 |
for shift := uint(0); ; shift += 7 { |
| 8337 |
if shift >= 64 { |
| 8338 |
return ErrIntOverflowGenerated |
| 8339 |
} |
| 8340 |
if iNdEx >= l { |
| 8341 |
return io.ErrUnexpectedEOF |
| 8342 |
} |
| 8343 |
b := dAtA[iNdEx] |
| 8344 |
iNdEx++ |
| 8345 |
stringLen |= (uint64(b) & 0x7F) << shift |
| 8346 |
if b < 0x80 { |
| 8347 |
break |
| 8348 |
} |
| 8349 |
} |
| 8350 |
intStringLen := int(stringLen) |
| 8351 |
if intStringLen < 0 { |
| 8352 |
return ErrInvalidLengthGenerated |
| 8353 |
} |
| 8354 |
postIndex := iNdEx + intStringLen |
| 8355 |
if postIndex > l { |
| 8356 |
return io.ErrUnexpectedEOF |
| 8357 |
} |
| 8358 |
m.Type = TagReferencePolicyType(dAtA[iNdEx:postIndex]) |
| 8359 |
iNdEx = postIndex |
| 8360 |
default: |
| 8361 |
iNdEx = preIndex |
| 8362 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8363 |
if err != nil { |
| 8364 |
return err |
| 8365 |
} |
| 8366 |
if skippy < 0 { |
| 8367 |
return ErrInvalidLengthGenerated |
| 8368 |
} |
| 8369 |
if (iNdEx + skippy) > l { |
| 8370 |
return io.ErrUnexpectedEOF |
| 8371 |
} |
| 8372 |
iNdEx += skippy |
| 8373 |
} |
| 8374 |
} |
| 8375 |
|
| 8376 |
if iNdEx > l { |
| 8377 |
return io.ErrUnexpectedEOF |
| 8378 |
} |
| 8379 |
return nil |
| 8380 |
} |
| 8381 |
func skipGenerated(dAtA []byte) (n int, err error) { |
| 8382 |
l := len(dAtA) |
| 8383 |
iNdEx := 0 |
| 8384 |
for iNdEx < l { |
| 8385 |
var wire uint64 |
| 8386 |
for shift := uint(0); ; shift += 7 { |
| 8387 |
if shift >= 64 { |
| 8388 |
return 0, ErrIntOverflowGenerated |
| 8389 |
} |
| 8390 |
if iNdEx >= l { |
| 8391 |
return 0, io.ErrUnexpectedEOF |
| 8392 |
} |
| 8393 |
b := dAtA[iNdEx] |
| 8394 |
iNdEx++ |
| 8395 |
wire |= (uint64(b) & 0x7F) << shift |
| 8396 |
if b < 0x80 { |
| 8397 |
break |
| 8398 |
} |
| 8399 |
} |
| 8400 |
wireType := int(wire & 0x7) |
| 8401 |
switch wireType { |
| 8402 |
case 0: |
| 8403 |
for shift := uint(0); ; shift += 7 { |
| 8404 |
if shift >= 64 { |
| 8405 |
return 0, ErrIntOverflowGenerated |
| 8406 |
} |
| 8407 |
if iNdEx >= l { |
| 8408 |
return 0, io.ErrUnexpectedEOF |
| 8409 |
} |
| 8410 |
iNdEx++ |
| 8411 |
if dAtA[iNdEx-1] < 0x80 { |
| 8412 |
break |
| 8413 |
} |
| 8414 |
} |
| 8415 |
return iNdEx, nil |
| 8416 |
case 1: |
| 8417 |
iNdEx += 8 |
| 8418 |
return iNdEx, nil |
| 8419 |
case 2: |
| 8420 |
var length int |
| 8421 |
for shift := uint(0); ; shift += 7 { |
| 8422 |
if shift >= 64 { |
| 8423 |
return 0, ErrIntOverflowGenerated |
| 8424 |
} |
| 8425 |
if iNdEx >= l { |
| 8426 |
return 0, io.ErrUnexpectedEOF |
| 8427 |
} |
| 8428 |
b := dAtA[iNdEx] |
| 8429 |
iNdEx++ |
| 8430 |
length |= (int(b) & 0x7F) << shift |
| 8431 |
if b < 0x80 { |
| 8432 |
break |
| 8433 |
} |
| 8434 |
} |
| 8435 |
iNdEx += length |
| 8436 |
if length < 0 { |
| 8437 |
return 0, ErrInvalidLengthGenerated |
| 8438 |
} |
| 8439 |
return iNdEx, nil |
| 8440 |
case 3: |
| 8441 |
for { |
| 8442 |
var innerWire uint64 |
| 8443 |
var start int = iNdEx |
| 8444 |
for shift := uint(0); ; shift += 7 { |
| 8445 |
if shift >= 64 { |
| 8446 |
return 0, ErrIntOverflowGenerated |
| 8447 |
} |
| 8448 |
if iNdEx >= l { |
| 8449 |
return 0, io.ErrUnexpectedEOF |
| 8450 |
} |
| 8451 |
b := dAtA[iNdEx] |
| 8452 |
iNdEx++ |
| 8453 |
innerWire |= (uint64(b) & 0x7F) << shift |
| 8454 |
if b < 0x80 { |
| 8455 |
break |
| 8456 |
} |
| 8457 |
} |
| 8458 |
innerWireType := int(innerWire & 0x7) |
| 8459 |
if innerWireType == 4 { |
| 8460 |
break |
| 8461 |
} |
| 8462 |
next, err := skipGenerated(dAtA[start:]) |
| 8463 |
if err != nil { |
| 8464 |
return 0, err |
| 8465 |
} |
| 8466 |
iNdEx = start + next |
| 8467 |
} |
| 8468 |
return iNdEx, nil |
| 8469 |
case 4: |
| 8470 |
return iNdEx, nil |
| 8471 |
case 5: |
| 8472 |
iNdEx += 4 |
| 8473 |
return iNdEx, nil |
| 8474 |
default: |
| 8475 |
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 8476 |
} |
| 8477 |
} |
| 8478 |
panic("unreachable") |
| 8479 |
} |
| 8480 |
|
| 8481 |
var ( |
| 8482 |
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 8483 |
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 8484 |
) |
| 8485 |
|
| 8486 |
func init() { |
| 8487 |
proto.RegisterFile("github.com/openshift/api/image/v1/generated.proto", fileDescriptorGenerated) |
| 8488 |
} |
| 8489 |
|
| 8490 |
var fileDescriptorGenerated = []byte{ |
| 8491 |
// 2450 bytes of a gzipped FileDescriptorProto |
| 8492 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4f, 0x6c, 0x1c, 0x49, |
| 8493 |
0xd5, 0x4f, 0x4f, 0xcf, 0x8c, 0xc7, 0xcf, 0x8e, 0x1d, 0x57, 0xe2, 0xec, 0xec, 0x24, 0x6b, 0x7b, |
| 8494 |
0x3b, 0x5f, 0xa2, 0x7c, 0x90, 0xed, 0xc1, 0x26, 0xbb, 0x38, 0x41, 0x62, 0x37, 0x93, 0x09, 0xd1, |
| 8495 |
0x80, 0x4d, 0xbc, 0xe5, 0x21, 0x87, 0x28, 0x48, 0x94, 0x7b, 0xca, 0xed, 0xc6, 0x33, 0xdd, 0x43, |
| 8496 |
0x77, 0x8f, 0x77, 0x1d, 0x81, 0xc4, 0x01, 0xad, 0xf6, 0xc0, 0x01, 0x4e, 0x1c, 0xf6, 0x88, 0x56, |
| 8497 |
0x88, 0x33, 0x02, 0x71, 0x07, 0xa4, 0x88, 0x0b, 0xab, 0xe5, 0xb2, 0x17, 0x2c, 0x32, 0x70, 0xe6, |
| 8498 |
0xc6, 0x65, 0x4f, 0xa8, 0xaa, 0xab, 0xbb, 0xab, 0x7b, 0x7a, 0x9c, 0x9e, 0x10, 0x5b, 0x70, 0xf3, |
| 8499 |
0xd4, 0x7b, 0xef, 0xf7, 0x5e, 0xbd, 0x57, 0xef, 0x4f, 0x55, 0x1b, 0x56, 0x4d, 0xcb, 0xdf, 0x1b, |
| 8500 |
0xec, 0xe8, 0x86, 0xd3, 0xab, 0x3b, 0x7d, 0x6a, 0x7b, 0x7b, 0xd6, 0xae, 0x5f, 0x27, 0x7d, 0xab, |
| 8501 |
0x6e, 0xf5, 0x88, 0x49, 0xeb, 0x07, 0xab, 0x75, 0x93, 0xda, 0xd4, 0x25, 0x3e, 0xed, 0xe8, 0x7d, |
| 8502 |
0xd7, 0xf1, 0x1d, 0xf4, 0x7a, 0x2c, 0xa2, 0x47, 0x22, 0x3a, 0xe9, 0x5b, 0x3a, 0x17, 0xd1, 0x0f, |
| 8503 |
0x56, 0x6b, 0x6f, 0x48, 0xa8, 0xa6, 0x63, 0x3a, 0x75, 0x2e, 0xb9, 0x33, 0xd8, 0xe5, 0xbf, 0xf8, |
| 8504 |
0x0f, 0xfe, 0x57, 0x80, 0x58, 0xd3, 0xf6, 0xd7, 0x3d, 0xdd, 0x72, 0xb8, 0x5a, 0xc3, 0x71, 0xb3, |
| 8505 |
0xb4, 0xd6, 0x6e, 0xc6, 0x3c, 0x3d, 0x62, 0xec, 0x59, 0x36, 0x75, 0x0f, 0xeb, 0xfd, 0x7d, 0x93, |
| 8506 |
0x2d, 0x78, 0xf5, 0x1e, 0xf5, 0x49, 0x96, 0x54, 0x7d, 0x9c, 0x94, 0x3b, 0xb0, 0x7d, 0xab, 0x47, |
| 8507 |
0x47, 0x04, 0xde, 0x7a, 0x9e, 0x80, 0x67, 0xec, 0xd1, 0x1e, 0x49, 0xcb, 0x69, 0x9f, 0x2a, 0x70, |
| 8508 |
0xa1, 0xe9, 0x18, 0xfb, 0xd4, 0x6d, 0x31, 0x27, 0x60, 0xba, 0x4b, 0x5d, 0x6a, 0x1b, 0x14, 0xdd, |
| 8509 |
0x80, 0x8a, 0x4b, 0x4d, 0xcb, 0xf3, 0xdd, 0xc3, 0xaa, 0xb2, 0xa2, 0x5c, 0x9f, 0x6e, 0x9c, 0x7b, |
| 8510 |
0x7a, 0xb4, 0x7c, 0x66, 0x78, 0xb4, 0x5c, 0xc1, 0x62, 0x1d, 0x47, 0x1c, 0xa8, 0x0e, 0xd3, 0x36, |
| 8511 |
0xe9, 0x51, 0xaf, 0x4f, 0x0c, 0x5a, 0x2d, 0x70, 0xf6, 0x05, 0xc1, 0x3e, 0xfd, 0xad, 0x90, 0x80, |
| 8512 |
0x63, 0x1e, 0xb4, 0x02, 0x45, 0xf6, 0xa3, 0xaa, 0x72, 0xde, 0x59, 0xc1, 0x5b, 0x64, 0xbc, 0x98, |
| 8513 |
0x53, 0xd0, 0x6b, 0xa0, 0xfa, 0xc4, 0xac, 0x16, 0x39, 0xc3, 0x8c, 0x60, 0x50, 0xdb, 0xc4, 0xc4, |
| 8514 |
0x6c, 0x1d, 0xd5, 0xa0, 0x60, 0x35, 0xab, 0x25, 0x4e, 0x05, 0x41, 0x2d, 0xb4, 0x9a, 0xb8, 0x60, |
| 8515 |
0x35, 0xb5, 0x3f, 0x4f, 0x41, 0x89, 0x6f, 0x07, 0x7d, 0x17, 0x2a, 0xcc, 0xc5, 0x1d, 0xe2, 0x13, |
| 8516 |
0xbe, 0x8b, 0x99, 0xb5, 0x2f, 0xe9, 0x81, 0xa7, 0x74, 0xd9, 0x53, 0x7a, 0x7f, 0xdf, 0x64, 0x0b, |
| 8517 |
0x9e, 0xce, 0xb8, 0xf5, 0x83, 0x55, 0xfd, 0xc1, 0xce, 0xf7, 0xa8, 0xe1, 0x6f, 0x52, 0x9f, 0x34, |
| 8518 |
0x90, 0x40, 0x87, 0x78, 0x0d, 0x47, 0xa8, 0x68, 0x0b, 0x2e, 0x74, 0x32, 0xfc, 0x27, 0x9c, 0x70, |
| 8519 |
0x59, 0xc8, 0x66, 0xfa, 0x18, 0x67, 0x4a, 0xa2, 0x1f, 0xc0, 0x79, 0x69, 0x7d, 0x33, 0x34, 0x5f, |
| 8520 |
0xe5, 0xe6, 0xbf, 0x31, 0xd6, 0x7c, 0x11, 0x68, 0x1d, 0x93, 0xf7, 0xee, 0xbd, 0xef, 0x53, 0xdb, |
| 8521 |
0xb3, 0x1c, 0xbb, 0x71, 0x49, 0xe8, 0x3f, 0xdf, 0x1c, 0x45, 0xc4, 0x59, 0x6a, 0xd0, 0x0e, 0xd4, |
| 8522 |
0x32, 0x96, 0x1f, 0x52, 0x97, 0xe1, 0x89, 0x68, 0x68, 0x02, 0xb5, 0xd6, 0x1c, 0xcb, 0x89, 0x8f, |
| 8523 |
0x41, 0x41, 0x9b, 0xc9, 0x1d, 0x12, 0xdb, 0xda, 0xa5, 0x9e, 0x2f, 0x82, 0x99, 0x69, 0xb2, 0x60, |
| 8524 |
0xc1, 0x59, 0x72, 0xe8, 0x00, 0x16, 0xa4, 0xe5, 0x0d, 0x72, 0x48, 0x5d, 0xaf, 0x5a, 0x5e, 0x51, |
| 8525 |
0xb9, 0xbb, 0x9e, 0x9b, 0xf4, 0x7a, 0x2c, 0xd5, 0x78, 0x55, 0xe8, 0x5e, 0x68, 0xa6, 0xf1, 0xf0, |
| 8526 |
0xa8, 0x0a, 0x44, 0x01, 0x3c, 0xcb, 0xb4, 0x89, 0x3f, 0x70, 0xa9, 0x57, 0x9d, 0xe2, 0x0a, 0x57, |
| 8527 |
0xf3, 0x2a, 0xdc, 0x0e, 0x25, 0xe3, 0xf3, 0x15, 0x2d, 0x79, 0x58, 0x02, 0x46, 0x0f, 0x60, 0x51, |
| 8528 |
0xd2, 0x1d, 0x33, 0x55, 0x2b, 0x2b, 0xea, 0xf5, 0xd9, 0xc6, 0xab, 0xc3, 0xa3, 0xe5, 0xc5, 0x66, |
| 8529 |
0x16, 0x03, 0xce, 0x96, 0x43, 0x7b, 0x70, 0x39, 0xc3, 0x8d, 0x9b, 0xb4, 0x63, 0x91, 0xf6, 0x61, |
| 8530 |
0x9f, 0x56, 0xa7, 0x79, 0x1c, 0xfe, 0x4f, 0x98, 0x75, 0xb9, 0x79, 0x0c, 0x2f, 0x3e, 0x16, 0x09, |
| 8531 |
0xdd, 0x4f, 0x44, 0xe6, 0xae, 0x63, 0xef, 0x5a, 0x66, 0x15, 0x38, 0x7c, 0x96, 0xab, 0x03, 0x06, |
| 8532 |
0x3c, 0x2a, 0xa3, 0xfd, 0x5c, 0x81, 0xf3, 0xfc, 0x77, 0xa3, 0xeb, 0xec, 0x44, 0xa9, 0xe2, 0x21, |
| 8533 |
0x0d, 0xca, 0xdd, 0x20, 0xde, 0xca, 0x8a, 0xca, 0x2a, 0xc1, 0xf0, 0x68, 0xb9, 0x2c, 0x22, 0x26, |
| 8534 |
0x28, 0x8c, 0xc7, 0x08, 0x34, 0x07, 0x39, 0xc9, 0x79, 0x84, 0x2a, 0x41, 0x41, 0xeb, 0x30, 0xcb, |
| 8535 |
0xc3, 0xb3, 0x69, 0x79, 0x9e, 0x65, 0x9b, 0x3c, 0xd9, 0x2a, 0x8d, 0x0b, 0xc2, 0xc6, 0xd9, 0x96, |
| 8536 |
0x44, 0xc3, 0x09, 0x4e, 0xed, 0x8f, 0x2a, 0xcc, 0x73, 0x72, 0xab, 0xd7, 0x77, 0x5c, 0x7f, 0xbb, |
| 8537 |
0x4f, 0x0d, 0x74, 0x0f, 0x8a, 0xbb, 0xae, 0xd3, 0x13, 0x15, 0xe7, 0x8a, 0x94, 0xb2, 0x3a, 0x6b, |
| 8538 |
0x13, 0x71, 0x7d, 0x89, 0x76, 0x12, 0x57, 0xc0, 0xaf, 0xbb, 0x4e, 0x0f, 0x73, 0x71, 0xf4, 0x0e, |
| 8539 |
0x14, 0x7c, 0x87, 0x1b, 0x3d, 0xb3, 0x76, 0x3d, 0x0b, 0x64, 0xc3, 0x31, 0x48, 0x37, 0x8d, 0x54, |
| 8540 |
0x66, 0x85, 0xb0, 0xed, 0xe0, 0x82, 0xef, 0xa0, 0x2e, 0xdb, 0x16, 0x33, 0x6b, 0xcb, 0xe9, 0x5a, |
| 8541 |
0xc6, 0xa1, 0xa8, 0x21, 0x6b, 0x39, 0xce, 0x68, 0x9b, 0x98, 0x2d, 0x49, 0x52, 0x76, 0x45, 0xbc, |
| 8542 |
0x8a, 0x13, 0xe8, 0xe8, 0x0e, 0xcc, 0x5b, 0xb6, 0xd1, 0x1d, 0x74, 0xe2, 0x94, 0x2e, 0x72, 0x3f, |
| 8543 |
0xbe, 0x22, 0x84, 0xe7, 0x5b, 0x49, 0x32, 0x4e, 0xf3, 0xa3, 0xf7, 0x61, 0xde, 0x0d, 0x77, 0x22, |
| 8544 |
0x6c, 0x2e, 0x71, 0x9b, 0xdf, 0xcc, 0x67, 0x33, 0x4e, 0x0a, 0xc7, 0x9a, 0x53, 0x04, 0x9c, 0x56, |
| 8545 |
0xa3, 0xfd, 0x45, 0x81, 0x05, 0x39, 0x8e, 0x3e, 0xf1, 0x07, 0x1e, 0x6a, 0x43, 0xd9, 0xe3, 0x7f, |
| 8546 |
0x89, 0x58, 0xde, 0xc8, 0xd7, 0x3d, 0x02, 0xe9, 0xc6, 0x9c, 0xd0, 0x5e, 0x0e, 0x7e, 0x63, 0x81, |
| 8547 |
0x85, 0x5a, 0x50, 0xe2, 0x46, 0x47, 0xb1, 0xcd, 0x59, 0x33, 0x1a, 0xd3, 0xc3, 0xa3, 0xe5, 0xa0, |
| 8548 |
0xb3, 0xe1, 0x00, 0x21, 0xec, 0x92, 0x6a, 0x76, 0x97, 0xd4, 0x3e, 0x50, 0x00, 0xe2, 0x92, 0x15, |
| 8549 |
0x75, 0x5d, 0x65, 0x6c, 0xd7, 0xbd, 0x0a, 0x45, 0xcf, 0x7a, 0x12, 0x58, 0xa6, 0xc6, 0x3d, 0x9c, |
| 8550 |
0x8b, 0x6f, 0x5b, 0x4f, 0x28, 0xe6, 0x64, 0xd6, 0xef, 0x7b, 0x51, 0xbd, 0x50, 0x93, 0xfd, 0x3e, |
| 8551 |
0x2e, 0x0e, 0x31, 0x8f, 0xd6, 0x81, 0xb9, 0xd8, 0x8e, 0x26, 0x6b, 0x34, 0xaf, 0x0b, 0x4d, 0x0a, |
| 8552 |
0xd7, 0x74, 0xf6, 0xb9, 0x5a, 0x0a, 0x39, 0xb4, 0xfc, 0x4e, 0x81, 0xe9, 0x40, 0x8d, 0xe5, 0xf9, |
| 8553 |
0xe8, 0xf1, 0x48, 0xf3, 0xd7, 0xf3, 0x85, 0x8f, 0x49, 0xf3, 0xd6, 0x1f, 0x8d, 0x3c, 0xe1, 0x8a, |
| 8554 |
0xd4, 0xf8, 0x37, 0xa1, 0x64, 0xf9, 0xb4, 0xe7, 0x55, 0x0b, 0xbc, 0xf0, 0xe7, 0x0f, 0xe2, 0x59, |
| 8555 |
0x01, 0x5a, 0x6a, 0x31, 0x71, 0x1c, 0xa0, 0x68, 0xeb, 0xe2, 0xf8, 0x6d, 0x38, 0xce, 0xfe, 0xa0, |
| 8556 |
0x2f, 0x32, 0xea, 0x0a, 0x94, 0xba, 0x2c, 0xc7, 0x45, 0x3d, 0x8a, 0x24, 0x79, 0xe2, 0xe3, 0x80, |
| 8557 |
0xa6, 0xfd, 0xba, 0x2c, 0x7c, 0x1b, 0x95, 0xf8, 0x53, 0x18, 0x7b, 0x56, 0xa0, 0xe8, 0xc7, 0x51, |
| 8558 |
0x89, 0x4e, 0x12, 0x0f, 0x08, 0xa7, 0xa0, 0xab, 0x30, 0x65, 0x38, 0xb6, 0x4f, 0x6d, 0x9f, 0x5b, |
| 8559 |
0x3f, 0xdb, 0x98, 0x19, 0x1e, 0x2d, 0x4f, 0xdd, 0x0d, 0x96, 0x70, 0x48, 0x43, 0x16, 0x80, 0xe1, |
| 8560 |
0xd8, 0x1d, 0xcb, 0xb7, 0x1c, 0xdb, 0xab, 0x16, 0xb9, 0x2f, 0xf3, 0x24, 0x7b, 0xb4, 0xd9, 0xbb, |
| 8561 |
0xa1, 0x74, 0x6c, 0x71, 0xb4, 0xe4, 0x61, 0x09, 0x1c, 0x7d, 0x15, 0xce, 0x72, 0xf1, 0x56, 0x87, |
| 8562 |
0xda, 0xbe, 0xe5, 0x1f, 0x8a, 0x81, 0x63, 0x51, 0x88, 0x9d, 0x6d, 0xc9, 0x44, 0x9c, 0xe4, 0x45, |
| 8563 |
0x3f, 0x84, 0x59, 0xd6, 0x93, 0x69, 0xe7, 0x6e, 0x97, 0x58, 0xbd, 0x70, 0xbe, 0xb8, 0x3b, 0x71, |
| 8564 |
0xbb, 0xe7, 0x86, 0x87, 0x28, 0xf7, 0x6c, 0xdf, 0x95, 0x6a, 0xab, 0x4c, 0xc2, 0x09, 0x75, 0xe8, |
| 8565 |
0x5d, 0x98, 0x32, 0x5c, 0xca, 0x06, 0xf7, 0xea, 0x14, 0x0f, 0xe8, 0x17, 0xf2, 0x05, 0xb4, 0x6d, |
| 8566 |
0xf5, 0xa8, 0xf0, 0x7c, 0x20, 0x8e, 0x43, 0x1c, 0x96, 0x1e, 0x96, 0xe7, 0x0d, 0x68, 0xa7, 0x71, |
| 8567 |
0x58, 0xad, 0xe4, 0x6e, 0x0c, 0xd1, 0x46, 0x5a, 0x4c, 0xd6, 0x6d, 0xcc, 0xb2, 0xf4, 0x68, 0x09, |
| 8568 |
0x1c, 0x1c, 0x21, 0xa2, 0xef, 0x84, 0xe8, 0x6d, 0x87, 0x0f, 0x14, 0x33, 0x6b, 0x5f, 0x9e, 0x04, |
| 8569 |
0x7d, 0x7b, 0xc0, 0x4f, 0x9d, 0x0c, 0xdf, 0x76, 0x70, 0x04, 0x59, 0x7b, 0x1b, 0x16, 0x46, 0x1c, |
| 8570 |
0x89, 0xce, 0x81, 0xba, 0x4f, 0xc5, 0x75, 0x05, 0xb3, 0x3f, 0xd1, 0x05, 0x28, 0x1d, 0x90, 0xee, |
| 8571 |
0x40, 0x9c, 0x53, 0x1c, 0xfc, 0xb8, 0x5d, 0x58, 0x57, 0xb4, 0x5f, 0x14, 0x60, 0x26, 0x88, 0x8c, |
| 8572 |
0xef, 0x52, 0xd2, 0x3b, 0x85, 0x94, 0x69, 0x43, 0xd1, 0xeb, 0x53, 0x43, 0x14, 0xfd, 0xb5, 0xdc, |
| 8573 |
0x27, 0x87, 0xdb, 0xc7, 0xe6, 0x8a, 0x38, 0xcd, 0xd8, 0x2f, 0xcc, 0xd1, 0xd0, 0xe3, 0xa8, 0x43, |
| 8574 |
0x05, 0xcd, 0xfd, 0xe6, 0x84, 0xb8, 0xc7, 0x76, 0x2a, 0xed, 0xf7, 0x0a, 0x9c, 0x93, 0xb8, 0x4f, |
| 8575 |
0xeb, 0x52, 0xb5, 0xf9, 0xa2, 0x0d, 0x32, 0xae, 0xad, 0x52, 0x93, 0xd4, 0x7e, 0x53, 0x10, 0xc5, |
| 8576 |
0x35, 0xdc, 0x05, 0xeb, 0xf0, 0xa7, 0xb0, 0x8d, 0x47, 0x89, 0x88, 0xaf, 0x4f, 0x16, 0x99, 0x78, |
| 8577 |
0x9e, 0xcc, 0x8c, 0xfb, 0x4e, 0x2a, 0xee, 0xb7, 0x5f, 0x08, 0xfd, 0xf8, 0xe8, 0xff, 0xb8, 0x00, |
| 8578 |
0x8b, 0x99, 0x16, 0xa1, 0x6b, 0x50, 0x0e, 0x46, 0x3f, 0xee, 0xb9, 0x4a, 0x8c, 0x10, 0xf0, 0x60, |
| 8579 |
0x41, 0x45, 0x26, 0x80, 0x4b, 0xfb, 0x8e, 0x67, 0xf9, 0x8e, 0x7b, 0x28, 0xfc, 0xf0, 0x95, 0x1c, |
| 8580 |
0x96, 0xe2, 0x48, 0x48, 0x72, 0xc3, 0x1c, 0x73, 0x74, 0x4c, 0xc1, 0x12, 0x34, 0x7a, 0xc4, 0x0c, |
| 8581 |
0x22, 0x26, 0x65, 0xee, 0x50, 0x27, 0x49, 0x2f, 0x19, 0x3f, 0xde, 0x04, 0x43, 0xc2, 0x02, 0x51, |
| 8582 |
0xfb, 0x6d, 0x01, 0x5e, 0x19, 0xe3, 0x3a, 0x84, 0x13, 0x8e, 0x60, 0x13, 0xc6, 0x44, 0x61, 0x08, |
| 8583 |
0x2e, 0x23, 0x29, 0xa7, 0x59, 0x19, 0x4e, 0xbb, 0xf5, 0x22, 0x4e, 0x13, 0xd1, 0x3d, 0xc6, 0x6d, |
| 8584 |
0x8f, 0x53, 0x6e, 0xbb, 0x39, 0xa1, 0xdb, 0x52, 0xe7, 0x27, 0xe5, 0xb8, 0x8f, 0x8b, 0x89, 0xbc, |
| 8585 |
0x13, 0xd7, 0xe6, 0x93, 0xcf, 0xbb, 0x0e, 0x94, 0x76, 0xba, 0xce, 0x4e, 0x38, 0x9a, 0xbd, 0x3d, |
| 8586 |
0x59, 0x4c, 0x02, 0x33, 0x75, 0x76, 0xd3, 0x14, 0x0d, 0x3a, 0xaa, 0x2a, 0x7c, 0x0d, 0x07, 0xe0, |
| 8587 |
0x68, 0x2f, 0xe5, 0xbb, 0x77, 0x5e, 0x48, 0x4d, 0xe0, 0xb2, 0x40, 0xcf, 0x18, 0x3f, 0xd6, 0xf6, |
| 8588 |
0x01, 0x62, 0x6b, 0x32, 0xba, 0xdc, 0x7d, 0xb9, 0xcb, 0x4d, 0xf0, 0x06, 0x11, 0x0d, 0xe3, 0x52, |
| 8589 |
0x63, 0xac, 0x7d, 0x5f, 0xf4, 0xc5, 0xb1, 0xda, 0x36, 0x92, 0xda, 0xde, 0xca, 0x5d, 0x9c, 0x13, |
| 8590 |
0x57, 0x77, 0xb9, 0x17, 0xff, 0x41, 0x11, 0x77, 0x68, 0xe1, 0x99, 0x93, 0x1f, 0xde, 0xb7, 0x93, |
| 8591 |
0xc3, 0xfb, 0xa4, 0x59, 0x9b, 0x3d, 0xc2, 0xff, 0x43, 0x01, 0x24, 0x71, 0x6d, 0x92, 0x7e, 0xdf, |
| 8592 |
0xb2, 0xcd, 0xff, 0xb9, 0x76, 0xf9, 0xbc, 0x3b, 0xe5, 0xaf, 0x0a, 0x89, 0x68, 0xf1, 0x7e, 0xb0, |
| 8593 |
0x9d, 0x78, 0xa3, 0x8a, 0x8b, 0x8d, 0xb8, 0x69, 0xbe, 0x26, 0x40, 0x16, 0x9b, 0x59, 0x4c, 0x38, |
| 8594 |
0x5b, 0x16, 0xbd, 0x0b, 0x45, 0x9f, 0x98, 0x61, 0x8c, 0xea, 0x13, 0xbe, 0x00, 0x48, 0x97, 0x12, |
| 8595 |
0x62, 0x7a, 0x98, 0x43, 0x21, 0x1b, 0x66, 0xbb, 0xd2, 0x05, 0x6b, 0xd2, 0x99, 0x49, 0xbe, 0x9c, |
| 8596 |
0xc5, 0x63, 0xbb, 0xbc, 0x8a, 0x13, 0xf8, 0xda, 0x2f, 0x93, 0x93, 0x87, 0x68, 0x1a, 0x27, 0xe2, |
| 8597 |
0xad, 0x87, 0x09, 0x6f, 0xe5, 0xd9, 0x12, 0xbb, 0xf6, 0x77, 0xda, 0xc4, 0xbc, 0x77, 0x40, 0x6d, |
| 8598 |
0x9f, 0x25, 0x49, 0xa6, 0xcb, 0x28, 0x5c, 0xea, 0x0f, 0x76, 0xba, 0x96, 0x91, 0x69, 0x8d, 0x38, |
| 8599 |
0x25, 0x57, 0x84, 0xe0, 0xa5, 0xad, 0xf1, 0xac, 0xf8, 0x38, 0x1c, 0xed, 0xa3, 0x62, 0x78, 0x8b, |
| 8600 |
0xe5, 0x9e, 0x6a, 0x93, 0xd3, 0x48, 0x9c, 0x6f, 0x04, 0x27, 0x3d, 0x48, 0x9b, 0x89, 0x0f, 0xd8, |
| 8601 |
0x54, 0xe2, 0x83, 0xc4, 0x1a, 0x80, 0xf8, 0xb8, 0x62, 0x39, 0x36, 0x77, 0x8b, 0x1a, 0x6b, 0xbf, |
| 8602 |
0x1f, 0x51, 0xb0, 0xc4, 0x85, 0xf6, 0x32, 0x2e, 0xbf, 0x37, 0xf3, 0x99, 0xc1, 0x83, 0x96, 0xff, |
| 8603 |
0xee, 0x1b, 0x95, 0x88, 0xd2, 0x4b, 0x29, 0x11, 0xe9, 0x3c, 0x2a, 0x9f, 0x70, 0x1e, 0xfd, 0x29, |
| 8604 |
0x59, 0x5a, 0xdb, 0xc4, 0x3c, 0x85, 0x26, 0xf1, 0x30, 0xd9, 0x24, 0x56, 0x27, 0x6b, 0x12, 0x6d, |
| 8605 |
0x62, 0x8e, 0xe9, 0x13, 0xff, 0x54, 0x60, 0x61, 0x24, 0xf7, 0xc2, 0xaa, 0xab, 0x8c, 0xf9, 0xde, |
| 8606 |
0xb5, 0x95, 0x34, 0xe6, 0x8b, 0x13, 0x9c, 0x92, 0x6c, 0x33, 0x52, 0x87, 0x4f, 0x3d, 0xb9, 0xc3, |
| 8607 |
0xa7, 0x7d, 0xa8, 0xc2, 0x85, 0xac, 0x89, 0xfe, 0x65, 0x3d, 0x94, 0xa7, 0x9f, 0xb9, 0x0b, 0xa7, |
| 8608 |
0xfd, 0xcc, 0xad, 0xfe, 0xe7, 0xcf, 0xdc, 0xc5, 0xd3, 0x79, 0xe6, 0xfe, 0xb0, 0x00, 0x17, 0xb3, |
| 8609 |
0xef, 0x09, 0x27, 0xf4, 0xd6, 0x1d, 0xdf, 0x30, 0x0a, 0x2f, 0xff, 0x86, 0x81, 0x6e, 0xc3, 0x1c, |
| 8610 |
0xe9, 0x04, 0xc7, 0x8c, 0x74, 0x59, 0xd3, 0xe2, 0xe7, 0x78, 0xba, 0x81, 0x86, 0x47, 0xcb, 0x73, |
| 8611 |
0x77, 0x12, 0x14, 0x9c, 0xe2, 0xd4, 0x3e, 0x55, 0x01, 0x8d, 0xbe, 0x22, 0xa2, 0xdb, 0xe2, 0x65, |
| 8612 |
0x33, 0x48, 0xc4, 0x6b, 0xf2, 0xcb, 0xe6, 0xe7, 0x47, 0xcb, 0x17, 0x47, 0x25, 0xa4, 0x37, 0xcf, |
| 8613 |
0x8d, 0xc8, 0x85, 0xc1, 0xbb, 0xe8, 0xcd, 0xa4, 0x53, 0x3e, 0x3f, 0x5a, 0xce, 0xf8, 0x97, 0x01, |
| 8614 |
0x3d, 0x42, 0x4a, 0xb9, 0xce, 0x84, 0xb3, 0x5d, 0xe2, 0xf9, 0x5b, 0xae, 0xb3, 0x43, 0xdb, 0x96, |
| 8615 |
0xf8, 0x58, 0x3e, 0xd9, 0xcb, 0x5f, 0xf4, 0xb6, 0xb9, 0x21, 0x03, 0xe1, 0x24, 0x2e, 0x3a, 0x00, |
| 8616 |
0xc4, 0x16, 0xda, 0x2e, 0xb1, 0xbd, 0x60, 0x4b, 0x4c, 0x5b, 0x71, 0x62, 0x6d, 0x35, 0xa1, 0x0d, |
| 8617 |
0x6d, 0x8c, 0xa0, 0xe1, 0x0c, 0x0d, 0xe8, 0x1a, 0x94, 0x5d, 0x4a, 0x3c, 0xc7, 0x16, 0x2f, 0xb1, |
| 8618 |
0x51, 0x94, 0x31, 0x5f, 0xc5, 0x82, 0x8a, 0xfe, 0x1f, 0xa6, 0x7a, 0xd4, 0xf3, 0x58, 0xfb, 0x2a, |
| 8619 |
0x73, 0xc6, 0x79, 0xc1, 0x38, 0xb5, 0x19, 0x2c, 0xe3, 0x90, 0xae, 0x7d, 0xa0, 0x40, 0x1c, 0x22, |
| 8620 |
0xde, 0x75, 0x2d, 0xe3, 0x5e, 0xf0, 0x82, 0xbb, 0x0e, 0xb3, 0x8e, 0x6b, 0x12, 0xdb, 0x7a, 0x12, |
| 8621 |
0xb4, 0xe8, 0x20, 0xc0, 0x51, 0xc6, 0x3f, 0x90, 0x68, 0x38, 0xc1, 0xc9, 0x5a, 0xbb, 0xe1, 0xf4, |
| 8622 |
0x7a, 0x8e, 0xcd, 0xaa, 0xb6, 0x08, 0xad, 0x54, 0xf3, 0x42, 0x0a, 0x96, 0xb8, 0xb4, 0x8f, 0x15, |
| 8623 |
0x98, 0x4f, 0xbd, 0x95, 0xa2, 0x9f, 0x29, 0x70, 0xd1, 0xcb, 0x34, 0x4e, 0xa4, 0xdc, 0xad, 0x49, |
| 8624 |
0x9e, 0x48, 0x13, 0x00, 0x8d, 0x25, 0x61, 0xcf, 0x98, 0xdd, 0xe3, 0x31, 0x8a, 0xb5, 0xbf, 0x2a, |
| 8625 |
0x70, 0x2e, 0xfd, 0xea, 0xfa, 0xdf, 0x68, 0x28, 0x7a, 0x13, 0x66, 0x82, 0xf9, 0xf1, 0x9b, 0xf4, |
| 8626 |
0xb0, 0xd5, 0x14, 0x51, 0x38, 0x2f, 0xc0, 0x66, 0xb6, 0x62, 0x12, 0x96, 0xf9, 0xb4, 0x9f, 0x14, |
| 8627 |
0xa0, 0x12, 0x76, 0x2c, 0xf4, 0xed, 0xf8, 0x15, 0x5d, 0x99, 0xf8, 0x74, 0x47, 0x87, 0x6e, 0xe4, |
| 8628 |
0x25, 0xfd, 0xe5, 0xff, 0x0f, 0xc8, 0x95, 0x70, 0x5c, 0x0b, 0xc6, 0xeb, 0xec, 0x21, 0x2c, 0x39, |
| 8629 |
0x71, 0x16, 0xf3, 0x4c, 0x9c, 0xda, 0x47, 0x2a, 0x2c, 0x8c, 0x34, 0x70, 0x74, 0x2b, 0x51, 0xf3, |
| 8630 |
0xae, 0xa6, 0x6a, 0xde, 0xe2, 0x88, 0xc0, 0x89, 0x95, 0xbc, 0xec, 0x4a, 0xa4, 0x9e, 0x62, 0x25, |
| 8631 |
0x2a, 0xe6, 0xad, 0x44, 0xa5, 0xe3, 0x2b, 0x51, 0x2a, 0x3a, 0xe5, 0x5c, 0xd1, 0xe9, 0xc3, 0x7c, |
| 8632 |
0x6a, 0x22, 0x41, 0x37, 0xa0, 0x62, 0xd9, 0x1e, 0x35, 0x06, 0x2e, 0x15, 0x6f, 0xad, 0xd1, 0xc8, |
| 8633 |
0xda, 0x12, 0xeb, 0x38, 0xe2, 0x40, 0x75, 0x98, 0xf6, 0x8c, 0x3d, 0xda, 0x19, 0x74, 0x69, 0x87, |
| 8634 |
0x07, 0xa4, 0x12, 0x7f, 0x31, 0xdd, 0x0e, 0x09, 0x38, 0xe6, 0xd1, 0xfe, 0x55, 0x84, 0x59, 0x79, |
| 8635 |
0xa0, 0xc8, 0xf1, 0x89, 0xf8, 0x3d, 0x98, 0x21, 0xb6, 0xed, 0xf8, 0x24, 0x18, 0x1c, 0x0b, 0xb9, |
| 8636 |
0x1f, 0xbf, 0x64, 0x3d, 0xfa, 0x9d, 0x18, 0x22, 0x78, 0xfc, 0x8a, 0x52, 0x59, 0xa2, 0x60, 0x59, |
| 8637 |
0x13, 0xba, 0x23, 0xa6, 0x45, 0x35, 0xff, 0xb4, 0x58, 0x49, 0x4d, 0x8a, 0x75, 0x98, 0x8e, 0x26, |
| 8638 |
0x22, 0xf1, 0xcf, 0x09, 0x91, 0x7f, 0xe2, 0x9c, 0x8c, 0x79, 0x90, 0x9e, 0x88, 0x62, 0x89, 0x47, |
| 8639 |
0x71, 0xee, 0x98, 0x1b, 0x5d, 0x7a, 0x14, 0x2d, 0x9f, 0xe8, 0x28, 0x9a, 0x31, 0x47, 0x4e, 0x9d, |
| 8640 |
0xca, 0x1c, 0x59, 0xfb, 0x1a, 0x9c, 0x4b, 0x47, 0x70, 0xa2, 0xcf, 0x6f, 0x5b, 0x80, 0x46, 0xf5, |
| 8641 |
0x3f, 0x6f, 0xf6, 0x1a, 0x95, 0x88, 0x0b, 0x51, 0xe3, 0xfa, 0xd3, 0x67, 0x4b, 0x67, 0x3e, 0x79, |
| 8642 |
0xb6, 0x74, 0xe6, 0xb3, 0x67, 0x4b, 0x67, 0x7e, 0x34, 0x5c, 0x52, 0x9e, 0x0e, 0x97, 0x94, 0x4f, |
| 8643 |
0x86, 0x4b, 0xca, 0x67, 0xc3, 0x25, 0xe5, 0x6f, 0xc3, 0x25, 0xe5, 0xa7, 0x7f, 0x5f, 0x3a, 0xf3, |
| 8644 |
0xa8, 0x70, 0xb0, 0xfa, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x03, 0x52, 0xf9, 0x3c, 0x2a, |
| 8645 |
0x00, 0x00, |
| 8646 |
} |