Documentation
¶
Index ¶
- Variables
- func RegisterPortMappingServiceServer(s *grpc.Server, srv PortMappingServiceServer)
- type CreatePortMappingRequst
- func (*CreatePortMappingRequst) Descriptor() ([]byte, []int)
- func (m *CreatePortMappingRequst) GetPortMappingData() *PortMapping
- func (m *CreatePortMappingRequst) Marshal() (dAtA []byte, err error)
- func (m *CreatePortMappingRequst) MarshalTo(dAtA []byte) (int, error)
- func (m *CreatePortMappingRequst) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreatePortMappingRequst) ProtoMessage()
- func (m *CreatePortMappingRequst) Reset()
- func (m *CreatePortMappingRequst) Size() (n int)
- func (m *CreatePortMappingRequst) String() string
- func (m *CreatePortMappingRequst) Unmarshal(dAtA []byte) error
- func (m *CreatePortMappingRequst) XXX_DiscardUnknown()
- func (m *CreatePortMappingRequst) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePortMappingRequst) XXX_Merge(src proto.Message)
- func (m *CreatePortMappingRequst) XXX_Size() int
- func (m *CreatePortMappingRequst) XXX_Unmarshal(b []byte) error
- type CreatePortMappingResponse
- func (*CreatePortMappingResponse) Descriptor() ([]byte, []int)
- func (m *CreatePortMappingResponse) GetPortMappingID() string
- func (m *CreatePortMappingResponse) Marshal() (dAtA []byte, err error)
- func (m *CreatePortMappingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreatePortMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreatePortMappingResponse) ProtoMessage()
- func (m *CreatePortMappingResponse) Reset()
- func (m *CreatePortMappingResponse) Size() (n int)
- func (m *CreatePortMappingResponse) String() string
- func (m *CreatePortMappingResponse) Unmarshal(dAtA []byte) error
- func (m *CreatePortMappingResponse) XXX_DiscardUnknown()
- func (m *CreatePortMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePortMappingResponse) XXX_Merge(src proto.Message)
- func (m *CreatePortMappingResponse) XXX_Size() int
- func (m *CreatePortMappingResponse) XXX_Unmarshal(b []byte) error
- type DeletePortMappingRequest
- func (*DeletePortMappingRequest) Descriptor() ([]byte, []int)
- func (m *DeletePortMappingRequest) GetPortMappingID() string
- func (m *DeletePortMappingRequest) Marshal() (dAtA []byte, err error)
- func (m *DeletePortMappingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeletePortMappingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeletePortMappingRequest) ProtoMessage()
- func (m *DeletePortMappingRequest) Reset()
- func (m *DeletePortMappingRequest) Size() (n int)
- func (m *DeletePortMappingRequest) String() string
- func (m *DeletePortMappingRequest) Unmarshal(dAtA []byte) error
- func (m *DeletePortMappingRequest) XXX_DiscardUnknown()
- func (m *DeletePortMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeletePortMappingRequest) XXX_Merge(src proto.Message)
- func (m *DeletePortMappingRequest) XXX_Size() int
- func (m *DeletePortMappingRequest) XXX_Unmarshal(b []byte) error
- type DeletePortMappingResponse
- func (*DeletePortMappingResponse) Descriptor() ([]byte, []int)
- func (m *DeletePortMappingResponse) GetSuccess() bool
- func (m *DeletePortMappingResponse) Marshal() (dAtA []byte, err error)
- func (m *DeletePortMappingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeletePortMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeletePortMappingResponse) ProtoMessage()
- func (m *DeletePortMappingResponse) Reset()
- func (m *DeletePortMappingResponse) Size() (n int)
- func (m *DeletePortMappingResponse) String() string
- func (m *DeletePortMappingResponse) Unmarshal(dAtA []byte) error
- func (m *DeletePortMappingResponse) XXX_DiscardUnknown()
- func (m *DeletePortMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeletePortMappingResponse) XXX_Merge(src proto.Message)
- func (m *DeletePortMappingResponse) XXX_Size() int
- func (m *DeletePortMappingResponse) XXX_Unmarshal(b []byte) error
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)
- func (m *ListContainersResponse) GetMappings() []*PortMapping
- func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
- func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListContainersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListContainersResponse) ProtoMessage()
- func (m *ListContainersResponse) Reset()
- func (m *ListContainersResponse) Size() (n int)
- func (m *ListContainersResponse) String() string
- func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
- func (m *ListContainersResponse) XXX_DiscardUnknown()
- func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListContainersResponse) XXX_Merge(src proto.Message)
- func (m *ListContainersResponse) XXX_Size() int
- func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error
- type ListPortMappingsRequest
- func (*ListPortMappingsRequest) Descriptor() ([]byte, []int)
- func (m *ListPortMappingsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListPortMappingsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListPortMappingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListPortMappingsRequest) ProtoMessage()
- func (m *ListPortMappingsRequest) Reset()
- func (m *ListPortMappingsRequest) Size() (n int)
- func (m *ListPortMappingsRequest) String() string
- func (m *ListPortMappingsRequest) Unmarshal(dAtA []byte) error
- func (m *ListPortMappingsRequest) XXX_DiscardUnknown()
- func (m *ListPortMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPortMappingsRequest) XXX_Merge(src proto.Message)
- func (m *ListPortMappingsRequest) XXX_Size() int
- func (m *ListPortMappingsRequest) XXX_Unmarshal(b []byte) error
- type PortMapping
- func (*PortMapping) Descriptor() ([]byte, []int)
- func (m *PortMapping) GetDescription() string
- func (m *PortMapping) GetProtocol() string
- func (m *PortMapping) GetSourceIP() string
- func (m *PortMapping) GetSourcePort() string
- func (m *PortMapping) GetTargetIP() string
- func (m *PortMapping) GetTargetPort() string
- func (m *PortMapping) Marshal() (dAtA []byte, err error)
- func (m *PortMapping) MarshalTo(dAtA []byte) (int, error)
- func (m *PortMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PortMapping) ProtoMessage()
- func (m *PortMapping) Reset()
- func (m *PortMapping) Size() (n int)
- func (m *PortMapping) String() string
- func (m *PortMapping) Unmarshal(dAtA []byte) error
- func (m *PortMapping) XXX_DiscardUnknown()
- func (m *PortMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PortMapping) XXX_Merge(src proto.Message)
- func (m *PortMapping) XXX_Size() int
- func (m *PortMapping) XXX_Unmarshal(b []byte) error
- type PortMappingServiceClient
- type PortMappingServiceServer
- type UnimplementedPortMappingServiceServer
- func (*UnimplementedPortMappingServiceServer) RPCAddPortMapping(ctx context.Context, req *CreatePortMappingRequst) (*CreatePortMappingResponse, error)
- func (*UnimplementedPortMappingServiceServer) RPCDeletePortMapping(ctx context.Context, req *DeletePortMappingRequest) (*DeletePortMappingResponse, error)
- func (*UnimplementedPortMappingServiceServer) RPCListPortMapping(ctx context.Context, req *ListPortMappingsRequest) (*ListContainersResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterPortMappingServiceServer ¶
func RegisterPortMappingServiceServer(s *grpc.Server, srv PortMappingServiceServer)
Types ¶
type CreatePortMappingRequst ¶
type CreatePortMappingRequst struct { PortMappingData *PortMapping `protobuf:"bytes,1,opt,name=PortMappingData,proto3" json:"PortMappingData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreatePortMappingRequst) Descriptor ¶
func (*CreatePortMappingRequst) Descriptor() ([]byte, []int)
func (*CreatePortMappingRequst) GetPortMappingData ¶
func (m *CreatePortMappingRequst) GetPortMappingData() *PortMapping
func (*CreatePortMappingRequst) Marshal ¶
func (m *CreatePortMappingRequst) Marshal() (dAtA []byte, err error)
func (*CreatePortMappingRequst) MarshalTo ¶
func (m *CreatePortMappingRequst) MarshalTo(dAtA []byte) (int, error)
func (*CreatePortMappingRequst) MarshalToSizedBuffer ¶
func (m *CreatePortMappingRequst) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreatePortMappingRequst) ProtoMessage ¶
func (*CreatePortMappingRequst) ProtoMessage()
func (*CreatePortMappingRequst) Reset ¶
func (m *CreatePortMappingRequst) Reset()
func (*CreatePortMappingRequst) Size ¶
func (m *CreatePortMappingRequst) Size() (n int)
func (*CreatePortMappingRequst) String ¶
func (m *CreatePortMappingRequst) String() string
func (*CreatePortMappingRequst) Unmarshal ¶
func (m *CreatePortMappingRequst) Unmarshal(dAtA []byte) error
func (*CreatePortMappingRequst) XXX_DiscardUnknown ¶
func (m *CreatePortMappingRequst) XXX_DiscardUnknown()
func (*CreatePortMappingRequst) XXX_Marshal ¶
func (m *CreatePortMappingRequst) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePortMappingRequst) XXX_Merge ¶
func (m *CreatePortMappingRequst) XXX_Merge(src proto.Message)
func (*CreatePortMappingRequst) XXX_Size ¶
func (m *CreatePortMappingRequst) XXX_Size() int
func (*CreatePortMappingRequst) XXX_Unmarshal ¶
func (m *CreatePortMappingRequst) XXX_Unmarshal(b []byte) error
type CreatePortMappingResponse ¶
type CreatePortMappingResponse struct { PortMappingID string `protobuf:"bytes,1,opt,name=PortMappingID,proto3" json:"PortMappingID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreatePortMappingResponse) Descriptor ¶
func (*CreatePortMappingResponse) Descriptor() ([]byte, []int)
func (*CreatePortMappingResponse) GetPortMappingID ¶
func (m *CreatePortMappingResponse) GetPortMappingID() string
func (*CreatePortMappingResponse) Marshal ¶
func (m *CreatePortMappingResponse) Marshal() (dAtA []byte, err error)
func (*CreatePortMappingResponse) MarshalTo ¶
func (m *CreatePortMappingResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreatePortMappingResponse) MarshalToSizedBuffer ¶
func (m *CreatePortMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreatePortMappingResponse) ProtoMessage ¶
func (*CreatePortMappingResponse) ProtoMessage()
func (*CreatePortMappingResponse) Reset ¶
func (m *CreatePortMappingResponse) Reset()
func (*CreatePortMappingResponse) Size ¶
func (m *CreatePortMappingResponse) Size() (n int)
func (*CreatePortMappingResponse) String ¶
func (m *CreatePortMappingResponse) String() string
func (*CreatePortMappingResponse) Unmarshal ¶
func (m *CreatePortMappingResponse) Unmarshal(dAtA []byte) error
func (*CreatePortMappingResponse) XXX_DiscardUnknown ¶
func (m *CreatePortMappingResponse) XXX_DiscardUnknown()
func (*CreatePortMappingResponse) XXX_Marshal ¶
func (m *CreatePortMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePortMappingResponse) XXX_Merge ¶
func (m *CreatePortMappingResponse) XXX_Merge(src proto.Message)
func (*CreatePortMappingResponse) XXX_Size ¶
func (m *CreatePortMappingResponse) XXX_Size() int
func (*CreatePortMappingResponse) XXX_Unmarshal ¶
func (m *CreatePortMappingResponse) XXX_Unmarshal(b []byte) error
type DeletePortMappingRequest ¶
type DeletePortMappingRequest struct { PortMappingID string `protobuf:"bytes,1,opt,name=PortMappingID,proto3" json:"PortMappingID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeletePortMappingRequest) Descriptor ¶
func (*DeletePortMappingRequest) Descriptor() ([]byte, []int)
func (*DeletePortMappingRequest) GetPortMappingID ¶
func (m *DeletePortMappingRequest) GetPortMappingID() string
func (*DeletePortMappingRequest) Marshal ¶
func (m *DeletePortMappingRequest) Marshal() (dAtA []byte, err error)
func (*DeletePortMappingRequest) MarshalTo ¶
func (m *DeletePortMappingRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeletePortMappingRequest) MarshalToSizedBuffer ¶
func (m *DeletePortMappingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeletePortMappingRequest) ProtoMessage ¶
func (*DeletePortMappingRequest) ProtoMessage()
func (*DeletePortMappingRequest) Reset ¶
func (m *DeletePortMappingRequest) Reset()
func (*DeletePortMappingRequest) Size ¶
func (m *DeletePortMappingRequest) Size() (n int)
func (*DeletePortMappingRequest) String ¶
func (m *DeletePortMappingRequest) String() string
func (*DeletePortMappingRequest) Unmarshal ¶
func (m *DeletePortMappingRequest) Unmarshal(dAtA []byte) error
func (*DeletePortMappingRequest) XXX_DiscardUnknown ¶
func (m *DeletePortMappingRequest) XXX_DiscardUnknown()
func (*DeletePortMappingRequest) XXX_Marshal ¶
func (m *DeletePortMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePortMappingRequest) XXX_Merge ¶
func (m *DeletePortMappingRequest) XXX_Merge(src proto.Message)
func (*DeletePortMappingRequest) XXX_Size ¶
func (m *DeletePortMappingRequest) XXX_Size() int
func (*DeletePortMappingRequest) XXX_Unmarshal ¶
func (m *DeletePortMappingRequest) XXX_Unmarshal(b []byte) error
type DeletePortMappingResponse ¶
type DeletePortMappingResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeletePortMappingResponse) Descriptor ¶
func (*DeletePortMappingResponse) Descriptor() ([]byte, []int)
func (*DeletePortMappingResponse) GetSuccess ¶
func (m *DeletePortMappingResponse) GetSuccess() bool
func (*DeletePortMappingResponse) Marshal ¶
func (m *DeletePortMappingResponse) Marshal() (dAtA []byte, err error)
func (*DeletePortMappingResponse) MarshalTo ¶
func (m *DeletePortMappingResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeletePortMappingResponse) MarshalToSizedBuffer ¶
func (m *DeletePortMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeletePortMappingResponse) ProtoMessage ¶
func (*DeletePortMappingResponse) ProtoMessage()
func (*DeletePortMappingResponse) Reset ¶
func (m *DeletePortMappingResponse) Reset()
func (*DeletePortMappingResponse) Size ¶
func (m *DeletePortMappingResponse) Size() (n int)
func (*DeletePortMappingResponse) String ¶
func (m *DeletePortMappingResponse) String() string
func (*DeletePortMappingResponse) Unmarshal ¶
func (m *DeletePortMappingResponse) Unmarshal(dAtA []byte) error
func (*DeletePortMappingResponse) XXX_DiscardUnknown ¶
func (m *DeletePortMappingResponse) XXX_DiscardUnknown()
func (*DeletePortMappingResponse) XXX_Marshal ¶
func (m *DeletePortMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeletePortMappingResponse) XXX_Merge ¶
func (m *DeletePortMappingResponse) XXX_Merge(src proto.Message)
func (*DeletePortMappingResponse) XXX_Size ¶
func (m *DeletePortMappingResponse) XXX_Size() int
func (*DeletePortMappingResponse) XXX_Unmarshal ¶
func (m *DeletePortMappingResponse) XXX_Unmarshal(b []byte) error
type ListContainersResponse ¶
type ListContainersResponse struct { // List of port mappings. Mappings []*PortMapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListContainersResponse) Descriptor ¶
func (*ListContainersResponse) Descriptor() ([]byte, []int)
func (*ListContainersResponse) GetMappings ¶
func (m *ListContainersResponse) GetMappings() []*PortMapping
func (*ListContainersResponse) Marshal ¶
func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
func (*ListContainersResponse) MarshalTo ¶
func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListContainersResponse) MarshalToSizedBuffer ¶
func (m *ListContainersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) Reset ¶
func (m *ListContainersResponse) Reset()
func (*ListContainersResponse) Size ¶
func (m *ListContainersResponse) Size() (n int)
func (*ListContainersResponse) String ¶
func (m *ListContainersResponse) String() string
func (*ListContainersResponse) Unmarshal ¶
func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
func (*ListContainersResponse) XXX_DiscardUnknown ¶
func (m *ListContainersResponse) XXX_DiscardUnknown()
func (*ListContainersResponse) XXX_Marshal ¶
func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListContainersResponse) XXX_Merge ¶
func (m *ListContainersResponse) XXX_Merge(src proto.Message)
func (*ListContainersResponse) XXX_Size ¶
func (m *ListContainersResponse) XXX_Size() int
func (*ListContainersResponse) XXX_Unmarshal ¶
func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error
type ListPortMappingsRequest ¶
type ListPortMappingsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPortMappingsRequest) Descriptor ¶
func (*ListPortMappingsRequest) Descriptor() ([]byte, []int)
func (*ListPortMappingsRequest) Marshal ¶
func (m *ListPortMappingsRequest) Marshal() (dAtA []byte, err error)
func (*ListPortMappingsRequest) MarshalTo ¶
func (m *ListPortMappingsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListPortMappingsRequest) MarshalToSizedBuffer ¶
func (m *ListPortMappingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListPortMappingsRequest) ProtoMessage ¶
func (*ListPortMappingsRequest) ProtoMessage()
func (*ListPortMappingsRequest) Reset ¶
func (m *ListPortMappingsRequest) Reset()
func (*ListPortMappingsRequest) Size ¶
func (m *ListPortMappingsRequest) Size() (n int)
func (*ListPortMappingsRequest) String ¶
func (m *ListPortMappingsRequest) String() string
func (*ListPortMappingsRequest) Unmarshal ¶
func (m *ListPortMappingsRequest) Unmarshal(dAtA []byte) error
func (*ListPortMappingsRequest) XXX_DiscardUnknown ¶
func (m *ListPortMappingsRequest) XXX_DiscardUnknown()
func (*ListPortMappingsRequest) XXX_Marshal ¶
func (m *ListPortMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPortMappingsRequest) XXX_Merge ¶
func (m *ListPortMappingsRequest) XXX_Merge(src proto.Message)
func (*ListPortMappingsRequest) XXX_Size ¶
func (m *ListPortMappingsRequest) XXX_Size() int
func (*ListPortMappingsRequest) XXX_Unmarshal ¶
func (m *ListPortMappingsRequest) XXX_Unmarshal(b []byte) error
type PortMapping ¶
type PortMapping struct { SourceIP string `protobuf:"bytes,1,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"` SourcePort string `protobuf:"bytes,2,opt,name=SourcePort,proto3" json:"SourcePort,omitempty"` TargetIP string `protobuf:"bytes,3,opt,name=TargetIP,proto3" json:"TargetIP,omitempty"` TargetPort string `protobuf:"bytes,4,opt,name=TargetPort,proto3" json:"TargetPort,omitempty"` Protocol string `protobuf:"bytes,5,opt,name=Protocol,proto3" json:"Protocol,omitempty"` Description string `protobuf:"bytes,6,opt,name=Description,proto3" json:"Description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PortMapping) Descriptor ¶
func (*PortMapping) Descriptor() ([]byte, []int)
func (*PortMapping) GetDescription ¶
func (m *PortMapping) GetDescription() string
func (*PortMapping) GetProtocol ¶
func (m *PortMapping) GetProtocol() string
func (*PortMapping) GetSourceIP ¶
func (m *PortMapping) GetSourceIP() string
func (*PortMapping) GetSourcePort ¶
func (m *PortMapping) GetSourcePort() string
func (*PortMapping) GetTargetIP ¶
func (m *PortMapping) GetTargetIP() string
func (*PortMapping) GetTargetPort ¶
func (m *PortMapping) GetTargetPort() string
func (*PortMapping) Marshal ¶
func (m *PortMapping) Marshal() (dAtA []byte, err error)
func (*PortMapping) MarshalToSizedBuffer ¶
func (m *PortMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PortMapping) ProtoMessage ¶
func (*PortMapping) ProtoMessage()
func (*PortMapping) Reset ¶
func (m *PortMapping) Reset()
func (*PortMapping) Size ¶
func (m *PortMapping) Size() (n int)
func (*PortMapping) String ¶
func (m *PortMapping) String() string
func (*PortMapping) Unmarshal ¶
func (m *PortMapping) Unmarshal(dAtA []byte) error
func (*PortMapping) XXX_DiscardUnknown ¶
func (m *PortMapping) XXX_DiscardUnknown()
func (*PortMapping) XXX_Marshal ¶
func (m *PortMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PortMapping) XXX_Merge ¶
func (m *PortMapping) XXX_Merge(src proto.Message)
func (*PortMapping) XXX_Size ¶
func (m *PortMapping) XXX_Size() int
func (*PortMapping) XXX_Unmarshal ¶
func (m *PortMapping) XXX_Unmarshal(b []byte) error
type PortMappingServiceClient ¶
type PortMappingServiceClient interface { RPCAddPortMapping(ctx context.Context, in *CreatePortMappingRequst, opts ...grpc.CallOption) (*CreatePortMappingResponse, error) RPCDeletePortMapping(ctx context.Context, in *DeletePortMappingRequest, opts ...grpc.CallOption) (*DeletePortMappingResponse, error) RPCListPortMapping(ctx context.Context, in *ListPortMappingsRequest, opts ...grpc.CallOption) (*ListContainersResponse, error) }
PortMappingServiceClient is the client API for PortMappingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPortMappingServiceClient ¶
func NewPortMappingServiceClient(cc *grpc.ClientConn) PortMappingServiceClient
type PortMappingServiceServer ¶
type PortMappingServiceServer interface { RPCAddPortMapping(context.Context, *CreatePortMappingRequst) (*CreatePortMappingResponse, error) RPCDeletePortMapping(context.Context, *DeletePortMappingRequest) (*DeletePortMappingResponse, error) RPCListPortMapping(context.Context, *ListPortMappingsRequest) (*ListContainersResponse, error) }
PortMappingServiceServer is the server API for PortMappingService service.
type UnimplementedPortMappingServiceServer ¶
type UnimplementedPortMappingServiceServer struct { }
UnimplementedPortMappingServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPortMappingServiceServer) RPCAddPortMapping ¶
func (*UnimplementedPortMappingServiceServer) RPCAddPortMapping(ctx context.Context, req *CreatePortMappingRequst) (*CreatePortMappingResponse, error)
func (*UnimplementedPortMappingServiceServer) RPCDeletePortMapping ¶
func (*UnimplementedPortMappingServiceServer) RPCDeletePortMapping(ctx context.Context, req *DeletePortMappingRequest) (*DeletePortMappingResponse, error)
func (*UnimplementedPortMappingServiceServer) RPCListPortMapping ¶
func (*UnimplementedPortMappingServiceServer) RPCListPortMapping(ctx context.Context, req *ListPortMappingsRequest) (*ListContainersResponse, error)
Click to show internal directories.
Click to hide internal directories.