github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/rpc/cache/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.4 5 // source: rpc/cache/service.proto 6 7 package cache 8 9 import ( 10 common "github.com/devseccon/trivy/rpc/common" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 emptypb "google.golang.org/protobuf/types/known/emptypb" 14 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type ArtifactInfo struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 SchemaVersion int32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` 32 Architecture string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"` 33 Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` 34 DockerVersion string `protobuf:"bytes,4,opt,name=docker_version,json=dockerVersion,proto3" json:"docker_version,omitempty"` 35 Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` 36 HistoryPackages []*common.Package `protobuf:"bytes,6,rep,name=history_packages,json=historyPackages,proto3" json:"history_packages,omitempty"` 37 } 38 39 func (x *ArtifactInfo) Reset() { 40 *x = ArtifactInfo{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_rpc_cache_service_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *ArtifactInfo) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*ArtifactInfo) ProtoMessage() {} 53 54 func (x *ArtifactInfo) ProtoReflect() protoreflect.Message { 55 mi := &file_rpc_cache_service_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use ArtifactInfo.ProtoReflect.Descriptor instead. 67 func (*ArtifactInfo) Descriptor() ([]byte, []int) { 68 return file_rpc_cache_service_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *ArtifactInfo) GetSchemaVersion() int32 { 72 if x != nil { 73 return x.SchemaVersion 74 } 75 return 0 76 } 77 78 func (x *ArtifactInfo) GetArchitecture() string { 79 if x != nil { 80 return x.Architecture 81 } 82 return "" 83 } 84 85 func (x *ArtifactInfo) GetCreated() *timestamppb.Timestamp { 86 if x != nil { 87 return x.Created 88 } 89 return nil 90 } 91 92 func (x *ArtifactInfo) GetDockerVersion() string { 93 if x != nil { 94 return x.DockerVersion 95 } 96 return "" 97 } 98 99 func (x *ArtifactInfo) GetOs() string { 100 if x != nil { 101 return x.Os 102 } 103 return "" 104 } 105 106 func (x *ArtifactInfo) GetHistoryPackages() []*common.Package { 107 if x != nil { 108 return x.HistoryPackages 109 } 110 return nil 111 } 112 113 type PutArtifactRequest struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 118 ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` 119 ArtifactInfo *ArtifactInfo `protobuf:"bytes,2,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"` 120 } 121 122 func (x *PutArtifactRequest) Reset() { 123 *x = PutArtifactRequest{} 124 if protoimpl.UnsafeEnabled { 125 mi := &file_rpc_cache_service_proto_msgTypes[1] 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 ms.StoreMessageInfo(mi) 128 } 129 } 130 131 func (x *PutArtifactRequest) String() string { 132 return protoimpl.X.MessageStringOf(x) 133 } 134 135 func (*PutArtifactRequest) ProtoMessage() {} 136 137 func (x *PutArtifactRequest) ProtoReflect() protoreflect.Message { 138 mi := &file_rpc_cache_service_proto_msgTypes[1] 139 if protoimpl.UnsafeEnabled && x != nil { 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 if ms.LoadMessageInfo() == nil { 142 ms.StoreMessageInfo(mi) 143 } 144 return ms 145 } 146 return mi.MessageOf(x) 147 } 148 149 // Deprecated: Use PutArtifactRequest.ProtoReflect.Descriptor instead. 150 func (*PutArtifactRequest) Descriptor() ([]byte, []int) { 151 return file_rpc_cache_service_proto_rawDescGZIP(), []int{1} 152 } 153 154 func (x *PutArtifactRequest) GetArtifactId() string { 155 if x != nil { 156 return x.ArtifactId 157 } 158 return "" 159 } 160 161 func (x *PutArtifactRequest) GetArtifactInfo() *ArtifactInfo { 162 if x != nil { 163 return x.ArtifactInfo 164 } 165 return nil 166 } 167 168 type BlobInfo struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 SchemaVersion int32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` 174 Os *common.OS `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` 175 Repository *common.Repository `protobuf:"bytes,11,opt,name=repository,proto3" json:"repository,omitempty"` 176 PackageInfos []*common.PackageInfo `protobuf:"bytes,3,rep,name=package_infos,json=packageInfos,proto3" json:"package_infos,omitempty"` 177 Applications []*common.Application `protobuf:"bytes,4,rep,name=applications,proto3" json:"applications,omitempty"` 178 Misconfigurations []*common.Misconfiguration `protobuf:"bytes,9,rep,name=misconfigurations,proto3" json:"misconfigurations,omitempty"` 179 OpaqueDirs []string `protobuf:"bytes,5,rep,name=opaque_dirs,json=opaqueDirs,proto3" json:"opaque_dirs,omitempty"` 180 WhiteoutFiles []string `protobuf:"bytes,6,rep,name=whiteout_files,json=whiteoutFiles,proto3" json:"whiteout_files,omitempty"` 181 Digest string `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"` 182 DiffId string `protobuf:"bytes,8,opt,name=diff_id,json=diffId,proto3" json:"diff_id,omitempty"` 183 CustomResources []*common.CustomResource `protobuf:"bytes,10,rep,name=custom_resources,json=customResources,proto3" json:"custom_resources,omitempty"` 184 Secrets []*common.Secret `protobuf:"bytes,12,rep,name=secrets,proto3" json:"secrets,omitempty"` 185 Licenses []*common.LicenseFile `protobuf:"bytes,13,rep,name=licenses,proto3" json:"licenses,omitempty"` 186 } 187 188 func (x *BlobInfo) Reset() { 189 *x = BlobInfo{} 190 if protoimpl.UnsafeEnabled { 191 mi := &file_rpc_cache_service_proto_msgTypes[2] 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 ms.StoreMessageInfo(mi) 194 } 195 } 196 197 func (x *BlobInfo) String() string { 198 return protoimpl.X.MessageStringOf(x) 199 } 200 201 func (*BlobInfo) ProtoMessage() {} 202 203 func (x *BlobInfo) ProtoReflect() protoreflect.Message { 204 mi := &file_rpc_cache_service_proto_msgTypes[2] 205 if protoimpl.UnsafeEnabled && x != nil { 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 if ms.LoadMessageInfo() == nil { 208 ms.StoreMessageInfo(mi) 209 } 210 return ms 211 } 212 return mi.MessageOf(x) 213 } 214 215 // Deprecated: Use BlobInfo.ProtoReflect.Descriptor instead. 216 func (*BlobInfo) Descriptor() ([]byte, []int) { 217 return file_rpc_cache_service_proto_rawDescGZIP(), []int{2} 218 } 219 220 func (x *BlobInfo) GetSchemaVersion() int32 { 221 if x != nil { 222 return x.SchemaVersion 223 } 224 return 0 225 } 226 227 func (x *BlobInfo) GetOs() *common.OS { 228 if x != nil { 229 return x.Os 230 } 231 return nil 232 } 233 234 func (x *BlobInfo) GetRepository() *common.Repository { 235 if x != nil { 236 return x.Repository 237 } 238 return nil 239 } 240 241 func (x *BlobInfo) GetPackageInfos() []*common.PackageInfo { 242 if x != nil { 243 return x.PackageInfos 244 } 245 return nil 246 } 247 248 func (x *BlobInfo) GetApplications() []*common.Application { 249 if x != nil { 250 return x.Applications 251 } 252 return nil 253 } 254 255 func (x *BlobInfo) GetMisconfigurations() []*common.Misconfiguration { 256 if x != nil { 257 return x.Misconfigurations 258 } 259 return nil 260 } 261 262 func (x *BlobInfo) GetOpaqueDirs() []string { 263 if x != nil { 264 return x.OpaqueDirs 265 } 266 return nil 267 } 268 269 func (x *BlobInfo) GetWhiteoutFiles() []string { 270 if x != nil { 271 return x.WhiteoutFiles 272 } 273 return nil 274 } 275 276 func (x *BlobInfo) GetDigest() string { 277 if x != nil { 278 return x.Digest 279 } 280 return "" 281 } 282 283 func (x *BlobInfo) GetDiffId() string { 284 if x != nil { 285 return x.DiffId 286 } 287 return "" 288 } 289 290 func (x *BlobInfo) GetCustomResources() []*common.CustomResource { 291 if x != nil { 292 return x.CustomResources 293 } 294 return nil 295 } 296 297 func (x *BlobInfo) GetSecrets() []*common.Secret { 298 if x != nil { 299 return x.Secrets 300 } 301 return nil 302 } 303 304 func (x *BlobInfo) GetLicenses() []*common.LicenseFile { 305 if x != nil { 306 return x.Licenses 307 } 308 return nil 309 } 310 311 type PutBlobRequest struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 316 DiffId string `protobuf:"bytes,1,opt,name=diff_id,json=diffId,proto3" json:"diff_id,omitempty"` 317 BlobInfo *BlobInfo `protobuf:"bytes,3,opt,name=blob_info,json=blobInfo,proto3" json:"blob_info,omitempty"` 318 } 319 320 func (x *PutBlobRequest) Reset() { 321 *x = PutBlobRequest{} 322 if protoimpl.UnsafeEnabled { 323 mi := &file_rpc_cache_service_proto_msgTypes[3] 324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 325 ms.StoreMessageInfo(mi) 326 } 327 } 328 329 func (x *PutBlobRequest) String() string { 330 return protoimpl.X.MessageStringOf(x) 331 } 332 333 func (*PutBlobRequest) ProtoMessage() {} 334 335 func (x *PutBlobRequest) ProtoReflect() protoreflect.Message { 336 mi := &file_rpc_cache_service_proto_msgTypes[3] 337 if protoimpl.UnsafeEnabled && x != nil { 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 if ms.LoadMessageInfo() == nil { 340 ms.StoreMessageInfo(mi) 341 } 342 return ms 343 } 344 return mi.MessageOf(x) 345 } 346 347 // Deprecated: Use PutBlobRequest.ProtoReflect.Descriptor instead. 348 func (*PutBlobRequest) Descriptor() ([]byte, []int) { 349 return file_rpc_cache_service_proto_rawDescGZIP(), []int{3} 350 } 351 352 func (x *PutBlobRequest) GetDiffId() string { 353 if x != nil { 354 return x.DiffId 355 } 356 return "" 357 } 358 359 func (x *PutBlobRequest) GetBlobInfo() *BlobInfo { 360 if x != nil { 361 return x.BlobInfo 362 } 363 return nil 364 } 365 366 type PutResponse struct { 367 state protoimpl.MessageState 368 sizeCache protoimpl.SizeCache 369 unknownFields protoimpl.UnknownFields 370 371 Os *common.OS `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` 372 Eosl bool `protobuf:"varint,2,opt,name=eosl,proto3" json:"eosl,omitempty"` 373 } 374 375 func (x *PutResponse) Reset() { 376 *x = PutResponse{} 377 if protoimpl.UnsafeEnabled { 378 mi := &file_rpc_cache_service_proto_msgTypes[4] 379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 380 ms.StoreMessageInfo(mi) 381 } 382 } 383 384 func (x *PutResponse) String() string { 385 return protoimpl.X.MessageStringOf(x) 386 } 387 388 func (*PutResponse) ProtoMessage() {} 389 390 func (x *PutResponse) ProtoReflect() protoreflect.Message { 391 mi := &file_rpc_cache_service_proto_msgTypes[4] 392 if protoimpl.UnsafeEnabled && x != nil { 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 if ms.LoadMessageInfo() == nil { 395 ms.StoreMessageInfo(mi) 396 } 397 return ms 398 } 399 return mi.MessageOf(x) 400 } 401 402 // Deprecated: Use PutResponse.ProtoReflect.Descriptor instead. 403 func (*PutResponse) Descriptor() ([]byte, []int) { 404 return file_rpc_cache_service_proto_rawDescGZIP(), []int{4} 405 } 406 407 func (x *PutResponse) GetOs() *common.OS { 408 if x != nil { 409 return x.Os 410 } 411 return nil 412 } 413 414 func (x *PutResponse) GetEosl() bool { 415 if x != nil { 416 return x.Eosl 417 } 418 return false 419 } 420 421 type MissingBlobsRequest struct { 422 state protoimpl.MessageState 423 sizeCache protoimpl.SizeCache 424 unknownFields protoimpl.UnknownFields 425 426 ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` 427 BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` 428 } 429 430 func (x *MissingBlobsRequest) Reset() { 431 *x = MissingBlobsRequest{} 432 if protoimpl.UnsafeEnabled { 433 mi := &file_rpc_cache_service_proto_msgTypes[5] 434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 435 ms.StoreMessageInfo(mi) 436 } 437 } 438 439 func (x *MissingBlobsRequest) String() string { 440 return protoimpl.X.MessageStringOf(x) 441 } 442 443 func (*MissingBlobsRequest) ProtoMessage() {} 444 445 func (x *MissingBlobsRequest) ProtoReflect() protoreflect.Message { 446 mi := &file_rpc_cache_service_proto_msgTypes[5] 447 if protoimpl.UnsafeEnabled && x != nil { 448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 449 if ms.LoadMessageInfo() == nil { 450 ms.StoreMessageInfo(mi) 451 } 452 return ms 453 } 454 return mi.MessageOf(x) 455 } 456 457 // Deprecated: Use MissingBlobsRequest.ProtoReflect.Descriptor instead. 458 func (*MissingBlobsRequest) Descriptor() ([]byte, []int) { 459 return file_rpc_cache_service_proto_rawDescGZIP(), []int{5} 460 } 461 462 func (x *MissingBlobsRequest) GetArtifactId() string { 463 if x != nil { 464 return x.ArtifactId 465 } 466 return "" 467 } 468 469 func (x *MissingBlobsRequest) GetBlobIds() []string { 470 if x != nil { 471 return x.BlobIds 472 } 473 return nil 474 } 475 476 type MissingBlobsResponse struct { 477 state protoimpl.MessageState 478 sizeCache protoimpl.SizeCache 479 unknownFields protoimpl.UnknownFields 480 481 MissingArtifact bool `protobuf:"varint,1,opt,name=missing_artifact,json=missingArtifact,proto3" json:"missing_artifact,omitempty"` 482 MissingBlobIds []string `protobuf:"bytes,2,rep,name=missing_blob_ids,json=missingBlobIds,proto3" json:"missing_blob_ids,omitempty"` 483 } 484 485 func (x *MissingBlobsResponse) Reset() { 486 *x = MissingBlobsResponse{} 487 if protoimpl.UnsafeEnabled { 488 mi := &file_rpc_cache_service_proto_msgTypes[6] 489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 490 ms.StoreMessageInfo(mi) 491 } 492 } 493 494 func (x *MissingBlobsResponse) String() string { 495 return protoimpl.X.MessageStringOf(x) 496 } 497 498 func (*MissingBlobsResponse) ProtoMessage() {} 499 500 func (x *MissingBlobsResponse) ProtoReflect() protoreflect.Message { 501 mi := &file_rpc_cache_service_proto_msgTypes[6] 502 if protoimpl.UnsafeEnabled && x != nil { 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 if ms.LoadMessageInfo() == nil { 505 ms.StoreMessageInfo(mi) 506 } 507 return ms 508 } 509 return mi.MessageOf(x) 510 } 511 512 // Deprecated: Use MissingBlobsResponse.ProtoReflect.Descriptor instead. 513 func (*MissingBlobsResponse) Descriptor() ([]byte, []int) { 514 return file_rpc_cache_service_proto_rawDescGZIP(), []int{6} 515 } 516 517 func (x *MissingBlobsResponse) GetMissingArtifact() bool { 518 if x != nil { 519 return x.MissingArtifact 520 } 521 return false 522 } 523 524 func (x *MissingBlobsResponse) GetMissingBlobIds() []string { 525 if x != nil { 526 return x.MissingBlobIds 527 } 528 return nil 529 } 530 531 type DeleteBlobsRequest struct { 532 state protoimpl.MessageState 533 sizeCache protoimpl.SizeCache 534 unknownFields protoimpl.UnknownFields 535 536 BlobIds []string `protobuf:"bytes,1,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` 537 } 538 539 func (x *DeleteBlobsRequest) Reset() { 540 *x = DeleteBlobsRequest{} 541 if protoimpl.UnsafeEnabled { 542 mi := &file_rpc_cache_service_proto_msgTypes[7] 543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 544 ms.StoreMessageInfo(mi) 545 } 546 } 547 548 func (x *DeleteBlobsRequest) String() string { 549 return protoimpl.X.MessageStringOf(x) 550 } 551 552 func (*DeleteBlobsRequest) ProtoMessage() {} 553 554 func (x *DeleteBlobsRequest) ProtoReflect() protoreflect.Message { 555 mi := &file_rpc_cache_service_proto_msgTypes[7] 556 if protoimpl.UnsafeEnabled && x != nil { 557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 558 if ms.LoadMessageInfo() == nil { 559 ms.StoreMessageInfo(mi) 560 } 561 return ms 562 } 563 return mi.MessageOf(x) 564 } 565 566 // Deprecated: Use DeleteBlobsRequest.ProtoReflect.Descriptor instead. 567 func (*DeleteBlobsRequest) Descriptor() ([]byte, []int) { 568 return file_rpc_cache_service_proto_rawDescGZIP(), []int{7} 569 } 570 571 func (x *DeleteBlobsRequest) GetBlobIds() []string { 572 if x != nil { 573 return x.BlobIds 574 } 575 return nil 576 } 577 578 var File_rpc_cache_service_proto protoreflect.FileDescriptor 579 580 var file_rpc_cache_service_proto_rawDesc = []byte{ 581 0x0a, 0x17, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 582 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x74, 0x72, 0x69, 0x76, 0x79, 583 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 584 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 585 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x72, 0x70, 0x63, 0x2f, 586 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 587 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 588 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 589 0x6f, 0x22, 0x88, 0x02, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x6e, 590 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 591 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 592 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 593 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 594 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 595 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 596 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 597 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 598 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x76, 0x65, 599 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x6f, 0x63, 600 0x6b, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 601 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x40, 0x0a, 0x10, 0x68, 0x69, 602 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 603 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 604 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x0f, 0x68, 0x69, 0x73, 605 0x74, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x78, 0x0a, 0x12, 606 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 607 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 608 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 609 0x74, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 610 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x72, 0x69, 611 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 612 0x66, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 613 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x83, 0x05, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x62, 0x49, 614 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 615 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x73, 0x63, 0x68, 616 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x02, 0x6f, 0x73, 617 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 618 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x53, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x38, 0x0a, 0x0a, 619 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 620 0x32, 0x18, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 621 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 622 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 623 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 624 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x63, 625 0x6b, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 626 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 627 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 628 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 629 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 630 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 631 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 632 0x32, 0x1e, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 633 0x4d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 634 0x52, 0x11, 0x6d, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 635 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x5f, 0x64, 0x69, 636 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 637 0x44, 0x69, 0x72, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6f, 0x75, 0x74, 638 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x68, 639 0x69, 0x74, 0x65, 0x6f, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 640 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 641 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x08, 642 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x66, 0x66, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x10, 643 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 644 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 645 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x6f, 646 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x6f, 647 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 648 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 649 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 650 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 651 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 652 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x46, 0x69, 653 0x6c, 0x65, 0x52, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x60, 0x0a, 0x0e, 654 0x50, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 655 0x0a, 0x07, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 656 0x06, 0x64, 0x69, 0x66, 0x66, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 657 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x72, 0x69, 658 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 659 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 660 0x0a, 0x0b, 0x50, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 661 0x02, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x72, 0x69, 0x76, 662 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x53, 0x52, 0x02, 0x6f, 0x73, 0x12, 663 0x12, 0x0a, 0x04, 0x65, 0x6f, 0x73, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x65, 664 0x6f, 0x73, 0x6c, 0x22, 0x51, 0x0a, 0x13, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 665 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 666 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 667 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 668 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 669 0x6c, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x22, 0x6b, 0x0a, 0x14, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 670 0x67, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 671 0x0a, 0x10, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 672 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 673 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x69, 0x73, 674 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 675 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x62, 676 0x49, 0x64, 0x73, 0x22, 0x2f, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6c, 0x6f, 677 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 678 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 679 0x62, 0x49, 0x64, 0x73, 0x32, 0xbb, 0x02, 0x0a, 0x05, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x49, 680 0x0a, 0x0b, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x22, 0x2e, 681 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 682 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 683 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 684 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x41, 0x0a, 0x07, 0x50, 0x75, 0x74, 685 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x1e, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 686 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 687 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 688 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x59, 0x0a, 0x0c, 689 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x23, 0x2e, 0x74, 690 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 691 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 692 0x74, 0x1a, 0x24, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 693 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 694 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 695 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x72, 0x69, 0x76, 0x79, 0x2e, 0x63, 696 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6c, 697 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 698 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 699 0x74, 0x79, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 700 0x2f, 0x61, 0x71, 0x75, 0x61, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x74, 0x72, 701 0x69, 0x76, 0x79, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x3b, 0x63, 0x61, 702 0x63, 0x68, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 703 } 704 705 var ( 706 file_rpc_cache_service_proto_rawDescOnce sync.Once 707 file_rpc_cache_service_proto_rawDescData = file_rpc_cache_service_proto_rawDesc 708 ) 709 710 func file_rpc_cache_service_proto_rawDescGZIP() []byte { 711 file_rpc_cache_service_proto_rawDescOnce.Do(func() { 712 file_rpc_cache_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_cache_service_proto_rawDescData) 713 }) 714 return file_rpc_cache_service_proto_rawDescData 715 } 716 717 var file_rpc_cache_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 718 var file_rpc_cache_service_proto_goTypes = []interface{}{ 719 (*ArtifactInfo)(nil), // 0: trivy.cache.v1.ArtifactInfo 720 (*PutArtifactRequest)(nil), // 1: trivy.cache.v1.PutArtifactRequest 721 (*BlobInfo)(nil), // 2: trivy.cache.v1.BlobInfo 722 (*PutBlobRequest)(nil), // 3: trivy.cache.v1.PutBlobRequest 723 (*PutResponse)(nil), // 4: trivy.cache.v1.PutResponse 724 (*MissingBlobsRequest)(nil), // 5: trivy.cache.v1.MissingBlobsRequest 725 (*MissingBlobsResponse)(nil), // 6: trivy.cache.v1.MissingBlobsResponse 726 (*DeleteBlobsRequest)(nil), // 7: trivy.cache.v1.DeleteBlobsRequest 727 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp 728 (*common.Package)(nil), // 9: trivy.common.Package 729 (*common.OS)(nil), // 10: trivy.common.OS 730 (*common.Repository)(nil), // 11: trivy.common.Repository 731 (*common.PackageInfo)(nil), // 12: trivy.common.PackageInfo 732 (*common.Application)(nil), // 13: trivy.common.Application 733 (*common.Misconfiguration)(nil), // 14: trivy.common.Misconfiguration 734 (*common.CustomResource)(nil), // 15: trivy.common.CustomResource 735 (*common.Secret)(nil), // 16: trivy.common.Secret 736 (*common.LicenseFile)(nil), // 17: trivy.common.LicenseFile 737 (*emptypb.Empty)(nil), // 18: google.protobuf.Empty 738 } 739 var file_rpc_cache_service_proto_depIdxs = []int32{ 740 8, // 0: trivy.cache.v1.ArtifactInfo.created:type_name -> google.protobuf.Timestamp 741 9, // 1: trivy.cache.v1.ArtifactInfo.history_packages:type_name -> trivy.common.Package 742 0, // 2: trivy.cache.v1.PutArtifactRequest.artifact_info:type_name -> trivy.cache.v1.ArtifactInfo 743 10, // 3: trivy.cache.v1.BlobInfo.os:type_name -> trivy.common.OS 744 11, // 4: trivy.cache.v1.BlobInfo.repository:type_name -> trivy.common.Repository 745 12, // 5: trivy.cache.v1.BlobInfo.package_infos:type_name -> trivy.common.PackageInfo 746 13, // 6: trivy.cache.v1.BlobInfo.applications:type_name -> trivy.common.Application 747 14, // 7: trivy.cache.v1.BlobInfo.misconfigurations:type_name -> trivy.common.Misconfiguration 748 15, // 8: trivy.cache.v1.BlobInfo.custom_resources:type_name -> trivy.common.CustomResource 749 16, // 9: trivy.cache.v1.BlobInfo.secrets:type_name -> trivy.common.Secret 750 17, // 10: trivy.cache.v1.BlobInfo.licenses:type_name -> trivy.common.LicenseFile 751 2, // 11: trivy.cache.v1.PutBlobRequest.blob_info:type_name -> trivy.cache.v1.BlobInfo 752 10, // 12: trivy.cache.v1.PutResponse.os:type_name -> trivy.common.OS 753 1, // 13: trivy.cache.v1.Cache.PutArtifact:input_type -> trivy.cache.v1.PutArtifactRequest 754 3, // 14: trivy.cache.v1.Cache.PutBlob:input_type -> trivy.cache.v1.PutBlobRequest 755 5, // 15: trivy.cache.v1.Cache.MissingBlobs:input_type -> trivy.cache.v1.MissingBlobsRequest 756 7, // 16: trivy.cache.v1.Cache.DeleteBlobs:input_type -> trivy.cache.v1.DeleteBlobsRequest 757 18, // 17: trivy.cache.v1.Cache.PutArtifact:output_type -> google.protobuf.Empty 758 18, // 18: trivy.cache.v1.Cache.PutBlob:output_type -> google.protobuf.Empty 759 6, // 19: trivy.cache.v1.Cache.MissingBlobs:output_type -> trivy.cache.v1.MissingBlobsResponse 760 18, // 20: trivy.cache.v1.Cache.DeleteBlobs:output_type -> google.protobuf.Empty 761 17, // [17:21] is the sub-list for method output_type 762 13, // [13:17] is the sub-list for method input_type 763 13, // [13:13] is the sub-list for extension type_name 764 13, // [13:13] is the sub-list for extension extendee 765 0, // [0:13] is the sub-list for field type_name 766 } 767 768 func init() { file_rpc_cache_service_proto_init() } 769 func file_rpc_cache_service_proto_init() { 770 if File_rpc_cache_service_proto != nil { 771 return 772 } 773 if !protoimpl.UnsafeEnabled { 774 file_rpc_cache_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 775 switch v := v.(*ArtifactInfo); i { 776 case 0: 777 return &v.state 778 case 1: 779 return &v.sizeCache 780 case 2: 781 return &v.unknownFields 782 default: 783 return nil 784 } 785 } 786 file_rpc_cache_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 787 switch v := v.(*PutArtifactRequest); i { 788 case 0: 789 return &v.state 790 case 1: 791 return &v.sizeCache 792 case 2: 793 return &v.unknownFields 794 default: 795 return nil 796 } 797 } 798 file_rpc_cache_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 799 switch v := v.(*BlobInfo); i { 800 case 0: 801 return &v.state 802 case 1: 803 return &v.sizeCache 804 case 2: 805 return &v.unknownFields 806 default: 807 return nil 808 } 809 } 810 file_rpc_cache_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 811 switch v := v.(*PutBlobRequest); i { 812 case 0: 813 return &v.state 814 case 1: 815 return &v.sizeCache 816 case 2: 817 return &v.unknownFields 818 default: 819 return nil 820 } 821 } 822 file_rpc_cache_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 823 switch v := v.(*PutResponse); i { 824 case 0: 825 return &v.state 826 case 1: 827 return &v.sizeCache 828 case 2: 829 return &v.unknownFields 830 default: 831 return nil 832 } 833 } 834 file_rpc_cache_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 835 switch v := v.(*MissingBlobsRequest); i { 836 case 0: 837 return &v.state 838 case 1: 839 return &v.sizeCache 840 case 2: 841 return &v.unknownFields 842 default: 843 return nil 844 } 845 } 846 file_rpc_cache_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 847 switch v := v.(*MissingBlobsResponse); i { 848 case 0: 849 return &v.state 850 case 1: 851 return &v.sizeCache 852 case 2: 853 return &v.unknownFields 854 default: 855 return nil 856 } 857 } 858 file_rpc_cache_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 859 switch v := v.(*DeleteBlobsRequest); i { 860 case 0: 861 return &v.state 862 case 1: 863 return &v.sizeCache 864 case 2: 865 return &v.unknownFields 866 default: 867 return nil 868 } 869 } 870 } 871 type x struct{} 872 out := protoimpl.TypeBuilder{ 873 File: protoimpl.DescBuilder{ 874 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 875 RawDescriptor: file_rpc_cache_service_proto_rawDesc, 876 NumEnums: 0, 877 NumMessages: 8, 878 NumExtensions: 0, 879 NumServices: 1, 880 }, 881 GoTypes: file_rpc_cache_service_proto_goTypes, 882 DependencyIndexes: file_rpc_cache_service_proto_depIdxs, 883 MessageInfos: file_rpc_cache_service_proto_msgTypes, 884 }.Build() 885 File_rpc_cache_service_proto = out.File 886 file_rpc_cache_service_proto_rawDesc = nil 887 file_rpc_cache_service_proto_goTypes = nil 888 file_rpc_cache_service_proto_depIdxs = nil 889 }