info

package
v17.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_tunnel_info_info_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIDescriptor

type APIDescriptor struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*APIDescriptor) Descriptor deprecated

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

Deprecated: Use APIDescriptor.ProtoReflect.Descriptor instead.

func (*APIDescriptor) GetServices

func (x *APIDescriptor) GetServices() []*Service

func (*APIDescriptor) ProtoMessage

func (*APIDescriptor) ProtoMessage()

func (*APIDescriptor) ProtoReflect

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

func (*APIDescriptor) Reset

func (x *APIDescriptor) Reset()

func (*APIDescriptor) String

func (x *APIDescriptor) String() string

func (*APIDescriptor) SupportsServiceAndMethod

func (x *APIDescriptor) SupportsServiceAndMethod(service, method string) bool

func (*APIDescriptor) Validate

func (m *APIDescriptor) Validate() error

Validate checks the field values on APIDescriptor 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 (*APIDescriptor) ValidateAll

func (m *APIDescriptor) ValidateAll() error

ValidateAll checks the field values on APIDescriptor 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 APIDescriptorMultiError, or nil if none found.

type APIDescriptorMultiError

type APIDescriptorMultiError []error

APIDescriptorMultiError is an error wrapping multiple validation errors returned by APIDescriptor.ValidateAll() if the designated constraints aren't met.

func (APIDescriptorMultiError) AllErrors

func (m APIDescriptorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (APIDescriptorMultiError) Error

func (m APIDescriptorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type APIDescriptorValidationError

type APIDescriptorValidationError struct {
	// contains filtered or unexported fields
}

APIDescriptorValidationError is the validation error returned by APIDescriptor.Validate if the designated constraints aren't met.

func (APIDescriptorValidationError) Cause

Cause function returns cause value.

func (APIDescriptorValidationError) Error

Error satisfies the builtin error interface

func (APIDescriptorValidationError) ErrorName

func (e APIDescriptorValidationError) ErrorName() string

ErrorName returns error name.

func (APIDescriptorValidationError) Field

Field function returns field value.

func (APIDescriptorValidationError) Key

Key function returns key value.

func (APIDescriptorValidationError) 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

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

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) 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

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

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.

Jump to

Keyboard shortcuts

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