Documentation ¶
Index ¶
- Variables
- type AgentDescriptor
- func (*AgentDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *AgentDescriptor) GetServices() []*Service
- func (*AgentDescriptor) ProtoMessage()
- func (x *AgentDescriptor) ProtoReflect() protoreflect.Message
- func (x *AgentDescriptor) Reset()
- func (x *AgentDescriptor) String() string
- func (x *AgentDescriptor) SupportsServiceAndMethod(service, method string) bool
- func (m *AgentDescriptor) Validate() error
- func (m *AgentDescriptor) ValidateAll() error
- type AgentDescriptorMultiError
- type AgentDescriptorValidationError
- func (e AgentDescriptorValidationError) Cause() error
- func (e AgentDescriptorValidationError) Error() string
- func (e AgentDescriptorValidationError) ErrorName() string
- func (e AgentDescriptorValidationError) Field() string
- func (e AgentDescriptorValidationError) Key() bool
- func (e AgentDescriptorValidationError) Reason() string
- type Method
- type MethodMultiError
- type MethodValidationError
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetMethods() []*Method
- func (x *Service) GetName() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) Validate() error
- func (m *Service) ValidateAll() error
- type ServiceMultiError
- type ServiceValidationError
Constants ¶
This section is empty.
Variables ¶
var File_internal_module_reverse_tunnel_info_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AgentDescriptor ¶
type AgentDescriptor struct { Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*AgentDescriptor) Descriptor
deprecated
func (*AgentDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use AgentDescriptor.ProtoReflect.Descriptor instead.
func (*AgentDescriptor) GetServices ¶
func (x *AgentDescriptor) GetServices() []*Service
func (*AgentDescriptor) ProtoMessage ¶
func (*AgentDescriptor) ProtoMessage()
func (*AgentDescriptor) ProtoReflect ¶
func (x *AgentDescriptor) ProtoReflect() protoreflect.Message
func (*AgentDescriptor) Reset ¶
func (x *AgentDescriptor) Reset()
func (*AgentDescriptor) String ¶
func (x *AgentDescriptor) String() string
func (*AgentDescriptor) SupportsServiceAndMethod ¶
func (x *AgentDescriptor) SupportsServiceAndMethod(service, method string) bool
func (*AgentDescriptor) Validate ¶
func (m *AgentDescriptor) Validate() error
Validate checks the field values on AgentDescriptor 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 (*AgentDescriptor) ValidateAll ¶
func (m *AgentDescriptor) ValidateAll() error
ValidateAll checks the field values on AgentDescriptor 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 AgentDescriptorMultiError, or nil if none found.
type AgentDescriptorMultiError ¶
type AgentDescriptorMultiError []error
AgentDescriptorMultiError is an error wrapping multiple validation errors returned by AgentDescriptor.ValidateAll() if the designated constraints aren't met.
func (AgentDescriptorMultiError) AllErrors ¶
func (m AgentDescriptorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AgentDescriptorMultiError) Error ¶
func (m AgentDescriptorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AgentDescriptorValidationError ¶
type AgentDescriptorValidationError struct {
// contains filtered or unexported fields
}
AgentDescriptorValidationError is the validation error returned by AgentDescriptor.Validate if the designated constraints aren't met.
func (AgentDescriptorValidationError) Cause ¶
func (e AgentDescriptorValidationError) Cause() error
Cause function returns cause value.
func (AgentDescriptorValidationError) Error ¶
func (e AgentDescriptorValidationError) Error() string
Error satisfies the builtin error interface
func (AgentDescriptorValidationError) ErrorName ¶
func (e AgentDescriptorValidationError) ErrorName() string
ErrorName returns error name.
func (AgentDescriptorValidationError) Field ¶
func (e AgentDescriptorValidationError) Field() string
Field function returns field value.
func (AgentDescriptorValidationError) Key ¶
func (e AgentDescriptorValidationError) Key() bool
Key function returns key value.
func (AgentDescriptorValidationError) Reason ¶
func (e AgentDescriptorValidationError) Reason() string
Reason function returns reason value.
type Method ¶
type Method struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Method) Descriptor
deprecated
func (*Method) ProtoMessage ¶
func (*Method) ProtoMessage()
func (*Method) ProtoReflect ¶
func (x *Method) ProtoReflect() protoreflect.Message
func (*Method) Validate ¶
Validate checks the field values on Method 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 (*Method) ValidateAll ¶
ValidateAll checks the field values on Method 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 MethodMultiError, or nil if none found.
type MethodMultiError ¶
type MethodMultiError []error
MethodMultiError is an error wrapping multiple validation errors returned by Method.ValidateAll() if the designated constraints aren't met.
func (MethodMultiError) AllErrors ¶
func (m MethodMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MethodMultiError) Error ¶
func (m MethodMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MethodValidationError ¶
type MethodValidationError struct {
// contains filtered or unexported fields
}
MethodValidationError is the validation error returned by Method.Validate if the designated constraints aren't met.
func (MethodValidationError) Cause ¶
func (e MethodValidationError) Cause() error
Cause function returns cause value.
func (MethodValidationError) Error ¶
func (e MethodValidationError) Error() string
Error satisfies the builtin error interface
func (MethodValidationError) ErrorName ¶
func (e MethodValidationError) ErrorName() string
ErrorName returns error name.
func (MethodValidationError) Field ¶
func (e MethodValidationError) Field() string
Field function returns field value.
func (MethodValidationError) Key ¶
func (e MethodValidationError) Key() bool
Key function returns key value.
func (MethodValidationError) Reason ¶
func (e MethodValidationError) Reason() string
Reason function returns reason value.
type Service ¶
type Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Methods []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetMethods ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) Validate ¶
Validate checks the field values on Service 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 (*Service) ValidateAll ¶
ValidateAll checks the field values on Service 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 ServiceMultiError, or nil if none found.
type ServiceMultiError ¶
type ServiceMultiError []error
ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.
func (ServiceMultiError) AllErrors ¶
func (m ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMultiError) Error ¶
func (m ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.