github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/auth/model/model.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc (unknown) 5 // source: auth/model/model.proto 6 7 package model 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // message data model for model.User struct 25 type UserData struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 31 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 32 FriendlyName string `protobuf:"bytes,3,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` 33 Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` 34 EncryptedPassword []byte `protobuf:"bytes,5,opt,name=encrypted_password,json=encryptedPassword,proto3" json:"encrypted_password,omitempty"` 35 Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` 36 ExternalId string `protobuf:"bytes,7,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` 37 } 38 39 func (x *UserData) Reset() { 40 *x = UserData{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_auth_model_model_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *UserData) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*UserData) ProtoMessage() {} 53 54 func (x *UserData) ProtoReflect() protoreflect.Message { 55 mi := &file_auth_model_model_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 UserData.ProtoReflect.Descriptor instead. 67 func (*UserData) Descriptor() ([]byte, []int) { 68 return file_auth_model_model_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *UserData) GetCreatedAt() *timestamppb.Timestamp { 72 if x != nil { 73 return x.CreatedAt 74 } 75 return nil 76 } 77 78 func (x *UserData) GetUsername() string { 79 if x != nil { 80 return x.Username 81 } 82 return "" 83 } 84 85 func (x *UserData) GetFriendlyName() string { 86 if x != nil { 87 return x.FriendlyName 88 } 89 return "" 90 } 91 92 func (x *UserData) GetEmail() string { 93 if x != nil { 94 return x.Email 95 } 96 return "" 97 } 98 99 func (x *UserData) GetEncryptedPassword() []byte { 100 if x != nil { 101 return x.EncryptedPassword 102 } 103 return nil 104 } 105 106 func (x *UserData) GetSource() string { 107 if x != nil { 108 return x.Source 109 } 110 return "" 111 } 112 113 func (x *UserData) GetExternalId() string { 114 if x != nil { 115 return x.ExternalId 116 } 117 return "" 118 } 119 120 // message data model for model.Group struct 121 type GroupData struct { 122 state protoimpl.MessageState 123 sizeCache protoimpl.SizeCache 124 unknownFields protoimpl.UnknownFields 125 126 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 127 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 128 } 129 130 func (x *GroupData) Reset() { 131 *x = GroupData{} 132 if protoimpl.UnsafeEnabled { 133 mi := &file_auth_model_model_proto_msgTypes[1] 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 ms.StoreMessageInfo(mi) 136 } 137 } 138 139 func (x *GroupData) String() string { 140 return protoimpl.X.MessageStringOf(x) 141 } 142 143 func (*GroupData) ProtoMessage() {} 144 145 func (x *GroupData) ProtoReflect() protoreflect.Message { 146 mi := &file_auth_model_model_proto_msgTypes[1] 147 if protoimpl.UnsafeEnabled && x != nil { 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 if ms.LoadMessageInfo() == nil { 150 ms.StoreMessageInfo(mi) 151 } 152 return ms 153 } 154 return mi.MessageOf(x) 155 } 156 157 // Deprecated: Use GroupData.ProtoReflect.Descriptor instead. 158 func (*GroupData) Descriptor() ([]byte, []int) { 159 return file_auth_model_model_proto_rawDescGZIP(), []int{1} 160 } 161 162 func (x *GroupData) GetCreatedAt() *timestamppb.Timestamp { 163 if x != nil { 164 return x.CreatedAt 165 } 166 return nil 167 } 168 169 func (x *GroupData) GetDisplayName() string { 170 if x != nil { 171 return x.DisplayName 172 } 173 return "" 174 } 175 176 // message data model for model.ACL struct 177 type ACLData struct { 178 state protoimpl.MessageState 179 sizeCache protoimpl.SizeCache 180 unknownFields protoimpl.UnknownFields 181 182 Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` 183 // Deprecated: Marked as deprecated in auth/model/model.proto. 184 AllRepositories bool `protobuf:"varint,2,opt,name=all_repositories,json=allRepositories,proto3" json:"all_repositories,omitempty"` 185 // Deprecated: Marked as deprecated in auth/model/model.proto. 186 Repositories []string `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"` 187 } 188 189 func (x *ACLData) Reset() { 190 *x = ACLData{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_auth_model_model_proto_msgTypes[2] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196 } 197 198 func (x *ACLData) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*ACLData) ProtoMessage() {} 203 204 func (x *ACLData) ProtoReflect() protoreflect.Message { 205 mi := &file_auth_model_model_proto_msgTypes[2] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use ACLData.ProtoReflect.Descriptor instead. 217 func (*ACLData) Descriptor() ([]byte, []int) { 218 return file_auth_model_model_proto_rawDescGZIP(), []int{2} 219 } 220 221 func (x *ACLData) GetPermission() string { 222 if x != nil { 223 return x.Permission 224 } 225 return "" 226 } 227 228 // Deprecated: Marked as deprecated in auth/model/model.proto. 229 func (x *ACLData) GetAllRepositories() bool { 230 if x != nil { 231 return x.AllRepositories 232 } 233 return false 234 } 235 236 // Deprecated: Marked as deprecated in auth/model/model.proto. 237 func (x *ACLData) GetRepositories() []string { 238 if x != nil { 239 return x.Repositories 240 } 241 return nil 242 } 243 244 // message data model for model.Policy struct 245 type PolicyData struct { 246 state protoimpl.MessageState 247 sizeCache protoimpl.SizeCache 248 unknownFields protoimpl.UnknownFields 249 250 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 251 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 252 Statements []*StatementData `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty"` 253 Acl *ACLData `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"` 254 } 255 256 func (x *PolicyData) Reset() { 257 *x = PolicyData{} 258 if protoimpl.UnsafeEnabled { 259 mi := &file_auth_model_model_proto_msgTypes[3] 260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 261 ms.StoreMessageInfo(mi) 262 } 263 } 264 265 func (x *PolicyData) String() string { 266 return protoimpl.X.MessageStringOf(x) 267 } 268 269 func (*PolicyData) ProtoMessage() {} 270 271 func (x *PolicyData) ProtoReflect() protoreflect.Message { 272 mi := &file_auth_model_model_proto_msgTypes[3] 273 if protoimpl.UnsafeEnabled && x != nil { 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 if ms.LoadMessageInfo() == nil { 276 ms.StoreMessageInfo(mi) 277 } 278 return ms 279 } 280 return mi.MessageOf(x) 281 } 282 283 // Deprecated: Use PolicyData.ProtoReflect.Descriptor instead. 284 func (*PolicyData) Descriptor() ([]byte, []int) { 285 return file_auth_model_model_proto_rawDescGZIP(), []int{3} 286 } 287 288 func (x *PolicyData) GetCreatedAt() *timestamppb.Timestamp { 289 if x != nil { 290 return x.CreatedAt 291 } 292 return nil 293 } 294 295 func (x *PolicyData) GetDisplayName() string { 296 if x != nil { 297 return x.DisplayName 298 } 299 return "" 300 } 301 302 func (x *PolicyData) GetStatements() []*StatementData { 303 if x != nil { 304 return x.Statements 305 } 306 return nil 307 } 308 309 func (x *PolicyData) GetAcl() *ACLData { 310 if x != nil { 311 return x.Acl 312 } 313 return nil 314 } 315 316 // message data model for model.Credential struct 317 type CredentialData struct { 318 state protoimpl.MessageState 319 sizeCache protoimpl.SizeCache 320 unknownFields protoimpl.UnknownFields 321 322 AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` 323 SecretAccessKeyEncryptedBytes []byte `protobuf:"bytes,2,opt,name=secret_access_key_encrypted_bytes,json=secretAccessKeyEncryptedBytes,proto3" json:"secret_access_key_encrypted_bytes,omitempty"` 324 IssuedDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_date,json=issuedDate,proto3" json:"issued_date,omitempty"` 325 UserId []byte `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` 326 } 327 328 func (x *CredentialData) Reset() { 329 *x = CredentialData{} 330 if protoimpl.UnsafeEnabled { 331 mi := &file_auth_model_model_proto_msgTypes[4] 332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 333 ms.StoreMessageInfo(mi) 334 } 335 } 336 337 func (x *CredentialData) String() string { 338 return protoimpl.X.MessageStringOf(x) 339 } 340 341 func (*CredentialData) ProtoMessage() {} 342 343 func (x *CredentialData) ProtoReflect() protoreflect.Message { 344 mi := &file_auth_model_model_proto_msgTypes[4] 345 if protoimpl.UnsafeEnabled && x != nil { 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 if ms.LoadMessageInfo() == nil { 348 ms.StoreMessageInfo(mi) 349 } 350 return ms 351 } 352 return mi.MessageOf(x) 353 } 354 355 // Deprecated: Use CredentialData.ProtoReflect.Descriptor instead. 356 func (*CredentialData) Descriptor() ([]byte, []int) { 357 return file_auth_model_model_proto_rawDescGZIP(), []int{4} 358 } 359 360 func (x *CredentialData) GetAccessKeyId() string { 361 if x != nil { 362 return x.AccessKeyId 363 } 364 return "" 365 } 366 367 func (x *CredentialData) GetSecretAccessKeyEncryptedBytes() []byte { 368 if x != nil { 369 return x.SecretAccessKeyEncryptedBytes 370 } 371 return nil 372 } 373 374 func (x *CredentialData) GetIssuedDate() *timestamppb.Timestamp { 375 if x != nil { 376 return x.IssuedDate 377 } 378 return nil 379 } 380 381 func (x *CredentialData) GetUserId() []byte { 382 if x != nil { 383 return x.UserId 384 } 385 return nil 386 } 387 388 // message data model for model.Statement struct 389 type StatementData struct { 390 state protoimpl.MessageState 391 sizeCache protoimpl.SizeCache 392 unknownFields protoimpl.UnknownFields 393 394 Effect string `protobuf:"bytes,1,opt,name=effect,proto3" json:"effect,omitempty"` 395 Action []string `protobuf:"bytes,2,rep,name=action,proto3" json:"action,omitempty"` 396 Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` 397 } 398 399 func (x *StatementData) Reset() { 400 *x = StatementData{} 401 if protoimpl.UnsafeEnabled { 402 mi := &file_auth_model_model_proto_msgTypes[5] 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 ms.StoreMessageInfo(mi) 405 } 406 } 407 408 func (x *StatementData) String() string { 409 return protoimpl.X.MessageStringOf(x) 410 } 411 412 func (*StatementData) ProtoMessage() {} 413 414 func (x *StatementData) ProtoReflect() protoreflect.Message { 415 mi := &file_auth_model_model_proto_msgTypes[5] 416 if protoimpl.UnsafeEnabled && x != nil { 417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 418 if ms.LoadMessageInfo() == nil { 419 ms.StoreMessageInfo(mi) 420 } 421 return ms 422 } 423 return mi.MessageOf(x) 424 } 425 426 // Deprecated: Use StatementData.ProtoReflect.Descriptor instead. 427 func (*StatementData) Descriptor() ([]byte, []int) { 428 return file_auth_model_model_proto_rawDescGZIP(), []int{5} 429 } 430 431 func (x *StatementData) GetEffect() string { 432 if x != nil { 433 return x.Effect 434 } 435 return "" 436 } 437 438 func (x *StatementData) GetAction() []string { 439 if x != nil { 440 return x.Action 441 } 442 return nil 443 } 444 445 func (x *StatementData) GetResource() string { 446 if x != nil { 447 return x.Resource 448 } 449 return "" 450 } 451 452 // message data model for rest password token 453 type TokenData struct { 454 state protoimpl.MessageState 455 sizeCache protoimpl.SizeCache 456 unknownFields protoimpl.UnknownFields 457 458 TokenId string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` 459 ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` 460 } 461 462 func (x *TokenData) Reset() { 463 *x = TokenData{} 464 if protoimpl.UnsafeEnabled { 465 mi := &file_auth_model_model_proto_msgTypes[6] 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 ms.StoreMessageInfo(mi) 468 } 469 } 470 471 func (x *TokenData) String() string { 472 return protoimpl.X.MessageStringOf(x) 473 } 474 475 func (*TokenData) ProtoMessage() {} 476 477 func (x *TokenData) ProtoReflect() protoreflect.Message { 478 mi := &file_auth_model_model_proto_msgTypes[6] 479 if protoimpl.UnsafeEnabled && x != nil { 480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 481 if ms.LoadMessageInfo() == nil { 482 ms.StoreMessageInfo(mi) 483 } 484 return ms 485 } 486 return mi.MessageOf(x) 487 } 488 489 // Deprecated: Use TokenData.ProtoReflect.Descriptor instead. 490 func (*TokenData) Descriptor() ([]byte, []int) { 491 return file_auth_model_model_proto_rawDescGZIP(), []int{6} 492 } 493 494 func (x *TokenData) GetTokenId() string { 495 if x != nil { 496 return x.TokenId 497 } 498 return "" 499 } 500 501 func (x *TokenData) GetExpiredAt() *timestamppb.Timestamp { 502 if x != nil { 503 return x.ExpiredAt 504 } 505 return nil 506 } 507 508 // message data model for repositories / all repositories in UI 509 type RepositoriesData struct { 510 state protoimpl.MessageState 511 sizeCache protoimpl.SizeCache 512 unknownFields protoimpl.UnknownFields 513 514 All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` 515 List []string `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` 516 } 517 518 func (x *RepositoriesData) Reset() { 519 *x = RepositoriesData{} 520 if protoimpl.UnsafeEnabled { 521 mi := &file_auth_model_model_proto_msgTypes[7] 522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 523 ms.StoreMessageInfo(mi) 524 } 525 } 526 527 func (x *RepositoriesData) String() string { 528 return protoimpl.X.MessageStringOf(x) 529 } 530 531 func (*RepositoriesData) ProtoMessage() {} 532 533 func (x *RepositoriesData) ProtoReflect() protoreflect.Message { 534 mi := &file_auth_model_model_proto_msgTypes[7] 535 if protoimpl.UnsafeEnabled && x != nil { 536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 537 if ms.LoadMessageInfo() == nil { 538 ms.StoreMessageInfo(mi) 539 } 540 return ms 541 } 542 return mi.MessageOf(x) 543 } 544 545 // Deprecated: Use RepositoriesData.ProtoReflect.Descriptor instead. 546 func (*RepositoriesData) Descriptor() ([]byte, []int) { 547 return file_auth_model_model_proto_rawDescGZIP(), []int{7} 548 } 549 550 func (x *RepositoriesData) GetAll() bool { 551 if x != nil { 552 return x.All 553 } 554 return false 555 } 556 557 func (x *RepositoriesData) GetList() []string { 558 if x != nil { 559 return x.List 560 } 561 return nil 562 } 563 564 // message data model for UI structure 565 type UIData struct { 566 state protoimpl.MessageState 567 sizeCache protoimpl.SizeCache 568 unknownFields protoimpl.UnknownFields 569 570 Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` 571 Repositories *RepositoriesData `protobuf:"bytes,2,opt,name=repositories,proto3" json:"repositories,omitempty"` 572 } 573 574 func (x *UIData) Reset() { 575 *x = UIData{} 576 if protoimpl.UnsafeEnabled { 577 mi := &file_auth_model_model_proto_msgTypes[8] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 ms.StoreMessageInfo(mi) 580 } 581 } 582 583 func (x *UIData) String() string { 584 return protoimpl.X.MessageStringOf(x) 585 } 586 587 func (*UIData) ProtoMessage() {} 588 589 func (x *UIData) ProtoReflect() protoreflect.Message { 590 mi := &file_auth_model_model_proto_msgTypes[8] 591 if protoimpl.UnsafeEnabled && x != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(x) 599 } 600 601 // Deprecated: Use UIData.ProtoReflect.Descriptor instead. 602 func (*UIData) Descriptor() ([]byte, []int) { 603 return file_auth_model_model_proto_rawDescGZIP(), []int{8} 604 } 605 606 func (x *UIData) GetPermission() string { 607 if x != nil { 608 return x.Permission 609 } 610 return "" 611 } 612 613 func (x *UIData) GetRepositories() *RepositoriesData { 614 if x != nil { 615 return x.Repositories 616 } 617 return nil 618 } 619 620 var File_auth_model_model_proto protoreflect.FileDescriptor 621 622 var file_auth_model_model_proto_rawDesc = []byte{ 623 0x0a, 0x16, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 624 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 625 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x61, 0x75, 626 0x74, 0x68, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 627 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 628 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x02, 0x0a, 0x08, 0x55, 0x73, 629 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 630 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 631 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 632 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 633 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 634 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 635 0x0d, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 636 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x6c, 0x79, 0x4e, 0x61, 637 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 638 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x6e, 0x63, 0x72, 639 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 640 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x50, 641 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 642 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 643 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 644 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 645 0x22, 0x69, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 646 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 647 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 648 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 649 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 650 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 651 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x07, 652 0x41, 0x43, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 653 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 654 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 655 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 656 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 657 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 658 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 659 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xf4, 660 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 661 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 662 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 663 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 664 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 665 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 666 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x73, 667 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 668 0x2d, 0x2e, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x6c, 669 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 670 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 671 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x03, 0x61, 0x63, 672 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 673 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x61, 0x75, 674 0x74, 0x68, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x41, 0x43, 0x4c, 0x44, 0x61, 0x74, 0x61, 675 0x52, 0x03, 0x61, 0x63, 0x6c, 0x22, 0xd4, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 676 0x74, 0x69, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 677 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 678 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x21, 679 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 680 0x79, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 681 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 682 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 683 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 684 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 685 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 686 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x44, 687 0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 688 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x0d, 689 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 690 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 691 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 692 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 693 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 694 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x61, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 695 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 696 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 697 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 698 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 699 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 700 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x22, 0x38, 0x0a, 0x10, 701 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 702 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 703 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 704 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7e, 0x0a, 0x06, 0x55, 0x49, 0x44, 0x61, 0x74, 0x61, 705 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 706 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 707 0x12, 0x54, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 708 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 0x65, 709 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x61, 0x75, 0x74, 710 0x68, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 711 0x72, 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 712 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 713 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2f, 0x6c, 714 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 715 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 716 } 717 718 var ( 719 file_auth_model_model_proto_rawDescOnce sync.Once 720 file_auth_model_model_proto_rawDescData = file_auth_model_model_proto_rawDesc 721 ) 722 723 func file_auth_model_model_proto_rawDescGZIP() []byte { 724 file_auth_model_model_proto_rawDescOnce.Do(func() { 725 file_auth_model_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_model_model_proto_rawDescData) 726 }) 727 return file_auth_model_model_proto_rawDescData 728 } 729 730 var file_auth_model_model_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 731 var file_auth_model_model_proto_goTypes = []interface{}{ 732 (*UserData)(nil), // 0: io.treeverse.lakefs.auth.model.UserData 733 (*GroupData)(nil), // 1: io.treeverse.lakefs.auth.model.GroupData 734 (*ACLData)(nil), // 2: io.treeverse.lakefs.auth.model.ACLData 735 (*PolicyData)(nil), // 3: io.treeverse.lakefs.auth.model.PolicyData 736 (*CredentialData)(nil), // 4: io.treeverse.lakefs.auth.model.CredentialData 737 (*StatementData)(nil), // 5: io.treeverse.lakefs.auth.model.StatementData 738 (*TokenData)(nil), // 6: io.treeverse.lakefs.auth.model.TokenData 739 (*RepositoriesData)(nil), // 7: io.treeverse.lakefs.auth.model.RepositoriesData 740 (*UIData)(nil), // 8: io.treeverse.lakefs.auth.model.UIData 741 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 742 } 743 var file_auth_model_model_proto_depIdxs = []int32{ 744 9, // 0: io.treeverse.lakefs.auth.model.UserData.created_at:type_name -> google.protobuf.Timestamp 745 9, // 1: io.treeverse.lakefs.auth.model.GroupData.created_at:type_name -> google.protobuf.Timestamp 746 9, // 2: io.treeverse.lakefs.auth.model.PolicyData.created_at:type_name -> google.protobuf.Timestamp 747 5, // 3: io.treeverse.lakefs.auth.model.PolicyData.statements:type_name -> io.treeverse.lakefs.auth.model.StatementData 748 2, // 4: io.treeverse.lakefs.auth.model.PolicyData.acl:type_name -> io.treeverse.lakefs.auth.model.ACLData 749 9, // 5: io.treeverse.lakefs.auth.model.CredentialData.issued_date:type_name -> google.protobuf.Timestamp 750 9, // 6: io.treeverse.lakefs.auth.model.TokenData.expired_at:type_name -> google.protobuf.Timestamp 751 7, // 7: io.treeverse.lakefs.auth.model.UIData.repositories:type_name -> io.treeverse.lakefs.auth.model.RepositoriesData 752 8, // [8:8] is the sub-list for method output_type 753 8, // [8:8] is the sub-list for method input_type 754 8, // [8:8] is the sub-list for extension type_name 755 8, // [8:8] is the sub-list for extension extendee 756 0, // [0:8] is the sub-list for field type_name 757 } 758 759 func init() { file_auth_model_model_proto_init() } 760 func file_auth_model_model_proto_init() { 761 if File_auth_model_model_proto != nil { 762 return 763 } 764 if !protoimpl.UnsafeEnabled { 765 file_auth_model_model_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 766 switch v := v.(*UserData); i { 767 case 0: 768 return &v.state 769 case 1: 770 return &v.sizeCache 771 case 2: 772 return &v.unknownFields 773 default: 774 return nil 775 } 776 } 777 file_auth_model_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 778 switch v := v.(*GroupData); i { 779 case 0: 780 return &v.state 781 case 1: 782 return &v.sizeCache 783 case 2: 784 return &v.unknownFields 785 default: 786 return nil 787 } 788 } 789 file_auth_model_model_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 790 switch v := v.(*ACLData); i { 791 case 0: 792 return &v.state 793 case 1: 794 return &v.sizeCache 795 case 2: 796 return &v.unknownFields 797 default: 798 return nil 799 } 800 } 801 file_auth_model_model_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 802 switch v := v.(*PolicyData); i { 803 case 0: 804 return &v.state 805 case 1: 806 return &v.sizeCache 807 case 2: 808 return &v.unknownFields 809 default: 810 return nil 811 } 812 } 813 file_auth_model_model_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 814 switch v := v.(*CredentialData); i { 815 case 0: 816 return &v.state 817 case 1: 818 return &v.sizeCache 819 case 2: 820 return &v.unknownFields 821 default: 822 return nil 823 } 824 } 825 file_auth_model_model_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 826 switch v := v.(*StatementData); i { 827 case 0: 828 return &v.state 829 case 1: 830 return &v.sizeCache 831 case 2: 832 return &v.unknownFields 833 default: 834 return nil 835 } 836 } 837 file_auth_model_model_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 838 switch v := v.(*TokenData); i { 839 case 0: 840 return &v.state 841 case 1: 842 return &v.sizeCache 843 case 2: 844 return &v.unknownFields 845 default: 846 return nil 847 } 848 } 849 file_auth_model_model_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 850 switch v := v.(*RepositoriesData); i { 851 case 0: 852 return &v.state 853 case 1: 854 return &v.sizeCache 855 case 2: 856 return &v.unknownFields 857 default: 858 return nil 859 } 860 } 861 file_auth_model_model_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 862 switch v := v.(*UIData); i { 863 case 0: 864 return &v.state 865 case 1: 866 return &v.sizeCache 867 case 2: 868 return &v.unknownFields 869 default: 870 return nil 871 } 872 } 873 } 874 type x struct{} 875 out := protoimpl.TypeBuilder{ 876 File: protoimpl.DescBuilder{ 877 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 878 RawDescriptor: file_auth_model_model_proto_rawDesc, 879 NumEnums: 0, 880 NumMessages: 9, 881 NumExtensions: 0, 882 NumServices: 0, 883 }, 884 GoTypes: file_auth_model_model_proto_goTypes, 885 DependencyIndexes: file_auth_model_model_proto_depIdxs, 886 MessageInfos: file_auth_model_model_proto_msgTypes, 887 }.Build() 888 File_auth_model_model_proto = out.File 889 file_auth_model_model_proto_rawDesc = nil 890 file_auth_model_model_proto_goTypes = nil 891 file_auth_model_model_proto_depIdxs = nil 892 }