info

package
v14.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) 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 added in v14.5.0

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 added in v14.5.0

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 added in v14.5.0

func (m AgentDescriptorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AgentDescriptorMultiError) Error added in v14.5.0

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

Cause function returns cause value.

func (AgentDescriptorValidationError) Error

Error satisfies the builtin error interface

func (AgentDescriptorValidationError) ErrorName

func (e AgentDescriptorValidationError) ErrorName() string

ErrorName returns error name.

func (AgentDescriptorValidationError) Field

Field function returns field value.

func (AgentDescriptorValidationError) Key

Key function returns key value.

func (AgentDescriptorValidationError) Reason

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

Deprecated: Use Method.ProtoReflect.Descriptor instead.

func (*Method) GetName

func (x *Method) GetName() string

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) ProtoReflect

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

func (*Method) Reset

func (x *Method) Reset()

func (*Method) String

func (x *Method) String() string

func (*Method) Validate

func (m *Method) Validate() error

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 added in v14.5.0

func (m *Method) ValidateAll() error

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 added in v14.5.0

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 added in v14.5.0

func (m MethodMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MethodMultiError) Error added in v14.5.0

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetMethods

func (x *Service) GetMethods() []*Method

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

func (*Service) Validate

func (m *Service) Validate() error

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 added in v14.5.0

func (m *Service) ValidateAll() error

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 added in v14.5.0

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 added in v14.5.0

func (m ServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceMultiError) Error added in v14.5.0

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.

Jump to

Keyboard shortcuts

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