github.com/argoproj/argo-cd/v2@v2.10.9/reposerver/apiclient/repository.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: reposerver/repository/repository.proto 3 4 package apiclient 5 6 import ( 7 context "context" 8 fmt "fmt" 9 v1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" 10 proto "github.com/gogo/protobuf/proto" 11 grpc "google.golang.org/grpc" 12 codes "google.golang.org/grpc/codes" 13 status "google.golang.org/grpc/status" 14 emptypb "google.golang.org/protobuf/types/known/emptypb" 15 io "io" 16 math "math" 17 math_bits "math/bits" 18 ) 19 20 // Reference imports to suppress errors if they are not otherwise used. 21 var _ = proto.Marshal 22 var _ = fmt.Errorf 23 var _ = math.Inf 24 25 // This is a compile-time assertion to ensure that this generated file 26 // is compatible with the proto package it is being compiled against. 27 // A compilation error at this line likely means your copy of the 28 // proto package needs to be updated. 29 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 30 31 // ManifestRequest is a query for manifest generation. 32 type ManifestRequest struct { 33 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 34 // revision, potentially un-resolved 35 Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 36 NoCache bool `protobuf:"varint,3,opt,name=noCache,proto3" json:"noCache,omitempty"` 37 AppLabelKey string `protobuf:"bytes,4,opt,name=appLabelKey,proto3" json:"appLabelKey,omitempty"` 38 // Name of the application for which the request is triggered 39 AppName string `protobuf:"bytes,5,opt,name=appName,proto3" json:"appName,omitempty"` 40 Namespace string `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"` 41 ApplicationSource *v1alpha1.ApplicationSource `protobuf:"bytes,10,opt,name=applicationSource,proto3" json:"applicationSource,omitempty"` 42 Repos []*v1alpha1.Repository `protobuf:"bytes,11,rep,name=repos,proto3" json:"repos,omitempty"` 43 // Deprecated: use sidecar plugins instead. 44 Plugins []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,12,rep,name=plugins,proto3" json:"plugins,omitempty"` 45 KustomizeOptions *v1alpha1.KustomizeOptions `protobuf:"bytes,13,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"` 46 KubeVersion string `protobuf:"bytes,14,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"` 47 ApiVersions []string `protobuf:"bytes,15,rep,name=apiVersions,proto3" json:"apiVersions,omitempty"` 48 // Request to verify the signature when generating the manifests (only for Git repositories) 49 VerifySignature bool `protobuf:"varint,16,opt,name=verifySignature,proto3" json:"verifySignature,omitempty"` 50 HelmRepoCreds []*v1alpha1.RepoCreds `protobuf:"bytes,17,rep,name=helmRepoCreds,proto3" json:"helmRepoCreds,omitempty"` 51 NoRevisionCache bool `protobuf:"varint,18,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"` 52 TrackingMethod string `protobuf:"bytes,19,opt,name=trackingMethod,proto3" json:"trackingMethod,omitempty"` 53 EnabledSourceTypes map[string]bool `protobuf:"bytes,20,rep,name=enabledSourceTypes,proto3" json:"enabledSourceTypes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 54 HelmOptions *v1alpha1.HelmOptions `protobuf:"bytes,21,opt,name=helmOptions,proto3" json:"helmOptions,omitempty"` 55 HasMultipleSources bool `protobuf:"varint,22,opt,name=hasMultipleSources,proto3" json:"hasMultipleSources,omitempty"` 56 RefSources map[string]*v1alpha1.RefTarget `protobuf:"bytes,23,rep,name=refSources,proto3" json:"refSources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 57 // This is used to surface "source not permitted" errors for Helm repositories 58 ProjectSourceRepos []string `protobuf:"bytes,24,rep,name=projectSourceRepos,proto3" json:"projectSourceRepos,omitempty"` 59 // This is used to surface "source not permitted" errors for Helm repositories 60 ProjectName string `protobuf:"bytes,25,opt,name=projectName,proto3" json:"projectName,omitempty"` 61 XXX_NoUnkeyedLiteral struct{} `json:"-"` 62 XXX_unrecognized []byte `json:"-"` 63 XXX_sizecache int32 `json:"-"` 64 } 65 66 func (m *ManifestRequest) Reset() { *m = ManifestRequest{} } 67 func (m *ManifestRequest) String() string { return proto.CompactTextString(m) } 68 func (*ManifestRequest) ProtoMessage() {} 69 func (*ManifestRequest) Descriptor() ([]byte, []int) { 70 return fileDescriptor_dd8723cfcc820480, []int{0} 71 } 72 func (m *ManifestRequest) XXX_Unmarshal(b []byte) error { 73 return m.Unmarshal(b) 74 } 75 func (m *ManifestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 76 if deterministic { 77 return xxx_messageInfo_ManifestRequest.Marshal(b, m, deterministic) 78 } else { 79 b = b[:cap(b)] 80 n, err := m.MarshalToSizedBuffer(b) 81 if err != nil { 82 return nil, err 83 } 84 return b[:n], nil 85 } 86 } 87 func (m *ManifestRequest) XXX_Merge(src proto.Message) { 88 xxx_messageInfo_ManifestRequest.Merge(m, src) 89 } 90 func (m *ManifestRequest) XXX_Size() int { 91 return m.Size() 92 } 93 func (m *ManifestRequest) XXX_DiscardUnknown() { 94 xxx_messageInfo_ManifestRequest.DiscardUnknown(m) 95 } 96 97 var xxx_messageInfo_ManifestRequest proto.InternalMessageInfo 98 99 func (m *ManifestRequest) GetRepo() *v1alpha1.Repository { 100 if m != nil { 101 return m.Repo 102 } 103 return nil 104 } 105 106 func (m *ManifestRequest) GetRevision() string { 107 if m != nil { 108 return m.Revision 109 } 110 return "" 111 } 112 113 func (m *ManifestRequest) GetNoCache() bool { 114 if m != nil { 115 return m.NoCache 116 } 117 return false 118 } 119 120 func (m *ManifestRequest) GetAppLabelKey() string { 121 if m != nil { 122 return m.AppLabelKey 123 } 124 return "" 125 } 126 127 func (m *ManifestRequest) GetAppName() string { 128 if m != nil { 129 return m.AppName 130 } 131 return "" 132 } 133 134 func (m *ManifestRequest) GetNamespace() string { 135 if m != nil { 136 return m.Namespace 137 } 138 return "" 139 } 140 141 func (m *ManifestRequest) GetApplicationSource() *v1alpha1.ApplicationSource { 142 if m != nil { 143 return m.ApplicationSource 144 } 145 return nil 146 } 147 148 func (m *ManifestRequest) GetRepos() []*v1alpha1.Repository { 149 if m != nil { 150 return m.Repos 151 } 152 return nil 153 } 154 155 func (m *ManifestRequest) GetPlugins() []*v1alpha1.ConfigManagementPlugin { 156 if m != nil { 157 return m.Plugins 158 } 159 return nil 160 } 161 162 func (m *ManifestRequest) GetKustomizeOptions() *v1alpha1.KustomizeOptions { 163 if m != nil { 164 return m.KustomizeOptions 165 } 166 return nil 167 } 168 169 func (m *ManifestRequest) GetKubeVersion() string { 170 if m != nil { 171 return m.KubeVersion 172 } 173 return "" 174 } 175 176 func (m *ManifestRequest) GetApiVersions() []string { 177 if m != nil { 178 return m.ApiVersions 179 } 180 return nil 181 } 182 183 func (m *ManifestRequest) GetVerifySignature() bool { 184 if m != nil { 185 return m.VerifySignature 186 } 187 return false 188 } 189 190 func (m *ManifestRequest) GetHelmRepoCreds() []*v1alpha1.RepoCreds { 191 if m != nil { 192 return m.HelmRepoCreds 193 } 194 return nil 195 } 196 197 func (m *ManifestRequest) GetNoRevisionCache() bool { 198 if m != nil { 199 return m.NoRevisionCache 200 } 201 return false 202 } 203 204 func (m *ManifestRequest) GetTrackingMethod() string { 205 if m != nil { 206 return m.TrackingMethod 207 } 208 return "" 209 } 210 211 func (m *ManifestRequest) GetEnabledSourceTypes() map[string]bool { 212 if m != nil { 213 return m.EnabledSourceTypes 214 } 215 return nil 216 } 217 218 func (m *ManifestRequest) GetHelmOptions() *v1alpha1.HelmOptions { 219 if m != nil { 220 return m.HelmOptions 221 } 222 return nil 223 } 224 225 func (m *ManifestRequest) GetHasMultipleSources() bool { 226 if m != nil { 227 return m.HasMultipleSources 228 } 229 return false 230 } 231 232 func (m *ManifestRequest) GetRefSources() map[string]*v1alpha1.RefTarget { 233 if m != nil { 234 return m.RefSources 235 } 236 return nil 237 } 238 239 func (m *ManifestRequest) GetProjectSourceRepos() []string { 240 if m != nil { 241 return m.ProjectSourceRepos 242 } 243 return nil 244 } 245 246 func (m *ManifestRequest) GetProjectName() string { 247 if m != nil { 248 return m.ProjectName 249 } 250 return "" 251 } 252 253 type ManifestRequestWithFiles struct { 254 // Types that are valid to be assigned to Part: 255 // *ManifestRequestWithFiles_Request 256 // *ManifestRequestWithFiles_Metadata 257 // *ManifestRequestWithFiles_Chunk 258 Part isManifestRequestWithFiles_Part `protobuf_oneof:"part"` 259 XXX_NoUnkeyedLiteral struct{} `json:"-"` 260 XXX_unrecognized []byte `json:"-"` 261 XXX_sizecache int32 `json:"-"` 262 } 263 264 func (m *ManifestRequestWithFiles) Reset() { *m = ManifestRequestWithFiles{} } 265 func (m *ManifestRequestWithFiles) String() string { return proto.CompactTextString(m) } 266 func (*ManifestRequestWithFiles) ProtoMessage() {} 267 func (*ManifestRequestWithFiles) Descriptor() ([]byte, []int) { 268 return fileDescriptor_dd8723cfcc820480, []int{1} 269 } 270 func (m *ManifestRequestWithFiles) XXX_Unmarshal(b []byte) error { 271 return m.Unmarshal(b) 272 } 273 func (m *ManifestRequestWithFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 274 if deterministic { 275 return xxx_messageInfo_ManifestRequestWithFiles.Marshal(b, m, deterministic) 276 } else { 277 b = b[:cap(b)] 278 n, err := m.MarshalToSizedBuffer(b) 279 if err != nil { 280 return nil, err 281 } 282 return b[:n], nil 283 } 284 } 285 func (m *ManifestRequestWithFiles) XXX_Merge(src proto.Message) { 286 xxx_messageInfo_ManifestRequestWithFiles.Merge(m, src) 287 } 288 func (m *ManifestRequestWithFiles) XXX_Size() int { 289 return m.Size() 290 } 291 func (m *ManifestRequestWithFiles) XXX_DiscardUnknown() { 292 xxx_messageInfo_ManifestRequestWithFiles.DiscardUnknown(m) 293 } 294 295 var xxx_messageInfo_ManifestRequestWithFiles proto.InternalMessageInfo 296 297 type isManifestRequestWithFiles_Part interface { 298 isManifestRequestWithFiles_Part() 299 MarshalTo([]byte) (int, error) 300 Size() int 301 } 302 303 type ManifestRequestWithFiles_Request struct { 304 Request *ManifestRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof" json:"request,omitempty"` 305 } 306 type ManifestRequestWithFiles_Metadata struct { 307 Metadata *ManifestFileMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` 308 } 309 type ManifestRequestWithFiles_Chunk struct { 310 Chunk *ManifestFileChunk `protobuf:"bytes,3,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"` 311 } 312 313 func (*ManifestRequestWithFiles_Request) isManifestRequestWithFiles_Part() {} 314 func (*ManifestRequestWithFiles_Metadata) isManifestRequestWithFiles_Part() {} 315 func (*ManifestRequestWithFiles_Chunk) isManifestRequestWithFiles_Part() {} 316 317 func (m *ManifestRequestWithFiles) GetPart() isManifestRequestWithFiles_Part { 318 if m != nil { 319 return m.Part 320 } 321 return nil 322 } 323 324 func (m *ManifestRequestWithFiles) GetRequest() *ManifestRequest { 325 if x, ok := m.GetPart().(*ManifestRequestWithFiles_Request); ok { 326 return x.Request 327 } 328 return nil 329 } 330 331 func (m *ManifestRequestWithFiles) GetMetadata() *ManifestFileMetadata { 332 if x, ok := m.GetPart().(*ManifestRequestWithFiles_Metadata); ok { 333 return x.Metadata 334 } 335 return nil 336 } 337 338 func (m *ManifestRequestWithFiles) GetChunk() *ManifestFileChunk { 339 if x, ok := m.GetPart().(*ManifestRequestWithFiles_Chunk); ok { 340 return x.Chunk 341 } 342 return nil 343 } 344 345 // XXX_OneofWrappers is for the internal use of the proto package. 346 func (*ManifestRequestWithFiles) XXX_OneofWrappers() []interface{} { 347 return []interface{}{ 348 (*ManifestRequestWithFiles_Request)(nil), 349 (*ManifestRequestWithFiles_Metadata)(nil), 350 (*ManifestRequestWithFiles_Chunk)(nil), 351 } 352 } 353 354 type ManifestFileMetadata struct { 355 // checksum is used to verify the integrity of the file 356 Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` 357 // size relates to the file size in bytes 358 Size_ int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` 359 XXX_NoUnkeyedLiteral struct{} `json:"-"` 360 XXX_unrecognized []byte `json:"-"` 361 XXX_sizecache int32 `json:"-"` 362 } 363 364 func (m *ManifestFileMetadata) Reset() { *m = ManifestFileMetadata{} } 365 func (m *ManifestFileMetadata) String() string { return proto.CompactTextString(m) } 366 func (*ManifestFileMetadata) ProtoMessage() {} 367 func (*ManifestFileMetadata) Descriptor() ([]byte, []int) { 368 return fileDescriptor_dd8723cfcc820480, []int{2} 369 } 370 func (m *ManifestFileMetadata) XXX_Unmarshal(b []byte) error { 371 return m.Unmarshal(b) 372 } 373 func (m *ManifestFileMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 374 if deterministic { 375 return xxx_messageInfo_ManifestFileMetadata.Marshal(b, m, deterministic) 376 } else { 377 b = b[:cap(b)] 378 n, err := m.MarshalToSizedBuffer(b) 379 if err != nil { 380 return nil, err 381 } 382 return b[:n], nil 383 } 384 } 385 func (m *ManifestFileMetadata) XXX_Merge(src proto.Message) { 386 xxx_messageInfo_ManifestFileMetadata.Merge(m, src) 387 } 388 func (m *ManifestFileMetadata) XXX_Size() int { 389 return m.Size() 390 } 391 func (m *ManifestFileMetadata) XXX_DiscardUnknown() { 392 xxx_messageInfo_ManifestFileMetadata.DiscardUnknown(m) 393 } 394 395 var xxx_messageInfo_ManifestFileMetadata proto.InternalMessageInfo 396 397 func (m *ManifestFileMetadata) GetChecksum() string { 398 if m != nil { 399 return m.Checksum 400 } 401 return "" 402 } 403 404 func (m *ManifestFileMetadata) GetSize_() int64 { 405 if m != nil { 406 return m.Size_ 407 } 408 return 0 409 } 410 411 type ManifestFileChunk struct { 412 Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` 413 XXX_NoUnkeyedLiteral struct{} `json:"-"` 414 XXX_unrecognized []byte `json:"-"` 415 XXX_sizecache int32 `json:"-"` 416 } 417 418 func (m *ManifestFileChunk) Reset() { *m = ManifestFileChunk{} } 419 func (m *ManifestFileChunk) String() string { return proto.CompactTextString(m) } 420 func (*ManifestFileChunk) ProtoMessage() {} 421 func (*ManifestFileChunk) Descriptor() ([]byte, []int) { 422 return fileDescriptor_dd8723cfcc820480, []int{3} 423 } 424 func (m *ManifestFileChunk) XXX_Unmarshal(b []byte) error { 425 return m.Unmarshal(b) 426 } 427 func (m *ManifestFileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 428 if deterministic { 429 return xxx_messageInfo_ManifestFileChunk.Marshal(b, m, deterministic) 430 } else { 431 b = b[:cap(b)] 432 n, err := m.MarshalToSizedBuffer(b) 433 if err != nil { 434 return nil, err 435 } 436 return b[:n], nil 437 } 438 } 439 func (m *ManifestFileChunk) XXX_Merge(src proto.Message) { 440 xxx_messageInfo_ManifestFileChunk.Merge(m, src) 441 } 442 func (m *ManifestFileChunk) XXX_Size() int { 443 return m.Size() 444 } 445 func (m *ManifestFileChunk) XXX_DiscardUnknown() { 446 xxx_messageInfo_ManifestFileChunk.DiscardUnknown(m) 447 } 448 449 var xxx_messageInfo_ManifestFileChunk proto.InternalMessageInfo 450 451 func (m *ManifestFileChunk) GetChunk() []byte { 452 if m != nil { 453 return m.Chunk 454 } 455 return nil 456 } 457 458 // TestRepositoryRequest is a query to test repository is valid or not and has valid access. 459 type TestRepositoryRequest struct { 460 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 461 XXX_NoUnkeyedLiteral struct{} `json:"-"` 462 XXX_unrecognized []byte `json:"-"` 463 XXX_sizecache int32 `json:"-"` 464 } 465 466 func (m *TestRepositoryRequest) Reset() { *m = TestRepositoryRequest{} } 467 func (m *TestRepositoryRequest) String() string { return proto.CompactTextString(m) } 468 func (*TestRepositoryRequest) ProtoMessage() {} 469 func (*TestRepositoryRequest) Descriptor() ([]byte, []int) { 470 return fileDescriptor_dd8723cfcc820480, []int{4} 471 } 472 func (m *TestRepositoryRequest) XXX_Unmarshal(b []byte) error { 473 return m.Unmarshal(b) 474 } 475 func (m *TestRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 476 if deterministic { 477 return xxx_messageInfo_TestRepositoryRequest.Marshal(b, m, deterministic) 478 } else { 479 b = b[:cap(b)] 480 n, err := m.MarshalToSizedBuffer(b) 481 if err != nil { 482 return nil, err 483 } 484 return b[:n], nil 485 } 486 } 487 func (m *TestRepositoryRequest) XXX_Merge(src proto.Message) { 488 xxx_messageInfo_TestRepositoryRequest.Merge(m, src) 489 } 490 func (m *TestRepositoryRequest) XXX_Size() int { 491 return m.Size() 492 } 493 func (m *TestRepositoryRequest) XXX_DiscardUnknown() { 494 xxx_messageInfo_TestRepositoryRequest.DiscardUnknown(m) 495 } 496 497 var xxx_messageInfo_TestRepositoryRequest proto.InternalMessageInfo 498 499 func (m *TestRepositoryRequest) GetRepo() *v1alpha1.Repository { 500 if m != nil { 501 return m.Repo 502 } 503 return nil 504 } 505 506 // TestRepositoryResponse represents the TestRepository response 507 type TestRepositoryResponse struct { 508 // Request to verify the signature when generating the manifests (only for Git repositories) 509 VerifiedRepository bool `protobuf:"varint,1,opt,name=verifiedRepository,proto3" json:"verifiedRepository,omitempty"` 510 XXX_NoUnkeyedLiteral struct{} `json:"-"` 511 XXX_unrecognized []byte `json:"-"` 512 XXX_sizecache int32 `json:"-"` 513 } 514 515 func (m *TestRepositoryResponse) Reset() { *m = TestRepositoryResponse{} } 516 func (m *TestRepositoryResponse) String() string { return proto.CompactTextString(m) } 517 func (*TestRepositoryResponse) ProtoMessage() {} 518 func (*TestRepositoryResponse) Descriptor() ([]byte, []int) { 519 return fileDescriptor_dd8723cfcc820480, []int{5} 520 } 521 func (m *TestRepositoryResponse) XXX_Unmarshal(b []byte) error { 522 return m.Unmarshal(b) 523 } 524 func (m *TestRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 525 if deterministic { 526 return xxx_messageInfo_TestRepositoryResponse.Marshal(b, m, deterministic) 527 } else { 528 b = b[:cap(b)] 529 n, err := m.MarshalToSizedBuffer(b) 530 if err != nil { 531 return nil, err 532 } 533 return b[:n], nil 534 } 535 } 536 func (m *TestRepositoryResponse) XXX_Merge(src proto.Message) { 537 xxx_messageInfo_TestRepositoryResponse.Merge(m, src) 538 } 539 func (m *TestRepositoryResponse) XXX_Size() int { 540 return m.Size() 541 } 542 func (m *TestRepositoryResponse) XXX_DiscardUnknown() { 543 xxx_messageInfo_TestRepositoryResponse.DiscardUnknown(m) 544 } 545 546 var xxx_messageInfo_TestRepositoryResponse proto.InternalMessageInfo 547 548 func (m *TestRepositoryResponse) GetVerifiedRepository() bool { 549 if m != nil { 550 return m.VerifiedRepository 551 } 552 return false 553 } 554 555 // ResolveRevisionRequest 556 type ResolveRevisionRequest struct { 557 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 558 App *v1alpha1.Application `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` 559 AmbiguousRevision string `protobuf:"bytes,3,opt,name=ambiguousRevision,proto3" json:"ambiguousRevision,omitempty"` 560 XXX_NoUnkeyedLiteral struct{} `json:"-"` 561 XXX_unrecognized []byte `json:"-"` 562 XXX_sizecache int32 `json:"-"` 563 } 564 565 func (m *ResolveRevisionRequest) Reset() { *m = ResolveRevisionRequest{} } 566 func (m *ResolveRevisionRequest) String() string { return proto.CompactTextString(m) } 567 func (*ResolveRevisionRequest) ProtoMessage() {} 568 func (*ResolveRevisionRequest) Descriptor() ([]byte, []int) { 569 return fileDescriptor_dd8723cfcc820480, []int{6} 570 } 571 func (m *ResolveRevisionRequest) XXX_Unmarshal(b []byte) error { 572 return m.Unmarshal(b) 573 } 574 func (m *ResolveRevisionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 575 if deterministic { 576 return xxx_messageInfo_ResolveRevisionRequest.Marshal(b, m, deterministic) 577 } else { 578 b = b[:cap(b)] 579 n, err := m.MarshalToSizedBuffer(b) 580 if err != nil { 581 return nil, err 582 } 583 return b[:n], nil 584 } 585 } 586 func (m *ResolveRevisionRequest) XXX_Merge(src proto.Message) { 587 xxx_messageInfo_ResolveRevisionRequest.Merge(m, src) 588 } 589 func (m *ResolveRevisionRequest) XXX_Size() int { 590 return m.Size() 591 } 592 func (m *ResolveRevisionRequest) XXX_DiscardUnknown() { 593 xxx_messageInfo_ResolveRevisionRequest.DiscardUnknown(m) 594 } 595 596 var xxx_messageInfo_ResolveRevisionRequest proto.InternalMessageInfo 597 598 func (m *ResolveRevisionRequest) GetRepo() *v1alpha1.Repository { 599 if m != nil { 600 return m.Repo 601 } 602 return nil 603 } 604 605 func (m *ResolveRevisionRequest) GetApp() *v1alpha1.Application { 606 if m != nil { 607 return m.App 608 } 609 return nil 610 } 611 612 func (m *ResolveRevisionRequest) GetAmbiguousRevision() string { 613 if m != nil { 614 return m.AmbiguousRevision 615 } 616 return "" 617 } 618 619 // ResolveRevisionResponse 620 type ResolveRevisionResponse struct { 621 // returns the resolved revision 622 Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` 623 AmbiguousRevision string `protobuf:"bytes,2,opt,name=ambiguousRevision,proto3" json:"ambiguousRevision,omitempty"` 624 XXX_NoUnkeyedLiteral struct{} `json:"-"` 625 XXX_unrecognized []byte `json:"-"` 626 XXX_sizecache int32 `json:"-"` 627 } 628 629 func (m *ResolveRevisionResponse) Reset() { *m = ResolveRevisionResponse{} } 630 func (m *ResolveRevisionResponse) String() string { return proto.CompactTextString(m) } 631 func (*ResolveRevisionResponse) ProtoMessage() {} 632 func (*ResolveRevisionResponse) Descriptor() ([]byte, []int) { 633 return fileDescriptor_dd8723cfcc820480, []int{7} 634 } 635 func (m *ResolveRevisionResponse) XXX_Unmarshal(b []byte) error { 636 return m.Unmarshal(b) 637 } 638 func (m *ResolveRevisionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 639 if deterministic { 640 return xxx_messageInfo_ResolveRevisionResponse.Marshal(b, m, deterministic) 641 } else { 642 b = b[:cap(b)] 643 n, err := m.MarshalToSizedBuffer(b) 644 if err != nil { 645 return nil, err 646 } 647 return b[:n], nil 648 } 649 } 650 func (m *ResolveRevisionResponse) XXX_Merge(src proto.Message) { 651 xxx_messageInfo_ResolveRevisionResponse.Merge(m, src) 652 } 653 func (m *ResolveRevisionResponse) XXX_Size() int { 654 return m.Size() 655 } 656 func (m *ResolveRevisionResponse) XXX_DiscardUnknown() { 657 xxx_messageInfo_ResolveRevisionResponse.DiscardUnknown(m) 658 } 659 660 var xxx_messageInfo_ResolveRevisionResponse proto.InternalMessageInfo 661 662 func (m *ResolveRevisionResponse) GetRevision() string { 663 if m != nil { 664 return m.Revision 665 } 666 return "" 667 } 668 669 func (m *ResolveRevisionResponse) GetAmbiguousRevision() string { 670 if m != nil { 671 return m.AmbiguousRevision 672 } 673 return "" 674 } 675 676 type ManifestResponse struct { 677 Manifests []string `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"` 678 Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` 679 Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` 680 // resolved revision 681 Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"` 682 SourceType string `protobuf:"bytes,6,opt,name=sourceType,proto3" json:"sourceType,omitempty"` 683 // Raw response of git verify-commit operation (always the empty string for Helm) 684 VerifyResult string `protobuf:"bytes,7,opt,name=verifyResult,proto3" json:"verifyResult,omitempty"` 685 XXX_NoUnkeyedLiteral struct{} `json:"-"` 686 XXX_unrecognized []byte `json:"-"` 687 XXX_sizecache int32 `json:"-"` 688 } 689 690 func (m *ManifestResponse) Reset() { *m = ManifestResponse{} } 691 func (m *ManifestResponse) String() string { return proto.CompactTextString(m) } 692 func (*ManifestResponse) ProtoMessage() {} 693 func (*ManifestResponse) Descriptor() ([]byte, []int) { 694 return fileDescriptor_dd8723cfcc820480, []int{8} 695 } 696 func (m *ManifestResponse) XXX_Unmarshal(b []byte) error { 697 return m.Unmarshal(b) 698 } 699 func (m *ManifestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 700 if deterministic { 701 return xxx_messageInfo_ManifestResponse.Marshal(b, m, deterministic) 702 } else { 703 b = b[:cap(b)] 704 n, err := m.MarshalToSizedBuffer(b) 705 if err != nil { 706 return nil, err 707 } 708 return b[:n], nil 709 } 710 } 711 func (m *ManifestResponse) XXX_Merge(src proto.Message) { 712 xxx_messageInfo_ManifestResponse.Merge(m, src) 713 } 714 func (m *ManifestResponse) XXX_Size() int { 715 return m.Size() 716 } 717 func (m *ManifestResponse) XXX_DiscardUnknown() { 718 xxx_messageInfo_ManifestResponse.DiscardUnknown(m) 719 } 720 721 var xxx_messageInfo_ManifestResponse proto.InternalMessageInfo 722 723 func (m *ManifestResponse) GetManifests() []string { 724 if m != nil { 725 return m.Manifests 726 } 727 return nil 728 } 729 730 func (m *ManifestResponse) GetNamespace() string { 731 if m != nil { 732 return m.Namespace 733 } 734 return "" 735 } 736 737 func (m *ManifestResponse) GetServer() string { 738 if m != nil { 739 return m.Server 740 } 741 return "" 742 } 743 744 func (m *ManifestResponse) GetRevision() string { 745 if m != nil { 746 return m.Revision 747 } 748 return "" 749 } 750 751 func (m *ManifestResponse) GetSourceType() string { 752 if m != nil { 753 return m.SourceType 754 } 755 return "" 756 } 757 758 func (m *ManifestResponse) GetVerifyResult() string { 759 if m != nil { 760 return m.VerifyResult 761 } 762 return "" 763 } 764 765 type ListRefsRequest struct { 766 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 767 XXX_NoUnkeyedLiteral struct{} `json:"-"` 768 XXX_unrecognized []byte `json:"-"` 769 XXX_sizecache int32 `json:"-"` 770 } 771 772 func (m *ListRefsRequest) Reset() { *m = ListRefsRequest{} } 773 func (m *ListRefsRequest) String() string { return proto.CompactTextString(m) } 774 func (*ListRefsRequest) ProtoMessage() {} 775 func (*ListRefsRequest) Descriptor() ([]byte, []int) { 776 return fileDescriptor_dd8723cfcc820480, []int{9} 777 } 778 func (m *ListRefsRequest) XXX_Unmarshal(b []byte) error { 779 return m.Unmarshal(b) 780 } 781 func (m *ListRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 782 if deterministic { 783 return xxx_messageInfo_ListRefsRequest.Marshal(b, m, deterministic) 784 } else { 785 b = b[:cap(b)] 786 n, err := m.MarshalToSizedBuffer(b) 787 if err != nil { 788 return nil, err 789 } 790 return b[:n], nil 791 } 792 } 793 func (m *ListRefsRequest) XXX_Merge(src proto.Message) { 794 xxx_messageInfo_ListRefsRequest.Merge(m, src) 795 } 796 func (m *ListRefsRequest) XXX_Size() int { 797 return m.Size() 798 } 799 func (m *ListRefsRequest) XXX_DiscardUnknown() { 800 xxx_messageInfo_ListRefsRequest.DiscardUnknown(m) 801 } 802 803 var xxx_messageInfo_ListRefsRequest proto.InternalMessageInfo 804 805 func (m *ListRefsRequest) GetRepo() *v1alpha1.Repository { 806 if m != nil { 807 return m.Repo 808 } 809 return nil 810 } 811 812 // A subset of the repository's named refs 813 type Refs struct { 814 Branches []string `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` 815 Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` 816 XXX_NoUnkeyedLiteral struct{} `json:"-"` 817 XXX_unrecognized []byte `json:"-"` 818 XXX_sizecache int32 `json:"-"` 819 } 820 821 func (m *Refs) Reset() { *m = Refs{} } 822 func (m *Refs) String() string { return proto.CompactTextString(m) } 823 func (*Refs) ProtoMessage() {} 824 func (*Refs) Descriptor() ([]byte, []int) { 825 return fileDescriptor_dd8723cfcc820480, []int{10} 826 } 827 func (m *Refs) XXX_Unmarshal(b []byte) error { 828 return m.Unmarshal(b) 829 } 830 func (m *Refs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 831 if deterministic { 832 return xxx_messageInfo_Refs.Marshal(b, m, deterministic) 833 } else { 834 b = b[:cap(b)] 835 n, err := m.MarshalToSizedBuffer(b) 836 if err != nil { 837 return nil, err 838 } 839 return b[:n], nil 840 } 841 } 842 func (m *Refs) XXX_Merge(src proto.Message) { 843 xxx_messageInfo_Refs.Merge(m, src) 844 } 845 func (m *Refs) XXX_Size() int { 846 return m.Size() 847 } 848 func (m *Refs) XXX_DiscardUnknown() { 849 xxx_messageInfo_Refs.DiscardUnknown(m) 850 } 851 852 var xxx_messageInfo_Refs proto.InternalMessageInfo 853 854 func (m *Refs) GetBranches() []string { 855 if m != nil { 856 return m.Branches 857 } 858 return nil 859 } 860 861 func (m *Refs) GetTags() []string { 862 if m != nil { 863 return m.Tags 864 } 865 return nil 866 } 867 868 // ListAppsRequest requests a repository directory structure 869 type ListAppsRequest struct { 870 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 871 Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 872 EnabledSourceTypes map[string]bool `protobuf:"bytes,3,rep,name=enabledSourceTypes,proto3" json:"enabledSourceTypes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 873 XXX_NoUnkeyedLiteral struct{} `json:"-"` 874 XXX_unrecognized []byte `json:"-"` 875 XXX_sizecache int32 `json:"-"` 876 } 877 878 func (m *ListAppsRequest) Reset() { *m = ListAppsRequest{} } 879 func (m *ListAppsRequest) String() string { return proto.CompactTextString(m) } 880 func (*ListAppsRequest) ProtoMessage() {} 881 func (*ListAppsRequest) Descriptor() ([]byte, []int) { 882 return fileDescriptor_dd8723cfcc820480, []int{11} 883 } 884 func (m *ListAppsRequest) XXX_Unmarshal(b []byte) error { 885 return m.Unmarshal(b) 886 } 887 func (m *ListAppsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 888 if deterministic { 889 return xxx_messageInfo_ListAppsRequest.Marshal(b, m, deterministic) 890 } else { 891 b = b[:cap(b)] 892 n, err := m.MarshalToSizedBuffer(b) 893 if err != nil { 894 return nil, err 895 } 896 return b[:n], nil 897 } 898 } 899 func (m *ListAppsRequest) XXX_Merge(src proto.Message) { 900 xxx_messageInfo_ListAppsRequest.Merge(m, src) 901 } 902 func (m *ListAppsRequest) XXX_Size() int { 903 return m.Size() 904 } 905 func (m *ListAppsRequest) XXX_DiscardUnknown() { 906 xxx_messageInfo_ListAppsRequest.DiscardUnknown(m) 907 } 908 909 var xxx_messageInfo_ListAppsRequest proto.InternalMessageInfo 910 911 func (m *ListAppsRequest) GetRepo() *v1alpha1.Repository { 912 if m != nil { 913 return m.Repo 914 } 915 return nil 916 } 917 918 func (m *ListAppsRequest) GetRevision() string { 919 if m != nil { 920 return m.Revision 921 } 922 return "" 923 } 924 925 func (m *ListAppsRequest) GetEnabledSourceTypes() map[string]bool { 926 if m != nil { 927 return m.EnabledSourceTypes 928 } 929 return nil 930 } 931 932 // AppList returns the contents of the repo of a ListApps request 933 type AppList struct { 934 Apps map[string]string `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 935 XXX_NoUnkeyedLiteral struct{} `json:"-"` 936 XXX_unrecognized []byte `json:"-"` 937 XXX_sizecache int32 `json:"-"` 938 } 939 940 func (m *AppList) Reset() { *m = AppList{} } 941 func (m *AppList) String() string { return proto.CompactTextString(m) } 942 func (*AppList) ProtoMessage() {} 943 func (*AppList) Descriptor() ([]byte, []int) { 944 return fileDescriptor_dd8723cfcc820480, []int{12} 945 } 946 func (m *AppList) XXX_Unmarshal(b []byte) error { 947 return m.Unmarshal(b) 948 } 949 func (m *AppList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 950 if deterministic { 951 return xxx_messageInfo_AppList.Marshal(b, m, deterministic) 952 } else { 953 b = b[:cap(b)] 954 n, err := m.MarshalToSizedBuffer(b) 955 if err != nil { 956 return nil, err 957 } 958 return b[:n], nil 959 } 960 } 961 func (m *AppList) XXX_Merge(src proto.Message) { 962 xxx_messageInfo_AppList.Merge(m, src) 963 } 964 func (m *AppList) XXX_Size() int { 965 return m.Size() 966 } 967 func (m *AppList) XXX_DiscardUnknown() { 968 xxx_messageInfo_AppList.DiscardUnknown(m) 969 } 970 971 var xxx_messageInfo_AppList proto.InternalMessageInfo 972 973 func (m *AppList) GetApps() map[string]string { 974 if m != nil { 975 return m.Apps 976 } 977 return nil 978 } 979 980 type PluginInfo struct { 981 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 982 XXX_NoUnkeyedLiteral struct{} `json:"-"` 983 XXX_unrecognized []byte `json:"-"` 984 XXX_sizecache int32 `json:"-"` 985 } 986 987 func (m *PluginInfo) Reset() { *m = PluginInfo{} } 988 func (m *PluginInfo) String() string { return proto.CompactTextString(m) } 989 func (*PluginInfo) ProtoMessage() {} 990 func (*PluginInfo) Descriptor() ([]byte, []int) { 991 return fileDescriptor_dd8723cfcc820480, []int{13} 992 } 993 func (m *PluginInfo) XXX_Unmarshal(b []byte) error { 994 return m.Unmarshal(b) 995 } 996 func (m *PluginInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 997 if deterministic { 998 return xxx_messageInfo_PluginInfo.Marshal(b, m, deterministic) 999 } else { 1000 b = b[:cap(b)] 1001 n, err := m.MarshalToSizedBuffer(b) 1002 if err != nil { 1003 return nil, err 1004 } 1005 return b[:n], nil 1006 } 1007 } 1008 func (m *PluginInfo) XXX_Merge(src proto.Message) { 1009 xxx_messageInfo_PluginInfo.Merge(m, src) 1010 } 1011 func (m *PluginInfo) XXX_Size() int { 1012 return m.Size() 1013 } 1014 func (m *PluginInfo) XXX_DiscardUnknown() { 1015 xxx_messageInfo_PluginInfo.DiscardUnknown(m) 1016 } 1017 1018 var xxx_messageInfo_PluginInfo proto.InternalMessageInfo 1019 1020 func (m *PluginInfo) GetName() string { 1021 if m != nil { 1022 return m.Name 1023 } 1024 return "" 1025 } 1026 1027 // PluginList returns the list of all cmp v2 plugins running as sidecars 1028 type PluginList struct { 1029 Items []*PluginInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 1030 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1031 XXX_unrecognized []byte `json:"-"` 1032 XXX_sizecache int32 `json:"-"` 1033 } 1034 1035 func (m *PluginList) Reset() { *m = PluginList{} } 1036 func (m *PluginList) String() string { return proto.CompactTextString(m) } 1037 func (*PluginList) ProtoMessage() {} 1038 func (*PluginList) Descriptor() ([]byte, []int) { 1039 return fileDescriptor_dd8723cfcc820480, []int{14} 1040 } 1041 func (m *PluginList) XXX_Unmarshal(b []byte) error { 1042 return m.Unmarshal(b) 1043 } 1044 func (m *PluginList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1045 if deterministic { 1046 return xxx_messageInfo_PluginList.Marshal(b, m, deterministic) 1047 } else { 1048 b = b[:cap(b)] 1049 n, err := m.MarshalToSizedBuffer(b) 1050 if err != nil { 1051 return nil, err 1052 } 1053 return b[:n], nil 1054 } 1055 } 1056 func (m *PluginList) XXX_Merge(src proto.Message) { 1057 xxx_messageInfo_PluginList.Merge(m, src) 1058 } 1059 func (m *PluginList) XXX_Size() int { 1060 return m.Size() 1061 } 1062 func (m *PluginList) XXX_DiscardUnknown() { 1063 xxx_messageInfo_PluginList.DiscardUnknown(m) 1064 } 1065 1066 var xxx_messageInfo_PluginList proto.InternalMessageInfo 1067 1068 func (m *PluginList) GetItems() []*PluginInfo { 1069 if m != nil { 1070 return m.Items 1071 } 1072 return nil 1073 } 1074 1075 // RepoServerAppDetailsQuery contains query information for app details request 1076 type RepoServerAppDetailsQuery struct { 1077 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 1078 Source *v1alpha1.ApplicationSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` 1079 Repos []*v1alpha1.Repository `protobuf:"bytes,3,rep,name=repos,proto3" json:"repos,omitempty"` 1080 KustomizeOptions *v1alpha1.KustomizeOptions `protobuf:"bytes,4,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"` 1081 AppName string `protobuf:"bytes,5,opt,name=appName,proto3" json:"appName,omitempty"` 1082 NoCache bool `protobuf:"varint,6,opt,name=noCache,proto3" json:"noCache,omitempty"` 1083 NoRevisionCache bool `protobuf:"varint,7,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"` 1084 TrackingMethod string `protobuf:"bytes,8,opt,name=trackingMethod,proto3" json:"trackingMethod,omitempty"` 1085 EnabledSourceTypes map[string]bool `protobuf:"bytes,9,rep,name=enabledSourceTypes,proto3" json:"enabledSourceTypes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 1086 HelmOptions *v1alpha1.HelmOptions `protobuf:"bytes,10,opt,name=helmOptions,proto3" json:"helmOptions,omitempty"` 1087 RefSources map[string]*v1alpha1.RefTarget `protobuf:"bytes,11,rep,name=refSources,proto3" json:"refSources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1088 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1089 XXX_unrecognized []byte `json:"-"` 1090 XXX_sizecache int32 `json:"-"` 1091 } 1092 1093 func (m *RepoServerAppDetailsQuery) Reset() { *m = RepoServerAppDetailsQuery{} } 1094 func (m *RepoServerAppDetailsQuery) String() string { return proto.CompactTextString(m) } 1095 func (*RepoServerAppDetailsQuery) ProtoMessage() {} 1096 func (*RepoServerAppDetailsQuery) Descriptor() ([]byte, []int) { 1097 return fileDescriptor_dd8723cfcc820480, []int{15} 1098 } 1099 func (m *RepoServerAppDetailsQuery) XXX_Unmarshal(b []byte) error { 1100 return m.Unmarshal(b) 1101 } 1102 func (m *RepoServerAppDetailsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1103 if deterministic { 1104 return xxx_messageInfo_RepoServerAppDetailsQuery.Marshal(b, m, deterministic) 1105 } else { 1106 b = b[:cap(b)] 1107 n, err := m.MarshalToSizedBuffer(b) 1108 if err != nil { 1109 return nil, err 1110 } 1111 return b[:n], nil 1112 } 1113 } 1114 func (m *RepoServerAppDetailsQuery) XXX_Merge(src proto.Message) { 1115 xxx_messageInfo_RepoServerAppDetailsQuery.Merge(m, src) 1116 } 1117 func (m *RepoServerAppDetailsQuery) XXX_Size() int { 1118 return m.Size() 1119 } 1120 func (m *RepoServerAppDetailsQuery) XXX_DiscardUnknown() { 1121 xxx_messageInfo_RepoServerAppDetailsQuery.DiscardUnknown(m) 1122 } 1123 1124 var xxx_messageInfo_RepoServerAppDetailsQuery proto.InternalMessageInfo 1125 1126 func (m *RepoServerAppDetailsQuery) GetRepo() *v1alpha1.Repository { 1127 if m != nil { 1128 return m.Repo 1129 } 1130 return nil 1131 } 1132 1133 func (m *RepoServerAppDetailsQuery) GetSource() *v1alpha1.ApplicationSource { 1134 if m != nil { 1135 return m.Source 1136 } 1137 return nil 1138 } 1139 1140 func (m *RepoServerAppDetailsQuery) GetRepos() []*v1alpha1.Repository { 1141 if m != nil { 1142 return m.Repos 1143 } 1144 return nil 1145 } 1146 1147 func (m *RepoServerAppDetailsQuery) GetKustomizeOptions() *v1alpha1.KustomizeOptions { 1148 if m != nil { 1149 return m.KustomizeOptions 1150 } 1151 return nil 1152 } 1153 1154 func (m *RepoServerAppDetailsQuery) GetAppName() string { 1155 if m != nil { 1156 return m.AppName 1157 } 1158 return "" 1159 } 1160 1161 func (m *RepoServerAppDetailsQuery) GetNoCache() bool { 1162 if m != nil { 1163 return m.NoCache 1164 } 1165 return false 1166 } 1167 1168 func (m *RepoServerAppDetailsQuery) GetNoRevisionCache() bool { 1169 if m != nil { 1170 return m.NoRevisionCache 1171 } 1172 return false 1173 } 1174 1175 func (m *RepoServerAppDetailsQuery) GetTrackingMethod() string { 1176 if m != nil { 1177 return m.TrackingMethod 1178 } 1179 return "" 1180 } 1181 1182 func (m *RepoServerAppDetailsQuery) GetEnabledSourceTypes() map[string]bool { 1183 if m != nil { 1184 return m.EnabledSourceTypes 1185 } 1186 return nil 1187 } 1188 1189 func (m *RepoServerAppDetailsQuery) GetHelmOptions() *v1alpha1.HelmOptions { 1190 if m != nil { 1191 return m.HelmOptions 1192 } 1193 return nil 1194 } 1195 1196 func (m *RepoServerAppDetailsQuery) GetRefSources() map[string]*v1alpha1.RefTarget { 1197 if m != nil { 1198 return m.RefSources 1199 } 1200 return nil 1201 } 1202 1203 // RepoAppDetailsResponse application details 1204 type RepoAppDetailsResponse struct { 1205 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 1206 Helm *HelmAppSpec `protobuf:"bytes,3,opt,name=helm,proto3" json:"helm,omitempty"` 1207 Kustomize *KustomizeAppSpec `protobuf:"bytes,4,opt,name=kustomize,proto3" json:"kustomize,omitempty"` 1208 Directory *DirectoryAppSpec `protobuf:"bytes,5,opt,name=directory,proto3" json:"directory,omitempty"` 1209 Plugin *PluginAppSpec `protobuf:"bytes,6,opt,name=plugin,proto3" json:"plugin,omitempty"` 1210 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1211 XXX_unrecognized []byte `json:"-"` 1212 XXX_sizecache int32 `json:"-"` 1213 } 1214 1215 func (m *RepoAppDetailsResponse) Reset() { *m = RepoAppDetailsResponse{} } 1216 func (m *RepoAppDetailsResponse) String() string { return proto.CompactTextString(m) } 1217 func (*RepoAppDetailsResponse) ProtoMessage() {} 1218 func (*RepoAppDetailsResponse) Descriptor() ([]byte, []int) { 1219 return fileDescriptor_dd8723cfcc820480, []int{16} 1220 } 1221 func (m *RepoAppDetailsResponse) XXX_Unmarshal(b []byte) error { 1222 return m.Unmarshal(b) 1223 } 1224 func (m *RepoAppDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1225 if deterministic { 1226 return xxx_messageInfo_RepoAppDetailsResponse.Marshal(b, m, deterministic) 1227 } else { 1228 b = b[:cap(b)] 1229 n, err := m.MarshalToSizedBuffer(b) 1230 if err != nil { 1231 return nil, err 1232 } 1233 return b[:n], nil 1234 } 1235 } 1236 func (m *RepoAppDetailsResponse) XXX_Merge(src proto.Message) { 1237 xxx_messageInfo_RepoAppDetailsResponse.Merge(m, src) 1238 } 1239 func (m *RepoAppDetailsResponse) XXX_Size() int { 1240 return m.Size() 1241 } 1242 func (m *RepoAppDetailsResponse) XXX_DiscardUnknown() { 1243 xxx_messageInfo_RepoAppDetailsResponse.DiscardUnknown(m) 1244 } 1245 1246 var xxx_messageInfo_RepoAppDetailsResponse proto.InternalMessageInfo 1247 1248 func (m *RepoAppDetailsResponse) GetType() string { 1249 if m != nil { 1250 return m.Type 1251 } 1252 return "" 1253 } 1254 1255 func (m *RepoAppDetailsResponse) GetHelm() *HelmAppSpec { 1256 if m != nil { 1257 return m.Helm 1258 } 1259 return nil 1260 } 1261 1262 func (m *RepoAppDetailsResponse) GetKustomize() *KustomizeAppSpec { 1263 if m != nil { 1264 return m.Kustomize 1265 } 1266 return nil 1267 } 1268 1269 func (m *RepoAppDetailsResponse) GetDirectory() *DirectoryAppSpec { 1270 if m != nil { 1271 return m.Directory 1272 } 1273 return nil 1274 } 1275 1276 func (m *RepoAppDetailsResponse) GetPlugin() *PluginAppSpec { 1277 if m != nil { 1278 return m.Plugin 1279 } 1280 return nil 1281 } 1282 1283 type RepoServerRevisionMetadataRequest struct { 1284 // the repo 1285 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 1286 // the revision within the repo 1287 Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1288 // whether to check signature on revision 1289 CheckSignature bool `protobuf:"varint,3,opt,name=checkSignature,proto3" json:"checkSignature,omitempty"` 1290 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1291 XXX_unrecognized []byte `json:"-"` 1292 XXX_sizecache int32 `json:"-"` 1293 } 1294 1295 func (m *RepoServerRevisionMetadataRequest) Reset() { *m = RepoServerRevisionMetadataRequest{} } 1296 func (m *RepoServerRevisionMetadataRequest) String() string { return proto.CompactTextString(m) } 1297 func (*RepoServerRevisionMetadataRequest) ProtoMessage() {} 1298 func (*RepoServerRevisionMetadataRequest) Descriptor() ([]byte, []int) { 1299 return fileDescriptor_dd8723cfcc820480, []int{17} 1300 } 1301 func (m *RepoServerRevisionMetadataRequest) XXX_Unmarshal(b []byte) error { 1302 return m.Unmarshal(b) 1303 } 1304 func (m *RepoServerRevisionMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1305 if deterministic { 1306 return xxx_messageInfo_RepoServerRevisionMetadataRequest.Marshal(b, m, deterministic) 1307 } else { 1308 b = b[:cap(b)] 1309 n, err := m.MarshalToSizedBuffer(b) 1310 if err != nil { 1311 return nil, err 1312 } 1313 return b[:n], nil 1314 } 1315 } 1316 func (m *RepoServerRevisionMetadataRequest) XXX_Merge(src proto.Message) { 1317 xxx_messageInfo_RepoServerRevisionMetadataRequest.Merge(m, src) 1318 } 1319 func (m *RepoServerRevisionMetadataRequest) XXX_Size() int { 1320 return m.Size() 1321 } 1322 func (m *RepoServerRevisionMetadataRequest) XXX_DiscardUnknown() { 1323 xxx_messageInfo_RepoServerRevisionMetadataRequest.DiscardUnknown(m) 1324 } 1325 1326 var xxx_messageInfo_RepoServerRevisionMetadataRequest proto.InternalMessageInfo 1327 1328 func (m *RepoServerRevisionMetadataRequest) GetRepo() *v1alpha1.Repository { 1329 if m != nil { 1330 return m.Repo 1331 } 1332 return nil 1333 } 1334 1335 func (m *RepoServerRevisionMetadataRequest) GetRevision() string { 1336 if m != nil { 1337 return m.Revision 1338 } 1339 return "" 1340 } 1341 1342 func (m *RepoServerRevisionMetadataRequest) GetCheckSignature() bool { 1343 if m != nil { 1344 return m.CheckSignature 1345 } 1346 return false 1347 } 1348 1349 type RepoServerRevisionChartDetailsRequest struct { 1350 // the repo 1351 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 1352 // the chart 1353 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1354 // the revision within the chart 1355 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` 1356 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1357 XXX_unrecognized []byte `json:"-"` 1358 XXX_sizecache int32 `json:"-"` 1359 } 1360 1361 func (m *RepoServerRevisionChartDetailsRequest) Reset() { *m = RepoServerRevisionChartDetailsRequest{} } 1362 func (m *RepoServerRevisionChartDetailsRequest) String() string { return proto.CompactTextString(m) } 1363 func (*RepoServerRevisionChartDetailsRequest) ProtoMessage() {} 1364 func (*RepoServerRevisionChartDetailsRequest) Descriptor() ([]byte, []int) { 1365 return fileDescriptor_dd8723cfcc820480, []int{18} 1366 } 1367 func (m *RepoServerRevisionChartDetailsRequest) XXX_Unmarshal(b []byte) error { 1368 return m.Unmarshal(b) 1369 } 1370 func (m *RepoServerRevisionChartDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1371 if deterministic { 1372 return xxx_messageInfo_RepoServerRevisionChartDetailsRequest.Marshal(b, m, deterministic) 1373 } else { 1374 b = b[:cap(b)] 1375 n, err := m.MarshalToSizedBuffer(b) 1376 if err != nil { 1377 return nil, err 1378 } 1379 return b[:n], nil 1380 } 1381 } 1382 func (m *RepoServerRevisionChartDetailsRequest) XXX_Merge(src proto.Message) { 1383 xxx_messageInfo_RepoServerRevisionChartDetailsRequest.Merge(m, src) 1384 } 1385 func (m *RepoServerRevisionChartDetailsRequest) XXX_Size() int { 1386 return m.Size() 1387 } 1388 func (m *RepoServerRevisionChartDetailsRequest) XXX_DiscardUnknown() { 1389 xxx_messageInfo_RepoServerRevisionChartDetailsRequest.DiscardUnknown(m) 1390 } 1391 1392 var xxx_messageInfo_RepoServerRevisionChartDetailsRequest proto.InternalMessageInfo 1393 1394 func (m *RepoServerRevisionChartDetailsRequest) GetRepo() *v1alpha1.Repository { 1395 if m != nil { 1396 return m.Repo 1397 } 1398 return nil 1399 } 1400 1401 func (m *RepoServerRevisionChartDetailsRequest) GetName() string { 1402 if m != nil { 1403 return m.Name 1404 } 1405 return "" 1406 } 1407 1408 func (m *RepoServerRevisionChartDetailsRequest) GetRevision() string { 1409 if m != nil { 1410 return m.Revision 1411 } 1412 return "" 1413 } 1414 1415 // HelmAppSpec contains helm app name in source repo 1416 type HelmAppSpec struct { 1417 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1418 ValueFiles []string `protobuf:"bytes,3,rep,name=valueFiles,proto3" json:"valueFiles,omitempty"` 1419 // the output of `helm inspect values` 1420 Parameters []*v1alpha1.HelmParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` 1421 // the contents of values.yaml 1422 Values string `protobuf:"bytes,5,opt,name=values,proto3" json:"values,omitempty"` 1423 // helm file parameters 1424 FileParameters []*v1alpha1.HelmFileParameter `protobuf:"bytes,6,rep,name=fileParameters,proto3" json:"fileParameters,omitempty"` 1425 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1426 XXX_unrecognized []byte `json:"-"` 1427 XXX_sizecache int32 `json:"-"` 1428 } 1429 1430 func (m *HelmAppSpec) Reset() { *m = HelmAppSpec{} } 1431 func (m *HelmAppSpec) String() string { return proto.CompactTextString(m) } 1432 func (*HelmAppSpec) ProtoMessage() {} 1433 func (*HelmAppSpec) Descriptor() ([]byte, []int) { 1434 return fileDescriptor_dd8723cfcc820480, []int{19} 1435 } 1436 func (m *HelmAppSpec) XXX_Unmarshal(b []byte) error { 1437 return m.Unmarshal(b) 1438 } 1439 func (m *HelmAppSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1440 if deterministic { 1441 return xxx_messageInfo_HelmAppSpec.Marshal(b, m, deterministic) 1442 } else { 1443 b = b[:cap(b)] 1444 n, err := m.MarshalToSizedBuffer(b) 1445 if err != nil { 1446 return nil, err 1447 } 1448 return b[:n], nil 1449 } 1450 } 1451 func (m *HelmAppSpec) XXX_Merge(src proto.Message) { 1452 xxx_messageInfo_HelmAppSpec.Merge(m, src) 1453 } 1454 func (m *HelmAppSpec) XXX_Size() int { 1455 return m.Size() 1456 } 1457 func (m *HelmAppSpec) XXX_DiscardUnknown() { 1458 xxx_messageInfo_HelmAppSpec.DiscardUnknown(m) 1459 } 1460 1461 var xxx_messageInfo_HelmAppSpec proto.InternalMessageInfo 1462 1463 func (m *HelmAppSpec) GetName() string { 1464 if m != nil { 1465 return m.Name 1466 } 1467 return "" 1468 } 1469 1470 func (m *HelmAppSpec) GetValueFiles() []string { 1471 if m != nil { 1472 return m.ValueFiles 1473 } 1474 return nil 1475 } 1476 1477 func (m *HelmAppSpec) GetParameters() []*v1alpha1.HelmParameter { 1478 if m != nil { 1479 return m.Parameters 1480 } 1481 return nil 1482 } 1483 1484 func (m *HelmAppSpec) GetValues() string { 1485 if m != nil { 1486 return m.Values 1487 } 1488 return "" 1489 } 1490 1491 func (m *HelmAppSpec) GetFileParameters() []*v1alpha1.HelmFileParameter { 1492 if m != nil { 1493 return m.FileParameters 1494 } 1495 return nil 1496 } 1497 1498 // KustomizeAppSpec contains kustomize images 1499 type KustomizeAppSpec struct { 1500 // images is a list of available images. 1501 Images []string `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty"` 1502 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1503 XXX_unrecognized []byte `json:"-"` 1504 XXX_sizecache int32 `json:"-"` 1505 } 1506 1507 func (m *KustomizeAppSpec) Reset() { *m = KustomizeAppSpec{} } 1508 func (m *KustomizeAppSpec) String() string { return proto.CompactTextString(m) } 1509 func (*KustomizeAppSpec) ProtoMessage() {} 1510 func (*KustomizeAppSpec) Descriptor() ([]byte, []int) { 1511 return fileDescriptor_dd8723cfcc820480, []int{20} 1512 } 1513 func (m *KustomizeAppSpec) XXX_Unmarshal(b []byte) error { 1514 return m.Unmarshal(b) 1515 } 1516 func (m *KustomizeAppSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1517 if deterministic { 1518 return xxx_messageInfo_KustomizeAppSpec.Marshal(b, m, deterministic) 1519 } else { 1520 b = b[:cap(b)] 1521 n, err := m.MarshalToSizedBuffer(b) 1522 if err != nil { 1523 return nil, err 1524 } 1525 return b[:n], nil 1526 } 1527 } 1528 func (m *KustomizeAppSpec) XXX_Merge(src proto.Message) { 1529 xxx_messageInfo_KustomizeAppSpec.Merge(m, src) 1530 } 1531 func (m *KustomizeAppSpec) XXX_Size() int { 1532 return m.Size() 1533 } 1534 func (m *KustomizeAppSpec) XXX_DiscardUnknown() { 1535 xxx_messageInfo_KustomizeAppSpec.DiscardUnknown(m) 1536 } 1537 1538 var xxx_messageInfo_KustomizeAppSpec proto.InternalMessageInfo 1539 1540 func (m *KustomizeAppSpec) GetImages() []string { 1541 if m != nil { 1542 return m.Images 1543 } 1544 return nil 1545 } 1546 1547 // DirectoryAppSpec contains directory 1548 type DirectoryAppSpec struct { 1549 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1550 XXX_unrecognized []byte `json:"-"` 1551 XXX_sizecache int32 `json:"-"` 1552 } 1553 1554 func (m *DirectoryAppSpec) Reset() { *m = DirectoryAppSpec{} } 1555 func (m *DirectoryAppSpec) String() string { return proto.CompactTextString(m) } 1556 func (*DirectoryAppSpec) ProtoMessage() {} 1557 func (*DirectoryAppSpec) Descriptor() ([]byte, []int) { 1558 return fileDescriptor_dd8723cfcc820480, []int{21} 1559 } 1560 func (m *DirectoryAppSpec) XXX_Unmarshal(b []byte) error { 1561 return m.Unmarshal(b) 1562 } 1563 func (m *DirectoryAppSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1564 if deterministic { 1565 return xxx_messageInfo_DirectoryAppSpec.Marshal(b, m, deterministic) 1566 } else { 1567 b = b[:cap(b)] 1568 n, err := m.MarshalToSizedBuffer(b) 1569 if err != nil { 1570 return nil, err 1571 } 1572 return b[:n], nil 1573 } 1574 } 1575 func (m *DirectoryAppSpec) XXX_Merge(src proto.Message) { 1576 xxx_messageInfo_DirectoryAppSpec.Merge(m, src) 1577 } 1578 func (m *DirectoryAppSpec) XXX_Size() int { 1579 return m.Size() 1580 } 1581 func (m *DirectoryAppSpec) XXX_DiscardUnknown() { 1582 xxx_messageInfo_DirectoryAppSpec.DiscardUnknown(m) 1583 } 1584 1585 var xxx_messageInfo_DirectoryAppSpec proto.InternalMessageInfo 1586 1587 type ParameterAnnouncement struct { 1588 // name is the name identifying a parameter. 1589 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1590 // title is a human-readable text of the parameter name. 1591 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 1592 // tooltip is a human-readable description of the parameter. 1593 Tooltip string `protobuf:"bytes,3,opt,name=tooltip,proto3" json:"tooltip,omitempty"` 1594 // required defines if this given parameter is mandatory. 1595 Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` 1596 // itemType determines the primitive data type represented by the parameter. Parameters are always encoded as 1597 // strings, but this field lets them be interpreted as other primitive types. 1598 ItemType string `protobuf:"bytes,5,opt,name=itemType,proto3" json:"itemType,omitempty"` 1599 // collectionType is the type of value this parameter holds - either a single value (a string) or a collection 1600 // (array or map). If collectionType is set, only the field with that type will be used. If collectionType is not 1601 // set, `string` is the default. If collectionType is set to an invalid value, a validation error is thrown. 1602 CollectionType string `protobuf:"bytes,6,opt,name=collectionType,proto3" json:"collectionType,omitempty"` 1603 // string is the default value of the parameter if the parameter is a string. 1604 String_ string `protobuf:"bytes,7,opt,name=string,proto3" json:"string,omitempty"` 1605 // array is the default value of the parameter if the parameter is an array. 1606 Array []string `protobuf:"bytes,8,rep,name=array,proto3" json:"array,omitempty"` 1607 // map is the default value of the parameter if the parameter is a map. 1608 Map map[string]string `protobuf:"bytes,9,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1609 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1610 XXX_unrecognized []byte `json:"-"` 1611 XXX_sizecache int32 `json:"-"` 1612 } 1613 1614 func (m *ParameterAnnouncement) Reset() { *m = ParameterAnnouncement{} } 1615 func (m *ParameterAnnouncement) String() string { return proto.CompactTextString(m) } 1616 func (*ParameterAnnouncement) ProtoMessage() {} 1617 func (*ParameterAnnouncement) Descriptor() ([]byte, []int) { 1618 return fileDescriptor_dd8723cfcc820480, []int{22} 1619 } 1620 func (m *ParameterAnnouncement) XXX_Unmarshal(b []byte) error { 1621 return m.Unmarshal(b) 1622 } 1623 func (m *ParameterAnnouncement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1624 if deterministic { 1625 return xxx_messageInfo_ParameterAnnouncement.Marshal(b, m, deterministic) 1626 } else { 1627 b = b[:cap(b)] 1628 n, err := m.MarshalToSizedBuffer(b) 1629 if err != nil { 1630 return nil, err 1631 } 1632 return b[:n], nil 1633 } 1634 } 1635 func (m *ParameterAnnouncement) XXX_Merge(src proto.Message) { 1636 xxx_messageInfo_ParameterAnnouncement.Merge(m, src) 1637 } 1638 func (m *ParameterAnnouncement) XXX_Size() int { 1639 return m.Size() 1640 } 1641 func (m *ParameterAnnouncement) XXX_DiscardUnknown() { 1642 xxx_messageInfo_ParameterAnnouncement.DiscardUnknown(m) 1643 } 1644 1645 var xxx_messageInfo_ParameterAnnouncement proto.InternalMessageInfo 1646 1647 func (m *ParameterAnnouncement) GetName() string { 1648 if m != nil { 1649 return m.Name 1650 } 1651 return "" 1652 } 1653 1654 func (m *ParameterAnnouncement) GetTitle() string { 1655 if m != nil { 1656 return m.Title 1657 } 1658 return "" 1659 } 1660 1661 func (m *ParameterAnnouncement) GetTooltip() string { 1662 if m != nil { 1663 return m.Tooltip 1664 } 1665 return "" 1666 } 1667 1668 func (m *ParameterAnnouncement) GetRequired() bool { 1669 if m != nil { 1670 return m.Required 1671 } 1672 return false 1673 } 1674 1675 func (m *ParameterAnnouncement) GetItemType() string { 1676 if m != nil { 1677 return m.ItemType 1678 } 1679 return "" 1680 } 1681 1682 func (m *ParameterAnnouncement) GetCollectionType() string { 1683 if m != nil { 1684 return m.CollectionType 1685 } 1686 return "" 1687 } 1688 1689 func (m *ParameterAnnouncement) GetString_() string { 1690 if m != nil { 1691 return m.String_ 1692 } 1693 return "" 1694 } 1695 1696 func (m *ParameterAnnouncement) GetArray() []string { 1697 if m != nil { 1698 return m.Array 1699 } 1700 return nil 1701 } 1702 1703 func (m *ParameterAnnouncement) GetMap() map[string]string { 1704 if m != nil { 1705 return m.Map 1706 } 1707 return nil 1708 } 1709 1710 // PluginAppSpec contains details about a plugin-type Application 1711 type PluginAppSpec struct { 1712 ParametersAnnouncement []*ParameterAnnouncement `protobuf:"bytes,1,rep,name=parametersAnnouncement,proto3" json:"parametersAnnouncement,omitempty"` 1713 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1714 XXX_unrecognized []byte `json:"-"` 1715 XXX_sizecache int32 `json:"-"` 1716 } 1717 1718 func (m *PluginAppSpec) Reset() { *m = PluginAppSpec{} } 1719 func (m *PluginAppSpec) String() string { return proto.CompactTextString(m) } 1720 func (*PluginAppSpec) ProtoMessage() {} 1721 func (*PluginAppSpec) Descriptor() ([]byte, []int) { 1722 return fileDescriptor_dd8723cfcc820480, []int{23} 1723 } 1724 func (m *PluginAppSpec) XXX_Unmarshal(b []byte) error { 1725 return m.Unmarshal(b) 1726 } 1727 func (m *PluginAppSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1728 if deterministic { 1729 return xxx_messageInfo_PluginAppSpec.Marshal(b, m, deterministic) 1730 } else { 1731 b = b[:cap(b)] 1732 n, err := m.MarshalToSizedBuffer(b) 1733 if err != nil { 1734 return nil, err 1735 } 1736 return b[:n], nil 1737 } 1738 } 1739 func (m *PluginAppSpec) XXX_Merge(src proto.Message) { 1740 xxx_messageInfo_PluginAppSpec.Merge(m, src) 1741 } 1742 func (m *PluginAppSpec) XXX_Size() int { 1743 return m.Size() 1744 } 1745 func (m *PluginAppSpec) XXX_DiscardUnknown() { 1746 xxx_messageInfo_PluginAppSpec.DiscardUnknown(m) 1747 } 1748 1749 var xxx_messageInfo_PluginAppSpec proto.InternalMessageInfo 1750 1751 func (m *PluginAppSpec) GetParametersAnnouncement() []*ParameterAnnouncement { 1752 if m != nil { 1753 return m.ParametersAnnouncement 1754 } 1755 return nil 1756 } 1757 1758 type HelmChartsRequest struct { 1759 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 1760 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1761 XXX_unrecognized []byte `json:"-"` 1762 XXX_sizecache int32 `json:"-"` 1763 } 1764 1765 func (m *HelmChartsRequest) Reset() { *m = HelmChartsRequest{} } 1766 func (m *HelmChartsRequest) String() string { return proto.CompactTextString(m) } 1767 func (*HelmChartsRequest) ProtoMessage() {} 1768 func (*HelmChartsRequest) Descriptor() ([]byte, []int) { 1769 return fileDescriptor_dd8723cfcc820480, []int{24} 1770 } 1771 func (m *HelmChartsRequest) XXX_Unmarshal(b []byte) error { 1772 return m.Unmarshal(b) 1773 } 1774 func (m *HelmChartsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1775 if deterministic { 1776 return xxx_messageInfo_HelmChartsRequest.Marshal(b, m, deterministic) 1777 } else { 1778 b = b[:cap(b)] 1779 n, err := m.MarshalToSizedBuffer(b) 1780 if err != nil { 1781 return nil, err 1782 } 1783 return b[:n], nil 1784 } 1785 } 1786 func (m *HelmChartsRequest) XXX_Merge(src proto.Message) { 1787 xxx_messageInfo_HelmChartsRequest.Merge(m, src) 1788 } 1789 func (m *HelmChartsRequest) XXX_Size() int { 1790 return m.Size() 1791 } 1792 func (m *HelmChartsRequest) XXX_DiscardUnknown() { 1793 xxx_messageInfo_HelmChartsRequest.DiscardUnknown(m) 1794 } 1795 1796 var xxx_messageInfo_HelmChartsRequest proto.InternalMessageInfo 1797 1798 func (m *HelmChartsRequest) GetRepo() *v1alpha1.Repository { 1799 if m != nil { 1800 return m.Repo 1801 } 1802 return nil 1803 } 1804 1805 type HelmChart struct { 1806 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1807 Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` 1808 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1809 XXX_unrecognized []byte `json:"-"` 1810 XXX_sizecache int32 `json:"-"` 1811 } 1812 1813 func (m *HelmChart) Reset() { *m = HelmChart{} } 1814 func (m *HelmChart) String() string { return proto.CompactTextString(m) } 1815 func (*HelmChart) ProtoMessage() {} 1816 func (*HelmChart) Descriptor() ([]byte, []int) { 1817 return fileDescriptor_dd8723cfcc820480, []int{25} 1818 } 1819 func (m *HelmChart) XXX_Unmarshal(b []byte) error { 1820 return m.Unmarshal(b) 1821 } 1822 func (m *HelmChart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1823 if deterministic { 1824 return xxx_messageInfo_HelmChart.Marshal(b, m, deterministic) 1825 } else { 1826 b = b[:cap(b)] 1827 n, err := m.MarshalToSizedBuffer(b) 1828 if err != nil { 1829 return nil, err 1830 } 1831 return b[:n], nil 1832 } 1833 } 1834 func (m *HelmChart) XXX_Merge(src proto.Message) { 1835 xxx_messageInfo_HelmChart.Merge(m, src) 1836 } 1837 func (m *HelmChart) XXX_Size() int { 1838 return m.Size() 1839 } 1840 func (m *HelmChart) XXX_DiscardUnknown() { 1841 xxx_messageInfo_HelmChart.DiscardUnknown(m) 1842 } 1843 1844 var xxx_messageInfo_HelmChart proto.InternalMessageInfo 1845 1846 func (m *HelmChart) GetName() string { 1847 if m != nil { 1848 return m.Name 1849 } 1850 return "" 1851 } 1852 1853 func (m *HelmChart) GetVersions() []string { 1854 if m != nil { 1855 return m.Versions 1856 } 1857 return nil 1858 } 1859 1860 type HelmChartsResponse struct { 1861 Items []*HelmChart `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 1862 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1863 XXX_unrecognized []byte `json:"-"` 1864 XXX_sizecache int32 `json:"-"` 1865 } 1866 1867 func (m *HelmChartsResponse) Reset() { *m = HelmChartsResponse{} } 1868 func (m *HelmChartsResponse) String() string { return proto.CompactTextString(m) } 1869 func (*HelmChartsResponse) ProtoMessage() {} 1870 func (*HelmChartsResponse) Descriptor() ([]byte, []int) { 1871 return fileDescriptor_dd8723cfcc820480, []int{26} 1872 } 1873 func (m *HelmChartsResponse) XXX_Unmarshal(b []byte) error { 1874 return m.Unmarshal(b) 1875 } 1876 func (m *HelmChartsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1877 if deterministic { 1878 return xxx_messageInfo_HelmChartsResponse.Marshal(b, m, deterministic) 1879 } else { 1880 b = b[:cap(b)] 1881 n, err := m.MarshalToSizedBuffer(b) 1882 if err != nil { 1883 return nil, err 1884 } 1885 return b[:n], nil 1886 } 1887 } 1888 func (m *HelmChartsResponse) XXX_Merge(src proto.Message) { 1889 xxx_messageInfo_HelmChartsResponse.Merge(m, src) 1890 } 1891 func (m *HelmChartsResponse) XXX_Size() int { 1892 return m.Size() 1893 } 1894 func (m *HelmChartsResponse) XXX_DiscardUnknown() { 1895 xxx_messageInfo_HelmChartsResponse.DiscardUnknown(m) 1896 } 1897 1898 var xxx_messageInfo_HelmChartsResponse proto.InternalMessageInfo 1899 1900 func (m *HelmChartsResponse) GetItems() []*HelmChart { 1901 if m != nil { 1902 return m.Items 1903 } 1904 return nil 1905 } 1906 1907 type GitFilesRequest struct { 1908 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 1909 SubmoduleEnabled bool `protobuf:"varint,2,opt,name=submoduleEnabled,proto3" json:"submoduleEnabled,omitempty"` 1910 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` 1911 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` 1912 NewGitFileGlobbingEnabled bool `protobuf:"varint,5,opt,name=NewGitFileGlobbingEnabled,proto3" json:"NewGitFileGlobbingEnabled,omitempty"` 1913 NoRevisionCache bool `protobuf:"varint,6,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"` 1914 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1915 XXX_unrecognized []byte `json:"-"` 1916 XXX_sizecache int32 `json:"-"` 1917 } 1918 1919 func (m *GitFilesRequest) Reset() { *m = GitFilesRequest{} } 1920 func (m *GitFilesRequest) String() string { return proto.CompactTextString(m) } 1921 func (*GitFilesRequest) ProtoMessage() {} 1922 func (*GitFilesRequest) Descriptor() ([]byte, []int) { 1923 return fileDescriptor_dd8723cfcc820480, []int{27} 1924 } 1925 func (m *GitFilesRequest) XXX_Unmarshal(b []byte) error { 1926 return m.Unmarshal(b) 1927 } 1928 func (m *GitFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1929 if deterministic { 1930 return xxx_messageInfo_GitFilesRequest.Marshal(b, m, deterministic) 1931 } else { 1932 b = b[:cap(b)] 1933 n, err := m.MarshalToSizedBuffer(b) 1934 if err != nil { 1935 return nil, err 1936 } 1937 return b[:n], nil 1938 } 1939 } 1940 func (m *GitFilesRequest) XXX_Merge(src proto.Message) { 1941 xxx_messageInfo_GitFilesRequest.Merge(m, src) 1942 } 1943 func (m *GitFilesRequest) XXX_Size() int { 1944 return m.Size() 1945 } 1946 func (m *GitFilesRequest) XXX_DiscardUnknown() { 1947 xxx_messageInfo_GitFilesRequest.DiscardUnknown(m) 1948 } 1949 1950 var xxx_messageInfo_GitFilesRequest proto.InternalMessageInfo 1951 1952 func (m *GitFilesRequest) GetRepo() *v1alpha1.Repository { 1953 if m != nil { 1954 return m.Repo 1955 } 1956 return nil 1957 } 1958 1959 func (m *GitFilesRequest) GetSubmoduleEnabled() bool { 1960 if m != nil { 1961 return m.SubmoduleEnabled 1962 } 1963 return false 1964 } 1965 1966 func (m *GitFilesRequest) GetRevision() string { 1967 if m != nil { 1968 return m.Revision 1969 } 1970 return "" 1971 } 1972 1973 func (m *GitFilesRequest) GetPath() string { 1974 if m != nil { 1975 return m.Path 1976 } 1977 return "" 1978 } 1979 1980 func (m *GitFilesRequest) GetNewGitFileGlobbingEnabled() bool { 1981 if m != nil { 1982 return m.NewGitFileGlobbingEnabled 1983 } 1984 return false 1985 } 1986 1987 func (m *GitFilesRequest) GetNoRevisionCache() bool { 1988 if m != nil { 1989 return m.NoRevisionCache 1990 } 1991 return false 1992 } 1993 1994 type GitFilesResponse struct { 1995 // Map consisting of path of the path to its contents in bytes 1996 Map map[string][]byte `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1997 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1998 XXX_unrecognized []byte `json:"-"` 1999 XXX_sizecache int32 `json:"-"` 2000 } 2001 2002 func (m *GitFilesResponse) Reset() { *m = GitFilesResponse{} } 2003 func (m *GitFilesResponse) String() string { return proto.CompactTextString(m) } 2004 func (*GitFilesResponse) ProtoMessage() {} 2005 func (*GitFilesResponse) Descriptor() ([]byte, []int) { 2006 return fileDescriptor_dd8723cfcc820480, []int{28} 2007 } 2008 func (m *GitFilesResponse) XXX_Unmarshal(b []byte) error { 2009 return m.Unmarshal(b) 2010 } 2011 func (m *GitFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2012 if deterministic { 2013 return xxx_messageInfo_GitFilesResponse.Marshal(b, m, deterministic) 2014 } else { 2015 b = b[:cap(b)] 2016 n, err := m.MarshalToSizedBuffer(b) 2017 if err != nil { 2018 return nil, err 2019 } 2020 return b[:n], nil 2021 } 2022 } 2023 func (m *GitFilesResponse) XXX_Merge(src proto.Message) { 2024 xxx_messageInfo_GitFilesResponse.Merge(m, src) 2025 } 2026 func (m *GitFilesResponse) XXX_Size() int { 2027 return m.Size() 2028 } 2029 func (m *GitFilesResponse) XXX_DiscardUnknown() { 2030 xxx_messageInfo_GitFilesResponse.DiscardUnknown(m) 2031 } 2032 2033 var xxx_messageInfo_GitFilesResponse proto.InternalMessageInfo 2034 2035 func (m *GitFilesResponse) GetMap() map[string][]byte { 2036 if m != nil { 2037 return m.Map 2038 } 2039 return nil 2040 } 2041 2042 type GitDirectoriesRequest struct { 2043 Repo *v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` 2044 SubmoduleEnabled bool `protobuf:"varint,2,opt,name=submoduleEnabled,proto3" json:"submoduleEnabled,omitempty"` 2045 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` 2046 NoRevisionCache bool `protobuf:"varint,4,opt,name=noRevisionCache,proto3" json:"noRevisionCache,omitempty"` 2047 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2048 XXX_unrecognized []byte `json:"-"` 2049 XXX_sizecache int32 `json:"-"` 2050 } 2051 2052 func (m *GitDirectoriesRequest) Reset() { *m = GitDirectoriesRequest{} } 2053 func (m *GitDirectoriesRequest) String() string { return proto.CompactTextString(m) } 2054 func (*GitDirectoriesRequest) ProtoMessage() {} 2055 func (*GitDirectoriesRequest) Descriptor() ([]byte, []int) { 2056 return fileDescriptor_dd8723cfcc820480, []int{29} 2057 } 2058 func (m *GitDirectoriesRequest) XXX_Unmarshal(b []byte) error { 2059 return m.Unmarshal(b) 2060 } 2061 func (m *GitDirectoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2062 if deterministic { 2063 return xxx_messageInfo_GitDirectoriesRequest.Marshal(b, m, deterministic) 2064 } else { 2065 b = b[:cap(b)] 2066 n, err := m.MarshalToSizedBuffer(b) 2067 if err != nil { 2068 return nil, err 2069 } 2070 return b[:n], nil 2071 } 2072 } 2073 func (m *GitDirectoriesRequest) XXX_Merge(src proto.Message) { 2074 xxx_messageInfo_GitDirectoriesRequest.Merge(m, src) 2075 } 2076 func (m *GitDirectoriesRequest) XXX_Size() int { 2077 return m.Size() 2078 } 2079 func (m *GitDirectoriesRequest) XXX_DiscardUnknown() { 2080 xxx_messageInfo_GitDirectoriesRequest.DiscardUnknown(m) 2081 } 2082 2083 var xxx_messageInfo_GitDirectoriesRequest proto.InternalMessageInfo 2084 2085 func (m *GitDirectoriesRequest) GetRepo() *v1alpha1.Repository { 2086 if m != nil { 2087 return m.Repo 2088 } 2089 return nil 2090 } 2091 2092 func (m *GitDirectoriesRequest) GetSubmoduleEnabled() bool { 2093 if m != nil { 2094 return m.SubmoduleEnabled 2095 } 2096 return false 2097 } 2098 2099 func (m *GitDirectoriesRequest) GetRevision() string { 2100 if m != nil { 2101 return m.Revision 2102 } 2103 return "" 2104 } 2105 2106 func (m *GitDirectoriesRequest) GetNoRevisionCache() bool { 2107 if m != nil { 2108 return m.NoRevisionCache 2109 } 2110 return false 2111 } 2112 2113 type GitDirectoriesResponse struct { 2114 // A set of directory paths 2115 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` 2116 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2117 XXX_unrecognized []byte `json:"-"` 2118 XXX_sizecache int32 `json:"-"` 2119 } 2120 2121 func (m *GitDirectoriesResponse) Reset() { *m = GitDirectoriesResponse{} } 2122 func (m *GitDirectoriesResponse) String() string { return proto.CompactTextString(m) } 2123 func (*GitDirectoriesResponse) ProtoMessage() {} 2124 func (*GitDirectoriesResponse) Descriptor() ([]byte, []int) { 2125 return fileDescriptor_dd8723cfcc820480, []int{30} 2126 } 2127 func (m *GitDirectoriesResponse) XXX_Unmarshal(b []byte) error { 2128 return m.Unmarshal(b) 2129 } 2130 func (m *GitDirectoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2131 if deterministic { 2132 return xxx_messageInfo_GitDirectoriesResponse.Marshal(b, m, deterministic) 2133 } else { 2134 b = b[:cap(b)] 2135 n, err := m.MarshalToSizedBuffer(b) 2136 if err != nil { 2137 return nil, err 2138 } 2139 return b[:n], nil 2140 } 2141 } 2142 func (m *GitDirectoriesResponse) XXX_Merge(src proto.Message) { 2143 xxx_messageInfo_GitDirectoriesResponse.Merge(m, src) 2144 } 2145 func (m *GitDirectoriesResponse) XXX_Size() int { 2146 return m.Size() 2147 } 2148 func (m *GitDirectoriesResponse) XXX_DiscardUnknown() { 2149 xxx_messageInfo_GitDirectoriesResponse.DiscardUnknown(m) 2150 } 2151 2152 var xxx_messageInfo_GitDirectoriesResponse proto.InternalMessageInfo 2153 2154 func (m *GitDirectoriesResponse) GetPaths() []string { 2155 if m != nil { 2156 return m.Paths 2157 } 2158 return nil 2159 } 2160 2161 func init() { 2162 proto.RegisterType((*ManifestRequest)(nil), "repository.ManifestRequest") 2163 proto.RegisterMapType((map[string]bool)(nil), "repository.ManifestRequest.EnabledSourceTypesEntry") 2164 proto.RegisterMapType((map[string]*v1alpha1.RefTarget)(nil), "repository.ManifestRequest.RefSourcesEntry") 2165 proto.RegisterType((*ManifestRequestWithFiles)(nil), "repository.ManifestRequestWithFiles") 2166 proto.RegisterType((*ManifestFileMetadata)(nil), "repository.ManifestFileMetadata") 2167 proto.RegisterType((*ManifestFileChunk)(nil), "repository.ManifestFileChunk") 2168 proto.RegisterType((*TestRepositoryRequest)(nil), "repository.TestRepositoryRequest") 2169 proto.RegisterType((*TestRepositoryResponse)(nil), "repository.TestRepositoryResponse") 2170 proto.RegisterType((*ResolveRevisionRequest)(nil), "repository.ResolveRevisionRequest") 2171 proto.RegisterType((*ResolveRevisionResponse)(nil), "repository.ResolveRevisionResponse") 2172 proto.RegisterType((*ManifestResponse)(nil), "repository.ManifestResponse") 2173 proto.RegisterType((*ListRefsRequest)(nil), "repository.ListRefsRequest") 2174 proto.RegisterType((*Refs)(nil), "repository.Refs") 2175 proto.RegisterType((*ListAppsRequest)(nil), "repository.ListAppsRequest") 2176 proto.RegisterMapType((map[string]bool)(nil), "repository.ListAppsRequest.EnabledSourceTypesEntry") 2177 proto.RegisterType((*AppList)(nil), "repository.AppList") 2178 proto.RegisterMapType((map[string]string)(nil), "repository.AppList.AppsEntry") 2179 proto.RegisterType((*PluginInfo)(nil), "repository.PluginInfo") 2180 proto.RegisterType((*PluginList)(nil), "repository.PluginList") 2181 proto.RegisterType((*RepoServerAppDetailsQuery)(nil), "repository.RepoServerAppDetailsQuery") 2182 proto.RegisterMapType((map[string]bool)(nil), "repository.RepoServerAppDetailsQuery.EnabledSourceTypesEntry") 2183 proto.RegisterMapType((map[string]*v1alpha1.RefTarget)(nil), "repository.RepoServerAppDetailsQuery.RefSourcesEntry") 2184 proto.RegisterType((*RepoAppDetailsResponse)(nil), "repository.RepoAppDetailsResponse") 2185 proto.RegisterType((*RepoServerRevisionMetadataRequest)(nil), "repository.RepoServerRevisionMetadataRequest") 2186 proto.RegisterType((*RepoServerRevisionChartDetailsRequest)(nil), "repository.RepoServerRevisionChartDetailsRequest") 2187 proto.RegisterType((*HelmAppSpec)(nil), "repository.HelmAppSpec") 2188 proto.RegisterType((*KustomizeAppSpec)(nil), "repository.KustomizeAppSpec") 2189 proto.RegisterType((*DirectoryAppSpec)(nil), "repository.DirectoryAppSpec") 2190 proto.RegisterType((*ParameterAnnouncement)(nil), "repository.ParameterAnnouncement") 2191 proto.RegisterMapType((map[string]string)(nil), "repository.ParameterAnnouncement.MapEntry") 2192 proto.RegisterType((*PluginAppSpec)(nil), "repository.PluginAppSpec") 2193 proto.RegisterType((*HelmChartsRequest)(nil), "repository.HelmChartsRequest") 2194 proto.RegisterType((*HelmChart)(nil), "repository.HelmChart") 2195 proto.RegisterType((*HelmChartsResponse)(nil), "repository.HelmChartsResponse") 2196 proto.RegisterType((*GitFilesRequest)(nil), "repository.GitFilesRequest") 2197 proto.RegisterType((*GitFilesResponse)(nil), "repository.GitFilesResponse") 2198 proto.RegisterMapType((map[string][]byte)(nil), "repository.GitFilesResponse.MapEntry") 2199 proto.RegisterType((*GitDirectoriesRequest)(nil), "repository.GitDirectoriesRequest") 2200 proto.RegisterType((*GitDirectoriesResponse)(nil), "repository.GitDirectoriesResponse") 2201 } 2202 2203 func init() { 2204 proto.RegisterFile("reposerver/repository/repository.proto", fileDescriptor_dd8723cfcc820480) 2205 } 2206 2207 var fileDescriptor_dd8723cfcc820480 = []byte{ 2208 // 2127 bytes of a gzipped FileDescriptorProto 2209 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7, 2210 0xf5, 0xe7, 0x92, 0x94, 0x44, 0x1e, 0xd9, 0x12, 0x35, 0xd6, 0x65, 0xc5, 0x38, 0x82, 0xb2, 0xff, 2211 0xbf, 0x0d, 0xd5, 0x4e, 0x48, 0x48, 0x46, 0xe2, 0xc2, 0x49, 0x53, 0x28, 0x8a, 0x2d, 0x39, 0xb6, 2212 0x6c, 0x75, 0xed, 0xb6, 0x48, 0xeb, 0xb6, 0x18, 0x2e, 0x87, 0xe4, 0x86, 0x7b, 0x19, 0xef, 0xce, 2213 0x2a, 0x90, 0x81, 0x3e, 0x14, 0x2d, 0xfa, 0x11, 0xfa, 0xd0, 0xaf, 0x51, 0x14, 0x7d, 0xec, 0x53, 2214 0x2f, 0x8f, 0x41, 0xbf, 0x40, 0x0b, 0xbf, 0x14, 0xe8, 0xa7, 0x28, 0xe6, 0xb2, 0x57, 0xae, 0x64, 2215 0xa7, 0x94, 0x15, 0xb4, 0x2f, 0xf6, 0xce, 0x99, 0x33, 0xe7, 0x9c, 0x39, 0x73, 0x2e, 0xbf, 0x19, 2216 0x0a, 0xae, 0x07, 0x84, 0xfa, 0x21, 0x09, 0x8e, 0x49, 0xd0, 0x15, 0x9f, 0x36, 0xf3, 0x83, 0x93, 2217 0xcc, 0x67, 0x87, 0x06, 0x3e, 0xf3, 0x11, 0xa4, 0x94, 0xf6, 0xc3, 0xa1, 0xcd, 0x46, 0x51, 0xaf, 2218 0x63, 0xf9, 0x6e, 0x17, 0x07, 0x43, 0x9f, 0x06, 0xfe, 0x17, 0xe2, 0xe3, 0x3d, 0xab, 0xdf, 0x3d, 2219 0xde, 0xe9, 0xd2, 0xf1, 0xb0, 0x8b, 0xa9, 0x1d, 0x76, 0x31, 0xa5, 0x8e, 0x6d, 0x61, 0x66, 0xfb, 2220 0x5e, 0xf7, 0x78, 0x1b, 0x3b, 0x74, 0x84, 0xb7, 0xbb, 0x43, 0xe2, 0x91, 0x00, 0x33, 0xd2, 0x97, 2221 0x92, 0xdb, 0x6f, 0x0d, 0x7d, 0x7f, 0xe8, 0x90, 0xae, 0x18, 0xf5, 0xa2, 0x41, 0x97, 0xb8, 0x94, 2222 0x29, 0xb5, 0xc6, 0xbf, 0x2e, 0xc1, 0xe2, 0x21, 0xf6, 0xec, 0x01, 0x09, 0x99, 0x49, 0x9e, 0x47, 2223 0x24, 0x64, 0xe8, 0x19, 0xd4, 0xb9, 0x31, 0xba, 0xb6, 0xa9, 0x6d, 0xcd, 0xef, 0x1c, 0x74, 0x52, 2224 0x6b, 0x3a, 0xb1, 0x35, 0xe2, 0xe3, 0x67, 0x56, 0xbf, 0x73, 0xbc, 0xd3, 0xa1, 0xe3, 0x61, 0x87, 2225 0x5b, 0xd3, 0xc9, 0x58, 0xd3, 0x89, 0xad, 0xe9, 0x98, 0xc9, 0xb6, 0x4c, 0x21, 0x15, 0xb5, 0xa1, 2226 0x11, 0x90, 0x63, 0x3b, 0xb4, 0x7d, 0x4f, 0xaf, 0x6e, 0x6a, 0x5b, 0x4d, 0x33, 0x19, 0x23, 0x1d, 2227 0xe6, 0x3c, 0x7f, 0x0f, 0x5b, 0x23, 0xa2, 0xd7, 0x36, 0xb5, 0xad, 0x86, 0x19, 0x0f, 0xd1, 0x26, 2228 0xcc, 0x63, 0x4a, 0x1f, 0xe2, 0x1e, 0x71, 0x1e, 0x90, 0x13, 0xbd, 0x2e, 0x16, 0x66, 0x49, 0x7c, 2229 0x2d, 0xa6, 0xf4, 0x11, 0x76, 0x89, 0x3e, 0x23, 0x66, 0xe3, 0x21, 0xba, 0x0a, 0x4d, 0x0f, 0xbb, 2230 0x24, 0xa4, 0xd8, 0x22, 0x7a, 0x43, 0xcc, 0xa5, 0x04, 0xf4, 0x73, 0x58, 0xca, 0x18, 0xfe, 0xc4, 2231 0x8f, 0x02, 0x8b, 0xe8, 0x20, 0xb6, 0xfe, 0x78, 0xba, 0xad, 0xef, 0x16, 0xc5, 0x9a, 0x93, 0x9a, 2232 0xd0, 0x4f, 0x61, 0x46, 0x9c, 0xbc, 0x3e, 0xbf, 0x59, 0x3b, 0x57, 0x6f, 0x4b, 0xb1, 0xc8, 0x83, 2233 0x39, 0xea, 0x44, 0x43, 0xdb, 0x0b, 0xf5, 0x4b, 0x42, 0xc3, 0xd3, 0xe9, 0x34, 0xec, 0xf9, 0xde, 2234 0xc0, 0x1e, 0x1e, 0x62, 0x0f, 0x0f, 0x89, 0x4b, 0x3c, 0x76, 0x24, 0x84, 0x9b, 0xb1, 0x12, 0xf4, 2235 0x02, 0x5a, 0xe3, 0x28, 0x64, 0xbe, 0x6b, 0xbf, 0x20, 0x8f, 0x29, 0x5f, 0x1b, 0xea, 0x97, 0x85, 2236 0x37, 0x1f, 0x4d, 0xa7, 0xf8, 0x41, 0x41, 0xaa, 0x39, 0xa1, 0x87, 0x07, 0xc9, 0x38, 0xea, 0x91, 2237 0x1f, 0x90, 0x40, 0x44, 0xd7, 0x82, 0x0c, 0x92, 0x0c, 0x49, 0x86, 0x91, 0xad, 0x46, 0xa1, 0xbe, 2238 0xb8, 0x59, 0x93, 0x61, 0x94, 0x90, 0xd0, 0x16, 0x2c, 0x1e, 0x93, 0xc0, 0x1e, 0x9c, 0x3c, 0xb1, 2239 0x87, 0x1e, 0x66, 0x51, 0x40, 0xf4, 0x96, 0x08, 0xc5, 0x22, 0x19, 0xb9, 0x70, 0x79, 0x44, 0x1c, 2240 0x97, 0xbb, 0x7c, 0x2f, 0x20, 0xfd, 0x50, 0x5f, 0x12, 0xfe, 0xdd, 0x9f, 0xfe, 0x04, 0x85, 0x38, 2241 0x33, 0x2f, 0x9d, 0x1b, 0xe6, 0xf9, 0xa6, 0xca, 0x14, 0x99, 0x23, 0x48, 0x1a, 0x56, 0x20, 0xa3, 2242 0xeb, 0xb0, 0xc0, 0x02, 0x6c, 0x8d, 0x6d, 0x6f, 0x78, 0x48, 0xd8, 0xc8, 0xef, 0xeb, 0x57, 0x84, 2243 0x27, 0x0a, 0x54, 0x64, 0x01, 0x22, 0x1e, 0xee, 0x39, 0xa4, 0x2f, 0x63, 0xf1, 0xe9, 0x09, 0x25, 2244 0xa1, 0xbe, 0x2c, 0x76, 0x71, 0xab, 0x93, 0xa9, 0x50, 0x85, 0x02, 0xd1, 0xb9, 0x3b, 0xb1, 0xea, 2245 0xae, 0xc7, 0x82, 0x13, 0xb3, 0x44, 0x1c, 0x1a, 0xc3, 0x3c, 0xdf, 0x47, 0x1c, 0x0a, 0x2b, 0x22, 2246 0x14, 0xee, 0x4f, 0xe7, 0xa3, 0x83, 0x54, 0xa0, 0x99, 0x95, 0x8e, 0x3a, 0x80, 0x46, 0x38, 0x3c, 2247 0x8c, 0x1c, 0x66, 0x53, 0x87, 0x48, 0x33, 0x42, 0x7d, 0x55, 0xb8, 0xa9, 0x64, 0x06, 0x3d, 0x00, 2248 0x08, 0xc8, 0x20, 0xe6, 0x5b, 0x13, 0x3b, 0xbf, 0x79, 0xd6, 0xce, 0xcd, 0x84, 0x5b, 0xee, 0x38, 2249 0xb3, 0x9c, 0x2b, 0xe7, 0xdb, 0x20, 0x16, 0x53, 0xd9, 0x2e, 0xd2, 0x5a, 0x17, 0x21, 0x56, 0x32, 2250 0xc3, 0x63, 0x51, 0x51, 0x45, 0xd1, 0x5a, 0x97, 0xd1, 0x9a, 0x21, 0xb5, 0xef, 0xc2, 0xda, 0x29, 2251 0xae, 0x46, 0x2d, 0xa8, 0x8d, 0xc9, 0x89, 0x28, 0xd1, 0x4d, 0x93, 0x7f, 0xa2, 0x65, 0x98, 0x39, 2252 0xc6, 0x4e, 0x44, 0x44, 0x51, 0x6d, 0x98, 0x72, 0x70, 0xa7, 0xfa, 0x6d, 0xad, 0xfd, 0x6b, 0x0d, 2253 0x16, 0x0b, 0x86, 0x97, 0xac, 0xff, 0x49, 0x76, 0xfd, 0x39, 0x84, 0xf1, 0xe0, 0x29, 0x0e, 0x86, 2254 0x84, 0x65, 0x0c, 0x31, 0xfe, 0xa6, 0x81, 0x5e, 0xf0, 0xe8, 0x0f, 0x6d, 0x36, 0xba, 0x67, 0x3b, 2255 0x24, 0x44, 0xb7, 0x61, 0x2e, 0x90, 0x34, 0xd5, 0x78, 0xde, 0x3a, 0xe3, 0x20, 0x0e, 0x2a, 0x66, 2256 0xcc, 0x8d, 0x3e, 0x86, 0x86, 0x4b, 0x18, 0xee, 0x63, 0x86, 0x95, 0xed, 0x9b, 0x65, 0x2b, 0xb9, 2257 0x96, 0x43, 0xc5, 0x77, 0x50, 0x31, 0x93, 0x35, 0xe8, 0x7d, 0x98, 0xb1, 0x46, 0x91, 0x37, 0x16, 2258 0x2d, 0x67, 0x7e, 0xe7, 0xed, 0xd3, 0x16, 0xef, 0x71, 0xa6, 0x83, 0x8a, 0x29, 0xb9, 0x3f, 0x99, 2259 0x85, 0x3a, 0xc5, 0x01, 0x33, 0xee, 0xc1, 0x72, 0x99, 0x0a, 0xde, 0xe7, 0xac, 0x11, 0xb1, 0xc6, 2260 0x61, 0xe4, 0x2a, 0x37, 0x27, 0x63, 0x84, 0xa0, 0x1e, 0xda, 0x2f, 0xa4, 0xab, 0x6b, 0xa6, 0xf8, 2261 0x36, 0xbe, 0x05, 0x4b, 0x13, 0xda, 0xf8, 0xa1, 0x4a, 0xdb, 0xb8, 0x84, 0x4b, 0x4a, 0xb5, 0x11, 2262 0xc1, 0xca, 0x53, 0xe1, 0x8b, 0xa4, 0xd8, 0x5f, 0x44, 0xe7, 0x36, 0x0e, 0x60, 0xb5, 0xa8, 0x36, 2263 0xa4, 0xbe, 0x17, 0x12, 0x1e, 0xfa, 0xa2, 0x3a, 0xda, 0xa4, 0x9f, 0xce, 0x0a, 0x2b, 0x1a, 0x66, 2264 0xc9, 0x8c, 0xf1, 0x8b, 0x2a, 0xac, 0x9a, 0x24, 0xf4, 0x9d, 0x63, 0x12, 0x97, 0xae, 0x8b, 0x01, 2265 0x1f, 0x3f, 0x86, 0x1a, 0xa6, 0x54, 0x85, 0xc9, 0xfd, 0x73, 0x6b, 0xef, 0x26, 0x97, 0x8a, 0xde, 2266 0x85, 0x25, 0xec, 0xf6, 0xec, 0x61, 0xe4, 0x47, 0x61, 0xbc, 0x2d, 0x11, 0x54, 0x4d, 0x73, 0x72, 2267 0xc2, 0xb0, 0x60, 0x6d, 0xc2, 0x05, 0xca, 0x9d, 0x59, 0x88, 0xa4, 0x15, 0x20, 0x52, 0xa9, 0x92, 2268 0xea, 0x69, 0x4a, 0xfe, 0xac, 0x41, 0x2b, 0x4d, 0x1d, 0x25, 0xfe, 0x2a, 0x34, 0x5d, 0x45, 0x0b, 2269 0x75, 0x4d, 0xd4, 0xa7, 0x94, 0x90, 0x47, 0x4b, 0xd5, 0x22, 0x5a, 0x5a, 0x85, 0x59, 0x09, 0x66, 2270 0xd5, 0xc6, 0xd4, 0x28, 0x67, 0x72, 0xbd, 0x60, 0xf2, 0x06, 0x40, 0x98, 0xd4, 0x2f, 0x7d, 0x56, 2271 0xcc, 0x66, 0x28, 0xc8, 0x80, 0x4b, 0xb2, 0xb7, 0x9a, 0x24, 0x8c, 0x1c, 0xa6, 0xcf, 0x09, 0x8e, 2272 0x1c, 0xcd, 0xf0, 0x61, 0xf1, 0xa1, 0xcd, 0xf7, 0x30, 0x08, 0x2f, 0x26, 0xd8, 0x3f, 0x80, 0x3a, 2273 0x57, 0xc6, 0x37, 0xd6, 0x0b, 0xb0, 0x67, 0x8d, 0x48, 0xec, 0xab, 0x64, 0xcc, 0xd3, 0x98, 0xe1, 2274 0x61, 0xa8, 0x57, 0x05, 0x5d, 0x7c, 0x1b, 0x7f, 0xa8, 0x4a, 0x4b, 0x77, 0x29, 0x0d, 0xbf, 0x79, 2275 0x40, 0x5d, 0xde, 0xe2, 0x6b, 0x93, 0x2d, 0xbe, 0x60, 0xf2, 0xd7, 0x69, 0xf1, 0xe7, 0xd4, 0xa6, 2276 0x8c, 0x08, 0xe6, 0x76, 0x29, 0xe5, 0x86, 0xa0, 0x6d, 0xa8, 0x63, 0x4a, 0xa5, 0xc3, 0x0b, 0x15, 2277 0x59, 0xb1, 0xf0, 0xff, 0x95, 0x49, 0x82, 0xb5, 0x7d, 0x1b, 0x9a, 0x09, 0xe9, 0x55, 0x6a, 0x9b, 2278 0x59, 0xb5, 0x9b, 0x00, 0x12, 0xc3, 0xde, 0xf7, 0x06, 0x3e, 0x3f, 0x52, 0x1e, 0xec, 0x6a, 0xa9, 2279 0xf8, 0x36, 0xee, 0xc4, 0x1c, 0xc2, 0xb6, 0x77, 0x61, 0xc6, 0x66, 0xc4, 0x8d, 0x8d, 0x5b, 0xcd, 2280 0x1a, 0x97, 0x0a, 0x32, 0x25, 0x93, 0xf1, 0x97, 0x06, 0xac, 0xf3, 0x13, 0x7b, 0x22, 0xd2, 0x64, 2281 0x97, 0xd2, 0x4f, 0x09, 0xc3, 0xb6, 0x13, 0x7e, 0x2f, 0x22, 0xc1, 0xc9, 0x1b, 0x0e, 0x8c, 0x21, 2282 0xcc, 0xca, 0x2c, 0x53, 0xf5, 0xee, 0xdc, 0xaf, 0x33, 0x4a, 0x7c, 0x7a, 0x87, 0xa9, 0xbd, 0x99, 2283 0x3b, 0x4c, 0xd9, 0x9d, 0xa2, 0x7e, 0x41, 0x77, 0x8a, 0xd3, 0xaf, 0x95, 0x99, 0xcb, 0xea, 0x6c, 2284 0xfe, 0xb2, 0x5a, 0x02, 0xd5, 0xe7, 0x5e, 0x17, 0xaa, 0x37, 0x4a, 0xa1, 0xba, 0x5b, 0x9a, 0xc7, 2285 0x4d, 0xe1, 0xee, 0xef, 0x64, 0x23, 0xf0, 0xd4, 0x58, 0x9b, 0x06, 0xb4, 0xc3, 0x1b, 0x05, 0xed, 2286 0xdf, 0xcf, 0x81, 0x70, 0x79, 0x0d, 0x7e, 0xff, 0xf5, 0xf6, 0x74, 0x06, 0x1c, 0xff, 0x9f, 0x03, 2287 0xcf, 0xbf, 0x12, 0x98, 0x89, 0xfa, 0xa9, 0x0f, 0x92, 0x86, 0xce, 0xfb, 0x10, 0x6f, 0xad, 0xaa, 2288 0x68, 0xf1, 0x6f, 0x74, 0x13, 0xea, 0xdc, 0xc9, 0x0a, 0xd4, 0xae, 0x65, 0xfd, 0xc9, 0x4f, 0x62, 2289 0x97, 0xd2, 0x27, 0x94, 0x58, 0xa6, 0x60, 0x42, 0x77, 0xa0, 0x99, 0x04, 0xbe, 0xca, 0xac, 0xab, 2290 0xd9, 0x15, 0x49, 0x9e, 0xc4, 0xcb, 0x52, 0x76, 0xbe, 0xb6, 0x6f, 0x07, 0xc4, 0x12, 0x90, 0x6f, 2291 0x66, 0x72, 0xed, 0xa7, 0xf1, 0x64, 0xb2, 0x36, 0x61, 0x47, 0xdb, 0x30, 0x2b, 0xdf, 0x0d, 0x44, 2292 0x06, 0xcd, 0xef, 0xac, 0x4f, 0x16, 0xd3, 0x78, 0x95, 0x62, 0x34, 0xfe, 0xa4, 0xc1, 0x3b, 0x69, 2293 0x40, 0xc4, 0xd9, 0x14, 0xa3, 0xee, 0x6f, 0xbe, 0xe3, 0x5e, 0x87, 0x05, 0x01, 0xf3, 0xd3, 0xe7, 2294 0x03, 0xf9, 0x92, 0x55, 0xa0, 0x1a, 0xbf, 0xd7, 0xe0, 0xda, 0xe4, 0x3e, 0xf6, 0x46, 0x38, 0x60, 2295 0xc9, 0xf1, 0x5e, 0xc4, 0x5e, 0xe2, 0x86, 0x57, 0x4d, 0x1b, 0x5e, 0x6e, 0x7f, 0xb5, 0xfc, 0xfe, 2296 0x8c, 0x3f, 0x56, 0x61, 0x3e, 0x13, 0x40, 0x65, 0x0d, 0x93, 0x03, 0x3e, 0x11, 0xb7, 0xe2, 0x62, 2297 0x27, 0x9a, 0x42, 0xd3, 0xcc, 0x50, 0xd0, 0x18, 0x80, 0xe2, 0x00, 0xbb, 0x84, 0x91, 0x80, 0x57, 2298 0x72, 0x9e, 0xf1, 0x0f, 0xa6, 0xaf, 0x2e, 0x47, 0xb1, 0x4c, 0x33, 0x23, 0x9e, 0x23, 0x56, 0xa1, 2299 0x3a, 0x54, 0xf5, 0x5b, 0x8d, 0xd0, 0x97, 0xb0, 0x30, 0xb0, 0x1d, 0x72, 0x94, 0x1a, 0x32, 0x2b, 2300 0x0c, 0x79, 0x3c, 0xbd, 0x21, 0xf7, 0xb2, 0x72, 0xcd, 0x82, 0x1a, 0xe3, 0x06, 0xb4, 0x8a, 0xf9, 2301 0xc4, 0x8d, 0xb4, 0x5d, 0x3c, 0x4c, 0xbc, 0xa5, 0x46, 0x06, 0x82, 0x56, 0x31, 0x7f, 0x8c, 0xbf, 2302 0x57, 0x61, 0x25, 0x11, 0xb7, 0xeb, 0x79, 0x7e, 0xe4, 0x59, 0xe2, 0x29, 0xae, 0xf4, 0x2c, 0x96, 2303 0x61, 0x86, 0xd9, 0xcc, 0x49, 0x80, 0x8f, 0x18, 0xf0, 0xde, 0xc5, 0x7c, 0xdf, 0x61, 0x36, 0x55, 2304 0x07, 0x1c, 0x0f, 0xe5, 0xd9, 0x3f, 0x8f, 0xec, 0x80, 0xf4, 0x45, 0x25, 0x68, 0x98, 0xc9, 0x98, 2305 0xcf, 0x71, 0x54, 0x23, 0x60, 0xbc, 0x74, 0x66, 0x32, 0x16, 0x71, 0xef, 0x3b, 0x0e, 0xb1, 0xb8, 2306 0x3b, 0x32, 0x40, 0xbf, 0x40, 0x15, 0x17, 0x08, 0x16, 0xd8, 0xde, 0x50, 0xc1, 0x7c, 0x35, 0xe2, 2307 0x76, 0xe2, 0x20, 0xc0, 0x27, 0x7a, 0x43, 0x38, 0x40, 0x0e, 0xd0, 0x47, 0x50, 0x73, 0x31, 0x55, 2308 0x8d, 0xee, 0x46, 0xae, 0x3a, 0x94, 0x79, 0xa0, 0x73, 0x88, 0xa9, 0xec, 0x04, 0x7c, 0x59, 0xfb, 2309 0x03, 0x68, 0xc4, 0x84, 0xaf, 0x05, 0x09, 0xbf, 0x80, 0xcb, 0xb9, 0xe2, 0x83, 0x3e, 0x87, 0xd5, 2310 0x34, 0xa2, 0xb2, 0x0a, 0x15, 0x08, 0x7c, 0xe7, 0x95, 0x96, 0x99, 0xa7, 0x08, 0x30, 0x9e, 0xc3, 2311 0x12, 0x0f, 0x19, 0x91, 0xf8, 0x17, 0x74, 0xb5, 0xf9, 0x10, 0x9a, 0x89, 0xca, 0xd2, 0x98, 0x69, 2312 0x43, 0xe3, 0x38, 0x7e, 0x22, 0x95, 0x77, 0x9b, 0x64, 0x6c, 0xec, 0x02, 0xca, 0xda, 0xab, 0x3a, 2313 0xd0, 0xcd, 0x3c, 0x28, 0x5e, 0x29, 0xb6, 0x1b, 0xc1, 0x1e, 0x63, 0xe2, 0xdf, 0x55, 0x61, 0x71, 2314 0xdf, 0x16, 0xaf, 0x1c, 0x17, 0x54, 0xe4, 0x6e, 0x40, 0x2b, 0x8c, 0x7a, 0xae, 0xdf, 0x8f, 0x1c, 2315 0xa2, 0x40, 0x81, 0xea, 0xf4, 0x13, 0xf4, 0xb3, 0x8a, 0x1f, 0x77, 0x16, 0xc5, 0x6c, 0xa4, 0x6e, 2316 0xb8, 0xe2, 0x1b, 0x7d, 0x04, 0xeb, 0x8f, 0xc8, 0x97, 0x6a, 0x3f, 0xfb, 0x8e, 0xdf, 0xeb, 0xd9, 2317 0xde, 0x30, 0x56, 0x32, 0x23, 0x94, 0x9c, 0xce, 0x50, 0x06, 0x15, 0x67, 0x4b, 0xa1, 0xa2, 0xf1, 2318 0x4b, 0x0d, 0x5a, 0xa9, 0xd7, 0x94, 0xdf, 0x6f, 0xcb, 0xfc, 0x90, 0x5e, 0xbf, 0x96, 0xf5, 0x7a, 2319 0x91, 0xf5, 0x3f, 0x4f, 0x8d, 0x4b, 0xd9, 0xd4, 0xf8, 0xa7, 0x06, 0x2b, 0xfb, 0x36, 0x8b, 0x8b, 2320 0x92, 0xfd, 0xdf, 0x76, 0x82, 0x25, 0xfe, 0xae, 0x97, 0xfb, 0xbb, 0x03, 0xab, 0xc5, 0x8d, 0x2a, 2321 0xa7, 0x2f, 0xc3, 0x0c, 0x3f, 0xf9, 0xf8, 0x3d, 0x40, 0x0e, 0x76, 0xbe, 0x6a, 0xc2, 0x52, 0xda, 2322 0xd0, 0xf9, 0xbf, 0xb6, 0x45, 0xd0, 0x63, 0x68, 0xed, 0xab, 0xdf, 0xe3, 0xe2, 0x77, 0x18, 0x74, 2323 0xd6, 0xc3, 0x66, 0xfb, 0x6a, 0xf9, 0xa4, 0x54, 0x6d, 0x54, 0x90, 0x05, 0xeb, 0x45, 0x81, 0xe9, 2324 0x1b, 0xea, 0xff, 0x9f, 0x21, 0x39, 0xe1, 0x7a, 0x95, 0x8a, 0x2d, 0x0d, 0x7d, 0x0e, 0x0b, 0xf9, 2325 0x97, 0x3e, 0x94, 0xab, 0x70, 0xa5, 0x8f, 0x8f, 0x6d, 0xe3, 0x2c, 0x96, 0xc4, 0xfe, 0x67, 0x1c, 2326 0x4e, 0xe7, 0x9e, 0xbd, 0x90, 0x91, 0x07, 0xfb, 0x65, 0xcf, 0x82, 0xed, 0xff, 0x3b, 0x93, 0x27, 2327 0x91, 0xfe, 0x21, 0x34, 0xe2, 0x67, 0xa2, 0xbc, 0x9b, 0x0b, 0x8f, 0x47, 0xed, 0x56, 0x5e, 0xde, 2328 0x20, 0x34, 0x2a, 0xe8, 0x63, 0xb9, 0x78, 0x97, 0xd2, 0x92, 0xc5, 0x99, 0xc7, 0x91, 0xf6, 0x95, 2329 0x92, 0x07, 0x09, 0xa3, 0x82, 0xbe, 0x0b, 0xf3, 0xfc, 0xeb, 0x48, 0xfd, 0x12, 0xb6, 0xda, 0x91, 2330 0x3f, 0xbc, 0x76, 0xe2, 0x1f, 0x5e, 0x3b, 0x77, 0x5d, 0xca, 0x4e, 0xda, 0x25, 0x2f, 0x06, 0x4a, 2331 0xc0, 0x33, 0xb8, 0xbc, 0x4f, 0x58, 0x0a, 0xf0, 0xd1, 0xb5, 0xd7, 0xba, 0x06, 0xb5, 0x8d, 0x22, 2332 0xdb, 0xe4, 0x1d, 0xc1, 0xa8, 0xa0, 0xdf, 0x68, 0x70, 0x65, 0x9f, 0xb0, 0x22, 0x64, 0x46, 0xef, 2333 0x95, 0x2b, 0x39, 0x05, 0x5a, 0xb7, 0x1f, 0x4d, 0x9b, 0xd9, 0x79, 0xb1, 0x46, 0x05, 0xfd, 0x56, 2334 0x83, 0xb5, 0x8c, 0x61, 0x59, 0x0c, 0x8c, 0xb6, 0xcf, 0x36, 0xae, 0x04, 0x2f, 0xb7, 0x3f, 0x9b, 2335 0xf2, 0x07, 0xce, 0x8c, 0x48, 0xa3, 0x82, 0x8e, 0xc4, 0x99, 0xa4, 0x2d, 0x0f, 0xbd, 0x5d, 0xda, 2336 0xdb, 0x12, 0xed, 0x1b, 0xa7, 0x4d, 0x27, 0xe7, 0xf0, 0x19, 0xcc, 0xef, 0x13, 0x16, 0xd7, 0xe7, 2337 0x7c, 0xa4, 0x15, 0xda, 0x62, 0x3e, 0x55, 0x8b, 0x25, 0x5d, 0x44, 0xcc, 0x92, 0x94, 0x95, 0xa9, 2338 0x53, 0xf9, 0x5c, 0x2d, 0x2d, 0xd6, 0xf9, 0x88, 0x29, 0x2f, 0x73, 0x46, 0xe5, 0x93, 0xdd, 0xbf, 2339 0xbe, 0xdc, 0xd0, 0xbe, 0x7a, 0xb9, 0xa1, 0xfd, 0xe3, 0xe5, 0x86, 0xf6, 0xa3, 0x5b, 0xaf, 0xf8, 2340 0xab, 0x84, 0xcc, 0x1f, 0x3a, 0x60, 0x6a, 0x5b, 0x8e, 0x4d, 0x3c, 0xd6, 0x9b, 0x15, 0xc1, 0x7f, 2341 0xeb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x91, 0xe2, 0xd9, 0x07, 0x21, 0x00, 0x00, 2342 } 2343 2344 // Reference imports to suppress errors if they are not otherwise used. 2345 var _ context.Context 2346 var _ grpc.ClientConn 2347 2348 // This is a compile-time assertion to ensure that this generated file 2349 // is compatible with the grpc package it is being compiled against. 2350 const _ = grpc.SupportPackageIsVersion4 2351 2352 // RepoServerServiceClient is the client API for RepoServerService service. 2353 // 2354 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2355 type RepoServerServiceClient interface { 2356 // GenerateManifest generates manifest for application in specified repo name and revision 2357 GenerateManifest(ctx context.Context, in *ManifestRequest, opts ...grpc.CallOption) (*ManifestResponse, error) 2358 // GenerateManifestWithFiles generates manifest for application using provided tarball of files 2359 GenerateManifestWithFiles(ctx context.Context, opts ...grpc.CallOption) (RepoServerService_GenerateManifestWithFilesClient, error) 2360 // Returns a bool val if the repository is valid and has proper access 2361 TestRepository(ctx context.Context, in *TestRepositoryRequest, opts ...grpc.CallOption) (*TestRepositoryResponse, error) 2362 // Returns a valid revision 2363 ResolveRevision(ctx context.Context, in *ResolveRevisionRequest, opts ...grpc.CallOption) (*ResolveRevisionResponse, error) 2364 // Returns a list of refs (e.g. branches and tags) in the repo 2365 ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (*Refs, error) 2366 // ListApps returns a list of apps in the repo 2367 ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*AppList, error) 2368 // ListPlugins returns a list of cmp v2 plugins running as sidecar to reposerver 2369 ListPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginList, error) 2370 // Generate manifest for application in specified repo name and revision 2371 GetAppDetails(ctx context.Context, in *RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*RepoAppDetailsResponse, error) 2372 // Get the meta-data (author, date, tags, message) for a specific revision of the repo 2373 GetRevisionMetadata(ctx context.Context, in *RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) 2374 // Get the chart details (author, date, tags, message) for a specific revision of the repo 2375 GetRevisionChartDetails(ctx context.Context, in *RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) 2376 // GetHelmCharts returns list of helm charts in the specified repository 2377 GetHelmCharts(ctx context.Context, in *HelmChartsRequest, opts ...grpc.CallOption) (*HelmChartsResponse, error) 2378 // GetGitFiles returns a set of file paths and their contents for the given repo 2379 GetGitFiles(ctx context.Context, in *GitFilesRequest, opts ...grpc.CallOption) (*GitFilesResponse, error) 2380 // GetGitDirectories returns a set of directory paths for the given repo 2381 GetGitDirectories(ctx context.Context, in *GitDirectoriesRequest, opts ...grpc.CallOption) (*GitDirectoriesResponse, error) 2382 } 2383 2384 type repoServerServiceClient struct { 2385 cc *grpc.ClientConn 2386 } 2387 2388 func NewRepoServerServiceClient(cc *grpc.ClientConn) RepoServerServiceClient { 2389 return &repoServerServiceClient{cc} 2390 } 2391 2392 func (c *repoServerServiceClient) GenerateManifest(ctx context.Context, in *ManifestRequest, opts ...grpc.CallOption) (*ManifestResponse, error) { 2393 out := new(ManifestResponse) 2394 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GenerateManifest", in, out, opts...) 2395 if err != nil { 2396 return nil, err 2397 } 2398 return out, nil 2399 } 2400 2401 func (c *repoServerServiceClient) GenerateManifestWithFiles(ctx context.Context, opts ...grpc.CallOption) (RepoServerService_GenerateManifestWithFilesClient, error) { 2402 stream, err := c.cc.NewStream(ctx, &_RepoServerService_serviceDesc.Streams[0], "/repository.RepoServerService/GenerateManifestWithFiles", opts...) 2403 if err != nil { 2404 return nil, err 2405 } 2406 x := &repoServerServiceGenerateManifestWithFilesClient{stream} 2407 return x, nil 2408 } 2409 2410 type RepoServerService_GenerateManifestWithFilesClient interface { 2411 Send(*ManifestRequestWithFiles) error 2412 CloseAndRecv() (*ManifestResponse, error) 2413 grpc.ClientStream 2414 } 2415 2416 type repoServerServiceGenerateManifestWithFilesClient struct { 2417 grpc.ClientStream 2418 } 2419 2420 func (x *repoServerServiceGenerateManifestWithFilesClient) Send(m *ManifestRequestWithFiles) error { 2421 return x.ClientStream.SendMsg(m) 2422 } 2423 2424 func (x *repoServerServiceGenerateManifestWithFilesClient) CloseAndRecv() (*ManifestResponse, error) { 2425 if err := x.ClientStream.CloseSend(); err != nil { 2426 return nil, err 2427 } 2428 m := new(ManifestResponse) 2429 if err := x.ClientStream.RecvMsg(m); err != nil { 2430 return nil, err 2431 } 2432 return m, nil 2433 } 2434 2435 func (c *repoServerServiceClient) TestRepository(ctx context.Context, in *TestRepositoryRequest, opts ...grpc.CallOption) (*TestRepositoryResponse, error) { 2436 out := new(TestRepositoryResponse) 2437 err := c.cc.Invoke(ctx, "/repository.RepoServerService/TestRepository", in, out, opts...) 2438 if err != nil { 2439 return nil, err 2440 } 2441 return out, nil 2442 } 2443 2444 func (c *repoServerServiceClient) ResolveRevision(ctx context.Context, in *ResolveRevisionRequest, opts ...grpc.CallOption) (*ResolveRevisionResponse, error) { 2445 out := new(ResolveRevisionResponse) 2446 err := c.cc.Invoke(ctx, "/repository.RepoServerService/ResolveRevision", in, out, opts...) 2447 if err != nil { 2448 return nil, err 2449 } 2450 return out, nil 2451 } 2452 2453 func (c *repoServerServiceClient) ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (*Refs, error) { 2454 out := new(Refs) 2455 err := c.cc.Invoke(ctx, "/repository.RepoServerService/ListRefs", in, out, opts...) 2456 if err != nil { 2457 return nil, err 2458 } 2459 return out, nil 2460 } 2461 2462 func (c *repoServerServiceClient) ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*AppList, error) { 2463 out := new(AppList) 2464 err := c.cc.Invoke(ctx, "/repository.RepoServerService/ListApps", in, out, opts...) 2465 if err != nil { 2466 return nil, err 2467 } 2468 return out, nil 2469 } 2470 2471 func (c *repoServerServiceClient) ListPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PluginList, error) { 2472 out := new(PluginList) 2473 err := c.cc.Invoke(ctx, "/repository.RepoServerService/ListPlugins", in, out, opts...) 2474 if err != nil { 2475 return nil, err 2476 } 2477 return out, nil 2478 } 2479 2480 func (c *repoServerServiceClient) GetAppDetails(ctx context.Context, in *RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*RepoAppDetailsResponse, error) { 2481 out := new(RepoAppDetailsResponse) 2482 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetAppDetails", in, out, opts...) 2483 if err != nil { 2484 return nil, err 2485 } 2486 return out, nil 2487 } 2488 2489 func (c *repoServerServiceClient) GetRevisionMetadata(ctx context.Context, in *RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) { 2490 out := new(v1alpha1.RevisionMetadata) 2491 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetRevisionMetadata", in, out, opts...) 2492 if err != nil { 2493 return nil, err 2494 } 2495 return out, nil 2496 } 2497 2498 func (c *repoServerServiceClient) GetRevisionChartDetails(ctx context.Context, in *RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) { 2499 out := new(v1alpha1.ChartDetails) 2500 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetRevisionChartDetails", in, out, opts...) 2501 if err != nil { 2502 return nil, err 2503 } 2504 return out, nil 2505 } 2506 2507 func (c *repoServerServiceClient) GetHelmCharts(ctx context.Context, in *HelmChartsRequest, opts ...grpc.CallOption) (*HelmChartsResponse, error) { 2508 out := new(HelmChartsResponse) 2509 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetHelmCharts", in, out, opts...) 2510 if err != nil { 2511 return nil, err 2512 } 2513 return out, nil 2514 } 2515 2516 func (c *repoServerServiceClient) GetGitFiles(ctx context.Context, in *GitFilesRequest, opts ...grpc.CallOption) (*GitFilesResponse, error) { 2517 out := new(GitFilesResponse) 2518 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetGitFiles", in, out, opts...) 2519 if err != nil { 2520 return nil, err 2521 } 2522 return out, nil 2523 } 2524 2525 func (c *repoServerServiceClient) GetGitDirectories(ctx context.Context, in *GitDirectoriesRequest, opts ...grpc.CallOption) (*GitDirectoriesResponse, error) { 2526 out := new(GitDirectoriesResponse) 2527 err := c.cc.Invoke(ctx, "/repository.RepoServerService/GetGitDirectories", in, out, opts...) 2528 if err != nil { 2529 return nil, err 2530 } 2531 return out, nil 2532 } 2533 2534 // RepoServerServiceServer is the server API for RepoServerService service. 2535 type RepoServerServiceServer interface { 2536 // GenerateManifest generates manifest for application in specified repo name and revision 2537 GenerateManifest(context.Context, *ManifestRequest) (*ManifestResponse, error) 2538 // GenerateManifestWithFiles generates manifest for application using provided tarball of files 2539 GenerateManifestWithFiles(RepoServerService_GenerateManifestWithFilesServer) error 2540 // Returns a bool val if the repository is valid and has proper access 2541 TestRepository(context.Context, *TestRepositoryRequest) (*TestRepositoryResponse, error) 2542 // Returns a valid revision 2543 ResolveRevision(context.Context, *ResolveRevisionRequest) (*ResolveRevisionResponse, error) 2544 // Returns a list of refs (e.g. branches and tags) in the repo 2545 ListRefs(context.Context, *ListRefsRequest) (*Refs, error) 2546 // ListApps returns a list of apps in the repo 2547 ListApps(context.Context, *ListAppsRequest) (*AppList, error) 2548 // ListPlugins returns a list of cmp v2 plugins running as sidecar to reposerver 2549 ListPlugins(context.Context, *emptypb.Empty) (*PluginList, error) 2550 // Generate manifest for application in specified repo name and revision 2551 GetAppDetails(context.Context, *RepoServerAppDetailsQuery) (*RepoAppDetailsResponse, error) 2552 // Get the meta-data (author, date, tags, message) for a specific revision of the repo 2553 GetRevisionMetadata(context.Context, *RepoServerRevisionMetadataRequest) (*v1alpha1.RevisionMetadata, error) 2554 // Get the chart details (author, date, tags, message) for a specific revision of the repo 2555 GetRevisionChartDetails(context.Context, *RepoServerRevisionChartDetailsRequest) (*v1alpha1.ChartDetails, error) 2556 // GetHelmCharts returns list of helm charts in the specified repository 2557 GetHelmCharts(context.Context, *HelmChartsRequest) (*HelmChartsResponse, error) 2558 // GetGitFiles returns a set of file paths and their contents for the given repo 2559 GetGitFiles(context.Context, *GitFilesRequest) (*GitFilesResponse, error) 2560 // GetGitDirectories returns a set of directory paths for the given repo 2561 GetGitDirectories(context.Context, *GitDirectoriesRequest) (*GitDirectoriesResponse, error) 2562 } 2563 2564 // UnimplementedRepoServerServiceServer can be embedded to have forward compatible implementations. 2565 type UnimplementedRepoServerServiceServer struct { 2566 } 2567 2568 func (*UnimplementedRepoServerServiceServer) GenerateManifest(ctx context.Context, req *ManifestRequest) (*ManifestResponse, error) { 2569 return nil, status.Errorf(codes.Unimplemented, "method GenerateManifest not implemented") 2570 } 2571 func (*UnimplementedRepoServerServiceServer) GenerateManifestWithFiles(srv RepoServerService_GenerateManifestWithFilesServer) error { 2572 return status.Errorf(codes.Unimplemented, "method GenerateManifestWithFiles not implemented") 2573 } 2574 func (*UnimplementedRepoServerServiceServer) TestRepository(ctx context.Context, req *TestRepositoryRequest) (*TestRepositoryResponse, error) { 2575 return nil, status.Errorf(codes.Unimplemented, "method TestRepository not implemented") 2576 } 2577 func (*UnimplementedRepoServerServiceServer) ResolveRevision(ctx context.Context, req *ResolveRevisionRequest) (*ResolveRevisionResponse, error) { 2578 return nil, status.Errorf(codes.Unimplemented, "method ResolveRevision not implemented") 2579 } 2580 func (*UnimplementedRepoServerServiceServer) ListRefs(ctx context.Context, req *ListRefsRequest) (*Refs, error) { 2581 return nil, status.Errorf(codes.Unimplemented, "method ListRefs not implemented") 2582 } 2583 func (*UnimplementedRepoServerServiceServer) ListApps(ctx context.Context, req *ListAppsRequest) (*AppList, error) { 2584 return nil, status.Errorf(codes.Unimplemented, "method ListApps not implemented") 2585 } 2586 func (*UnimplementedRepoServerServiceServer) ListPlugins(ctx context.Context, req *emptypb.Empty) (*PluginList, error) { 2587 return nil, status.Errorf(codes.Unimplemented, "method ListPlugins not implemented") 2588 } 2589 func (*UnimplementedRepoServerServiceServer) GetAppDetails(ctx context.Context, req *RepoServerAppDetailsQuery) (*RepoAppDetailsResponse, error) { 2590 return nil, status.Errorf(codes.Unimplemented, "method GetAppDetails not implemented") 2591 } 2592 func (*UnimplementedRepoServerServiceServer) GetRevisionMetadata(ctx context.Context, req *RepoServerRevisionMetadataRequest) (*v1alpha1.RevisionMetadata, error) { 2593 return nil, status.Errorf(codes.Unimplemented, "method GetRevisionMetadata not implemented") 2594 } 2595 func (*UnimplementedRepoServerServiceServer) GetRevisionChartDetails(ctx context.Context, req *RepoServerRevisionChartDetailsRequest) (*v1alpha1.ChartDetails, error) { 2596 return nil, status.Errorf(codes.Unimplemented, "method GetRevisionChartDetails not implemented") 2597 } 2598 func (*UnimplementedRepoServerServiceServer) GetHelmCharts(ctx context.Context, req *HelmChartsRequest) (*HelmChartsResponse, error) { 2599 return nil, status.Errorf(codes.Unimplemented, "method GetHelmCharts not implemented") 2600 } 2601 func (*UnimplementedRepoServerServiceServer) GetGitFiles(ctx context.Context, req *GitFilesRequest) (*GitFilesResponse, error) { 2602 return nil, status.Errorf(codes.Unimplemented, "method GetGitFiles not implemented") 2603 } 2604 func (*UnimplementedRepoServerServiceServer) GetGitDirectories(ctx context.Context, req *GitDirectoriesRequest) (*GitDirectoriesResponse, error) { 2605 return nil, status.Errorf(codes.Unimplemented, "method GetGitDirectories not implemented") 2606 } 2607 2608 func RegisterRepoServerServiceServer(s *grpc.Server, srv RepoServerServiceServer) { 2609 s.RegisterService(&_RepoServerService_serviceDesc, srv) 2610 } 2611 2612 func _RepoServerService_GenerateManifest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2613 in := new(ManifestRequest) 2614 if err := dec(in); err != nil { 2615 return nil, err 2616 } 2617 if interceptor == nil { 2618 return srv.(RepoServerServiceServer).GenerateManifest(ctx, in) 2619 } 2620 info := &grpc.UnaryServerInfo{ 2621 Server: srv, 2622 FullMethod: "/repository.RepoServerService/GenerateManifest", 2623 } 2624 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2625 return srv.(RepoServerServiceServer).GenerateManifest(ctx, req.(*ManifestRequest)) 2626 } 2627 return interceptor(ctx, in, info, handler) 2628 } 2629 2630 func _RepoServerService_GenerateManifestWithFiles_Handler(srv interface{}, stream grpc.ServerStream) error { 2631 return srv.(RepoServerServiceServer).GenerateManifestWithFiles(&repoServerServiceGenerateManifestWithFilesServer{stream}) 2632 } 2633 2634 type RepoServerService_GenerateManifestWithFilesServer interface { 2635 SendAndClose(*ManifestResponse) error 2636 Recv() (*ManifestRequestWithFiles, error) 2637 grpc.ServerStream 2638 } 2639 2640 type repoServerServiceGenerateManifestWithFilesServer struct { 2641 grpc.ServerStream 2642 } 2643 2644 func (x *repoServerServiceGenerateManifestWithFilesServer) SendAndClose(m *ManifestResponse) error { 2645 return x.ServerStream.SendMsg(m) 2646 } 2647 2648 func (x *repoServerServiceGenerateManifestWithFilesServer) Recv() (*ManifestRequestWithFiles, error) { 2649 m := new(ManifestRequestWithFiles) 2650 if err := x.ServerStream.RecvMsg(m); err != nil { 2651 return nil, err 2652 } 2653 return m, nil 2654 } 2655 2656 func _RepoServerService_TestRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2657 in := new(TestRepositoryRequest) 2658 if err := dec(in); err != nil { 2659 return nil, err 2660 } 2661 if interceptor == nil { 2662 return srv.(RepoServerServiceServer).TestRepository(ctx, in) 2663 } 2664 info := &grpc.UnaryServerInfo{ 2665 Server: srv, 2666 FullMethod: "/repository.RepoServerService/TestRepository", 2667 } 2668 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2669 return srv.(RepoServerServiceServer).TestRepository(ctx, req.(*TestRepositoryRequest)) 2670 } 2671 return interceptor(ctx, in, info, handler) 2672 } 2673 2674 func _RepoServerService_ResolveRevision_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2675 in := new(ResolveRevisionRequest) 2676 if err := dec(in); err != nil { 2677 return nil, err 2678 } 2679 if interceptor == nil { 2680 return srv.(RepoServerServiceServer).ResolveRevision(ctx, in) 2681 } 2682 info := &grpc.UnaryServerInfo{ 2683 Server: srv, 2684 FullMethod: "/repository.RepoServerService/ResolveRevision", 2685 } 2686 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2687 return srv.(RepoServerServiceServer).ResolveRevision(ctx, req.(*ResolveRevisionRequest)) 2688 } 2689 return interceptor(ctx, in, info, handler) 2690 } 2691 2692 func _RepoServerService_ListRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2693 in := new(ListRefsRequest) 2694 if err := dec(in); err != nil { 2695 return nil, err 2696 } 2697 if interceptor == nil { 2698 return srv.(RepoServerServiceServer).ListRefs(ctx, in) 2699 } 2700 info := &grpc.UnaryServerInfo{ 2701 Server: srv, 2702 FullMethod: "/repository.RepoServerService/ListRefs", 2703 } 2704 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2705 return srv.(RepoServerServiceServer).ListRefs(ctx, req.(*ListRefsRequest)) 2706 } 2707 return interceptor(ctx, in, info, handler) 2708 } 2709 2710 func _RepoServerService_ListApps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2711 in := new(ListAppsRequest) 2712 if err := dec(in); err != nil { 2713 return nil, err 2714 } 2715 if interceptor == nil { 2716 return srv.(RepoServerServiceServer).ListApps(ctx, in) 2717 } 2718 info := &grpc.UnaryServerInfo{ 2719 Server: srv, 2720 FullMethod: "/repository.RepoServerService/ListApps", 2721 } 2722 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2723 return srv.(RepoServerServiceServer).ListApps(ctx, req.(*ListAppsRequest)) 2724 } 2725 return interceptor(ctx, in, info, handler) 2726 } 2727 2728 func _RepoServerService_ListPlugins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2729 in := new(emptypb.Empty) 2730 if err := dec(in); err != nil { 2731 return nil, err 2732 } 2733 if interceptor == nil { 2734 return srv.(RepoServerServiceServer).ListPlugins(ctx, in) 2735 } 2736 info := &grpc.UnaryServerInfo{ 2737 Server: srv, 2738 FullMethod: "/repository.RepoServerService/ListPlugins", 2739 } 2740 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2741 return srv.(RepoServerServiceServer).ListPlugins(ctx, req.(*emptypb.Empty)) 2742 } 2743 return interceptor(ctx, in, info, handler) 2744 } 2745 2746 func _RepoServerService_GetAppDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2747 in := new(RepoServerAppDetailsQuery) 2748 if err := dec(in); err != nil { 2749 return nil, err 2750 } 2751 if interceptor == nil { 2752 return srv.(RepoServerServiceServer).GetAppDetails(ctx, in) 2753 } 2754 info := &grpc.UnaryServerInfo{ 2755 Server: srv, 2756 FullMethod: "/repository.RepoServerService/GetAppDetails", 2757 } 2758 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2759 return srv.(RepoServerServiceServer).GetAppDetails(ctx, req.(*RepoServerAppDetailsQuery)) 2760 } 2761 return interceptor(ctx, in, info, handler) 2762 } 2763 2764 func _RepoServerService_GetRevisionMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2765 in := new(RepoServerRevisionMetadataRequest) 2766 if err := dec(in); err != nil { 2767 return nil, err 2768 } 2769 if interceptor == nil { 2770 return srv.(RepoServerServiceServer).GetRevisionMetadata(ctx, in) 2771 } 2772 info := &grpc.UnaryServerInfo{ 2773 Server: srv, 2774 FullMethod: "/repository.RepoServerService/GetRevisionMetadata", 2775 } 2776 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2777 return srv.(RepoServerServiceServer).GetRevisionMetadata(ctx, req.(*RepoServerRevisionMetadataRequest)) 2778 } 2779 return interceptor(ctx, in, info, handler) 2780 } 2781 2782 func _RepoServerService_GetRevisionChartDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2783 in := new(RepoServerRevisionChartDetailsRequest) 2784 if err := dec(in); err != nil { 2785 return nil, err 2786 } 2787 if interceptor == nil { 2788 return srv.(RepoServerServiceServer).GetRevisionChartDetails(ctx, in) 2789 } 2790 info := &grpc.UnaryServerInfo{ 2791 Server: srv, 2792 FullMethod: "/repository.RepoServerService/GetRevisionChartDetails", 2793 } 2794 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2795 return srv.(RepoServerServiceServer).GetRevisionChartDetails(ctx, req.(*RepoServerRevisionChartDetailsRequest)) 2796 } 2797 return interceptor(ctx, in, info, handler) 2798 } 2799 2800 func _RepoServerService_GetHelmCharts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2801 in := new(HelmChartsRequest) 2802 if err := dec(in); err != nil { 2803 return nil, err 2804 } 2805 if interceptor == nil { 2806 return srv.(RepoServerServiceServer).GetHelmCharts(ctx, in) 2807 } 2808 info := &grpc.UnaryServerInfo{ 2809 Server: srv, 2810 FullMethod: "/repository.RepoServerService/GetHelmCharts", 2811 } 2812 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2813 return srv.(RepoServerServiceServer).GetHelmCharts(ctx, req.(*HelmChartsRequest)) 2814 } 2815 return interceptor(ctx, in, info, handler) 2816 } 2817 2818 func _RepoServerService_GetGitFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2819 in := new(GitFilesRequest) 2820 if err := dec(in); err != nil { 2821 return nil, err 2822 } 2823 if interceptor == nil { 2824 return srv.(RepoServerServiceServer).GetGitFiles(ctx, in) 2825 } 2826 info := &grpc.UnaryServerInfo{ 2827 Server: srv, 2828 FullMethod: "/repository.RepoServerService/GetGitFiles", 2829 } 2830 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2831 return srv.(RepoServerServiceServer).GetGitFiles(ctx, req.(*GitFilesRequest)) 2832 } 2833 return interceptor(ctx, in, info, handler) 2834 } 2835 2836 func _RepoServerService_GetGitDirectories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2837 in := new(GitDirectoriesRequest) 2838 if err := dec(in); err != nil { 2839 return nil, err 2840 } 2841 if interceptor == nil { 2842 return srv.(RepoServerServiceServer).GetGitDirectories(ctx, in) 2843 } 2844 info := &grpc.UnaryServerInfo{ 2845 Server: srv, 2846 FullMethod: "/repository.RepoServerService/GetGitDirectories", 2847 } 2848 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2849 return srv.(RepoServerServiceServer).GetGitDirectories(ctx, req.(*GitDirectoriesRequest)) 2850 } 2851 return interceptor(ctx, in, info, handler) 2852 } 2853 2854 var _RepoServerService_serviceDesc = grpc.ServiceDesc{ 2855 ServiceName: "repository.RepoServerService", 2856 HandlerType: (*RepoServerServiceServer)(nil), 2857 Methods: []grpc.MethodDesc{ 2858 { 2859 MethodName: "GenerateManifest", 2860 Handler: _RepoServerService_GenerateManifest_Handler, 2861 }, 2862 { 2863 MethodName: "TestRepository", 2864 Handler: _RepoServerService_TestRepository_Handler, 2865 }, 2866 { 2867 MethodName: "ResolveRevision", 2868 Handler: _RepoServerService_ResolveRevision_Handler, 2869 }, 2870 { 2871 MethodName: "ListRefs", 2872 Handler: _RepoServerService_ListRefs_Handler, 2873 }, 2874 { 2875 MethodName: "ListApps", 2876 Handler: _RepoServerService_ListApps_Handler, 2877 }, 2878 { 2879 MethodName: "ListPlugins", 2880 Handler: _RepoServerService_ListPlugins_Handler, 2881 }, 2882 { 2883 MethodName: "GetAppDetails", 2884 Handler: _RepoServerService_GetAppDetails_Handler, 2885 }, 2886 { 2887 MethodName: "GetRevisionMetadata", 2888 Handler: _RepoServerService_GetRevisionMetadata_Handler, 2889 }, 2890 { 2891 MethodName: "GetRevisionChartDetails", 2892 Handler: _RepoServerService_GetRevisionChartDetails_Handler, 2893 }, 2894 { 2895 MethodName: "GetHelmCharts", 2896 Handler: _RepoServerService_GetHelmCharts_Handler, 2897 }, 2898 { 2899 MethodName: "GetGitFiles", 2900 Handler: _RepoServerService_GetGitFiles_Handler, 2901 }, 2902 { 2903 MethodName: "GetGitDirectories", 2904 Handler: _RepoServerService_GetGitDirectories_Handler, 2905 }, 2906 }, 2907 Streams: []grpc.StreamDesc{ 2908 { 2909 StreamName: "GenerateManifestWithFiles", 2910 Handler: _RepoServerService_GenerateManifestWithFiles_Handler, 2911 ClientStreams: true, 2912 }, 2913 }, 2914 Metadata: "reposerver/repository/repository.proto", 2915 } 2916 2917 func (m *ManifestRequest) Marshal() (dAtA []byte, err error) { 2918 size := m.Size() 2919 dAtA = make([]byte, size) 2920 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2921 if err != nil { 2922 return nil, err 2923 } 2924 return dAtA[:n], nil 2925 } 2926 2927 func (m *ManifestRequest) MarshalTo(dAtA []byte) (int, error) { 2928 size := m.Size() 2929 return m.MarshalToSizedBuffer(dAtA[:size]) 2930 } 2931 2932 func (m *ManifestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2933 i := len(dAtA) 2934 _ = i 2935 var l int 2936 _ = l 2937 if m.XXX_unrecognized != nil { 2938 i -= len(m.XXX_unrecognized) 2939 copy(dAtA[i:], m.XXX_unrecognized) 2940 } 2941 if len(m.ProjectName) > 0 { 2942 i -= len(m.ProjectName) 2943 copy(dAtA[i:], m.ProjectName) 2944 i = encodeVarintRepository(dAtA, i, uint64(len(m.ProjectName))) 2945 i-- 2946 dAtA[i] = 0x1 2947 i-- 2948 dAtA[i] = 0xca 2949 } 2950 if len(m.ProjectSourceRepos) > 0 { 2951 for iNdEx := len(m.ProjectSourceRepos) - 1; iNdEx >= 0; iNdEx-- { 2952 i -= len(m.ProjectSourceRepos[iNdEx]) 2953 copy(dAtA[i:], m.ProjectSourceRepos[iNdEx]) 2954 i = encodeVarintRepository(dAtA, i, uint64(len(m.ProjectSourceRepos[iNdEx]))) 2955 i-- 2956 dAtA[i] = 0x1 2957 i-- 2958 dAtA[i] = 0xc2 2959 } 2960 } 2961 if len(m.RefSources) > 0 { 2962 for k := range m.RefSources { 2963 v := m.RefSources[k] 2964 baseI := i 2965 if v != nil { 2966 { 2967 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 2968 if err != nil { 2969 return 0, err 2970 } 2971 i -= size 2972 i = encodeVarintRepository(dAtA, i, uint64(size)) 2973 } 2974 i-- 2975 dAtA[i] = 0x12 2976 } 2977 i -= len(k) 2978 copy(dAtA[i:], k) 2979 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 2980 i-- 2981 dAtA[i] = 0xa 2982 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 2983 i-- 2984 dAtA[i] = 0x1 2985 i-- 2986 dAtA[i] = 0xba 2987 } 2988 } 2989 if m.HasMultipleSources { 2990 i-- 2991 if m.HasMultipleSources { 2992 dAtA[i] = 1 2993 } else { 2994 dAtA[i] = 0 2995 } 2996 i-- 2997 dAtA[i] = 0x1 2998 i-- 2999 dAtA[i] = 0xb0 3000 } 3001 if m.HelmOptions != nil { 3002 { 3003 size, err := m.HelmOptions.MarshalToSizedBuffer(dAtA[:i]) 3004 if err != nil { 3005 return 0, err 3006 } 3007 i -= size 3008 i = encodeVarintRepository(dAtA, i, uint64(size)) 3009 } 3010 i-- 3011 dAtA[i] = 0x1 3012 i-- 3013 dAtA[i] = 0xaa 3014 } 3015 if len(m.EnabledSourceTypes) > 0 { 3016 for k := range m.EnabledSourceTypes { 3017 v := m.EnabledSourceTypes[k] 3018 baseI := i 3019 i-- 3020 if v { 3021 dAtA[i] = 1 3022 } else { 3023 dAtA[i] = 0 3024 } 3025 i-- 3026 dAtA[i] = 0x10 3027 i -= len(k) 3028 copy(dAtA[i:], k) 3029 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 3030 i-- 3031 dAtA[i] = 0xa 3032 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 3033 i-- 3034 dAtA[i] = 0x1 3035 i-- 3036 dAtA[i] = 0xa2 3037 } 3038 } 3039 if len(m.TrackingMethod) > 0 { 3040 i -= len(m.TrackingMethod) 3041 copy(dAtA[i:], m.TrackingMethod) 3042 i = encodeVarintRepository(dAtA, i, uint64(len(m.TrackingMethod))) 3043 i-- 3044 dAtA[i] = 0x1 3045 i-- 3046 dAtA[i] = 0x9a 3047 } 3048 if m.NoRevisionCache { 3049 i-- 3050 if m.NoRevisionCache { 3051 dAtA[i] = 1 3052 } else { 3053 dAtA[i] = 0 3054 } 3055 i-- 3056 dAtA[i] = 0x1 3057 i-- 3058 dAtA[i] = 0x90 3059 } 3060 if len(m.HelmRepoCreds) > 0 { 3061 for iNdEx := len(m.HelmRepoCreds) - 1; iNdEx >= 0; iNdEx-- { 3062 { 3063 size, err := m.HelmRepoCreds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3064 if err != nil { 3065 return 0, err 3066 } 3067 i -= size 3068 i = encodeVarintRepository(dAtA, i, uint64(size)) 3069 } 3070 i-- 3071 dAtA[i] = 0x1 3072 i-- 3073 dAtA[i] = 0x8a 3074 } 3075 } 3076 if m.VerifySignature { 3077 i-- 3078 if m.VerifySignature { 3079 dAtA[i] = 1 3080 } else { 3081 dAtA[i] = 0 3082 } 3083 i-- 3084 dAtA[i] = 0x1 3085 i-- 3086 dAtA[i] = 0x80 3087 } 3088 if len(m.ApiVersions) > 0 { 3089 for iNdEx := len(m.ApiVersions) - 1; iNdEx >= 0; iNdEx-- { 3090 i -= len(m.ApiVersions[iNdEx]) 3091 copy(dAtA[i:], m.ApiVersions[iNdEx]) 3092 i = encodeVarintRepository(dAtA, i, uint64(len(m.ApiVersions[iNdEx]))) 3093 i-- 3094 dAtA[i] = 0x7a 3095 } 3096 } 3097 if len(m.KubeVersion) > 0 { 3098 i -= len(m.KubeVersion) 3099 copy(dAtA[i:], m.KubeVersion) 3100 i = encodeVarintRepository(dAtA, i, uint64(len(m.KubeVersion))) 3101 i-- 3102 dAtA[i] = 0x72 3103 } 3104 if m.KustomizeOptions != nil { 3105 { 3106 size, err := m.KustomizeOptions.MarshalToSizedBuffer(dAtA[:i]) 3107 if err != nil { 3108 return 0, err 3109 } 3110 i -= size 3111 i = encodeVarintRepository(dAtA, i, uint64(size)) 3112 } 3113 i-- 3114 dAtA[i] = 0x6a 3115 } 3116 if len(m.Plugins) > 0 { 3117 for iNdEx := len(m.Plugins) - 1; iNdEx >= 0; iNdEx-- { 3118 { 3119 size, err := m.Plugins[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3120 if err != nil { 3121 return 0, err 3122 } 3123 i -= size 3124 i = encodeVarintRepository(dAtA, i, uint64(size)) 3125 } 3126 i-- 3127 dAtA[i] = 0x62 3128 } 3129 } 3130 if len(m.Repos) > 0 { 3131 for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- { 3132 { 3133 size, err := m.Repos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3134 if err != nil { 3135 return 0, err 3136 } 3137 i -= size 3138 i = encodeVarintRepository(dAtA, i, uint64(size)) 3139 } 3140 i-- 3141 dAtA[i] = 0x5a 3142 } 3143 } 3144 if m.ApplicationSource != nil { 3145 { 3146 size, err := m.ApplicationSource.MarshalToSizedBuffer(dAtA[:i]) 3147 if err != nil { 3148 return 0, err 3149 } 3150 i -= size 3151 i = encodeVarintRepository(dAtA, i, uint64(size)) 3152 } 3153 i-- 3154 dAtA[i] = 0x52 3155 } 3156 if len(m.Namespace) > 0 { 3157 i -= len(m.Namespace) 3158 copy(dAtA[i:], m.Namespace) 3159 i = encodeVarintRepository(dAtA, i, uint64(len(m.Namespace))) 3160 i-- 3161 dAtA[i] = 0x42 3162 } 3163 if len(m.AppName) > 0 { 3164 i -= len(m.AppName) 3165 copy(dAtA[i:], m.AppName) 3166 i = encodeVarintRepository(dAtA, i, uint64(len(m.AppName))) 3167 i-- 3168 dAtA[i] = 0x2a 3169 } 3170 if len(m.AppLabelKey) > 0 { 3171 i -= len(m.AppLabelKey) 3172 copy(dAtA[i:], m.AppLabelKey) 3173 i = encodeVarintRepository(dAtA, i, uint64(len(m.AppLabelKey))) 3174 i-- 3175 dAtA[i] = 0x22 3176 } 3177 if m.NoCache { 3178 i-- 3179 if m.NoCache { 3180 dAtA[i] = 1 3181 } else { 3182 dAtA[i] = 0 3183 } 3184 i-- 3185 dAtA[i] = 0x18 3186 } 3187 if len(m.Revision) > 0 { 3188 i -= len(m.Revision) 3189 copy(dAtA[i:], m.Revision) 3190 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 3191 i-- 3192 dAtA[i] = 0x12 3193 } 3194 if m.Repo != nil { 3195 { 3196 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 3197 if err != nil { 3198 return 0, err 3199 } 3200 i -= size 3201 i = encodeVarintRepository(dAtA, i, uint64(size)) 3202 } 3203 i-- 3204 dAtA[i] = 0xa 3205 } 3206 return len(dAtA) - i, nil 3207 } 3208 3209 func (m *ManifestRequestWithFiles) Marshal() (dAtA []byte, err error) { 3210 size := m.Size() 3211 dAtA = make([]byte, size) 3212 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3213 if err != nil { 3214 return nil, err 3215 } 3216 return dAtA[:n], nil 3217 } 3218 3219 func (m *ManifestRequestWithFiles) MarshalTo(dAtA []byte) (int, error) { 3220 size := m.Size() 3221 return m.MarshalToSizedBuffer(dAtA[:size]) 3222 } 3223 3224 func (m *ManifestRequestWithFiles) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3225 i := len(dAtA) 3226 _ = i 3227 var l int 3228 _ = l 3229 if m.XXX_unrecognized != nil { 3230 i -= len(m.XXX_unrecognized) 3231 copy(dAtA[i:], m.XXX_unrecognized) 3232 } 3233 if m.Part != nil { 3234 { 3235 size := m.Part.Size() 3236 i -= size 3237 if _, err := m.Part.MarshalTo(dAtA[i:]); err != nil { 3238 return 0, err 3239 } 3240 } 3241 } 3242 return len(dAtA) - i, nil 3243 } 3244 3245 func (m *ManifestRequestWithFiles_Request) MarshalTo(dAtA []byte) (int, error) { 3246 size := m.Size() 3247 return m.MarshalToSizedBuffer(dAtA[:size]) 3248 } 3249 3250 func (m *ManifestRequestWithFiles_Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3251 i := len(dAtA) 3252 if m.Request != nil { 3253 { 3254 size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) 3255 if err != nil { 3256 return 0, err 3257 } 3258 i -= size 3259 i = encodeVarintRepository(dAtA, i, uint64(size)) 3260 } 3261 i-- 3262 dAtA[i] = 0xa 3263 } 3264 return len(dAtA) - i, nil 3265 } 3266 func (m *ManifestRequestWithFiles_Metadata) MarshalTo(dAtA []byte) (int, error) { 3267 size := m.Size() 3268 return m.MarshalToSizedBuffer(dAtA[:size]) 3269 } 3270 3271 func (m *ManifestRequestWithFiles_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3272 i := len(dAtA) 3273 if m.Metadata != nil { 3274 { 3275 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 3276 if err != nil { 3277 return 0, err 3278 } 3279 i -= size 3280 i = encodeVarintRepository(dAtA, i, uint64(size)) 3281 } 3282 i-- 3283 dAtA[i] = 0x12 3284 } 3285 return len(dAtA) - i, nil 3286 } 3287 func (m *ManifestRequestWithFiles_Chunk) MarshalTo(dAtA []byte) (int, error) { 3288 size := m.Size() 3289 return m.MarshalToSizedBuffer(dAtA[:size]) 3290 } 3291 3292 func (m *ManifestRequestWithFiles_Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3293 i := len(dAtA) 3294 if m.Chunk != nil { 3295 { 3296 size, err := m.Chunk.MarshalToSizedBuffer(dAtA[:i]) 3297 if err != nil { 3298 return 0, err 3299 } 3300 i -= size 3301 i = encodeVarintRepository(dAtA, i, uint64(size)) 3302 } 3303 i-- 3304 dAtA[i] = 0x1a 3305 } 3306 return len(dAtA) - i, nil 3307 } 3308 func (m *ManifestFileMetadata) Marshal() (dAtA []byte, err error) { 3309 size := m.Size() 3310 dAtA = make([]byte, size) 3311 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3312 if err != nil { 3313 return nil, err 3314 } 3315 return dAtA[:n], nil 3316 } 3317 3318 func (m *ManifestFileMetadata) MarshalTo(dAtA []byte) (int, error) { 3319 size := m.Size() 3320 return m.MarshalToSizedBuffer(dAtA[:size]) 3321 } 3322 3323 func (m *ManifestFileMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3324 i := len(dAtA) 3325 _ = i 3326 var l int 3327 _ = l 3328 if m.XXX_unrecognized != nil { 3329 i -= len(m.XXX_unrecognized) 3330 copy(dAtA[i:], m.XXX_unrecognized) 3331 } 3332 if m.Size_ != 0 { 3333 i = encodeVarintRepository(dAtA, i, uint64(m.Size_)) 3334 i-- 3335 dAtA[i] = 0x10 3336 } 3337 if len(m.Checksum) > 0 { 3338 i -= len(m.Checksum) 3339 copy(dAtA[i:], m.Checksum) 3340 i = encodeVarintRepository(dAtA, i, uint64(len(m.Checksum))) 3341 i-- 3342 dAtA[i] = 0xa 3343 } 3344 return len(dAtA) - i, nil 3345 } 3346 3347 func (m *ManifestFileChunk) Marshal() (dAtA []byte, err error) { 3348 size := m.Size() 3349 dAtA = make([]byte, size) 3350 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3351 if err != nil { 3352 return nil, err 3353 } 3354 return dAtA[:n], nil 3355 } 3356 3357 func (m *ManifestFileChunk) MarshalTo(dAtA []byte) (int, error) { 3358 size := m.Size() 3359 return m.MarshalToSizedBuffer(dAtA[:size]) 3360 } 3361 3362 func (m *ManifestFileChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3363 i := len(dAtA) 3364 _ = i 3365 var l int 3366 _ = l 3367 if m.XXX_unrecognized != nil { 3368 i -= len(m.XXX_unrecognized) 3369 copy(dAtA[i:], m.XXX_unrecognized) 3370 } 3371 if len(m.Chunk) > 0 { 3372 i -= len(m.Chunk) 3373 copy(dAtA[i:], m.Chunk) 3374 i = encodeVarintRepository(dAtA, i, uint64(len(m.Chunk))) 3375 i-- 3376 dAtA[i] = 0xa 3377 } 3378 return len(dAtA) - i, nil 3379 } 3380 3381 func (m *TestRepositoryRequest) Marshal() (dAtA []byte, err error) { 3382 size := m.Size() 3383 dAtA = make([]byte, size) 3384 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3385 if err != nil { 3386 return nil, err 3387 } 3388 return dAtA[:n], nil 3389 } 3390 3391 func (m *TestRepositoryRequest) MarshalTo(dAtA []byte) (int, error) { 3392 size := m.Size() 3393 return m.MarshalToSizedBuffer(dAtA[:size]) 3394 } 3395 3396 func (m *TestRepositoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3397 i := len(dAtA) 3398 _ = i 3399 var l int 3400 _ = l 3401 if m.XXX_unrecognized != nil { 3402 i -= len(m.XXX_unrecognized) 3403 copy(dAtA[i:], m.XXX_unrecognized) 3404 } 3405 if m.Repo != nil { 3406 { 3407 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 3408 if err != nil { 3409 return 0, err 3410 } 3411 i -= size 3412 i = encodeVarintRepository(dAtA, i, uint64(size)) 3413 } 3414 i-- 3415 dAtA[i] = 0xa 3416 } 3417 return len(dAtA) - i, nil 3418 } 3419 3420 func (m *TestRepositoryResponse) Marshal() (dAtA []byte, err error) { 3421 size := m.Size() 3422 dAtA = make([]byte, size) 3423 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3424 if err != nil { 3425 return nil, err 3426 } 3427 return dAtA[:n], nil 3428 } 3429 3430 func (m *TestRepositoryResponse) MarshalTo(dAtA []byte) (int, error) { 3431 size := m.Size() 3432 return m.MarshalToSizedBuffer(dAtA[:size]) 3433 } 3434 3435 func (m *TestRepositoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3436 i := len(dAtA) 3437 _ = i 3438 var l int 3439 _ = l 3440 if m.XXX_unrecognized != nil { 3441 i -= len(m.XXX_unrecognized) 3442 copy(dAtA[i:], m.XXX_unrecognized) 3443 } 3444 if m.VerifiedRepository { 3445 i-- 3446 if m.VerifiedRepository { 3447 dAtA[i] = 1 3448 } else { 3449 dAtA[i] = 0 3450 } 3451 i-- 3452 dAtA[i] = 0x8 3453 } 3454 return len(dAtA) - i, nil 3455 } 3456 3457 func (m *ResolveRevisionRequest) Marshal() (dAtA []byte, err error) { 3458 size := m.Size() 3459 dAtA = make([]byte, size) 3460 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3461 if err != nil { 3462 return nil, err 3463 } 3464 return dAtA[:n], nil 3465 } 3466 3467 func (m *ResolveRevisionRequest) MarshalTo(dAtA []byte) (int, error) { 3468 size := m.Size() 3469 return m.MarshalToSizedBuffer(dAtA[:size]) 3470 } 3471 3472 func (m *ResolveRevisionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3473 i := len(dAtA) 3474 _ = i 3475 var l int 3476 _ = l 3477 if m.XXX_unrecognized != nil { 3478 i -= len(m.XXX_unrecognized) 3479 copy(dAtA[i:], m.XXX_unrecognized) 3480 } 3481 if len(m.AmbiguousRevision) > 0 { 3482 i -= len(m.AmbiguousRevision) 3483 copy(dAtA[i:], m.AmbiguousRevision) 3484 i = encodeVarintRepository(dAtA, i, uint64(len(m.AmbiguousRevision))) 3485 i-- 3486 dAtA[i] = 0x1a 3487 } 3488 if m.App != nil { 3489 { 3490 size, err := m.App.MarshalToSizedBuffer(dAtA[:i]) 3491 if err != nil { 3492 return 0, err 3493 } 3494 i -= size 3495 i = encodeVarintRepository(dAtA, i, uint64(size)) 3496 } 3497 i-- 3498 dAtA[i] = 0x12 3499 } 3500 if m.Repo != nil { 3501 { 3502 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 3503 if err != nil { 3504 return 0, err 3505 } 3506 i -= size 3507 i = encodeVarintRepository(dAtA, i, uint64(size)) 3508 } 3509 i-- 3510 dAtA[i] = 0xa 3511 } 3512 return len(dAtA) - i, nil 3513 } 3514 3515 func (m *ResolveRevisionResponse) Marshal() (dAtA []byte, err error) { 3516 size := m.Size() 3517 dAtA = make([]byte, size) 3518 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3519 if err != nil { 3520 return nil, err 3521 } 3522 return dAtA[:n], nil 3523 } 3524 3525 func (m *ResolveRevisionResponse) MarshalTo(dAtA []byte) (int, error) { 3526 size := m.Size() 3527 return m.MarshalToSizedBuffer(dAtA[:size]) 3528 } 3529 3530 func (m *ResolveRevisionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3531 i := len(dAtA) 3532 _ = i 3533 var l int 3534 _ = l 3535 if m.XXX_unrecognized != nil { 3536 i -= len(m.XXX_unrecognized) 3537 copy(dAtA[i:], m.XXX_unrecognized) 3538 } 3539 if len(m.AmbiguousRevision) > 0 { 3540 i -= len(m.AmbiguousRevision) 3541 copy(dAtA[i:], m.AmbiguousRevision) 3542 i = encodeVarintRepository(dAtA, i, uint64(len(m.AmbiguousRevision))) 3543 i-- 3544 dAtA[i] = 0x12 3545 } 3546 if len(m.Revision) > 0 { 3547 i -= len(m.Revision) 3548 copy(dAtA[i:], m.Revision) 3549 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 3550 i-- 3551 dAtA[i] = 0xa 3552 } 3553 return len(dAtA) - i, nil 3554 } 3555 3556 func (m *ManifestResponse) Marshal() (dAtA []byte, err error) { 3557 size := m.Size() 3558 dAtA = make([]byte, size) 3559 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3560 if err != nil { 3561 return nil, err 3562 } 3563 return dAtA[:n], nil 3564 } 3565 3566 func (m *ManifestResponse) MarshalTo(dAtA []byte) (int, error) { 3567 size := m.Size() 3568 return m.MarshalToSizedBuffer(dAtA[:size]) 3569 } 3570 3571 func (m *ManifestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3572 i := len(dAtA) 3573 _ = i 3574 var l int 3575 _ = l 3576 if m.XXX_unrecognized != nil { 3577 i -= len(m.XXX_unrecognized) 3578 copy(dAtA[i:], m.XXX_unrecognized) 3579 } 3580 if len(m.VerifyResult) > 0 { 3581 i -= len(m.VerifyResult) 3582 copy(dAtA[i:], m.VerifyResult) 3583 i = encodeVarintRepository(dAtA, i, uint64(len(m.VerifyResult))) 3584 i-- 3585 dAtA[i] = 0x3a 3586 } 3587 if len(m.SourceType) > 0 { 3588 i -= len(m.SourceType) 3589 copy(dAtA[i:], m.SourceType) 3590 i = encodeVarintRepository(dAtA, i, uint64(len(m.SourceType))) 3591 i-- 3592 dAtA[i] = 0x32 3593 } 3594 if len(m.Revision) > 0 { 3595 i -= len(m.Revision) 3596 copy(dAtA[i:], m.Revision) 3597 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 3598 i-- 3599 dAtA[i] = 0x22 3600 } 3601 if len(m.Server) > 0 { 3602 i -= len(m.Server) 3603 copy(dAtA[i:], m.Server) 3604 i = encodeVarintRepository(dAtA, i, uint64(len(m.Server))) 3605 i-- 3606 dAtA[i] = 0x1a 3607 } 3608 if len(m.Namespace) > 0 { 3609 i -= len(m.Namespace) 3610 copy(dAtA[i:], m.Namespace) 3611 i = encodeVarintRepository(dAtA, i, uint64(len(m.Namespace))) 3612 i-- 3613 dAtA[i] = 0x12 3614 } 3615 if len(m.Manifests) > 0 { 3616 for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { 3617 i -= len(m.Manifests[iNdEx]) 3618 copy(dAtA[i:], m.Manifests[iNdEx]) 3619 i = encodeVarintRepository(dAtA, i, uint64(len(m.Manifests[iNdEx]))) 3620 i-- 3621 dAtA[i] = 0xa 3622 } 3623 } 3624 return len(dAtA) - i, nil 3625 } 3626 3627 func (m *ListRefsRequest) Marshal() (dAtA []byte, err error) { 3628 size := m.Size() 3629 dAtA = make([]byte, size) 3630 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3631 if err != nil { 3632 return nil, err 3633 } 3634 return dAtA[:n], nil 3635 } 3636 3637 func (m *ListRefsRequest) MarshalTo(dAtA []byte) (int, error) { 3638 size := m.Size() 3639 return m.MarshalToSizedBuffer(dAtA[:size]) 3640 } 3641 3642 func (m *ListRefsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3643 i := len(dAtA) 3644 _ = i 3645 var l int 3646 _ = l 3647 if m.XXX_unrecognized != nil { 3648 i -= len(m.XXX_unrecognized) 3649 copy(dAtA[i:], m.XXX_unrecognized) 3650 } 3651 if m.Repo != nil { 3652 { 3653 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 3654 if err != nil { 3655 return 0, err 3656 } 3657 i -= size 3658 i = encodeVarintRepository(dAtA, i, uint64(size)) 3659 } 3660 i-- 3661 dAtA[i] = 0xa 3662 } 3663 return len(dAtA) - i, nil 3664 } 3665 3666 func (m *Refs) Marshal() (dAtA []byte, err error) { 3667 size := m.Size() 3668 dAtA = make([]byte, size) 3669 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3670 if err != nil { 3671 return nil, err 3672 } 3673 return dAtA[:n], nil 3674 } 3675 3676 func (m *Refs) MarshalTo(dAtA []byte) (int, error) { 3677 size := m.Size() 3678 return m.MarshalToSizedBuffer(dAtA[:size]) 3679 } 3680 3681 func (m *Refs) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3682 i := len(dAtA) 3683 _ = i 3684 var l int 3685 _ = l 3686 if m.XXX_unrecognized != nil { 3687 i -= len(m.XXX_unrecognized) 3688 copy(dAtA[i:], m.XXX_unrecognized) 3689 } 3690 if len(m.Tags) > 0 { 3691 for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { 3692 i -= len(m.Tags[iNdEx]) 3693 copy(dAtA[i:], m.Tags[iNdEx]) 3694 i = encodeVarintRepository(dAtA, i, uint64(len(m.Tags[iNdEx]))) 3695 i-- 3696 dAtA[i] = 0x12 3697 } 3698 } 3699 if len(m.Branches) > 0 { 3700 for iNdEx := len(m.Branches) - 1; iNdEx >= 0; iNdEx-- { 3701 i -= len(m.Branches[iNdEx]) 3702 copy(dAtA[i:], m.Branches[iNdEx]) 3703 i = encodeVarintRepository(dAtA, i, uint64(len(m.Branches[iNdEx]))) 3704 i-- 3705 dAtA[i] = 0xa 3706 } 3707 } 3708 return len(dAtA) - i, nil 3709 } 3710 3711 func (m *ListAppsRequest) Marshal() (dAtA []byte, err error) { 3712 size := m.Size() 3713 dAtA = make([]byte, size) 3714 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3715 if err != nil { 3716 return nil, err 3717 } 3718 return dAtA[:n], nil 3719 } 3720 3721 func (m *ListAppsRequest) MarshalTo(dAtA []byte) (int, error) { 3722 size := m.Size() 3723 return m.MarshalToSizedBuffer(dAtA[:size]) 3724 } 3725 3726 func (m *ListAppsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3727 i := len(dAtA) 3728 _ = i 3729 var l int 3730 _ = l 3731 if m.XXX_unrecognized != nil { 3732 i -= len(m.XXX_unrecognized) 3733 copy(dAtA[i:], m.XXX_unrecognized) 3734 } 3735 if len(m.EnabledSourceTypes) > 0 { 3736 for k := range m.EnabledSourceTypes { 3737 v := m.EnabledSourceTypes[k] 3738 baseI := i 3739 i-- 3740 if v { 3741 dAtA[i] = 1 3742 } else { 3743 dAtA[i] = 0 3744 } 3745 i-- 3746 dAtA[i] = 0x10 3747 i -= len(k) 3748 copy(dAtA[i:], k) 3749 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 3750 i-- 3751 dAtA[i] = 0xa 3752 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 3753 i-- 3754 dAtA[i] = 0x1a 3755 } 3756 } 3757 if len(m.Revision) > 0 { 3758 i -= len(m.Revision) 3759 copy(dAtA[i:], m.Revision) 3760 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 3761 i-- 3762 dAtA[i] = 0x12 3763 } 3764 if m.Repo != nil { 3765 { 3766 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 3767 if err != nil { 3768 return 0, err 3769 } 3770 i -= size 3771 i = encodeVarintRepository(dAtA, i, uint64(size)) 3772 } 3773 i-- 3774 dAtA[i] = 0xa 3775 } 3776 return len(dAtA) - i, nil 3777 } 3778 3779 func (m *AppList) Marshal() (dAtA []byte, err error) { 3780 size := m.Size() 3781 dAtA = make([]byte, size) 3782 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3783 if err != nil { 3784 return nil, err 3785 } 3786 return dAtA[:n], nil 3787 } 3788 3789 func (m *AppList) MarshalTo(dAtA []byte) (int, error) { 3790 size := m.Size() 3791 return m.MarshalToSizedBuffer(dAtA[:size]) 3792 } 3793 3794 func (m *AppList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3795 i := len(dAtA) 3796 _ = i 3797 var l int 3798 _ = l 3799 if m.XXX_unrecognized != nil { 3800 i -= len(m.XXX_unrecognized) 3801 copy(dAtA[i:], m.XXX_unrecognized) 3802 } 3803 if len(m.Apps) > 0 { 3804 for k := range m.Apps { 3805 v := m.Apps[k] 3806 baseI := i 3807 i -= len(v) 3808 copy(dAtA[i:], v) 3809 i = encodeVarintRepository(dAtA, i, uint64(len(v))) 3810 i-- 3811 dAtA[i] = 0x12 3812 i -= len(k) 3813 copy(dAtA[i:], k) 3814 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 3815 i-- 3816 dAtA[i] = 0xa 3817 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 3818 i-- 3819 dAtA[i] = 0xa 3820 } 3821 } 3822 return len(dAtA) - i, nil 3823 } 3824 3825 func (m *PluginInfo) Marshal() (dAtA []byte, err error) { 3826 size := m.Size() 3827 dAtA = make([]byte, size) 3828 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3829 if err != nil { 3830 return nil, err 3831 } 3832 return dAtA[:n], nil 3833 } 3834 3835 func (m *PluginInfo) MarshalTo(dAtA []byte) (int, error) { 3836 size := m.Size() 3837 return m.MarshalToSizedBuffer(dAtA[:size]) 3838 } 3839 3840 func (m *PluginInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3841 i := len(dAtA) 3842 _ = i 3843 var l int 3844 _ = l 3845 if m.XXX_unrecognized != nil { 3846 i -= len(m.XXX_unrecognized) 3847 copy(dAtA[i:], m.XXX_unrecognized) 3848 } 3849 if len(m.Name) > 0 { 3850 i -= len(m.Name) 3851 copy(dAtA[i:], m.Name) 3852 i = encodeVarintRepository(dAtA, i, uint64(len(m.Name))) 3853 i-- 3854 dAtA[i] = 0xa 3855 } 3856 return len(dAtA) - i, nil 3857 } 3858 3859 func (m *PluginList) Marshal() (dAtA []byte, err error) { 3860 size := m.Size() 3861 dAtA = make([]byte, size) 3862 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3863 if err != nil { 3864 return nil, err 3865 } 3866 return dAtA[:n], nil 3867 } 3868 3869 func (m *PluginList) MarshalTo(dAtA []byte) (int, error) { 3870 size := m.Size() 3871 return m.MarshalToSizedBuffer(dAtA[:size]) 3872 } 3873 3874 func (m *PluginList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3875 i := len(dAtA) 3876 _ = i 3877 var l int 3878 _ = l 3879 if m.XXX_unrecognized != nil { 3880 i -= len(m.XXX_unrecognized) 3881 copy(dAtA[i:], m.XXX_unrecognized) 3882 } 3883 if len(m.Items) > 0 { 3884 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 3885 { 3886 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3887 if err != nil { 3888 return 0, err 3889 } 3890 i -= size 3891 i = encodeVarintRepository(dAtA, i, uint64(size)) 3892 } 3893 i-- 3894 dAtA[i] = 0xa 3895 } 3896 } 3897 return len(dAtA) - i, nil 3898 } 3899 3900 func (m *RepoServerAppDetailsQuery) Marshal() (dAtA []byte, err error) { 3901 size := m.Size() 3902 dAtA = make([]byte, size) 3903 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3904 if err != nil { 3905 return nil, err 3906 } 3907 return dAtA[:n], nil 3908 } 3909 3910 func (m *RepoServerAppDetailsQuery) MarshalTo(dAtA []byte) (int, error) { 3911 size := m.Size() 3912 return m.MarshalToSizedBuffer(dAtA[:size]) 3913 } 3914 3915 func (m *RepoServerAppDetailsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3916 i := len(dAtA) 3917 _ = i 3918 var l int 3919 _ = l 3920 if m.XXX_unrecognized != nil { 3921 i -= len(m.XXX_unrecognized) 3922 copy(dAtA[i:], m.XXX_unrecognized) 3923 } 3924 if len(m.RefSources) > 0 { 3925 for k := range m.RefSources { 3926 v := m.RefSources[k] 3927 baseI := i 3928 if v != nil { 3929 { 3930 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 3931 if err != nil { 3932 return 0, err 3933 } 3934 i -= size 3935 i = encodeVarintRepository(dAtA, i, uint64(size)) 3936 } 3937 i-- 3938 dAtA[i] = 0x12 3939 } 3940 i -= len(k) 3941 copy(dAtA[i:], k) 3942 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 3943 i-- 3944 dAtA[i] = 0xa 3945 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 3946 i-- 3947 dAtA[i] = 0x5a 3948 } 3949 } 3950 if m.HelmOptions != nil { 3951 { 3952 size, err := m.HelmOptions.MarshalToSizedBuffer(dAtA[:i]) 3953 if err != nil { 3954 return 0, err 3955 } 3956 i -= size 3957 i = encodeVarintRepository(dAtA, i, uint64(size)) 3958 } 3959 i-- 3960 dAtA[i] = 0x52 3961 } 3962 if len(m.EnabledSourceTypes) > 0 { 3963 for k := range m.EnabledSourceTypes { 3964 v := m.EnabledSourceTypes[k] 3965 baseI := i 3966 i-- 3967 if v { 3968 dAtA[i] = 1 3969 } else { 3970 dAtA[i] = 0 3971 } 3972 i-- 3973 dAtA[i] = 0x10 3974 i -= len(k) 3975 copy(dAtA[i:], k) 3976 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 3977 i-- 3978 dAtA[i] = 0xa 3979 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 3980 i-- 3981 dAtA[i] = 0x4a 3982 } 3983 } 3984 if len(m.TrackingMethod) > 0 { 3985 i -= len(m.TrackingMethod) 3986 copy(dAtA[i:], m.TrackingMethod) 3987 i = encodeVarintRepository(dAtA, i, uint64(len(m.TrackingMethod))) 3988 i-- 3989 dAtA[i] = 0x42 3990 } 3991 if m.NoRevisionCache { 3992 i-- 3993 if m.NoRevisionCache { 3994 dAtA[i] = 1 3995 } else { 3996 dAtA[i] = 0 3997 } 3998 i-- 3999 dAtA[i] = 0x38 4000 } 4001 if m.NoCache { 4002 i-- 4003 if m.NoCache { 4004 dAtA[i] = 1 4005 } else { 4006 dAtA[i] = 0 4007 } 4008 i-- 4009 dAtA[i] = 0x30 4010 } 4011 if len(m.AppName) > 0 { 4012 i -= len(m.AppName) 4013 copy(dAtA[i:], m.AppName) 4014 i = encodeVarintRepository(dAtA, i, uint64(len(m.AppName))) 4015 i-- 4016 dAtA[i] = 0x2a 4017 } 4018 if m.KustomizeOptions != nil { 4019 { 4020 size, err := m.KustomizeOptions.MarshalToSizedBuffer(dAtA[:i]) 4021 if err != nil { 4022 return 0, err 4023 } 4024 i -= size 4025 i = encodeVarintRepository(dAtA, i, uint64(size)) 4026 } 4027 i-- 4028 dAtA[i] = 0x22 4029 } 4030 if len(m.Repos) > 0 { 4031 for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- { 4032 { 4033 size, err := m.Repos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4034 if err != nil { 4035 return 0, err 4036 } 4037 i -= size 4038 i = encodeVarintRepository(dAtA, i, uint64(size)) 4039 } 4040 i-- 4041 dAtA[i] = 0x1a 4042 } 4043 } 4044 if m.Source != nil { 4045 { 4046 size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) 4047 if err != nil { 4048 return 0, err 4049 } 4050 i -= size 4051 i = encodeVarintRepository(dAtA, i, uint64(size)) 4052 } 4053 i-- 4054 dAtA[i] = 0x12 4055 } 4056 if m.Repo != nil { 4057 { 4058 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4059 if err != nil { 4060 return 0, err 4061 } 4062 i -= size 4063 i = encodeVarintRepository(dAtA, i, uint64(size)) 4064 } 4065 i-- 4066 dAtA[i] = 0xa 4067 } 4068 return len(dAtA) - i, nil 4069 } 4070 4071 func (m *RepoAppDetailsResponse) Marshal() (dAtA []byte, err error) { 4072 size := m.Size() 4073 dAtA = make([]byte, size) 4074 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4075 if err != nil { 4076 return nil, err 4077 } 4078 return dAtA[:n], nil 4079 } 4080 4081 func (m *RepoAppDetailsResponse) MarshalTo(dAtA []byte) (int, error) { 4082 size := m.Size() 4083 return m.MarshalToSizedBuffer(dAtA[:size]) 4084 } 4085 4086 func (m *RepoAppDetailsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4087 i := len(dAtA) 4088 _ = i 4089 var l int 4090 _ = l 4091 if m.XXX_unrecognized != nil { 4092 i -= len(m.XXX_unrecognized) 4093 copy(dAtA[i:], m.XXX_unrecognized) 4094 } 4095 if m.Plugin != nil { 4096 { 4097 size, err := m.Plugin.MarshalToSizedBuffer(dAtA[:i]) 4098 if err != nil { 4099 return 0, err 4100 } 4101 i -= size 4102 i = encodeVarintRepository(dAtA, i, uint64(size)) 4103 } 4104 i-- 4105 dAtA[i] = 0x32 4106 } 4107 if m.Directory != nil { 4108 { 4109 size, err := m.Directory.MarshalToSizedBuffer(dAtA[:i]) 4110 if err != nil { 4111 return 0, err 4112 } 4113 i -= size 4114 i = encodeVarintRepository(dAtA, i, uint64(size)) 4115 } 4116 i-- 4117 dAtA[i] = 0x2a 4118 } 4119 if m.Kustomize != nil { 4120 { 4121 size, err := m.Kustomize.MarshalToSizedBuffer(dAtA[:i]) 4122 if err != nil { 4123 return 0, err 4124 } 4125 i -= size 4126 i = encodeVarintRepository(dAtA, i, uint64(size)) 4127 } 4128 i-- 4129 dAtA[i] = 0x22 4130 } 4131 if m.Helm != nil { 4132 { 4133 size, err := m.Helm.MarshalToSizedBuffer(dAtA[:i]) 4134 if err != nil { 4135 return 0, err 4136 } 4137 i -= size 4138 i = encodeVarintRepository(dAtA, i, uint64(size)) 4139 } 4140 i-- 4141 dAtA[i] = 0x1a 4142 } 4143 if len(m.Type) > 0 { 4144 i -= len(m.Type) 4145 copy(dAtA[i:], m.Type) 4146 i = encodeVarintRepository(dAtA, i, uint64(len(m.Type))) 4147 i-- 4148 dAtA[i] = 0xa 4149 } 4150 return len(dAtA) - i, nil 4151 } 4152 4153 func (m *RepoServerRevisionMetadataRequest) Marshal() (dAtA []byte, err error) { 4154 size := m.Size() 4155 dAtA = make([]byte, size) 4156 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4157 if err != nil { 4158 return nil, err 4159 } 4160 return dAtA[:n], nil 4161 } 4162 4163 func (m *RepoServerRevisionMetadataRequest) MarshalTo(dAtA []byte) (int, error) { 4164 size := m.Size() 4165 return m.MarshalToSizedBuffer(dAtA[:size]) 4166 } 4167 4168 func (m *RepoServerRevisionMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4169 i := len(dAtA) 4170 _ = i 4171 var l int 4172 _ = l 4173 if m.XXX_unrecognized != nil { 4174 i -= len(m.XXX_unrecognized) 4175 copy(dAtA[i:], m.XXX_unrecognized) 4176 } 4177 if m.CheckSignature { 4178 i-- 4179 if m.CheckSignature { 4180 dAtA[i] = 1 4181 } else { 4182 dAtA[i] = 0 4183 } 4184 i-- 4185 dAtA[i] = 0x18 4186 } 4187 if len(m.Revision) > 0 { 4188 i -= len(m.Revision) 4189 copy(dAtA[i:], m.Revision) 4190 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 4191 i-- 4192 dAtA[i] = 0x12 4193 } 4194 if m.Repo != nil { 4195 { 4196 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4197 if err != nil { 4198 return 0, err 4199 } 4200 i -= size 4201 i = encodeVarintRepository(dAtA, i, uint64(size)) 4202 } 4203 i-- 4204 dAtA[i] = 0xa 4205 } 4206 return len(dAtA) - i, nil 4207 } 4208 4209 func (m *RepoServerRevisionChartDetailsRequest) Marshal() (dAtA []byte, err error) { 4210 size := m.Size() 4211 dAtA = make([]byte, size) 4212 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4213 if err != nil { 4214 return nil, err 4215 } 4216 return dAtA[:n], nil 4217 } 4218 4219 func (m *RepoServerRevisionChartDetailsRequest) MarshalTo(dAtA []byte) (int, error) { 4220 size := m.Size() 4221 return m.MarshalToSizedBuffer(dAtA[:size]) 4222 } 4223 4224 func (m *RepoServerRevisionChartDetailsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4225 i := len(dAtA) 4226 _ = i 4227 var l int 4228 _ = l 4229 if m.XXX_unrecognized != nil { 4230 i -= len(m.XXX_unrecognized) 4231 copy(dAtA[i:], m.XXX_unrecognized) 4232 } 4233 if len(m.Revision) > 0 { 4234 i -= len(m.Revision) 4235 copy(dAtA[i:], m.Revision) 4236 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 4237 i-- 4238 dAtA[i] = 0x1a 4239 } 4240 if len(m.Name) > 0 { 4241 i -= len(m.Name) 4242 copy(dAtA[i:], m.Name) 4243 i = encodeVarintRepository(dAtA, i, uint64(len(m.Name))) 4244 i-- 4245 dAtA[i] = 0x12 4246 } 4247 if m.Repo != nil { 4248 { 4249 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4250 if err != nil { 4251 return 0, err 4252 } 4253 i -= size 4254 i = encodeVarintRepository(dAtA, i, uint64(size)) 4255 } 4256 i-- 4257 dAtA[i] = 0xa 4258 } 4259 return len(dAtA) - i, nil 4260 } 4261 4262 func (m *HelmAppSpec) Marshal() (dAtA []byte, err error) { 4263 size := m.Size() 4264 dAtA = make([]byte, size) 4265 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4266 if err != nil { 4267 return nil, err 4268 } 4269 return dAtA[:n], nil 4270 } 4271 4272 func (m *HelmAppSpec) MarshalTo(dAtA []byte) (int, error) { 4273 size := m.Size() 4274 return m.MarshalToSizedBuffer(dAtA[:size]) 4275 } 4276 4277 func (m *HelmAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4278 i := len(dAtA) 4279 _ = i 4280 var l int 4281 _ = l 4282 if m.XXX_unrecognized != nil { 4283 i -= len(m.XXX_unrecognized) 4284 copy(dAtA[i:], m.XXX_unrecognized) 4285 } 4286 if len(m.FileParameters) > 0 { 4287 for iNdEx := len(m.FileParameters) - 1; iNdEx >= 0; iNdEx-- { 4288 { 4289 size, err := m.FileParameters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4290 if err != nil { 4291 return 0, err 4292 } 4293 i -= size 4294 i = encodeVarintRepository(dAtA, i, uint64(size)) 4295 } 4296 i-- 4297 dAtA[i] = 0x32 4298 } 4299 } 4300 if len(m.Values) > 0 { 4301 i -= len(m.Values) 4302 copy(dAtA[i:], m.Values) 4303 i = encodeVarintRepository(dAtA, i, uint64(len(m.Values))) 4304 i-- 4305 dAtA[i] = 0x2a 4306 } 4307 if len(m.Parameters) > 0 { 4308 for iNdEx := len(m.Parameters) - 1; iNdEx >= 0; iNdEx-- { 4309 { 4310 size, err := m.Parameters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4311 if err != nil { 4312 return 0, err 4313 } 4314 i -= size 4315 i = encodeVarintRepository(dAtA, i, uint64(size)) 4316 } 4317 i-- 4318 dAtA[i] = 0x22 4319 } 4320 } 4321 if len(m.ValueFiles) > 0 { 4322 for iNdEx := len(m.ValueFiles) - 1; iNdEx >= 0; iNdEx-- { 4323 i -= len(m.ValueFiles[iNdEx]) 4324 copy(dAtA[i:], m.ValueFiles[iNdEx]) 4325 i = encodeVarintRepository(dAtA, i, uint64(len(m.ValueFiles[iNdEx]))) 4326 i-- 4327 dAtA[i] = 0x1a 4328 } 4329 } 4330 if len(m.Name) > 0 { 4331 i -= len(m.Name) 4332 copy(dAtA[i:], m.Name) 4333 i = encodeVarintRepository(dAtA, i, uint64(len(m.Name))) 4334 i-- 4335 dAtA[i] = 0xa 4336 } 4337 return len(dAtA) - i, nil 4338 } 4339 4340 func (m *KustomizeAppSpec) Marshal() (dAtA []byte, err error) { 4341 size := m.Size() 4342 dAtA = make([]byte, size) 4343 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4344 if err != nil { 4345 return nil, err 4346 } 4347 return dAtA[:n], nil 4348 } 4349 4350 func (m *KustomizeAppSpec) MarshalTo(dAtA []byte) (int, error) { 4351 size := m.Size() 4352 return m.MarshalToSizedBuffer(dAtA[:size]) 4353 } 4354 4355 func (m *KustomizeAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4356 i := len(dAtA) 4357 _ = i 4358 var l int 4359 _ = l 4360 if m.XXX_unrecognized != nil { 4361 i -= len(m.XXX_unrecognized) 4362 copy(dAtA[i:], m.XXX_unrecognized) 4363 } 4364 if len(m.Images) > 0 { 4365 for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- { 4366 i -= len(m.Images[iNdEx]) 4367 copy(dAtA[i:], m.Images[iNdEx]) 4368 i = encodeVarintRepository(dAtA, i, uint64(len(m.Images[iNdEx]))) 4369 i-- 4370 dAtA[i] = 0x1a 4371 } 4372 } 4373 return len(dAtA) - i, nil 4374 } 4375 4376 func (m *DirectoryAppSpec) Marshal() (dAtA []byte, err error) { 4377 size := m.Size() 4378 dAtA = make([]byte, size) 4379 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4380 if err != nil { 4381 return nil, err 4382 } 4383 return dAtA[:n], nil 4384 } 4385 4386 func (m *DirectoryAppSpec) MarshalTo(dAtA []byte) (int, error) { 4387 size := m.Size() 4388 return m.MarshalToSizedBuffer(dAtA[:size]) 4389 } 4390 4391 func (m *DirectoryAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4392 i := len(dAtA) 4393 _ = i 4394 var l int 4395 _ = l 4396 if m.XXX_unrecognized != nil { 4397 i -= len(m.XXX_unrecognized) 4398 copy(dAtA[i:], m.XXX_unrecognized) 4399 } 4400 return len(dAtA) - i, nil 4401 } 4402 4403 func (m *ParameterAnnouncement) Marshal() (dAtA []byte, err error) { 4404 size := m.Size() 4405 dAtA = make([]byte, size) 4406 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4407 if err != nil { 4408 return nil, err 4409 } 4410 return dAtA[:n], nil 4411 } 4412 4413 func (m *ParameterAnnouncement) MarshalTo(dAtA []byte) (int, error) { 4414 size := m.Size() 4415 return m.MarshalToSizedBuffer(dAtA[:size]) 4416 } 4417 4418 func (m *ParameterAnnouncement) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4419 i := len(dAtA) 4420 _ = i 4421 var l int 4422 _ = l 4423 if m.XXX_unrecognized != nil { 4424 i -= len(m.XXX_unrecognized) 4425 copy(dAtA[i:], m.XXX_unrecognized) 4426 } 4427 if len(m.Map) > 0 { 4428 for k := range m.Map { 4429 v := m.Map[k] 4430 baseI := i 4431 i -= len(v) 4432 copy(dAtA[i:], v) 4433 i = encodeVarintRepository(dAtA, i, uint64(len(v))) 4434 i-- 4435 dAtA[i] = 0x12 4436 i -= len(k) 4437 copy(dAtA[i:], k) 4438 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 4439 i-- 4440 dAtA[i] = 0xa 4441 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 4442 i-- 4443 dAtA[i] = 0x4a 4444 } 4445 } 4446 if len(m.Array) > 0 { 4447 for iNdEx := len(m.Array) - 1; iNdEx >= 0; iNdEx-- { 4448 i -= len(m.Array[iNdEx]) 4449 copy(dAtA[i:], m.Array[iNdEx]) 4450 i = encodeVarintRepository(dAtA, i, uint64(len(m.Array[iNdEx]))) 4451 i-- 4452 dAtA[i] = 0x42 4453 } 4454 } 4455 if len(m.String_) > 0 { 4456 i -= len(m.String_) 4457 copy(dAtA[i:], m.String_) 4458 i = encodeVarintRepository(dAtA, i, uint64(len(m.String_))) 4459 i-- 4460 dAtA[i] = 0x3a 4461 } 4462 if len(m.CollectionType) > 0 { 4463 i -= len(m.CollectionType) 4464 copy(dAtA[i:], m.CollectionType) 4465 i = encodeVarintRepository(dAtA, i, uint64(len(m.CollectionType))) 4466 i-- 4467 dAtA[i] = 0x32 4468 } 4469 if len(m.ItemType) > 0 { 4470 i -= len(m.ItemType) 4471 copy(dAtA[i:], m.ItemType) 4472 i = encodeVarintRepository(dAtA, i, uint64(len(m.ItemType))) 4473 i-- 4474 dAtA[i] = 0x2a 4475 } 4476 if m.Required { 4477 i-- 4478 if m.Required { 4479 dAtA[i] = 1 4480 } else { 4481 dAtA[i] = 0 4482 } 4483 i-- 4484 dAtA[i] = 0x20 4485 } 4486 if len(m.Tooltip) > 0 { 4487 i -= len(m.Tooltip) 4488 copy(dAtA[i:], m.Tooltip) 4489 i = encodeVarintRepository(dAtA, i, uint64(len(m.Tooltip))) 4490 i-- 4491 dAtA[i] = 0x1a 4492 } 4493 if len(m.Title) > 0 { 4494 i -= len(m.Title) 4495 copy(dAtA[i:], m.Title) 4496 i = encodeVarintRepository(dAtA, i, uint64(len(m.Title))) 4497 i-- 4498 dAtA[i] = 0x12 4499 } 4500 if len(m.Name) > 0 { 4501 i -= len(m.Name) 4502 copy(dAtA[i:], m.Name) 4503 i = encodeVarintRepository(dAtA, i, uint64(len(m.Name))) 4504 i-- 4505 dAtA[i] = 0xa 4506 } 4507 return len(dAtA) - i, nil 4508 } 4509 4510 func (m *PluginAppSpec) Marshal() (dAtA []byte, err error) { 4511 size := m.Size() 4512 dAtA = make([]byte, size) 4513 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4514 if err != nil { 4515 return nil, err 4516 } 4517 return dAtA[:n], nil 4518 } 4519 4520 func (m *PluginAppSpec) MarshalTo(dAtA []byte) (int, error) { 4521 size := m.Size() 4522 return m.MarshalToSizedBuffer(dAtA[:size]) 4523 } 4524 4525 func (m *PluginAppSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4526 i := len(dAtA) 4527 _ = i 4528 var l int 4529 _ = l 4530 if m.XXX_unrecognized != nil { 4531 i -= len(m.XXX_unrecognized) 4532 copy(dAtA[i:], m.XXX_unrecognized) 4533 } 4534 if len(m.ParametersAnnouncement) > 0 { 4535 for iNdEx := len(m.ParametersAnnouncement) - 1; iNdEx >= 0; iNdEx-- { 4536 { 4537 size, err := m.ParametersAnnouncement[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4538 if err != nil { 4539 return 0, err 4540 } 4541 i -= size 4542 i = encodeVarintRepository(dAtA, i, uint64(size)) 4543 } 4544 i-- 4545 dAtA[i] = 0xa 4546 } 4547 } 4548 return len(dAtA) - i, nil 4549 } 4550 4551 func (m *HelmChartsRequest) Marshal() (dAtA []byte, err error) { 4552 size := m.Size() 4553 dAtA = make([]byte, size) 4554 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4555 if err != nil { 4556 return nil, err 4557 } 4558 return dAtA[:n], nil 4559 } 4560 4561 func (m *HelmChartsRequest) MarshalTo(dAtA []byte) (int, error) { 4562 size := m.Size() 4563 return m.MarshalToSizedBuffer(dAtA[:size]) 4564 } 4565 4566 func (m *HelmChartsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4567 i := len(dAtA) 4568 _ = i 4569 var l int 4570 _ = l 4571 if m.XXX_unrecognized != nil { 4572 i -= len(m.XXX_unrecognized) 4573 copy(dAtA[i:], m.XXX_unrecognized) 4574 } 4575 if m.Repo != nil { 4576 { 4577 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4578 if err != nil { 4579 return 0, err 4580 } 4581 i -= size 4582 i = encodeVarintRepository(dAtA, i, uint64(size)) 4583 } 4584 i-- 4585 dAtA[i] = 0xa 4586 } 4587 return len(dAtA) - i, nil 4588 } 4589 4590 func (m *HelmChart) Marshal() (dAtA []byte, err error) { 4591 size := m.Size() 4592 dAtA = make([]byte, size) 4593 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4594 if err != nil { 4595 return nil, err 4596 } 4597 return dAtA[:n], nil 4598 } 4599 4600 func (m *HelmChart) MarshalTo(dAtA []byte) (int, error) { 4601 size := m.Size() 4602 return m.MarshalToSizedBuffer(dAtA[:size]) 4603 } 4604 4605 func (m *HelmChart) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4606 i := len(dAtA) 4607 _ = i 4608 var l int 4609 _ = l 4610 if m.XXX_unrecognized != nil { 4611 i -= len(m.XXX_unrecognized) 4612 copy(dAtA[i:], m.XXX_unrecognized) 4613 } 4614 if len(m.Versions) > 0 { 4615 for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- { 4616 i -= len(m.Versions[iNdEx]) 4617 copy(dAtA[i:], m.Versions[iNdEx]) 4618 i = encodeVarintRepository(dAtA, i, uint64(len(m.Versions[iNdEx]))) 4619 i-- 4620 dAtA[i] = 0x12 4621 } 4622 } 4623 if len(m.Name) > 0 { 4624 i -= len(m.Name) 4625 copy(dAtA[i:], m.Name) 4626 i = encodeVarintRepository(dAtA, i, uint64(len(m.Name))) 4627 i-- 4628 dAtA[i] = 0xa 4629 } 4630 return len(dAtA) - i, nil 4631 } 4632 4633 func (m *HelmChartsResponse) Marshal() (dAtA []byte, err error) { 4634 size := m.Size() 4635 dAtA = make([]byte, size) 4636 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4637 if err != nil { 4638 return nil, err 4639 } 4640 return dAtA[:n], nil 4641 } 4642 4643 func (m *HelmChartsResponse) MarshalTo(dAtA []byte) (int, error) { 4644 size := m.Size() 4645 return m.MarshalToSizedBuffer(dAtA[:size]) 4646 } 4647 4648 func (m *HelmChartsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4649 i := len(dAtA) 4650 _ = i 4651 var l int 4652 _ = l 4653 if m.XXX_unrecognized != nil { 4654 i -= len(m.XXX_unrecognized) 4655 copy(dAtA[i:], m.XXX_unrecognized) 4656 } 4657 if len(m.Items) > 0 { 4658 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 4659 { 4660 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4661 if err != nil { 4662 return 0, err 4663 } 4664 i -= size 4665 i = encodeVarintRepository(dAtA, i, uint64(size)) 4666 } 4667 i-- 4668 dAtA[i] = 0xa 4669 } 4670 } 4671 return len(dAtA) - i, nil 4672 } 4673 4674 func (m *GitFilesRequest) Marshal() (dAtA []byte, err error) { 4675 size := m.Size() 4676 dAtA = make([]byte, size) 4677 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4678 if err != nil { 4679 return nil, err 4680 } 4681 return dAtA[:n], nil 4682 } 4683 4684 func (m *GitFilesRequest) MarshalTo(dAtA []byte) (int, error) { 4685 size := m.Size() 4686 return m.MarshalToSizedBuffer(dAtA[:size]) 4687 } 4688 4689 func (m *GitFilesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4690 i := len(dAtA) 4691 _ = i 4692 var l int 4693 _ = l 4694 if m.XXX_unrecognized != nil { 4695 i -= len(m.XXX_unrecognized) 4696 copy(dAtA[i:], m.XXX_unrecognized) 4697 } 4698 if m.NoRevisionCache { 4699 i-- 4700 if m.NoRevisionCache { 4701 dAtA[i] = 1 4702 } else { 4703 dAtA[i] = 0 4704 } 4705 i-- 4706 dAtA[i] = 0x30 4707 } 4708 if m.NewGitFileGlobbingEnabled { 4709 i-- 4710 if m.NewGitFileGlobbingEnabled { 4711 dAtA[i] = 1 4712 } else { 4713 dAtA[i] = 0 4714 } 4715 i-- 4716 dAtA[i] = 0x28 4717 } 4718 if len(m.Path) > 0 { 4719 i -= len(m.Path) 4720 copy(dAtA[i:], m.Path) 4721 i = encodeVarintRepository(dAtA, i, uint64(len(m.Path))) 4722 i-- 4723 dAtA[i] = 0x22 4724 } 4725 if len(m.Revision) > 0 { 4726 i -= len(m.Revision) 4727 copy(dAtA[i:], m.Revision) 4728 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 4729 i-- 4730 dAtA[i] = 0x1a 4731 } 4732 if m.SubmoduleEnabled { 4733 i-- 4734 if m.SubmoduleEnabled { 4735 dAtA[i] = 1 4736 } else { 4737 dAtA[i] = 0 4738 } 4739 i-- 4740 dAtA[i] = 0x10 4741 } 4742 if m.Repo != nil { 4743 { 4744 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4745 if err != nil { 4746 return 0, err 4747 } 4748 i -= size 4749 i = encodeVarintRepository(dAtA, i, uint64(size)) 4750 } 4751 i-- 4752 dAtA[i] = 0xa 4753 } 4754 return len(dAtA) - i, nil 4755 } 4756 4757 func (m *GitFilesResponse) Marshal() (dAtA []byte, err error) { 4758 size := m.Size() 4759 dAtA = make([]byte, size) 4760 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4761 if err != nil { 4762 return nil, err 4763 } 4764 return dAtA[:n], nil 4765 } 4766 4767 func (m *GitFilesResponse) MarshalTo(dAtA []byte) (int, error) { 4768 size := m.Size() 4769 return m.MarshalToSizedBuffer(dAtA[:size]) 4770 } 4771 4772 func (m *GitFilesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4773 i := len(dAtA) 4774 _ = i 4775 var l int 4776 _ = l 4777 if m.XXX_unrecognized != nil { 4778 i -= len(m.XXX_unrecognized) 4779 copy(dAtA[i:], m.XXX_unrecognized) 4780 } 4781 if len(m.Map) > 0 { 4782 for k := range m.Map { 4783 v := m.Map[k] 4784 baseI := i 4785 if len(v) > 0 { 4786 i -= len(v) 4787 copy(dAtA[i:], v) 4788 i = encodeVarintRepository(dAtA, i, uint64(len(v))) 4789 i-- 4790 dAtA[i] = 0x12 4791 } 4792 i -= len(k) 4793 copy(dAtA[i:], k) 4794 i = encodeVarintRepository(dAtA, i, uint64(len(k))) 4795 i-- 4796 dAtA[i] = 0xa 4797 i = encodeVarintRepository(dAtA, i, uint64(baseI-i)) 4798 i-- 4799 dAtA[i] = 0xa 4800 } 4801 } 4802 return len(dAtA) - i, nil 4803 } 4804 4805 func (m *GitDirectoriesRequest) Marshal() (dAtA []byte, err error) { 4806 size := m.Size() 4807 dAtA = make([]byte, size) 4808 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4809 if err != nil { 4810 return nil, err 4811 } 4812 return dAtA[:n], nil 4813 } 4814 4815 func (m *GitDirectoriesRequest) MarshalTo(dAtA []byte) (int, error) { 4816 size := m.Size() 4817 return m.MarshalToSizedBuffer(dAtA[:size]) 4818 } 4819 4820 func (m *GitDirectoriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4821 i := len(dAtA) 4822 _ = i 4823 var l int 4824 _ = l 4825 if m.XXX_unrecognized != nil { 4826 i -= len(m.XXX_unrecognized) 4827 copy(dAtA[i:], m.XXX_unrecognized) 4828 } 4829 if m.NoRevisionCache { 4830 i-- 4831 if m.NoRevisionCache { 4832 dAtA[i] = 1 4833 } else { 4834 dAtA[i] = 0 4835 } 4836 i-- 4837 dAtA[i] = 0x20 4838 } 4839 if len(m.Revision) > 0 { 4840 i -= len(m.Revision) 4841 copy(dAtA[i:], m.Revision) 4842 i = encodeVarintRepository(dAtA, i, uint64(len(m.Revision))) 4843 i-- 4844 dAtA[i] = 0x1a 4845 } 4846 if m.SubmoduleEnabled { 4847 i-- 4848 if m.SubmoduleEnabled { 4849 dAtA[i] = 1 4850 } else { 4851 dAtA[i] = 0 4852 } 4853 i-- 4854 dAtA[i] = 0x10 4855 } 4856 if m.Repo != nil { 4857 { 4858 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 4859 if err != nil { 4860 return 0, err 4861 } 4862 i -= size 4863 i = encodeVarintRepository(dAtA, i, uint64(size)) 4864 } 4865 i-- 4866 dAtA[i] = 0xa 4867 } 4868 return len(dAtA) - i, nil 4869 } 4870 4871 func (m *GitDirectoriesResponse) Marshal() (dAtA []byte, err error) { 4872 size := m.Size() 4873 dAtA = make([]byte, size) 4874 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4875 if err != nil { 4876 return nil, err 4877 } 4878 return dAtA[:n], nil 4879 } 4880 4881 func (m *GitDirectoriesResponse) MarshalTo(dAtA []byte) (int, error) { 4882 size := m.Size() 4883 return m.MarshalToSizedBuffer(dAtA[:size]) 4884 } 4885 4886 func (m *GitDirectoriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4887 i := len(dAtA) 4888 _ = i 4889 var l int 4890 _ = l 4891 if m.XXX_unrecognized != nil { 4892 i -= len(m.XXX_unrecognized) 4893 copy(dAtA[i:], m.XXX_unrecognized) 4894 } 4895 if len(m.Paths) > 0 { 4896 for iNdEx := len(m.Paths) - 1; iNdEx >= 0; iNdEx-- { 4897 i -= len(m.Paths[iNdEx]) 4898 copy(dAtA[i:], m.Paths[iNdEx]) 4899 i = encodeVarintRepository(dAtA, i, uint64(len(m.Paths[iNdEx]))) 4900 i-- 4901 dAtA[i] = 0xa 4902 } 4903 } 4904 return len(dAtA) - i, nil 4905 } 4906 4907 func encodeVarintRepository(dAtA []byte, offset int, v uint64) int { 4908 offset -= sovRepository(v) 4909 base := offset 4910 for v >= 1<<7 { 4911 dAtA[offset] = uint8(v&0x7f | 0x80) 4912 v >>= 7 4913 offset++ 4914 } 4915 dAtA[offset] = uint8(v) 4916 return base 4917 } 4918 func (m *ManifestRequest) Size() (n int) { 4919 if m == nil { 4920 return 0 4921 } 4922 var l int 4923 _ = l 4924 if m.Repo != nil { 4925 l = m.Repo.Size() 4926 n += 1 + l + sovRepository(uint64(l)) 4927 } 4928 l = len(m.Revision) 4929 if l > 0 { 4930 n += 1 + l + sovRepository(uint64(l)) 4931 } 4932 if m.NoCache { 4933 n += 2 4934 } 4935 l = len(m.AppLabelKey) 4936 if l > 0 { 4937 n += 1 + l + sovRepository(uint64(l)) 4938 } 4939 l = len(m.AppName) 4940 if l > 0 { 4941 n += 1 + l + sovRepository(uint64(l)) 4942 } 4943 l = len(m.Namespace) 4944 if l > 0 { 4945 n += 1 + l + sovRepository(uint64(l)) 4946 } 4947 if m.ApplicationSource != nil { 4948 l = m.ApplicationSource.Size() 4949 n += 1 + l + sovRepository(uint64(l)) 4950 } 4951 if len(m.Repos) > 0 { 4952 for _, e := range m.Repos { 4953 l = e.Size() 4954 n += 1 + l + sovRepository(uint64(l)) 4955 } 4956 } 4957 if len(m.Plugins) > 0 { 4958 for _, e := range m.Plugins { 4959 l = e.Size() 4960 n += 1 + l + sovRepository(uint64(l)) 4961 } 4962 } 4963 if m.KustomizeOptions != nil { 4964 l = m.KustomizeOptions.Size() 4965 n += 1 + l + sovRepository(uint64(l)) 4966 } 4967 l = len(m.KubeVersion) 4968 if l > 0 { 4969 n += 1 + l + sovRepository(uint64(l)) 4970 } 4971 if len(m.ApiVersions) > 0 { 4972 for _, s := range m.ApiVersions { 4973 l = len(s) 4974 n += 1 + l + sovRepository(uint64(l)) 4975 } 4976 } 4977 if m.VerifySignature { 4978 n += 3 4979 } 4980 if len(m.HelmRepoCreds) > 0 { 4981 for _, e := range m.HelmRepoCreds { 4982 l = e.Size() 4983 n += 2 + l + sovRepository(uint64(l)) 4984 } 4985 } 4986 if m.NoRevisionCache { 4987 n += 3 4988 } 4989 l = len(m.TrackingMethod) 4990 if l > 0 { 4991 n += 2 + l + sovRepository(uint64(l)) 4992 } 4993 if len(m.EnabledSourceTypes) > 0 { 4994 for k, v := range m.EnabledSourceTypes { 4995 _ = k 4996 _ = v 4997 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + 1 + 1 4998 n += mapEntrySize + 2 + sovRepository(uint64(mapEntrySize)) 4999 } 5000 } 5001 if m.HelmOptions != nil { 5002 l = m.HelmOptions.Size() 5003 n += 2 + l + sovRepository(uint64(l)) 5004 } 5005 if m.HasMultipleSources { 5006 n += 3 5007 } 5008 if len(m.RefSources) > 0 { 5009 for k, v := range m.RefSources { 5010 _ = k 5011 _ = v 5012 l = 0 5013 if v != nil { 5014 l = v.Size() 5015 l += 1 + sovRepository(uint64(l)) 5016 } 5017 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + l 5018 n += mapEntrySize + 2 + sovRepository(uint64(mapEntrySize)) 5019 } 5020 } 5021 if len(m.ProjectSourceRepos) > 0 { 5022 for _, s := range m.ProjectSourceRepos { 5023 l = len(s) 5024 n += 2 + l + sovRepository(uint64(l)) 5025 } 5026 } 5027 l = len(m.ProjectName) 5028 if l > 0 { 5029 n += 2 + l + sovRepository(uint64(l)) 5030 } 5031 if m.XXX_unrecognized != nil { 5032 n += len(m.XXX_unrecognized) 5033 } 5034 return n 5035 } 5036 5037 func (m *ManifestRequestWithFiles) Size() (n int) { 5038 if m == nil { 5039 return 0 5040 } 5041 var l int 5042 _ = l 5043 if m.Part != nil { 5044 n += m.Part.Size() 5045 } 5046 if m.XXX_unrecognized != nil { 5047 n += len(m.XXX_unrecognized) 5048 } 5049 return n 5050 } 5051 5052 func (m *ManifestRequestWithFiles_Request) Size() (n int) { 5053 if m == nil { 5054 return 0 5055 } 5056 var l int 5057 _ = l 5058 if m.Request != nil { 5059 l = m.Request.Size() 5060 n += 1 + l + sovRepository(uint64(l)) 5061 } 5062 return n 5063 } 5064 func (m *ManifestRequestWithFiles_Metadata) Size() (n int) { 5065 if m == nil { 5066 return 0 5067 } 5068 var l int 5069 _ = l 5070 if m.Metadata != nil { 5071 l = m.Metadata.Size() 5072 n += 1 + l + sovRepository(uint64(l)) 5073 } 5074 return n 5075 } 5076 func (m *ManifestRequestWithFiles_Chunk) Size() (n int) { 5077 if m == nil { 5078 return 0 5079 } 5080 var l int 5081 _ = l 5082 if m.Chunk != nil { 5083 l = m.Chunk.Size() 5084 n += 1 + l + sovRepository(uint64(l)) 5085 } 5086 return n 5087 } 5088 func (m *ManifestFileMetadata) Size() (n int) { 5089 if m == nil { 5090 return 0 5091 } 5092 var l int 5093 _ = l 5094 l = len(m.Checksum) 5095 if l > 0 { 5096 n += 1 + l + sovRepository(uint64(l)) 5097 } 5098 if m.Size_ != 0 { 5099 n += 1 + sovRepository(uint64(m.Size_)) 5100 } 5101 if m.XXX_unrecognized != nil { 5102 n += len(m.XXX_unrecognized) 5103 } 5104 return n 5105 } 5106 5107 func (m *ManifestFileChunk) Size() (n int) { 5108 if m == nil { 5109 return 0 5110 } 5111 var l int 5112 _ = l 5113 l = len(m.Chunk) 5114 if l > 0 { 5115 n += 1 + l + sovRepository(uint64(l)) 5116 } 5117 if m.XXX_unrecognized != nil { 5118 n += len(m.XXX_unrecognized) 5119 } 5120 return n 5121 } 5122 5123 func (m *TestRepositoryRequest) Size() (n int) { 5124 if m == nil { 5125 return 0 5126 } 5127 var l int 5128 _ = l 5129 if m.Repo != nil { 5130 l = m.Repo.Size() 5131 n += 1 + l + sovRepository(uint64(l)) 5132 } 5133 if m.XXX_unrecognized != nil { 5134 n += len(m.XXX_unrecognized) 5135 } 5136 return n 5137 } 5138 5139 func (m *TestRepositoryResponse) Size() (n int) { 5140 if m == nil { 5141 return 0 5142 } 5143 var l int 5144 _ = l 5145 if m.VerifiedRepository { 5146 n += 2 5147 } 5148 if m.XXX_unrecognized != nil { 5149 n += len(m.XXX_unrecognized) 5150 } 5151 return n 5152 } 5153 5154 func (m *ResolveRevisionRequest) Size() (n int) { 5155 if m == nil { 5156 return 0 5157 } 5158 var l int 5159 _ = l 5160 if m.Repo != nil { 5161 l = m.Repo.Size() 5162 n += 1 + l + sovRepository(uint64(l)) 5163 } 5164 if m.App != nil { 5165 l = m.App.Size() 5166 n += 1 + l + sovRepository(uint64(l)) 5167 } 5168 l = len(m.AmbiguousRevision) 5169 if l > 0 { 5170 n += 1 + l + sovRepository(uint64(l)) 5171 } 5172 if m.XXX_unrecognized != nil { 5173 n += len(m.XXX_unrecognized) 5174 } 5175 return n 5176 } 5177 5178 func (m *ResolveRevisionResponse) Size() (n int) { 5179 if m == nil { 5180 return 0 5181 } 5182 var l int 5183 _ = l 5184 l = len(m.Revision) 5185 if l > 0 { 5186 n += 1 + l + sovRepository(uint64(l)) 5187 } 5188 l = len(m.AmbiguousRevision) 5189 if l > 0 { 5190 n += 1 + l + sovRepository(uint64(l)) 5191 } 5192 if m.XXX_unrecognized != nil { 5193 n += len(m.XXX_unrecognized) 5194 } 5195 return n 5196 } 5197 5198 func (m *ManifestResponse) Size() (n int) { 5199 if m == nil { 5200 return 0 5201 } 5202 var l int 5203 _ = l 5204 if len(m.Manifests) > 0 { 5205 for _, s := range m.Manifests { 5206 l = len(s) 5207 n += 1 + l + sovRepository(uint64(l)) 5208 } 5209 } 5210 l = len(m.Namespace) 5211 if l > 0 { 5212 n += 1 + l + sovRepository(uint64(l)) 5213 } 5214 l = len(m.Server) 5215 if l > 0 { 5216 n += 1 + l + sovRepository(uint64(l)) 5217 } 5218 l = len(m.Revision) 5219 if l > 0 { 5220 n += 1 + l + sovRepository(uint64(l)) 5221 } 5222 l = len(m.SourceType) 5223 if l > 0 { 5224 n += 1 + l + sovRepository(uint64(l)) 5225 } 5226 l = len(m.VerifyResult) 5227 if l > 0 { 5228 n += 1 + l + sovRepository(uint64(l)) 5229 } 5230 if m.XXX_unrecognized != nil { 5231 n += len(m.XXX_unrecognized) 5232 } 5233 return n 5234 } 5235 5236 func (m *ListRefsRequest) Size() (n int) { 5237 if m == nil { 5238 return 0 5239 } 5240 var l int 5241 _ = l 5242 if m.Repo != nil { 5243 l = m.Repo.Size() 5244 n += 1 + l + sovRepository(uint64(l)) 5245 } 5246 if m.XXX_unrecognized != nil { 5247 n += len(m.XXX_unrecognized) 5248 } 5249 return n 5250 } 5251 5252 func (m *Refs) Size() (n int) { 5253 if m == nil { 5254 return 0 5255 } 5256 var l int 5257 _ = l 5258 if len(m.Branches) > 0 { 5259 for _, s := range m.Branches { 5260 l = len(s) 5261 n += 1 + l + sovRepository(uint64(l)) 5262 } 5263 } 5264 if len(m.Tags) > 0 { 5265 for _, s := range m.Tags { 5266 l = len(s) 5267 n += 1 + l + sovRepository(uint64(l)) 5268 } 5269 } 5270 if m.XXX_unrecognized != nil { 5271 n += len(m.XXX_unrecognized) 5272 } 5273 return n 5274 } 5275 5276 func (m *ListAppsRequest) Size() (n int) { 5277 if m == nil { 5278 return 0 5279 } 5280 var l int 5281 _ = l 5282 if m.Repo != nil { 5283 l = m.Repo.Size() 5284 n += 1 + l + sovRepository(uint64(l)) 5285 } 5286 l = len(m.Revision) 5287 if l > 0 { 5288 n += 1 + l + sovRepository(uint64(l)) 5289 } 5290 if len(m.EnabledSourceTypes) > 0 { 5291 for k, v := range m.EnabledSourceTypes { 5292 _ = k 5293 _ = v 5294 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + 1 + 1 5295 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5296 } 5297 } 5298 if m.XXX_unrecognized != nil { 5299 n += len(m.XXX_unrecognized) 5300 } 5301 return n 5302 } 5303 5304 func (m *AppList) Size() (n int) { 5305 if m == nil { 5306 return 0 5307 } 5308 var l int 5309 _ = l 5310 if len(m.Apps) > 0 { 5311 for k, v := range m.Apps { 5312 _ = k 5313 _ = v 5314 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + 1 + len(v) + sovRepository(uint64(len(v))) 5315 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5316 } 5317 } 5318 if m.XXX_unrecognized != nil { 5319 n += len(m.XXX_unrecognized) 5320 } 5321 return n 5322 } 5323 5324 func (m *PluginInfo) Size() (n int) { 5325 if m == nil { 5326 return 0 5327 } 5328 var l int 5329 _ = l 5330 l = len(m.Name) 5331 if l > 0 { 5332 n += 1 + l + sovRepository(uint64(l)) 5333 } 5334 if m.XXX_unrecognized != nil { 5335 n += len(m.XXX_unrecognized) 5336 } 5337 return n 5338 } 5339 5340 func (m *PluginList) Size() (n int) { 5341 if m == nil { 5342 return 0 5343 } 5344 var l int 5345 _ = l 5346 if len(m.Items) > 0 { 5347 for _, e := range m.Items { 5348 l = e.Size() 5349 n += 1 + l + sovRepository(uint64(l)) 5350 } 5351 } 5352 if m.XXX_unrecognized != nil { 5353 n += len(m.XXX_unrecognized) 5354 } 5355 return n 5356 } 5357 5358 func (m *RepoServerAppDetailsQuery) Size() (n int) { 5359 if m == nil { 5360 return 0 5361 } 5362 var l int 5363 _ = l 5364 if m.Repo != nil { 5365 l = m.Repo.Size() 5366 n += 1 + l + sovRepository(uint64(l)) 5367 } 5368 if m.Source != nil { 5369 l = m.Source.Size() 5370 n += 1 + l + sovRepository(uint64(l)) 5371 } 5372 if len(m.Repos) > 0 { 5373 for _, e := range m.Repos { 5374 l = e.Size() 5375 n += 1 + l + sovRepository(uint64(l)) 5376 } 5377 } 5378 if m.KustomizeOptions != nil { 5379 l = m.KustomizeOptions.Size() 5380 n += 1 + l + sovRepository(uint64(l)) 5381 } 5382 l = len(m.AppName) 5383 if l > 0 { 5384 n += 1 + l + sovRepository(uint64(l)) 5385 } 5386 if m.NoCache { 5387 n += 2 5388 } 5389 if m.NoRevisionCache { 5390 n += 2 5391 } 5392 l = len(m.TrackingMethod) 5393 if l > 0 { 5394 n += 1 + l + sovRepository(uint64(l)) 5395 } 5396 if len(m.EnabledSourceTypes) > 0 { 5397 for k, v := range m.EnabledSourceTypes { 5398 _ = k 5399 _ = v 5400 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + 1 + 1 5401 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5402 } 5403 } 5404 if m.HelmOptions != nil { 5405 l = m.HelmOptions.Size() 5406 n += 1 + l + sovRepository(uint64(l)) 5407 } 5408 if len(m.RefSources) > 0 { 5409 for k, v := range m.RefSources { 5410 _ = k 5411 _ = v 5412 l = 0 5413 if v != nil { 5414 l = v.Size() 5415 l += 1 + sovRepository(uint64(l)) 5416 } 5417 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + l 5418 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5419 } 5420 } 5421 if m.XXX_unrecognized != nil { 5422 n += len(m.XXX_unrecognized) 5423 } 5424 return n 5425 } 5426 5427 func (m *RepoAppDetailsResponse) Size() (n int) { 5428 if m == nil { 5429 return 0 5430 } 5431 var l int 5432 _ = l 5433 l = len(m.Type) 5434 if l > 0 { 5435 n += 1 + l + sovRepository(uint64(l)) 5436 } 5437 if m.Helm != nil { 5438 l = m.Helm.Size() 5439 n += 1 + l + sovRepository(uint64(l)) 5440 } 5441 if m.Kustomize != nil { 5442 l = m.Kustomize.Size() 5443 n += 1 + l + sovRepository(uint64(l)) 5444 } 5445 if m.Directory != nil { 5446 l = m.Directory.Size() 5447 n += 1 + l + sovRepository(uint64(l)) 5448 } 5449 if m.Plugin != nil { 5450 l = m.Plugin.Size() 5451 n += 1 + l + sovRepository(uint64(l)) 5452 } 5453 if m.XXX_unrecognized != nil { 5454 n += len(m.XXX_unrecognized) 5455 } 5456 return n 5457 } 5458 5459 func (m *RepoServerRevisionMetadataRequest) Size() (n int) { 5460 if m == nil { 5461 return 0 5462 } 5463 var l int 5464 _ = l 5465 if m.Repo != nil { 5466 l = m.Repo.Size() 5467 n += 1 + l + sovRepository(uint64(l)) 5468 } 5469 l = len(m.Revision) 5470 if l > 0 { 5471 n += 1 + l + sovRepository(uint64(l)) 5472 } 5473 if m.CheckSignature { 5474 n += 2 5475 } 5476 if m.XXX_unrecognized != nil { 5477 n += len(m.XXX_unrecognized) 5478 } 5479 return n 5480 } 5481 5482 func (m *RepoServerRevisionChartDetailsRequest) Size() (n int) { 5483 if m == nil { 5484 return 0 5485 } 5486 var l int 5487 _ = l 5488 if m.Repo != nil { 5489 l = m.Repo.Size() 5490 n += 1 + l + sovRepository(uint64(l)) 5491 } 5492 l = len(m.Name) 5493 if l > 0 { 5494 n += 1 + l + sovRepository(uint64(l)) 5495 } 5496 l = len(m.Revision) 5497 if l > 0 { 5498 n += 1 + l + sovRepository(uint64(l)) 5499 } 5500 if m.XXX_unrecognized != nil { 5501 n += len(m.XXX_unrecognized) 5502 } 5503 return n 5504 } 5505 5506 func (m *HelmAppSpec) Size() (n int) { 5507 if m == nil { 5508 return 0 5509 } 5510 var l int 5511 _ = l 5512 l = len(m.Name) 5513 if l > 0 { 5514 n += 1 + l + sovRepository(uint64(l)) 5515 } 5516 if len(m.ValueFiles) > 0 { 5517 for _, s := range m.ValueFiles { 5518 l = len(s) 5519 n += 1 + l + sovRepository(uint64(l)) 5520 } 5521 } 5522 if len(m.Parameters) > 0 { 5523 for _, e := range m.Parameters { 5524 l = e.Size() 5525 n += 1 + l + sovRepository(uint64(l)) 5526 } 5527 } 5528 l = len(m.Values) 5529 if l > 0 { 5530 n += 1 + l + sovRepository(uint64(l)) 5531 } 5532 if len(m.FileParameters) > 0 { 5533 for _, e := range m.FileParameters { 5534 l = e.Size() 5535 n += 1 + l + sovRepository(uint64(l)) 5536 } 5537 } 5538 if m.XXX_unrecognized != nil { 5539 n += len(m.XXX_unrecognized) 5540 } 5541 return n 5542 } 5543 5544 func (m *KustomizeAppSpec) Size() (n int) { 5545 if m == nil { 5546 return 0 5547 } 5548 var l int 5549 _ = l 5550 if len(m.Images) > 0 { 5551 for _, s := range m.Images { 5552 l = len(s) 5553 n += 1 + l + sovRepository(uint64(l)) 5554 } 5555 } 5556 if m.XXX_unrecognized != nil { 5557 n += len(m.XXX_unrecognized) 5558 } 5559 return n 5560 } 5561 5562 func (m *DirectoryAppSpec) Size() (n int) { 5563 if m == nil { 5564 return 0 5565 } 5566 var l int 5567 _ = l 5568 if m.XXX_unrecognized != nil { 5569 n += len(m.XXX_unrecognized) 5570 } 5571 return n 5572 } 5573 5574 func (m *ParameterAnnouncement) Size() (n int) { 5575 if m == nil { 5576 return 0 5577 } 5578 var l int 5579 _ = l 5580 l = len(m.Name) 5581 if l > 0 { 5582 n += 1 + l + sovRepository(uint64(l)) 5583 } 5584 l = len(m.Title) 5585 if l > 0 { 5586 n += 1 + l + sovRepository(uint64(l)) 5587 } 5588 l = len(m.Tooltip) 5589 if l > 0 { 5590 n += 1 + l + sovRepository(uint64(l)) 5591 } 5592 if m.Required { 5593 n += 2 5594 } 5595 l = len(m.ItemType) 5596 if l > 0 { 5597 n += 1 + l + sovRepository(uint64(l)) 5598 } 5599 l = len(m.CollectionType) 5600 if l > 0 { 5601 n += 1 + l + sovRepository(uint64(l)) 5602 } 5603 l = len(m.String_) 5604 if l > 0 { 5605 n += 1 + l + sovRepository(uint64(l)) 5606 } 5607 if len(m.Array) > 0 { 5608 for _, s := range m.Array { 5609 l = len(s) 5610 n += 1 + l + sovRepository(uint64(l)) 5611 } 5612 } 5613 if len(m.Map) > 0 { 5614 for k, v := range m.Map { 5615 _ = k 5616 _ = v 5617 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + 1 + len(v) + sovRepository(uint64(len(v))) 5618 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5619 } 5620 } 5621 if m.XXX_unrecognized != nil { 5622 n += len(m.XXX_unrecognized) 5623 } 5624 return n 5625 } 5626 5627 func (m *PluginAppSpec) Size() (n int) { 5628 if m == nil { 5629 return 0 5630 } 5631 var l int 5632 _ = l 5633 if len(m.ParametersAnnouncement) > 0 { 5634 for _, e := range m.ParametersAnnouncement { 5635 l = e.Size() 5636 n += 1 + l + sovRepository(uint64(l)) 5637 } 5638 } 5639 if m.XXX_unrecognized != nil { 5640 n += len(m.XXX_unrecognized) 5641 } 5642 return n 5643 } 5644 5645 func (m *HelmChartsRequest) Size() (n int) { 5646 if m == nil { 5647 return 0 5648 } 5649 var l int 5650 _ = l 5651 if m.Repo != nil { 5652 l = m.Repo.Size() 5653 n += 1 + l + sovRepository(uint64(l)) 5654 } 5655 if m.XXX_unrecognized != nil { 5656 n += len(m.XXX_unrecognized) 5657 } 5658 return n 5659 } 5660 5661 func (m *HelmChart) Size() (n int) { 5662 if m == nil { 5663 return 0 5664 } 5665 var l int 5666 _ = l 5667 l = len(m.Name) 5668 if l > 0 { 5669 n += 1 + l + sovRepository(uint64(l)) 5670 } 5671 if len(m.Versions) > 0 { 5672 for _, s := range m.Versions { 5673 l = len(s) 5674 n += 1 + l + sovRepository(uint64(l)) 5675 } 5676 } 5677 if m.XXX_unrecognized != nil { 5678 n += len(m.XXX_unrecognized) 5679 } 5680 return n 5681 } 5682 5683 func (m *HelmChartsResponse) Size() (n int) { 5684 if m == nil { 5685 return 0 5686 } 5687 var l int 5688 _ = l 5689 if len(m.Items) > 0 { 5690 for _, e := range m.Items { 5691 l = e.Size() 5692 n += 1 + l + sovRepository(uint64(l)) 5693 } 5694 } 5695 if m.XXX_unrecognized != nil { 5696 n += len(m.XXX_unrecognized) 5697 } 5698 return n 5699 } 5700 5701 func (m *GitFilesRequest) Size() (n int) { 5702 if m == nil { 5703 return 0 5704 } 5705 var l int 5706 _ = l 5707 if m.Repo != nil { 5708 l = m.Repo.Size() 5709 n += 1 + l + sovRepository(uint64(l)) 5710 } 5711 if m.SubmoduleEnabled { 5712 n += 2 5713 } 5714 l = len(m.Revision) 5715 if l > 0 { 5716 n += 1 + l + sovRepository(uint64(l)) 5717 } 5718 l = len(m.Path) 5719 if l > 0 { 5720 n += 1 + l + sovRepository(uint64(l)) 5721 } 5722 if m.NewGitFileGlobbingEnabled { 5723 n += 2 5724 } 5725 if m.NoRevisionCache { 5726 n += 2 5727 } 5728 if m.XXX_unrecognized != nil { 5729 n += len(m.XXX_unrecognized) 5730 } 5731 return n 5732 } 5733 5734 func (m *GitFilesResponse) Size() (n int) { 5735 if m == nil { 5736 return 0 5737 } 5738 var l int 5739 _ = l 5740 if len(m.Map) > 0 { 5741 for k, v := range m.Map { 5742 _ = k 5743 _ = v 5744 l = 0 5745 if len(v) > 0 { 5746 l = 1 + len(v) + sovRepository(uint64(len(v))) 5747 } 5748 mapEntrySize := 1 + len(k) + sovRepository(uint64(len(k))) + l 5749 n += mapEntrySize + 1 + sovRepository(uint64(mapEntrySize)) 5750 } 5751 } 5752 if m.XXX_unrecognized != nil { 5753 n += len(m.XXX_unrecognized) 5754 } 5755 return n 5756 } 5757 5758 func (m *GitDirectoriesRequest) Size() (n int) { 5759 if m == nil { 5760 return 0 5761 } 5762 var l int 5763 _ = l 5764 if m.Repo != nil { 5765 l = m.Repo.Size() 5766 n += 1 + l + sovRepository(uint64(l)) 5767 } 5768 if m.SubmoduleEnabled { 5769 n += 2 5770 } 5771 l = len(m.Revision) 5772 if l > 0 { 5773 n += 1 + l + sovRepository(uint64(l)) 5774 } 5775 if m.NoRevisionCache { 5776 n += 2 5777 } 5778 if m.XXX_unrecognized != nil { 5779 n += len(m.XXX_unrecognized) 5780 } 5781 return n 5782 } 5783 5784 func (m *GitDirectoriesResponse) Size() (n int) { 5785 if m == nil { 5786 return 0 5787 } 5788 var l int 5789 _ = l 5790 if len(m.Paths) > 0 { 5791 for _, s := range m.Paths { 5792 l = len(s) 5793 n += 1 + l + sovRepository(uint64(l)) 5794 } 5795 } 5796 if m.XXX_unrecognized != nil { 5797 n += len(m.XXX_unrecognized) 5798 } 5799 return n 5800 } 5801 5802 func sovRepository(x uint64) (n int) { 5803 return (math_bits.Len64(x|1) + 6) / 7 5804 } 5805 func sozRepository(x uint64) (n int) { 5806 return sovRepository(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 5807 } 5808 func (m *ManifestRequest) Unmarshal(dAtA []byte) error { 5809 l := len(dAtA) 5810 iNdEx := 0 5811 for iNdEx < l { 5812 preIndex := iNdEx 5813 var wire uint64 5814 for shift := uint(0); ; shift += 7 { 5815 if shift >= 64 { 5816 return ErrIntOverflowRepository 5817 } 5818 if iNdEx >= l { 5819 return io.ErrUnexpectedEOF 5820 } 5821 b := dAtA[iNdEx] 5822 iNdEx++ 5823 wire |= uint64(b&0x7F) << shift 5824 if b < 0x80 { 5825 break 5826 } 5827 } 5828 fieldNum := int32(wire >> 3) 5829 wireType := int(wire & 0x7) 5830 if wireType == 4 { 5831 return fmt.Errorf("proto: ManifestRequest: wiretype end group for non-group") 5832 } 5833 if fieldNum <= 0 { 5834 return fmt.Errorf("proto: ManifestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5835 } 5836 switch fieldNum { 5837 case 1: 5838 if wireType != 2 { 5839 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 5840 } 5841 var msglen int 5842 for shift := uint(0); ; shift += 7 { 5843 if shift >= 64 { 5844 return ErrIntOverflowRepository 5845 } 5846 if iNdEx >= l { 5847 return io.ErrUnexpectedEOF 5848 } 5849 b := dAtA[iNdEx] 5850 iNdEx++ 5851 msglen |= int(b&0x7F) << shift 5852 if b < 0x80 { 5853 break 5854 } 5855 } 5856 if msglen < 0 { 5857 return ErrInvalidLengthRepository 5858 } 5859 postIndex := iNdEx + msglen 5860 if postIndex < 0 { 5861 return ErrInvalidLengthRepository 5862 } 5863 if postIndex > l { 5864 return io.ErrUnexpectedEOF 5865 } 5866 if m.Repo == nil { 5867 m.Repo = &v1alpha1.Repository{} 5868 } 5869 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5870 return err 5871 } 5872 iNdEx = postIndex 5873 case 2: 5874 if wireType != 2 { 5875 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 5876 } 5877 var stringLen uint64 5878 for shift := uint(0); ; shift += 7 { 5879 if shift >= 64 { 5880 return ErrIntOverflowRepository 5881 } 5882 if iNdEx >= l { 5883 return io.ErrUnexpectedEOF 5884 } 5885 b := dAtA[iNdEx] 5886 iNdEx++ 5887 stringLen |= uint64(b&0x7F) << shift 5888 if b < 0x80 { 5889 break 5890 } 5891 } 5892 intStringLen := int(stringLen) 5893 if intStringLen < 0 { 5894 return ErrInvalidLengthRepository 5895 } 5896 postIndex := iNdEx + intStringLen 5897 if postIndex < 0 { 5898 return ErrInvalidLengthRepository 5899 } 5900 if postIndex > l { 5901 return io.ErrUnexpectedEOF 5902 } 5903 m.Revision = string(dAtA[iNdEx:postIndex]) 5904 iNdEx = postIndex 5905 case 3: 5906 if wireType != 0 { 5907 return fmt.Errorf("proto: wrong wireType = %d for field NoCache", wireType) 5908 } 5909 var v int 5910 for shift := uint(0); ; shift += 7 { 5911 if shift >= 64 { 5912 return ErrIntOverflowRepository 5913 } 5914 if iNdEx >= l { 5915 return io.ErrUnexpectedEOF 5916 } 5917 b := dAtA[iNdEx] 5918 iNdEx++ 5919 v |= int(b&0x7F) << shift 5920 if b < 0x80 { 5921 break 5922 } 5923 } 5924 m.NoCache = bool(v != 0) 5925 case 4: 5926 if wireType != 2 { 5927 return fmt.Errorf("proto: wrong wireType = %d for field AppLabelKey", wireType) 5928 } 5929 var stringLen uint64 5930 for shift := uint(0); ; shift += 7 { 5931 if shift >= 64 { 5932 return ErrIntOverflowRepository 5933 } 5934 if iNdEx >= l { 5935 return io.ErrUnexpectedEOF 5936 } 5937 b := dAtA[iNdEx] 5938 iNdEx++ 5939 stringLen |= uint64(b&0x7F) << shift 5940 if b < 0x80 { 5941 break 5942 } 5943 } 5944 intStringLen := int(stringLen) 5945 if intStringLen < 0 { 5946 return ErrInvalidLengthRepository 5947 } 5948 postIndex := iNdEx + intStringLen 5949 if postIndex < 0 { 5950 return ErrInvalidLengthRepository 5951 } 5952 if postIndex > l { 5953 return io.ErrUnexpectedEOF 5954 } 5955 m.AppLabelKey = string(dAtA[iNdEx:postIndex]) 5956 iNdEx = postIndex 5957 case 5: 5958 if wireType != 2 { 5959 return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) 5960 } 5961 var stringLen uint64 5962 for shift := uint(0); ; shift += 7 { 5963 if shift >= 64 { 5964 return ErrIntOverflowRepository 5965 } 5966 if iNdEx >= l { 5967 return io.ErrUnexpectedEOF 5968 } 5969 b := dAtA[iNdEx] 5970 iNdEx++ 5971 stringLen |= uint64(b&0x7F) << shift 5972 if b < 0x80 { 5973 break 5974 } 5975 } 5976 intStringLen := int(stringLen) 5977 if intStringLen < 0 { 5978 return ErrInvalidLengthRepository 5979 } 5980 postIndex := iNdEx + intStringLen 5981 if postIndex < 0 { 5982 return ErrInvalidLengthRepository 5983 } 5984 if postIndex > l { 5985 return io.ErrUnexpectedEOF 5986 } 5987 m.AppName = string(dAtA[iNdEx:postIndex]) 5988 iNdEx = postIndex 5989 case 8: 5990 if wireType != 2 { 5991 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 5992 } 5993 var stringLen uint64 5994 for shift := uint(0); ; shift += 7 { 5995 if shift >= 64 { 5996 return ErrIntOverflowRepository 5997 } 5998 if iNdEx >= l { 5999 return io.ErrUnexpectedEOF 6000 } 6001 b := dAtA[iNdEx] 6002 iNdEx++ 6003 stringLen |= uint64(b&0x7F) << shift 6004 if b < 0x80 { 6005 break 6006 } 6007 } 6008 intStringLen := int(stringLen) 6009 if intStringLen < 0 { 6010 return ErrInvalidLengthRepository 6011 } 6012 postIndex := iNdEx + intStringLen 6013 if postIndex < 0 { 6014 return ErrInvalidLengthRepository 6015 } 6016 if postIndex > l { 6017 return io.ErrUnexpectedEOF 6018 } 6019 m.Namespace = string(dAtA[iNdEx:postIndex]) 6020 iNdEx = postIndex 6021 case 10: 6022 if wireType != 2 { 6023 return fmt.Errorf("proto: wrong wireType = %d for field ApplicationSource", wireType) 6024 } 6025 var msglen int 6026 for shift := uint(0); ; shift += 7 { 6027 if shift >= 64 { 6028 return ErrIntOverflowRepository 6029 } 6030 if iNdEx >= l { 6031 return io.ErrUnexpectedEOF 6032 } 6033 b := dAtA[iNdEx] 6034 iNdEx++ 6035 msglen |= int(b&0x7F) << shift 6036 if b < 0x80 { 6037 break 6038 } 6039 } 6040 if msglen < 0 { 6041 return ErrInvalidLengthRepository 6042 } 6043 postIndex := iNdEx + msglen 6044 if postIndex < 0 { 6045 return ErrInvalidLengthRepository 6046 } 6047 if postIndex > l { 6048 return io.ErrUnexpectedEOF 6049 } 6050 if m.ApplicationSource == nil { 6051 m.ApplicationSource = &v1alpha1.ApplicationSource{} 6052 } 6053 if err := m.ApplicationSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6054 return err 6055 } 6056 iNdEx = postIndex 6057 case 11: 6058 if wireType != 2 { 6059 return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType) 6060 } 6061 var msglen int 6062 for shift := uint(0); ; shift += 7 { 6063 if shift >= 64 { 6064 return ErrIntOverflowRepository 6065 } 6066 if iNdEx >= l { 6067 return io.ErrUnexpectedEOF 6068 } 6069 b := dAtA[iNdEx] 6070 iNdEx++ 6071 msglen |= int(b&0x7F) << shift 6072 if b < 0x80 { 6073 break 6074 } 6075 } 6076 if msglen < 0 { 6077 return ErrInvalidLengthRepository 6078 } 6079 postIndex := iNdEx + msglen 6080 if postIndex < 0 { 6081 return ErrInvalidLengthRepository 6082 } 6083 if postIndex > l { 6084 return io.ErrUnexpectedEOF 6085 } 6086 m.Repos = append(m.Repos, &v1alpha1.Repository{}) 6087 if err := m.Repos[len(m.Repos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6088 return err 6089 } 6090 iNdEx = postIndex 6091 case 12: 6092 if wireType != 2 { 6093 return fmt.Errorf("proto: wrong wireType = %d for field Plugins", wireType) 6094 } 6095 var msglen int 6096 for shift := uint(0); ; shift += 7 { 6097 if shift >= 64 { 6098 return ErrIntOverflowRepository 6099 } 6100 if iNdEx >= l { 6101 return io.ErrUnexpectedEOF 6102 } 6103 b := dAtA[iNdEx] 6104 iNdEx++ 6105 msglen |= int(b&0x7F) << shift 6106 if b < 0x80 { 6107 break 6108 } 6109 } 6110 if msglen < 0 { 6111 return ErrInvalidLengthRepository 6112 } 6113 postIndex := iNdEx + msglen 6114 if postIndex < 0 { 6115 return ErrInvalidLengthRepository 6116 } 6117 if postIndex > l { 6118 return io.ErrUnexpectedEOF 6119 } 6120 m.Plugins = append(m.Plugins, &v1alpha1.ConfigManagementPlugin{}) 6121 if err := m.Plugins[len(m.Plugins)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6122 return err 6123 } 6124 iNdEx = postIndex 6125 case 13: 6126 if wireType != 2 { 6127 return fmt.Errorf("proto: wrong wireType = %d for field KustomizeOptions", wireType) 6128 } 6129 var msglen int 6130 for shift := uint(0); ; shift += 7 { 6131 if shift >= 64 { 6132 return ErrIntOverflowRepository 6133 } 6134 if iNdEx >= l { 6135 return io.ErrUnexpectedEOF 6136 } 6137 b := dAtA[iNdEx] 6138 iNdEx++ 6139 msglen |= int(b&0x7F) << shift 6140 if b < 0x80 { 6141 break 6142 } 6143 } 6144 if msglen < 0 { 6145 return ErrInvalidLengthRepository 6146 } 6147 postIndex := iNdEx + msglen 6148 if postIndex < 0 { 6149 return ErrInvalidLengthRepository 6150 } 6151 if postIndex > l { 6152 return io.ErrUnexpectedEOF 6153 } 6154 if m.KustomizeOptions == nil { 6155 m.KustomizeOptions = &v1alpha1.KustomizeOptions{} 6156 } 6157 if err := m.KustomizeOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6158 return err 6159 } 6160 iNdEx = postIndex 6161 case 14: 6162 if wireType != 2 { 6163 return fmt.Errorf("proto: wrong wireType = %d for field KubeVersion", wireType) 6164 } 6165 var stringLen uint64 6166 for shift := uint(0); ; shift += 7 { 6167 if shift >= 64 { 6168 return ErrIntOverflowRepository 6169 } 6170 if iNdEx >= l { 6171 return io.ErrUnexpectedEOF 6172 } 6173 b := dAtA[iNdEx] 6174 iNdEx++ 6175 stringLen |= uint64(b&0x7F) << shift 6176 if b < 0x80 { 6177 break 6178 } 6179 } 6180 intStringLen := int(stringLen) 6181 if intStringLen < 0 { 6182 return ErrInvalidLengthRepository 6183 } 6184 postIndex := iNdEx + intStringLen 6185 if postIndex < 0 { 6186 return ErrInvalidLengthRepository 6187 } 6188 if postIndex > l { 6189 return io.ErrUnexpectedEOF 6190 } 6191 m.KubeVersion = string(dAtA[iNdEx:postIndex]) 6192 iNdEx = postIndex 6193 case 15: 6194 if wireType != 2 { 6195 return fmt.Errorf("proto: wrong wireType = %d for field ApiVersions", wireType) 6196 } 6197 var stringLen uint64 6198 for shift := uint(0); ; shift += 7 { 6199 if shift >= 64 { 6200 return ErrIntOverflowRepository 6201 } 6202 if iNdEx >= l { 6203 return io.ErrUnexpectedEOF 6204 } 6205 b := dAtA[iNdEx] 6206 iNdEx++ 6207 stringLen |= uint64(b&0x7F) << shift 6208 if b < 0x80 { 6209 break 6210 } 6211 } 6212 intStringLen := int(stringLen) 6213 if intStringLen < 0 { 6214 return ErrInvalidLengthRepository 6215 } 6216 postIndex := iNdEx + intStringLen 6217 if postIndex < 0 { 6218 return ErrInvalidLengthRepository 6219 } 6220 if postIndex > l { 6221 return io.ErrUnexpectedEOF 6222 } 6223 m.ApiVersions = append(m.ApiVersions, string(dAtA[iNdEx:postIndex])) 6224 iNdEx = postIndex 6225 case 16: 6226 if wireType != 0 { 6227 return fmt.Errorf("proto: wrong wireType = %d for field VerifySignature", wireType) 6228 } 6229 var v int 6230 for shift := uint(0); ; shift += 7 { 6231 if shift >= 64 { 6232 return ErrIntOverflowRepository 6233 } 6234 if iNdEx >= l { 6235 return io.ErrUnexpectedEOF 6236 } 6237 b := dAtA[iNdEx] 6238 iNdEx++ 6239 v |= int(b&0x7F) << shift 6240 if b < 0x80 { 6241 break 6242 } 6243 } 6244 m.VerifySignature = bool(v != 0) 6245 case 17: 6246 if wireType != 2 { 6247 return fmt.Errorf("proto: wrong wireType = %d for field HelmRepoCreds", wireType) 6248 } 6249 var msglen int 6250 for shift := uint(0); ; shift += 7 { 6251 if shift >= 64 { 6252 return ErrIntOverflowRepository 6253 } 6254 if iNdEx >= l { 6255 return io.ErrUnexpectedEOF 6256 } 6257 b := dAtA[iNdEx] 6258 iNdEx++ 6259 msglen |= int(b&0x7F) << shift 6260 if b < 0x80 { 6261 break 6262 } 6263 } 6264 if msglen < 0 { 6265 return ErrInvalidLengthRepository 6266 } 6267 postIndex := iNdEx + msglen 6268 if postIndex < 0 { 6269 return ErrInvalidLengthRepository 6270 } 6271 if postIndex > l { 6272 return io.ErrUnexpectedEOF 6273 } 6274 m.HelmRepoCreds = append(m.HelmRepoCreds, &v1alpha1.RepoCreds{}) 6275 if err := m.HelmRepoCreds[len(m.HelmRepoCreds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6276 return err 6277 } 6278 iNdEx = postIndex 6279 case 18: 6280 if wireType != 0 { 6281 return fmt.Errorf("proto: wrong wireType = %d for field NoRevisionCache", wireType) 6282 } 6283 var v int 6284 for shift := uint(0); ; shift += 7 { 6285 if shift >= 64 { 6286 return ErrIntOverflowRepository 6287 } 6288 if iNdEx >= l { 6289 return io.ErrUnexpectedEOF 6290 } 6291 b := dAtA[iNdEx] 6292 iNdEx++ 6293 v |= int(b&0x7F) << shift 6294 if b < 0x80 { 6295 break 6296 } 6297 } 6298 m.NoRevisionCache = bool(v != 0) 6299 case 19: 6300 if wireType != 2 { 6301 return fmt.Errorf("proto: wrong wireType = %d for field TrackingMethod", wireType) 6302 } 6303 var stringLen uint64 6304 for shift := uint(0); ; shift += 7 { 6305 if shift >= 64 { 6306 return ErrIntOverflowRepository 6307 } 6308 if iNdEx >= l { 6309 return io.ErrUnexpectedEOF 6310 } 6311 b := dAtA[iNdEx] 6312 iNdEx++ 6313 stringLen |= uint64(b&0x7F) << shift 6314 if b < 0x80 { 6315 break 6316 } 6317 } 6318 intStringLen := int(stringLen) 6319 if intStringLen < 0 { 6320 return ErrInvalidLengthRepository 6321 } 6322 postIndex := iNdEx + intStringLen 6323 if postIndex < 0 { 6324 return ErrInvalidLengthRepository 6325 } 6326 if postIndex > l { 6327 return io.ErrUnexpectedEOF 6328 } 6329 m.TrackingMethod = string(dAtA[iNdEx:postIndex]) 6330 iNdEx = postIndex 6331 case 20: 6332 if wireType != 2 { 6333 return fmt.Errorf("proto: wrong wireType = %d for field EnabledSourceTypes", wireType) 6334 } 6335 var msglen int 6336 for shift := uint(0); ; shift += 7 { 6337 if shift >= 64 { 6338 return ErrIntOverflowRepository 6339 } 6340 if iNdEx >= l { 6341 return io.ErrUnexpectedEOF 6342 } 6343 b := dAtA[iNdEx] 6344 iNdEx++ 6345 msglen |= int(b&0x7F) << shift 6346 if b < 0x80 { 6347 break 6348 } 6349 } 6350 if msglen < 0 { 6351 return ErrInvalidLengthRepository 6352 } 6353 postIndex := iNdEx + msglen 6354 if postIndex < 0 { 6355 return ErrInvalidLengthRepository 6356 } 6357 if postIndex > l { 6358 return io.ErrUnexpectedEOF 6359 } 6360 if m.EnabledSourceTypes == nil { 6361 m.EnabledSourceTypes = make(map[string]bool) 6362 } 6363 var mapkey string 6364 var mapvalue bool 6365 for iNdEx < postIndex { 6366 entryPreIndex := iNdEx 6367 var wire uint64 6368 for shift := uint(0); ; shift += 7 { 6369 if shift >= 64 { 6370 return ErrIntOverflowRepository 6371 } 6372 if iNdEx >= l { 6373 return io.ErrUnexpectedEOF 6374 } 6375 b := dAtA[iNdEx] 6376 iNdEx++ 6377 wire |= uint64(b&0x7F) << shift 6378 if b < 0x80 { 6379 break 6380 } 6381 } 6382 fieldNum := int32(wire >> 3) 6383 if fieldNum == 1 { 6384 var stringLenmapkey uint64 6385 for shift := uint(0); ; shift += 7 { 6386 if shift >= 64 { 6387 return ErrIntOverflowRepository 6388 } 6389 if iNdEx >= l { 6390 return io.ErrUnexpectedEOF 6391 } 6392 b := dAtA[iNdEx] 6393 iNdEx++ 6394 stringLenmapkey |= uint64(b&0x7F) << shift 6395 if b < 0x80 { 6396 break 6397 } 6398 } 6399 intStringLenmapkey := int(stringLenmapkey) 6400 if intStringLenmapkey < 0 { 6401 return ErrInvalidLengthRepository 6402 } 6403 postStringIndexmapkey := iNdEx + intStringLenmapkey 6404 if postStringIndexmapkey < 0 { 6405 return ErrInvalidLengthRepository 6406 } 6407 if postStringIndexmapkey > l { 6408 return io.ErrUnexpectedEOF 6409 } 6410 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 6411 iNdEx = postStringIndexmapkey 6412 } else if fieldNum == 2 { 6413 var mapvaluetemp int 6414 for shift := uint(0); ; shift += 7 { 6415 if shift >= 64 { 6416 return ErrIntOverflowRepository 6417 } 6418 if iNdEx >= l { 6419 return io.ErrUnexpectedEOF 6420 } 6421 b := dAtA[iNdEx] 6422 iNdEx++ 6423 mapvaluetemp |= int(b&0x7F) << shift 6424 if b < 0x80 { 6425 break 6426 } 6427 } 6428 mapvalue = bool(mapvaluetemp != 0) 6429 } else { 6430 iNdEx = entryPreIndex 6431 skippy, err := skipRepository(dAtA[iNdEx:]) 6432 if err != nil { 6433 return err 6434 } 6435 if (skippy < 0) || (iNdEx+skippy) < 0 { 6436 return ErrInvalidLengthRepository 6437 } 6438 if (iNdEx + skippy) > postIndex { 6439 return io.ErrUnexpectedEOF 6440 } 6441 iNdEx += skippy 6442 } 6443 } 6444 m.EnabledSourceTypes[mapkey] = mapvalue 6445 iNdEx = postIndex 6446 case 21: 6447 if wireType != 2 { 6448 return fmt.Errorf("proto: wrong wireType = %d for field HelmOptions", wireType) 6449 } 6450 var msglen int 6451 for shift := uint(0); ; shift += 7 { 6452 if shift >= 64 { 6453 return ErrIntOverflowRepository 6454 } 6455 if iNdEx >= l { 6456 return io.ErrUnexpectedEOF 6457 } 6458 b := dAtA[iNdEx] 6459 iNdEx++ 6460 msglen |= int(b&0x7F) << shift 6461 if b < 0x80 { 6462 break 6463 } 6464 } 6465 if msglen < 0 { 6466 return ErrInvalidLengthRepository 6467 } 6468 postIndex := iNdEx + msglen 6469 if postIndex < 0 { 6470 return ErrInvalidLengthRepository 6471 } 6472 if postIndex > l { 6473 return io.ErrUnexpectedEOF 6474 } 6475 if m.HelmOptions == nil { 6476 m.HelmOptions = &v1alpha1.HelmOptions{} 6477 } 6478 if err := m.HelmOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6479 return err 6480 } 6481 iNdEx = postIndex 6482 case 22: 6483 if wireType != 0 { 6484 return fmt.Errorf("proto: wrong wireType = %d for field HasMultipleSources", wireType) 6485 } 6486 var v int 6487 for shift := uint(0); ; shift += 7 { 6488 if shift >= 64 { 6489 return ErrIntOverflowRepository 6490 } 6491 if iNdEx >= l { 6492 return io.ErrUnexpectedEOF 6493 } 6494 b := dAtA[iNdEx] 6495 iNdEx++ 6496 v |= int(b&0x7F) << shift 6497 if b < 0x80 { 6498 break 6499 } 6500 } 6501 m.HasMultipleSources = bool(v != 0) 6502 case 23: 6503 if wireType != 2 { 6504 return fmt.Errorf("proto: wrong wireType = %d for field RefSources", wireType) 6505 } 6506 var msglen int 6507 for shift := uint(0); ; shift += 7 { 6508 if shift >= 64 { 6509 return ErrIntOverflowRepository 6510 } 6511 if iNdEx >= l { 6512 return io.ErrUnexpectedEOF 6513 } 6514 b := dAtA[iNdEx] 6515 iNdEx++ 6516 msglen |= int(b&0x7F) << shift 6517 if b < 0x80 { 6518 break 6519 } 6520 } 6521 if msglen < 0 { 6522 return ErrInvalidLengthRepository 6523 } 6524 postIndex := iNdEx + msglen 6525 if postIndex < 0 { 6526 return ErrInvalidLengthRepository 6527 } 6528 if postIndex > l { 6529 return io.ErrUnexpectedEOF 6530 } 6531 if m.RefSources == nil { 6532 m.RefSources = make(map[string]*v1alpha1.RefTarget) 6533 } 6534 var mapkey string 6535 var mapvalue *v1alpha1.RefTarget 6536 for iNdEx < postIndex { 6537 entryPreIndex := iNdEx 6538 var wire uint64 6539 for shift := uint(0); ; shift += 7 { 6540 if shift >= 64 { 6541 return ErrIntOverflowRepository 6542 } 6543 if iNdEx >= l { 6544 return io.ErrUnexpectedEOF 6545 } 6546 b := dAtA[iNdEx] 6547 iNdEx++ 6548 wire |= uint64(b&0x7F) << shift 6549 if b < 0x80 { 6550 break 6551 } 6552 } 6553 fieldNum := int32(wire >> 3) 6554 if fieldNum == 1 { 6555 var stringLenmapkey uint64 6556 for shift := uint(0); ; shift += 7 { 6557 if shift >= 64 { 6558 return ErrIntOverflowRepository 6559 } 6560 if iNdEx >= l { 6561 return io.ErrUnexpectedEOF 6562 } 6563 b := dAtA[iNdEx] 6564 iNdEx++ 6565 stringLenmapkey |= uint64(b&0x7F) << shift 6566 if b < 0x80 { 6567 break 6568 } 6569 } 6570 intStringLenmapkey := int(stringLenmapkey) 6571 if intStringLenmapkey < 0 { 6572 return ErrInvalidLengthRepository 6573 } 6574 postStringIndexmapkey := iNdEx + intStringLenmapkey 6575 if postStringIndexmapkey < 0 { 6576 return ErrInvalidLengthRepository 6577 } 6578 if postStringIndexmapkey > l { 6579 return io.ErrUnexpectedEOF 6580 } 6581 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 6582 iNdEx = postStringIndexmapkey 6583 } else if fieldNum == 2 { 6584 var mapmsglen int 6585 for shift := uint(0); ; shift += 7 { 6586 if shift >= 64 { 6587 return ErrIntOverflowRepository 6588 } 6589 if iNdEx >= l { 6590 return io.ErrUnexpectedEOF 6591 } 6592 b := dAtA[iNdEx] 6593 iNdEx++ 6594 mapmsglen |= int(b&0x7F) << shift 6595 if b < 0x80 { 6596 break 6597 } 6598 } 6599 if mapmsglen < 0 { 6600 return ErrInvalidLengthRepository 6601 } 6602 postmsgIndex := iNdEx + mapmsglen 6603 if postmsgIndex < 0 { 6604 return ErrInvalidLengthRepository 6605 } 6606 if postmsgIndex > l { 6607 return io.ErrUnexpectedEOF 6608 } 6609 mapvalue = &v1alpha1.RefTarget{} 6610 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 6611 return err 6612 } 6613 iNdEx = postmsgIndex 6614 } else { 6615 iNdEx = entryPreIndex 6616 skippy, err := skipRepository(dAtA[iNdEx:]) 6617 if err != nil { 6618 return err 6619 } 6620 if (skippy < 0) || (iNdEx+skippy) < 0 { 6621 return ErrInvalidLengthRepository 6622 } 6623 if (iNdEx + skippy) > postIndex { 6624 return io.ErrUnexpectedEOF 6625 } 6626 iNdEx += skippy 6627 } 6628 } 6629 m.RefSources[mapkey] = mapvalue 6630 iNdEx = postIndex 6631 case 24: 6632 if wireType != 2 { 6633 return fmt.Errorf("proto: wrong wireType = %d for field ProjectSourceRepos", wireType) 6634 } 6635 var stringLen uint64 6636 for shift := uint(0); ; shift += 7 { 6637 if shift >= 64 { 6638 return ErrIntOverflowRepository 6639 } 6640 if iNdEx >= l { 6641 return io.ErrUnexpectedEOF 6642 } 6643 b := dAtA[iNdEx] 6644 iNdEx++ 6645 stringLen |= uint64(b&0x7F) << shift 6646 if b < 0x80 { 6647 break 6648 } 6649 } 6650 intStringLen := int(stringLen) 6651 if intStringLen < 0 { 6652 return ErrInvalidLengthRepository 6653 } 6654 postIndex := iNdEx + intStringLen 6655 if postIndex < 0 { 6656 return ErrInvalidLengthRepository 6657 } 6658 if postIndex > l { 6659 return io.ErrUnexpectedEOF 6660 } 6661 m.ProjectSourceRepos = append(m.ProjectSourceRepos, string(dAtA[iNdEx:postIndex])) 6662 iNdEx = postIndex 6663 case 25: 6664 if wireType != 2 { 6665 return fmt.Errorf("proto: wrong wireType = %d for field ProjectName", wireType) 6666 } 6667 var stringLen uint64 6668 for shift := uint(0); ; shift += 7 { 6669 if shift >= 64 { 6670 return ErrIntOverflowRepository 6671 } 6672 if iNdEx >= l { 6673 return io.ErrUnexpectedEOF 6674 } 6675 b := dAtA[iNdEx] 6676 iNdEx++ 6677 stringLen |= uint64(b&0x7F) << shift 6678 if b < 0x80 { 6679 break 6680 } 6681 } 6682 intStringLen := int(stringLen) 6683 if intStringLen < 0 { 6684 return ErrInvalidLengthRepository 6685 } 6686 postIndex := iNdEx + intStringLen 6687 if postIndex < 0 { 6688 return ErrInvalidLengthRepository 6689 } 6690 if postIndex > l { 6691 return io.ErrUnexpectedEOF 6692 } 6693 m.ProjectName = string(dAtA[iNdEx:postIndex]) 6694 iNdEx = postIndex 6695 default: 6696 iNdEx = preIndex 6697 skippy, err := skipRepository(dAtA[iNdEx:]) 6698 if err != nil { 6699 return err 6700 } 6701 if (skippy < 0) || (iNdEx+skippy) < 0 { 6702 return ErrInvalidLengthRepository 6703 } 6704 if (iNdEx + skippy) > l { 6705 return io.ErrUnexpectedEOF 6706 } 6707 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 6708 iNdEx += skippy 6709 } 6710 } 6711 6712 if iNdEx > l { 6713 return io.ErrUnexpectedEOF 6714 } 6715 return nil 6716 } 6717 func (m *ManifestRequestWithFiles) Unmarshal(dAtA []byte) error { 6718 l := len(dAtA) 6719 iNdEx := 0 6720 for iNdEx < l { 6721 preIndex := iNdEx 6722 var wire uint64 6723 for shift := uint(0); ; shift += 7 { 6724 if shift >= 64 { 6725 return ErrIntOverflowRepository 6726 } 6727 if iNdEx >= l { 6728 return io.ErrUnexpectedEOF 6729 } 6730 b := dAtA[iNdEx] 6731 iNdEx++ 6732 wire |= uint64(b&0x7F) << shift 6733 if b < 0x80 { 6734 break 6735 } 6736 } 6737 fieldNum := int32(wire >> 3) 6738 wireType := int(wire & 0x7) 6739 if wireType == 4 { 6740 return fmt.Errorf("proto: ManifestRequestWithFiles: wiretype end group for non-group") 6741 } 6742 if fieldNum <= 0 { 6743 return fmt.Errorf("proto: ManifestRequestWithFiles: illegal tag %d (wire type %d)", fieldNum, wire) 6744 } 6745 switch fieldNum { 6746 case 1: 6747 if wireType != 2 { 6748 return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) 6749 } 6750 var msglen int 6751 for shift := uint(0); ; shift += 7 { 6752 if shift >= 64 { 6753 return ErrIntOverflowRepository 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 ErrInvalidLengthRepository 6767 } 6768 postIndex := iNdEx + msglen 6769 if postIndex < 0 { 6770 return ErrInvalidLengthRepository 6771 } 6772 if postIndex > l { 6773 return io.ErrUnexpectedEOF 6774 } 6775 v := &ManifestRequest{} 6776 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6777 return err 6778 } 6779 m.Part = &ManifestRequestWithFiles_Request{v} 6780 iNdEx = postIndex 6781 case 2: 6782 if wireType != 2 { 6783 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 6784 } 6785 var msglen int 6786 for shift := uint(0); ; shift += 7 { 6787 if shift >= 64 { 6788 return ErrIntOverflowRepository 6789 } 6790 if iNdEx >= l { 6791 return io.ErrUnexpectedEOF 6792 } 6793 b := dAtA[iNdEx] 6794 iNdEx++ 6795 msglen |= int(b&0x7F) << shift 6796 if b < 0x80 { 6797 break 6798 } 6799 } 6800 if msglen < 0 { 6801 return ErrInvalidLengthRepository 6802 } 6803 postIndex := iNdEx + msglen 6804 if postIndex < 0 { 6805 return ErrInvalidLengthRepository 6806 } 6807 if postIndex > l { 6808 return io.ErrUnexpectedEOF 6809 } 6810 v := &ManifestFileMetadata{} 6811 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6812 return err 6813 } 6814 m.Part = &ManifestRequestWithFiles_Metadata{v} 6815 iNdEx = postIndex 6816 case 3: 6817 if wireType != 2 { 6818 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 6819 } 6820 var msglen int 6821 for shift := uint(0); ; shift += 7 { 6822 if shift >= 64 { 6823 return ErrIntOverflowRepository 6824 } 6825 if iNdEx >= l { 6826 return io.ErrUnexpectedEOF 6827 } 6828 b := dAtA[iNdEx] 6829 iNdEx++ 6830 msglen |= int(b&0x7F) << shift 6831 if b < 0x80 { 6832 break 6833 } 6834 } 6835 if msglen < 0 { 6836 return ErrInvalidLengthRepository 6837 } 6838 postIndex := iNdEx + msglen 6839 if postIndex < 0 { 6840 return ErrInvalidLengthRepository 6841 } 6842 if postIndex > l { 6843 return io.ErrUnexpectedEOF 6844 } 6845 v := &ManifestFileChunk{} 6846 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6847 return err 6848 } 6849 m.Part = &ManifestRequestWithFiles_Chunk{v} 6850 iNdEx = postIndex 6851 default: 6852 iNdEx = preIndex 6853 skippy, err := skipRepository(dAtA[iNdEx:]) 6854 if err != nil { 6855 return err 6856 } 6857 if (skippy < 0) || (iNdEx+skippy) < 0 { 6858 return ErrInvalidLengthRepository 6859 } 6860 if (iNdEx + skippy) > l { 6861 return io.ErrUnexpectedEOF 6862 } 6863 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 6864 iNdEx += skippy 6865 } 6866 } 6867 6868 if iNdEx > l { 6869 return io.ErrUnexpectedEOF 6870 } 6871 return nil 6872 } 6873 func (m *ManifestFileMetadata) Unmarshal(dAtA []byte) error { 6874 l := len(dAtA) 6875 iNdEx := 0 6876 for iNdEx < l { 6877 preIndex := iNdEx 6878 var wire uint64 6879 for shift := uint(0); ; shift += 7 { 6880 if shift >= 64 { 6881 return ErrIntOverflowRepository 6882 } 6883 if iNdEx >= l { 6884 return io.ErrUnexpectedEOF 6885 } 6886 b := dAtA[iNdEx] 6887 iNdEx++ 6888 wire |= uint64(b&0x7F) << shift 6889 if b < 0x80 { 6890 break 6891 } 6892 } 6893 fieldNum := int32(wire >> 3) 6894 wireType := int(wire & 0x7) 6895 if wireType == 4 { 6896 return fmt.Errorf("proto: ManifestFileMetadata: wiretype end group for non-group") 6897 } 6898 if fieldNum <= 0 { 6899 return fmt.Errorf("proto: ManifestFileMetadata: illegal tag %d (wire type %d)", fieldNum, wire) 6900 } 6901 switch fieldNum { 6902 case 1: 6903 if wireType != 2 { 6904 return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) 6905 } 6906 var stringLen uint64 6907 for shift := uint(0); ; shift += 7 { 6908 if shift >= 64 { 6909 return ErrIntOverflowRepository 6910 } 6911 if iNdEx >= l { 6912 return io.ErrUnexpectedEOF 6913 } 6914 b := dAtA[iNdEx] 6915 iNdEx++ 6916 stringLen |= uint64(b&0x7F) << shift 6917 if b < 0x80 { 6918 break 6919 } 6920 } 6921 intStringLen := int(stringLen) 6922 if intStringLen < 0 { 6923 return ErrInvalidLengthRepository 6924 } 6925 postIndex := iNdEx + intStringLen 6926 if postIndex < 0 { 6927 return ErrInvalidLengthRepository 6928 } 6929 if postIndex > l { 6930 return io.ErrUnexpectedEOF 6931 } 6932 m.Checksum = string(dAtA[iNdEx:postIndex]) 6933 iNdEx = postIndex 6934 case 2: 6935 if wireType != 0 { 6936 return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType) 6937 } 6938 m.Size_ = 0 6939 for shift := uint(0); ; shift += 7 { 6940 if shift >= 64 { 6941 return ErrIntOverflowRepository 6942 } 6943 if iNdEx >= l { 6944 return io.ErrUnexpectedEOF 6945 } 6946 b := dAtA[iNdEx] 6947 iNdEx++ 6948 m.Size_ |= int64(b&0x7F) << shift 6949 if b < 0x80 { 6950 break 6951 } 6952 } 6953 default: 6954 iNdEx = preIndex 6955 skippy, err := skipRepository(dAtA[iNdEx:]) 6956 if err != nil { 6957 return err 6958 } 6959 if (skippy < 0) || (iNdEx+skippy) < 0 { 6960 return ErrInvalidLengthRepository 6961 } 6962 if (iNdEx + skippy) > l { 6963 return io.ErrUnexpectedEOF 6964 } 6965 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 6966 iNdEx += skippy 6967 } 6968 } 6969 6970 if iNdEx > l { 6971 return io.ErrUnexpectedEOF 6972 } 6973 return nil 6974 } 6975 func (m *ManifestFileChunk) Unmarshal(dAtA []byte) error { 6976 l := len(dAtA) 6977 iNdEx := 0 6978 for iNdEx < l { 6979 preIndex := iNdEx 6980 var wire uint64 6981 for shift := uint(0); ; shift += 7 { 6982 if shift >= 64 { 6983 return ErrIntOverflowRepository 6984 } 6985 if iNdEx >= l { 6986 return io.ErrUnexpectedEOF 6987 } 6988 b := dAtA[iNdEx] 6989 iNdEx++ 6990 wire |= uint64(b&0x7F) << shift 6991 if b < 0x80 { 6992 break 6993 } 6994 } 6995 fieldNum := int32(wire >> 3) 6996 wireType := int(wire & 0x7) 6997 if wireType == 4 { 6998 return fmt.Errorf("proto: ManifestFileChunk: wiretype end group for non-group") 6999 } 7000 if fieldNum <= 0 { 7001 return fmt.Errorf("proto: ManifestFileChunk: illegal tag %d (wire type %d)", fieldNum, wire) 7002 } 7003 switch fieldNum { 7004 case 1: 7005 if wireType != 2 { 7006 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 7007 } 7008 var byteLen int 7009 for shift := uint(0); ; shift += 7 { 7010 if shift >= 64 { 7011 return ErrIntOverflowRepository 7012 } 7013 if iNdEx >= l { 7014 return io.ErrUnexpectedEOF 7015 } 7016 b := dAtA[iNdEx] 7017 iNdEx++ 7018 byteLen |= int(b&0x7F) << shift 7019 if b < 0x80 { 7020 break 7021 } 7022 } 7023 if byteLen < 0 { 7024 return ErrInvalidLengthRepository 7025 } 7026 postIndex := iNdEx + byteLen 7027 if postIndex < 0 { 7028 return ErrInvalidLengthRepository 7029 } 7030 if postIndex > l { 7031 return io.ErrUnexpectedEOF 7032 } 7033 m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...) 7034 if m.Chunk == nil { 7035 m.Chunk = []byte{} 7036 } 7037 iNdEx = postIndex 7038 default: 7039 iNdEx = preIndex 7040 skippy, err := skipRepository(dAtA[iNdEx:]) 7041 if err != nil { 7042 return err 7043 } 7044 if (skippy < 0) || (iNdEx+skippy) < 0 { 7045 return ErrInvalidLengthRepository 7046 } 7047 if (iNdEx + skippy) > l { 7048 return io.ErrUnexpectedEOF 7049 } 7050 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7051 iNdEx += skippy 7052 } 7053 } 7054 7055 if iNdEx > l { 7056 return io.ErrUnexpectedEOF 7057 } 7058 return nil 7059 } 7060 func (m *TestRepositoryRequest) Unmarshal(dAtA []byte) error { 7061 l := len(dAtA) 7062 iNdEx := 0 7063 for iNdEx < l { 7064 preIndex := iNdEx 7065 var wire uint64 7066 for shift := uint(0); ; shift += 7 { 7067 if shift >= 64 { 7068 return ErrIntOverflowRepository 7069 } 7070 if iNdEx >= l { 7071 return io.ErrUnexpectedEOF 7072 } 7073 b := dAtA[iNdEx] 7074 iNdEx++ 7075 wire |= uint64(b&0x7F) << shift 7076 if b < 0x80 { 7077 break 7078 } 7079 } 7080 fieldNum := int32(wire >> 3) 7081 wireType := int(wire & 0x7) 7082 if wireType == 4 { 7083 return fmt.Errorf("proto: TestRepositoryRequest: wiretype end group for non-group") 7084 } 7085 if fieldNum <= 0 { 7086 return fmt.Errorf("proto: TestRepositoryRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7087 } 7088 switch fieldNum { 7089 case 1: 7090 if wireType != 2 { 7091 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 7092 } 7093 var msglen int 7094 for shift := uint(0); ; shift += 7 { 7095 if shift >= 64 { 7096 return ErrIntOverflowRepository 7097 } 7098 if iNdEx >= l { 7099 return io.ErrUnexpectedEOF 7100 } 7101 b := dAtA[iNdEx] 7102 iNdEx++ 7103 msglen |= int(b&0x7F) << shift 7104 if b < 0x80 { 7105 break 7106 } 7107 } 7108 if msglen < 0 { 7109 return ErrInvalidLengthRepository 7110 } 7111 postIndex := iNdEx + msglen 7112 if postIndex < 0 { 7113 return ErrInvalidLengthRepository 7114 } 7115 if postIndex > l { 7116 return io.ErrUnexpectedEOF 7117 } 7118 if m.Repo == nil { 7119 m.Repo = &v1alpha1.Repository{} 7120 } 7121 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7122 return err 7123 } 7124 iNdEx = postIndex 7125 default: 7126 iNdEx = preIndex 7127 skippy, err := skipRepository(dAtA[iNdEx:]) 7128 if err != nil { 7129 return err 7130 } 7131 if (skippy < 0) || (iNdEx+skippy) < 0 { 7132 return ErrInvalidLengthRepository 7133 } 7134 if (iNdEx + skippy) > l { 7135 return io.ErrUnexpectedEOF 7136 } 7137 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7138 iNdEx += skippy 7139 } 7140 } 7141 7142 if iNdEx > l { 7143 return io.ErrUnexpectedEOF 7144 } 7145 return nil 7146 } 7147 func (m *TestRepositoryResponse) Unmarshal(dAtA []byte) error { 7148 l := len(dAtA) 7149 iNdEx := 0 7150 for iNdEx < l { 7151 preIndex := iNdEx 7152 var wire uint64 7153 for shift := uint(0); ; shift += 7 { 7154 if shift >= 64 { 7155 return ErrIntOverflowRepository 7156 } 7157 if iNdEx >= l { 7158 return io.ErrUnexpectedEOF 7159 } 7160 b := dAtA[iNdEx] 7161 iNdEx++ 7162 wire |= uint64(b&0x7F) << shift 7163 if b < 0x80 { 7164 break 7165 } 7166 } 7167 fieldNum := int32(wire >> 3) 7168 wireType := int(wire & 0x7) 7169 if wireType == 4 { 7170 return fmt.Errorf("proto: TestRepositoryResponse: wiretype end group for non-group") 7171 } 7172 if fieldNum <= 0 { 7173 return fmt.Errorf("proto: TestRepositoryResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7174 } 7175 switch fieldNum { 7176 case 1: 7177 if wireType != 0 { 7178 return fmt.Errorf("proto: wrong wireType = %d for field VerifiedRepository", wireType) 7179 } 7180 var v int 7181 for shift := uint(0); ; shift += 7 { 7182 if shift >= 64 { 7183 return ErrIntOverflowRepository 7184 } 7185 if iNdEx >= l { 7186 return io.ErrUnexpectedEOF 7187 } 7188 b := dAtA[iNdEx] 7189 iNdEx++ 7190 v |= int(b&0x7F) << shift 7191 if b < 0x80 { 7192 break 7193 } 7194 } 7195 m.VerifiedRepository = bool(v != 0) 7196 default: 7197 iNdEx = preIndex 7198 skippy, err := skipRepository(dAtA[iNdEx:]) 7199 if err != nil { 7200 return err 7201 } 7202 if (skippy < 0) || (iNdEx+skippy) < 0 { 7203 return ErrInvalidLengthRepository 7204 } 7205 if (iNdEx + skippy) > l { 7206 return io.ErrUnexpectedEOF 7207 } 7208 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7209 iNdEx += skippy 7210 } 7211 } 7212 7213 if iNdEx > l { 7214 return io.ErrUnexpectedEOF 7215 } 7216 return nil 7217 } 7218 func (m *ResolveRevisionRequest) Unmarshal(dAtA []byte) error { 7219 l := len(dAtA) 7220 iNdEx := 0 7221 for iNdEx < l { 7222 preIndex := iNdEx 7223 var wire uint64 7224 for shift := uint(0); ; shift += 7 { 7225 if shift >= 64 { 7226 return ErrIntOverflowRepository 7227 } 7228 if iNdEx >= l { 7229 return io.ErrUnexpectedEOF 7230 } 7231 b := dAtA[iNdEx] 7232 iNdEx++ 7233 wire |= uint64(b&0x7F) << shift 7234 if b < 0x80 { 7235 break 7236 } 7237 } 7238 fieldNum := int32(wire >> 3) 7239 wireType := int(wire & 0x7) 7240 if wireType == 4 { 7241 return fmt.Errorf("proto: ResolveRevisionRequest: wiretype end group for non-group") 7242 } 7243 if fieldNum <= 0 { 7244 return fmt.Errorf("proto: ResolveRevisionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7245 } 7246 switch fieldNum { 7247 case 1: 7248 if wireType != 2 { 7249 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 7250 } 7251 var msglen int 7252 for shift := uint(0); ; shift += 7 { 7253 if shift >= 64 { 7254 return ErrIntOverflowRepository 7255 } 7256 if iNdEx >= l { 7257 return io.ErrUnexpectedEOF 7258 } 7259 b := dAtA[iNdEx] 7260 iNdEx++ 7261 msglen |= int(b&0x7F) << shift 7262 if b < 0x80 { 7263 break 7264 } 7265 } 7266 if msglen < 0 { 7267 return ErrInvalidLengthRepository 7268 } 7269 postIndex := iNdEx + msglen 7270 if postIndex < 0 { 7271 return ErrInvalidLengthRepository 7272 } 7273 if postIndex > l { 7274 return io.ErrUnexpectedEOF 7275 } 7276 if m.Repo == nil { 7277 m.Repo = &v1alpha1.Repository{} 7278 } 7279 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7280 return err 7281 } 7282 iNdEx = postIndex 7283 case 2: 7284 if wireType != 2 { 7285 return fmt.Errorf("proto: wrong wireType = %d for field App", wireType) 7286 } 7287 var msglen int 7288 for shift := uint(0); ; shift += 7 { 7289 if shift >= 64 { 7290 return ErrIntOverflowRepository 7291 } 7292 if iNdEx >= l { 7293 return io.ErrUnexpectedEOF 7294 } 7295 b := dAtA[iNdEx] 7296 iNdEx++ 7297 msglen |= int(b&0x7F) << shift 7298 if b < 0x80 { 7299 break 7300 } 7301 } 7302 if msglen < 0 { 7303 return ErrInvalidLengthRepository 7304 } 7305 postIndex := iNdEx + msglen 7306 if postIndex < 0 { 7307 return ErrInvalidLengthRepository 7308 } 7309 if postIndex > l { 7310 return io.ErrUnexpectedEOF 7311 } 7312 if m.App == nil { 7313 m.App = &v1alpha1.Application{} 7314 } 7315 if err := m.App.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7316 return err 7317 } 7318 iNdEx = postIndex 7319 case 3: 7320 if wireType != 2 { 7321 return fmt.Errorf("proto: wrong wireType = %d for field AmbiguousRevision", wireType) 7322 } 7323 var stringLen uint64 7324 for shift := uint(0); ; shift += 7 { 7325 if shift >= 64 { 7326 return ErrIntOverflowRepository 7327 } 7328 if iNdEx >= l { 7329 return io.ErrUnexpectedEOF 7330 } 7331 b := dAtA[iNdEx] 7332 iNdEx++ 7333 stringLen |= uint64(b&0x7F) << shift 7334 if b < 0x80 { 7335 break 7336 } 7337 } 7338 intStringLen := int(stringLen) 7339 if intStringLen < 0 { 7340 return ErrInvalidLengthRepository 7341 } 7342 postIndex := iNdEx + intStringLen 7343 if postIndex < 0 { 7344 return ErrInvalidLengthRepository 7345 } 7346 if postIndex > l { 7347 return io.ErrUnexpectedEOF 7348 } 7349 m.AmbiguousRevision = string(dAtA[iNdEx:postIndex]) 7350 iNdEx = postIndex 7351 default: 7352 iNdEx = preIndex 7353 skippy, err := skipRepository(dAtA[iNdEx:]) 7354 if err != nil { 7355 return err 7356 } 7357 if (skippy < 0) || (iNdEx+skippy) < 0 { 7358 return ErrInvalidLengthRepository 7359 } 7360 if (iNdEx + skippy) > l { 7361 return io.ErrUnexpectedEOF 7362 } 7363 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7364 iNdEx += skippy 7365 } 7366 } 7367 7368 if iNdEx > l { 7369 return io.ErrUnexpectedEOF 7370 } 7371 return nil 7372 } 7373 func (m *ResolveRevisionResponse) Unmarshal(dAtA []byte) error { 7374 l := len(dAtA) 7375 iNdEx := 0 7376 for iNdEx < l { 7377 preIndex := iNdEx 7378 var wire uint64 7379 for shift := uint(0); ; shift += 7 { 7380 if shift >= 64 { 7381 return ErrIntOverflowRepository 7382 } 7383 if iNdEx >= l { 7384 return io.ErrUnexpectedEOF 7385 } 7386 b := dAtA[iNdEx] 7387 iNdEx++ 7388 wire |= uint64(b&0x7F) << shift 7389 if b < 0x80 { 7390 break 7391 } 7392 } 7393 fieldNum := int32(wire >> 3) 7394 wireType := int(wire & 0x7) 7395 if wireType == 4 { 7396 return fmt.Errorf("proto: ResolveRevisionResponse: wiretype end group for non-group") 7397 } 7398 if fieldNum <= 0 { 7399 return fmt.Errorf("proto: ResolveRevisionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7400 } 7401 switch fieldNum { 7402 case 1: 7403 if wireType != 2 { 7404 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 7405 } 7406 var stringLen uint64 7407 for shift := uint(0); ; shift += 7 { 7408 if shift >= 64 { 7409 return ErrIntOverflowRepository 7410 } 7411 if iNdEx >= l { 7412 return io.ErrUnexpectedEOF 7413 } 7414 b := dAtA[iNdEx] 7415 iNdEx++ 7416 stringLen |= uint64(b&0x7F) << shift 7417 if b < 0x80 { 7418 break 7419 } 7420 } 7421 intStringLen := int(stringLen) 7422 if intStringLen < 0 { 7423 return ErrInvalidLengthRepository 7424 } 7425 postIndex := iNdEx + intStringLen 7426 if postIndex < 0 { 7427 return ErrInvalidLengthRepository 7428 } 7429 if postIndex > l { 7430 return io.ErrUnexpectedEOF 7431 } 7432 m.Revision = string(dAtA[iNdEx:postIndex]) 7433 iNdEx = postIndex 7434 case 2: 7435 if wireType != 2 { 7436 return fmt.Errorf("proto: wrong wireType = %d for field AmbiguousRevision", wireType) 7437 } 7438 var stringLen uint64 7439 for shift := uint(0); ; shift += 7 { 7440 if shift >= 64 { 7441 return ErrIntOverflowRepository 7442 } 7443 if iNdEx >= l { 7444 return io.ErrUnexpectedEOF 7445 } 7446 b := dAtA[iNdEx] 7447 iNdEx++ 7448 stringLen |= uint64(b&0x7F) << shift 7449 if b < 0x80 { 7450 break 7451 } 7452 } 7453 intStringLen := int(stringLen) 7454 if intStringLen < 0 { 7455 return ErrInvalidLengthRepository 7456 } 7457 postIndex := iNdEx + intStringLen 7458 if postIndex < 0 { 7459 return ErrInvalidLengthRepository 7460 } 7461 if postIndex > l { 7462 return io.ErrUnexpectedEOF 7463 } 7464 m.AmbiguousRevision = string(dAtA[iNdEx:postIndex]) 7465 iNdEx = postIndex 7466 default: 7467 iNdEx = preIndex 7468 skippy, err := skipRepository(dAtA[iNdEx:]) 7469 if err != nil { 7470 return err 7471 } 7472 if (skippy < 0) || (iNdEx+skippy) < 0 { 7473 return ErrInvalidLengthRepository 7474 } 7475 if (iNdEx + skippy) > l { 7476 return io.ErrUnexpectedEOF 7477 } 7478 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7479 iNdEx += skippy 7480 } 7481 } 7482 7483 if iNdEx > l { 7484 return io.ErrUnexpectedEOF 7485 } 7486 return nil 7487 } 7488 func (m *ManifestResponse) Unmarshal(dAtA []byte) error { 7489 l := len(dAtA) 7490 iNdEx := 0 7491 for iNdEx < l { 7492 preIndex := iNdEx 7493 var wire uint64 7494 for shift := uint(0); ; shift += 7 { 7495 if shift >= 64 { 7496 return ErrIntOverflowRepository 7497 } 7498 if iNdEx >= l { 7499 return io.ErrUnexpectedEOF 7500 } 7501 b := dAtA[iNdEx] 7502 iNdEx++ 7503 wire |= uint64(b&0x7F) << shift 7504 if b < 0x80 { 7505 break 7506 } 7507 } 7508 fieldNum := int32(wire >> 3) 7509 wireType := int(wire & 0x7) 7510 if wireType == 4 { 7511 return fmt.Errorf("proto: ManifestResponse: wiretype end group for non-group") 7512 } 7513 if fieldNum <= 0 { 7514 return fmt.Errorf("proto: ManifestResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7515 } 7516 switch fieldNum { 7517 case 1: 7518 if wireType != 2 { 7519 return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType) 7520 } 7521 var stringLen uint64 7522 for shift := uint(0); ; shift += 7 { 7523 if shift >= 64 { 7524 return ErrIntOverflowRepository 7525 } 7526 if iNdEx >= l { 7527 return io.ErrUnexpectedEOF 7528 } 7529 b := dAtA[iNdEx] 7530 iNdEx++ 7531 stringLen |= uint64(b&0x7F) << shift 7532 if b < 0x80 { 7533 break 7534 } 7535 } 7536 intStringLen := int(stringLen) 7537 if intStringLen < 0 { 7538 return ErrInvalidLengthRepository 7539 } 7540 postIndex := iNdEx + intStringLen 7541 if postIndex < 0 { 7542 return ErrInvalidLengthRepository 7543 } 7544 if postIndex > l { 7545 return io.ErrUnexpectedEOF 7546 } 7547 m.Manifests = append(m.Manifests, string(dAtA[iNdEx:postIndex])) 7548 iNdEx = postIndex 7549 case 2: 7550 if wireType != 2 { 7551 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 7552 } 7553 var stringLen uint64 7554 for shift := uint(0); ; shift += 7 { 7555 if shift >= 64 { 7556 return ErrIntOverflowRepository 7557 } 7558 if iNdEx >= l { 7559 return io.ErrUnexpectedEOF 7560 } 7561 b := dAtA[iNdEx] 7562 iNdEx++ 7563 stringLen |= uint64(b&0x7F) << shift 7564 if b < 0x80 { 7565 break 7566 } 7567 } 7568 intStringLen := int(stringLen) 7569 if intStringLen < 0 { 7570 return ErrInvalidLengthRepository 7571 } 7572 postIndex := iNdEx + intStringLen 7573 if postIndex < 0 { 7574 return ErrInvalidLengthRepository 7575 } 7576 if postIndex > l { 7577 return io.ErrUnexpectedEOF 7578 } 7579 m.Namespace = string(dAtA[iNdEx:postIndex]) 7580 iNdEx = postIndex 7581 case 3: 7582 if wireType != 2 { 7583 return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) 7584 } 7585 var stringLen uint64 7586 for shift := uint(0); ; shift += 7 { 7587 if shift >= 64 { 7588 return ErrIntOverflowRepository 7589 } 7590 if iNdEx >= l { 7591 return io.ErrUnexpectedEOF 7592 } 7593 b := dAtA[iNdEx] 7594 iNdEx++ 7595 stringLen |= uint64(b&0x7F) << shift 7596 if b < 0x80 { 7597 break 7598 } 7599 } 7600 intStringLen := int(stringLen) 7601 if intStringLen < 0 { 7602 return ErrInvalidLengthRepository 7603 } 7604 postIndex := iNdEx + intStringLen 7605 if postIndex < 0 { 7606 return ErrInvalidLengthRepository 7607 } 7608 if postIndex > l { 7609 return io.ErrUnexpectedEOF 7610 } 7611 m.Server = string(dAtA[iNdEx:postIndex]) 7612 iNdEx = postIndex 7613 case 4: 7614 if wireType != 2 { 7615 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 7616 } 7617 var stringLen uint64 7618 for shift := uint(0); ; shift += 7 { 7619 if shift >= 64 { 7620 return ErrIntOverflowRepository 7621 } 7622 if iNdEx >= l { 7623 return io.ErrUnexpectedEOF 7624 } 7625 b := dAtA[iNdEx] 7626 iNdEx++ 7627 stringLen |= uint64(b&0x7F) << shift 7628 if b < 0x80 { 7629 break 7630 } 7631 } 7632 intStringLen := int(stringLen) 7633 if intStringLen < 0 { 7634 return ErrInvalidLengthRepository 7635 } 7636 postIndex := iNdEx + intStringLen 7637 if postIndex < 0 { 7638 return ErrInvalidLengthRepository 7639 } 7640 if postIndex > l { 7641 return io.ErrUnexpectedEOF 7642 } 7643 m.Revision = string(dAtA[iNdEx:postIndex]) 7644 iNdEx = postIndex 7645 case 6: 7646 if wireType != 2 { 7647 return fmt.Errorf("proto: wrong wireType = %d for field SourceType", wireType) 7648 } 7649 var stringLen uint64 7650 for shift := uint(0); ; shift += 7 { 7651 if shift >= 64 { 7652 return ErrIntOverflowRepository 7653 } 7654 if iNdEx >= l { 7655 return io.ErrUnexpectedEOF 7656 } 7657 b := dAtA[iNdEx] 7658 iNdEx++ 7659 stringLen |= uint64(b&0x7F) << shift 7660 if b < 0x80 { 7661 break 7662 } 7663 } 7664 intStringLen := int(stringLen) 7665 if intStringLen < 0 { 7666 return ErrInvalidLengthRepository 7667 } 7668 postIndex := iNdEx + intStringLen 7669 if postIndex < 0 { 7670 return ErrInvalidLengthRepository 7671 } 7672 if postIndex > l { 7673 return io.ErrUnexpectedEOF 7674 } 7675 m.SourceType = string(dAtA[iNdEx:postIndex]) 7676 iNdEx = postIndex 7677 case 7: 7678 if wireType != 2 { 7679 return fmt.Errorf("proto: wrong wireType = %d for field VerifyResult", wireType) 7680 } 7681 var stringLen uint64 7682 for shift := uint(0); ; shift += 7 { 7683 if shift >= 64 { 7684 return ErrIntOverflowRepository 7685 } 7686 if iNdEx >= l { 7687 return io.ErrUnexpectedEOF 7688 } 7689 b := dAtA[iNdEx] 7690 iNdEx++ 7691 stringLen |= uint64(b&0x7F) << shift 7692 if b < 0x80 { 7693 break 7694 } 7695 } 7696 intStringLen := int(stringLen) 7697 if intStringLen < 0 { 7698 return ErrInvalidLengthRepository 7699 } 7700 postIndex := iNdEx + intStringLen 7701 if postIndex < 0 { 7702 return ErrInvalidLengthRepository 7703 } 7704 if postIndex > l { 7705 return io.ErrUnexpectedEOF 7706 } 7707 m.VerifyResult = string(dAtA[iNdEx:postIndex]) 7708 iNdEx = postIndex 7709 default: 7710 iNdEx = preIndex 7711 skippy, err := skipRepository(dAtA[iNdEx:]) 7712 if err != nil { 7713 return err 7714 } 7715 if (skippy < 0) || (iNdEx+skippy) < 0 { 7716 return ErrInvalidLengthRepository 7717 } 7718 if (iNdEx + skippy) > l { 7719 return io.ErrUnexpectedEOF 7720 } 7721 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7722 iNdEx += skippy 7723 } 7724 } 7725 7726 if iNdEx > l { 7727 return io.ErrUnexpectedEOF 7728 } 7729 return nil 7730 } 7731 func (m *ListRefsRequest) Unmarshal(dAtA []byte) error { 7732 l := len(dAtA) 7733 iNdEx := 0 7734 for iNdEx < l { 7735 preIndex := iNdEx 7736 var wire uint64 7737 for shift := uint(0); ; shift += 7 { 7738 if shift >= 64 { 7739 return ErrIntOverflowRepository 7740 } 7741 if iNdEx >= l { 7742 return io.ErrUnexpectedEOF 7743 } 7744 b := dAtA[iNdEx] 7745 iNdEx++ 7746 wire |= uint64(b&0x7F) << shift 7747 if b < 0x80 { 7748 break 7749 } 7750 } 7751 fieldNum := int32(wire >> 3) 7752 wireType := int(wire & 0x7) 7753 if wireType == 4 { 7754 return fmt.Errorf("proto: ListRefsRequest: wiretype end group for non-group") 7755 } 7756 if fieldNum <= 0 { 7757 return fmt.Errorf("proto: ListRefsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7758 } 7759 switch fieldNum { 7760 case 1: 7761 if wireType != 2 { 7762 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 7763 } 7764 var msglen int 7765 for shift := uint(0); ; shift += 7 { 7766 if shift >= 64 { 7767 return ErrIntOverflowRepository 7768 } 7769 if iNdEx >= l { 7770 return io.ErrUnexpectedEOF 7771 } 7772 b := dAtA[iNdEx] 7773 iNdEx++ 7774 msglen |= int(b&0x7F) << shift 7775 if b < 0x80 { 7776 break 7777 } 7778 } 7779 if msglen < 0 { 7780 return ErrInvalidLengthRepository 7781 } 7782 postIndex := iNdEx + msglen 7783 if postIndex < 0 { 7784 return ErrInvalidLengthRepository 7785 } 7786 if postIndex > l { 7787 return io.ErrUnexpectedEOF 7788 } 7789 if m.Repo == nil { 7790 m.Repo = &v1alpha1.Repository{} 7791 } 7792 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7793 return err 7794 } 7795 iNdEx = postIndex 7796 default: 7797 iNdEx = preIndex 7798 skippy, err := skipRepository(dAtA[iNdEx:]) 7799 if err != nil { 7800 return err 7801 } 7802 if (skippy < 0) || (iNdEx+skippy) < 0 { 7803 return ErrInvalidLengthRepository 7804 } 7805 if (iNdEx + skippy) > l { 7806 return io.ErrUnexpectedEOF 7807 } 7808 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7809 iNdEx += skippy 7810 } 7811 } 7812 7813 if iNdEx > l { 7814 return io.ErrUnexpectedEOF 7815 } 7816 return nil 7817 } 7818 func (m *Refs) Unmarshal(dAtA []byte) error { 7819 l := len(dAtA) 7820 iNdEx := 0 7821 for iNdEx < l { 7822 preIndex := iNdEx 7823 var wire uint64 7824 for shift := uint(0); ; shift += 7 { 7825 if shift >= 64 { 7826 return ErrIntOverflowRepository 7827 } 7828 if iNdEx >= l { 7829 return io.ErrUnexpectedEOF 7830 } 7831 b := dAtA[iNdEx] 7832 iNdEx++ 7833 wire |= uint64(b&0x7F) << shift 7834 if b < 0x80 { 7835 break 7836 } 7837 } 7838 fieldNum := int32(wire >> 3) 7839 wireType := int(wire & 0x7) 7840 if wireType == 4 { 7841 return fmt.Errorf("proto: Refs: wiretype end group for non-group") 7842 } 7843 if fieldNum <= 0 { 7844 return fmt.Errorf("proto: Refs: illegal tag %d (wire type %d)", fieldNum, wire) 7845 } 7846 switch fieldNum { 7847 case 1: 7848 if wireType != 2 { 7849 return fmt.Errorf("proto: wrong wireType = %d for field Branches", wireType) 7850 } 7851 var stringLen uint64 7852 for shift := uint(0); ; shift += 7 { 7853 if shift >= 64 { 7854 return ErrIntOverflowRepository 7855 } 7856 if iNdEx >= l { 7857 return io.ErrUnexpectedEOF 7858 } 7859 b := dAtA[iNdEx] 7860 iNdEx++ 7861 stringLen |= uint64(b&0x7F) << shift 7862 if b < 0x80 { 7863 break 7864 } 7865 } 7866 intStringLen := int(stringLen) 7867 if intStringLen < 0 { 7868 return ErrInvalidLengthRepository 7869 } 7870 postIndex := iNdEx + intStringLen 7871 if postIndex < 0 { 7872 return ErrInvalidLengthRepository 7873 } 7874 if postIndex > l { 7875 return io.ErrUnexpectedEOF 7876 } 7877 m.Branches = append(m.Branches, string(dAtA[iNdEx:postIndex])) 7878 iNdEx = postIndex 7879 case 2: 7880 if wireType != 2 { 7881 return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) 7882 } 7883 var stringLen uint64 7884 for shift := uint(0); ; shift += 7 { 7885 if shift >= 64 { 7886 return ErrIntOverflowRepository 7887 } 7888 if iNdEx >= l { 7889 return io.ErrUnexpectedEOF 7890 } 7891 b := dAtA[iNdEx] 7892 iNdEx++ 7893 stringLen |= uint64(b&0x7F) << shift 7894 if b < 0x80 { 7895 break 7896 } 7897 } 7898 intStringLen := int(stringLen) 7899 if intStringLen < 0 { 7900 return ErrInvalidLengthRepository 7901 } 7902 postIndex := iNdEx + intStringLen 7903 if postIndex < 0 { 7904 return ErrInvalidLengthRepository 7905 } 7906 if postIndex > l { 7907 return io.ErrUnexpectedEOF 7908 } 7909 m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) 7910 iNdEx = postIndex 7911 default: 7912 iNdEx = preIndex 7913 skippy, err := skipRepository(dAtA[iNdEx:]) 7914 if err != nil { 7915 return err 7916 } 7917 if (skippy < 0) || (iNdEx+skippy) < 0 { 7918 return ErrInvalidLengthRepository 7919 } 7920 if (iNdEx + skippy) > l { 7921 return io.ErrUnexpectedEOF 7922 } 7923 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7924 iNdEx += skippy 7925 } 7926 } 7927 7928 if iNdEx > l { 7929 return io.ErrUnexpectedEOF 7930 } 7931 return nil 7932 } 7933 func (m *ListAppsRequest) Unmarshal(dAtA []byte) error { 7934 l := len(dAtA) 7935 iNdEx := 0 7936 for iNdEx < l { 7937 preIndex := iNdEx 7938 var wire uint64 7939 for shift := uint(0); ; shift += 7 { 7940 if shift >= 64 { 7941 return ErrIntOverflowRepository 7942 } 7943 if iNdEx >= l { 7944 return io.ErrUnexpectedEOF 7945 } 7946 b := dAtA[iNdEx] 7947 iNdEx++ 7948 wire |= uint64(b&0x7F) << shift 7949 if b < 0x80 { 7950 break 7951 } 7952 } 7953 fieldNum := int32(wire >> 3) 7954 wireType := int(wire & 0x7) 7955 if wireType == 4 { 7956 return fmt.Errorf("proto: ListAppsRequest: wiretype end group for non-group") 7957 } 7958 if fieldNum <= 0 { 7959 return fmt.Errorf("proto: ListAppsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7960 } 7961 switch fieldNum { 7962 case 1: 7963 if wireType != 2 { 7964 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 7965 } 7966 var msglen int 7967 for shift := uint(0); ; shift += 7 { 7968 if shift >= 64 { 7969 return ErrIntOverflowRepository 7970 } 7971 if iNdEx >= l { 7972 return io.ErrUnexpectedEOF 7973 } 7974 b := dAtA[iNdEx] 7975 iNdEx++ 7976 msglen |= int(b&0x7F) << shift 7977 if b < 0x80 { 7978 break 7979 } 7980 } 7981 if msglen < 0 { 7982 return ErrInvalidLengthRepository 7983 } 7984 postIndex := iNdEx + msglen 7985 if postIndex < 0 { 7986 return ErrInvalidLengthRepository 7987 } 7988 if postIndex > l { 7989 return io.ErrUnexpectedEOF 7990 } 7991 if m.Repo == nil { 7992 m.Repo = &v1alpha1.Repository{} 7993 } 7994 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7995 return err 7996 } 7997 iNdEx = postIndex 7998 case 2: 7999 if wireType != 2 { 8000 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 8001 } 8002 var stringLen uint64 8003 for shift := uint(0); ; shift += 7 { 8004 if shift >= 64 { 8005 return ErrIntOverflowRepository 8006 } 8007 if iNdEx >= l { 8008 return io.ErrUnexpectedEOF 8009 } 8010 b := dAtA[iNdEx] 8011 iNdEx++ 8012 stringLen |= uint64(b&0x7F) << shift 8013 if b < 0x80 { 8014 break 8015 } 8016 } 8017 intStringLen := int(stringLen) 8018 if intStringLen < 0 { 8019 return ErrInvalidLengthRepository 8020 } 8021 postIndex := iNdEx + intStringLen 8022 if postIndex < 0 { 8023 return ErrInvalidLengthRepository 8024 } 8025 if postIndex > l { 8026 return io.ErrUnexpectedEOF 8027 } 8028 m.Revision = string(dAtA[iNdEx:postIndex]) 8029 iNdEx = postIndex 8030 case 3: 8031 if wireType != 2 { 8032 return fmt.Errorf("proto: wrong wireType = %d for field EnabledSourceTypes", wireType) 8033 } 8034 var msglen int 8035 for shift := uint(0); ; shift += 7 { 8036 if shift >= 64 { 8037 return ErrIntOverflowRepository 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 ErrInvalidLengthRepository 8051 } 8052 postIndex := iNdEx + msglen 8053 if postIndex < 0 { 8054 return ErrInvalidLengthRepository 8055 } 8056 if postIndex > l { 8057 return io.ErrUnexpectedEOF 8058 } 8059 if m.EnabledSourceTypes == nil { 8060 m.EnabledSourceTypes = make(map[string]bool) 8061 } 8062 var mapkey string 8063 var mapvalue bool 8064 for iNdEx < postIndex { 8065 entryPreIndex := iNdEx 8066 var wire uint64 8067 for shift := uint(0); ; shift += 7 { 8068 if shift >= 64 { 8069 return ErrIntOverflowRepository 8070 } 8071 if iNdEx >= l { 8072 return io.ErrUnexpectedEOF 8073 } 8074 b := dAtA[iNdEx] 8075 iNdEx++ 8076 wire |= uint64(b&0x7F) << shift 8077 if b < 0x80 { 8078 break 8079 } 8080 } 8081 fieldNum := int32(wire >> 3) 8082 if fieldNum == 1 { 8083 var stringLenmapkey uint64 8084 for shift := uint(0); ; shift += 7 { 8085 if shift >= 64 { 8086 return ErrIntOverflowRepository 8087 } 8088 if iNdEx >= l { 8089 return io.ErrUnexpectedEOF 8090 } 8091 b := dAtA[iNdEx] 8092 iNdEx++ 8093 stringLenmapkey |= uint64(b&0x7F) << shift 8094 if b < 0x80 { 8095 break 8096 } 8097 } 8098 intStringLenmapkey := int(stringLenmapkey) 8099 if intStringLenmapkey < 0 { 8100 return ErrInvalidLengthRepository 8101 } 8102 postStringIndexmapkey := iNdEx + intStringLenmapkey 8103 if postStringIndexmapkey < 0 { 8104 return ErrInvalidLengthRepository 8105 } 8106 if postStringIndexmapkey > l { 8107 return io.ErrUnexpectedEOF 8108 } 8109 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 8110 iNdEx = postStringIndexmapkey 8111 } else if fieldNum == 2 { 8112 var mapvaluetemp int 8113 for shift := uint(0); ; shift += 7 { 8114 if shift >= 64 { 8115 return ErrIntOverflowRepository 8116 } 8117 if iNdEx >= l { 8118 return io.ErrUnexpectedEOF 8119 } 8120 b := dAtA[iNdEx] 8121 iNdEx++ 8122 mapvaluetemp |= int(b&0x7F) << shift 8123 if b < 0x80 { 8124 break 8125 } 8126 } 8127 mapvalue = bool(mapvaluetemp != 0) 8128 } else { 8129 iNdEx = entryPreIndex 8130 skippy, err := skipRepository(dAtA[iNdEx:]) 8131 if err != nil { 8132 return err 8133 } 8134 if (skippy < 0) || (iNdEx+skippy) < 0 { 8135 return ErrInvalidLengthRepository 8136 } 8137 if (iNdEx + skippy) > postIndex { 8138 return io.ErrUnexpectedEOF 8139 } 8140 iNdEx += skippy 8141 } 8142 } 8143 m.EnabledSourceTypes[mapkey] = mapvalue 8144 iNdEx = postIndex 8145 default: 8146 iNdEx = preIndex 8147 skippy, err := skipRepository(dAtA[iNdEx:]) 8148 if err != nil { 8149 return err 8150 } 8151 if (skippy < 0) || (iNdEx+skippy) < 0 { 8152 return ErrInvalidLengthRepository 8153 } 8154 if (iNdEx + skippy) > l { 8155 return io.ErrUnexpectedEOF 8156 } 8157 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8158 iNdEx += skippy 8159 } 8160 } 8161 8162 if iNdEx > l { 8163 return io.ErrUnexpectedEOF 8164 } 8165 return nil 8166 } 8167 func (m *AppList) Unmarshal(dAtA []byte) error { 8168 l := len(dAtA) 8169 iNdEx := 0 8170 for iNdEx < l { 8171 preIndex := iNdEx 8172 var wire uint64 8173 for shift := uint(0); ; shift += 7 { 8174 if shift >= 64 { 8175 return ErrIntOverflowRepository 8176 } 8177 if iNdEx >= l { 8178 return io.ErrUnexpectedEOF 8179 } 8180 b := dAtA[iNdEx] 8181 iNdEx++ 8182 wire |= uint64(b&0x7F) << shift 8183 if b < 0x80 { 8184 break 8185 } 8186 } 8187 fieldNum := int32(wire >> 3) 8188 wireType := int(wire & 0x7) 8189 if wireType == 4 { 8190 return fmt.Errorf("proto: AppList: wiretype end group for non-group") 8191 } 8192 if fieldNum <= 0 { 8193 return fmt.Errorf("proto: AppList: illegal tag %d (wire type %d)", fieldNum, wire) 8194 } 8195 switch fieldNum { 8196 case 1: 8197 if wireType != 2 { 8198 return fmt.Errorf("proto: wrong wireType = %d for field Apps", wireType) 8199 } 8200 var msglen int 8201 for shift := uint(0); ; shift += 7 { 8202 if shift >= 64 { 8203 return ErrIntOverflowRepository 8204 } 8205 if iNdEx >= l { 8206 return io.ErrUnexpectedEOF 8207 } 8208 b := dAtA[iNdEx] 8209 iNdEx++ 8210 msglen |= int(b&0x7F) << shift 8211 if b < 0x80 { 8212 break 8213 } 8214 } 8215 if msglen < 0 { 8216 return ErrInvalidLengthRepository 8217 } 8218 postIndex := iNdEx + msglen 8219 if postIndex < 0 { 8220 return ErrInvalidLengthRepository 8221 } 8222 if postIndex > l { 8223 return io.ErrUnexpectedEOF 8224 } 8225 if m.Apps == nil { 8226 m.Apps = make(map[string]string) 8227 } 8228 var mapkey string 8229 var mapvalue string 8230 for iNdEx < postIndex { 8231 entryPreIndex := iNdEx 8232 var wire uint64 8233 for shift := uint(0); ; shift += 7 { 8234 if shift >= 64 { 8235 return ErrIntOverflowRepository 8236 } 8237 if iNdEx >= l { 8238 return io.ErrUnexpectedEOF 8239 } 8240 b := dAtA[iNdEx] 8241 iNdEx++ 8242 wire |= uint64(b&0x7F) << shift 8243 if b < 0x80 { 8244 break 8245 } 8246 } 8247 fieldNum := int32(wire >> 3) 8248 if fieldNum == 1 { 8249 var stringLenmapkey uint64 8250 for shift := uint(0); ; shift += 7 { 8251 if shift >= 64 { 8252 return ErrIntOverflowRepository 8253 } 8254 if iNdEx >= l { 8255 return io.ErrUnexpectedEOF 8256 } 8257 b := dAtA[iNdEx] 8258 iNdEx++ 8259 stringLenmapkey |= uint64(b&0x7F) << shift 8260 if b < 0x80 { 8261 break 8262 } 8263 } 8264 intStringLenmapkey := int(stringLenmapkey) 8265 if intStringLenmapkey < 0 { 8266 return ErrInvalidLengthRepository 8267 } 8268 postStringIndexmapkey := iNdEx + intStringLenmapkey 8269 if postStringIndexmapkey < 0 { 8270 return ErrInvalidLengthRepository 8271 } 8272 if postStringIndexmapkey > l { 8273 return io.ErrUnexpectedEOF 8274 } 8275 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 8276 iNdEx = postStringIndexmapkey 8277 } else if fieldNum == 2 { 8278 var stringLenmapvalue uint64 8279 for shift := uint(0); ; shift += 7 { 8280 if shift >= 64 { 8281 return ErrIntOverflowRepository 8282 } 8283 if iNdEx >= l { 8284 return io.ErrUnexpectedEOF 8285 } 8286 b := dAtA[iNdEx] 8287 iNdEx++ 8288 stringLenmapvalue |= uint64(b&0x7F) << shift 8289 if b < 0x80 { 8290 break 8291 } 8292 } 8293 intStringLenmapvalue := int(stringLenmapvalue) 8294 if intStringLenmapvalue < 0 { 8295 return ErrInvalidLengthRepository 8296 } 8297 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 8298 if postStringIndexmapvalue < 0 { 8299 return ErrInvalidLengthRepository 8300 } 8301 if postStringIndexmapvalue > l { 8302 return io.ErrUnexpectedEOF 8303 } 8304 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 8305 iNdEx = postStringIndexmapvalue 8306 } else { 8307 iNdEx = entryPreIndex 8308 skippy, err := skipRepository(dAtA[iNdEx:]) 8309 if err != nil { 8310 return err 8311 } 8312 if (skippy < 0) || (iNdEx+skippy) < 0 { 8313 return ErrInvalidLengthRepository 8314 } 8315 if (iNdEx + skippy) > postIndex { 8316 return io.ErrUnexpectedEOF 8317 } 8318 iNdEx += skippy 8319 } 8320 } 8321 m.Apps[mapkey] = mapvalue 8322 iNdEx = postIndex 8323 default: 8324 iNdEx = preIndex 8325 skippy, err := skipRepository(dAtA[iNdEx:]) 8326 if err != nil { 8327 return err 8328 } 8329 if (skippy < 0) || (iNdEx+skippy) < 0 { 8330 return ErrInvalidLengthRepository 8331 } 8332 if (iNdEx + skippy) > l { 8333 return io.ErrUnexpectedEOF 8334 } 8335 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8336 iNdEx += skippy 8337 } 8338 } 8339 8340 if iNdEx > l { 8341 return io.ErrUnexpectedEOF 8342 } 8343 return nil 8344 } 8345 func (m *PluginInfo) Unmarshal(dAtA []byte) error { 8346 l := len(dAtA) 8347 iNdEx := 0 8348 for iNdEx < l { 8349 preIndex := iNdEx 8350 var wire uint64 8351 for shift := uint(0); ; shift += 7 { 8352 if shift >= 64 { 8353 return ErrIntOverflowRepository 8354 } 8355 if iNdEx >= l { 8356 return io.ErrUnexpectedEOF 8357 } 8358 b := dAtA[iNdEx] 8359 iNdEx++ 8360 wire |= uint64(b&0x7F) << shift 8361 if b < 0x80 { 8362 break 8363 } 8364 } 8365 fieldNum := int32(wire >> 3) 8366 wireType := int(wire & 0x7) 8367 if wireType == 4 { 8368 return fmt.Errorf("proto: PluginInfo: wiretype end group for non-group") 8369 } 8370 if fieldNum <= 0 { 8371 return fmt.Errorf("proto: PluginInfo: illegal tag %d (wire type %d)", fieldNum, wire) 8372 } 8373 switch fieldNum { 8374 case 1: 8375 if wireType != 2 { 8376 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8377 } 8378 var stringLen uint64 8379 for shift := uint(0); ; shift += 7 { 8380 if shift >= 64 { 8381 return ErrIntOverflowRepository 8382 } 8383 if iNdEx >= l { 8384 return io.ErrUnexpectedEOF 8385 } 8386 b := dAtA[iNdEx] 8387 iNdEx++ 8388 stringLen |= uint64(b&0x7F) << shift 8389 if b < 0x80 { 8390 break 8391 } 8392 } 8393 intStringLen := int(stringLen) 8394 if intStringLen < 0 { 8395 return ErrInvalidLengthRepository 8396 } 8397 postIndex := iNdEx + intStringLen 8398 if postIndex < 0 { 8399 return ErrInvalidLengthRepository 8400 } 8401 if postIndex > l { 8402 return io.ErrUnexpectedEOF 8403 } 8404 m.Name = string(dAtA[iNdEx:postIndex]) 8405 iNdEx = postIndex 8406 default: 8407 iNdEx = preIndex 8408 skippy, err := skipRepository(dAtA[iNdEx:]) 8409 if err != nil { 8410 return err 8411 } 8412 if (skippy < 0) || (iNdEx+skippy) < 0 { 8413 return ErrInvalidLengthRepository 8414 } 8415 if (iNdEx + skippy) > l { 8416 return io.ErrUnexpectedEOF 8417 } 8418 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8419 iNdEx += skippy 8420 } 8421 } 8422 8423 if iNdEx > l { 8424 return io.ErrUnexpectedEOF 8425 } 8426 return nil 8427 } 8428 func (m *PluginList) Unmarshal(dAtA []byte) error { 8429 l := len(dAtA) 8430 iNdEx := 0 8431 for iNdEx < l { 8432 preIndex := iNdEx 8433 var wire uint64 8434 for shift := uint(0); ; shift += 7 { 8435 if shift >= 64 { 8436 return ErrIntOverflowRepository 8437 } 8438 if iNdEx >= l { 8439 return io.ErrUnexpectedEOF 8440 } 8441 b := dAtA[iNdEx] 8442 iNdEx++ 8443 wire |= uint64(b&0x7F) << shift 8444 if b < 0x80 { 8445 break 8446 } 8447 } 8448 fieldNum := int32(wire >> 3) 8449 wireType := int(wire & 0x7) 8450 if wireType == 4 { 8451 return fmt.Errorf("proto: PluginList: wiretype end group for non-group") 8452 } 8453 if fieldNum <= 0 { 8454 return fmt.Errorf("proto: PluginList: illegal tag %d (wire type %d)", fieldNum, wire) 8455 } 8456 switch fieldNum { 8457 case 1: 8458 if wireType != 2 { 8459 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 8460 } 8461 var msglen int 8462 for shift := uint(0); ; shift += 7 { 8463 if shift >= 64 { 8464 return ErrIntOverflowRepository 8465 } 8466 if iNdEx >= l { 8467 return io.ErrUnexpectedEOF 8468 } 8469 b := dAtA[iNdEx] 8470 iNdEx++ 8471 msglen |= int(b&0x7F) << shift 8472 if b < 0x80 { 8473 break 8474 } 8475 } 8476 if msglen < 0 { 8477 return ErrInvalidLengthRepository 8478 } 8479 postIndex := iNdEx + msglen 8480 if postIndex < 0 { 8481 return ErrInvalidLengthRepository 8482 } 8483 if postIndex > l { 8484 return io.ErrUnexpectedEOF 8485 } 8486 m.Items = append(m.Items, &PluginInfo{}) 8487 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8488 return err 8489 } 8490 iNdEx = postIndex 8491 default: 8492 iNdEx = preIndex 8493 skippy, err := skipRepository(dAtA[iNdEx:]) 8494 if err != nil { 8495 return err 8496 } 8497 if (skippy < 0) || (iNdEx+skippy) < 0 { 8498 return ErrInvalidLengthRepository 8499 } 8500 if (iNdEx + skippy) > l { 8501 return io.ErrUnexpectedEOF 8502 } 8503 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8504 iNdEx += skippy 8505 } 8506 } 8507 8508 if iNdEx > l { 8509 return io.ErrUnexpectedEOF 8510 } 8511 return nil 8512 } 8513 func (m *RepoServerAppDetailsQuery) Unmarshal(dAtA []byte) error { 8514 l := len(dAtA) 8515 iNdEx := 0 8516 for iNdEx < l { 8517 preIndex := iNdEx 8518 var wire uint64 8519 for shift := uint(0); ; shift += 7 { 8520 if shift >= 64 { 8521 return ErrIntOverflowRepository 8522 } 8523 if iNdEx >= l { 8524 return io.ErrUnexpectedEOF 8525 } 8526 b := dAtA[iNdEx] 8527 iNdEx++ 8528 wire |= uint64(b&0x7F) << shift 8529 if b < 0x80 { 8530 break 8531 } 8532 } 8533 fieldNum := int32(wire >> 3) 8534 wireType := int(wire & 0x7) 8535 if wireType == 4 { 8536 return fmt.Errorf("proto: RepoServerAppDetailsQuery: wiretype end group for non-group") 8537 } 8538 if fieldNum <= 0 { 8539 return fmt.Errorf("proto: RepoServerAppDetailsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 8540 } 8541 switch fieldNum { 8542 case 1: 8543 if wireType != 2 { 8544 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 8545 } 8546 var msglen int 8547 for shift := uint(0); ; shift += 7 { 8548 if shift >= 64 { 8549 return ErrIntOverflowRepository 8550 } 8551 if iNdEx >= l { 8552 return io.ErrUnexpectedEOF 8553 } 8554 b := dAtA[iNdEx] 8555 iNdEx++ 8556 msglen |= int(b&0x7F) << shift 8557 if b < 0x80 { 8558 break 8559 } 8560 } 8561 if msglen < 0 { 8562 return ErrInvalidLengthRepository 8563 } 8564 postIndex := iNdEx + msglen 8565 if postIndex < 0 { 8566 return ErrInvalidLengthRepository 8567 } 8568 if postIndex > l { 8569 return io.ErrUnexpectedEOF 8570 } 8571 if m.Repo == nil { 8572 m.Repo = &v1alpha1.Repository{} 8573 } 8574 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8575 return err 8576 } 8577 iNdEx = postIndex 8578 case 2: 8579 if wireType != 2 { 8580 return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) 8581 } 8582 var msglen int 8583 for shift := uint(0); ; shift += 7 { 8584 if shift >= 64 { 8585 return ErrIntOverflowRepository 8586 } 8587 if iNdEx >= l { 8588 return io.ErrUnexpectedEOF 8589 } 8590 b := dAtA[iNdEx] 8591 iNdEx++ 8592 msglen |= int(b&0x7F) << shift 8593 if b < 0x80 { 8594 break 8595 } 8596 } 8597 if msglen < 0 { 8598 return ErrInvalidLengthRepository 8599 } 8600 postIndex := iNdEx + msglen 8601 if postIndex < 0 { 8602 return ErrInvalidLengthRepository 8603 } 8604 if postIndex > l { 8605 return io.ErrUnexpectedEOF 8606 } 8607 if m.Source == nil { 8608 m.Source = &v1alpha1.ApplicationSource{} 8609 } 8610 if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8611 return err 8612 } 8613 iNdEx = postIndex 8614 case 3: 8615 if wireType != 2 { 8616 return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType) 8617 } 8618 var msglen int 8619 for shift := uint(0); ; shift += 7 { 8620 if shift >= 64 { 8621 return ErrIntOverflowRepository 8622 } 8623 if iNdEx >= l { 8624 return io.ErrUnexpectedEOF 8625 } 8626 b := dAtA[iNdEx] 8627 iNdEx++ 8628 msglen |= int(b&0x7F) << shift 8629 if b < 0x80 { 8630 break 8631 } 8632 } 8633 if msglen < 0 { 8634 return ErrInvalidLengthRepository 8635 } 8636 postIndex := iNdEx + msglen 8637 if postIndex < 0 { 8638 return ErrInvalidLengthRepository 8639 } 8640 if postIndex > l { 8641 return io.ErrUnexpectedEOF 8642 } 8643 m.Repos = append(m.Repos, &v1alpha1.Repository{}) 8644 if err := m.Repos[len(m.Repos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8645 return err 8646 } 8647 iNdEx = postIndex 8648 case 4: 8649 if wireType != 2 { 8650 return fmt.Errorf("proto: wrong wireType = %d for field KustomizeOptions", wireType) 8651 } 8652 var msglen int 8653 for shift := uint(0); ; shift += 7 { 8654 if shift >= 64 { 8655 return ErrIntOverflowRepository 8656 } 8657 if iNdEx >= l { 8658 return io.ErrUnexpectedEOF 8659 } 8660 b := dAtA[iNdEx] 8661 iNdEx++ 8662 msglen |= int(b&0x7F) << shift 8663 if b < 0x80 { 8664 break 8665 } 8666 } 8667 if msglen < 0 { 8668 return ErrInvalidLengthRepository 8669 } 8670 postIndex := iNdEx + msglen 8671 if postIndex < 0 { 8672 return ErrInvalidLengthRepository 8673 } 8674 if postIndex > l { 8675 return io.ErrUnexpectedEOF 8676 } 8677 if m.KustomizeOptions == nil { 8678 m.KustomizeOptions = &v1alpha1.KustomizeOptions{} 8679 } 8680 if err := m.KustomizeOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8681 return err 8682 } 8683 iNdEx = postIndex 8684 case 5: 8685 if wireType != 2 { 8686 return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) 8687 } 8688 var stringLen uint64 8689 for shift := uint(0); ; shift += 7 { 8690 if shift >= 64 { 8691 return ErrIntOverflowRepository 8692 } 8693 if iNdEx >= l { 8694 return io.ErrUnexpectedEOF 8695 } 8696 b := dAtA[iNdEx] 8697 iNdEx++ 8698 stringLen |= uint64(b&0x7F) << shift 8699 if b < 0x80 { 8700 break 8701 } 8702 } 8703 intStringLen := int(stringLen) 8704 if intStringLen < 0 { 8705 return ErrInvalidLengthRepository 8706 } 8707 postIndex := iNdEx + intStringLen 8708 if postIndex < 0 { 8709 return ErrInvalidLengthRepository 8710 } 8711 if postIndex > l { 8712 return io.ErrUnexpectedEOF 8713 } 8714 m.AppName = string(dAtA[iNdEx:postIndex]) 8715 iNdEx = postIndex 8716 case 6: 8717 if wireType != 0 { 8718 return fmt.Errorf("proto: wrong wireType = %d for field NoCache", wireType) 8719 } 8720 var v int 8721 for shift := uint(0); ; shift += 7 { 8722 if shift >= 64 { 8723 return ErrIntOverflowRepository 8724 } 8725 if iNdEx >= l { 8726 return io.ErrUnexpectedEOF 8727 } 8728 b := dAtA[iNdEx] 8729 iNdEx++ 8730 v |= int(b&0x7F) << shift 8731 if b < 0x80 { 8732 break 8733 } 8734 } 8735 m.NoCache = bool(v != 0) 8736 case 7: 8737 if wireType != 0 { 8738 return fmt.Errorf("proto: wrong wireType = %d for field NoRevisionCache", wireType) 8739 } 8740 var v int 8741 for shift := uint(0); ; shift += 7 { 8742 if shift >= 64 { 8743 return ErrIntOverflowRepository 8744 } 8745 if iNdEx >= l { 8746 return io.ErrUnexpectedEOF 8747 } 8748 b := dAtA[iNdEx] 8749 iNdEx++ 8750 v |= int(b&0x7F) << shift 8751 if b < 0x80 { 8752 break 8753 } 8754 } 8755 m.NoRevisionCache = bool(v != 0) 8756 case 8: 8757 if wireType != 2 { 8758 return fmt.Errorf("proto: wrong wireType = %d for field TrackingMethod", wireType) 8759 } 8760 var stringLen uint64 8761 for shift := uint(0); ; shift += 7 { 8762 if shift >= 64 { 8763 return ErrIntOverflowRepository 8764 } 8765 if iNdEx >= l { 8766 return io.ErrUnexpectedEOF 8767 } 8768 b := dAtA[iNdEx] 8769 iNdEx++ 8770 stringLen |= uint64(b&0x7F) << shift 8771 if b < 0x80 { 8772 break 8773 } 8774 } 8775 intStringLen := int(stringLen) 8776 if intStringLen < 0 { 8777 return ErrInvalidLengthRepository 8778 } 8779 postIndex := iNdEx + intStringLen 8780 if postIndex < 0 { 8781 return ErrInvalidLengthRepository 8782 } 8783 if postIndex > l { 8784 return io.ErrUnexpectedEOF 8785 } 8786 m.TrackingMethod = string(dAtA[iNdEx:postIndex]) 8787 iNdEx = postIndex 8788 case 9: 8789 if wireType != 2 { 8790 return fmt.Errorf("proto: wrong wireType = %d for field EnabledSourceTypes", wireType) 8791 } 8792 var msglen int 8793 for shift := uint(0); ; shift += 7 { 8794 if shift >= 64 { 8795 return ErrIntOverflowRepository 8796 } 8797 if iNdEx >= l { 8798 return io.ErrUnexpectedEOF 8799 } 8800 b := dAtA[iNdEx] 8801 iNdEx++ 8802 msglen |= int(b&0x7F) << shift 8803 if b < 0x80 { 8804 break 8805 } 8806 } 8807 if msglen < 0 { 8808 return ErrInvalidLengthRepository 8809 } 8810 postIndex := iNdEx + msglen 8811 if postIndex < 0 { 8812 return ErrInvalidLengthRepository 8813 } 8814 if postIndex > l { 8815 return io.ErrUnexpectedEOF 8816 } 8817 if m.EnabledSourceTypes == nil { 8818 m.EnabledSourceTypes = make(map[string]bool) 8819 } 8820 var mapkey string 8821 var mapvalue bool 8822 for iNdEx < postIndex { 8823 entryPreIndex := iNdEx 8824 var wire uint64 8825 for shift := uint(0); ; shift += 7 { 8826 if shift >= 64 { 8827 return ErrIntOverflowRepository 8828 } 8829 if iNdEx >= l { 8830 return io.ErrUnexpectedEOF 8831 } 8832 b := dAtA[iNdEx] 8833 iNdEx++ 8834 wire |= uint64(b&0x7F) << shift 8835 if b < 0x80 { 8836 break 8837 } 8838 } 8839 fieldNum := int32(wire >> 3) 8840 if fieldNum == 1 { 8841 var stringLenmapkey uint64 8842 for shift := uint(0); ; shift += 7 { 8843 if shift >= 64 { 8844 return ErrIntOverflowRepository 8845 } 8846 if iNdEx >= l { 8847 return io.ErrUnexpectedEOF 8848 } 8849 b := dAtA[iNdEx] 8850 iNdEx++ 8851 stringLenmapkey |= uint64(b&0x7F) << shift 8852 if b < 0x80 { 8853 break 8854 } 8855 } 8856 intStringLenmapkey := int(stringLenmapkey) 8857 if intStringLenmapkey < 0 { 8858 return ErrInvalidLengthRepository 8859 } 8860 postStringIndexmapkey := iNdEx + intStringLenmapkey 8861 if postStringIndexmapkey < 0 { 8862 return ErrInvalidLengthRepository 8863 } 8864 if postStringIndexmapkey > l { 8865 return io.ErrUnexpectedEOF 8866 } 8867 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 8868 iNdEx = postStringIndexmapkey 8869 } else if fieldNum == 2 { 8870 var mapvaluetemp int 8871 for shift := uint(0); ; shift += 7 { 8872 if shift >= 64 { 8873 return ErrIntOverflowRepository 8874 } 8875 if iNdEx >= l { 8876 return io.ErrUnexpectedEOF 8877 } 8878 b := dAtA[iNdEx] 8879 iNdEx++ 8880 mapvaluetemp |= int(b&0x7F) << shift 8881 if b < 0x80 { 8882 break 8883 } 8884 } 8885 mapvalue = bool(mapvaluetemp != 0) 8886 } else { 8887 iNdEx = entryPreIndex 8888 skippy, err := skipRepository(dAtA[iNdEx:]) 8889 if err != nil { 8890 return err 8891 } 8892 if (skippy < 0) || (iNdEx+skippy) < 0 { 8893 return ErrInvalidLengthRepository 8894 } 8895 if (iNdEx + skippy) > postIndex { 8896 return io.ErrUnexpectedEOF 8897 } 8898 iNdEx += skippy 8899 } 8900 } 8901 m.EnabledSourceTypes[mapkey] = mapvalue 8902 iNdEx = postIndex 8903 case 10: 8904 if wireType != 2 { 8905 return fmt.Errorf("proto: wrong wireType = %d for field HelmOptions", wireType) 8906 } 8907 var msglen int 8908 for shift := uint(0); ; shift += 7 { 8909 if shift >= 64 { 8910 return ErrIntOverflowRepository 8911 } 8912 if iNdEx >= l { 8913 return io.ErrUnexpectedEOF 8914 } 8915 b := dAtA[iNdEx] 8916 iNdEx++ 8917 msglen |= int(b&0x7F) << shift 8918 if b < 0x80 { 8919 break 8920 } 8921 } 8922 if msglen < 0 { 8923 return ErrInvalidLengthRepository 8924 } 8925 postIndex := iNdEx + msglen 8926 if postIndex < 0 { 8927 return ErrInvalidLengthRepository 8928 } 8929 if postIndex > l { 8930 return io.ErrUnexpectedEOF 8931 } 8932 if m.HelmOptions == nil { 8933 m.HelmOptions = &v1alpha1.HelmOptions{} 8934 } 8935 if err := m.HelmOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8936 return err 8937 } 8938 iNdEx = postIndex 8939 case 11: 8940 if wireType != 2 { 8941 return fmt.Errorf("proto: wrong wireType = %d for field RefSources", wireType) 8942 } 8943 var msglen int 8944 for shift := uint(0); ; shift += 7 { 8945 if shift >= 64 { 8946 return ErrIntOverflowRepository 8947 } 8948 if iNdEx >= l { 8949 return io.ErrUnexpectedEOF 8950 } 8951 b := dAtA[iNdEx] 8952 iNdEx++ 8953 msglen |= int(b&0x7F) << shift 8954 if b < 0x80 { 8955 break 8956 } 8957 } 8958 if msglen < 0 { 8959 return ErrInvalidLengthRepository 8960 } 8961 postIndex := iNdEx + msglen 8962 if postIndex < 0 { 8963 return ErrInvalidLengthRepository 8964 } 8965 if postIndex > l { 8966 return io.ErrUnexpectedEOF 8967 } 8968 if m.RefSources == nil { 8969 m.RefSources = make(map[string]*v1alpha1.RefTarget) 8970 } 8971 var mapkey string 8972 var mapvalue *v1alpha1.RefTarget 8973 for iNdEx < postIndex { 8974 entryPreIndex := iNdEx 8975 var wire uint64 8976 for shift := uint(0); ; shift += 7 { 8977 if shift >= 64 { 8978 return ErrIntOverflowRepository 8979 } 8980 if iNdEx >= l { 8981 return io.ErrUnexpectedEOF 8982 } 8983 b := dAtA[iNdEx] 8984 iNdEx++ 8985 wire |= uint64(b&0x7F) << shift 8986 if b < 0x80 { 8987 break 8988 } 8989 } 8990 fieldNum := int32(wire >> 3) 8991 if fieldNum == 1 { 8992 var stringLenmapkey uint64 8993 for shift := uint(0); ; shift += 7 { 8994 if shift >= 64 { 8995 return ErrIntOverflowRepository 8996 } 8997 if iNdEx >= l { 8998 return io.ErrUnexpectedEOF 8999 } 9000 b := dAtA[iNdEx] 9001 iNdEx++ 9002 stringLenmapkey |= uint64(b&0x7F) << shift 9003 if b < 0x80 { 9004 break 9005 } 9006 } 9007 intStringLenmapkey := int(stringLenmapkey) 9008 if intStringLenmapkey < 0 { 9009 return ErrInvalidLengthRepository 9010 } 9011 postStringIndexmapkey := iNdEx + intStringLenmapkey 9012 if postStringIndexmapkey < 0 { 9013 return ErrInvalidLengthRepository 9014 } 9015 if postStringIndexmapkey > l { 9016 return io.ErrUnexpectedEOF 9017 } 9018 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 9019 iNdEx = postStringIndexmapkey 9020 } else if fieldNum == 2 { 9021 var mapmsglen int 9022 for shift := uint(0); ; shift += 7 { 9023 if shift >= 64 { 9024 return ErrIntOverflowRepository 9025 } 9026 if iNdEx >= l { 9027 return io.ErrUnexpectedEOF 9028 } 9029 b := dAtA[iNdEx] 9030 iNdEx++ 9031 mapmsglen |= int(b&0x7F) << shift 9032 if b < 0x80 { 9033 break 9034 } 9035 } 9036 if mapmsglen < 0 { 9037 return ErrInvalidLengthRepository 9038 } 9039 postmsgIndex := iNdEx + mapmsglen 9040 if postmsgIndex < 0 { 9041 return ErrInvalidLengthRepository 9042 } 9043 if postmsgIndex > l { 9044 return io.ErrUnexpectedEOF 9045 } 9046 mapvalue = &v1alpha1.RefTarget{} 9047 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 9048 return err 9049 } 9050 iNdEx = postmsgIndex 9051 } else { 9052 iNdEx = entryPreIndex 9053 skippy, err := skipRepository(dAtA[iNdEx:]) 9054 if err != nil { 9055 return err 9056 } 9057 if (skippy < 0) || (iNdEx+skippy) < 0 { 9058 return ErrInvalidLengthRepository 9059 } 9060 if (iNdEx + skippy) > postIndex { 9061 return io.ErrUnexpectedEOF 9062 } 9063 iNdEx += skippy 9064 } 9065 } 9066 m.RefSources[mapkey] = mapvalue 9067 iNdEx = postIndex 9068 default: 9069 iNdEx = preIndex 9070 skippy, err := skipRepository(dAtA[iNdEx:]) 9071 if err != nil { 9072 return err 9073 } 9074 if (skippy < 0) || (iNdEx+skippy) < 0 { 9075 return ErrInvalidLengthRepository 9076 } 9077 if (iNdEx + skippy) > l { 9078 return io.ErrUnexpectedEOF 9079 } 9080 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9081 iNdEx += skippy 9082 } 9083 } 9084 9085 if iNdEx > l { 9086 return io.ErrUnexpectedEOF 9087 } 9088 return nil 9089 } 9090 func (m *RepoAppDetailsResponse) Unmarshal(dAtA []byte) error { 9091 l := len(dAtA) 9092 iNdEx := 0 9093 for iNdEx < l { 9094 preIndex := iNdEx 9095 var wire uint64 9096 for shift := uint(0); ; shift += 7 { 9097 if shift >= 64 { 9098 return ErrIntOverflowRepository 9099 } 9100 if iNdEx >= l { 9101 return io.ErrUnexpectedEOF 9102 } 9103 b := dAtA[iNdEx] 9104 iNdEx++ 9105 wire |= uint64(b&0x7F) << shift 9106 if b < 0x80 { 9107 break 9108 } 9109 } 9110 fieldNum := int32(wire >> 3) 9111 wireType := int(wire & 0x7) 9112 if wireType == 4 { 9113 return fmt.Errorf("proto: RepoAppDetailsResponse: wiretype end group for non-group") 9114 } 9115 if fieldNum <= 0 { 9116 return fmt.Errorf("proto: RepoAppDetailsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 9117 } 9118 switch fieldNum { 9119 case 1: 9120 if wireType != 2 { 9121 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 9122 } 9123 var stringLen uint64 9124 for shift := uint(0); ; shift += 7 { 9125 if shift >= 64 { 9126 return ErrIntOverflowRepository 9127 } 9128 if iNdEx >= l { 9129 return io.ErrUnexpectedEOF 9130 } 9131 b := dAtA[iNdEx] 9132 iNdEx++ 9133 stringLen |= uint64(b&0x7F) << shift 9134 if b < 0x80 { 9135 break 9136 } 9137 } 9138 intStringLen := int(stringLen) 9139 if intStringLen < 0 { 9140 return ErrInvalidLengthRepository 9141 } 9142 postIndex := iNdEx + intStringLen 9143 if postIndex < 0 { 9144 return ErrInvalidLengthRepository 9145 } 9146 if postIndex > l { 9147 return io.ErrUnexpectedEOF 9148 } 9149 m.Type = string(dAtA[iNdEx:postIndex]) 9150 iNdEx = postIndex 9151 case 3: 9152 if wireType != 2 { 9153 return fmt.Errorf("proto: wrong wireType = %d for field Helm", wireType) 9154 } 9155 var msglen int 9156 for shift := uint(0); ; shift += 7 { 9157 if shift >= 64 { 9158 return ErrIntOverflowRepository 9159 } 9160 if iNdEx >= l { 9161 return io.ErrUnexpectedEOF 9162 } 9163 b := dAtA[iNdEx] 9164 iNdEx++ 9165 msglen |= int(b&0x7F) << shift 9166 if b < 0x80 { 9167 break 9168 } 9169 } 9170 if msglen < 0 { 9171 return ErrInvalidLengthRepository 9172 } 9173 postIndex := iNdEx + msglen 9174 if postIndex < 0 { 9175 return ErrInvalidLengthRepository 9176 } 9177 if postIndex > l { 9178 return io.ErrUnexpectedEOF 9179 } 9180 if m.Helm == nil { 9181 m.Helm = &HelmAppSpec{} 9182 } 9183 if err := m.Helm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9184 return err 9185 } 9186 iNdEx = postIndex 9187 case 4: 9188 if wireType != 2 { 9189 return fmt.Errorf("proto: wrong wireType = %d for field Kustomize", wireType) 9190 } 9191 var msglen int 9192 for shift := uint(0); ; shift += 7 { 9193 if shift >= 64 { 9194 return ErrIntOverflowRepository 9195 } 9196 if iNdEx >= l { 9197 return io.ErrUnexpectedEOF 9198 } 9199 b := dAtA[iNdEx] 9200 iNdEx++ 9201 msglen |= int(b&0x7F) << shift 9202 if b < 0x80 { 9203 break 9204 } 9205 } 9206 if msglen < 0 { 9207 return ErrInvalidLengthRepository 9208 } 9209 postIndex := iNdEx + msglen 9210 if postIndex < 0 { 9211 return ErrInvalidLengthRepository 9212 } 9213 if postIndex > l { 9214 return io.ErrUnexpectedEOF 9215 } 9216 if m.Kustomize == nil { 9217 m.Kustomize = &KustomizeAppSpec{} 9218 } 9219 if err := m.Kustomize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9220 return err 9221 } 9222 iNdEx = postIndex 9223 case 5: 9224 if wireType != 2 { 9225 return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType) 9226 } 9227 var msglen int 9228 for shift := uint(0); ; shift += 7 { 9229 if shift >= 64 { 9230 return ErrIntOverflowRepository 9231 } 9232 if iNdEx >= l { 9233 return io.ErrUnexpectedEOF 9234 } 9235 b := dAtA[iNdEx] 9236 iNdEx++ 9237 msglen |= int(b&0x7F) << shift 9238 if b < 0x80 { 9239 break 9240 } 9241 } 9242 if msglen < 0 { 9243 return ErrInvalidLengthRepository 9244 } 9245 postIndex := iNdEx + msglen 9246 if postIndex < 0 { 9247 return ErrInvalidLengthRepository 9248 } 9249 if postIndex > l { 9250 return io.ErrUnexpectedEOF 9251 } 9252 if m.Directory == nil { 9253 m.Directory = &DirectoryAppSpec{} 9254 } 9255 if err := m.Directory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9256 return err 9257 } 9258 iNdEx = postIndex 9259 case 6: 9260 if wireType != 2 { 9261 return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType) 9262 } 9263 var msglen int 9264 for shift := uint(0); ; shift += 7 { 9265 if shift >= 64 { 9266 return ErrIntOverflowRepository 9267 } 9268 if iNdEx >= l { 9269 return io.ErrUnexpectedEOF 9270 } 9271 b := dAtA[iNdEx] 9272 iNdEx++ 9273 msglen |= int(b&0x7F) << shift 9274 if b < 0x80 { 9275 break 9276 } 9277 } 9278 if msglen < 0 { 9279 return ErrInvalidLengthRepository 9280 } 9281 postIndex := iNdEx + msglen 9282 if postIndex < 0 { 9283 return ErrInvalidLengthRepository 9284 } 9285 if postIndex > l { 9286 return io.ErrUnexpectedEOF 9287 } 9288 if m.Plugin == nil { 9289 m.Plugin = &PluginAppSpec{} 9290 } 9291 if err := m.Plugin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9292 return err 9293 } 9294 iNdEx = postIndex 9295 default: 9296 iNdEx = preIndex 9297 skippy, err := skipRepository(dAtA[iNdEx:]) 9298 if err != nil { 9299 return err 9300 } 9301 if (skippy < 0) || (iNdEx+skippy) < 0 { 9302 return ErrInvalidLengthRepository 9303 } 9304 if (iNdEx + skippy) > l { 9305 return io.ErrUnexpectedEOF 9306 } 9307 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9308 iNdEx += skippy 9309 } 9310 } 9311 9312 if iNdEx > l { 9313 return io.ErrUnexpectedEOF 9314 } 9315 return nil 9316 } 9317 func (m *RepoServerRevisionMetadataRequest) Unmarshal(dAtA []byte) error { 9318 l := len(dAtA) 9319 iNdEx := 0 9320 for iNdEx < l { 9321 preIndex := iNdEx 9322 var wire uint64 9323 for shift := uint(0); ; shift += 7 { 9324 if shift >= 64 { 9325 return ErrIntOverflowRepository 9326 } 9327 if iNdEx >= l { 9328 return io.ErrUnexpectedEOF 9329 } 9330 b := dAtA[iNdEx] 9331 iNdEx++ 9332 wire |= uint64(b&0x7F) << shift 9333 if b < 0x80 { 9334 break 9335 } 9336 } 9337 fieldNum := int32(wire >> 3) 9338 wireType := int(wire & 0x7) 9339 if wireType == 4 { 9340 return fmt.Errorf("proto: RepoServerRevisionMetadataRequest: wiretype end group for non-group") 9341 } 9342 if fieldNum <= 0 { 9343 return fmt.Errorf("proto: RepoServerRevisionMetadataRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9344 } 9345 switch fieldNum { 9346 case 1: 9347 if wireType != 2 { 9348 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 9349 } 9350 var msglen int 9351 for shift := uint(0); ; shift += 7 { 9352 if shift >= 64 { 9353 return ErrIntOverflowRepository 9354 } 9355 if iNdEx >= l { 9356 return io.ErrUnexpectedEOF 9357 } 9358 b := dAtA[iNdEx] 9359 iNdEx++ 9360 msglen |= int(b&0x7F) << shift 9361 if b < 0x80 { 9362 break 9363 } 9364 } 9365 if msglen < 0 { 9366 return ErrInvalidLengthRepository 9367 } 9368 postIndex := iNdEx + msglen 9369 if postIndex < 0 { 9370 return ErrInvalidLengthRepository 9371 } 9372 if postIndex > l { 9373 return io.ErrUnexpectedEOF 9374 } 9375 if m.Repo == nil { 9376 m.Repo = &v1alpha1.Repository{} 9377 } 9378 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9379 return err 9380 } 9381 iNdEx = postIndex 9382 case 2: 9383 if wireType != 2 { 9384 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 9385 } 9386 var stringLen uint64 9387 for shift := uint(0); ; shift += 7 { 9388 if shift >= 64 { 9389 return ErrIntOverflowRepository 9390 } 9391 if iNdEx >= l { 9392 return io.ErrUnexpectedEOF 9393 } 9394 b := dAtA[iNdEx] 9395 iNdEx++ 9396 stringLen |= uint64(b&0x7F) << shift 9397 if b < 0x80 { 9398 break 9399 } 9400 } 9401 intStringLen := int(stringLen) 9402 if intStringLen < 0 { 9403 return ErrInvalidLengthRepository 9404 } 9405 postIndex := iNdEx + intStringLen 9406 if postIndex < 0 { 9407 return ErrInvalidLengthRepository 9408 } 9409 if postIndex > l { 9410 return io.ErrUnexpectedEOF 9411 } 9412 m.Revision = string(dAtA[iNdEx:postIndex]) 9413 iNdEx = postIndex 9414 case 3: 9415 if wireType != 0 { 9416 return fmt.Errorf("proto: wrong wireType = %d for field CheckSignature", wireType) 9417 } 9418 var v int 9419 for shift := uint(0); ; shift += 7 { 9420 if shift >= 64 { 9421 return ErrIntOverflowRepository 9422 } 9423 if iNdEx >= l { 9424 return io.ErrUnexpectedEOF 9425 } 9426 b := dAtA[iNdEx] 9427 iNdEx++ 9428 v |= int(b&0x7F) << shift 9429 if b < 0x80 { 9430 break 9431 } 9432 } 9433 m.CheckSignature = bool(v != 0) 9434 default: 9435 iNdEx = preIndex 9436 skippy, err := skipRepository(dAtA[iNdEx:]) 9437 if err != nil { 9438 return err 9439 } 9440 if (skippy < 0) || (iNdEx+skippy) < 0 { 9441 return ErrInvalidLengthRepository 9442 } 9443 if (iNdEx + skippy) > l { 9444 return io.ErrUnexpectedEOF 9445 } 9446 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9447 iNdEx += skippy 9448 } 9449 } 9450 9451 if iNdEx > l { 9452 return io.ErrUnexpectedEOF 9453 } 9454 return nil 9455 } 9456 func (m *RepoServerRevisionChartDetailsRequest) Unmarshal(dAtA []byte) error { 9457 l := len(dAtA) 9458 iNdEx := 0 9459 for iNdEx < l { 9460 preIndex := iNdEx 9461 var wire uint64 9462 for shift := uint(0); ; shift += 7 { 9463 if shift >= 64 { 9464 return ErrIntOverflowRepository 9465 } 9466 if iNdEx >= l { 9467 return io.ErrUnexpectedEOF 9468 } 9469 b := dAtA[iNdEx] 9470 iNdEx++ 9471 wire |= uint64(b&0x7F) << shift 9472 if b < 0x80 { 9473 break 9474 } 9475 } 9476 fieldNum := int32(wire >> 3) 9477 wireType := int(wire & 0x7) 9478 if wireType == 4 { 9479 return fmt.Errorf("proto: RepoServerRevisionChartDetailsRequest: wiretype end group for non-group") 9480 } 9481 if fieldNum <= 0 { 9482 return fmt.Errorf("proto: RepoServerRevisionChartDetailsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9483 } 9484 switch fieldNum { 9485 case 1: 9486 if wireType != 2 { 9487 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 9488 } 9489 var msglen int 9490 for shift := uint(0); ; shift += 7 { 9491 if shift >= 64 { 9492 return ErrIntOverflowRepository 9493 } 9494 if iNdEx >= l { 9495 return io.ErrUnexpectedEOF 9496 } 9497 b := dAtA[iNdEx] 9498 iNdEx++ 9499 msglen |= int(b&0x7F) << shift 9500 if b < 0x80 { 9501 break 9502 } 9503 } 9504 if msglen < 0 { 9505 return ErrInvalidLengthRepository 9506 } 9507 postIndex := iNdEx + msglen 9508 if postIndex < 0 { 9509 return ErrInvalidLengthRepository 9510 } 9511 if postIndex > l { 9512 return io.ErrUnexpectedEOF 9513 } 9514 if m.Repo == nil { 9515 m.Repo = &v1alpha1.Repository{} 9516 } 9517 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9518 return err 9519 } 9520 iNdEx = postIndex 9521 case 2: 9522 if wireType != 2 { 9523 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9524 } 9525 var stringLen uint64 9526 for shift := uint(0); ; shift += 7 { 9527 if shift >= 64 { 9528 return ErrIntOverflowRepository 9529 } 9530 if iNdEx >= l { 9531 return io.ErrUnexpectedEOF 9532 } 9533 b := dAtA[iNdEx] 9534 iNdEx++ 9535 stringLen |= uint64(b&0x7F) << shift 9536 if b < 0x80 { 9537 break 9538 } 9539 } 9540 intStringLen := int(stringLen) 9541 if intStringLen < 0 { 9542 return ErrInvalidLengthRepository 9543 } 9544 postIndex := iNdEx + intStringLen 9545 if postIndex < 0 { 9546 return ErrInvalidLengthRepository 9547 } 9548 if postIndex > l { 9549 return io.ErrUnexpectedEOF 9550 } 9551 m.Name = string(dAtA[iNdEx:postIndex]) 9552 iNdEx = postIndex 9553 case 3: 9554 if wireType != 2 { 9555 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 9556 } 9557 var stringLen uint64 9558 for shift := uint(0); ; shift += 7 { 9559 if shift >= 64 { 9560 return ErrIntOverflowRepository 9561 } 9562 if iNdEx >= l { 9563 return io.ErrUnexpectedEOF 9564 } 9565 b := dAtA[iNdEx] 9566 iNdEx++ 9567 stringLen |= uint64(b&0x7F) << shift 9568 if b < 0x80 { 9569 break 9570 } 9571 } 9572 intStringLen := int(stringLen) 9573 if intStringLen < 0 { 9574 return ErrInvalidLengthRepository 9575 } 9576 postIndex := iNdEx + intStringLen 9577 if postIndex < 0 { 9578 return ErrInvalidLengthRepository 9579 } 9580 if postIndex > l { 9581 return io.ErrUnexpectedEOF 9582 } 9583 m.Revision = string(dAtA[iNdEx:postIndex]) 9584 iNdEx = postIndex 9585 default: 9586 iNdEx = preIndex 9587 skippy, err := skipRepository(dAtA[iNdEx:]) 9588 if err != nil { 9589 return err 9590 } 9591 if (skippy < 0) || (iNdEx+skippy) < 0 { 9592 return ErrInvalidLengthRepository 9593 } 9594 if (iNdEx + skippy) > l { 9595 return io.ErrUnexpectedEOF 9596 } 9597 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9598 iNdEx += skippy 9599 } 9600 } 9601 9602 if iNdEx > l { 9603 return io.ErrUnexpectedEOF 9604 } 9605 return nil 9606 } 9607 func (m *HelmAppSpec) Unmarshal(dAtA []byte) error { 9608 l := len(dAtA) 9609 iNdEx := 0 9610 for iNdEx < l { 9611 preIndex := iNdEx 9612 var wire uint64 9613 for shift := uint(0); ; shift += 7 { 9614 if shift >= 64 { 9615 return ErrIntOverflowRepository 9616 } 9617 if iNdEx >= l { 9618 return io.ErrUnexpectedEOF 9619 } 9620 b := dAtA[iNdEx] 9621 iNdEx++ 9622 wire |= uint64(b&0x7F) << shift 9623 if b < 0x80 { 9624 break 9625 } 9626 } 9627 fieldNum := int32(wire >> 3) 9628 wireType := int(wire & 0x7) 9629 if wireType == 4 { 9630 return fmt.Errorf("proto: HelmAppSpec: wiretype end group for non-group") 9631 } 9632 if fieldNum <= 0 { 9633 return fmt.Errorf("proto: HelmAppSpec: illegal tag %d (wire type %d)", fieldNum, wire) 9634 } 9635 switch fieldNum { 9636 case 1: 9637 if wireType != 2 { 9638 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9639 } 9640 var stringLen uint64 9641 for shift := uint(0); ; shift += 7 { 9642 if shift >= 64 { 9643 return ErrIntOverflowRepository 9644 } 9645 if iNdEx >= l { 9646 return io.ErrUnexpectedEOF 9647 } 9648 b := dAtA[iNdEx] 9649 iNdEx++ 9650 stringLen |= uint64(b&0x7F) << shift 9651 if b < 0x80 { 9652 break 9653 } 9654 } 9655 intStringLen := int(stringLen) 9656 if intStringLen < 0 { 9657 return ErrInvalidLengthRepository 9658 } 9659 postIndex := iNdEx + intStringLen 9660 if postIndex < 0 { 9661 return ErrInvalidLengthRepository 9662 } 9663 if postIndex > l { 9664 return io.ErrUnexpectedEOF 9665 } 9666 m.Name = string(dAtA[iNdEx:postIndex]) 9667 iNdEx = postIndex 9668 case 3: 9669 if wireType != 2 { 9670 return fmt.Errorf("proto: wrong wireType = %d for field ValueFiles", wireType) 9671 } 9672 var stringLen uint64 9673 for shift := uint(0); ; shift += 7 { 9674 if shift >= 64 { 9675 return ErrIntOverflowRepository 9676 } 9677 if iNdEx >= l { 9678 return io.ErrUnexpectedEOF 9679 } 9680 b := dAtA[iNdEx] 9681 iNdEx++ 9682 stringLen |= uint64(b&0x7F) << shift 9683 if b < 0x80 { 9684 break 9685 } 9686 } 9687 intStringLen := int(stringLen) 9688 if intStringLen < 0 { 9689 return ErrInvalidLengthRepository 9690 } 9691 postIndex := iNdEx + intStringLen 9692 if postIndex < 0 { 9693 return ErrInvalidLengthRepository 9694 } 9695 if postIndex > l { 9696 return io.ErrUnexpectedEOF 9697 } 9698 m.ValueFiles = append(m.ValueFiles, string(dAtA[iNdEx:postIndex])) 9699 iNdEx = postIndex 9700 case 4: 9701 if wireType != 2 { 9702 return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType) 9703 } 9704 var msglen int 9705 for shift := uint(0); ; shift += 7 { 9706 if shift >= 64 { 9707 return ErrIntOverflowRepository 9708 } 9709 if iNdEx >= l { 9710 return io.ErrUnexpectedEOF 9711 } 9712 b := dAtA[iNdEx] 9713 iNdEx++ 9714 msglen |= int(b&0x7F) << shift 9715 if b < 0x80 { 9716 break 9717 } 9718 } 9719 if msglen < 0 { 9720 return ErrInvalidLengthRepository 9721 } 9722 postIndex := iNdEx + msglen 9723 if postIndex < 0 { 9724 return ErrInvalidLengthRepository 9725 } 9726 if postIndex > l { 9727 return io.ErrUnexpectedEOF 9728 } 9729 m.Parameters = append(m.Parameters, &v1alpha1.HelmParameter{}) 9730 if err := m.Parameters[len(m.Parameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9731 return err 9732 } 9733 iNdEx = postIndex 9734 case 5: 9735 if wireType != 2 { 9736 return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) 9737 } 9738 var stringLen uint64 9739 for shift := uint(0); ; shift += 7 { 9740 if shift >= 64 { 9741 return ErrIntOverflowRepository 9742 } 9743 if iNdEx >= l { 9744 return io.ErrUnexpectedEOF 9745 } 9746 b := dAtA[iNdEx] 9747 iNdEx++ 9748 stringLen |= uint64(b&0x7F) << shift 9749 if b < 0x80 { 9750 break 9751 } 9752 } 9753 intStringLen := int(stringLen) 9754 if intStringLen < 0 { 9755 return ErrInvalidLengthRepository 9756 } 9757 postIndex := iNdEx + intStringLen 9758 if postIndex < 0 { 9759 return ErrInvalidLengthRepository 9760 } 9761 if postIndex > l { 9762 return io.ErrUnexpectedEOF 9763 } 9764 m.Values = string(dAtA[iNdEx:postIndex]) 9765 iNdEx = postIndex 9766 case 6: 9767 if wireType != 2 { 9768 return fmt.Errorf("proto: wrong wireType = %d for field FileParameters", wireType) 9769 } 9770 var msglen int 9771 for shift := uint(0); ; shift += 7 { 9772 if shift >= 64 { 9773 return ErrIntOverflowRepository 9774 } 9775 if iNdEx >= l { 9776 return io.ErrUnexpectedEOF 9777 } 9778 b := dAtA[iNdEx] 9779 iNdEx++ 9780 msglen |= int(b&0x7F) << shift 9781 if b < 0x80 { 9782 break 9783 } 9784 } 9785 if msglen < 0 { 9786 return ErrInvalidLengthRepository 9787 } 9788 postIndex := iNdEx + msglen 9789 if postIndex < 0 { 9790 return ErrInvalidLengthRepository 9791 } 9792 if postIndex > l { 9793 return io.ErrUnexpectedEOF 9794 } 9795 m.FileParameters = append(m.FileParameters, &v1alpha1.HelmFileParameter{}) 9796 if err := m.FileParameters[len(m.FileParameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9797 return err 9798 } 9799 iNdEx = postIndex 9800 default: 9801 iNdEx = preIndex 9802 skippy, err := skipRepository(dAtA[iNdEx:]) 9803 if err != nil { 9804 return err 9805 } 9806 if (skippy < 0) || (iNdEx+skippy) < 0 { 9807 return ErrInvalidLengthRepository 9808 } 9809 if (iNdEx + skippy) > l { 9810 return io.ErrUnexpectedEOF 9811 } 9812 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9813 iNdEx += skippy 9814 } 9815 } 9816 9817 if iNdEx > l { 9818 return io.ErrUnexpectedEOF 9819 } 9820 return nil 9821 } 9822 func (m *KustomizeAppSpec) Unmarshal(dAtA []byte) error { 9823 l := len(dAtA) 9824 iNdEx := 0 9825 for iNdEx < l { 9826 preIndex := iNdEx 9827 var wire uint64 9828 for shift := uint(0); ; shift += 7 { 9829 if shift >= 64 { 9830 return ErrIntOverflowRepository 9831 } 9832 if iNdEx >= l { 9833 return io.ErrUnexpectedEOF 9834 } 9835 b := dAtA[iNdEx] 9836 iNdEx++ 9837 wire |= uint64(b&0x7F) << shift 9838 if b < 0x80 { 9839 break 9840 } 9841 } 9842 fieldNum := int32(wire >> 3) 9843 wireType := int(wire & 0x7) 9844 if wireType == 4 { 9845 return fmt.Errorf("proto: KustomizeAppSpec: wiretype end group for non-group") 9846 } 9847 if fieldNum <= 0 { 9848 return fmt.Errorf("proto: KustomizeAppSpec: illegal tag %d (wire type %d)", fieldNum, wire) 9849 } 9850 switch fieldNum { 9851 case 3: 9852 if wireType != 2 { 9853 return fmt.Errorf("proto: wrong wireType = %d for field Images", wireType) 9854 } 9855 var stringLen uint64 9856 for shift := uint(0); ; shift += 7 { 9857 if shift >= 64 { 9858 return ErrIntOverflowRepository 9859 } 9860 if iNdEx >= l { 9861 return io.ErrUnexpectedEOF 9862 } 9863 b := dAtA[iNdEx] 9864 iNdEx++ 9865 stringLen |= uint64(b&0x7F) << shift 9866 if b < 0x80 { 9867 break 9868 } 9869 } 9870 intStringLen := int(stringLen) 9871 if intStringLen < 0 { 9872 return ErrInvalidLengthRepository 9873 } 9874 postIndex := iNdEx + intStringLen 9875 if postIndex < 0 { 9876 return ErrInvalidLengthRepository 9877 } 9878 if postIndex > l { 9879 return io.ErrUnexpectedEOF 9880 } 9881 m.Images = append(m.Images, string(dAtA[iNdEx:postIndex])) 9882 iNdEx = postIndex 9883 default: 9884 iNdEx = preIndex 9885 skippy, err := skipRepository(dAtA[iNdEx:]) 9886 if err != nil { 9887 return err 9888 } 9889 if (skippy < 0) || (iNdEx+skippy) < 0 { 9890 return ErrInvalidLengthRepository 9891 } 9892 if (iNdEx + skippy) > l { 9893 return io.ErrUnexpectedEOF 9894 } 9895 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9896 iNdEx += skippy 9897 } 9898 } 9899 9900 if iNdEx > l { 9901 return io.ErrUnexpectedEOF 9902 } 9903 return nil 9904 } 9905 func (m *DirectoryAppSpec) Unmarshal(dAtA []byte) error { 9906 l := len(dAtA) 9907 iNdEx := 0 9908 for iNdEx < l { 9909 preIndex := iNdEx 9910 var wire uint64 9911 for shift := uint(0); ; shift += 7 { 9912 if shift >= 64 { 9913 return ErrIntOverflowRepository 9914 } 9915 if iNdEx >= l { 9916 return io.ErrUnexpectedEOF 9917 } 9918 b := dAtA[iNdEx] 9919 iNdEx++ 9920 wire |= uint64(b&0x7F) << shift 9921 if b < 0x80 { 9922 break 9923 } 9924 } 9925 fieldNum := int32(wire >> 3) 9926 wireType := int(wire & 0x7) 9927 if wireType == 4 { 9928 return fmt.Errorf("proto: DirectoryAppSpec: wiretype end group for non-group") 9929 } 9930 if fieldNum <= 0 { 9931 return fmt.Errorf("proto: DirectoryAppSpec: illegal tag %d (wire type %d)", fieldNum, wire) 9932 } 9933 switch fieldNum { 9934 default: 9935 iNdEx = preIndex 9936 skippy, err := skipRepository(dAtA[iNdEx:]) 9937 if err != nil { 9938 return err 9939 } 9940 if (skippy < 0) || (iNdEx+skippy) < 0 { 9941 return ErrInvalidLengthRepository 9942 } 9943 if (iNdEx + skippy) > l { 9944 return io.ErrUnexpectedEOF 9945 } 9946 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9947 iNdEx += skippy 9948 } 9949 } 9950 9951 if iNdEx > l { 9952 return io.ErrUnexpectedEOF 9953 } 9954 return nil 9955 } 9956 func (m *ParameterAnnouncement) Unmarshal(dAtA []byte) error { 9957 l := len(dAtA) 9958 iNdEx := 0 9959 for iNdEx < l { 9960 preIndex := iNdEx 9961 var wire uint64 9962 for shift := uint(0); ; shift += 7 { 9963 if shift >= 64 { 9964 return ErrIntOverflowRepository 9965 } 9966 if iNdEx >= l { 9967 return io.ErrUnexpectedEOF 9968 } 9969 b := dAtA[iNdEx] 9970 iNdEx++ 9971 wire |= uint64(b&0x7F) << shift 9972 if b < 0x80 { 9973 break 9974 } 9975 } 9976 fieldNum := int32(wire >> 3) 9977 wireType := int(wire & 0x7) 9978 if wireType == 4 { 9979 return fmt.Errorf("proto: ParameterAnnouncement: wiretype end group for non-group") 9980 } 9981 if fieldNum <= 0 { 9982 return fmt.Errorf("proto: ParameterAnnouncement: illegal tag %d (wire type %d)", fieldNum, wire) 9983 } 9984 switch fieldNum { 9985 case 1: 9986 if wireType != 2 { 9987 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9988 } 9989 var stringLen uint64 9990 for shift := uint(0); ; shift += 7 { 9991 if shift >= 64 { 9992 return ErrIntOverflowRepository 9993 } 9994 if iNdEx >= l { 9995 return io.ErrUnexpectedEOF 9996 } 9997 b := dAtA[iNdEx] 9998 iNdEx++ 9999 stringLen |= uint64(b&0x7F) << shift 10000 if b < 0x80 { 10001 break 10002 } 10003 } 10004 intStringLen := int(stringLen) 10005 if intStringLen < 0 { 10006 return ErrInvalidLengthRepository 10007 } 10008 postIndex := iNdEx + intStringLen 10009 if postIndex < 0 { 10010 return ErrInvalidLengthRepository 10011 } 10012 if postIndex > l { 10013 return io.ErrUnexpectedEOF 10014 } 10015 m.Name = string(dAtA[iNdEx:postIndex]) 10016 iNdEx = postIndex 10017 case 2: 10018 if wireType != 2 { 10019 return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) 10020 } 10021 var stringLen uint64 10022 for shift := uint(0); ; shift += 7 { 10023 if shift >= 64 { 10024 return ErrIntOverflowRepository 10025 } 10026 if iNdEx >= l { 10027 return io.ErrUnexpectedEOF 10028 } 10029 b := dAtA[iNdEx] 10030 iNdEx++ 10031 stringLen |= uint64(b&0x7F) << shift 10032 if b < 0x80 { 10033 break 10034 } 10035 } 10036 intStringLen := int(stringLen) 10037 if intStringLen < 0 { 10038 return ErrInvalidLengthRepository 10039 } 10040 postIndex := iNdEx + intStringLen 10041 if postIndex < 0 { 10042 return ErrInvalidLengthRepository 10043 } 10044 if postIndex > l { 10045 return io.ErrUnexpectedEOF 10046 } 10047 m.Title = string(dAtA[iNdEx:postIndex]) 10048 iNdEx = postIndex 10049 case 3: 10050 if wireType != 2 { 10051 return fmt.Errorf("proto: wrong wireType = %d for field Tooltip", wireType) 10052 } 10053 var stringLen uint64 10054 for shift := uint(0); ; shift += 7 { 10055 if shift >= 64 { 10056 return ErrIntOverflowRepository 10057 } 10058 if iNdEx >= l { 10059 return io.ErrUnexpectedEOF 10060 } 10061 b := dAtA[iNdEx] 10062 iNdEx++ 10063 stringLen |= uint64(b&0x7F) << shift 10064 if b < 0x80 { 10065 break 10066 } 10067 } 10068 intStringLen := int(stringLen) 10069 if intStringLen < 0 { 10070 return ErrInvalidLengthRepository 10071 } 10072 postIndex := iNdEx + intStringLen 10073 if postIndex < 0 { 10074 return ErrInvalidLengthRepository 10075 } 10076 if postIndex > l { 10077 return io.ErrUnexpectedEOF 10078 } 10079 m.Tooltip = string(dAtA[iNdEx:postIndex]) 10080 iNdEx = postIndex 10081 case 4: 10082 if wireType != 0 { 10083 return fmt.Errorf("proto: wrong wireType = %d for field Required", wireType) 10084 } 10085 var v int 10086 for shift := uint(0); ; shift += 7 { 10087 if shift >= 64 { 10088 return ErrIntOverflowRepository 10089 } 10090 if iNdEx >= l { 10091 return io.ErrUnexpectedEOF 10092 } 10093 b := dAtA[iNdEx] 10094 iNdEx++ 10095 v |= int(b&0x7F) << shift 10096 if b < 0x80 { 10097 break 10098 } 10099 } 10100 m.Required = bool(v != 0) 10101 case 5: 10102 if wireType != 2 { 10103 return fmt.Errorf("proto: wrong wireType = %d for field ItemType", wireType) 10104 } 10105 var stringLen uint64 10106 for shift := uint(0); ; shift += 7 { 10107 if shift >= 64 { 10108 return ErrIntOverflowRepository 10109 } 10110 if iNdEx >= l { 10111 return io.ErrUnexpectedEOF 10112 } 10113 b := dAtA[iNdEx] 10114 iNdEx++ 10115 stringLen |= uint64(b&0x7F) << shift 10116 if b < 0x80 { 10117 break 10118 } 10119 } 10120 intStringLen := int(stringLen) 10121 if intStringLen < 0 { 10122 return ErrInvalidLengthRepository 10123 } 10124 postIndex := iNdEx + intStringLen 10125 if postIndex < 0 { 10126 return ErrInvalidLengthRepository 10127 } 10128 if postIndex > l { 10129 return io.ErrUnexpectedEOF 10130 } 10131 m.ItemType = string(dAtA[iNdEx:postIndex]) 10132 iNdEx = postIndex 10133 case 6: 10134 if wireType != 2 { 10135 return fmt.Errorf("proto: wrong wireType = %d for field CollectionType", wireType) 10136 } 10137 var stringLen uint64 10138 for shift := uint(0); ; shift += 7 { 10139 if shift >= 64 { 10140 return ErrIntOverflowRepository 10141 } 10142 if iNdEx >= l { 10143 return io.ErrUnexpectedEOF 10144 } 10145 b := dAtA[iNdEx] 10146 iNdEx++ 10147 stringLen |= uint64(b&0x7F) << shift 10148 if b < 0x80 { 10149 break 10150 } 10151 } 10152 intStringLen := int(stringLen) 10153 if intStringLen < 0 { 10154 return ErrInvalidLengthRepository 10155 } 10156 postIndex := iNdEx + intStringLen 10157 if postIndex < 0 { 10158 return ErrInvalidLengthRepository 10159 } 10160 if postIndex > l { 10161 return io.ErrUnexpectedEOF 10162 } 10163 m.CollectionType = string(dAtA[iNdEx:postIndex]) 10164 iNdEx = postIndex 10165 case 7: 10166 if wireType != 2 { 10167 return fmt.Errorf("proto: wrong wireType = %d for field String_", wireType) 10168 } 10169 var stringLen uint64 10170 for shift := uint(0); ; shift += 7 { 10171 if shift >= 64 { 10172 return ErrIntOverflowRepository 10173 } 10174 if iNdEx >= l { 10175 return io.ErrUnexpectedEOF 10176 } 10177 b := dAtA[iNdEx] 10178 iNdEx++ 10179 stringLen |= uint64(b&0x7F) << shift 10180 if b < 0x80 { 10181 break 10182 } 10183 } 10184 intStringLen := int(stringLen) 10185 if intStringLen < 0 { 10186 return ErrInvalidLengthRepository 10187 } 10188 postIndex := iNdEx + intStringLen 10189 if postIndex < 0 { 10190 return ErrInvalidLengthRepository 10191 } 10192 if postIndex > l { 10193 return io.ErrUnexpectedEOF 10194 } 10195 m.String_ = string(dAtA[iNdEx:postIndex]) 10196 iNdEx = postIndex 10197 case 8: 10198 if wireType != 2 { 10199 return fmt.Errorf("proto: wrong wireType = %d for field Array", wireType) 10200 } 10201 var stringLen uint64 10202 for shift := uint(0); ; shift += 7 { 10203 if shift >= 64 { 10204 return ErrIntOverflowRepository 10205 } 10206 if iNdEx >= l { 10207 return io.ErrUnexpectedEOF 10208 } 10209 b := dAtA[iNdEx] 10210 iNdEx++ 10211 stringLen |= uint64(b&0x7F) << shift 10212 if b < 0x80 { 10213 break 10214 } 10215 } 10216 intStringLen := int(stringLen) 10217 if intStringLen < 0 { 10218 return ErrInvalidLengthRepository 10219 } 10220 postIndex := iNdEx + intStringLen 10221 if postIndex < 0 { 10222 return ErrInvalidLengthRepository 10223 } 10224 if postIndex > l { 10225 return io.ErrUnexpectedEOF 10226 } 10227 m.Array = append(m.Array, string(dAtA[iNdEx:postIndex])) 10228 iNdEx = postIndex 10229 case 9: 10230 if wireType != 2 { 10231 return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType) 10232 } 10233 var msglen int 10234 for shift := uint(0); ; shift += 7 { 10235 if shift >= 64 { 10236 return ErrIntOverflowRepository 10237 } 10238 if iNdEx >= l { 10239 return io.ErrUnexpectedEOF 10240 } 10241 b := dAtA[iNdEx] 10242 iNdEx++ 10243 msglen |= int(b&0x7F) << shift 10244 if b < 0x80 { 10245 break 10246 } 10247 } 10248 if msglen < 0 { 10249 return ErrInvalidLengthRepository 10250 } 10251 postIndex := iNdEx + msglen 10252 if postIndex < 0 { 10253 return ErrInvalidLengthRepository 10254 } 10255 if postIndex > l { 10256 return io.ErrUnexpectedEOF 10257 } 10258 if m.Map == nil { 10259 m.Map = make(map[string]string) 10260 } 10261 var mapkey string 10262 var mapvalue string 10263 for iNdEx < postIndex { 10264 entryPreIndex := iNdEx 10265 var wire uint64 10266 for shift := uint(0); ; shift += 7 { 10267 if shift >= 64 { 10268 return ErrIntOverflowRepository 10269 } 10270 if iNdEx >= l { 10271 return io.ErrUnexpectedEOF 10272 } 10273 b := dAtA[iNdEx] 10274 iNdEx++ 10275 wire |= uint64(b&0x7F) << shift 10276 if b < 0x80 { 10277 break 10278 } 10279 } 10280 fieldNum := int32(wire >> 3) 10281 if fieldNum == 1 { 10282 var stringLenmapkey uint64 10283 for shift := uint(0); ; shift += 7 { 10284 if shift >= 64 { 10285 return ErrIntOverflowRepository 10286 } 10287 if iNdEx >= l { 10288 return io.ErrUnexpectedEOF 10289 } 10290 b := dAtA[iNdEx] 10291 iNdEx++ 10292 stringLenmapkey |= uint64(b&0x7F) << shift 10293 if b < 0x80 { 10294 break 10295 } 10296 } 10297 intStringLenmapkey := int(stringLenmapkey) 10298 if intStringLenmapkey < 0 { 10299 return ErrInvalidLengthRepository 10300 } 10301 postStringIndexmapkey := iNdEx + intStringLenmapkey 10302 if postStringIndexmapkey < 0 { 10303 return ErrInvalidLengthRepository 10304 } 10305 if postStringIndexmapkey > l { 10306 return io.ErrUnexpectedEOF 10307 } 10308 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 10309 iNdEx = postStringIndexmapkey 10310 } else if fieldNum == 2 { 10311 var stringLenmapvalue uint64 10312 for shift := uint(0); ; shift += 7 { 10313 if shift >= 64 { 10314 return ErrIntOverflowRepository 10315 } 10316 if iNdEx >= l { 10317 return io.ErrUnexpectedEOF 10318 } 10319 b := dAtA[iNdEx] 10320 iNdEx++ 10321 stringLenmapvalue |= uint64(b&0x7F) << shift 10322 if b < 0x80 { 10323 break 10324 } 10325 } 10326 intStringLenmapvalue := int(stringLenmapvalue) 10327 if intStringLenmapvalue < 0 { 10328 return ErrInvalidLengthRepository 10329 } 10330 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 10331 if postStringIndexmapvalue < 0 { 10332 return ErrInvalidLengthRepository 10333 } 10334 if postStringIndexmapvalue > l { 10335 return io.ErrUnexpectedEOF 10336 } 10337 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 10338 iNdEx = postStringIndexmapvalue 10339 } else { 10340 iNdEx = entryPreIndex 10341 skippy, err := skipRepository(dAtA[iNdEx:]) 10342 if err != nil { 10343 return err 10344 } 10345 if (skippy < 0) || (iNdEx+skippy) < 0 { 10346 return ErrInvalidLengthRepository 10347 } 10348 if (iNdEx + skippy) > postIndex { 10349 return io.ErrUnexpectedEOF 10350 } 10351 iNdEx += skippy 10352 } 10353 } 10354 m.Map[mapkey] = mapvalue 10355 iNdEx = postIndex 10356 default: 10357 iNdEx = preIndex 10358 skippy, err := skipRepository(dAtA[iNdEx:]) 10359 if err != nil { 10360 return err 10361 } 10362 if (skippy < 0) || (iNdEx+skippy) < 0 { 10363 return ErrInvalidLengthRepository 10364 } 10365 if (iNdEx + skippy) > l { 10366 return io.ErrUnexpectedEOF 10367 } 10368 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10369 iNdEx += skippy 10370 } 10371 } 10372 10373 if iNdEx > l { 10374 return io.ErrUnexpectedEOF 10375 } 10376 return nil 10377 } 10378 func (m *PluginAppSpec) Unmarshal(dAtA []byte) error { 10379 l := len(dAtA) 10380 iNdEx := 0 10381 for iNdEx < l { 10382 preIndex := iNdEx 10383 var wire uint64 10384 for shift := uint(0); ; shift += 7 { 10385 if shift >= 64 { 10386 return ErrIntOverflowRepository 10387 } 10388 if iNdEx >= l { 10389 return io.ErrUnexpectedEOF 10390 } 10391 b := dAtA[iNdEx] 10392 iNdEx++ 10393 wire |= uint64(b&0x7F) << shift 10394 if b < 0x80 { 10395 break 10396 } 10397 } 10398 fieldNum := int32(wire >> 3) 10399 wireType := int(wire & 0x7) 10400 if wireType == 4 { 10401 return fmt.Errorf("proto: PluginAppSpec: wiretype end group for non-group") 10402 } 10403 if fieldNum <= 0 { 10404 return fmt.Errorf("proto: PluginAppSpec: illegal tag %d (wire type %d)", fieldNum, wire) 10405 } 10406 switch fieldNum { 10407 case 1: 10408 if wireType != 2 { 10409 return fmt.Errorf("proto: wrong wireType = %d for field ParametersAnnouncement", wireType) 10410 } 10411 var msglen int 10412 for shift := uint(0); ; shift += 7 { 10413 if shift >= 64 { 10414 return ErrIntOverflowRepository 10415 } 10416 if iNdEx >= l { 10417 return io.ErrUnexpectedEOF 10418 } 10419 b := dAtA[iNdEx] 10420 iNdEx++ 10421 msglen |= int(b&0x7F) << shift 10422 if b < 0x80 { 10423 break 10424 } 10425 } 10426 if msglen < 0 { 10427 return ErrInvalidLengthRepository 10428 } 10429 postIndex := iNdEx + msglen 10430 if postIndex < 0 { 10431 return ErrInvalidLengthRepository 10432 } 10433 if postIndex > l { 10434 return io.ErrUnexpectedEOF 10435 } 10436 m.ParametersAnnouncement = append(m.ParametersAnnouncement, &ParameterAnnouncement{}) 10437 if err := m.ParametersAnnouncement[len(m.ParametersAnnouncement)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10438 return err 10439 } 10440 iNdEx = postIndex 10441 default: 10442 iNdEx = preIndex 10443 skippy, err := skipRepository(dAtA[iNdEx:]) 10444 if err != nil { 10445 return err 10446 } 10447 if (skippy < 0) || (iNdEx+skippy) < 0 { 10448 return ErrInvalidLengthRepository 10449 } 10450 if (iNdEx + skippy) > l { 10451 return io.ErrUnexpectedEOF 10452 } 10453 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10454 iNdEx += skippy 10455 } 10456 } 10457 10458 if iNdEx > l { 10459 return io.ErrUnexpectedEOF 10460 } 10461 return nil 10462 } 10463 func (m *HelmChartsRequest) Unmarshal(dAtA []byte) error { 10464 l := len(dAtA) 10465 iNdEx := 0 10466 for iNdEx < l { 10467 preIndex := iNdEx 10468 var wire uint64 10469 for shift := uint(0); ; shift += 7 { 10470 if shift >= 64 { 10471 return ErrIntOverflowRepository 10472 } 10473 if iNdEx >= l { 10474 return io.ErrUnexpectedEOF 10475 } 10476 b := dAtA[iNdEx] 10477 iNdEx++ 10478 wire |= uint64(b&0x7F) << shift 10479 if b < 0x80 { 10480 break 10481 } 10482 } 10483 fieldNum := int32(wire >> 3) 10484 wireType := int(wire & 0x7) 10485 if wireType == 4 { 10486 return fmt.Errorf("proto: HelmChartsRequest: wiretype end group for non-group") 10487 } 10488 if fieldNum <= 0 { 10489 return fmt.Errorf("proto: HelmChartsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10490 } 10491 switch fieldNum { 10492 case 1: 10493 if wireType != 2 { 10494 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 10495 } 10496 var msglen int 10497 for shift := uint(0); ; shift += 7 { 10498 if shift >= 64 { 10499 return ErrIntOverflowRepository 10500 } 10501 if iNdEx >= l { 10502 return io.ErrUnexpectedEOF 10503 } 10504 b := dAtA[iNdEx] 10505 iNdEx++ 10506 msglen |= int(b&0x7F) << shift 10507 if b < 0x80 { 10508 break 10509 } 10510 } 10511 if msglen < 0 { 10512 return ErrInvalidLengthRepository 10513 } 10514 postIndex := iNdEx + msglen 10515 if postIndex < 0 { 10516 return ErrInvalidLengthRepository 10517 } 10518 if postIndex > l { 10519 return io.ErrUnexpectedEOF 10520 } 10521 if m.Repo == nil { 10522 m.Repo = &v1alpha1.Repository{} 10523 } 10524 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10525 return err 10526 } 10527 iNdEx = postIndex 10528 default: 10529 iNdEx = preIndex 10530 skippy, err := skipRepository(dAtA[iNdEx:]) 10531 if err != nil { 10532 return err 10533 } 10534 if (skippy < 0) || (iNdEx+skippy) < 0 { 10535 return ErrInvalidLengthRepository 10536 } 10537 if (iNdEx + skippy) > l { 10538 return io.ErrUnexpectedEOF 10539 } 10540 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10541 iNdEx += skippy 10542 } 10543 } 10544 10545 if iNdEx > l { 10546 return io.ErrUnexpectedEOF 10547 } 10548 return nil 10549 } 10550 func (m *HelmChart) Unmarshal(dAtA []byte) error { 10551 l := len(dAtA) 10552 iNdEx := 0 10553 for iNdEx < l { 10554 preIndex := iNdEx 10555 var wire uint64 10556 for shift := uint(0); ; shift += 7 { 10557 if shift >= 64 { 10558 return ErrIntOverflowRepository 10559 } 10560 if iNdEx >= l { 10561 return io.ErrUnexpectedEOF 10562 } 10563 b := dAtA[iNdEx] 10564 iNdEx++ 10565 wire |= uint64(b&0x7F) << shift 10566 if b < 0x80 { 10567 break 10568 } 10569 } 10570 fieldNum := int32(wire >> 3) 10571 wireType := int(wire & 0x7) 10572 if wireType == 4 { 10573 return fmt.Errorf("proto: HelmChart: wiretype end group for non-group") 10574 } 10575 if fieldNum <= 0 { 10576 return fmt.Errorf("proto: HelmChart: illegal tag %d (wire type %d)", fieldNum, wire) 10577 } 10578 switch fieldNum { 10579 case 1: 10580 if wireType != 2 { 10581 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10582 } 10583 var stringLen uint64 10584 for shift := uint(0); ; shift += 7 { 10585 if shift >= 64 { 10586 return ErrIntOverflowRepository 10587 } 10588 if iNdEx >= l { 10589 return io.ErrUnexpectedEOF 10590 } 10591 b := dAtA[iNdEx] 10592 iNdEx++ 10593 stringLen |= uint64(b&0x7F) << shift 10594 if b < 0x80 { 10595 break 10596 } 10597 } 10598 intStringLen := int(stringLen) 10599 if intStringLen < 0 { 10600 return ErrInvalidLengthRepository 10601 } 10602 postIndex := iNdEx + intStringLen 10603 if postIndex < 0 { 10604 return ErrInvalidLengthRepository 10605 } 10606 if postIndex > l { 10607 return io.ErrUnexpectedEOF 10608 } 10609 m.Name = string(dAtA[iNdEx:postIndex]) 10610 iNdEx = postIndex 10611 case 2: 10612 if wireType != 2 { 10613 return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) 10614 } 10615 var stringLen uint64 10616 for shift := uint(0); ; shift += 7 { 10617 if shift >= 64 { 10618 return ErrIntOverflowRepository 10619 } 10620 if iNdEx >= l { 10621 return io.ErrUnexpectedEOF 10622 } 10623 b := dAtA[iNdEx] 10624 iNdEx++ 10625 stringLen |= uint64(b&0x7F) << shift 10626 if b < 0x80 { 10627 break 10628 } 10629 } 10630 intStringLen := int(stringLen) 10631 if intStringLen < 0 { 10632 return ErrInvalidLengthRepository 10633 } 10634 postIndex := iNdEx + intStringLen 10635 if postIndex < 0 { 10636 return ErrInvalidLengthRepository 10637 } 10638 if postIndex > l { 10639 return io.ErrUnexpectedEOF 10640 } 10641 m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex])) 10642 iNdEx = postIndex 10643 default: 10644 iNdEx = preIndex 10645 skippy, err := skipRepository(dAtA[iNdEx:]) 10646 if err != nil { 10647 return err 10648 } 10649 if (skippy < 0) || (iNdEx+skippy) < 0 { 10650 return ErrInvalidLengthRepository 10651 } 10652 if (iNdEx + skippy) > l { 10653 return io.ErrUnexpectedEOF 10654 } 10655 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10656 iNdEx += skippy 10657 } 10658 } 10659 10660 if iNdEx > l { 10661 return io.ErrUnexpectedEOF 10662 } 10663 return nil 10664 } 10665 func (m *HelmChartsResponse) Unmarshal(dAtA []byte) error { 10666 l := len(dAtA) 10667 iNdEx := 0 10668 for iNdEx < l { 10669 preIndex := iNdEx 10670 var wire uint64 10671 for shift := uint(0); ; shift += 7 { 10672 if shift >= 64 { 10673 return ErrIntOverflowRepository 10674 } 10675 if iNdEx >= l { 10676 return io.ErrUnexpectedEOF 10677 } 10678 b := dAtA[iNdEx] 10679 iNdEx++ 10680 wire |= uint64(b&0x7F) << shift 10681 if b < 0x80 { 10682 break 10683 } 10684 } 10685 fieldNum := int32(wire >> 3) 10686 wireType := int(wire & 0x7) 10687 if wireType == 4 { 10688 return fmt.Errorf("proto: HelmChartsResponse: wiretype end group for non-group") 10689 } 10690 if fieldNum <= 0 { 10691 return fmt.Errorf("proto: HelmChartsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 10692 } 10693 switch fieldNum { 10694 case 1: 10695 if wireType != 2 { 10696 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 10697 } 10698 var msglen int 10699 for shift := uint(0); ; shift += 7 { 10700 if shift >= 64 { 10701 return ErrIntOverflowRepository 10702 } 10703 if iNdEx >= l { 10704 return io.ErrUnexpectedEOF 10705 } 10706 b := dAtA[iNdEx] 10707 iNdEx++ 10708 msglen |= int(b&0x7F) << shift 10709 if b < 0x80 { 10710 break 10711 } 10712 } 10713 if msglen < 0 { 10714 return ErrInvalidLengthRepository 10715 } 10716 postIndex := iNdEx + msglen 10717 if postIndex < 0 { 10718 return ErrInvalidLengthRepository 10719 } 10720 if postIndex > l { 10721 return io.ErrUnexpectedEOF 10722 } 10723 m.Items = append(m.Items, &HelmChart{}) 10724 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10725 return err 10726 } 10727 iNdEx = postIndex 10728 default: 10729 iNdEx = preIndex 10730 skippy, err := skipRepository(dAtA[iNdEx:]) 10731 if err != nil { 10732 return err 10733 } 10734 if (skippy < 0) || (iNdEx+skippy) < 0 { 10735 return ErrInvalidLengthRepository 10736 } 10737 if (iNdEx + skippy) > l { 10738 return io.ErrUnexpectedEOF 10739 } 10740 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10741 iNdEx += skippy 10742 } 10743 } 10744 10745 if iNdEx > l { 10746 return io.ErrUnexpectedEOF 10747 } 10748 return nil 10749 } 10750 func (m *GitFilesRequest) Unmarshal(dAtA []byte) error { 10751 l := len(dAtA) 10752 iNdEx := 0 10753 for iNdEx < l { 10754 preIndex := iNdEx 10755 var wire uint64 10756 for shift := uint(0); ; shift += 7 { 10757 if shift >= 64 { 10758 return ErrIntOverflowRepository 10759 } 10760 if iNdEx >= l { 10761 return io.ErrUnexpectedEOF 10762 } 10763 b := dAtA[iNdEx] 10764 iNdEx++ 10765 wire |= uint64(b&0x7F) << shift 10766 if b < 0x80 { 10767 break 10768 } 10769 } 10770 fieldNum := int32(wire >> 3) 10771 wireType := int(wire & 0x7) 10772 if wireType == 4 { 10773 return fmt.Errorf("proto: GitFilesRequest: wiretype end group for non-group") 10774 } 10775 if fieldNum <= 0 { 10776 return fmt.Errorf("proto: GitFilesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10777 } 10778 switch fieldNum { 10779 case 1: 10780 if wireType != 2 { 10781 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 10782 } 10783 var msglen int 10784 for shift := uint(0); ; shift += 7 { 10785 if shift >= 64 { 10786 return ErrIntOverflowRepository 10787 } 10788 if iNdEx >= l { 10789 return io.ErrUnexpectedEOF 10790 } 10791 b := dAtA[iNdEx] 10792 iNdEx++ 10793 msglen |= int(b&0x7F) << shift 10794 if b < 0x80 { 10795 break 10796 } 10797 } 10798 if msglen < 0 { 10799 return ErrInvalidLengthRepository 10800 } 10801 postIndex := iNdEx + msglen 10802 if postIndex < 0 { 10803 return ErrInvalidLengthRepository 10804 } 10805 if postIndex > l { 10806 return io.ErrUnexpectedEOF 10807 } 10808 if m.Repo == nil { 10809 m.Repo = &v1alpha1.Repository{} 10810 } 10811 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10812 return err 10813 } 10814 iNdEx = postIndex 10815 case 2: 10816 if wireType != 0 { 10817 return fmt.Errorf("proto: wrong wireType = %d for field SubmoduleEnabled", wireType) 10818 } 10819 var v int 10820 for shift := uint(0); ; shift += 7 { 10821 if shift >= 64 { 10822 return ErrIntOverflowRepository 10823 } 10824 if iNdEx >= l { 10825 return io.ErrUnexpectedEOF 10826 } 10827 b := dAtA[iNdEx] 10828 iNdEx++ 10829 v |= int(b&0x7F) << shift 10830 if b < 0x80 { 10831 break 10832 } 10833 } 10834 m.SubmoduleEnabled = bool(v != 0) 10835 case 3: 10836 if wireType != 2 { 10837 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 10838 } 10839 var stringLen uint64 10840 for shift := uint(0); ; shift += 7 { 10841 if shift >= 64 { 10842 return ErrIntOverflowRepository 10843 } 10844 if iNdEx >= l { 10845 return io.ErrUnexpectedEOF 10846 } 10847 b := dAtA[iNdEx] 10848 iNdEx++ 10849 stringLen |= uint64(b&0x7F) << shift 10850 if b < 0x80 { 10851 break 10852 } 10853 } 10854 intStringLen := int(stringLen) 10855 if intStringLen < 0 { 10856 return ErrInvalidLengthRepository 10857 } 10858 postIndex := iNdEx + intStringLen 10859 if postIndex < 0 { 10860 return ErrInvalidLengthRepository 10861 } 10862 if postIndex > l { 10863 return io.ErrUnexpectedEOF 10864 } 10865 m.Revision = string(dAtA[iNdEx:postIndex]) 10866 iNdEx = postIndex 10867 case 4: 10868 if wireType != 2 { 10869 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) 10870 } 10871 var stringLen uint64 10872 for shift := uint(0); ; shift += 7 { 10873 if shift >= 64 { 10874 return ErrIntOverflowRepository 10875 } 10876 if iNdEx >= l { 10877 return io.ErrUnexpectedEOF 10878 } 10879 b := dAtA[iNdEx] 10880 iNdEx++ 10881 stringLen |= uint64(b&0x7F) << shift 10882 if b < 0x80 { 10883 break 10884 } 10885 } 10886 intStringLen := int(stringLen) 10887 if intStringLen < 0 { 10888 return ErrInvalidLengthRepository 10889 } 10890 postIndex := iNdEx + intStringLen 10891 if postIndex < 0 { 10892 return ErrInvalidLengthRepository 10893 } 10894 if postIndex > l { 10895 return io.ErrUnexpectedEOF 10896 } 10897 m.Path = string(dAtA[iNdEx:postIndex]) 10898 iNdEx = postIndex 10899 case 5: 10900 if wireType != 0 { 10901 return fmt.Errorf("proto: wrong wireType = %d for field NewGitFileGlobbingEnabled", wireType) 10902 } 10903 var v int 10904 for shift := uint(0); ; shift += 7 { 10905 if shift >= 64 { 10906 return ErrIntOverflowRepository 10907 } 10908 if iNdEx >= l { 10909 return io.ErrUnexpectedEOF 10910 } 10911 b := dAtA[iNdEx] 10912 iNdEx++ 10913 v |= int(b&0x7F) << shift 10914 if b < 0x80 { 10915 break 10916 } 10917 } 10918 m.NewGitFileGlobbingEnabled = bool(v != 0) 10919 case 6: 10920 if wireType != 0 { 10921 return fmt.Errorf("proto: wrong wireType = %d for field NoRevisionCache", wireType) 10922 } 10923 var v int 10924 for shift := uint(0); ; shift += 7 { 10925 if shift >= 64 { 10926 return ErrIntOverflowRepository 10927 } 10928 if iNdEx >= l { 10929 return io.ErrUnexpectedEOF 10930 } 10931 b := dAtA[iNdEx] 10932 iNdEx++ 10933 v |= int(b&0x7F) << shift 10934 if b < 0x80 { 10935 break 10936 } 10937 } 10938 m.NoRevisionCache = bool(v != 0) 10939 default: 10940 iNdEx = preIndex 10941 skippy, err := skipRepository(dAtA[iNdEx:]) 10942 if err != nil { 10943 return err 10944 } 10945 if (skippy < 0) || (iNdEx+skippy) < 0 { 10946 return ErrInvalidLengthRepository 10947 } 10948 if (iNdEx + skippy) > l { 10949 return io.ErrUnexpectedEOF 10950 } 10951 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10952 iNdEx += skippy 10953 } 10954 } 10955 10956 if iNdEx > l { 10957 return io.ErrUnexpectedEOF 10958 } 10959 return nil 10960 } 10961 func (m *GitFilesResponse) Unmarshal(dAtA []byte) error { 10962 l := len(dAtA) 10963 iNdEx := 0 10964 for iNdEx < l { 10965 preIndex := iNdEx 10966 var wire uint64 10967 for shift := uint(0); ; shift += 7 { 10968 if shift >= 64 { 10969 return ErrIntOverflowRepository 10970 } 10971 if iNdEx >= l { 10972 return io.ErrUnexpectedEOF 10973 } 10974 b := dAtA[iNdEx] 10975 iNdEx++ 10976 wire |= uint64(b&0x7F) << shift 10977 if b < 0x80 { 10978 break 10979 } 10980 } 10981 fieldNum := int32(wire >> 3) 10982 wireType := int(wire & 0x7) 10983 if wireType == 4 { 10984 return fmt.Errorf("proto: GitFilesResponse: wiretype end group for non-group") 10985 } 10986 if fieldNum <= 0 { 10987 return fmt.Errorf("proto: GitFilesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 10988 } 10989 switch fieldNum { 10990 case 1: 10991 if wireType != 2 { 10992 return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType) 10993 } 10994 var msglen int 10995 for shift := uint(0); ; shift += 7 { 10996 if shift >= 64 { 10997 return ErrIntOverflowRepository 10998 } 10999 if iNdEx >= l { 11000 return io.ErrUnexpectedEOF 11001 } 11002 b := dAtA[iNdEx] 11003 iNdEx++ 11004 msglen |= int(b&0x7F) << shift 11005 if b < 0x80 { 11006 break 11007 } 11008 } 11009 if msglen < 0 { 11010 return ErrInvalidLengthRepository 11011 } 11012 postIndex := iNdEx + msglen 11013 if postIndex < 0 { 11014 return ErrInvalidLengthRepository 11015 } 11016 if postIndex > l { 11017 return io.ErrUnexpectedEOF 11018 } 11019 if m.Map == nil { 11020 m.Map = make(map[string][]byte) 11021 } 11022 var mapkey string 11023 mapvalue := []byte{} 11024 for iNdEx < postIndex { 11025 entryPreIndex := iNdEx 11026 var wire uint64 11027 for shift := uint(0); ; shift += 7 { 11028 if shift >= 64 { 11029 return ErrIntOverflowRepository 11030 } 11031 if iNdEx >= l { 11032 return io.ErrUnexpectedEOF 11033 } 11034 b := dAtA[iNdEx] 11035 iNdEx++ 11036 wire |= uint64(b&0x7F) << shift 11037 if b < 0x80 { 11038 break 11039 } 11040 } 11041 fieldNum := int32(wire >> 3) 11042 if fieldNum == 1 { 11043 var stringLenmapkey uint64 11044 for shift := uint(0); ; shift += 7 { 11045 if shift >= 64 { 11046 return ErrIntOverflowRepository 11047 } 11048 if iNdEx >= l { 11049 return io.ErrUnexpectedEOF 11050 } 11051 b := dAtA[iNdEx] 11052 iNdEx++ 11053 stringLenmapkey |= uint64(b&0x7F) << shift 11054 if b < 0x80 { 11055 break 11056 } 11057 } 11058 intStringLenmapkey := int(stringLenmapkey) 11059 if intStringLenmapkey < 0 { 11060 return ErrInvalidLengthRepository 11061 } 11062 postStringIndexmapkey := iNdEx + intStringLenmapkey 11063 if postStringIndexmapkey < 0 { 11064 return ErrInvalidLengthRepository 11065 } 11066 if postStringIndexmapkey > l { 11067 return io.ErrUnexpectedEOF 11068 } 11069 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 11070 iNdEx = postStringIndexmapkey 11071 } else if fieldNum == 2 { 11072 var mapbyteLen uint64 11073 for shift := uint(0); ; shift += 7 { 11074 if shift >= 64 { 11075 return ErrIntOverflowRepository 11076 } 11077 if iNdEx >= l { 11078 return io.ErrUnexpectedEOF 11079 } 11080 b := dAtA[iNdEx] 11081 iNdEx++ 11082 mapbyteLen |= uint64(b&0x7F) << shift 11083 if b < 0x80 { 11084 break 11085 } 11086 } 11087 intMapbyteLen := int(mapbyteLen) 11088 if intMapbyteLen < 0 { 11089 return ErrInvalidLengthRepository 11090 } 11091 postbytesIndex := iNdEx + intMapbyteLen 11092 if postbytesIndex < 0 { 11093 return ErrInvalidLengthRepository 11094 } 11095 if postbytesIndex > l { 11096 return io.ErrUnexpectedEOF 11097 } 11098 mapvalue = make([]byte, mapbyteLen) 11099 copy(mapvalue, dAtA[iNdEx:postbytesIndex]) 11100 iNdEx = postbytesIndex 11101 } else { 11102 iNdEx = entryPreIndex 11103 skippy, err := skipRepository(dAtA[iNdEx:]) 11104 if err != nil { 11105 return err 11106 } 11107 if (skippy < 0) || (iNdEx+skippy) < 0 { 11108 return ErrInvalidLengthRepository 11109 } 11110 if (iNdEx + skippy) > postIndex { 11111 return io.ErrUnexpectedEOF 11112 } 11113 iNdEx += skippy 11114 } 11115 } 11116 m.Map[mapkey] = mapvalue 11117 iNdEx = postIndex 11118 default: 11119 iNdEx = preIndex 11120 skippy, err := skipRepository(dAtA[iNdEx:]) 11121 if err != nil { 11122 return err 11123 } 11124 if (skippy < 0) || (iNdEx+skippy) < 0 { 11125 return ErrInvalidLengthRepository 11126 } 11127 if (iNdEx + skippy) > l { 11128 return io.ErrUnexpectedEOF 11129 } 11130 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11131 iNdEx += skippy 11132 } 11133 } 11134 11135 if iNdEx > l { 11136 return io.ErrUnexpectedEOF 11137 } 11138 return nil 11139 } 11140 func (m *GitDirectoriesRequest) Unmarshal(dAtA []byte) error { 11141 l := len(dAtA) 11142 iNdEx := 0 11143 for iNdEx < l { 11144 preIndex := iNdEx 11145 var wire uint64 11146 for shift := uint(0); ; shift += 7 { 11147 if shift >= 64 { 11148 return ErrIntOverflowRepository 11149 } 11150 if iNdEx >= l { 11151 return io.ErrUnexpectedEOF 11152 } 11153 b := dAtA[iNdEx] 11154 iNdEx++ 11155 wire |= uint64(b&0x7F) << shift 11156 if b < 0x80 { 11157 break 11158 } 11159 } 11160 fieldNum := int32(wire >> 3) 11161 wireType := int(wire & 0x7) 11162 if wireType == 4 { 11163 return fmt.Errorf("proto: GitDirectoriesRequest: wiretype end group for non-group") 11164 } 11165 if fieldNum <= 0 { 11166 return fmt.Errorf("proto: GitDirectoriesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11167 } 11168 switch fieldNum { 11169 case 1: 11170 if wireType != 2 { 11171 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 11172 } 11173 var msglen int 11174 for shift := uint(0); ; shift += 7 { 11175 if shift >= 64 { 11176 return ErrIntOverflowRepository 11177 } 11178 if iNdEx >= l { 11179 return io.ErrUnexpectedEOF 11180 } 11181 b := dAtA[iNdEx] 11182 iNdEx++ 11183 msglen |= int(b&0x7F) << shift 11184 if b < 0x80 { 11185 break 11186 } 11187 } 11188 if msglen < 0 { 11189 return ErrInvalidLengthRepository 11190 } 11191 postIndex := iNdEx + msglen 11192 if postIndex < 0 { 11193 return ErrInvalidLengthRepository 11194 } 11195 if postIndex > l { 11196 return io.ErrUnexpectedEOF 11197 } 11198 if m.Repo == nil { 11199 m.Repo = &v1alpha1.Repository{} 11200 } 11201 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11202 return err 11203 } 11204 iNdEx = postIndex 11205 case 2: 11206 if wireType != 0 { 11207 return fmt.Errorf("proto: wrong wireType = %d for field SubmoduleEnabled", wireType) 11208 } 11209 var v int 11210 for shift := uint(0); ; shift += 7 { 11211 if shift >= 64 { 11212 return ErrIntOverflowRepository 11213 } 11214 if iNdEx >= l { 11215 return io.ErrUnexpectedEOF 11216 } 11217 b := dAtA[iNdEx] 11218 iNdEx++ 11219 v |= int(b&0x7F) << shift 11220 if b < 0x80 { 11221 break 11222 } 11223 } 11224 m.SubmoduleEnabled = bool(v != 0) 11225 case 3: 11226 if wireType != 2 { 11227 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 11228 } 11229 var stringLen uint64 11230 for shift := uint(0); ; shift += 7 { 11231 if shift >= 64 { 11232 return ErrIntOverflowRepository 11233 } 11234 if iNdEx >= l { 11235 return io.ErrUnexpectedEOF 11236 } 11237 b := dAtA[iNdEx] 11238 iNdEx++ 11239 stringLen |= uint64(b&0x7F) << shift 11240 if b < 0x80 { 11241 break 11242 } 11243 } 11244 intStringLen := int(stringLen) 11245 if intStringLen < 0 { 11246 return ErrInvalidLengthRepository 11247 } 11248 postIndex := iNdEx + intStringLen 11249 if postIndex < 0 { 11250 return ErrInvalidLengthRepository 11251 } 11252 if postIndex > l { 11253 return io.ErrUnexpectedEOF 11254 } 11255 m.Revision = string(dAtA[iNdEx:postIndex]) 11256 iNdEx = postIndex 11257 case 4: 11258 if wireType != 0 { 11259 return fmt.Errorf("proto: wrong wireType = %d for field NoRevisionCache", wireType) 11260 } 11261 var v int 11262 for shift := uint(0); ; shift += 7 { 11263 if shift >= 64 { 11264 return ErrIntOverflowRepository 11265 } 11266 if iNdEx >= l { 11267 return io.ErrUnexpectedEOF 11268 } 11269 b := dAtA[iNdEx] 11270 iNdEx++ 11271 v |= int(b&0x7F) << shift 11272 if b < 0x80 { 11273 break 11274 } 11275 } 11276 m.NoRevisionCache = bool(v != 0) 11277 default: 11278 iNdEx = preIndex 11279 skippy, err := skipRepository(dAtA[iNdEx:]) 11280 if err != nil { 11281 return err 11282 } 11283 if (skippy < 0) || (iNdEx+skippy) < 0 { 11284 return ErrInvalidLengthRepository 11285 } 11286 if (iNdEx + skippy) > l { 11287 return io.ErrUnexpectedEOF 11288 } 11289 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11290 iNdEx += skippy 11291 } 11292 } 11293 11294 if iNdEx > l { 11295 return io.ErrUnexpectedEOF 11296 } 11297 return nil 11298 } 11299 func (m *GitDirectoriesResponse) Unmarshal(dAtA []byte) error { 11300 l := len(dAtA) 11301 iNdEx := 0 11302 for iNdEx < l { 11303 preIndex := iNdEx 11304 var wire uint64 11305 for shift := uint(0); ; shift += 7 { 11306 if shift >= 64 { 11307 return ErrIntOverflowRepository 11308 } 11309 if iNdEx >= l { 11310 return io.ErrUnexpectedEOF 11311 } 11312 b := dAtA[iNdEx] 11313 iNdEx++ 11314 wire |= uint64(b&0x7F) << shift 11315 if b < 0x80 { 11316 break 11317 } 11318 } 11319 fieldNum := int32(wire >> 3) 11320 wireType := int(wire & 0x7) 11321 if wireType == 4 { 11322 return fmt.Errorf("proto: GitDirectoriesResponse: wiretype end group for non-group") 11323 } 11324 if fieldNum <= 0 { 11325 return fmt.Errorf("proto: GitDirectoriesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 11326 } 11327 switch fieldNum { 11328 case 1: 11329 if wireType != 2 { 11330 return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType) 11331 } 11332 var stringLen uint64 11333 for shift := uint(0); ; shift += 7 { 11334 if shift >= 64 { 11335 return ErrIntOverflowRepository 11336 } 11337 if iNdEx >= l { 11338 return io.ErrUnexpectedEOF 11339 } 11340 b := dAtA[iNdEx] 11341 iNdEx++ 11342 stringLen |= uint64(b&0x7F) << shift 11343 if b < 0x80 { 11344 break 11345 } 11346 } 11347 intStringLen := int(stringLen) 11348 if intStringLen < 0 { 11349 return ErrInvalidLengthRepository 11350 } 11351 postIndex := iNdEx + intStringLen 11352 if postIndex < 0 { 11353 return ErrInvalidLengthRepository 11354 } 11355 if postIndex > l { 11356 return io.ErrUnexpectedEOF 11357 } 11358 m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex])) 11359 iNdEx = postIndex 11360 default: 11361 iNdEx = preIndex 11362 skippy, err := skipRepository(dAtA[iNdEx:]) 11363 if err != nil { 11364 return err 11365 } 11366 if (skippy < 0) || (iNdEx+skippy) < 0 { 11367 return ErrInvalidLengthRepository 11368 } 11369 if (iNdEx + skippy) > l { 11370 return io.ErrUnexpectedEOF 11371 } 11372 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11373 iNdEx += skippy 11374 } 11375 } 11376 11377 if iNdEx > l { 11378 return io.ErrUnexpectedEOF 11379 } 11380 return nil 11381 } 11382 func skipRepository(dAtA []byte) (n int, err error) { 11383 l := len(dAtA) 11384 iNdEx := 0 11385 depth := 0 11386 for iNdEx < l { 11387 var wire uint64 11388 for shift := uint(0); ; shift += 7 { 11389 if shift >= 64 { 11390 return 0, ErrIntOverflowRepository 11391 } 11392 if iNdEx >= l { 11393 return 0, io.ErrUnexpectedEOF 11394 } 11395 b := dAtA[iNdEx] 11396 iNdEx++ 11397 wire |= (uint64(b) & 0x7F) << shift 11398 if b < 0x80 { 11399 break 11400 } 11401 } 11402 wireType := int(wire & 0x7) 11403 switch wireType { 11404 case 0: 11405 for shift := uint(0); ; shift += 7 { 11406 if shift >= 64 { 11407 return 0, ErrIntOverflowRepository 11408 } 11409 if iNdEx >= l { 11410 return 0, io.ErrUnexpectedEOF 11411 } 11412 iNdEx++ 11413 if dAtA[iNdEx-1] < 0x80 { 11414 break 11415 } 11416 } 11417 case 1: 11418 iNdEx += 8 11419 case 2: 11420 var length int 11421 for shift := uint(0); ; shift += 7 { 11422 if shift >= 64 { 11423 return 0, ErrIntOverflowRepository 11424 } 11425 if iNdEx >= l { 11426 return 0, io.ErrUnexpectedEOF 11427 } 11428 b := dAtA[iNdEx] 11429 iNdEx++ 11430 length |= (int(b) & 0x7F) << shift 11431 if b < 0x80 { 11432 break 11433 } 11434 } 11435 if length < 0 { 11436 return 0, ErrInvalidLengthRepository 11437 } 11438 iNdEx += length 11439 case 3: 11440 depth++ 11441 case 4: 11442 if depth == 0 { 11443 return 0, ErrUnexpectedEndOfGroupRepository 11444 } 11445 depth-- 11446 case 5: 11447 iNdEx += 4 11448 default: 11449 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 11450 } 11451 if iNdEx < 0 { 11452 return 0, ErrInvalidLengthRepository 11453 } 11454 if depth == 0 { 11455 return iNdEx, nil 11456 } 11457 } 11458 return 0, io.ErrUnexpectedEOF 11459 } 11460 11461 var ( 11462 ErrInvalidLengthRepository = fmt.Errorf("proto: negative length found during unmarshaling") 11463 ErrIntOverflowRepository = fmt.Errorf("proto: integer overflow") 11464 ErrUnexpectedEndOfGroupRepository = fmt.Errorf("proto: unexpected end of group") 11465 )