590 lines
20 KiB
Go
590 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.5
|
|
// protoc v3.21.12
|
|
// source: mlbctl.proto
|
|
|
|
package mlbctl
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetHelloParams struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHelloParams) Reset() {
|
|
*x = GetHelloParams{}
|
|
mi := &file_mlbctl_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHelloParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHelloParams) ProtoMessage() {}
|
|
|
|
func (x *GetHelloParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHelloParams.ProtoReflect.Descriptor instead.
|
|
func (*GetHelloParams) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type GetHelloResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHelloResult) Reset() {
|
|
*x = GetHelloResult{}
|
|
mi := &file_mlbctl_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHelloResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHelloResult) ProtoMessage() {}
|
|
|
|
func (x *GetHelloResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHelloResult.ProtoReflect.Descriptor instead.
|
|
func (*GetHelloResult) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetHelloResult) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Forwarder struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lport uint32 `protobuf:"varint,1,opt,name=lport,proto3" json:"lport,omitempty"`
|
|
Dport uint32 `protobuf:"varint,2,opt,name=dport,proto3" json:"dport,omitempty"`
|
|
Destinations []*Destination `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Forwarder) Reset() {
|
|
*x = Forwarder{}
|
|
mi := &file_mlbctl_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Forwarder) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Forwarder) ProtoMessage() {}
|
|
|
|
func (x *Forwarder) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Forwarder.ProtoReflect.Descriptor instead.
|
|
func (*Forwarder) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Forwarder) GetLport() uint32 {
|
|
if x != nil {
|
|
return x.Lport
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Forwarder) GetDport() uint32 {
|
|
if x != nil {
|
|
return x.Dport
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Forwarder) GetDestinations() []*Destination {
|
|
if x != nil {
|
|
return x.Destinations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Destination struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Destination) Reset() {
|
|
*x = Destination{}
|
|
mi := &file_mlbctl_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Destination) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Destination) ProtoMessage() {}
|
|
|
|
func (x *Destination) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Destination.ProtoReflect.Descriptor instead.
|
|
func (*Destination) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Destination) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListForwardersParams struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListForwardersParams) Reset() {
|
|
*x = ListForwardersParams{}
|
|
mi := &file_mlbctl_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListForwardersParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListForwardersParams) ProtoMessage() {}
|
|
|
|
func (x *ListForwardersParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListForwardersParams.ProtoReflect.Descriptor instead.
|
|
func (*ListForwardersParams) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type ListForwardersResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Forwarders []*Forwarder `protobuf:"bytes,1,rep,name=forwarders,proto3" json:"forwarders,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListForwardersResult) Reset() {
|
|
*x = ListForwardersResult{}
|
|
mi := &file_mlbctl_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListForwardersResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListForwardersResult) ProtoMessage() {}
|
|
|
|
func (x *ListForwardersResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListForwardersResult.ProtoReflect.Descriptor instead.
|
|
func (*ListForwardersResult) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListForwardersResult) GetForwarders() []*Forwarder {
|
|
if x != nil {
|
|
return x.Forwarders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateForwarderParams struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lport uint32 `protobuf:"varint,1,opt,name=lport,proto3" json:"lport,omitempty"`
|
|
Dport uint32 `protobuf:"varint,2,opt,name=dport,proto3" json:"dport,omitempty"`
|
|
Destinations []string `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateForwarderParams) Reset() {
|
|
*x = CreateForwarderParams{}
|
|
mi := &file_mlbctl_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateForwarderParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateForwarderParams) ProtoMessage() {}
|
|
|
|
func (x *CreateForwarderParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateForwarderParams.ProtoReflect.Descriptor instead.
|
|
func (*CreateForwarderParams) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CreateForwarderParams) GetLport() uint32 {
|
|
if x != nil {
|
|
return x.Lport
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateForwarderParams) GetDport() uint32 {
|
|
if x != nil {
|
|
return x.Dport
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateForwarderParams) GetDestinations() []string {
|
|
if x != nil {
|
|
return x.Destinations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateForwarderResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateForwarderResult) Reset() {
|
|
*x = CreateForwarderResult{}
|
|
mi := &file_mlbctl_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateForwarderResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateForwarderResult) ProtoMessage() {}
|
|
|
|
func (x *CreateForwarderResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateForwarderResult.ProtoReflect.Descriptor instead.
|
|
func (*CreateForwarderResult) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type DeleteForwarderParams struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Lport uint32 `protobuf:"varint,1,opt,name=lport,proto3" json:"lport,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteForwarderParams) Reset() {
|
|
*x = DeleteForwarderParams{}
|
|
mi := &file_mlbctl_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteForwarderParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteForwarderParams) ProtoMessage() {}
|
|
|
|
func (x *DeleteForwarderParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteForwarderParams.ProtoReflect.Descriptor instead.
|
|
func (*DeleteForwarderParams) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteForwarderParams) GetLport() uint32 {
|
|
if x != nil {
|
|
return x.Lport
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteForwarderResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteForwarderResult) Reset() {
|
|
*x = DeleteForwarderResult{}
|
|
mi := &file_mlbctl_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteForwarderResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteForwarderResult) ProtoMessage() {}
|
|
|
|
func (x *DeleteForwarderResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mlbctl_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteForwarderResult.ProtoReflect.Descriptor instead.
|
|
func (*DeleteForwarderResult) Descriptor() ([]byte, []int) {
|
|
return file_mlbctl_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
var File_mlbctl_proto protoreflect.FileDescriptor
|
|
|
|
var file_mlbctl_proto_rawDesc = string([]byte{
|
|
0x0a, 0x0c, 0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
|
|
0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x22, 0x10, 0x0a, 0x0e, 0x67, 0x65, 0x74, 0x48, 0x65, 0x6c,
|
|
0x6c, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x67, 0x65, 0x74, 0x48,
|
|
0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x22, 0x70, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65,
|
|
0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x05, 0x6c, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x70, 0x6f, 0x72, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x64, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x37, 0x0a,
|
|
0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x73,
|
|
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22,
|
|
0x16, 0x0a, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72,
|
|
0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x49, 0x0a, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x46,
|
|
0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
|
|
0x31, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x66, 0x6f, 0x72,
|
|
0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65,
|
|
0x72, 0x73, 0x22, 0x67, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77,
|
|
0x61, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c,
|
|
0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x70, 0x6f, 0x72,
|
|
0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x05, 0x64, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64,
|
|
0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65,
|
|
0x73, 0x75, 0x6c, 0x74, 0x22, 0x2d, 0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f,
|
|
0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a,
|
|
0x05, 0x6c, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x70,
|
|
0x6f, 0x72, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x72,
|
|
0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xbd, 0x02, 0x0a,
|
|
0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x3c, 0x0a, 0x08, 0x67, 0x65, 0x74, 0x48,
|
|
0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x16, 0x2e, 0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x67, 0x65,
|
|
0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x16, 0x2e, 0x6d,
|
|
0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65,
|
|
0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x6c, 0x62, 0x63,
|
|
0x74, 0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
|
|
0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1d, 0x2e, 0x6d, 0x6c, 0x62, 0x63, 0x74,
|
|
0x6c, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65,
|
|
0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0e, 0x6c, 0x69, 0x73,
|
|
0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x6c,
|
|
0x62, 0x63, 0x74, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
|
|
0x65, 0x72, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1c, 0x2e, 0x6d, 0x6c, 0x62, 0x63,
|
|
0x74, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72,
|
|
0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0f, 0x64, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d,
|
|
0x6c, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77,
|
|
0x61, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1d, 0x2e, 0x6d, 0x6c,
|
|
0x62, 0x63, 0x74, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x77, 0x61,
|
|
0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x42, 0x0a, 0x5a, 0x08,
|
|
0x2e, 0x3b, 0x6d, 0x6c, 0x62, 0x63, 0x74, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var (
|
|
file_mlbctl_proto_rawDescOnce sync.Once
|
|
file_mlbctl_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_mlbctl_proto_rawDescGZIP() []byte {
|
|
file_mlbctl_proto_rawDescOnce.Do(func() {
|
|
file_mlbctl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mlbctl_proto_rawDesc), len(file_mlbctl_proto_rawDesc)))
|
|
})
|
|
return file_mlbctl_proto_rawDescData
|
|
}
|
|
|
|
var file_mlbctl_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_mlbctl_proto_goTypes = []any{
|
|
(*GetHelloParams)(nil), // 0: mlbctl.getHelloParams
|
|
(*GetHelloResult)(nil), // 1: mlbctl.getHelloResult
|
|
(*Forwarder)(nil), // 2: mlbctl.forwarder
|
|
(*Destination)(nil), // 3: mlbctl.destination
|
|
(*ListForwardersParams)(nil), // 4: mlbctl.listForwardersParams
|
|
(*ListForwardersResult)(nil), // 5: mlbctl.listForwardersResult
|
|
(*CreateForwarderParams)(nil), // 6: mlbctl.createForwarderParams
|
|
(*CreateForwarderResult)(nil), // 7: mlbctl.createForwarderResult
|
|
(*DeleteForwarderParams)(nil), // 8: mlbctl.deleteForwarderParams
|
|
(*DeleteForwarderResult)(nil), // 9: mlbctl.deleteForwarderResult
|
|
}
|
|
var file_mlbctl_proto_depIdxs = []int32{
|
|
3, // 0: mlbctl.forwarder.destinations:type_name -> mlbctl.destination
|
|
2, // 1: mlbctl.listForwardersResult.forwarders:type_name -> mlbctl.forwarder
|
|
0, // 2: mlbctl.Control.getHello:input_type -> mlbctl.getHelloParams
|
|
6, // 3: mlbctl.Control.createForwarder:input_type -> mlbctl.createForwarderParams
|
|
4, // 4: mlbctl.Control.listForwarders:input_type -> mlbctl.listForwardersParams
|
|
8, // 5: mlbctl.Control.deleteForwarder:input_type -> mlbctl.deleteForwarderParams
|
|
1, // 6: mlbctl.Control.getHello:output_type -> mlbctl.getHelloResult
|
|
7, // 7: mlbctl.Control.createForwarder:output_type -> mlbctl.createForwarderResult
|
|
5, // 8: mlbctl.Control.listForwarders:output_type -> mlbctl.listForwardersResult
|
|
9, // 9: mlbctl.Control.deleteForwarder:output_type -> mlbctl.deleteForwarderResult
|
|
6, // [6:10] is the sub-list for method output_type
|
|
2, // [2:6] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_mlbctl_proto_init() }
|
|
func file_mlbctl_proto_init() {
|
|
if File_mlbctl_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mlbctl_proto_rawDesc), len(file_mlbctl_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_mlbctl_proto_goTypes,
|
|
DependencyIndexes: file_mlbctl_proto_depIdxs,
|
|
MessageInfos: file_mlbctl_proto_msgTypes,
|
|
}.Build()
|
|
File_mlbctl_proto = out.File
|
|
file_mlbctl_proto_goTypes = nil
|
|
file_mlbctl_proto_depIdxs = nil
|
|
}
|