github.com/microsoft/moc@v0.17.1/rpc/cloudagent/cloud/moc_cloudagent_kubernetes.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_kubernetes.proto 3 4 package cloud 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 NodeType int32 30 31 const ( 32 NodeType_ControlPlane NodeType = 0 33 NodeType_LinuxWorker NodeType = 1 34 NodeType_WindowsWorker NodeType = 2 35 NodeType_LoadBalancer NodeType = 3 36 ) 37 38 var NodeType_name = map[int32]string{ 39 0: "ControlPlane", 40 1: "LinuxWorker", 41 2: "WindowsWorker", 42 3: "LoadBalancer", 43 } 44 45 var NodeType_value = map[string]int32{ 46 "ControlPlane": 0, 47 "LinuxWorker": 1, 48 "WindowsWorker": 2, 49 "LoadBalancer": 3, 50 } 51 52 func (x NodeType) String() string { 53 return proto.EnumName(NodeType_name, int32(x)) 54 } 55 56 func (NodeType) EnumDescriptor() ([]byte, []int) { 57 return fileDescriptor_fbe617ed62e63e04, []int{0} 58 } 59 60 type ManagementStrategyType int32 61 62 const ( 63 ManagementStrategyType_Pivoted ManagementStrategyType = 0 64 ManagementStrategyType_Distinct ManagementStrategyType = 1 65 ) 66 67 var ManagementStrategyType_name = map[int32]string{ 68 0: "Pivoted", 69 1: "Distinct", 70 } 71 72 var ManagementStrategyType_value = map[string]int32{ 73 "Pivoted": 0, 74 "Distinct": 1, 75 } 76 77 func (x ManagementStrategyType) String() string { 78 return proto.EnumName(ManagementStrategyType_name, int32(x)) 79 } 80 81 func (ManagementStrategyType) EnumDescriptor() ([]byte, []int) { 82 return fileDescriptor_fbe617ed62e63e04, []int{1} 83 } 84 85 type KubernetesRequest struct { 86 Kubernetess []*Kubernetes `protobuf:"bytes,1,rep,name=Kubernetess,proto3" json:"Kubernetess,omitempty"` 87 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 88 XXX_NoUnkeyedLiteral struct{} `json:"-"` 89 XXX_unrecognized []byte `json:"-"` 90 XXX_sizecache int32 `json:"-"` 91 } 92 93 func (m *KubernetesRequest) Reset() { *m = KubernetesRequest{} } 94 func (m *KubernetesRequest) String() string { return proto.CompactTextString(m) } 95 func (*KubernetesRequest) ProtoMessage() {} 96 func (*KubernetesRequest) Descriptor() ([]byte, []int) { 97 return fileDescriptor_fbe617ed62e63e04, []int{0} 98 } 99 100 func (m *KubernetesRequest) XXX_Unmarshal(b []byte) error { 101 return xxx_messageInfo_KubernetesRequest.Unmarshal(m, b) 102 } 103 func (m *KubernetesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 104 return xxx_messageInfo_KubernetesRequest.Marshal(b, m, deterministic) 105 } 106 func (m *KubernetesRequest) XXX_Merge(src proto.Message) { 107 xxx_messageInfo_KubernetesRequest.Merge(m, src) 108 } 109 func (m *KubernetesRequest) XXX_Size() int { 110 return xxx_messageInfo_KubernetesRequest.Size(m) 111 } 112 func (m *KubernetesRequest) XXX_DiscardUnknown() { 113 xxx_messageInfo_KubernetesRequest.DiscardUnknown(m) 114 } 115 116 var xxx_messageInfo_KubernetesRequest proto.InternalMessageInfo 117 118 func (m *KubernetesRequest) GetKubernetess() []*Kubernetes { 119 if m != nil { 120 return m.Kubernetess 121 } 122 return nil 123 } 124 125 func (m *KubernetesRequest) GetOperationType() common.Operation { 126 if m != nil { 127 return m.OperationType 128 } 129 return common.Operation_GET 130 } 131 132 type KubernetesResponse struct { 133 Kubernetess []*Kubernetes `protobuf:"bytes,1,rep,name=Kubernetess,proto3" json:"Kubernetess,omitempty"` 134 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 135 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 136 XXX_NoUnkeyedLiteral struct{} `json:"-"` 137 XXX_unrecognized []byte `json:"-"` 138 XXX_sizecache int32 `json:"-"` 139 } 140 141 func (m *KubernetesResponse) Reset() { *m = KubernetesResponse{} } 142 func (m *KubernetesResponse) String() string { return proto.CompactTextString(m) } 143 func (*KubernetesResponse) ProtoMessage() {} 144 func (*KubernetesResponse) Descriptor() ([]byte, []int) { 145 return fileDescriptor_fbe617ed62e63e04, []int{1} 146 } 147 148 func (m *KubernetesResponse) XXX_Unmarshal(b []byte) error { 149 return xxx_messageInfo_KubernetesResponse.Unmarshal(m, b) 150 } 151 func (m *KubernetesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 152 return xxx_messageInfo_KubernetesResponse.Marshal(b, m, deterministic) 153 } 154 func (m *KubernetesResponse) XXX_Merge(src proto.Message) { 155 xxx_messageInfo_KubernetesResponse.Merge(m, src) 156 } 157 func (m *KubernetesResponse) XXX_Size() int { 158 return xxx_messageInfo_KubernetesResponse.Size(m) 159 } 160 func (m *KubernetesResponse) XXX_DiscardUnknown() { 161 xxx_messageInfo_KubernetesResponse.DiscardUnknown(m) 162 } 163 164 var xxx_messageInfo_KubernetesResponse proto.InternalMessageInfo 165 166 func (m *KubernetesResponse) GetKubernetess() []*Kubernetes { 167 if m != nil { 168 return m.Kubernetess 169 } 170 return nil 171 } 172 173 func (m *KubernetesResponse) GetResult() *wrappers.BoolValue { 174 if m != nil { 175 return m.Result 176 } 177 return nil 178 } 179 180 func (m *KubernetesResponse) GetError() string { 181 if m != nil { 182 return m.Error 183 } 184 return "" 185 } 186 187 type StorageConfiguration struct { 188 Csi string `protobuf:"bytes,1,opt,name=csi,proto3" json:"csi,omitempty"` 189 XXX_NoUnkeyedLiteral struct{} `json:"-"` 190 XXX_unrecognized []byte `json:"-"` 191 XXX_sizecache int32 `json:"-"` 192 } 193 194 func (m *StorageConfiguration) Reset() { *m = StorageConfiguration{} } 195 func (m *StorageConfiguration) String() string { return proto.CompactTextString(m) } 196 func (*StorageConfiguration) ProtoMessage() {} 197 func (*StorageConfiguration) Descriptor() ([]byte, []int) { 198 return fileDescriptor_fbe617ed62e63e04, []int{2} 199 } 200 201 func (m *StorageConfiguration) XXX_Unmarshal(b []byte) error { 202 return xxx_messageInfo_StorageConfiguration.Unmarshal(m, b) 203 } 204 func (m *StorageConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 205 return xxx_messageInfo_StorageConfiguration.Marshal(b, m, deterministic) 206 } 207 func (m *StorageConfiguration) XXX_Merge(src proto.Message) { 208 xxx_messageInfo_StorageConfiguration.Merge(m, src) 209 } 210 func (m *StorageConfiguration) XXX_Size() int { 211 return xxx_messageInfo_StorageConfiguration.Size(m) 212 } 213 func (m *StorageConfiguration) XXX_DiscardUnknown() { 214 xxx_messageInfo_StorageConfiguration.DiscardUnknown(m) 215 } 216 217 var xxx_messageInfo_StorageConfiguration proto.InternalMessageInfo 218 219 func (m *StorageConfiguration) GetCsi() string { 220 if m != nil { 221 return m.Csi 222 } 223 return "" 224 } 225 226 type NetworkConfiguration struct { 227 Cni string `protobuf:"bytes,1,opt,name=cni,proto3" json:"cni,omitempty"` 228 PodCidr string `protobuf:"bytes,2,opt,name=podCidr,proto3" json:"podCidr,omitempty"` 229 ClusterCidr string `protobuf:"bytes,3,opt,name=clusterCidr,proto3" json:"clusterCidr,omitempty"` 230 // TODO: merge controlplane cidr and network 231 ControlPlaneCidr string `protobuf:"bytes,4,opt,name=controlPlaneCidr,proto3" json:"controlPlaneCidr,omitempty"` 232 Virtualnetwork string `protobuf:"bytes,5,opt,name=virtualnetwork,proto3" json:"virtualnetwork,omitempty"` 233 LoadBalancerVip string `protobuf:"bytes,6,opt,name=loadBalancerVip,proto3" json:"loadBalancerVip,omitempty"` 234 LoadBalancerMac string `protobuf:"bytes,7,opt,name=loadBalancerMac,proto3" json:"loadBalancerMac,omitempty"` 235 XXX_NoUnkeyedLiteral struct{} `json:"-"` 236 XXX_unrecognized []byte `json:"-"` 237 XXX_sizecache int32 `json:"-"` 238 } 239 240 func (m *NetworkConfiguration) Reset() { *m = NetworkConfiguration{} } 241 func (m *NetworkConfiguration) String() string { return proto.CompactTextString(m) } 242 func (*NetworkConfiguration) ProtoMessage() {} 243 func (*NetworkConfiguration) Descriptor() ([]byte, []int) { 244 return fileDescriptor_fbe617ed62e63e04, []int{3} 245 } 246 247 func (m *NetworkConfiguration) XXX_Unmarshal(b []byte) error { 248 return xxx_messageInfo_NetworkConfiguration.Unmarshal(m, b) 249 } 250 func (m *NetworkConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 251 return xxx_messageInfo_NetworkConfiguration.Marshal(b, m, deterministic) 252 } 253 func (m *NetworkConfiguration) XXX_Merge(src proto.Message) { 254 xxx_messageInfo_NetworkConfiguration.Merge(m, src) 255 } 256 func (m *NetworkConfiguration) XXX_Size() int { 257 return xxx_messageInfo_NetworkConfiguration.Size(m) 258 } 259 func (m *NetworkConfiguration) XXX_DiscardUnknown() { 260 xxx_messageInfo_NetworkConfiguration.DiscardUnknown(m) 261 } 262 263 var xxx_messageInfo_NetworkConfiguration proto.InternalMessageInfo 264 265 func (m *NetworkConfiguration) GetCni() string { 266 if m != nil { 267 return m.Cni 268 } 269 return "" 270 } 271 272 func (m *NetworkConfiguration) GetPodCidr() string { 273 if m != nil { 274 return m.PodCidr 275 } 276 return "" 277 } 278 279 func (m *NetworkConfiguration) GetClusterCidr() string { 280 if m != nil { 281 return m.ClusterCidr 282 } 283 return "" 284 } 285 286 func (m *NetworkConfiguration) GetControlPlaneCidr() string { 287 if m != nil { 288 return m.ControlPlaneCidr 289 } 290 return "" 291 } 292 293 func (m *NetworkConfiguration) GetVirtualnetwork() string { 294 if m != nil { 295 return m.Virtualnetwork 296 } 297 return "" 298 } 299 300 func (m *NetworkConfiguration) GetLoadBalancerVip() string { 301 if m != nil { 302 return m.LoadBalancerVip 303 } 304 return "" 305 } 306 307 func (m *NetworkConfiguration) GetLoadBalancerMac() string { 308 if m != nil { 309 return m.LoadBalancerMac 310 } 311 return "" 312 } 313 314 type NodePoolConfiguration struct { 315 NodeType NodeType `protobuf:"varint,1,opt,name=NodeType,proto3,enum=moc.cloudagent.kubernetes.NodeType" json:"NodeType,omitempty"` 316 Imagereference string `protobuf:"bytes,2,opt,name=imagereference,proto3" json:"imagereference,omitempty"` 317 Replicas int32 `protobuf:"varint,3,opt,name=replicas,proto3" json:"replicas,omitempty"` 318 VMSize string `protobuf:"bytes,4,opt,name=VMSize,proto3" json:"VMSize,omitempty"` 319 XXX_NoUnkeyedLiteral struct{} `json:"-"` 320 XXX_unrecognized []byte `json:"-"` 321 XXX_sizecache int32 `json:"-"` 322 } 323 324 func (m *NodePoolConfiguration) Reset() { *m = NodePoolConfiguration{} } 325 func (m *NodePoolConfiguration) String() string { return proto.CompactTextString(m) } 326 func (*NodePoolConfiguration) ProtoMessage() {} 327 func (*NodePoolConfiguration) Descriptor() ([]byte, []int) { 328 return fileDescriptor_fbe617ed62e63e04, []int{4} 329 } 330 331 func (m *NodePoolConfiguration) XXX_Unmarshal(b []byte) error { 332 return xxx_messageInfo_NodePoolConfiguration.Unmarshal(m, b) 333 } 334 func (m *NodePoolConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 335 return xxx_messageInfo_NodePoolConfiguration.Marshal(b, m, deterministic) 336 } 337 func (m *NodePoolConfiguration) XXX_Merge(src proto.Message) { 338 xxx_messageInfo_NodePoolConfiguration.Merge(m, src) 339 } 340 func (m *NodePoolConfiguration) XXX_Size() int { 341 return xxx_messageInfo_NodePoolConfiguration.Size(m) 342 } 343 func (m *NodePoolConfiguration) XXX_DiscardUnknown() { 344 xxx_messageInfo_NodePoolConfiguration.DiscardUnknown(m) 345 } 346 347 var xxx_messageInfo_NodePoolConfiguration proto.InternalMessageInfo 348 349 func (m *NodePoolConfiguration) GetNodeType() NodeType { 350 if m != nil { 351 return m.NodeType 352 } 353 return NodeType_ControlPlane 354 } 355 356 func (m *NodePoolConfiguration) GetImagereference() string { 357 if m != nil { 358 return m.Imagereference 359 } 360 return "" 361 } 362 363 func (m *NodePoolConfiguration) GetReplicas() int32 { 364 if m != nil { 365 return m.Replicas 366 } 367 return 0 368 } 369 370 func (m *NodePoolConfiguration) GetVMSize() string { 371 if m != nil { 372 return m.VMSize 373 } 374 return "" 375 } 376 377 type SSHPublicKey struct { 378 KeyData string `protobuf:"bytes,1,opt,name=keyData,proto3" json:"keyData,omitempty"` 379 XXX_NoUnkeyedLiteral struct{} `json:"-"` 380 XXX_unrecognized []byte `json:"-"` 381 XXX_sizecache int32 `json:"-"` 382 } 383 384 func (m *SSHPublicKey) Reset() { *m = SSHPublicKey{} } 385 func (m *SSHPublicKey) String() string { return proto.CompactTextString(m) } 386 func (*SSHPublicKey) ProtoMessage() {} 387 func (*SSHPublicKey) Descriptor() ([]byte, []int) { 388 return fileDescriptor_fbe617ed62e63e04, []int{5} 389 } 390 391 func (m *SSHPublicKey) XXX_Unmarshal(b []byte) error { 392 return xxx_messageInfo_SSHPublicKey.Unmarshal(m, b) 393 } 394 func (m *SSHPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 395 return xxx_messageInfo_SSHPublicKey.Marshal(b, m, deterministic) 396 } 397 func (m *SSHPublicKey) XXX_Merge(src proto.Message) { 398 xxx_messageInfo_SSHPublicKey.Merge(m, src) 399 } 400 func (m *SSHPublicKey) XXX_Size() int { 401 return xxx_messageInfo_SSHPublicKey.Size(m) 402 } 403 func (m *SSHPublicKey) XXX_DiscardUnknown() { 404 xxx_messageInfo_SSHPublicKey.DiscardUnknown(m) 405 } 406 407 var xxx_messageInfo_SSHPublicKey proto.InternalMessageInfo 408 409 func (m *SSHPublicKey) GetKeyData() string { 410 if m != nil { 411 return m.KeyData 412 } 413 return "" 414 } 415 416 type ComputeConfiguration struct { 417 Cri string `protobuf:"bytes,1,opt,name=cri,proto3" json:"cri,omitempty"` 418 PublicKey *SSHPublicKey `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"` 419 NodePools []*NodePoolConfiguration `protobuf:"bytes,3,rep,name=NodePools,proto3" json:"NodePools,omitempty"` 420 XXX_NoUnkeyedLiteral struct{} `json:"-"` 421 XXX_unrecognized []byte `json:"-"` 422 XXX_sizecache int32 `json:"-"` 423 } 424 425 func (m *ComputeConfiguration) Reset() { *m = ComputeConfiguration{} } 426 func (m *ComputeConfiguration) String() string { return proto.CompactTextString(m) } 427 func (*ComputeConfiguration) ProtoMessage() {} 428 func (*ComputeConfiguration) Descriptor() ([]byte, []int) { 429 return fileDescriptor_fbe617ed62e63e04, []int{6} 430 } 431 432 func (m *ComputeConfiguration) XXX_Unmarshal(b []byte) error { 433 return xxx_messageInfo_ComputeConfiguration.Unmarshal(m, b) 434 } 435 func (m *ComputeConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 436 return xxx_messageInfo_ComputeConfiguration.Marshal(b, m, deterministic) 437 } 438 func (m *ComputeConfiguration) XXX_Merge(src proto.Message) { 439 xxx_messageInfo_ComputeConfiguration.Merge(m, src) 440 } 441 func (m *ComputeConfiguration) XXX_Size() int { 442 return xxx_messageInfo_ComputeConfiguration.Size(m) 443 } 444 func (m *ComputeConfiguration) XXX_DiscardUnknown() { 445 xxx_messageInfo_ComputeConfiguration.DiscardUnknown(m) 446 } 447 448 var xxx_messageInfo_ComputeConfiguration proto.InternalMessageInfo 449 450 func (m *ComputeConfiguration) GetCri() string { 451 if m != nil { 452 return m.Cri 453 } 454 return "" 455 } 456 457 func (m *ComputeConfiguration) GetPublicKey() *SSHPublicKey { 458 if m != nil { 459 return m.PublicKey 460 } 461 return nil 462 } 463 464 func (m *ComputeConfiguration) GetNodePools() []*NodePoolConfiguration { 465 if m != nil { 466 return m.NodePools 467 } 468 return nil 469 } 470 471 type ClusterConfiguration struct { 472 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 473 XXX_NoUnkeyedLiteral struct{} `json:"-"` 474 XXX_unrecognized []byte `json:"-"` 475 XXX_sizecache int32 `json:"-"` 476 } 477 478 func (m *ClusterConfiguration) Reset() { *m = ClusterConfiguration{} } 479 func (m *ClusterConfiguration) String() string { return proto.CompactTextString(m) } 480 func (*ClusterConfiguration) ProtoMessage() {} 481 func (*ClusterConfiguration) Descriptor() ([]byte, []int) { 482 return fileDescriptor_fbe617ed62e63e04, []int{7} 483 } 484 485 func (m *ClusterConfiguration) XXX_Unmarshal(b []byte) error { 486 return xxx_messageInfo_ClusterConfiguration.Unmarshal(m, b) 487 } 488 func (m *ClusterConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 489 return xxx_messageInfo_ClusterConfiguration.Marshal(b, m, deterministic) 490 } 491 func (m *ClusterConfiguration) XXX_Merge(src proto.Message) { 492 xxx_messageInfo_ClusterConfiguration.Merge(m, src) 493 } 494 func (m *ClusterConfiguration) XXX_Size() int { 495 return xxx_messageInfo_ClusterConfiguration.Size(m) 496 } 497 func (m *ClusterConfiguration) XXX_DiscardUnknown() { 498 xxx_messageInfo_ClusterConfiguration.DiscardUnknown(m) 499 } 500 501 var xxx_messageInfo_ClusterConfiguration proto.InternalMessageInfo 502 503 func (m *ClusterConfiguration) GetVersion() string { 504 if m != nil { 505 return m.Version 506 } 507 return "" 508 } 509 510 type ClusterAPIConfiguration struct { 511 ConfigurationEndpoint string `protobuf:"bytes,1,opt,name=ConfigurationEndpoint,proto3" json:"ConfigurationEndpoint,omitempty"` 512 InfrastructureProviderVersion string `protobuf:"bytes,2,opt,name=InfrastructureProviderVersion,proto3" json:"InfrastructureProviderVersion,omitempty"` 513 BootstrapProviderVersion string `protobuf:"bytes,3,opt,name=BootstrapProviderVersion,proto3" json:"BootstrapProviderVersion,omitempty"` 514 ControlPlaneProviderVersion string `protobuf:"bytes,4,opt,name=ControlPlaneProviderVersion,proto3" json:"ControlPlaneProviderVersion,omitempty"` 515 CoreProviderVersion string `protobuf:"bytes,5,opt,name=CoreProviderVersion,proto3" json:"CoreProviderVersion,omitempty"` 516 XXX_NoUnkeyedLiteral struct{} `json:"-"` 517 XXX_unrecognized []byte `json:"-"` 518 XXX_sizecache int32 `json:"-"` 519 } 520 521 func (m *ClusterAPIConfiguration) Reset() { *m = ClusterAPIConfiguration{} } 522 func (m *ClusterAPIConfiguration) String() string { return proto.CompactTextString(m) } 523 func (*ClusterAPIConfiguration) ProtoMessage() {} 524 func (*ClusterAPIConfiguration) Descriptor() ([]byte, []int) { 525 return fileDescriptor_fbe617ed62e63e04, []int{8} 526 } 527 528 func (m *ClusterAPIConfiguration) XXX_Unmarshal(b []byte) error { 529 return xxx_messageInfo_ClusterAPIConfiguration.Unmarshal(m, b) 530 } 531 func (m *ClusterAPIConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 532 return xxx_messageInfo_ClusterAPIConfiguration.Marshal(b, m, deterministic) 533 } 534 func (m *ClusterAPIConfiguration) XXX_Merge(src proto.Message) { 535 xxx_messageInfo_ClusterAPIConfiguration.Merge(m, src) 536 } 537 func (m *ClusterAPIConfiguration) XXX_Size() int { 538 return xxx_messageInfo_ClusterAPIConfiguration.Size(m) 539 } 540 func (m *ClusterAPIConfiguration) XXX_DiscardUnknown() { 541 xxx_messageInfo_ClusterAPIConfiguration.DiscardUnknown(m) 542 } 543 544 var xxx_messageInfo_ClusterAPIConfiguration proto.InternalMessageInfo 545 546 func (m *ClusterAPIConfiguration) GetConfigurationEndpoint() string { 547 if m != nil { 548 return m.ConfigurationEndpoint 549 } 550 return "" 551 } 552 553 func (m *ClusterAPIConfiguration) GetInfrastructureProviderVersion() string { 554 if m != nil { 555 return m.InfrastructureProviderVersion 556 } 557 return "" 558 } 559 560 func (m *ClusterAPIConfiguration) GetBootstrapProviderVersion() string { 561 if m != nil { 562 return m.BootstrapProviderVersion 563 } 564 return "" 565 } 566 567 func (m *ClusterAPIConfiguration) GetControlPlaneProviderVersion() string { 568 if m != nil { 569 return m.ControlPlaneProviderVersion 570 } 571 return "" 572 } 573 574 func (m *ClusterAPIConfiguration) GetCoreProviderVersion() string { 575 if m != nil { 576 return m.CoreProviderVersion 577 } 578 return "" 579 } 580 581 type ContainerRegistry struct { 582 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 583 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` 584 Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` 585 XXX_NoUnkeyedLiteral struct{} `json:"-"` 586 XXX_unrecognized []byte `json:"-"` 587 XXX_sizecache int32 `json:"-"` 588 } 589 590 func (m *ContainerRegistry) Reset() { *m = ContainerRegistry{} } 591 func (m *ContainerRegistry) String() string { return proto.CompactTextString(m) } 592 func (*ContainerRegistry) ProtoMessage() {} 593 func (*ContainerRegistry) Descriptor() ([]byte, []int) { 594 return fileDescriptor_fbe617ed62e63e04, []int{9} 595 } 596 597 func (m *ContainerRegistry) XXX_Unmarshal(b []byte) error { 598 return xxx_messageInfo_ContainerRegistry.Unmarshal(m, b) 599 } 600 func (m *ContainerRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 601 return xxx_messageInfo_ContainerRegistry.Marshal(b, m, deterministic) 602 } 603 func (m *ContainerRegistry) XXX_Merge(src proto.Message) { 604 xxx_messageInfo_ContainerRegistry.Merge(m, src) 605 } 606 func (m *ContainerRegistry) XXX_Size() int { 607 return xxx_messageInfo_ContainerRegistry.Size(m) 608 } 609 func (m *ContainerRegistry) XXX_DiscardUnknown() { 610 xxx_messageInfo_ContainerRegistry.DiscardUnknown(m) 611 } 612 613 var xxx_messageInfo_ContainerRegistry proto.InternalMessageInfo 614 615 func (m *ContainerRegistry) GetName() string { 616 if m != nil { 617 return m.Name 618 } 619 return "" 620 } 621 622 func (m *ContainerRegistry) GetUsername() string { 623 if m != nil { 624 return m.Username 625 } 626 return "" 627 } 628 629 func (m *ContainerRegistry) GetPassword() string { 630 if m != nil { 631 return m.Password 632 } 633 return "" 634 } 635 636 type Kubernetes struct { 637 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 638 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 639 Status *common.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` 640 Cluster *ClusterConfiguration `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"` 641 Network *NetworkConfiguration `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"` 642 Storage *StorageConfiguration `protobuf:"bytes,7,opt,name=storage,proto3" json:"storage,omitempty"` 643 Compute *ComputeConfiguration `protobuf:"bytes,8,opt,name=compute,proto3" json:"compute,omitempty"` 644 GroupName string `protobuf:"bytes,9,opt,name=groupName,proto3" json:"groupName,omitempty"` 645 ManagementStrategy ManagementStrategyType `protobuf:"varint,10,opt,name=managementStrategy,proto3,enum=moc.cloudagent.kubernetes.ManagementStrategyType" json:"managementStrategy,omitempty"` 646 LocationName string `protobuf:"bytes,11,opt,name=locationName,proto3" json:"locationName,omitempty"` 647 KubeConfig []byte `protobuf:"bytes,12,opt,name=kubeConfig,proto3" json:"kubeConfig,omitempty"` 648 CapiConfig *ClusterAPIConfiguration `protobuf:"bytes,13,opt,name=capiConfig,proto3" json:"capiConfig,omitempty"` 649 ContainerRegistry *ContainerRegistry `protobuf:"bytes,14,opt,name=containerRegistry,proto3" json:"containerRegistry,omitempty"` 650 DeploymentManifest []byte `protobuf:"bytes,15,opt,name=deploymentManifest,proto3" json:"deploymentManifest,omitempty"` 651 Tags *common.Tags `protobuf:"bytes,16,opt,name=tags,proto3" json:"tags,omitempty"` 652 XXX_NoUnkeyedLiteral struct{} `json:"-"` 653 XXX_unrecognized []byte `json:"-"` 654 XXX_sizecache int32 `json:"-"` 655 } 656 657 func (m *Kubernetes) Reset() { *m = Kubernetes{} } 658 func (m *Kubernetes) String() string { return proto.CompactTextString(m) } 659 func (*Kubernetes) ProtoMessage() {} 660 func (*Kubernetes) Descriptor() ([]byte, []int) { 661 return fileDescriptor_fbe617ed62e63e04, []int{10} 662 } 663 664 func (m *Kubernetes) XXX_Unmarshal(b []byte) error { 665 return xxx_messageInfo_Kubernetes.Unmarshal(m, b) 666 } 667 func (m *Kubernetes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 668 return xxx_messageInfo_Kubernetes.Marshal(b, m, deterministic) 669 } 670 func (m *Kubernetes) XXX_Merge(src proto.Message) { 671 xxx_messageInfo_Kubernetes.Merge(m, src) 672 } 673 func (m *Kubernetes) XXX_Size() int { 674 return xxx_messageInfo_Kubernetes.Size(m) 675 } 676 func (m *Kubernetes) XXX_DiscardUnknown() { 677 xxx_messageInfo_Kubernetes.DiscardUnknown(m) 678 } 679 680 var xxx_messageInfo_Kubernetes proto.InternalMessageInfo 681 682 func (m *Kubernetes) GetName() string { 683 if m != nil { 684 return m.Name 685 } 686 return "" 687 } 688 689 func (m *Kubernetes) GetId() string { 690 if m != nil { 691 return m.Id 692 } 693 return "" 694 } 695 696 func (m *Kubernetes) GetStatus() *common.Status { 697 if m != nil { 698 return m.Status 699 } 700 return nil 701 } 702 703 func (m *Kubernetes) GetCluster() *ClusterConfiguration { 704 if m != nil { 705 return m.Cluster 706 } 707 return nil 708 } 709 710 func (m *Kubernetes) GetNetwork() *NetworkConfiguration { 711 if m != nil { 712 return m.Network 713 } 714 return nil 715 } 716 717 func (m *Kubernetes) GetStorage() *StorageConfiguration { 718 if m != nil { 719 return m.Storage 720 } 721 return nil 722 } 723 724 func (m *Kubernetes) GetCompute() *ComputeConfiguration { 725 if m != nil { 726 return m.Compute 727 } 728 return nil 729 } 730 731 func (m *Kubernetes) GetGroupName() string { 732 if m != nil { 733 return m.GroupName 734 } 735 return "" 736 } 737 738 func (m *Kubernetes) GetManagementStrategy() ManagementStrategyType { 739 if m != nil { 740 return m.ManagementStrategy 741 } 742 return ManagementStrategyType_Pivoted 743 } 744 745 func (m *Kubernetes) GetLocationName() string { 746 if m != nil { 747 return m.LocationName 748 } 749 return "" 750 } 751 752 func (m *Kubernetes) GetKubeConfig() []byte { 753 if m != nil { 754 return m.KubeConfig 755 } 756 return nil 757 } 758 759 func (m *Kubernetes) GetCapiConfig() *ClusterAPIConfiguration { 760 if m != nil { 761 return m.CapiConfig 762 } 763 return nil 764 } 765 766 func (m *Kubernetes) GetContainerRegistry() *ContainerRegistry { 767 if m != nil { 768 return m.ContainerRegistry 769 } 770 return nil 771 } 772 773 func (m *Kubernetes) GetDeploymentManifest() []byte { 774 if m != nil { 775 return m.DeploymentManifest 776 } 777 return nil 778 } 779 780 func (m *Kubernetes) GetTags() *common.Tags { 781 if m != nil { 782 return m.Tags 783 } 784 return nil 785 } 786 787 func init() { 788 proto.RegisterEnum("moc.cloudagent.kubernetes.NodeType", NodeType_name, NodeType_value) 789 proto.RegisterEnum("moc.cloudagent.kubernetes.ManagementStrategyType", ManagementStrategyType_name, ManagementStrategyType_value) 790 proto.RegisterType((*KubernetesRequest)(nil), "moc.cloudagent.kubernetes.KubernetesRequest") 791 proto.RegisterType((*KubernetesResponse)(nil), "moc.cloudagent.kubernetes.KubernetesResponse") 792 proto.RegisterType((*StorageConfiguration)(nil), "moc.cloudagent.kubernetes.StorageConfiguration") 793 proto.RegisterType((*NetworkConfiguration)(nil), "moc.cloudagent.kubernetes.NetworkConfiguration") 794 proto.RegisterType((*NodePoolConfiguration)(nil), "moc.cloudagent.kubernetes.NodePoolConfiguration") 795 proto.RegisterType((*SSHPublicKey)(nil), "moc.cloudagent.kubernetes.SSHPublicKey") 796 proto.RegisterType((*ComputeConfiguration)(nil), "moc.cloudagent.kubernetes.ComputeConfiguration") 797 proto.RegisterType((*ClusterConfiguration)(nil), "moc.cloudagent.kubernetes.ClusterConfiguration") 798 proto.RegisterType((*ClusterAPIConfiguration)(nil), "moc.cloudagent.kubernetes.ClusterAPIConfiguration") 799 proto.RegisterType((*ContainerRegistry)(nil), "moc.cloudagent.kubernetes.ContainerRegistry") 800 proto.RegisterType((*Kubernetes)(nil), "moc.cloudagent.kubernetes.Kubernetes") 801 } 802 803 func init() { proto.RegisterFile("moc_cloudagent_kubernetes.proto", fileDescriptor_fbe617ed62e63e04) } 804 805 var fileDescriptor_fbe617ed62e63e04 = []byte{ 806 // 1100 bytes of a gzipped FileDescriptorProto 807 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x72, 0xdb, 0x36, 808 0x10, 0x0e, 0x65, 0x47, 0xb2, 0x56, 0xb2, 0x2d, 0xa3, 0x4e, 0xc2, 0xba, 0x8d, 0xab, 0x61, 0xa6, 809 0xad, 0xc6, 0x93, 0x48, 0xae, 0x92, 0x53, 0x2f, 0x6d, 0x2c, 0x7b, 0x5a, 0x4f, 0x62, 0x57, 0x03, 810 0xa5, 0xce, 0x4c, 0x2e, 0x19, 0x98, 0x84, 0x58, 0x8c, 0x48, 0x80, 0x05, 0x40, 0xbb, 0xca, 0x13, 811 0xf4, 0xd0, 0x53, 0x5f, 0xa2, 0x2f, 0xd0, 0x9e, 0x7b, 0xca, 0x7b, 0x75, 0x08, 0x92, 0x26, 0xf5, 812 0x13, 0x39, 0x87, 0x9e, 0x44, 0x7c, 0xfb, 0xed, 0x87, 0xdd, 0xc5, 0x62, 0x05, 0xf8, 0x22, 0x14, 813 0xee, 0x5b, 0x37, 0x10, 0xb1, 0x47, 0x7c, 0xca, 0xf5, 0xdb, 0x49, 0x7c, 0x49, 0x25, 0xa7, 0x9a, 814 0xaa, 0x6e, 0x24, 0x85, 0x16, 0xe8, 0xd3, 0x50, 0xb8, 0xdd, 0x82, 0xd0, 0x2d, 0x08, 0x7b, 0xfb, 815 0xbe, 0x10, 0x7e, 0x40, 0x7b, 0x86, 0x78, 0x19, 0x8f, 0x7b, 0xd7, 0x92, 0x44, 0x11, 0x95, 0x99, 816 0xeb, 0xde, 0x03, 0xa3, 0x2d, 0xc2, 0x50, 0xf0, 0xec, 0x27, 0x35, 0x38, 0x7f, 0x5a, 0xb0, 0xf3, 817 0xe2, 0x46, 0x07, 0xd3, 0x5f, 0x63, 0xaa, 0x34, 0xfa, 0x01, 0x1a, 0x05, 0xa8, 0x6c, 0xab, 0xbd, 818 0xd6, 0x69, 0xf4, 0xbf, 0xec, 0x7e, 0x70, 0xff, 0x6e, 0x49, 0xa2, 0xec, 0x89, 0x9e, 0xc1, 0xe6, 819 0x4f, 0x11, 0x95, 0x44, 0x33, 0xc1, 0x5f, 0x4d, 0x23, 0x6a, 0x57, 0xda, 0x56, 0x67, 0xab, 0xbf, 820 0x65, 0xa4, 0x6e, 0x2c, 0x78, 0x96, 0xe4, 0xfc, 0x65, 0x01, 0x2a, 0x07, 0xa5, 0x22, 0xc1, 0x15, 821 0xfd, 0xff, 0xa2, 0xea, 0x43, 0x15, 0x53, 0x15, 0x07, 0xda, 0x84, 0xd3, 0xe8, 0xef, 0x75, 0xd3, 822 0xf2, 0x75, 0xf3, 0xf2, 0x75, 0x8f, 0x84, 0x08, 0x2e, 0x48, 0x10, 0x53, 0x9c, 0x31, 0xd1, 0x2e, 823 0xdc, 0x3d, 0x91, 0x52, 0x48, 0x7b, 0xad, 0x6d, 0x75, 0xea, 0x38, 0x5d, 0x38, 0x1d, 0xd8, 0x1d, 824 0x69, 0x21, 0x89, 0x4f, 0x07, 0x82, 0x8f, 0x99, 0x1f, 0xa7, 0x59, 0xa0, 0x16, 0xac, 0xb9, 0x8a, 825 0xd9, 0x96, 0xe1, 0x26, 0x9f, 0xce, 0x1f, 0x15, 0xd8, 0x3d, 0xa7, 0xfa, 0x5a, 0xc8, 0xc9, 0x22, 826 0x95, 0x17, 0x54, 0xce, 0x90, 0x0d, 0xb5, 0x48, 0x78, 0x03, 0xe6, 0x49, 0x13, 0x5f, 0x1d, 0xe7, 827 0x4b, 0xd4, 0x86, 0x86, 0x1b, 0xc4, 0x4a, 0x53, 0x69, 0xac, 0x69, 0x28, 0x65, 0x08, 0x1d, 0x40, 828 0xcb, 0x15, 0x5c, 0x4b, 0x11, 0x0c, 0x03, 0xc2, 0xa9, 0xa1, 0xad, 0x1b, 0xda, 0x02, 0x8e, 0xbe, 829 0x82, 0xad, 0x2b, 0x26, 0x75, 0x4c, 0x02, 0x9e, 0x06, 0x66, 0xdf, 0x35, 0xcc, 0x39, 0x14, 0x75, 830 0x60, 0x3b, 0x10, 0xc4, 0x3b, 0x22, 0x01, 0xe1, 0x2e, 0x95, 0x17, 0x2c, 0xb2, 0xab, 0x86, 0x38, 831 0x0f, 0xcf, 0x33, 0xcf, 0x88, 0x6b, 0xd7, 0x16, 0x99, 0x67, 0xc4, 0x75, 0xfe, 0xb6, 0xe0, 0xde, 832 0xb9, 0xf0, 0xe8, 0x50, 0x88, 0x60, 0xb6, 0x1e, 0xdf, 0xc1, 0x46, 0x62, 0x30, 0xdd, 0x62, 0x99, 833 0x6e, 0x79, 0xb4, 0xe2, 0x88, 0x73, 0x2a, 0xbe, 0x71, 0x4a, 0xd2, 0x62, 0x21, 0xf1, 0xa9, 0xa4, 834 0x63, 0x2a, 0x29, 0x77, 0x69, 0x56, 0xc5, 0x39, 0x14, 0xed, 0xc1, 0x86, 0xa4, 0x51, 0xc0, 0x5c, 835 0xa2, 0x4c, 0x25, 0xef, 0xe2, 0x9b, 0x35, 0xba, 0x0f, 0xd5, 0x8b, 0xb3, 0x11, 0x7b, 0x47, 0xb3, 836 0xe2, 0x65, 0x2b, 0xa7, 0x0b, 0xcd, 0xd1, 0xe8, 0xc7, 0x61, 0x7c, 0x19, 0x30, 0xf7, 0x05, 0x9d, 837 0xa2, 0x7d, 0xa8, 0x4d, 0xe8, 0xf4, 0x98, 0x68, 0x92, 0x1e, 0xe0, 0xd1, 0xfa, 0xef, 0xff, 0xd8, 838 0x16, 0xce, 0x41, 0xe7, 0x5f, 0x0b, 0x76, 0x07, 0x22, 0x8c, 0x62, 0xbd, 0xa4, 0x41, 0x64, 0x71, 839 0xea, 0x92, 0xa1, 0x13, 0xa8, 0x47, 0xb9, 0x6e, 0xd6, 0x97, 0x5f, 0xaf, 0x48, 0xbc, 0x1c, 0x06, 840 0x2e, 0x3c, 0xd1, 0x39, 0xd4, 0xf3, 0xba, 0x26, 0x69, 0x25, 0x57, 0xe4, 0xf0, 0x96, 0xfa, 0x2d, 841 0x9c, 0x01, 0x2e, 0x24, 0x9c, 0x43, 0xd8, 0x1d, 0x64, 0xfd, 0x35, 0x93, 0x80, 0x0d, 0xb5, 0x2b, 842 0x2a, 0x15, 0x13, 0x3c, 0x4b, 0x22, 0x5f, 0x3a, 0xef, 0x2b, 0xf0, 0x20, 0x73, 0x79, 0x3e, 0x3c, 843 0x9d, 0xf5, 0x7a, 0x06, 0xf7, 0x66, 0x80, 0x13, 0xee, 0x45, 0x82, 0x71, 0x9d, 0x69, 0x2c, 0x37, 844 0xa2, 0x63, 0x78, 0x78, 0xca, 0xc7, 0x92, 0x28, 0x2d, 0x63, 0x57, 0xc7, 0x92, 0x0e, 0xa5, 0xb8, 845 0x62, 0x1e, 0x95, 0x17, 0x59, 0x04, 0xe9, 0x01, 0xaf, 0x26, 0xa1, 0x6f, 0xc1, 0x3e, 0x12, 0x42, 846 0x2b, 0x2d, 0x49, 0x34, 0x2f, 0x90, 0xde, 0xa4, 0x0f, 0xda, 0xd1, 0xf7, 0xf0, 0xd9, 0xa0, 0x74, 847 0x7d, 0xe6, 0xdd, 0xd3, 0x26, 0x59, 0x45, 0x41, 0x87, 0xf0, 0xc9, 0x40, 0x2c, 0x46, 0x9e, 0xde, 848 0xb8, 0x65, 0x26, 0x67, 0x02, 0x3b, 0x89, 0x20, 0x61, 0x9c, 0x4a, 0x4c, 0x7d, 0xa6, 0xb4, 0x9c, 849 0x22, 0x04, 0xeb, 0xe7, 0x24, 0xa4, 0x59, 0xbd, 0xcc, 0x37, 0x6a, 0xc3, 0xc6, 0xcf, 0x8a, 0x4a, 850 0x9e, 0xe0, 0x95, 0x52, 0x17, 0xde, 0xa0, 0x09, 0x63, 0x48, 0x94, 0xba, 0x16, 0xd2, 0x4b, 0x53, 851 0xcd, 0x19, 0x39, 0xea, 0xbc, 0xaf, 0x02, 0x14, 0x23, 0x32, 0xd9, 0x86, 0x97, 0xb6, 0x31, 0x22, 852 0x5b, 0x50, 0x61, 0x5e, 0x56, 0xea, 0x0a, 0xf3, 0xd0, 0x23, 0xa8, 0x2a, 0x4d, 0x74, 0xac, 0x4c, 853 0xfa, 0x8d, 0x7e, 0xc3, 0xb4, 0xd9, 0xc8, 0x40, 0x38, 0x33, 0xa1, 0x53, 0xa8, 0x65, 0xe3, 0xc9, 854 0xa4, 0xda, 0xe8, 0xf7, 0x56, 0x34, 0xe3, 0xb2, 0x46, 0xc3, 0xb9, 0x7f, 0x22, 0x95, 0xcf, 0xa9, 855 0xea, 0xad, 0x52, 0xcb, 0x46, 0x2d, 0xce, 0xfd, 0x13, 0x29, 0x95, 0x8e, 0x6d, 0x33, 0x9f, 0x56, 856 0x4b, 0x2d, 0x1b, 0xf0, 0x38, 0xf7, 0x37, 0x09, 0xa6, 0x17, 0xdc, 0xde, 0xb8, 0x3d, 0xc1, 0x25, 857 0xa3, 0x00, 0xe7, 0xfe, 0xe8, 0x73, 0xa8, 0xfb, 0x52, 0xc4, 0x91, 0x39, 0xe0, 0xba, 0xa9, 0x73, 858 0x01, 0x20, 0x02, 0x28, 0x24, 0x9c, 0xf8, 0x34, 0xa4, 0x5c, 0x8f, 0xb4, 0x24, 0x9a, 0xfa, 0x53, 859 0x1b, 0xcc, 0x84, 0xfc, 0x66, 0xc5, 0x9e, 0x67, 0x0b, 0x4e, 0x66, 0x5e, 0x2e, 0x11, 0x43, 0x0e, 860 0x34, 0x03, 0xe1, 0x9a, 0xa8, 0x4c, 0x0c, 0x0d, 0x13, 0xc3, 0x0c, 0x86, 0xf6, 0x01, 0x12, 0xf1, 861 0x34, 0x05, 0xbb, 0xd9, 0xb6, 0x3a, 0x4d, 0x5c, 0x42, 0x10, 0x06, 0x70, 0x49, 0xc4, 0x32, 0xfb, 862 0xa6, 0x29, 0x49, 0xff, 0xf6, 0x33, 0x9f, 0x9f, 0x14, 0xb8, 0xa4, 0x82, 0xde, 0xc0, 0x8e, 0x3b, 863 0x7f, 0x13, 0xec, 0x2d, 0x23, 0xfd, 0x78, 0x65, 0xb5, 0xe7, 0x7c, 0xf0, 0xa2, 0x0c, 0xea, 0x02, 864 0xf2, 0x68, 0x14, 0x88, 0x69, 0x52, 0x89, 0x33, 0xc2, 0xd9, 0x98, 0x2a, 0x6d, 0x6f, 0x9b, 0xbc, 865 0x96, 0x58, 0xd0, 0x43, 0x58, 0xd7, 0xc4, 0x57, 0x76, 0xcb, 0x6c, 0x5f, 0x37, 0xdb, 0xbf, 0x22, 866 0xbe, 0xc2, 0x06, 0x3e, 0xc0, 0xc5, 0xbf, 0x17, 0x6a, 0x41, 0xb3, 0x3c, 0x11, 0x5a, 0x77, 0xd0, 867 0x36, 0x34, 0x5e, 0x32, 0x1e, 0xff, 0xf6, 0x5a, 0xc8, 0x09, 0x95, 0x2d, 0x0b, 0xed, 0xc0, 0xe6, 868 0x6b, 0xc6, 0x3d, 0x71, 0xad, 0x32, 0xa8, 0x92, 0x78, 0xbd, 0x2c, 0xfd, 0x59, 0xb6, 0xd6, 0x0e, 869 0x9e, 0xc2, 0xfd, 0xe5, 0x87, 0x88, 0x1a, 0x50, 0x1b, 0xb2, 0x2b, 0xa1, 0xa9, 0xd7, 0xba, 0x83, 870 0x9a, 0xb0, 0x71, 0xcc, 0x94, 0x66, 0xdc, 0xd5, 0x2d, 0xab, 0xff, 0x0e, 0xb6, 0x8b, 0xfb, 0xfc, 871 0x3c, 0x29, 0x0d, 0xf2, 0xa1, 0x7a, 0xca, 0xaf, 0xc4, 0x84, 0xa2, 0xc7, 0x1f, 0xf7, 0x68, 0x4a, 872 0x5f, 0x83, 0x7b, 0x4f, 0x3e, 0x92, 0x9d, 0x3e, 0xd3, 0x9c, 0x3b, 0x47, 0xbd, 0x37, 0x4f, 0x7c, 873 0xa6, 0x7f, 0x89, 0x2f, 0xbb, 0xae, 0x08, 0x7b, 0x21, 0x73, 0xa5, 0x50, 0x62, 0xac, 0x7b, 0xa1, 874 0x70, 0x7b, 0x32, 0x72, 0x7b, 0x85, 0x54, 0xfa, 0x79, 0x59, 0x35, 0x0f, 0xaf, 0xa7, 0xff, 0x05, 875 0x00, 0x00, 0xff, 0xff, 0x74, 0xae, 0xbd, 0xbf, 0x03, 0x0b, 0x00, 0x00, 876 } 877 878 // Reference imports to suppress errors if they are not otherwise used. 879 var _ context.Context 880 var _ grpc.ClientConn 881 882 // This is a compile-time assertion to ensure that this generated file 883 // is compatible with the grpc package it is being compiled against. 884 const _ = grpc.SupportPackageIsVersion4 885 886 // KubernetesAgentClient is the client API for KubernetesAgent service. 887 // 888 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 889 type KubernetesAgentClient interface { 890 Invoke(ctx context.Context, in *KubernetesRequest, opts ...grpc.CallOption) (*KubernetesResponse, error) 891 } 892 893 type kubernetesAgentClient struct { 894 cc *grpc.ClientConn 895 } 896 897 func NewKubernetesAgentClient(cc *grpc.ClientConn) KubernetesAgentClient { 898 return &kubernetesAgentClient{cc} 899 } 900 901 func (c *kubernetesAgentClient) Invoke(ctx context.Context, in *KubernetesRequest, opts ...grpc.CallOption) (*KubernetesResponse, error) { 902 out := new(KubernetesResponse) 903 err := c.cc.Invoke(ctx, "/moc.cloudagent.kubernetes.KubernetesAgent/Invoke", in, out, opts...) 904 if err != nil { 905 return nil, err 906 } 907 return out, nil 908 } 909 910 // KubernetesAgentServer is the server API for KubernetesAgent service. 911 type KubernetesAgentServer interface { 912 Invoke(context.Context, *KubernetesRequest) (*KubernetesResponse, error) 913 } 914 915 // UnimplementedKubernetesAgentServer can be embedded to have forward compatible implementations. 916 type UnimplementedKubernetesAgentServer struct { 917 } 918 919 func (*UnimplementedKubernetesAgentServer) Invoke(ctx context.Context, req *KubernetesRequest) (*KubernetesResponse, error) { 920 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 921 } 922 923 func RegisterKubernetesAgentServer(s *grpc.Server, srv KubernetesAgentServer) { 924 s.RegisterService(&_KubernetesAgent_serviceDesc, srv) 925 } 926 927 func _KubernetesAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 928 in := new(KubernetesRequest) 929 if err := dec(in); err != nil { 930 return nil, err 931 } 932 if interceptor == nil { 933 return srv.(KubernetesAgentServer).Invoke(ctx, in) 934 } 935 info := &grpc.UnaryServerInfo{ 936 Server: srv, 937 FullMethod: "/moc.cloudagent.kubernetes.KubernetesAgent/Invoke", 938 } 939 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 940 return srv.(KubernetesAgentServer).Invoke(ctx, req.(*KubernetesRequest)) 941 } 942 return interceptor(ctx, in, info, handler) 943 } 944 945 var _KubernetesAgent_serviceDesc = grpc.ServiceDesc{ 946 ServiceName: "moc.cloudagent.kubernetes.KubernetesAgent", 947 HandlerType: (*KubernetesAgentServer)(nil), 948 Methods: []grpc.MethodDesc{ 949 { 950 MethodName: "Invoke", 951 Handler: _KubernetesAgent_Invoke_Handler, 952 }, 953 }, 954 Streams: []grpc.StreamDesc{}, 955 Metadata: "moc_cloudagent_kubernetes.proto", 956 }