Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterReverseTunnelServer(s grpc.ServiceRegistrar, srv ReverseTunnelServer)
- type CloseSend
- type CloseSendMultiError
- type CloseSendValidationError
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest) GetDescriptor_() *Descriptor
- func (x *ConnectRequest) GetError() *Error
- func (x *ConnectRequest) GetHeader() *Header
- func (x *ConnectRequest) GetMessage() *Message
- func (m *ConnectRequest) GetMsg() isConnectRequest_Msg
- func (x *ConnectRequest) GetTrailer() *Trailer
- func (*ConnectRequest) ProtoMessage()
- func (x *ConnectRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest) Reset()
- func (x *ConnectRequest) String() string
- func (m *ConnectRequest) Validate() error
- func (m *ConnectRequest) ValidateAll() error
- type ConnectRequestMultiError
- type ConnectRequestValidationError
- func (e ConnectRequestValidationError) Cause() error
- func (e ConnectRequestValidationError) Error() string
- func (e ConnectRequestValidationError) ErrorName() string
- func (e ConnectRequestValidationError) Field() string
- func (e ConnectRequestValidationError) Key() bool
- func (e ConnectRequestValidationError) Reason() string
- type ConnectRequest_Descriptor_
- type ConnectRequest_Error
- type ConnectRequest_Header
- type ConnectRequest_Message
- type ConnectRequest_Trailer
- type ConnectResponse
- func (*ConnectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectResponse) GetCloseSend() *CloseSend
- func (x *ConnectResponse) GetMessage() *Message
- func (m *ConnectResponse) GetMsg() isConnectResponse_Msg
- func (x *ConnectResponse) GetRequestInfo() *RequestInfo
- func (*ConnectResponse) ProtoMessage()
- func (x *ConnectResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectResponse) Reset()
- func (x *ConnectResponse) String() string
- func (m *ConnectResponse) Validate() error
- func (m *ConnectResponse) ValidateAll() error
- type ConnectResponseMultiError
- type ConnectResponseValidationError
- func (e ConnectResponseValidationError) Cause() error
- func (e ConnectResponseValidationError) Error() string
- func (e ConnectResponseValidationError) ErrorName() string
- func (e ConnectResponseValidationError) Field() string
- func (e ConnectResponseValidationError) Key() bool
- func (e ConnectResponseValidationError) Reason() string
- type ConnectResponse_CloseSend
- type ConnectResponse_Message
- type ConnectResponse_RequestInfo
- type Descriptor
- func (*Descriptor) Descriptor() ([]byte, []int)deprecated
- func (x *Descriptor) GetApiDescriptor() *info.APIDescriptor
- func (*Descriptor) ProtoMessage()
- func (x *Descriptor) ProtoReflect() protoreflect.Message
- func (x *Descriptor) Reset()
- func (x *Descriptor) String() string
- func (m *Descriptor) Validate() error
- func (m *Descriptor) ValidateAll() error
- type DescriptorMultiError
- type DescriptorValidationError
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetStatus() *status.Status
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- func (m *Error) Validate() error
- func (m *Error) ValidateAll() error
- type ErrorMultiError
- type ErrorValidationError
- type GatewayResponse
- func (*GatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayResponse) GetError() *GatewayResponse_Error
- func (x *GatewayResponse) GetHeader() *GatewayResponse_Header
- func (x *GatewayResponse) GetMessage() *GatewayResponse_Message
- func (m *GatewayResponse) GetMsg() isGatewayResponse_Msg
- func (x *GatewayResponse) GetNoTunnel() *GatewayResponse_NoTunnel
- func (x *GatewayResponse) GetTrailer() *GatewayResponse_Trailer
- func (x *GatewayResponse) GetTunnelReady() *GatewayResponse_TunnelReady
- func (*GatewayResponse) ProtoMessage()
- func (x *GatewayResponse) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse) Reset()
- func (x *GatewayResponse) String() string
- func (m *GatewayResponse) Validate() error
- func (m *GatewayResponse) ValidateAll() error
- type GatewayResponseMultiError
- type GatewayResponseValidationError
- func (e GatewayResponseValidationError) Cause() error
- func (e GatewayResponseValidationError) Error() string
- func (e GatewayResponseValidationError) ErrorName() string
- func (e GatewayResponseValidationError) Field() string
- func (e GatewayResponseValidationError) Key() bool
- func (e GatewayResponseValidationError) Reason() string
- type GatewayResponse_Error
- func (*GatewayResponse_Error) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayResponse_Error) GetStatus() *status.Status
- func (*GatewayResponse_Error) ProtoMessage()
- func (x *GatewayResponse_Error) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_Error) Reset()
- func (x *GatewayResponse_Error) String() string
- func (m *GatewayResponse_Error) Validate() error
- func (m *GatewayResponse_Error) ValidateAll() error
- type GatewayResponse_ErrorMultiError
- type GatewayResponse_ErrorValidationError
- func (e GatewayResponse_ErrorValidationError) Cause() error
- func (e GatewayResponse_ErrorValidationError) Error() string
- func (e GatewayResponse_ErrorValidationError) ErrorName() string
- func (e GatewayResponse_ErrorValidationError) Field() string
- func (e GatewayResponse_ErrorValidationError) Key() bool
- func (e GatewayResponse_ErrorValidationError) Reason() string
- type GatewayResponse_Error_
- type GatewayResponse_Header
- func (*GatewayResponse_Header) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayResponse_Header) GetMeta() map[string]*prototool.HeaderValues
- func (x *GatewayResponse_Header) Metadata() metadata.MD
- func (*GatewayResponse_Header) ProtoMessage()
- func (x *GatewayResponse_Header) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_Header) Reset()
- func (x *GatewayResponse_Header) String() string
- func (m *GatewayResponse_Header) Validate() error
- func (m *GatewayResponse_Header) ValidateAll() error
- type GatewayResponse_HeaderMultiError
- type GatewayResponse_HeaderValidationError
- func (e GatewayResponse_HeaderValidationError) Cause() error
- func (e GatewayResponse_HeaderValidationError) Error() string
- func (e GatewayResponse_HeaderValidationError) ErrorName() string
- func (e GatewayResponse_HeaderValidationError) Field() string
- func (e GatewayResponse_HeaderValidationError) Key() bool
- func (e GatewayResponse_HeaderValidationError) Reason() string
- type GatewayResponse_Header_
- type GatewayResponse_Message
- func (*GatewayResponse_Message) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayResponse_Message) GetData() []byte
- func (*GatewayResponse_Message) ProtoMessage()
- func (x *GatewayResponse_Message) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_Message) Reset()
- func (x *GatewayResponse_Message) String() string
- func (m *GatewayResponse_Message) Validate() error
- func (m *GatewayResponse_Message) ValidateAll() error
- type GatewayResponse_MessageMultiError
- type GatewayResponse_MessageValidationError
- func (e GatewayResponse_MessageValidationError) Cause() error
- func (e GatewayResponse_MessageValidationError) Error() string
- func (e GatewayResponse_MessageValidationError) ErrorName() string
- func (e GatewayResponse_MessageValidationError) Field() string
- func (e GatewayResponse_MessageValidationError) Key() bool
- func (e GatewayResponse_MessageValidationError) Reason() string
- type GatewayResponse_Message_
- type GatewayResponse_NoTunnel
- func (*GatewayResponse_NoTunnel) Descriptor() ([]byte, []int)deprecated
- func (*GatewayResponse_NoTunnel) ProtoMessage()
- func (x *GatewayResponse_NoTunnel) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_NoTunnel) Reset()
- func (x *GatewayResponse_NoTunnel) String() string
- func (m *GatewayResponse_NoTunnel) Validate() error
- func (m *GatewayResponse_NoTunnel) ValidateAll() error
- type GatewayResponse_NoTunnelMultiError
- type GatewayResponse_NoTunnelValidationError
- func (e GatewayResponse_NoTunnelValidationError) Cause() error
- func (e GatewayResponse_NoTunnelValidationError) Error() string
- func (e GatewayResponse_NoTunnelValidationError) ErrorName() string
- func (e GatewayResponse_NoTunnelValidationError) Field() string
- func (e GatewayResponse_NoTunnelValidationError) Key() bool
- func (e GatewayResponse_NoTunnelValidationError) Reason() string
- type GatewayResponse_NoTunnel_
- type GatewayResponse_Trailer
- func (*GatewayResponse_Trailer) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayResponse_Trailer) GetMeta() map[string]*prototool.HeaderValues
- func (x *GatewayResponse_Trailer) Metadata() metadata.MD
- func (*GatewayResponse_Trailer) ProtoMessage()
- func (x *GatewayResponse_Trailer) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_Trailer) Reset()
- func (x *GatewayResponse_Trailer) String() string
- func (m *GatewayResponse_Trailer) Validate() error
- func (m *GatewayResponse_Trailer) ValidateAll() error
- type GatewayResponse_TrailerMultiError
- type GatewayResponse_TrailerValidationError
- func (e GatewayResponse_TrailerValidationError) Cause() error
- func (e GatewayResponse_TrailerValidationError) Error() string
- func (e GatewayResponse_TrailerValidationError) ErrorName() string
- func (e GatewayResponse_TrailerValidationError) Field() string
- func (e GatewayResponse_TrailerValidationError) Key() bool
- func (e GatewayResponse_TrailerValidationError) Reason() string
- type GatewayResponse_Trailer_
- type GatewayResponse_TunnelReady
- func (*GatewayResponse_TunnelReady) Descriptor() ([]byte, []int)deprecated
- func (*GatewayResponse_TunnelReady) ProtoMessage()
- func (x *GatewayResponse_TunnelReady) ProtoReflect() protoreflect.Message
- func (x *GatewayResponse_TunnelReady) Reset()
- func (x *GatewayResponse_TunnelReady) String() string
- func (m *GatewayResponse_TunnelReady) Validate() error
- func (m *GatewayResponse_TunnelReady) ValidateAll() error
- type GatewayResponse_TunnelReadyMultiError
- type GatewayResponse_TunnelReadyValidationError
- func (e GatewayResponse_TunnelReadyValidationError) Cause() error
- func (e GatewayResponse_TunnelReadyValidationError) Error() string
- func (e GatewayResponse_TunnelReadyValidationError) ErrorName() string
- func (e GatewayResponse_TunnelReadyValidationError) Field() string
- func (e GatewayResponse_TunnelReadyValidationError) Key() bool
- func (e GatewayResponse_TunnelReadyValidationError) Reason() string
- type GatewayResponse_TunnelReady_
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetMeta() map[string]*prototool.HeaderValues
- func (x *Header) Metadata() metadata.MD
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- func (m *Header) Validate() error
- func (m *Header) ValidateAll() error
- type HeaderMultiError
- type HeaderValidationError
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetData() []byte
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageMultiError
- type MessageValidationError
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInfo) GetMeta() map[string]*prototool.HeaderValues
- func (x *RequestInfo) GetMethodName() string
- func (x *RequestInfo) Metadata() metadata.MD
- func (*RequestInfo) ProtoMessage()
- func (x *RequestInfo) ProtoReflect() protoreflect.Message
- func (x *RequestInfo) Reset()
- func (x *RequestInfo) String() string
- func (m *RequestInfo) Validate() error
- func (m *RequestInfo) ValidateAll() error
- type RequestInfoMultiError
- type RequestInfoValidationError
- func (e RequestInfoValidationError) Cause() error
- func (e RequestInfoValidationError) Error() string
- func (e RequestInfoValidationError) ErrorName() string
- func (e RequestInfoValidationError) Field() string
- func (e RequestInfoValidationError) Key() bool
- func (e RequestInfoValidationError) Reason() string
- type ReverseTunnelClient
- type ReverseTunnelServer
- type ReverseTunnel_ConnectClient
- type ReverseTunnel_ConnectServer
- type StartStreaming
- func (*StartStreaming) Descriptor() ([]byte, []int)deprecated
- func (*StartStreaming) ProtoMessage()
- func (x *StartStreaming) ProtoReflect() protoreflect.Message
- func (x *StartStreaming) Reset()
- func (x *StartStreaming) String() string
- func (m *StartStreaming) Validate() error
- func (m *StartStreaming) ValidateAll() error
- type StartStreamingMultiError
- type StartStreamingValidationError
- func (e StartStreamingValidationError) Cause() error
- func (e StartStreamingValidationError) Error() string
- func (e StartStreamingValidationError) ErrorName() string
- func (e StartStreamingValidationError) Field() string
- func (e StartStreamingValidationError) Key() bool
- func (e StartStreamingValidationError) Reason() string
- type Trailer
- func (*Trailer) Descriptor() ([]byte, []int)deprecated
- func (x *Trailer) GetMeta() map[string]*prototool.HeaderValues
- func (x *Trailer) Metadata() metadata.MD
- func (*Trailer) ProtoMessage()
- func (x *Trailer) ProtoReflect() protoreflect.Message
- func (x *Trailer) Reset()
- func (x *Trailer) String() string
- func (m *Trailer) Validate() error
- func (m *Trailer) ValidateAll() error
- type TrailerMultiError
- type TrailerValidationError
- type UnimplementedReverseTunnelServer
- type UnsafeReverseTunnelServer
Constants ¶
const (
ReverseTunnel_Connect_FullMethodName = "/gitlab.agent.reverse_tunnel.rpc.ReverseTunnel/Connect"
)
Variables ¶
var ( GatewayResponseVisitor = grpctool.NewLazyStreamVisitor(&GatewayResponse{}) ConnectRequestVisitor = grpctool.NewLazyStreamVisitor(&ConnectRequest{}) ConnectResponseVisitor = grpctool.NewLazyStreamVisitor(&ConnectResponse{}) )
var File_internal_tunnel_rpc_rpc_proto protoreflect.FileDescriptor
var ReverseTunnel_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.agent.reverse_tunnel.rpc.ReverseTunnel", HandlerType: (*ReverseTunnelServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _ReverseTunnel_Connect_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "internal/tunnel/rpc/rpc.proto", }
ReverseTunnel_ServiceDesc is the grpc.ServiceDesc for ReverseTunnel service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterReverseTunnelServer ¶
func RegisterReverseTunnelServer(s grpc.ServiceRegistrar, srv ReverseTunnelServer)
Types ¶
type CloseSend ¶
type CloseSend struct {
// contains filtered or unexported fields
}
func (*CloseSend) Descriptor
deprecated
func (*CloseSend) ProtoMessage ¶
func (*CloseSend) ProtoMessage()
func (*CloseSend) ProtoReflect ¶
func (x *CloseSend) ProtoReflect() protoreflect.Message
func (*CloseSend) Validate ¶
Validate checks the field values on CloseSend with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CloseSend) ValidateAll ¶
ValidateAll checks the field values on CloseSend with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloseSendMultiError, or nil if none found.
type CloseSendMultiError ¶
type CloseSendMultiError []error
CloseSendMultiError is an error wrapping multiple validation errors returned by CloseSend.ValidateAll() if the designated constraints aren't met.
func (CloseSendMultiError) AllErrors ¶
func (m CloseSendMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CloseSendMultiError) Error ¶
func (m CloseSendMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CloseSendValidationError ¶
type CloseSendValidationError struct {
// contains filtered or unexported fields
}
CloseSendValidationError is the validation error returned by CloseSend.Validate if the designated constraints aren't met.
func (CloseSendValidationError) Cause ¶
func (e CloseSendValidationError) Cause() error
Cause function returns cause value.
func (CloseSendValidationError) Error ¶
func (e CloseSendValidationError) Error() string
Error satisfies the builtin error interface
func (CloseSendValidationError) ErrorName ¶
func (e CloseSendValidationError) ErrorName() string
ErrorName returns error name.
func (CloseSendValidationError) Field ¶
func (e CloseSendValidationError) Field() string
Field function returns field value.
func (CloseSendValidationError) Key ¶
func (e CloseSendValidationError) Key() bool
Key function returns key value.
func (CloseSendValidationError) Reason ¶
func (e CloseSendValidationError) Reason() string
Reason function returns reason value.
type ConnectRequest ¶
type ConnectRequest struct { // Types that are assignable to Msg: // // *ConnectRequest_Descriptor_ // *ConnectRequest_Header // *ConnectRequest_Message // *ConnectRequest_Trailer // *ConnectRequest_Error Msg isConnectRequest_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ConnectRequest) Descriptor
deprecated
func (*ConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.
func (*ConnectRequest) GetDescriptor_ ¶
func (x *ConnectRequest) GetDescriptor_() *Descriptor
func (*ConnectRequest) GetError ¶
func (x *ConnectRequest) GetError() *Error
func (*ConnectRequest) GetHeader ¶
func (x *ConnectRequest) GetHeader() *Header
func (*ConnectRequest) GetMessage ¶
func (x *ConnectRequest) GetMessage() *Message
func (*ConnectRequest) GetMsg ¶
func (m *ConnectRequest) GetMsg() isConnectRequest_Msg
func (*ConnectRequest) GetTrailer ¶
func (x *ConnectRequest) GetTrailer() *Trailer
func (*ConnectRequest) ProtoMessage ¶
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) ProtoReflect ¶
func (x *ConnectRequest) ProtoReflect() protoreflect.Message
func (*ConnectRequest) Reset ¶
func (x *ConnectRequest) Reset()
func (*ConnectRequest) String ¶
func (x *ConnectRequest) String() string
func (*ConnectRequest) Validate ¶
func (m *ConnectRequest) Validate() error
Validate checks the field values on ConnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConnectRequest) ValidateAll ¶
func (m *ConnectRequest) ValidateAll() error
ValidateAll checks the field values on ConnectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectRequestMultiError, or nil if none found.
type ConnectRequestMultiError ¶
type ConnectRequestMultiError []error
ConnectRequestMultiError is an error wrapping multiple validation errors returned by ConnectRequest.ValidateAll() if the designated constraints aren't met.
func (ConnectRequestMultiError) AllErrors ¶
func (m ConnectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectRequestMultiError) Error ¶
func (m ConnectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectRequestValidationError ¶
type ConnectRequestValidationError struct {
// contains filtered or unexported fields
}
ConnectRequestValidationError is the validation error returned by ConnectRequest.Validate if the designated constraints aren't met.
func (ConnectRequestValidationError) Cause ¶
func (e ConnectRequestValidationError) Cause() error
Cause function returns cause value.
func (ConnectRequestValidationError) Error ¶
func (e ConnectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectRequestValidationError) ErrorName ¶
func (e ConnectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectRequestValidationError) Field ¶
func (e ConnectRequestValidationError) Field() string
Field function returns field value.
func (ConnectRequestValidationError) Key ¶
func (e ConnectRequestValidationError) Key() bool
Key function returns key value.
func (ConnectRequestValidationError) Reason ¶
func (e ConnectRequestValidationError) Reason() string
Reason function returns reason value.
type ConnectRequest_Descriptor_ ¶
type ConnectRequest_Descriptor_ struct {
Descriptor_ *Descriptor `protobuf:"bytes,1,opt,name=descriptor,proto3,oneof"`
}
type ConnectRequest_Error ¶
type ConnectRequest_Error struct {
Error *Error `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}
type ConnectRequest_Header ¶
type ConnectRequest_Header struct {
Header *Header `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}
type ConnectRequest_Message ¶
type ConnectRequest_Message struct {
Message *Message `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}
type ConnectRequest_Trailer ¶
type ConnectRequest_Trailer struct {
Trailer *Trailer `protobuf:"bytes,4,opt,name=trailer,proto3,oneof"`
}
type ConnectResponse ¶
type ConnectResponse struct { // Types that are assignable to Msg: // // *ConnectResponse_RequestInfo // *ConnectResponse_Message // *ConnectResponse_CloseSend Msg isConnectResponse_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ConnectResponse) Descriptor
deprecated
func (*ConnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.
func (*ConnectResponse) GetCloseSend ¶
func (x *ConnectResponse) GetCloseSend() *CloseSend
func (*ConnectResponse) GetMessage ¶
func (x *ConnectResponse) GetMessage() *Message
func (*ConnectResponse) GetMsg ¶
func (m *ConnectResponse) GetMsg() isConnectResponse_Msg
func (*ConnectResponse) GetRequestInfo ¶
func (x *ConnectResponse) GetRequestInfo() *RequestInfo
func (*ConnectResponse) ProtoMessage ¶
func (*ConnectResponse) ProtoMessage()
func (*ConnectResponse) ProtoReflect ¶
func (x *ConnectResponse) ProtoReflect() protoreflect.Message
func (*ConnectResponse) Reset ¶
func (x *ConnectResponse) Reset()
func (*ConnectResponse) String ¶
func (x *ConnectResponse) String() string
func (*ConnectResponse) Validate ¶
func (m *ConnectResponse) Validate() error
Validate checks the field values on ConnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConnectResponse) ValidateAll ¶
func (m *ConnectResponse) ValidateAll() error
ValidateAll checks the field values on ConnectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectResponseMultiError, or nil if none found.
type ConnectResponseMultiError ¶
type ConnectResponseMultiError []error
ConnectResponseMultiError is an error wrapping multiple validation errors returned by ConnectResponse.ValidateAll() if the designated constraints aren't met.
func (ConnectResponseMultiError) AllErrors ¶
func (m ConnectResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectResponseMultiError) Error ¶
func (m ConnectResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectResponseValidationError ¶
type ConnectResponseValidationError struct {
// contains filtered or unexported fields
}
ConnectResponseValidationError is the validation error returned by ConnectResponse.Validate if the designated constraints aren't met.
func (ConnectResponseValidationError) Cause ¶
func (e ConnectResponseValidationError) Cause() error
Cause function returns cause value.
func (ConnectResponseValidationError) Error ¶
func (e ConnectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectResponseValidationError) ErrorName ¶
func (e ConnectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectResponseValidationError) Field ¶
func (e ConnectResponseValidationError) Field() string
Field function returns field value.
func (ConnectResponseValidationError) Key ¶
func (e ConnectResponseValidationError) Key() bool
Key function returns key value.
func (ConnectResponseValidationError) Reason ¶
func (e ConnectResponseValidationError) Reason() string
Reason function returns reason value.
type ConnectResponse_CloseSend ¶
type ConnectResponse_CloseSend struct {
CloseSend *CloseSend `protobuf:"bytes,3,opt,name=close_send,json=closeSend,proto3,oneof"`
}
type ConnectResponse_Message ¶
type ConnectResponse_Message struct {
Message *Message `protobuf:"bytes,2,opt,name=message,proto3,oneof"`
}
type ConnectResponse_RequestInfo ¶
type ConnectResponse_RequestInfo struct {
RequestInfo *RequestInfo `protobuf:"bytes,1,opt,name=request_info,json=requestInfo,proto3,oneof"`
}
type Descriptor ¶
type Descriptor struct { ApiDescriptor *info.APIDescriptor `protobuf:"bytes,1,opt,name=api_descriptor,json=apiDescriptor,proto3" json:"api_descriptor,omitempty"` // contains filtered or unexported fields }
func (*Descriptor) Descriptor
deprecated
func (*Descriptor) Descriptor() ([]byte, []int)
Deprecated: Use Descriptor.ProtoReflect.Descriptor instead.
func (*Descriptor) GetApiDescriptor ¶
func (x *Descriptor) GetApiDescriptor() *info.APIDescriptor
func (*Descriptor) ProtoMessage ¶
func (*Descriptor) ProtoMessage()
func (*Descriptor) ProtoReflect ¶
func (x *Descriptor) ProtoReflect() protoreflect.Message
func (*Descriptor) Reset ¶
func (x *Descriptor) Reset()
func (*Descriptor) String ¶
func (x *Descriptor) String() string
func (*Descriptor) Validate ¶
func (m *Descriptor) Validate() error
Validate checks the field values on Descriptor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Descriptor) ValidateAll ¶
func (m *Descriptor) ValidateAll() error
ValidateAll checks the field values on Descriptor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescriptorMultiError, or nil if none found.
type DescriptorMultiError ¶
type DescriptorMultiError []error
DescriptorMultiError is an error wrapping multiple validation errors returned by Descriptor.ValidateAll() if the designated constraints aren't met.
func (DescriptorMultiError) AllErrors ¶
func (m DescriptorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DescriptorMultiError) Error ¶
func (m DescriptorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DescriptorValidationError ¶
type DescriptorValidationError struct {
// contains filtered or unexported fields
}
DescriptorValidationError is the validation error returned by Descriptor.Validate if the designated constraints aren't met.
func (DescriptorValidationError) Cause ¶
func (e DescriptorValidationError) Cause() error
Cause function returns cause value.
func (DescriptorValidationError) Error ¶
func (e DescriptorValidationError) Error() string
Error satisfies the builtin error interface
func (DescriptorValidationError) ErrorName ¶
func (e DescriptorValidationError) ErrorName() string
ErrorName returns error name.
func (DescriptorValidationError) Field ¶
func (e DescriptorValidationError) Field() string
Field function returns field value.
func (DescriptorValidationError) Key ¶
func (e DescriptorValidationError) Key() bool
Key function returns key value.
func (DescriptorValidationError) Reason ¶
func (e DescriptorValidationError) Reason() string
Reason function returns reason value.
type Error ¶
type Error struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) Validate ¶
Validate checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Error) ValidateAll ¶
ValidateAll checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorMultiError, or nil if none found.
type ErrorMultiError ¶
type ErrorMultiError []error
ErrorMultiError is an error wrapping multiple validation errors returned by Error.ValidateAll() if the designated constraints aren't met.
func (ErrorMultiError) AllErrors ¶
func (m ErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorMultiError) Error ¶
func (m ErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorValidationError ¶
type ErrorValidationError struct {
// contains filtered or unexported fields
}
ErrorValidationError is the validation error returned by Error.Validate if the designated constraints aren't met.
func (ErrorValidationError) Cause ¶
func (e ErrorValidationError) Cause() error
Cause function returns cause value.
func (ErrorValidationError) Error ¶
func (e ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorValidationError) ErrorName ¶
func (e ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorValidationError) Field ¶
func (e ErrorValidationError) Field() string
Field function returns field value.
func (ErrorValidationError) Key ¶
func (e ErrorValidationError) Key() bool
Key function returns key value.
func (ErrorValidationError) Reason ¶
func (e ErrorValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse ¶
type GatewayResponse struct { // Types that are assignable to Msg: // // *GatewayResponse_TunnelReady_ // *GatewayResponse_Header_ // *GatewayResponse_Message_ // *GatewayResponse_Trailer_ // *GatewayResponse_Error_ // *GatewayResponse_NoTunnel_ Msg isGatewayResponse_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*GatewayResponse) Descriptor
deprecated
func (*GatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse.ProtoReflect.Descriptor instead.
func (*GatewayResponse) GetError ¶
func (x *GatewayResponse) GetError() *GatewayResponse_Error
func (*GatewayResponse) GetHeader ¶
func (x *GatewayResponse) GetHeader() *GatewayResponse_Header
func (*GatewayResponse) GetMessage ¶
func (x *GatewayResponse) GetMessage() *GatewayResponse_Message
func (*GatewayResponse) GetMsg ¶
func (m *GatewayResponse) GetMsg() isGatewayResponse_Msg
func (*GatewayResponse) GetNoTunnel ¶
func (x *GatewayResponse) GetNoTunnel() *GatewayResponse_NoTunnel
func (*GatewayResponse) GetTrailer ¶
func (x *GatewayResponse) GetTrailer() *GatewayResponse_Trailer
func (*GatewayResponse) GetTunnelReady ¶
func (x *GatewayResponse) GetTunnelReady() *GatewayResponse_TunnelReady
func (*GatewayResponse) ProtoMessage ¶
func (*GatewayResponse) ProtoMessage()
func (*GatewayResponse) ProtoReflect ¶
func (x *GatewayResponse) ProtoReflect() protoreflect.Message
func (*GatewayResponse) Reset ¶
func (x *GatewayResponse) Reset()
func (*GatewayResponse) String ¶
func (x *GatewayResponse) String() string
func (*GatewayResponse) Validate ¶
func (m *GatewayResponse) Validate() error
Validate checks the field values on GatewayResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse) ValidateAll ¶
func (m *GatewayResponse) ValidateAll() error
ValidateAll checks the field values on GatewayResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponseMultiError, or nil if none found.
type GatewayResponseMultiError ¶
type GatewayResponseMultiError []error
GatewayResponseMultiError is an error wrapping multiple validation errors returned by GatewayResponse.ValidateAll() if the designated constraints aren't met.
func (GatewayResponseMultiError) AllErrors ¶
func (m GatewayResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponseMultiError) Error ¶
func (m GatewayResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponseValidationError ¶
type GatewayResponseValidationError struct {
// contains filtered or unexported fields
}
GatewayResponseValidationError is the validation error returned by GatewayResponse.Validate if the designated constraints aren't met.
func (GatewayResponseValidationError) Cause ¶
func (e GatewayResponseValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponseValidationError) Error ¶
func (e GatewayResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponseValidationError) ErrorName ¶
func (e GatewayResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponseValidationError) Field ¶
func (e GatewayResponseValidationError) Field() string
Field function returns field value.
func (GatewayResponseValidationError) Key ¶
func (e GatewayResponseValidationError) Key() bool
Key function returns key value.
func (GatewayResponseValidationError) Reason ¶
func (e GatewayResponseValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_Error ¶
type GatewayResponse_Error struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GatewayResponse_Error) Descriptor
deprecated
func (*GatewayResponse_Error) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_Error.ProtoReflect.Descriptor instead.
func (*GatewayResponse_Error) GetStatus ¶
func (x *GatewayResponse_Error) GetStatus() *status.Status
func (*GatewayResponse_Error) ProtoMessage ¶
func (*GatewayResponse_Error) ProtoMessage()
func (*GatewayResponse_Error) ProtoReflect ¶
func (x *GatewayResponse_Error) ProtoReflect() protoreflect.Message
func (*GatewayResponse_Error) Reset ¶
func (x *GatewayResponse_Error) Reset()
func (*GatewayResponse_Error) String ¶
func (x *GatewayResponse_Error) String() string
func (*GatewayResponse_Error) Validate ¶
func (m *GatewayResponse_Error) Validate() error
Validate checks the field values on GatewayResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_Error) ValidateAll ¶
func (m *GatewayResponse_Error) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_ErrorMultiError, or nil if none found.
type GatewayResponse_ErrorMultiError ¶
type GatewayResponse_ErrorMultiError []error
GatewayResponse_ErrorMultiError is an error wrapping multiple validation errors returned by GatewayResponse_Error.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_ErrorMultiError) AllErrors ¶
func (m GatewayResponse_ErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_ErrorMultiError) Error ¶
func (m GatewayResponse_ErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_ErrorValidationError ¶
type GatewayResponse_ErrorValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_ErrorValidationError is the validation error returned by GatewayResponse_Error.Validate if the designated constraints aren't met.
func (GatewayResponse_ErrorValidationError) Cause ¶
func (e GatewayResponse_ErrorValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_ErrorValidationError) Error ¶
func (e GatewayResponse_ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_ErrorValidationError) ErrorName ¶
func (e GatewayResponse_ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_ErrorValidationError) Field ¶
func (e GatewayResponse_ErrorValidationError) Field() string
Field function returns field value.
func (GatewayResponse_ErrorValidationError) Key ¶
func (e GatewayResponse_ErrorValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_ErrorValidationError) Reason ¶
func (e GatewayResponse_ErrorValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_Error_ ¶
type GatewayResponse_Error_ struct {
Error *GatewayResponse_Error `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}
type GatewayResponse_Header ¶
type GatewayResponse_Header struct { Meta map[string]*prototool.HeaderValues `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GatewayResponse_Header) Descriptor
deprecated
func (*GatewayResponse_Header) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_Header.ProtoReflect.Descriptor instead.
func (*GatewayResponse_Header) GetMeta ¶
func (x *GatewayResponse_Header) GetMeta() map[string]*prototool.HeaderValues
func (*GatewayResponse_Header) Metadata ¶
func (x *GatewayResponse_Header) Metadata() metadata.MD
func (*GatewayResponse_Header) ProtoMessage ¶
func (*GatewayResponse_Header) ProtoMessage()
func (*GatewayResponse_Header) ProtoReflect ¶
func (x *GatewayResponse_Header) ProtoReflect() protoreflect.Message
func (*GatewayResponse_Header) Reset ¶
func (x *GatewayResponse_Header) Reset()
func (*GatewayResponse_Header) String ¶
func (x *GatewayResponse_Header) String() string
func (*GatewayResponse_Header) Validate ¶
func (m *GatewayResponse_Header) Validate() error
Validate checks the field values on GatewayResponse_Header with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_Header) ValidateAll ¶
func (m *GatewayResponse_Header) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_Header with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_HeaderMultiError, or nil if none found.
type GatewayResponse_HeaderMultiError ¶
type GatewayResponse_HeaderMultiError []error
GatewayResponse_HeaderMultiError is an error wrapping multiple validation errors returned by GatewayResponse_Header.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_HeaderMultiError) AllErrors ¶
func (m GatewayResponse_HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_HeaderMultiError) Error ¶
func (m GatewayResponse_HeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_HeaderValidationError ¶
type GatewayResponse_HeaderValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_HeaderValidationError is the validation error returned by GatewayResponse_Header.Validate if the designated constraints aren't met.
func (GatewayResponse_HeaderValidationError) Cause ¶
func (e GatewayResponse_HeaderValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_HeaderValidationError) Error ¶
func (e GatewayResponse_HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_HeaderValidationError) ErrorName ¶
func (e GatewayResponse_HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_HeaderValidationError) Field ¶
func (e GatewayResponse_HeaderValidationError) Field() string
Field function returns field value.
func (GatewayResponse_HeaderValidationError) Key ¶
func (e GatewayResponse_HeaderValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_HeaderValidationError) Reason ¶
func (e GatewayResponse_HeaderValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_Header_ ¶
type GatewayResponse_Header_ struct {
Header *GatewayResponse_Header `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}
type GatewayResponse_Message ¶
type GatewayResponse_Message struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GatewayResponse_Message) Descriptor
deprecated
func (*GatewayResponse_Message) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_Message.ProtoReflect.Descriptor instead.
func (*GatewayResponse_Message) GetData ¶
func (x *GatewayResponse_Message) GetData() []byte
func (*GatewayResponse_Message) ProtoMessage ¶
func (*GatewayResponse_Message) ProtoMessage()
func (*GatewayResponse_Message) ProtoReflect ¶
func (x *GatewayResponse_Message) ProtoReflect() protoreflect.Message
func (*GatewayResponse_Message) Reset ¶
func (x *GatewayResponse_Message) Reset()
func (*GatewayResponse_Message) String ¶
func (x *GatewayResponse_Message) String() string
func (*GatewayResponse_Message) Validate ¶
func (m *GatewayResponse_Message) Validate() error
Validate checks the field values on GatewayResponse_Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_Message) ValidateAll ¶
func (m *GatewayResponse_Message) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_MessageMultiError, or nil if none found.
type GatewayResponse_MessageMultiError ¶
type GatewayResponse_MessageMultiError []error
GatewayResponse_MessageMultiError is an error wrapping multiple validation errors returned by GatewayResponse_Message.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_MessageMultiError) AllErrors ¶
func (m GatewayResponse_MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_MessageMultiError) Error ¶
func (m GatewayResponse_MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_MessageValidationError ¶
type GatewayResponse_MessageValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_MessageValidationError is the validation error returned by GatewayResponse_Message.Validate if the designated constraints aren't met.
func (GatewayResponse_MessageValidationError) Cause ¶
func (e GatewayResponse_MessageValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_MessageValidationError) Error ¶
func (e GatewayResponse_MessageValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_MessageValidationError) ErrorName ¶
func (e GatewayResponse_MessageValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_MessageValidationError) Field ¶
func (e GatewayResponse_MessageValidationError) Field() string
Field function returns field value.
func (GatewayResponse_MessageValidationError) Key ¶
func (e GatewayResponse_MessageValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_MessageValidationError) Reason ¶
func (e GatewayResponse_MessageValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_Message_ ¶
type GatewayResponse_Message_ struct {
Message *GatewayResponse_Message `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}
type GatewayResponse_NoTunnel ¶
type GatewayResponse_NoTunnel struct {
// contains filtered or unexported fields
}
func (*GatewayResponse_NoTunnel) Descriptor
deprecated
func (*GatewayResponse_NoTunnel) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_NoTunnel.ProtoReflect.Descriptor instead.
func (*GatewayResponse_NoTunnel) ProtoMessage ¶
func (*GatewayResponse_NoTunnel) ProtoMessage()
func (*GatewayResponse_NoTunnel) ProtoReflect ¶
func (x *GatewayResponse_NoTunnel) ProtoReflect() protoreflect.Message
func (*GatewayResponse_NoTunnel) Reset ¶
func (x *GatewayResponse_NoTunnel) Reset()
func (*GatewayResponse_NoTunnel) String ¶
func (x *GatewayResponse_NoTunnel) String() string
func (*GatewayResponse_NoTunnel) Validate ¶
func (m *GatewayResponse_NoTunnel) Validate() error
Validate checks the field values on GatewayResponse_NoTunnel with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_NoTunnel) ValidateAll ¶
func (m *GatewayResponse_NoTunnel) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_NoTunnel with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_NoTunnelMultiError, or nil if none found.
type GatewayResponse_NoTunnelMultiError ¶
type GatewayResponse_NoTunnelMultiError []error
GatewayResponse_NoTunnelMultiError is an error wrapping multiple validation errors returned by GatewayResponse_NoTunnel.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_NoTunnelMultiError) AllErrors ¶
func (m GatewayResponse_NoTunnelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_NoTunnelMultiError) Error ¶
func (m GatewayResponse_NoTunnelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_NoTunnelValidationError ¶
type GatewayResponse_NoTunnelValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_NoTunnelValidationError is the validation error returned by GatewayResponse_NoTunnel.Validate if the designated constraints aren't met.
func (GatewayResponse_NoTunnelValidationError) Cause ¶
func (e GatewayResponse_NoTunnelValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_NoTunnelValidationError) Error ¶
func (e GatewayResponse_NoTunnelValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_NoTunnelValidationError) ErrorName ¶
func (e GatewayResponse_NoTunnelValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_NoTunnelValidationError) Field ¶
func (e GatewayResponse_NoTunnelValidationError) Field() string
Field function returns field value.
func (GatewayResponse_NoTunnelValidationError) Key ¶
func (e GatewayResponse_NoTunnelValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_NoTunnelValidationError) Reason ¶
func (e GatewayResponse_NoTunnelValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_NoTunnel_ ¶
type GatewayResponse_NoTunnel_ struct {
NoTunnel *GatewayResponse_NoTunnel `protobuf:"bytes,6,opt,name=no_tunnel,json=noTunnel,proto3,oneof"`
}
type GatewayResponse_Trailer ¶
type GatewayResponse_Trailer struct { Meta map[string]*prototool.HeaderValues `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GatewayResponse_Trailer) Descriptor
deprecated
func (*GatewayResponse_Trailer) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_Trailer.ProtoReflect.Descriptor instead.
func (*GatewayResponse_Trailer) GetMeta ¶
func (x *GatewayResponse_Trailer) GetMeta() map[string]*prototool.HeaderValues
func (*GatewayResponse_Trailer) Metadata ¶
func (x *GatewayResponse_Trailer) Metadata() metadata.MD
func (*GatewayResponse_Trailer) ProtoMessage ¶
func (*GatewayResponse_Trailer) ProtoMessage()
func (*GatewayResponse_Trailer) ProtoReflect ¶
func (x *GatewayResponse_Trailer) ProtoReflect() protoreflect.Message
func (*GatewayResponse_Trailer) Reset ¶
func (x *GatewayResponse_Trailer) Reset()
func (*GatewayResponse_Trailer) String ¶
func (x *GatewayResponse_Trailer) String() string
func (*GatewayResponse_Trailer) Validate ¶
func (m *GatewayResponse_Trailer) Validate() error
Validate checks the field values on GatewayResponse_Trailer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_Trailer) ValidateAll ¶
func (m *GatewayResponse_Trailer) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_Trailer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_TrailerMultiError, or nil if none found.
type GatewayResponse_TrailerMultiError ¶
type GatewayResponse_TrailerMultiError []error
GatewayResponse_TrailerMultiError is an error wrapping multiple validation errors returned by GatewayResponse_Trailer.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_TrailerMultiError) AllErrors ¶
func (m GatewayResponse_TrailerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_TrailerMultiError) Error ¶
func (m GatewayResponse_TrailerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_TrailerValidationError ¶
type GatewayResponse_TrailerValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_TrailerValidationError is the validation error returned by GatewayResponse_Trailer.Validate if the designated constraints aren't met.
func (GatewayResponse_TrailerValidationError) Cause ¶
func (e GatewayResponse_TrailerValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_TrailerValidationError) Error ¶
func (e GatewayResponse_TrailerValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_TrailerValidationError) ErrorName ¶
func (e GatewayResponse_TrailerValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_TrailerValidationError) Field ¶
func (e GatewayResponse_TrailerValidationError) Field() string
Field function returns field value.
func (GatewayResponse_TrailerValidationError) Key ¶
func (e GatewayResponse_TrailerValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_TrailerValidationError) Reason ¶
func (e GatewayResponse_TrailerValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_Trailer_ ¶
type GatewayResponse_Trailer_ struct {
Trailer *GatewayResponse_Trailer `protobuf:"bytes,4,opt,name=trailer,proto3,oneof"`
}
type GatewayResponse_TunnelReady ¶
type GatewayResponse_TunnelReady struct {
// contains filtered or unexported fields
}
func (*GatewayResponse_TunnelReady) Descriptor
deprecated
func (*GatewayResponse_TunnelReady) Descriptor() ([]byte, []int)
Deprecated: Use GatewayResponse_TunnelReady.ProtoReflect.Descriptor instead.
func (*GatewayResponse_TunnelReady) ProtoMessage ¶
func (*GatewayResponse_TunnelReady) ProtoMessage()
func (*GatewayResponse_TunnelReady) ProtoReflect ¶
func (x *GatewayResponse_TunnelReady) ProtoReflect() protoreflect.Message
func (*GatewayResponse_TunnelReady) Reset ¶
func (x *GatewayResponse_TunnelReady) Reset()
func (*GatewayResponse_TunnelReady) String ¶
func (x *GatewayResponse_TunnelReady) String() string
func (*GatewayResponse_TunnelReady) Validate ¶
func (m *GatewayResponse_TunnelReady) Validate() error
Validate checks the field values on GatewayResponse_TunnelReady with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GatewayResponse_TunnelReady) ValidateAll ¶
func (m *GatewayResponse_TunnelReady) ValidateAll() error
ValidateAll checks the field values on GatewayResponse_TunnelReady with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayResponse_TunnelReadyMultiError, or nil if none found.
type GatewayResponse_TunnelReadyMultiError ¶
type GatewayResponse_TunnelReadyMultiError []error
GatewayResponse_TunnelReadyMultiError is an error wrapping multiple validation errors returned by GatewayResponse_TunnelReady.ValidateAll() if the designated constraints aren't met.
func (GatewayResponse_TunnelReadyMultiError) AllErrors ¶
func (m GatewayResponse_TunnelReadyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayResponse_TunnelReadyMultiError) Error ¶
func (m GatewayResponse_TunnelReadyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayResponse_TunnelReadyValidationError ¶
type GatewayResponse_TunnelReadyValidationError struct {
// contains filtered or unexported fields
}
GatewayResponse_TunnelReadyValidationError is the validation error returned by GatewayResponse_TunnelReady.Validate if the designated constraints aren't met.
func (GatewayResponse_TunnelReadyValidationError) Cause ¶
func (e GatewayResponse_TunnelReadyValidationError) Cause() error
Cause function returns cause value.
func (GatewayResponse_TunnelReadyValidationError) Error ¶
func (e GatewayResponse_TunnelReadyValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayResponse_TunnelReadyValidationError) ErrorName ¶
func (e GatewayResponse_TunnelReadyValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayResponse_TunnelReadyValidationError) Field ¶
func (e GatewayResponse_TunnelReadyValidationError) Field() string
Field function returns field value.
func (GatewayResponse_TunnelReadyValidationError) Key ¶
func (e GatewayResponse_TunnelReadyValidationError) Key() bool
Key function returns key value.
func (GatewayResponse_TunnelReadyValidationError) Reason ¶
func (e GatewayResponse_TunnelReadyValidationError) Reason() string
Reason function returns reason value.
type GatewayResponse_TunnelReady_ ¶
type GatewayResponse_TunnelReady_ struct {
TunnelReady *GatewayResponse_TunnelReady `protobuf:"bytes,1,opt,name=tunnel_ready,json=tunnelReady,proto3,oneof"`
}
type Header ¶
type Header struct { Meta map[string]*prototool.HeaderValues `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
func (*Header) Validate ¶
Validate checks the field values on Header with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Header) ValidateAll ¶
ValidateAll checks the field values on Header with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderMultiError, or nil if none found.
type HeaderMultiError ¶
type HeaderMultiError []error
HeaderMultiError is an error wrapping multiple validation errors returned by Header.ValidateAll() if the designated constraints aren't met.
func (HeaderMultiError) AllErrors ¶
func (m HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderMultiError) Error ¶
func (m HeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderValidationError ¶
type HeaderValidationError struct {
// contains filtered or unexported fields
}
HeaderValidationError is the validation error returned by Header.Validate if the designated constraints aren't met.
func (HeaderValidationError) Cause ¶
func (e HeaderValidationError) Cause() error
Cause function returns cause value.
func (HeaderValidationError) Error ¶
func (e HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderValidationError) ErrorName ¶
func (e HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderValidationError) Field ¶
func (e HeaderValidationError) Field() string
Field function returns field value.
func (HeaderValidationError) Key ¶
func (e HeaderValidationError) Key() bool
Key function returns key value.
func (HeaderValidationError) Reason ¶
func (e HeaderValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message) ValidateAll ¶
ValidateAll checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMultiError, or nil if none found.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type RequestInfo ¶
type RequestInfo struct { MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` Meta map[string]*prototool.HeaderValues `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RequestInfo) Descriptor
deprecated
func (*RequestInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequestInfo.ProtoReflect.Descriptor instead.
func (*RequestInfo) GetMeta ¶
func (x *RequestInfo) GetMeta() map[string]*prototool.HeaderValues
func (*RequestInfo) GetMethodName ¶
func (x *RequestInfo) GetMethodName() string
func (*RequestInfo) Metadata ¶
func (x *RequestInfo) Metadata() metadata.MD
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) ProtoReflect ¶
func (x *RequestInfo) ProtoReflect() protoreflect.Message
func (*RequestInfo) Reset ¶
func (x *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (x *RequestInfo) String() string
func (*RequestInfo) Validate ¶
func (m *RequestInfo) Validate() error
Validate checks the field values on RequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RequestInfo) ValidateAll ¶
func (m *RequestInfo) ValidateAll() error
ValidateAll checks the field values on RequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestInfoMultiError, or nil if none found.
type RequestInfoMultiError ¶
type RequestInfoMultiError []error
RequestInfoMultiError is an error wrapping multiple validation errors returned by RequestInfo.ValidateAll() if the designated constraints aren't met.
func (RequestInfoMultiError) AllErrors ¶
func (m RequestInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestInfoMultiError) Error ¶
func (m RequestInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestInfoValidationError ¶
type RequestInfoValidationError struct {
// contains filtered or unexported fields
}
RequestInfoValidationError is the validation error returned by RequestInfo.Validate if the designated constraints aren't met.
func (RequestInfoValidationError) Cause ¶
func (e RequestInfoValidationError) Cause() error
Cause function returns cause value.
func (RequestInfoValidationError) Error ¶
func (e RequestInfoValidationError) Error() string
Error satisfies the builtin error interface
func (RequestInfoValidationError) ErrorName ¶
func (e RequestInfoValidationError) ErrorName() string
ErrorName returns error name.
func (RequestInfoValidationError) Field ¶
func (e RequestInfoValidationError) Field() string
Field function returns field value.
func (RequestInfoValidationError) Key ¶
func (e RequestInfoValidationError) Key() bool
Key function returns key value.
func (RequestInfoValidationError) Reason ¶
func (e RequestInfoValidationError) Reason() string
Reason function returns reason value.
type ReverseTunnelClient ¶
type ReverseTunnelClient interface {
Connect(ctx context.Context, opts ...grpc.CallOption) (ReverseTunnel_ConnectClient, error)
}
ReverseTunnelClient is the client API for ReverseTunnel 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 NewReverseTunnelClient ¶
func NewReverseTunnelClient(cc grpc.ClientConnInterface) ReverseTunnelClient
type ReverseTunnelServer ¶
type ReverseTunnelServer interface { Connect(ReverseTunnel_ConnectServer) error // contains filtered or unexported methods }
ReverseTunnelServer is the server API for ReverseTunnel service. All implementations must embed UnimplementedReverseTunnelServer for forward compatibility
type ReverseTunnel_ConnectClient ¶
type ReverseTunnel_ConnectClient interface { Send(*ConnectRequest) error Recv() (*ConnectResponse, error) grpc.ClientStream }
type ReverseTunnel_ConnectServer ¶
type ReverseTunnel_ConnectServer interface { Send(*ConnectResponse) error Recv() (*ConnectRequest, error) grpc.ServerStream }
type StartStreaming ¶
type StartStreaming struct {
// contains filtered or unexported fields
}
func (*StartStreaming) Descriptor
deprecated
func (*StartStreaming) Descriptor() ([]byte, []int)
Deprecated: Use StartStreaming.ProtoReflect.Descriptor instead.
func (*StartStreaming) ProtoMessage ¶
func (*StartStreaming) ProtoMessage()
func (*StartStreaming) ProtoReflect ¶
func (x *StartStreaming) ProtoReflect() protoreflect.Message
func (*StartStreaming) Reset ¶
func (x *StartStreaming) Reset()
func (*StartStreaming) String ¶
func (x *StartStreaming) String() string
func (*StartStreaming) Validate ¶
func (m *StartStreaming) Validate() error
Validate checks the field values on StartStreaming with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StartStreaming) ValidateAll ¶
func (m *StartStreaming) ValidateAll() error
ValidateAll checks the field values on StartStreaming with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartStreamingMultiError, or nil if none found.
type StartStreamingMultiError ¶
type StartStreamingMultiError []error
StartStreamingMultiError is an error wrapping multiple validation errors returned by StartStreaming.ValidateAll() if the designated constraints aren't met.
func (StartStreamingMultiError) AllErrors ¶
func (m StartStreamingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartStreamingMultiError) Error ¶
func (m StartStreamingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StartStreamingValidationError ¶
type StartStreamingValidationError struct {
// contains filtered or unexported fields
}
StartStreamingValidationError is the validation error returned by StartStreaming.Validate if the designated constraints aren't met.
func (StartStreamingValidationError) Cause ¶
func (e StartStreamingValidationError) Cause() error
Cause function returns cause value.
func (StartStreamingValidationError) Error ¶
func (e StartStreamingValidationError) Error() string
Error satisfies the builtin error interface
func (StartStreamingValidationError) ErrorName ¶
func (e StartStreamingValidationError) ErrorName() string
ErrorName returns error name.
func (StartStreamingValidationError) Field ¶
func (e StartStreamingValidationError) Field() string
Field function returns field value.
func (StartStreamingValidationError) Key ¶
func (e StartStreamingValidationError) Key() bool
Key function returns key value.
func (StartStreamingValidationError) Reason ¶
func (e StartStreamingValidationError) Reason() string
Reason function returns reason value.
type Trailer ¶
type Trailer struct { Meta map[string]*prototool.HeaderValues `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Trailer) Descriptor
deprecated
func (*Trailer) ProtoMessage ¶
func (*Trailer) ProtoMessage()
func (*Trailer) ProtoReflect ¶
func (x *Trailer) ProtoReflect() protoreflect.Message
func (*Trailer) Validate ¶
Validate checks the field values on Trailer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Trailer) ValidateAll ¶
ValidateAll checks the field values on Trailer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TrailerMultiError, or nil if none found.
type TrailerMultiError ¶
type TrailerMultiError []error
TrailerMultiError is an error wrapping multiple validation errors returned by Trailer.ValidateAll() if the designated constraints aren't met.
func (TrailerMultiError) AllErrors ¶
func (m TrailerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TrailerMultiError) Error ¶
func (m TrailerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TrailerValidationError ¶
type TrailerValidationError struct {
// contains filtered or unexported fields
}
TrailerValidationError is the validation error returned by Trailer.Validate if the designated constraints aren't met.
func (TrailerValidationError) Cause ¶
func (e TrailerValidationError) Cause() error
Cause function returns cause value.
func (TrailerValidationError) Error ¶
func (e TrailerValidationError) Error() string
Error satisfies the builtin error interface
func (TrailerValidationError) ErrorName ¶
func (e TrailerValidationError) ErrorName() string
ErrorName returns error name.
func (TrailerValidationError) Field ¶
func (e TrailerValidationError) Field() string
Field function returns field value.
func (TrailerValidationError) Key ¶
func (e TrailerValidationError) Key() bool
Key function returns key value.
func (TrailerValidationError) Reason ¶
func (e TrailerValidationError) Reason() string
Reason function returns reason value.
type UnimplementedReverseTunnelServer ¶
type UnimplementedReverseTunnelServer struct { }
UnimplementedReverseTunnelServer must be embedded to have forward compatible implementations.
func (UnimplementedReverseTunnelServer) Connect ¶
func (UnimplementedReverseTunnelServer) Connect(ReverseTunnel_ConnectServer) error
type UnsafeReverseTunnelServer ¶
type UnsafeReverseTunnelServer interface {
// contains filtered or unexported methods
}
UnsafeReverseTunnelServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReverseTunnelServer will result in compilation errors.