Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDomainBindingHTTPServer(s *http.Server, srv DomainBindingHTTPServer)
- func RegisterDomainBindingServer(s grpc.ServiceRegistrar, srv DomainBindingServer)
- func RegisterNetworkMappingHTTPServer(s *http.Server, srv NetworkMappingHTTPServer)
- func RegisterNetworkMappingServer(s grpc.ServiceRegistrar, srv NetworkMappingServer)
- type CreateDomainBindingReply
- func (*CreateDomainBindingReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainBindingReply) GetCode() int32
- func (x *CreateDomainBindingReply) GetData() string
- func (x *CreateDomainBindingReply) GetMessage() string
- func (*CreateDomainBindingReply) ProtoMessage()
- func (x *CreateDomainBindingReply) ProtoReflect() protoreflect.Message
- func (x *CreateDomainBindingReply) Reset()
- func (x *CreateDomainBindingReply) String() string
- type CreateDomainBindingRequest
- func (*CreateDomainBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainBindingRequest) GetDomain() string
- func (x *CreateDomainBindingRequest) GetName() string
- func (x *CreateDomainBindingRequest) GetNetworkMappingId() string
- func (*CreateDomainBindingRequest) ProtoMessage()
- func (x *CreateDomainBindingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDomainBindingRequest) Reset()
- func (x *CreateDomainBindingRequest) String() string
- type CreateNetworkMappingReply
- func (*CreateNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkMappingReply) GetCode() int32
- func (x *CreateNetworkMappingReply) GetMessage() string
- func (x *CreateNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
- func (*CreateNetworkMappingReply) ProtoMessage()
- func (x *CreateNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkMappingReply) Reset()
- func (x *CreateNetworkMappingReply) String() string
- type CreateNetworkMappingRequest
- func (*CreateNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkMappingRequest) GetComputerId() string
- func (x *CreateNetworkMappingRequest) GetComputerPort() int32
- func (x *CreateNetworkMappingRequest) GetName() string
- func (x *CreateNetworkMappingRequest) GetProtocol() string
- func (*CreateNetworkMappingRequest) ProtoMessage()
- func (x *CreateNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkMappingRequest) Reset()
- func (x *CreateNetworkMappingRequest) String() string
- type DeleteDomainBindingReply
- func (*DeleteDomainBindingReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainBindingReply) GetCode() int32
- func (x *DeleteDomainBindingReply) GetMessage() string
- func (*DeleteDomainBindingReply) ProtoMessage()
- func (x *DeleteDomainBindingReply) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainBindingReply) Reset()
- func (x *DeleteDomainBindingReply) String() string
- type DeleteDomainBindingRequest
- func (*DeleteDomainBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainBindingRequest) GetId() string
- func (*DeleteDomainBindingRequest) ProtoMessage()
- func (x *DeleteDomainBindingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainBindingRequest) Reset()
- func (x *DeleteDomainBindingRequest) String() string
- type DeleteNetworkMappingReply
- func (*DeleteNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNetworkMappingReply) GetCode() int32
- func (x *DeleteNetworkMappingReply) GetMessage() string
- func (*DeleteNetworkMappingReply) ProtoMessage()
- func (x *DeleteNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *DeleteNetworkMappingReply) Reset()
- func (x *DeleteNetworkMappingReply) String() string
- type DeleteNetworkMappingRequest
- func (*DeleteNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNetworkMappingRequest) GetId() string
- func (*DeleteNetworkMappingRequest) ProtoMessage()
- func (x *DeleteNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNetworkMappingRequest) Reset()
- func (x *DeleteNetworkMappingRequest) String() string
- type DomainBindingClient
- type DomainBindingHTTPClient
- type DomainBindingHTTPClientImpl
- func (c *DomainBindingHTTPClientImpl) CreateDomainBinding(ctx context.Context, in *CreateDomainBindingRequest, opts ...http.CallOption) (*CreateDomainBindingReply, error)
- func (c *DomainBindingHTTPClientImpl) DeleteDomainBinding(ctx context.Context, in *DeleteDomainBindingRequest, opts ...http.CallOption) (*DeleteDomainBindingReply, error)
- func (c *DomainBindingHTTPClientImpl) GetDomainBinding(ctx context.Context, in *GetDomainBindingRequest, opts ...http.CallOption) (*GetDomainBindingReply, error)
- func (c *DomainBindingHTTPClientImpl) ListDomainBinding(ctx context.Context, in *ListDomainBindingRequest, opts ...http.CallOption) (*ListDomainBindingReply, error)
- func (c *DomainBindingHTTPClientImpl) NsLookup(ctx context.Context, in *NsLookupRequest, opts ...http.CallOption) (*NsLookupReply, error)
- func (c *DomainBindingHTTPClientImpl) UpdateDomainBinding(ctx context.Context, in *UpdateDomainBindingRequest, opts ...http.CallOption) (*UpdateDomainBindingReply, error)
- type DomainBindingHTTPServer
- type DomainBindingPageResponse
- func (*DomainBindingPageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DomainBindingPageResponse) GetList() []*DomainBindingVO
- func (x *DomainBindingPageResponse) GetPage() int32
- func (x *DomainBindingPageResponse) GetSize() int32
- func (x *DomainBindingPageResponse) GetTotal() int64
- func (*DomainBindingPageResponse) ProtoMessage()
- func (x *DomainBindingPageResponse) ProtoReflect() protoreflect.Message
- func (x *DomainBindingPageResponse) Reset()
- func (x *DomainBindingPageResponse) String() string
- type DomainBindingServer
- type DomainBindingVO
- func (*DomainBindingVO) Descriptor() ([]byte, []int)deprecated
- func (x *DomainBindingVO) GetComputeInstanceId() string
- func (x *DomainBindingVO) GetCreateTime() int64
- func (x *DomainBindingVO) GetDomain() string
- func (x *DomainBindingVO) GetGatewayPort() int32
- func (x *DomainBindingVO) GetId() string
- func (x *DomainBindingVO) GetName() string
- func (x *DomainBindingVO) GetNetworkMappingId() string
- func (*DomainBindingVO) ProtoMessage()
- func (x *DomainBindingVO) ProtoReflect() protoreflect.Message
- func (x *DomainBindingVO) Reset()
- func (x *DomainBindingVO) String() string
- type GetDomainBindingReply
- func (*GetDomainBindingReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDomainBindingReply) GetCode() int32
- func (x *GetDomainBindingReply) GetData() *DomainBindingVO
- func (x *GetDomainBindingReply) GetMessage() string
- func (*GetDomainBindingReply) ProtoMessage()
- func (x *GetDomainBindingReply) ProtoReflect() protoreflect.Message
- func (x *GetDomainBindingReply) Reset()
- func (x *GetDomainBindingReply) String() string
- type GetDomainBindingRequest
- func (*GetDomainBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDomainBindingRequest) GetId() string
- func (*GetDomainBindingRequest) ProtoMessage()
- func (x *GetDomainBindingRequest) ProtoReflect() protoreflect.Message
- func (x *GetDomainBindingRequest) Reset()
- func (x *GetDomainBindingRequest) String() string
- type GetNetworkMappingReply
- func (*GetNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkMappingReply) GetCode() int32
- func (x *GetNetworkMappingReply) GetMessage() string
- func (x *GetNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
- func (*GetNetworkMappingReply) ProtoMessage()
- func (x *GetNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *GetNetworkMappingReply) Reset()
- func (x *GetNetworkMappingReply) String() string
- type GetNetworkMappingRequest
- func (*GetNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkMappingRequest) GetId() string
- func (*GetNetworkMappingRequest) ProtoMessage()
- func (x *GetNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetworkMappingRequest) Reset()
- func (x *GetNetworkMappingRequest) String() string
- type ListDomainBindingReply
- func (*ListDomainBindingReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainBindingReply) GetCode() int32
- func (x *ListDomainBindingReply) GetData() *DomainBindingPageResponse
- func (x *ListDomainBindingReply) GetMessage() string
- func (*ListDomainBindingReply) ProtoMessage()
- func (x *ListDomainBindingReply) ProtoReflect() protoreflect.Message
- func (x *ListDomainBindingReply) Reset()
- func (x *ListDomainBindingReply) String() string
- type ListDomainBindingRequest
- func (*ListDomainBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainBindingRequest) GetNetworkMappingId() string
- func (x *ListDomainBindingRequest) GetPage() int32
- func (x *ListDomainBindingRequest) GetSize() int32
- func (*ListDomainBindingRequest) ProtoMessage()
- func (x *ListDomainBindingRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainBindingRequest) Reset()
- func (x *ListDomainBindingRequest) String() string
- type NetworkMappingClient
- type NetworkMappingHTTPClient
- type NetworkMappingHTTPClientImpl
- func (c *NetworkMappingHTTPClientImpl) CreateNetworkMapping(ctx context.Context, in *CreateNetworkMappingRequest, opts ...http.CallOption) (*CreateNetworkMappingReply, error)
- func (c *NetworkMappingHTTPClientImpl) DeleteNetworkMapping(ctx context.Context, in *DeleteNetworkMappingRequest, opts ...http.CallOption) (*DeleteNetworkMappingReply, error)
- func (c *NetworkMappingHTTPClientImpl) GetNetworkMapping(ctx context.Context, in *GetNetworkMappingRequest, opts ...http.CallOption) (*GetNetworkMappingReply, error)
- func (c *NetworkMappingHTTPClientImpl) NextNetworkMapping(ctx context.Context, in *NextNetworkMappingRequest, opts ...http.CallOption) (*NextNetworkMappingReply, error)
- func (c *NetworkMappingHTTPClientImpl) PageNetworkMapping(ctx context.Context, in *PageNetworkMappingRequest, opts ...http.CallOption) (*PageNetworkMappingReply, error)
- func (c *NetworkMappingHTTPClientImpl) UpdateNetworkMapping(ctx context.Context, in *UpdateNetworkMappingRequest, opts ...http.CallOption) (*UpdateNetworkMappingReply, error)
- type NetworkMappingHTTPServer
- type NetworkMappingServer
- type NetworkMappingVO
- func (*NetworkMappingVO) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkMappingVO) GetCreatedTime() int64
- func (x *NetworkMappingVO) GetDomains() []*DomainBindingVO
- func (x *NetworkMappingVO) GetGatewayId() string
- func (x *NetworkMappingVO) GetGatewayIp() string
- func (x *NetworkMappingVO) GetGatewayPort() int32
- func (x *NetworkMappingVO) GetId() string
- func (x *NetworkMappingVO) GetInstanceId() string
- func (x *NetworkMappingVO) GetInstanceName() string
- func (x *NetworkMappingVO) GetInstancePort() int32
- func (x *NetworkMappingVO) GetName() string
- func (x *NetworkMappingVO) GetProtocol() string
- func (x *NetworkMappingVO) GetStatus() int32
- func (*NetworkMappingVO) ProtoMessage()
- func (x *NetworkMappingVO) ProtoReflect() protoreflect.Message
- func (x *NetworkMappingVO) Reset()
- func (x *NetworkMappingVO) String() string
- type NextNetworkMappingReply
- func (*NextNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *NextNetworkMappingReply) GetCode() int32
- func (x *NextNetworkMappingReply) GetData() *NextNetworkMappingReply_Data
- func (x *NextNetworkMappingReply) GetMessage() string
- func (*NextNetworkMappingReply) ProtoMessage()
- func (x *NextNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *NextNetworkMappingReply) Reset()
- func (x *NextNetworkMappingReply) String() string
- type NextNetworkMappingReply_Data
- func (*NextNetworkMappingReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *NextNetworkMappingReply_Data) GetPublicIp() string
- func (x *NextNetworkMappingReply_Data) GetPublicPort() int32
- func (*NextNetworkMappingReply_Data) ProtoMessage()
- func (x *NextNetworkMappingReply_Data) ProtoReflect() protoreflect.Message
- func (x *NextNetworkMappingReply_Data) Reset()
- func (x *NextNetworkMappingReply_Data) String() string
- type NextNetworkMappingRequest
- func (*NextNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextNetworkMappingRequest) GetComputerId() string
- func (*NextNetworkMappingRequest) ProtoMessage()
- func (x *NextNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *NextNetworkMappingRequest) Reset()
- func (x *NextNetworkMappingRequest) String() string
- type NsLookupReply
- func (*NsLookupReply) Descriptor() ([]byte, []int)deprecated
- func (x *NsLookupReply) GetCode() int32
- func (x *NsLookupReply) GetData() bool
- func (x *NsLookupReply) GetMessage() string
- func (*NsLookupReply) ProtoMessage()
- func (x *NsLookupReply) ProtoReflect() protoreflect.Message
- func (x *NsLookupReply) Reset()
- func (x *NsLookupReply) String() string
- type NsLookupRequest
- func (*NsLookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NsLookupRequest) GetDomain() string
- func (x *NsLookupRequest) GetNetworkMappingId() string
- func (*NsLookupRequest) ProtoMessage()
- func (x *NsLookupRequest) ProtoReflect() protoreflect.Message
- func (x *NsLookupRequest) Reset()
- func (x *NsLookupRequest) String() string
- type PageNetworkMappingReply
- func (*PageNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageNetworkMappingReply) GetCode() int32
- func (x *PageNetworkMappingReply) GetData() *PageNetworkMappingReply_Data
- func (x *PageNetworkMappingReply) GetMessage() string
- func (*PageNetworkMappingReply) ProtoMessage()
- func (x *PageNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *PageNetworkMappingReply) Reset()
- func (x *PageNetworkMappingReply) String() string
- type PageNetworkMappingReply_Data
- func (*PageNetworkMappingReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *PageNetworkMappingReply_Data) GetList() []*NetworkMappingVO
- func (x *PageNetworkMappingReply_Data) GetPage() int32
- func (x *PageNetworkMappingReply_Data) GetSize() int32
- func (x *PageNetworkMappingReply_Data) GetTotal() int32
- func (*PageNetworkMappingReply_Data) ProtoMessage()
- func (x *PageNetworkMappingReply_Data) ProtoReflect() protoreflect.Message
- func (x *PageNetworkMappingReply_Data) Reset()
- func (x *PageNetworkMappingReply_Data) String() string
- type PageNetworkMappingRequest
- func (*PageNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageNetworkMappingRequest) GetPage() int32
- func (x *PageNetworkMappingRequest) GetSize() int32
- func (*PageNetworkMappingRequest) ProtoMessage()
- func (x *PageNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *PageNetworkMappingRequest) Reset()
- func (x *PageNetworkMappingRequest) String() string
- type UnimplementedDomainBindingServer
- func (UnimplementedDomainBindingServer) CreateDomainBinding(context.Context, *CreateDomainBindingRequest) (*CreateDomainBindingReply, error)
- func (UnimplementedDomainBindingServer) DeleteDomainBinding(context.Context, *DeleteDomainBindingRequest) (*DeleteDomainBindingReply, error)
- func (UnimplementedDomainBindingServer) GetDomainBinding(context.Context, *GetDomainBindingRequest) (*GetDomainBindingReply, error)
- func (UnimplementedDomainBindingServer) ListDomainBinding(context.Context, *ListDomainBindingRequest) (*ListDomainBindingReply, error)
- func (UnimplementedDomainBindingServer) NsLookup(context.Context, *NsLookupRequest) (*NsLookupReply, error)
- func (UnimplementedDomainBindingServer) UpdateDomainBinding(context.Context, *UpdateDomainBindingRequest) (*UpdateDomainBindingReply, error)
- type UnimplementedNetworkMappingServer
- func (UnimplementedNetworkMappingServer) CreateNetworkMapping(context.Context, *CreateNetworkMappingRequest) (*CreateNetworkMappingReply, error)
- func (UnimplementedNetworkMappingServer) DeleteNetworkMapping(context.Context, *DeleteNetworkMappingRequest) (*DeleteNetworkMappingReply, error)
- func (UnimplementedNetworkMappingServer) GetNetworkMapping(context.Context, *GetNetworkMappingRequest) (*GetNetworkMappingReply, error)
- func (UnimplementedNetworkMappingServer) NextNetworkMapping(context.Context, *NextNetworkMappingRequest) (*NextNetworkMappingReply, error)
- func (UnimplementedNetworkMappingServer) PageNetworkMapping(context.Context, *PageNetworkMappingRequest) (*PageNetworkMappingReply, error)
- func (UnimplementedNetworkMappingServer) UpdateNetworkMapping(context.Context, *UpdateNetworkMappingRequest) (*UpdateNetworkMappingReply, error)
- type UnsafeDomainBindingServer
- type UnsafeNetworkMappingServer
- type UpdateDomainBindingReply
- func (*UpdateDomainBindingReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainBindingReply) GetCode() int32
- func (x *UpdateDomainBindingReply) GetMessage() string
- func (*UpdateDomainBindingReply) ProtoMessage()
- func (x *UpdateDomainBindingReply) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainBindingReply) Reset()
- func (x *UpdateDomainBindingReply) String() string
- type UpdateDomainBindingRequest
- func (*UpdateDomainBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDomainBindingRequest) GetDomain() string
- func (x *UpdateDomainBindingRequest) GetId() string
- func (x *UpdateDomainBindingRequest) GetName() string
- func (x *UpdateDomainBindingRequest) GetNetworkMappingId() string
- func (*UpdateDomainBindingRequest) ProtoMessage()
- func (x *UpdateDomainBindingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDomainBindingRequest) Reset()
- func (x *UpdateDomainBindingRequest) String() string
- type UpdateNetworkMappingReply
- func (*UpdateNetworkMappingReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkMappingReply) GetCode() int32
- func (x *UpdateNetworkMappingReply) GetMessage() string
- func (x *UpdateNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
- func (*UpdateNetworkMappingReply) ProtoMessage()
- func (x *UpdateNetworkMappingReply) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkMappingReply) Reset()
- func (x *UpdateNetworkMappingReply) String() string
- type UpdateNetworkMappingRequest
- func (*UpdateNetworkMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkMappingRequest) GetComputerId() string
- func (x *UpdateNetworkMappingRequest) GetComputerPort() int32
- func (x *UpdateNetworkMappingRequest) GetId() string
- func (x *UpdateNetworkMappingRequest) GetName() string
- func (x *UpdateNetworkMappingRequest) GetProtocol() string
- func (*UpdateNetworkMappingRequest) ProtoMessage()
- func (x *UpdateNetworkMappingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkMappingRequest) Reset()
- func (x *UpdateNetworkMappingRequest) String() string
Constants ¶
const ( DomainBinding_CreateDomainBinding_FullMethodName = "/server.network_mapping.v1.DomainBinding/CreateDomainBinding" DomainBinding_NsLookup_FullMethodName = "/server.network_mapping.v1.DomainBinding/NsLookup" DomainBinding_UpdateDomainBinding_FullMethodName = "/server.network_mapping.v1.DomainBinding/UpdateDomainBinding" DomainBinding_DeleteDomainBinding_FullMethodName = "/server.network_mapping.v1.DomainBinding/DeleteDomainBinding" DomainBinding_GetDomainBinding_FullMethodName = "/server.network_mapping.v1.DomainBinding/GetDomainBinding" DomainBinding_ListDomainBinding_FullMethodName = "/server.network_mapping.v1.DomainBinding/ListDomainBinding" )
const ( NetworkMapping_CreateNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/CreateNetworkMapping" NetworkMapping_PageNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/PageNetworkMapping" NetworkMapping_NextNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/NextNetworkMapping" NetworkMapping_GetNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/GetNetworkMapping" NetworkMapping_DeleteNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/DeleteNetworkMapping" NetworkMapping_UpdateNetworkMapping_FullMethodName = "/server.network_mapping.v1.NetworkMapping/UpdateNetworkMapping" )
const OperationDomainBindingCreateDomainBinding = "/server.network_mapping.v1.DomainBinding/CreateDomainBinding"
const OperationDomainBindingDeleteDomainBinding = "/server.network_mapping.v1.DomainBinding/DeleteDomainBinding"
const OperationDomainBindingGetDomainBinding = "/server.network_mapping.v1.DomainBinding/GetDomainBinding"
const OperationDomainBindingListDomainBinding = "/server.network_mapping.v1.DomainBinding/ListDomainBinding"
const OperationDomainBindingNsLookup = "/server.network_mapping.v1.DomainBinding/NsLookup"
const OperationDomainBindingUpdateDomainBinding = "/server.network_mapping.v1.DomainBinding/UpdateDomainBinding"
const OperationNetworkMappingCreateNetworkMapping = "/server.network_mapping.v1.NetworkMapping/CreateNetworkMapping"
const OperationNetworkMappingDeleteNetworkMapping = "/server.network_mapping.v1.NetworkMapping/DeleteNetworkMapping"
const OperationNetworkMappingGetNetworkMapping = "/server.network_mapping.v1.NetworkMapping/GetNetworkMapping"
const OperationNetworkMappingNextNetworkMapping = "/server.network_mapping.v1.NetworkMapping/NextNetworkMapping"
const OperationNetworkMappingPageNetworkMapping = "/server.network_mapping.v1.NetworkMapping/PageNetworkMapping"
const OperationNetworkMappingUpdateNetworkMapping = "/server.network_mapping.v1.NetworkMapping/UpdateNetworkMapping"
Variables ¶
var DomainBinding_ServiceDesc = grpc.ServiceDesc{ ServiceName: "server.network_mapping.v1.DomainBinding", HandlerType: (*DomainBindingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDomainBinding", Handler: _DomainBinding_CreateDomainBinding_Handler, }, { MethodName: "NsLookup", Handler: _DomainBinding_NsLookup_Handler, }, { MethodName: "UpdateDomainBinding", Handler: _DomainBinding_UpdateDomainBinding_Handler, }, { MethodName: "DeleteDomainBinding", Handler: _DomainBinding_DeleteDomainBinding_Handler, }, { MethodName: "GetDomainBinding", Handler: _DomainBinding_GetDomainBinding_Handler, }, { MethodName: "ListDomainBinding", Handler: _DomainBinding_ListDomainBinding_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/network_mapping/v1/domain_binding.proto", }
DomainBinding_ServiceDesc is the grpc.ServiceDesc for DomainBinding service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_server_network_mapping_v1_domain_binding_proto protoreflect.FileDescriptor
var File_server_network_mapping_v1_network_mapping_proto protoreflect.FileDescriptor
var NetworkMapping_ServiceDesc = grpc.ServiceDesc{ ServiceName: "server.network_mapping.v1.NetworkMapping", HandlerType: (*NetworkMappingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNetworkMapping", Handler: _NetworkMapping_CreateNetworkMapping_Handler, }, { MethodName: "PageNetworkMapping", Handler: _NetworkMapping_PageNetworkMapping_Handler, }, { MethodName: "NextNetworkMapping", Handler: _NetworkMapping_NextNetworkMapping_Handler, }, { MethodName: "GetNetworkMapping", Handler: _NetworkMapping_GetNetworkMapping_Handler, }, { MethodName: "DeleteNetworkMapping", Handler: _NetworkMapping_DeleteNetworkMapping_Handler, }, { MethodName: "UpdateNetworkMapping", Handler: _NetworkMapping_UpdateNetworkMapping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/network_mapping/v1/network_mapping.proto", }
NetworkMapping_ServiceDesc is the grpc.ServiceDesc for NetworkMapping service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDomainBindingHTTPServer ¶
func RegisterDomainBindingHTTPServer(s *http.Server, srv DomainBindingHTTPServer)
func RegisterDomainBindingServer ¶
func RegisterDomainBindingServer(s grpc.ServiceRegistrar, srv DomainBindingServer)
func RegisterNetworkMappingHTTPServer ¶
func RegisterNetworkMappingHTTPServer(s *http.Server, srv NetworkMappingHTTPServer)
func RegisterNetworkMappingServer ¶
func RegisterNetworkMappingServer(s grpc.ServiceRegistrar, srv NetworkMappingServer)
Types ¶
type CreateDomainBindingReply ¶
type CreateDomainBindingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDomainBindingReply) Descriptor
deprecated
func (*CreateDomainBindingReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainBindingReply.ProtoReflect.Descriptor instead.
func (*CreateDomainBindingReply) GetCode ¶
func (x *CreateDomainBindingReply) GetCode() int32
func (*CreateDomainBindingReply) GetData ¶
func (x *CreateDomainBindingReply) GetData() string
func (*CreateDomainBindingReply) GetMessage ¶
func (x *CreateDomainBindingReply) GetMessage() string
func (*CreateDomainBindingReply) ProtoMessage ¶
func (*CreateDomainBindingReply) ProtoMessage()
func (*CreateDomainBindingReply) ProtoReflect ¶
func (x *CreateDomainBindingReply) ProtoReflect() protoreflect.Message
func (*CreateDomainBindingReply) Reset ¶
func (x *CreateDomainBindingReply) Reset()
func (*CreateDomainBindingReply) String ¶
func (x *CreateDomainBindingReply) String() string
type CreateDomainBindingRequest ¶
type CreateDomainBindingRequest struct {
NetworkMappingId string `protobuf:"bytes,1,opt,name=network_mapping_id,json=networkMappingId,proto3" json:"network_mapping_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDomainBindingRequest) Descriptor
deprecated
func (*CreateDomainBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainBindingRequest) GetDomain ¶
func (x *CreateDomainBindingRequest) GetDomain() string
func (*CreateDomainBindingRequest) GetName ¶
func (x *CreateDomainBindingRequest) GetName() string
func (*CreateDomainBindingRequest) GetNetworkMappingId ¶
func (x *CreateDomainBindingRequest) GetNetworkMappingId() string
func (*CreateDomainBindingRequest) ProtoMessage ¶
func (*CreateDomainBindingRequest) ProtoMessage()
func (*CreateDomainBindingRequest) ProtoReflect ¶
func (x *CreateDomainBindingRequest) ProtoReflect() protoreflect.Message
func (*CreateDomainBindingRequest) Reset ¶
func (x *CreateDomainBindingRequest) Reset()
func (*CreateDomainBindingRequest) String ¶
func (x *CreateDomainBindingRequest) String() string
type CreateNetworkMappingReply ¶
type CreateNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
NetworkMapping *NetworkMappingVO `protobuf:"bytes,3,opt,name=network_mapping,json=networkMapping,proto3" json:"network_mapping,omitempty"`
// contains filtered or unexported fields
}
func (*CreateNetworkMappingReply) Descriptor
deprecated
func (*CreateNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*CreateNetworkMappingReply) GetCode ¶
func (x *CreateNetworkMappingReply) GetCode() int32
func (*CreateNetworkMappingReply) GetMessage ¶
func (x *CreateNetworkMappingReply) GetMessage() string
func (*CreateNetworkMappingReply) GetNetworkMapping ¶
func (x *CreateNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
func (*CreateNetworkMappingReply) ProtoMessage ¶
func (*CreateNetworkMappingReply) ProtoMessage()
func (*CreateNetworkMappingReply) ProtoReflect ¶
func (x *CreateNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*CreateNetworkMappingReply) Reset ¶
func (x *CreateNetworkMappingReply) Reset()
func (*CreateNetworkMappingReply) String ¶
func (x *CreateNetworkMappingReply) String() string
type CreateNetworkMappingRequest ¶
type CreateNetworkMappingRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
ComputerId string `protobuf:"bytes,3,opt,name=computer_id,json=computerId,proto3" json:"computer_id,omitempty"`
ComputerPort int32 `protobuf:"varint,4,opt,name=computer_port,json=computerPort,proto3" json:"computer_port,omitempty"`
// contains filtered or unexported fields
}
func (*CreateNetworkMappingRequest) Descriptor
deprecated
func (*CreateNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateNetworkMappingRequest) GetComputerId ¶
func (x *CreateNetworkMappingRequest) GetComputerId() string
func (*CreateNetworkMappingRequest) GetComputerPort ¶
func (x *CreateNetworkMappingRequest) GetComputerPort() int32
func (*CreateNetworkMappingRequest) GetName ¶
func (x *CreateNetworkMappingRequest) GetName() string
func (*CreateNetworkMappingRequest) GetProtocol ¶
func (x *CreateNetworkMappingRequest) GetProtocol() string
func (*CreateNetworkMappingRequest) ProtoMessage ¶
func (*CreateNetworkMappingRequest) ProtoMessage()
func (*CreateNetworkMappingRequest) ProtoReflect ¶
func (x *CreateNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateNetworkMappingRequest) Reset ¶
func (x *CreateNetworkMappingRequest) Reset()
func (*CreateNetworkMappingRequest) String ¶
func (x *CreateNetworkMappingRequest) String() string
type DeleteDomainBindingReply ¶
type DeleteDomainBindingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDomainBindingReply) Descriptor
deprecated
func (*DeleteDomainBindingReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainBindingReply.ProtoReflect.Descriptor instead.
func (*DeleteDomainBindingReply) GetCode ¶
func (x *DeleteDomainBindingReply) GetCode() int32
func (*DeleteDomainBindingReply) GetMessage ¶
func (x *DeleteDomainBindingReply) GetMessage() string
func (*DeleteDomainBindingReply) ProtoMessage ¶
func (*DeleteDomainBindingReply) ProtoMessage()
func (*DeleteDomainBindingReply) ProtoReflect ¶
func (x *DeleteDomainBindingReply) ProtoReflect() protoreflect.Message
func (*DeleteDomainBindingReply) Reset ¶
func (x *DeleteDomainBindingReply) Reset()
func (*DeleteDomainBindingReply) String ¶
func (x *DeleteDomainBindingReply) String() string
type DeleteDomainBindingRequest ¶
type DeleteDomainBindingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDomainBindingRequest) Descriptor
deprecated
func (*DeleteDomainBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainBindingRequest) GetId ¶
func (x *DeleteDomainBindingRequest) GetId() string
func (*DeleteDomainBindingRequest) ProtoMessage ¶
func (*DeleteDomainBindingRequest) ProtoMessage()
func (*DeleteDomainBindingRequest) ProtoReflect ¶
func (x *DeleteDomainBindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainBindingRequest) Reset ¶
func (x *DeleteDomainBindingRequest) Reset()
func (*DeleteDomainBindingRequest) String ¶
func (x *DeleteDomainBindingRequest) String() string
type DeleteNetworkMappingReply ¶
type DeleteNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNetworkMappingReply) Descriptor
deprecated
func (*DeleteNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*DeleteNetworkMappingReply) GetCode ¶
func (x *DeleteNetworkMappingReply) GetCode() int32
func (*DeleteNetworkMappingReply) GetMessage ¶
func (x *DeleteNetworkMappingReply) GetMessage() string
func (*DeleteNetworkMappingReply) ProtoMessage ¶
func (*DeleteNetworkMappingReply) ProtoMessage()
func (*DeleteNetworkMappingReply) ProtoReflect ¶
func (x *DeleteNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*DeleteNetworkMappingReply) Reset ¶
func (x *DeleteNetworkMappingReply) Reset()
func (*DeleteNetworkMappingReply) String ¶
func (x *DeleteNetworkMappingReply) String() string
type DeleteNetworkMappingRequest ¶
type DeleteNetworkMappingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNetworkMappingRequest) Descriptor
deprecated
func (*DeleteNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteNetworkMappingRequest) GetId ¶
func (x *DeleteNetworkMappingRequest) GetId() string
func (*DeleteNetworkMappingRequest) ProtoMessage ¶
func (*DeleteNetworkMappingRequest) ProtoMessage()
func (*DeleteNetworkMappingRequest) ProtoReflect ¶
func (x *DeleteNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteNetworkMappingRequest) Reset ¶
func (x *DeleteNetworkMappingRequest) Reset()
func (*DeleteNetworkMappingRequest) String ¶
func (x *DeleteNetworkMappingRequest) String() string
type DomainBindingClient ¶
type DomainBindingClient interface {
CreateDomainBinding(ctx context.Context, in *CreateDomainBindingRequest, opts ...grpc.CallOption) (*CreateDomainBindingReply, error)
NsLookup(ctx context.Context, in *NsLookupRequest, opts ...grpc.CallOption) (*NsLookupReply, error)
UpdateDomainBinding(ctx context.Context, in *UpdateDomainBindingRequest, opts ...grpc.CallOption) (*UpdateDomainBindingReply, error)
DeleteDomainBinding(ctx context.Context, in *DeleteDomainBindingRequest, opts ...grpc.CallOption) (*DeleteDomainBindingReply, error)
GetDomainBinding(ctx context.Context, in *GetDomainBindingRequest, opts ...grpc.CallOption) (*GetDomainBindingReply, error)
ListDomainBinding(ctx context.Context, in *ListDomainBindingRequest, opts ...grpc.CallOption) (*ListDomainBindingReply, error)
}
DomainBindingClient is the client API for DomainBinding service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDomainBindingClient ¶
func NewDomainBindingClient(cc grpc.ClientConnInterface) DomainBindingClient
type DomainBindingHTTPClient ¶
type DomainBindingHTTPClient interface {
CreateDomainBinding(ctx context.Context, req *CreateDomainBindingRequest, opts ...http.CallOption) (rsp *CreateDomainBindingReply, err error)
DeleteDomainBinding(ctx context.Context, req *DeleteDomainBindingRequest, opts ...http.CallOption) (rsp *DeleteDomainBindingReply, err error)
GetDomainBinding(ctx context.Context, req *GetDomainBindingRequest, opts ...http.CallOption) (rsp *GetDomainBindingReply, err error)
ListDomainBinding(ctx context.Context, req *ListDomainBindingRequest, opts ...http.CallOption) (rsp *ListDomainBindingReply, err error)
NsLookup(ctx context.Context, req *NsLookupRequest, opts ...http.CallOption) (rsp *NsLookupReply, err error)
UpdateDomainBinding(ctx context.Context, req *UpdateDomainBindingRequest, opts ...http.CallOption) (rsp *UpdateDomainBindingReply, err error)
}
func NewDomainBindingHTTPClient ¶
func NewDomainBindingHTTPClient(client *http.Client) DomainBindingHTTPClient
type DomainBindingHTTPClientImpl ¶
type DomainBindingHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DomainBindingHTTPClientImpl) CreateDomainBinding ¶
func (c *DomainBindingHTTPClientImpl) CreateDomainBinding(ctx context.Context, in *CreateDomainBindingRequest, opts ...http.CallOption) (*CreateDomainBindingReply, error)
func (*DomainBindingHTTPClientImpl) DeleteDomainBinding ¶
func (c *DomainBindingHTTPClientImpl) DeleteDomainBinding(ctx context.Context, in *DeleteDomainBindingRequest, opts ...http.CallOption) (*DeleteDomainBindingReply, error)
func (*DomainBindingHTTPClientImpl) GetDomainBinding ¶
func (c *DomainBindingHTTPClientImpl) GetDomainBinding(ctx context.Context, in *GetDomainBindingRequest, opts ...http.CallOption) (*GetDomainBindingReply, error)
func (*DomainBindingHTTPClientImpl) ListDomainBinding ¶
func (c *DomainBindingHTTPClientImpl) ListDomainBinding(ctx context.Context, in *ListDomainBindingRequest, opts ...http.CallOption) (*ListDomainBindingReply, error)
func (*DomainBindingHTTPClientImpl) NsLookup ¶
func (c *DomainBindingHTTPClientImpl) NsLookup(ctx context.Context, in *NsLookupRequest, opts ...http.CallOption) (*NsLookupReply, error)
func (*DomainBindingHTTPClientImpl) UpdateDomainBinding ¶
func (c *DomainBindingHTTPClientImpl) UpdateDomainBinding(ctx context.Context, in *UpdateDomainBindingRequest, opts ...http.CallOption) (*UpdateDomainBindingReply, error)
type DomainBindingHTTPServer ¶
type DomainBindingHTTPServer interface {
CreateDomainBinding(context.Context, *CreateDomainBindingRequest) (*CreateDomainBindingReply, error)
DeleteDomainBinding(context.Context, *DeleteDomainBindingRequest) (*DeleteDomainBindingReply, error)
GetDomainBinding(context.Context, *GetDomainBindingRequest) (*GetDomainBindingReply, error)
ListDomainBinding(context.Context, *ListDomainBindingRequest) (*ListDomainBindingReply, error)
NsLookup(context.Context, *NsLookupRequest) (*NsLookupReply, error)
UpdateDomainBinding(context.Context, *UpdateDomainBindingRequest) (*UpdateDomainBindingReply, error)
}
type DomainBindingPageResponse ¶
type DomainBindingPageResponse struct {
List []*DomainBindingVO `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*DomainBindingPageResponse) Descriptor
deprecated
func (*DomainBindingPageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DomainBindingPageResponse.ProtoReflect.Descriptor instead.
func (*DomainBindingPageResponse) GetList ¶
func (x *DomainBindingPageResponse) GetList() []*DomainBindingVO
func (*DomainBindingPageResponse) GetPage ¶
func (x *DomainBindingPageResponse) GetPage() int32
func (*DomainBindingPageResponse) GetSize ¶
func (x *DomainBindingPageResponse) GetSize() int32
func (*DomainBindingPageResponse) GetTotal ¶
func (x *DomainBindingPageResponse) GetTotal() int64
func (*DomainBindingPageResponse) ProtoMessage ¶
func (*DomainBindingPageResponse) ProtoMessage()
func (*DomainBindingPageResponse) ProtoReflect ¶
func (x *DomainBindingPageResponse) ProtoReflect() protoreflect.Message
func (*DomainBindingPageResponse) Reset ¶
func (x *DomainBindingPageResponse) Reset()
func (*DomainBindingPageResponse) String ¶
func (x *DomainBindingPageResponse) String() string
type DomainBindingServer ¶
type DomainBindingServer interface {
CreateDomainBinding(context.Context, *CreateDomainBindingRequest) (*CreateDomainBindingReply, error)
NsLookup(context.Context, *NsLookupRequest) (*NsLookupReply, error)
UpdateDomainBinding(context.Context, *UpdateDomainBindingRequest) (*UpdateDomainBindingReply, error)
DeleteDomainBinding(context.Context, *DeleteDomainBindingRequest) (*DeleteDomainBindingReply, error)
GetDomainBinding(context.Context, *GetDomainBindingRequest) (*GetDomainBindingReply, error)
ListDomainBinding(context.Context, *ListDomainBindingRequest) (*ListDomainBindingReply, error)
// contains filtered or unexported methods
}
DomainBindingServer is the server API for DomainBinding service. All implementations must embed UnimplementedDomainBindingServer for forward compatibility.
type DomainBindingVO ¶
type DomainBindingVO struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ComputeInstanceId string `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
NetworkMappingId string `protobuf:"bytes,3,opt,name=network_mapping_id,json=networkMappingId,proto3" json:"network_mapping_id,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
GatewayPort int32 `protobuf:"varint,6,opt,name=gateway_port,json=gatewayPort,proto3" json:"gateway_port,omitempty"`
CreateTime int64 `protobuf:"varint,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
func (*DomainBindingVO) Descriptor
deprecated
func (*DomainBindingVO) Descriptor() ([]byte, []int)
Deprecated: Use DomainBindingVO.ProtoReflect.Descriptor instead.
func (*DomainBindingVO) GetComputeInstanceId ¶
func (x *DomainBindingVO) GetComputeInstanceId() string
func (*DomainBindingVO) GetCreateTime ¶
func (x *DomainBindingVO) GetCreateTime() int64
func (*DomainBindingVO) GetDomain ¶
func (x *DomainBindingVO) GetDomain() string
func (*DomainBindingVO) GetGatewayPort ¶
func (x *DomainBindingVO) GetGatewayPort() int32
func (*DomainBindingVO) GetId ¶
func (x *DomainBindingVO) GetId() string
func (*DomainBindingVO) GetName ¶
func (x *DomainBindingVO) GetName() string
func (*DomainBindingVO) GetNetworkMappingId ¶
func (x *DomainBindingVO) GetNetworkMappingId() string
func (*DomainBindingVO) ProtoMessage ¶
func (*DomainBindingVO) ProtoMessage()
func (*DomainBindingVO) ProtoReflect ¶
func (x *DomainBindingVO) ProtoReflect() protoreflect.Message
func (*DomainBindingVO) Reset ¶
func (x *DomainBindingVO) Reset()
func (*DomainBindingVO) String ¶
func (x *DomainBindingVO) String() string
type GetDomainBindingReply ¶
type GetDomainBindingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *DomainBindingVO `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*GetDomainBindingReply) Descriptor
deprecated
func (*GetDomainBindingReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainBindingReply.ProtoReflect.Descriptor instead.
func (*GetDomainBindingReply) GetCode ¶
func (x *GetDomainBindingReply) GetCode() int32
func (*GetDomainBindingReply) GetData ¶
func (x *GetDomainBindingReply) GetData() *DomainBindingVO
func (*GetDomainBindingReply) GetMessage ¶
func (x *GetDomainBindingReply) GetMessage() string
func (*GetDomainBindingReply) ProtoMessage ¶
func (*GetDomainBindingReply) ProtoMessage()
func (*GetDomainBindingReply) ProtoReflect ¶
func (x *GetDomainBindingReply) ProtoReflect() protoreflect.Message
func (*GetDomainBindingReply) Reset ¶
func (x *GetDomainBindingReply) Reset()
func (*GetDomainBindingReply) String ¶
func (x *GetDomainBindingReply) String() string
type GetDomainBindingRequest ¶
type GetDomainBindingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetDomainBindingRequest) Descriptor
deprecated
func (*GetDomainBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainBindingRequest.ProtoReflect.Descriptor instead.
func (*GetDomainBindingRequest) GetId ¶
func (x *GetDomainBindingRequest) GetId() string
func (*GetDomainBindingRequest) ProtoMessage ¶
func (*GetDomainBindingRequest) ProtoMessage()
func (*GetDomainBindingRequest) ProtoReflect ¶
func (x *GetDomainBindingRequest) ProtoReflect() protoreflect.Message
func (*GetDomainBindingRequest) Reset ¶
func (x *GetDomainBindingRequest) Reset()
func (*GetDomainBindingRequest) String ¶
func (x *GetDomainBindingRequest) String() string
type GetNetworkMappingReply ¶
type GetNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
NetworkMapping *NetworkMappingVO `protobuf:"bytes,3,opt,name=network_mapping,json=networkMapping,proto3" json:"network_mapping,omitempty"`
// contains filtered or unexported fields
}
func (*GetNetworkMappingReply) Descriptor
deprecated
func (*GetNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*GetNetworkMappingReply) GetCode ¶
func (x *GetNetworkMappingReply) GetCode() int32
func (*GetNetworkMappingReply) GetMessage ¶
func (x *GetNetworkMappingReply) GetMessage() string
func (*GetNetworkMappingReply) GetNetworkMapping ¶
func (x *GetNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
func (*GetNetworkMappingReply) ProtoMessage ¶
func (*GetNetworkMappingReply) ProtoMessage()
func (*GetNetworkMappingReply) ProtoReflect ¶
func (x *GetNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*GetNetworkMappingReply) Reset ¶
func (x *GetNetworkMappingReply) Reset()
func (*GetNetworkMappingReply) String ¶
func (x *GetNetworkMappingReply) String() string
type GetNetworkMappingRequest ¶
type GetNetworkMappingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetNetworkMappingRequest) Descriptor
deprecated
func (*GetNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*GetNetworkMappingRequest) GetId ¶
func (x *GetNetworkMappingRequest) GetId() string
func (*GetNetworkMappingRequest) ProtoMessage ¶
func (*GetNetworkMappingRequest) ProtoMessage()
func (*GetNetworkMappingRequest) ProtoReflect ¶
func (x *GetNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*GetNetworkMappingRequest) Reset ¶
func (x *GetNetworkMappingRequest) Reset()
func (*GetNetworkMappingRequest) String ¶
func (x *GetNetworkMappingRequest) String() string
type ListDomainBindingReply ¶
type ListDomainBindingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *DomainBindingPageResponse `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ListDomainBindingReply) Descriptor
deprecated
func (*ListDomainBindingReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainBindingReply.ProtoReflect.Descriptor instead.
func (*ListDomainBindingReply) GetCode ¶
func (x *ListDomainBindingReply) GetCode() int32
func (*ListDomainBindingReply) GetData ¶
func (x *ListDomainBindingReply) GetData() *DomainBindingPageResponse
func (*ListDomainBindingReply) GetMessage ¶
func (x *ListDomainBindingReply) GetMessage() string
func (*ListDomainBindingReply) ProtoMessage ¶
func (*ListDomainBindingReply) ProtoMessage()
func (*ListDomainBindingReply) ProtoReflect ¶
func (x *ListDomainBindingReply) ProtoReflect() protoreflect.Message
func (*ListDomainBindingReply) Reset ¶
func (x *ListDomainBindingReply) Reset()
func (*ListDomainBindingReply) String ¶
func (x *ListDomainBindingReply) String() string
type ListDomainBindingRequest ¶
type ListDomainBindingRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
NetworkMappingId string `protobuf:"bytes,3,opt,name=network_mapping_id,json=networkMappingId,proto3" json:"network_mapping_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListDomainBindingRequest) Descriptor
deprecated
func (*ListDomainBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainBindingRequest.ProtoReflect.Descriptor instead.
func (*ListDomainBindingRequest) GetNetworkMappingId ¶
func (x *ListDomainBindingRequest) GetNetworkMappingId() string
func (*ListDomainBindingRequest) GetPage ¶
func (x *ListDomainBindingRequest) GetPage() int32
func (*ListDomainBindingRequest) GetSize ¶
func (x *ListDomainBindingRequest) GetSize() int32
func (*ListDomainBindingRequest) ProtoMessage ¶
func (*ListDomainBindingRequest) ProtoMessage()
func (*ListDomainBindingRequest) ProtoReflect ¶
func (x *ListDomainBindingRequest) ProtoReflect() protoreflect.Message
func (*ListDomainBindingRequest) Reset ¶
func (x *ListDomainBindingRequest) Reset()
func (*ListDomainBindingRequest) String ¶
func (x *ListDomainBindingRequest) String() string
type NetworkMappingClient ¶
type NetworkMappingClient interface {
CreateNetworkMapping(ctx context.Context, in *CreateNetworkMappingRequest, opts ...grpc.CallOption) (*CreateNetworkMappingReply, error)
PageNetworkMapping(ctx context.Context, in *PageNetworkMappingRequest, opts ...grpc.CallOption) (*PageNetworkMappingReply, error)
NextNetworkMapping(ctx context.Context, in *NextNetworkMappingRequest, opts ...grpc.CallOption) (*NextNetworkMappingReply, error)
GetNetworkMapping(ctx context.Context, in *GetNetworkMappingRequest, opts ...grpc.CallOption) (*GetNetworkMappingReply, error)
DeleteNetworkMapping(ctx context.Context, in *DeleteNetworkMappingRequest, opts ...grpc.CallOption) (*DeleteNetworkMappingReply, error)
UpdateNetworkMapping(ctx context.Context, in *UpdateNetworkMappingRequest, opts ...grpc.CallOption) (*UpdateNetworkMappingReply, error)
}
NetworkMappingClient is the client API for NetworkMapping service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNetworkMappingClient ¶
func NewNetworkMappingClient(cc grpc.ClientConnInterface) NetworkMappingClient
type NetworkMappingHTTPClient ¶
type NetworkMappingHTTPClient interface {
CreateNetworkMapping(ctx context.Context, req *CreateNetworkMappingRequest, opts ...http.CallOption) (rsp *CreateNetworkMappingReply, err error)
DeleteNetworkMapping(ctx context.Context, req *DeleteNetworkMappingRequest, opts ...http.CallOption) (rsp *DeleteNetworkMappingReply, err error)
GetNetworkMapping(ctx context.Context, req *GetNetworkMappingRequest, opts ...http.CallOption) (rsp *GetNetworkMappingReply, err error)
NextNetworkMapping(ctx context.Context, req *NextNetworkMappingRequest, opts ...http.CallOption) (rsp *NextNetworkMappingReply, err error)
PageNetworkMapping(ctx context.Context, req *PageNetworkMappingRequest, opts ...http.CallOption) (rsp *PageNetworkMappingReply, err error)
UpdateNetworkMapping(ctx context.Context, req *UpdateNetworkMappingRequest, opts ...http.CallOption) (rsp *UpdateNetworkMappingReply, err error)
}
func NewNetworkMappingHTTPClient ¶
func NewNetworkMappingHTTPClient(client *http.Client) NetworkMappingHTTPClient
type NetworkMappingHTTPClientImpl ¶
type NetworkMappingHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*NetworkMappingHTTPClientImpl) CreateNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) CreateNetworkMapping(ctx context.Context, in *CreateNetworkMappingRequest, opts ...http.CallOption) (*CreateNetworkMappingReply, error)
func (*NetworkMappingHTTPClientImpl) DeleteNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) DeleteNetworkMapping(ctx context.Context, in *DeleteNetworkMappingRequest, opts ...http.CallOption) (*DeleteNetworkMappingReply, error)
func (*NetworkMappingHTTPClientImpl) GetNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) GetNetworkMapping(ctx context.Context, in *GetNetworkMappingRequest, opts ...http.CallOption) (*GetNetworkMappingReply, error)
func (*NetworkMappingHTTPClientImpl) NextNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) NextNetworkMapping(ctx context.Context, in *NextNetworkMappingRequest, opts ...http.CallOption) (*NextNetworkMappingReply, error)
func (*NetworkMappingHTTPClientImpl) PageNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) PageNetworkMapping(ctx context.Context, in *PageNetworkMappingRequest, opts ...http.CallOption) (*PageNetworkMappingReply, error)
func (*NetworkMappingHTTPClientImpl) UpdateNetworkMapping ¶
func (c *NetworkMappingHTTPClientImpl) UpdateNetworkMapping(ctx context.Context, in *UpdateNetworkMappingRequest, opts ...http.CallOption) (*UpdateNetworkMappingReply, error)
type NetworkMappingHTTPServer ¶
type NetworkMappingHTTPServer interface {
CreateNetworkMapping(context.Context, *CreateNetworkMappingRequest) (*CreateNetworkMappingReply, error)
DeleteNetworkMapping(context.Context, *DeleteNetworkMappingRequest) (*DeleteNetworkMappingReply, error)
GetNetworkMapping(context.Context, *GetNetworkMappingRequest) (*GetNetworkMappingReply, error)
NextNetworkMapping(context.Context, *NextNetworkMappingRequest) (*NextNetworkMappingReply, error)
PageNetworkMapping(context.Context, *PageNetworkMappingRequest) (*PageNetworkMappingReply, error)
UpdateNetworkMapping(context.Context, *UpdateNetworkMappingRequest) (*UpdateNetworkMappingReply, error)
}
type NetworkMappingServer ¶
type NetworkMappingServer interface {
CreateNetworkMapping(context.Context, *CreateNetworkMappingRequest) (*CreateNetworkMappingReply, error)
PageNetworkMapping(context.Context, *PageNetworkMappingRequest) (*PageNetworkMappingReply, error)
NextNetworkMapping(context.Context, *NextNetworkMappingRequest) (*NextNetworkMappingReply, error)
GetNetworkMapping(context.Context, *GetNetworkMappingRequest) (*GetNetworkMappingReply, error)
DeleteNetworkMapping(context.Context, *DeleteNetworkMappingRequest) (*DeleteNetworkMappingReply, error)
UpdateNetworkMapping(context.Context, *UpdateNetworkMappingRequest) (*UpdateNetworkMappingReply, error)
// contains filtered or unexported methods
}
NetworkMappingServer is the server API for NetworkMapping service. All implementations must embed UnimplementedNetworkMappingServer for forward compatibility.
type NetworkMappingVO ¶
type NetworkMappingVO struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
GatewayId string `protobuf:"bytes,3,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
InstanceName string `protobuf:"bytes,5,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
GatewayPort int32 `protobuf:"varint,6,opt,name=gateway_port,json=gatewayPort,proto3" json:"gateway_port,omitempty"`
InstancePort int32 `protobuf:"varint,7,opt,name=instance_port,json=instancePort,proto3" json:"instance_port,omitempty"`
Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
GatewayIp string `protobuf:"bytes,9,opt,name=gateway_ip,json=gatewayIp,proto3" json:"gateway_ip,omitempty"`
CreatedTime int64 `protobuf:"varint,10,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
Protocol string `protobuf:"bytes,11,opt,name=protocol,proto3" json:"protocol,omitempty"`
Domains []*DomainBindingVO `protobuf:"bytes,12,rep,name=domains,proto3" json:"domains,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkMappingVO) Descriptor
deprecated
func (*NetworkMappingVO) Descriptor() ([]byte, []int)
Deprecated: Use NetworkMappingVO.ProtoReflect.Descriptor instead.
func (*NetworkMappingVO) GetCreatedTime ¶
func (x *NetworkMappingVO) GetCreatedTime() int64
func (*NetworkMappingVO) GetDomains ¶
func (x *NetworkMappingVO) GetDomains() []*DomainBindingVO
func (*NetworkMappingVO) GetGatewayId ¶
func (x *NetworkMappingVO) GetGatewayId() string
func (*NetworkMappingVO) GetGatewayIp ¶
func (x *NetworkMappingVO) GetGatewayIp() string
func (*NetworkMappingVO) GetGatewayPort ¶
func (x *NetworkMappingVO) GetGatewayPort() int32
func (*NetworkMappingVO) GetId ¶
func (x *NetworkMappingVO) GetId() string
func (*NetworkMappingVO) GetInstanceId ¶
func (x *NetworkMappingVO) GetInstanceId() string
func (*NetworkMappingVO) GetInstanceName ¶
func (x *NetworkMappingVO) GetInstanceName() string
func (*NetworkMappingVO) GetInstancePort ¶
func (x *NetworkMappingVO) GetInstancePort() int32
func (*NetworkMappingVO) GetName ¶
func (x *NetworkMappingVO) GetName() string
func (*NetworkMappingVO) GetProtocol ¶
func (x *NetworkMappingVO) GetProtocol() string
func (*NetworkMappingVO) GetStatus ¶
func (x *NetworkMappingVO) GetStatus() int32
func (*NetworkMappingVO) ProtoMessage ¶
func (*NetworkMappingVO) ProtoMessage()
func (*NetworkMappingVO) ProtoReflect ¶
func (x *NetworkMappingVO) ProtoReflect() protoreflect.Message
func (*NetworkMappingVO) Reset ¶
func (x *NetworkMappingVO) Reset()
func (*NetworkMappingVO) String ¶
func (x *NetworkMappingVO) String() string
type NextNetworkMappingReply ¶
type NextNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *NextNetworkMappingReply_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*NextNetworkMappingReply) Descriptor
deprecated
func (*NextNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use NextNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*NextNetworkMappingReply) GetCode ¶
func (x *NextNetworkMappingReply) GetCode() int32
func (*NextNetworkMappingReply) GetData ¶
func (x *NextNetworkMappingReply) GetData() *NextNetworkMappingReply_Data
func (*NextNetworkMappingReply) GetMessage ¶
func (x *NextNetworkMappingReply) GetMessage() string
func (*NextNetworkMappingReply) ProtoMessage ¶
func (*NextNetworkMappingReply) ProtoMessage()
func (*NextNetworkMappingReply) ProtoReflect ¶
func (x *NextNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*NextNetworkMappingReply) Reset ¶
func (x *NextNetworkMappingReply) Reset()
func (*NextNetworkMappingReply) String ¶
func (x *NextNetworkMappingReply) String() string
type NextNetworkMappingReply_Data ¶
type NextNetworkMappingReply_Data struct {
PublicIp string `protobuf:"bytes,1,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
PublicPort int32 `protobuf:"varint,2,opt,name=public_port,json=publicPort,proto3" json:"public_port,omitempty"`
// contains filtered or unexported fields
}
func (*NextNetworkMappingReply_Data) Descriptor
deprecated
func (*NextNetworkMappingReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use NextNetworkMappingReply_Data.ProtoReflect.Descriptor instead.
func (*NextNetworkMappingReply_Data) GetPublicIp ¶
func (x *NextNetworkMappingReply_Data) GetPublicIp() string
func (*NextNetworkMappingReply_Data) GetPublicPort ¶
func (x *NextNetworkMappingReply_Data) GetPublicPort() int32
func (*NextNetworkMappingReply_Data) ProtoMessage ¶
func (*NextNetworkMappingReply_Data) ProtoMessage()
func (*NextNetworkMappingReply_Data) ProtoReflect ¶
func (x *NextNetworkMappingReply_Data) ProtoReflect() protoreflect.Message
func (*NextNetworkMappingReply_Data) Reset ¶
func (x *NextNetworkMappingReply_Data) Reset()
func (*NextNetworkMappingReply_Data) String ¶
func (x *NextNetworkMappingReply_Data) String() string
type NextNetworkMappingRequest ¶
type NextNetworkMappingRequest struct {
ComputerId string `protobuf:"bytes,1,opt,name=computer_id,json=computerId,proto3" json:"computer_id,omitempty"`
// contains filtered or unexported fields
}
func (*NextNetworkMappingRequest) Descriptor
deprecated
func (*NextNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*NextNetworkMappingRequest) GetComputerId ¶
func (x *NextNetworkMappingRequest) GetComputerId() string
func (*NextNetworkMappingRequest) ProtoMessage ¶
func (*NextNetworkMappingRequest) ProtoMessage()
func (*NextNetworkMappingRequest) ProtoReflect ¶
func (x *NextNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*NextNetworkMappingRequest) Reset ¶
func (x *NextNetworkMappingRequest) Reset()
func (*NextNetworkMappingRequest) String ¶
func (x *NextNetworkMappingRequest) String() string
type NsLookupReply ¶
type NsLookupReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data bool `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*NsLookupReply) Descriptor
deprecated
func (*NsLookupReply) Descriptor() ([]byte, []int)
Deprecated: Use NsLookupReply.ProtoReflect.Descriptor instead.
func (*NsLookupReply) GetCode ¶
func (x *NsLookupReply) GetCode() int32
func (*NsLookupReply) GetData ¶
func (x *NsLookupReply) GetData() bool
func (*NsLookupReply) GetMessage ¶
func (x *NsLookupReply) GetMessage() string
func (*NsLookupReply) ProtoMessage ¶
func (*NsLookupReply) ProtoMessage()
func (*NsLookupReply) ProtoReflect ¶
func (x *NsLookupReply) ProtoReflect() protoreflect.Message
func (*NsLookupReply) Reset ¶
func (x *NsLookupReply) Reset()
func (*NsLookupReply) String ¶
func (x *NsLookupReply) String() string
type NsLookupRequest ¶
type NsLookupRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
NetworkMappingId string `protobuf:"bytes,2,opt,name=networkMappingId,proto3" json:"networkMappingId,omitempty"`
// contains filtered or unexported fields
}
func (*NsLookupRequest) Descriptor
deprecated
func (*NsLookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use NsLookupRequest.ProtoReflect.Descriptor instead.
func (*NsLookupRequest) GetDomain ¶
func (x *NsLookupRequest) GetDomain() string
func (*NsLookupRequest) GetNetworkMappingId ¶
func (x *NsLookupRequest) GetNetworkMappingId() string
func (*NsLookupRequest) ProtoMessage ¶
func (*NsLookupRequest) ProtoMessage()
func (*NsLookupRequest) ProtoReflect ¶
func (x *NsLookupRequest) ProtoReflect() protoreflect.Message
func (*NsLookupRequest) Reset ¶
func (x *NsLookupRequest) Reset()
func (*NsLookupRequest) String ¶
func (x *NsLookupRequest) String() string
type PageNetworkMappingReply ¶
type PageNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *PageNetworkMappingReply_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*PageNetworkMappingReply) Descriptor
deprecated
func (*PageNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use PageNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*PageNetworkMappingReply) GetCode ¶
func (x *PageNetworkMappingReply) GetCode() int32
func (*PageNetworkMappingReply) GetData ¶
func (x *PageNetworkMappingReply) GetData() *PageNetworkMappingReply_Data
func (*PageNetworkMappingReply) GetMessage ¶
func (x *PageNetworkMappingReply) GetMessage() string
func (*PageNetworkMappingReply) ProtoMessage ¶
func (*PageNetworkMappingReply) ProtoMessage()
func (*PageNetworkMappingReply) ProtoReflect ¶
func (x *PageNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*PageNetworkMappingReply) Reset ¶
func (x *PageNetworkMappingReply) Reset()
func (*PageNetworkMappingReply) String ¶
func (x *PageNetworkMappingReply) String() string
type PageNetworkMappingReply_Data ¶
type PageNetworkMappingReply_Data struct {
List []*NetworkMappingVO `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*PageNetworkMappingReply_Data) Descriptor
deprecated
func (*PageNetworkMappingReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use PageNetworkMappingReply_Data.ProtoReflect.Descriptor instead.
func (*PageNetworkMappingReply_Data) GetList ¶
func (x *PageNetworkMappingReply_Data) GetList() []*NetworkMappingVO
func (*PageNetworkMappingReply_Data) GetPage ¶
func (x *PageNetworkMappingReply_Data) GetPage() int32
func (*PageNetworkMappingReply_Data) GetSize ¶
func (x *PageNetworkMappingReply_Data) GetSize() int32
func (*PageNetworkMappingReply_Data) GetTotal ¶
func (x *PageNetworkMappingReply_Data) GetTotal() int32
func (*PageNetworkMappingReply_Data) ProtoMessage ¶
func (*PageNetworkMappingReply_Data) ProtoMessage()
func (*PageNetworkMappingReply_Data) ProtoReflect ¶
func (x *PageNetworkMappingReply_Data) ProtoReflect() protoreflect.Message
func (*PageNetworkMappingReply_Data) Reset ¶
func (x *PageNetworkMappingReply_Data) Reset()
func (*PageNetworkMappingReply_Data) String ¶
func (x *PageNetworkMappingReply_Data) String() string
type PageNetworkMappingRequest ¶
type PageNetworkMappingRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*PageNetworkMappingRequest) Descriptor
deprecated
func (*PageNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*PageNetworkMappingRequest) GetPage ¶
func (x *PageNetworkMappingRequest) GetPage() int32
func (*PageNetworkMappingRequest) GetSize ¶
func (x *PageNetworkMappingRequest) GetSize() int32
func (*PageNetworkMappingRequest) ProtoMessage ¶
func (*PageNetworkMappingRequest) ProtoMessage()
func (*PageNetworkMappingRequest) ProtoReflect ¶
func (x *PageNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*PageNetworkMappingRequest) Reset ¶
func (x *PageNetworkMappingRequest) Reset()
func (*PageNetworkMappingRequest) String ¶
func (x *PageNetworkMappingRequest) String() string
type UnimplementedDomainBindingServer ¶
type UnimplementedDomainBindingServer struct{}
UnimplementedDomainBindingServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDomainBindingServer) CreateDomainBinding ¶
func (UnimplementedDomainBindingServer) CreateDomainBinding(context.Context, *CreateDomainBindingRequest) (*CreateDomainBindingReply, error)
func (UnimplementedDomainBindingServer) DeleteDomainBinding ¶
func (UnimplementedDomainBindingServer) DeleteDomainBinding(context.Context, *DeleteDomainBindingRequest) (*DeleteDomainBindingReply, error)
func (UnimplementedDomainBindingServer) GetDomainBinding ¶
func (UnimplementedDomainBindingServer) GetDomainBinding(context.Context, *GetDomainBindingRequest) (*GetDomainBindingReply, error)
func (UnimplementedDomainBindingServer) ListDomainBinding ¶
func (UnimplementedDomainBindingServer) ListDomainBinding(context.Context, *ListDomainBindingRequest) (*ListDomainBindingReply, error)
func (UnimplementedDomainBindingServer) NsLookup ¶
func (UnimplementedDomainBindingServer) NsLookup(context.Context, *NsLookupRequest) (*NsLookupReply, error)
func (UnimplementedDomainBindingServer) UpdateDomainBinding ¶
func (UnimplementedDomainBindingServer) UpdateDomainBinding(context.Context, *UpdateDomainBindingRequest) (*UpdateDomainBindingReply, error)
type UnimplementedNetworkMappingServer ¶
type UnimplementedNetworkMappingServer struct{}
UnimplementedNetworkMappingServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNetworkMappingServer) CreateNetworkMapping ¶
func (UnimplementedNetworkMappingServer) CreateNetworkMapping(context.Context, *CreateNetworkMappingRequest) (*CreateNetworkMappingReply, error)
func (UnimplementedNetworkMappingServer) DeleteNetworkMapping ¶
func (UnimplementedNetworkMappingServer) DeleteNetworkMapping(context.Context, *DeleteNetworkMappingRequest) (*DeleteNetworkMappingReply, error)
func (UnimplementedNetworkMappingServer) GetNetworkMapping ¶
func (UnimplementedNetworkMappingServer) GetNetworkMapping(context.Context, *GetNetworkMappingRequest) (*GetNetworkMappingReply, error)
func (UnimplementedNetworkMappingServer) NextNetworkMapping ¶
func (UnimplementedNetworkMappingServer) NextNetworkMapping(context.Context, *NextNetworkMappingRequest) (*NextNetworkMappingReply, error)
func (UnimplementedNetworkMappingServer) PageNetworkMapping ¶
func (UnimplementedNetworkMappingServer) PageNetworkMapping(context.Context, *PageNetworkMappingRequest) (*PageNetworkMappingReply, error)
func (UnimplementedNetworkMappingServer) UpdateNetworkMapping ¶
func (UnimplementedNetworkMappingServer) UpdateNetworkMapping(context.Context, *UpdateNetworkMappingRequest) (*UpdateNetworkMappingReply, error)
type UnsafeDomainBindingServer ¶
type UnsafeDomainBindingServer interface {
// contains filtered or unexported methods
}
UnsafeDomainBindingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DomainBindingServer will result in compilation errors.
type UnsafeNetworkMappingServer ¶
type UnsafeNetworkMappingServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkMappingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkMappingServer will result in compilation errors.
type UpdateDomainBindingReply ¶
type UpdateDomainBindingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDomainBindingReply) Descriptor
deprecated
func (*UpdateDomainBindingReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainBindingReply.ProtoReflect.Descriptor instead.
func (*UpdateDomainBindingReply) GetCode ¶
func (x *UpdateDomainBindingReply) GetCode() int32
func (*UpdateDomainBindingReply) GetMessage ¶
func (x *UpdateDomainBindingReply) GetMessage() string
func (*UpdateDomainBindingReply) ProtoMessage ¶
func (*UpdateDomainBindingReply) ProtoMessage()
func (*UpdateDomainBindingReply) ProtoReflect ¶
func (x *UpdateDomainBindingReply) ProtoReflect() protoreflect.Message
func (*UpdateDomainBindingReply) Reset ¶
func (x *UpdateDomainBindingReply) Reset()
func (*UpdateDomainBindingReply) String ¶
func (x *UpdateDomainBindingReply) String() string
type UpdateDomainBindingRequest ¶
type UpdateDomainBindingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
NetworkMappingId string `protobuf:"bytes,2,opt,name=network_mapping_id,json=networkMappingId,proto3" json:"network_mapping_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDomainBindingRequest) Descriptor
deprecated
func (*UpdateDomainBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDomainBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateDomainBindingRequest) GetDomain ¶
func (x *UpdateDomainBindingRequest) GetDomain() string
func (*UpdateDomainBindingRequest) GetId ¶
func (x *UpdateDomainBindingRequest) GetId() string
func (*UpdateDomainBindingRequest) GetName ¶
func (x *UpdateDomainBindingRequest) GetName() string
func (*UpdateDomainBindingRequest) GetNetworkMappingId ¶
func (x *UpdateDomainBindingRequest) GetNetworkMappingId() string
func (*UpdateDomainBindingRequest) ProtoMessage ¶
func (*UpdateDomainBindingRequest) ProtoMessage()
func (*UpdateDomainBindingRequest) ProtoReflect ¶
func (x *UpdateDomainBindingRequest) ProtoReflect() protoreflect.Message
func (*UpdateDomainBindingRequest) Reset ¶
func (x *UpdateDomainBindingRequest) Reset()
func (*UpdateDomainBindingRequest) String ¶
func (x *UpdateDomainBindingRequest) String() string
type UpdateNetworkMappingReply ¶
type UpdateNetworkMappingReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
NetworkMapping *NetworkMappingVO `protobuf:"bytes,3,opt,name=network_mapping,json=networkMapping,proto3" json:"network_mapping,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNetworkMappingReply) Descriptor
deprecated
func (*UpdateNetworkMappingReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkMappingReply.ProtoReflect.Descriptor instead.
func (*UpdateNetworkMappingReply) GetCode ¶
func (x *UpdateNetworkMappingReply) GetCode() int32
func (*UpdateNetworkMappingReply) GetMessage ¶
func (x *UpdateNetworkMappingReply) GetMessage() string
func (*UpdateNetworkMappingReply) GetNetworkMapping ¶
func (x *UpdateNetworkMappingReply) GetNetworkMapping() *NetworkMappingVO
func (*UpdateNetworkMappingReply) ProtoMessage ¶
func (*UpdateNetworkMappingReply) ProtoMessage()
func (*UpdateNetworkMappingReply) ProtoReflect ¶
func (x *UpdateNetworkMappingReply) ProtoReflect() protoreflect.Message
func (*UpdateNetworkMappingReply) Reset ¶
func (x *UpdateNetworkMappingReply) Reset()
func (*UpdateNetworkMappingReply) String ¶
func (x *UpdateNetworkMappingReply) String() string
type UpdateNetworkMappingRequest ¶
type UpdateNetworkMappingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
ComputerId string `protobuf:"bytes,4,opt,name=computer_id,json=computerId,proto3" json:"computer_id,omitempty"`
ComputerPort int32 `protobuf:"varint,5,opt,name=computer_port,json=computerPort,proto3" json:"computer_port,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNetworkMappingRequest) Descriptor
deprecated
func (*UpdateNetworkMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateNetworkMappingRequest) GetComputerId ¶
func (x *UpdateNetworkMappingRequest) GetComputerId() string
func (*UpdateNetworkMappingRequest) GetComputerPort ¶
func (x *UpdateNetworkMappingRequest) GetComputerPort() int32
func (*UpdateNetworkMappingRequest) GetId ¶
func (x *UpdateNetworkMappingRequest) GetId() string
func (*UpdateNetworkMappingRequest) GetName ¶
func (x *UpdateNetworkMappingRequest) GetName() string
func (*UpdateNetworkMappingRequest) GetProtocol ¶
func (x *UpdateNetworkMappingRequest) GetProtocol() string
func (*UpdateNetworkMappingRequest) ProtoMessage ¶
func (*UpdateNetworkMappingRequest) ProtoMessage()
func (*UpdateNetworkMappingRequest) ProtoReflect ¶
func (x *UpdateNetworkMappingRequest) ProtoReflect() protoreflect.Message
func (*UpdateNetworkMappingRequest) Reset ¶
func (x *UpdateNetworkMappingRequest) Reset()
func (*UpdateNetworkMappingRequest) String ¶
func (x *UpdateNetworkMappingRequest) String() string