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