rpc

package
v17.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReverseTunnel_Connect_FullMethodName = "/gitlab.agent.reverse_tunnel.rpc.ReverseTunnel/Connect"
)

Variables

View Source
var (
	GatewayResponseVisitor = grpctool.NewLazyStreamVisitor(&GatewayResponse{})
	ConnectRequestVisitor  = grpctool.NewLazyStreamVisitor(&ConnectRequest{})
	ConnectResponseVisitor = grpctool.NewLazyStreamVisitor(&ConnectResponse{})
)
View Source
var File_internal_tunnel_rpc_rpc_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use CloseSend.ProtoReflect.Descriptor instead.

func (*CloseSend) ProtoMessage

func (*CloseSend) ProtoMessage()

func (*CloseSend) ProtoReflect

func (x *CloseSend) ProtoReflect() protoreflect.Message

func (*CloseSend) Reset

func (x *CloseSend) Reset()

func (*CloseSend) String

func (x *CloseSend) String() string

func (*CloseSend) Validate

func (m *CloseSend) Validate() error

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

func (m *CloseSend) ValidateAll() error

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

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

Cause function returns cause value.

func (ConnectRequestValidationError) Error

Error satisfies the builtin error interface

func (ConnectRequestValidationError) ErrorName

func (e ConnectRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectRequestValidationError) Field

Field function returns field value.

func (ConnectRequestValidationError) Key

Key function returns key value.

func (ConnectRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ConnectResponseValidationError) Error

Error satisfies the builtin error interface

func (ConnectResponseValidationError) ErrorName

func (e ConnectResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectResponseValidationError) Field

Field function returns field value.

func (ConnectResponseValidationError) Key

Key function returns key value.

func (ConnectResponseValidationError) Reason

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

Error satisfies the builtin error interface

func (DescriptorValidationError) ErrorName

func (e DescriptorValidationError) ErrorName() string

ErrorName returns error name.

func (DescriptorValidationError) Field

Field function returns field value.

func (DescriptorValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetStatus

func (x *Error) GetStatus() *status.Status

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

func (*Error) Validate

func (m *Error) Validate() error

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

func (m *Error) ValidateAll() error

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

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

Cause function returns cause value.

func (GatewayResponseValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponseValidationError) ErrorName

func (e GatewayResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GatewayResponseValidationError) Field

Field function returns field value.

func (GatewayResponseValidationError) Key

Key function returns key value.

func (GatewayResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GatewayResponse_ErrorValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_ErrorValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_ErrorValidationError) Field

Field function returns field value.

func (GatewayResponse_ErrorValidationError) Key

Key function returns key value.

func (GatewayResponse_ErrorValidationError) Reason

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.Values `` /* 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.Values

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

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

Cause function returns cause value.

func (GatewayResponse_HeaderValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_HeaderValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_HeaderValidationError) Field

Field function returns field value.

func (GatewayResponse_HeaderValidationError) Key

Key function returns key value.

func (GatewayResponse_HeaderValidationError) Reason

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

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

Cause function returns cause value.

func (GatewayResponse_MessageValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_MessageValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_MessageValidationError) Field

Field function returns field value.

func (GatewayResponse_MessageValidationError) Key

Key function returns key value.

func (GatewayResponse_MessageValidationError) Reason

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

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

Cause function returns cause value.

func (GatewayResponse_NoTunnelValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_NoTunnelValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_NoTunnelValidationError) Field

Field function returns field value.

func (GatewayResponse_NoTunnelValidationError) Key

Key function returns key value.

func (GatewayResponse_NoTunnelValidationError) Reason

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.Values `` /* 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.Values

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

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

Cause function returns cause value.

func (GatewayResponse_TrailerValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_TrailerValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_TrailerValidationError) Field

Field function returns field value.

func (GatewayResponse_TrailerValidationError) Key

Key function returns key value.

func (GatewayResponse_TrailerValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GatewayResponse_TunnelReadyMultiError) Error

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

Cause function returns cause value.

func (GatewayResponse_TunnelReadyValidationError) Error

Error satisfies the builtin error interface

func (GatewayResponse_TunnelReadyValidationError) ErrorName

ErrorName returns error name.

func (GatewayResponse_TunnelReadyValidationError) Field

Field function returns field value.

func (GatewayResponse_TunnelReadyValidationError) Key

Key function returns key value.

func (GatewayResponse_TunnelReadyValidationError) Reason

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 struct {
	Meta map[string]*prototool.Values `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetMeta

func (x *Header) GetMeta() map[string]*prototool.Values

func (*Header) Metadata

func (x *Header) Metadata() metadata.MD

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

func (*Header) Validate

func (m *Header) Validate() error

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

func (m *Header) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData

func (x *Message) GetData() []byte

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

func (*Message) Validate

func (m *Message) Validate() error

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

func (m *Message) ValidateAll() error

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.Values `` /* 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.Values

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

Cause function returns cause value.

func (RequestInfoValidationError) Error

Error satisfies the builtin error interface

func (RequestInfoValidationError) ErrorName

func (e RequestInfoValidationError) ErrorName() string

ErrorName returns error name.

func (RequestInfoValidationError) Field

Field function returns field value.

func (RequestInfoValidationError) Key

Key function returns key value.

func (RequestInfoValidationError) Reason

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.

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

Cause function returns cause value.

func (StartStreamingValidationError) Error

Error satisfies the builtin error interface

func (StartStreamingValidationError) ErrorName

func (e StartStreamingValidationError) ErrorName() string

ErrorName returns error name.

func (StartStreamingValidationError) Field

Field function returns field value.

func (StartStreamingValidationError) Key

Key function returns key value.

func (StartStreamingValidationError) Reason

Reason function returns reason value.

type Trailer

type Trailer struct {
	Meta map[string]*prototool.Values `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Trailer) Descriptor deprecated

func (*Trailer) Descriptor() ([]byte, []int)

Deprecated: Use Trailer.ProtoReflect.Descriptor instead.

func (*Trailer) GetMeta

func (x *Trailer) GetMeta() map[string]*prototool.Values

func (*Trailer) Metadata

func (x *Trailer) Metadata() metadata.MD

func (*Trailer) ProtoMessage

func (*Trailer) ProtoMessage()

func (*Trailer) ProtoReflect

func (x *Trailer) ProtoReflect() protoreflect.Message

func (*Trailer) Reset

func (x *Trailer) Reset()

func (*Trailer) String

func (x *Trailer) String() string

func (*Trailer) Validate

func (m *Trailer) Validate() error

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

func (m *Trailer) ValidateAll() error

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL