github.com/microsoft/moc@v0.17.1/rpc/cloudagent/security/moc_cloudagent_identity.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_identity.proto 3 4 package security 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 wrappers "github.com/golang/protobuf/ptypes/wrappers" 11 common "github.com/microsoft/moc/rpc/common" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 math "math" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 23 // This is a compile-time assertion to ensure that this generated file 24 // is compatible with the proto package it is being compiled against. 25 // A compilation error at this line likely means your copy of the 26 // proto package needs to be updated. 27 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 28 29 type IdentityRequest struct { 30 Identitys []*Identity `protobuf:"bytes,1,rep,name=Identitys,proto3" json:"Identitys,omitempty"` 31 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 32 XXX_NoUnkeyedLiteral struct{} `json:"-"` 33 XXX_unrecognized []byte `json:"-"` 34 XXX_sizecache int32 `json:"-"` 35 } 36 37 func (m *IdentityRequest) Reset() { *m = IdentityRequest{} } 38 func (m *IdentityRequest) String() string { return proto.CompactTextString(m) } 39 func (*IdentityRequest) ProtoMessage() {} 40 func (*IdentityRequest) Descriptor() ([]byte, []int) { 41 return fileDescriptor_df50a18f5e732c64, []int{0} 42 } 43 44 func (m *IdentityRequest) XXX_Unmarshal(b []byte) error { 45 return xxx_messageInfo_IdentityRequest.Unmarshal(m, b) 46 } 47 func (m *IdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 48 return xxx_messageInfo_IdentityRequest.Marshal(b, m, deterministic) 49 } 50 func (m *IdentityRequest) XXX_Merge(src proto.Message) { 51 xxx_messageInfo_IdentityRequest.Merge(m, src) 52 } 53 func (m *IdentityRequest) XXX_Size() int { 54 return xxx_messageInfo_IdentityRequest.Size(m) 55 } 56 func (m *IdentityRequest) XXX_DiscardUnknown() { 57 xxx_messageInfo_IdentityRequest.DiscardUnknown(m) 58 } 59 60 var xxx_messageInfo_IdentityRequest proto.InternalMessageInfo 61 62 func (m *IdentityRequest) GetIdentitys() []*Identity { 63 if m != nil { 64 return m.Identitys 65 } 66 return nil 67 } 68 69 func (m *IdentityRequest) GetOperationType() common.Operation { 70 if m != nil { 71 return m.OperationType 72 } 73 return common.Operation_GET 74 } 75 76 type IdentityResponse struct { 77 Identitys []*Identity `protobuf:"bytes,1,rep,name=Identitys,proto3" json:"Identitys,omitempty"` 78 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 79 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 80 XXX_NoUnkeyedLiteral struct{} `json:"-"` 81 XXX_unrecognized []byte `json:"-"` 82 XXX_sizecache int32 `json:"-"` 83 } 84 85 func (m *IdentityResponse) Reset() { *m = IdentityResponse{} } 86 func (m *IdentityResponse) String() string { return proto.CompactTextString(m) } 87 func (*IdentityResponse) ProtoMessage() {} 88 func (*IdentityResponse) Descriptor() ([]byte, []int) { 89 return fileDescriptor_df50a18f5e732c64, []int{1} 90 } 91 92 func (m *IdentityResponse) XXX_Unmarshal(b []byte) error { 93 return xxx_messageInfo_IdentityResponse.Unmarshal(m, b) 94 } 95 func (m *IdentityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 96 return xxx_messageInfo_IdentityResponse.Marshal(b, m, deterministic) 97 } 98 func (m *IdentityResponse) XXX_Merge(src proto.Message) { 99 xxx_messageInfo_IdentityResponse.Merge(m, src) 100 } 101 func (m *IdentityResponse) XXX_Size() int { 102 return xxx_messageInfo_IdentityResponse.Size(m) 103 } 104 func (m *IdentityResponse) XXX_DiscardUnknown() { 105 xxx_messageInfo_IdentityResponse.DiscardUnknown(m) 106 } 107 108 var xxx_messageInfo_IdentityResponse proto.InternalMessageInfo 109 110 func (m *IdentityResponse) GetIdentitys() []*Identity { 111 if m != nil { 112 return m.Identitys 113 } 114 return nil 115 } 116 117 func (m *IdentityResponse) GetResult() *wrappers.BoolValue { 118 if m != nil { 119 return m.Result 120 } 121 return nil 122 } 123 124 func (m *IdentityResponse) GetError() string { 125 if m != nil { 126 return m.Error 127 } 128 return "" 129 } 130 131 type IdentityOperationRequest struct { 132 Identities []*Identity `protobuf:"bytes,1,rep,name=Identities,proto3" json:"Identities,omitempty"` 133 OBSOLETE_OperationType common.IdentityOperation `protobuf:"varint,2,opt,name=OBSOLETE_OperationType,json=OBSOLETEOperationType,proto3,enum=moc.IdentityOperation" json:"OBSOLETE_OperationType,omitempty"` // Deprecated: Do not use. 134 OperationType common.ProviderAccessOperation `protobuf:"varint,3,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` 135 XXX_NoUnkeyedLiteral struct{} `json:"-"` 136 XXX_unrecognized []byte `json:"-"` 137 XXX_sizecache int32 `json:"-"` 138 } 139 140 func (m *IdentityOperationRequest) Reset() { *m = IdentityOperationRequest{} } 141 func (m *IdentityOperationRequest) String() string { return proto.CompactTextString(m) } 142 func (*IdentityOperationRequest) ProtoMessage() {} 143 func (*IdentityOperationRequest) Descriptor() ([]byte, []int) { 144 return fileDescriptor_df50a18f5e732c64, []int{2} 145 } 146 147 func (m *IdentityOperationRequest) XXX_Unmarshal(b []byte) error { 148 return xxx_messageInfo_IdentityOperationRequest.Unmarshal(m, b) 149 } 150 func (m *IdentityOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 151 return xxx_messageInfo_IdentityOperationRequest.Marshal(b, m, deterministic) 152 } 153 func (m *IdentityOperationRequest) XXX_Merge(src proto.Message) { 154 xxx_messageInfo_IdentityOperationRequest.Merge(m, src) 155 } 156 func (m *IdentityOperationRequest) XXX_Size() int { 157 return xxx_messageInfo_IdentityOperationRequest.Size(m) 158 } 159 func (m *IdentityOperationRequest) XXX_DiscardUnknown() { 160 xxx_messageInfo_IdentityOperationRequest.DiscardUnknown(m) 161 } 162 163 var xxx_messageInfo_IdentityOperationRequest proto.InternalMessageInfo 164 165 func (m *IdentityOperationRequest) GetIdentities() []*Identity { 166 if m != nil { 167 return m.Identities 168 } 169 return nil 170 } 171 172 // Deprecated: Do not use. 173 func (m *IdentityOperationRequest) GetOBSOLETE_OperationType() common.IdentityOperation { 174 if m != nil { 175 return m.OBSOLETE_OperationType 176 } 177 return common.IdentityOperation_REVOKE 178 } 179 180 func (m *IdentityOperationRequest) GetOperationType() common.ProviderAccessOperation { 181 if m != nil { 182 return m.OperationType 183 } 184 return common.ProviderAccessOperation_Unspecified 185 } 186 187 type IdentityCertificateRequest struct { 188 IdentityName string `protobuf:"bytes,1,opt,name=IdentityName,proto3" json:"IdentityName,omitempty"` 189 CSR []*CertificateSigningRequest `protobuf:"bytes,2,rep,name=CSR,proto3" json:"CSR,omitempty"` 190 OBSOLETE_OperationType common.IdentityCertificateOperation `protobuf:"varint,3,opt,name=OBSOLETE_OperationType,json=OBSOLETEOperationType,proto3,enum=moc.IdentityCertificateOperation" json:"OBSOLETE_OperationType,omitempty"` // Deprecated: Do not use. 191 OperationType common.ProviderAccessOperation `protobuf:"varint,4,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` 192 XXX_NoUnkeyedLiteral struct{} `json:"-"` 193 XXX_unrecognized []byte `json:"-"` 194 XXX_sizecache int32 `json:"-"` 195 } 196 197 func (m *IdentityCertificateRequest) Reset() { *m = IdentityCertificateRequest{} } 198 func (m *IdentityCertificateRequest) String() string { return proto.CompactTextString(m) } 199 func (*IdentityCertificateRequest) ProtoMessage() {} 200 func (*IdentityCertificateRequest) Descriptor() ([]byte, []int) { 201 return fileDescriptor_df50a18f5e732c64, []int{3} 202 } 203 204 func (m *IdentityCertificateRequest) XXX_Unmarshal(b []byte) error { 205 return xxx_messageInfo_IdentityCertificateRequest.Unmarshal(m, b) 206 } 207 func (m *IdentityCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 208 return xxx_messageInfo_IdentityCertificateRequest.Marshal(b, m, deterministic) 209 } 210 func (m *IdentityCertificateRequest) XXX_Merge(src proto.Message) { 211 xxx_messageInfo_IdentityCertificateRequest.Merge(m, src) 212 } 213 func (m *IdentityCertificateRequest) XXX_Size() int { 214 return xxx_messageInfo_IdentityCertificateRequest.Size(m) 215 } 216 func (m *IdentityCertificateRequest) XXX_DiscardUnknown() { 217 xxx_messageInfo_IdentityCertificateRequest.DiscardUnknown(m) 218 } 219 220 var xxx_messageInfo_IdentityCertificateRequest proto.InternalMessageInfo 221 222 func (m *IdentityCertificateRequest) GetIdentityName() string { 223 if m != nil { 224 return m.IdentityName 225 } 226 return "" 227 } 228 229 func (m *IdentityCertificateRequest) GetCSR() []*CertificateSigningRequest { 230 if m != nil { 231 return m.CSR 232 } 233 return nil 234 } 235 236 // Deprecated: Do not use. 237 func (m *IdentityCertificateRequest) GetOBSOLETE_OperationType() common.IdentityCertificateOperation { 238 if m != nil { 239 return m.OBSOLETE_OperationType 240 } 241 return common.IdentityCertificateOperation_CREATE_CERTIFICATE 242 } 243 244 func (m *IdentityCertificateRequest) GetOperationType() common.ProviderAccessOperation { 245 if m != nil { 246 return m.OperationType 247 } 248 return common.ProviderAccessOperation_Unspecified 249 } 250 251 type IdentityCertificateResponse struct { 252 Certificates []*Certificate `protobuf:"bytes,1,rep,name=Certificates,proto3" json:"Certificates,omitempty"` 253 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 254 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 255 XXX_NoUnkeyedLiteral struct{} `json:"-"` 256 XXX_unrecognized []byte `json:"-"` 257 XXX_sizecache int32 `json:"-"` 258 } 259 260 func (m *IdentityCertificateResponse) Reset() { *m = IdentityCertificateResponse{} } 261 func (m *IdentityCertificateResponse) String() string { return proto.CompactTextString(m) } 262 func (*IdentityCertificateResponse) ProtoMessage() {} 263 func (*IdentityCertificateResponse) Descriptor() ([]byte, []int) { 264 return fileDescriptor_df50a18f5e732c64, []int{4} 265 } 266 267 func (m *IdentityCertificateResponse) XXX_Unmarshal(b []byte) error { 268 return xxx_messageInfo_IdentityCertificateResponse.Unmarshal(m, b) 269 } 270 func (m *IdentityCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 271 return xxx_messageInfo_IdentityCertificateResponse.Marshal(b, m, deterministic) 272 } 273 func (m *IdentityCertificateResponse) XXX_Merge(src proto.Message) { 274 xxx_messageInfo_IdentityCertificateResponse.Merge(m, src) 275 } 276 func (m *IdentityCertificateResponse) XXX_Size() int { 277 return xxx_messageInfo_IdentityCertificateResponse.Size(m) 278 } 279 func (m *IdentityCertificateResponse) XXX_DiscardUnknown() { 280 xxx_messageInfo_IdentityCertificateResponse.DiscardUnknown(m) 281 } 282 283 var xxx_messageInfo_IdentityCertificateResponse proto.InternalMessageInfo 284 285 func (m *IdentityCertificateResponse) GetCertificates() []*Certificate { 286 if m != nil { 287 return m.Certificates 288 } 289 return nil 290 } 291 292 func (m *IdentityCertificateResponse) GetResult() *wrappers.BoolValue { 293 if m != nil { 294 return m.Result 295 } 296 return nil 297 } 298 299 func (m *IdentityCertificateResponse) GetError() string { 300 if m != nil { 301 return m.Error 302 } 303 return "" 304 } 305 306 type Identity struct { 307 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 308 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 309 ResourceGroup string `protobuf:"bytes,3,opt,name=resourceGroup,proto3" json:"resourceGroup,omitempty"` 310 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` 311 Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` 312 Status *common.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` 313 LocationName string `protobuf:"bytes,10,opt,name=locationName,proto3" json:"locationName,omitempty"` 314 Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` 315 Certificates map[string]string `protobuf:"bytes,12,rep,name=certificates,proto3" json:"certificates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 316 TokenExpiry int64 `protobuf:"varint,13,opt,name=tokenExpiry,proto3" json:"tokenExpiry,omitempty"` // Deprecated: Do not use. 317 ClientType common.ClientType `protobuf:"varint,14,opt,name=clientType,proto3,enum=moc.ClientType" json:"clientType,omitempty"` 318 CloudFqdn string `protobuf:"bytes,15,opt,name=cloudFqdn,proto3" json:"cloudFqdn,omitempty"` 319 CloudPort int32 `protobuf:"varint,16,opt,name=cloudPort,proto3" json:"cloudPort,omitempty"` 320 CloudAuthPort int32 `protobuf:"varint,17,opt,name=cloudAuthPort,proto3" json:"cloudAuthPort,omitempty"` 321 AuthType common.AuthenticationType `protobuf:"varint,18,opt,name=authType,proto3,enum=moc.AuthenticationType" json:"authType,omitempty"` // Deprecated: Do not use. 322 Revoked bool `protobuf:"varint,19,opt,name=revoked,proto3" json:"revoked,omitempty"` 323 AutoRotate bool `protobuf:"varint,20,opt,name=autoRotate,proto3" json:"autoRotate,omitempty"` 324 LoginFilePath string `protobuf:"bytes,21,opt,name=loginFilePath,proto3" json:"loginFilePath,omitempty"` 325 TokenExpiryInSeconds int64 `protobuf:"varint,22,opt,name=tokenExpiryInSeconds,proto3" json:"tokenExpiryInSeconds,omitempty"` 326 XXX_NoUnkeyedLiteral struct{} `json:"-"` 327 XXX_unrecognized []byte `json:"-"` 328 XXX_sizecache int32 `json:"-"` 329 } 330 331 func (m *Identity) Reset() { *m = Identity{} } 332 func (m *Identity) String() string { return proto.CompactTextString(m) } 333 func (*Identity) ProtoMessage() {} 334 func (*Identity) Descriptor() ([]byte, []int) { 335 return fileDescriptor_df50a18f5e732c64, []int{5} 336 } 337 338 func (m *Identity) XXX_Unmarshal(b []byte) error { 339 return xxx_messageInfo_Identity.Unmarshal(m, b) 340 } 341 func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 342 return xxx_messageInfo_Identity.Marshal(b, m, deterministic) 343 } 344 func (m *Identity) XXX_Merge(src proto.Message) { 345 xxx_messageInfo_Identity.Merge(m, src) 346 } 347 func (m *Identity) XXX_Size() int { 348 return xxx_messageInfo_Identity.Size(m) 349 } 350 func (m *Identity) XXX_DiscardUnknown() { 351 xxx_messageInfo_Identity.DiscardUnknown(m) 352 } 353 354 var xxx_messageInfo_Identity proto.InternalMessageInfo 355 356 func (m *Identity) GetName() string { 357 if m != nil { 358 return m.Name 359 } 360 return "" 361 } 362 363 func (m *Identity) GetId() string { 364 if m != nil { 365 return m.Id 366 } 367 return "" 368 } 369 370 func (m *Identity) GetResourceGroup() string { 371 if m != nil { 372 return m.ResourceGroup 373 } 374 return "" 375 } 376 377 func (m *Identity) GetPassword() string { 378 if m != nil { 379 return m.Password 380 } 381 return "" 382 } 383 384 func (m *Identity) GetToken() string { 385 if m != nil { 386 return m.Token 387 } 388 return "" 389 } 390 391 func (m *Identity) GetStatus() *common.Status { 392 if m != nil { 393 return m.Status 394 } 395 return nil 396 } 397 398 func (m *Identity) GetLocationName() string { 399 if m != nil { 400 return m.LocationName 401 } 402 return "" 403 } 404 405 func (m *Identity) GetTags() *common.Tags { 406 if m != nil { 407 return m.Tags 408 } 409 return nil 410 } 411 412 func (m *Identity) GetCertificates() map[string]string { 413 if m != nil { 414 return m.Certificates 415 } 416 return nil 417 } 418 419 // Deprecated: Do not use. 420 func (m *Identity) GetTokenExpiry() int64 { 421 if m != nil { 422 return m.TokenExpiry 423 } 424 return 0 425 } 426 427 func (m *Identity) GetClientType() common.ClientType { 428 if m != nil { 429 return m.ClientType 430 } 431 return common.ClientType_CONTROLPLANE 432 } 433 434 func (m *Identity) GetCloudFqdn() string { 435 if m != nil { 436 return m.CloudFqdn 437 } 438 return "" 439 } 440 441 func (m *Identity) GetCloudPort() int32 { 442 if m != nil { 443 return m.CloudPort 444 } 445 return 0 446 } 447 448 func (m *Identity) GetCloudAuthPort() int32 { 449 if m != nil { 450 return m.CloudAuthPort 451 } 452 return 0 453 } 454 455 // Deprecated: Do not use. 456 func (m *Identity) GetAuthType() common.AuthenticationType { 457 if m != nil { 458 return m.AuthType 459 } 460 return common.AuthenticationType_SELFSIGNED 461 } 462 463 func (m *Identity) GetRevoked() bool { 464 if m != nil { 465 return m.Revoked 466 } 467 return false 468 } 469 470 func (m *Identity) GetAutoRotate() bool { 471 if m != nil { 472 return m.AutoRotate 473 } 474 return false 475 } 476 477 func (m *Identity) GetLoginFilePath() string { 478 if m != nil { 479 return m.LoginFilePath 480 } 481 return "" 482 } 483 484 func (m *Identity) GetTokenExpiryInSeconds() int64 { 485 if m != nil { 486 return m.TokenExpiryInSeconds 487 } 488 return 0 489 } 490 491 func init() { 492 proto.RegisterType((*IdentityRequest)(nil), "moc.cloudagent.security.IdentityRequest") 493 proto.RegisterType((*IdentityResponse)(nil), "moc.cloudagent.security.IdentityResponse") 494 proto.RegisterType((*IdentityOperationRequest)(nil), "moc.cloudagent.security.IdentityOperationRequest") 495 proto.RegisterType((*IdentityCertificateRequest)(nil), "moc.cloudagent.security.IdentityCertificateRequest") 496 proto.RegisterType((*IdentityCertificateResponse)(nil), "moc.cloudagent.security.IdentityCertificateResponse") 497 proto.RegisterType((*Identity)(nil), "moc.cloudagent.security.Identity") 498 proto.RegisterMapType((map[string]string)(nil), "moc.cloudagent.security.Identity.CertificatesEntry") 499 } 500 501 func init() { proto.RegisterFile("moc_cloudagent_identity.proto", fileDescriptor_df50a18f5e732c64) } 502 503 var fileDescriptor_df50a18f5e732c64 = []byte{ 504 // 897 bytes of a gzipped FileDescriptorProto 505 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x6e, 0xdb, 0x46, 506 0x14,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x41, 0x1d, 0x94, 0xac, 0x86, 0x91, 0xaf, 0xa0, 0xb9, 0x3f, 529 0x61, 0xb4, 0x81, 0xaa, 0x0c, 0x6f, 0x55, 0xa5, 0xd2, 0x7d, 0x22, 0x83, 0x48, 0x46, 0x41, 0x7e, 530 0x08, 0x4b, 0xcb, 0xc9, 0x4f, 0xb7, 0xea, 0x93, 0x4d, 0xf5, 0xac, 0xa6, 0x4f, 0xa5, 0xd9, 0x7f, 531 0x93, 0x6a, 0xe1, 0xfe, 0x52, 0xfd, 0xe9, 0xc0, 0x47, 0x37, 0x4a, 0x95, 0x9b, 0xf9, 0x1b, 0x58, 532 0xad, 0xc0, 0x85, 0x4d, 0x76, 0xdf, 0x45, 0x10, 0x56, 0xab, 0x7c, 0x8f, 0xae, 0xfe, 0x7d, 0x09, 533 0x56, 0x0a, 0xce, 0x84, 0xc0, 0x42, 0x54, 0x2e, 0x11, 0xff, 0x93, 0x75, 0x68, 0x48, 0x1f, 0x8f, 534 0x69, 0xb1, 0x86, 0xf4, 0xc9, 0x2e, 0xac, 0x69, 0x61, 0x54, 0xa2, 0xb9, 0xf8, 0x5a, 0xab, 0x24, 535 0xce, 0xdb, 0xd5, 0x41, 0xd2, 0x85, 0x95, 0xd8, 0x33, 0xe6, 0x8d, 0xd2, 0x3e, 0x2a, 0xd9, 0x1a, 536 0x2d, 0xbc, 0xfd, 0x8b, 0x3a, 0x6c, 0x8e, 0x92, 0x0e, 0x2c, 0x5a, 0x75, 0x21, 0x22, 0xba, 0x58, 537 0x09, 0x67, 0x10, 0xf9, 0x18, 0x96, 0x8c, 0xf5, 0x6c, 0x62, 0xe8, 0x32, 0x8e, 0xd7, 0x46, 0x89, 538 0x26, 0x08, 0xb1, 0x3c, 0x94, 0x3a, 0x2f, 0x54, 0x1c, 0xd5, 0x47, 0xe7, 0x41, 0xe6, 0xbc, 0x2a, 539 0x46, 0x9e, 0xc0, 0x82, 0xf5, 0x02, 0x43, 0xdb, 0xd8, 0xa6, 0x85, 0x6d, 0x8e, 0xbd, 0xc0, 0x30, 540 0x84, 0xc9, 0xcf, 0xb0, 0xca, 0xab, 0x0b, 0x59, 0xc5, 0x85, 0x3c, 0xbf, 0xf3, 0xbd, 0xad, 0x6e, 541 0xc6, 0x8c, 0x23, 0xab, 0x67, 0x39, 0xff, 0x5a, 0x3b, 0xb2, 0x0b, 0x6d, 0x9c, 0x67, 0xfc, 0x4b, 542 0x2c, 0xf5, 0x8c, 0xae, 0x75, 0x9d, 0x7e, 0x13, 0x3d, 0x58, 0x85, 0xc9, 0x00, 0x80, 0x87, 0x52, 543 0x44, 0x16, 0x6d, 0xb7, 0x8e, 0xb6, 0xdb, 0x40, 0x0a, 0xfb, 0x73, 0x98, 0x55, 0x52, 0xc8, 0x63, 544 0x68, 0x21, 0xb9, 0x57, 0xaf, 0xfd, 0x88, 0x6e, 0xe0, 0xd4, 0x25, 0x30, 0x8f, 0x1e, 0x29, 0x6d, 545 0xe9, 0x66, 0xd7, 0xe9, 0x2f, 0xb2, 0x12, 0x48, 0xb7, 0x87, 0x0f, 0x7b, 0x89, 0x3d, 0xc7, 0x8c, 546 0x07, 0x98, 0x51, 0x07, 0xc9, 0xe7, 0xb0, 0xe2, 0x25, 0xf6, 0x1c, 0x09, 0x11, 0x24, 0xb4, 0x83, 547 0x84, 0xd2, 0x84, 0x54, 0x01, 0x3e, 0xf7, 0x3c, 0x8e, 0x33, 0x4f, 0x26, 0x14, 0x96, 0xb5, 0xb8, 548 0x54, 0x17, 0xc2, 0xa7, 0x0f, 0xbb, 0x4e, 0x7f, 0x85, 0x15, 0x8f, 0xe4, 0x29, 0x80, 0x97, 0x58, 549 0xc5, 0x94, 0xf5, 0xac, 0xa0, 0x5b, 0x18, 0xac, 0x20, 0x29, 0xb1, 0x50, 0x05, 0x32, 0x7a, 0x25, 550 0x43, 0x71, 0xe4, 0xd9, 0x73, 0xfa, 0x28, 0xb3, 0x55, 0x0d, 0x24, 0x43, 0xd8, 0xaa, 0x48, 0x77, 551 0x10, 0x4d, 0x04, 0x57, 0x91, 0x6f, 0xe8, 0x76, 0x2a, 0x2d, 0xbb, 0x31, 0xd6, 0x79, 0x09, 0x0f, 552 0xae, 0xad, 0x8b, 0x6c, 0x42, 0xf3, 0x42, 0xcc, 0x72, 0xa3, 0xa7, 0x7f, 0xd3, 0xd7, 0xe3, 0x32, 553 0x7d, 0x5f, 0x72, 0xab, 0x67, 0x0f, 0x5f, 0x36, 0xbe, 0x70, 0x86, 0x7f, 0x37, 0x60, 0xad, 0xd8, 554 0xfc, 0x5e, 0x6a, 0x08, 0x72, 0x02, 0x4b, 0x07, 0x51, 0x3a, 0x17, 0xe9, 0xdf, 0x7d, 0xc7, 0x67, 555 0x77, 0x58, 0xe7, 0x93, 0x77, 0xc8, 0xcc, 0xee, 0x89, 0xde, 0x07, 0x44, 0xc2, 0x72, 0x76, 0xb5, 556 0x08, 0xf2, 0xd9, 0x9d, 0x75, 0x57, 0x3f, 0x46, 0xf7, 0x3b, 0xea, 0x57, 0x07, 0x1e, 0xe6, 0x67, 557 0xd5, 0xae, 0x98, 0xbb, 0xdf, 0x82, 0xeb, 0x5f, 0x83, 0xce, 0x8b, 0xfb, 0x15, 0x15, 0x24, 0x46, 558 0xc3, 0x1f, 0x3f, 0x0d, 0xa4, 0x3d, 0x4f, 0x4e, 0x5d, 0xae, 0xa6, 0x83, 0xa9, 0xe4, 0x5a, 0x19, 559 0x75, 0x66, 0x07, 0x53, 0xc5, 0x07, 0x3a, 0xe6, 0x83, 0xb2, 0xe3, 0xa0, 0xe8, 0x78, 0xba, 0x84, 560 0x77, 0xdd, 0xf3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x00, 0x7a, 0xf4, 0xc4, 0x71, 0x09, 0x00, 561 0x00, 562 } 563 564 // Reference imports to suppress errors if they are not otherwise used. 565 var _ context.Context 566 var _ grpc.ClientConn 567 568 // This is a compile-time assertion to ensure that this generated file 569 // is compatible with the grpc package it is being compiled against. 570 const _ = grpc.SupportPackageIsVersion4 571 572 // IdentityAgentClient is the client API for IdentityAgent service. 573 // 574 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 575 type IdentityAgentClient interface { 576 Invoke(ctx context.Context, in *IdentityRequest, opts ...grpc.CallOption) (*IdentityResponse, error) 577 Operate(ctx context.Context, in *IdentityOperationRequest, opts ...grpc.CallOption) (*IdentityResponse, error) 578 OperateCertificates(ctx context.Context, in *IdentityCertificateRequest, opts ...grpc.CallOption) (*IdentityCertificateResponse, error) 579 } 580 581 type identityAgentClient struct { 582 cc *grpc.ClientConn 583 } 584 585 func NewIdentityAgentClient(cc *grpc.ClientConn) IdentityAgentClient { 586 return &identityAgentClient{cc} 587 } 588 589 func (c *identityAgentClient) Invoke(ctx context.Context, in *IdentityRequest, opts ...grpc.CallOption) (*IdentityResponse, error) { 590 out := new(IdentityResponse) 591 err := c.cc.Invoke(ctx, "/moc.cloudagent.security.IdentityAgent/Invoke", in, out, opts...) 592 if err != nil { 593 return nil, err 594 } 595 return out, nil 596 } 597 598 func (c *identityAgentClient) Operate(ctx context.Context, in *IdentityOperationRequest, opts ...grpc.CallOption) (*IdentityResponse, error) { 599 out := new(IdentityResponse) 600 err := c.cc.Invoke(ctx, "/moc.cloudagent.security.IdentityAgent/Operate", in, out, opts...) 601 if err != nil { 602 return nil, err 603 } 604 return out, nil 605 } 606 607 func (c *identityAgentClient) OperateCertificates(ctx context.Context, in *IdentityCertificateRequest, opts ...grpc.CallOption) (*IdentityCertificateResponse, error) { 608 out := new(IdentityCertificateResponse) 609 err := c.cc.Invoke(ctx, "/moc.cloudagent.security.IdentityAgent/OperateCertificates", in, out, opts...) 610 if err != nil { 611 return nil, err 612 } 613 return out, nil 614 } 615 616 // IdentityAgentServer is the server API for IdentityAgent service. 617 type IdentityAgentServer interface { 618 Invoke(context.Context, *IdentityRequest) (*IdentityResponse, error) 619 Operate(context.Context, *IdentityOperationRequest) (*IdentityResponse, error) 620 OperateCertificates(context.Context, *IdentityCertificateRequest) (*IdentityCertificateResponse, error) 621 } 622 623 // UnimplementedIdentityAgentServer can be embedded to have forward compatible implementations. 624 type UnimplementedIdentityAgentServer struct { 625 } 626 627 func (*UnimplementedIdentityAgentServer) Invoke(ctx context.Context, req *IdentityRequest) (*IdentityResponse, error) { 628 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 629 } 630 func (*UnimplementedIdentityAgentServer) Operate(ctx context.Context, req *IdentityOperationRequest) (*IdentityResponse, error) { 631 return nil, status.Errorf(codes.Unimplemented, "method Operate not implemented") 632 } 633 func (*UnimplementedIdentityAgentServer) OperateCertificates(ctx context.Context, req *IdentityCertificateRequest) (*IdentityCertificateResponse, error) { 634 return nil, status.Errorf(codes.Unimplemented, "method OperateCertificates not implemented") 635 } 636 637 func RegisterIdentityAgentServer(s *grpc.Server, srv IdentityAgentServer) { 638 s.RegisterService(&_IdentityAgent_serviceDesc, srv) 639 } 640 641 func _IdentityAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 642 in := new(IdentityRequest) 643 if err := dec(in); err != nil { 644 return nil, err 645 } 646 if interceptor == nil { 647 return srv.(IdentityAgentServer).Invoke(ctx, in) 648 } 649 info := &grpc.UnaryServerInfo{ 650 Server: srv, 651 FullMethod: "/moc.cloudagent.security.IdentityAgent/Invoke", 652 } 653 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 654 return srv.(IdentityAgentServer).Invoke(ctx, req.(*IdentityRequest)) 655 } 656 return interceptor(ctx, in, info, handler) 657 } 658 659 func _IdentityAgent_Operate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 660 in := new(IdentityOperationRequest) 661 if err := dec(in); err != nil { 662 return nil, err 663 } 664 if interceptor == nil { 665 return srv.(IdentityAgentServer).Operate(ctx, in) 666 } 667 info := &grpc.UnaryServerInfo{ 668 Server: srv, 669 FullMethod: "/moc.cloudagent.security.IdentityAgent/Operate", 670 } 671 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 672 return srv.(IdentityAgentServer).Operate(ctx, req.(*IdentityOperationRequest)) 673 } 674 return interceptor(ctx, in, info, handler) 675 } 676 677 func _IdentityAgent_OperateCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 678 in := new(IdentityCertificateRequest) 679 if err := dec(in); err != nil { 680 return nil, err 681 } 682 if interceptor == nil { 683 return srv.(IdentityAgentServer).OperateCertificates(ctx, in) 684 } 685 info := &grpc.UnaryServerInfo{ 686 Server: srv, 687 FullMethod: "/moc.cloudagent.security.IdentityAgent/OperateCertificates", 688 } 689 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 690 return srv.(IdentityAgentServer).OperateCertificates(ctx, req.(*IdentityCertificateRequest)) 691 } 692 return interceptor(ctx, in, info, handler) 693 } 694 695 var _IdentityAgent_serviceDesc = grpc.ServiceDesc{ 696 ServiceName: "moc.cloudagent.security.IdentityAgent", 697 HandlerType: (*IdentityAgentServer)(nil), 698 Methods: []grpc.MethodDesc{ 699 { 700 MethodName: "Invoke", 701 Handler: _IdentityAgent_Invoke_Handler, 702 }, 703 { 704 MethodName: "Operate", 705 Handler: _IdentityAgent_Operate_Handler, 706 }, 707 { 708 MethodName: "OperateCertificates", 709 Handler: _IdentityAgent_OperateCertificates_Handler, 710 }, 711 }, 712 Streams: []grpc.StreamDesc{}, 713 Metadata: "moc_cloudagent_identity.proto", 714 }