integration

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_plugins_tests_integration_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BadPluginConfig

type BadPluginConfig struct {
	PanicInFactory bool `protobuf:"varint,1,opt,name=panic_in_factory,json=panicInFactory,proto3" json:"panic_in_factory,omitempty"`
	PanicInParse   bool `protobuf:"varint,2,opt,name=panic_in_parse,json=panicInParse,proto3" json:"panic_in_parse,omitempty"`
	// contains filtered or unexported fields
}

func (*BadPluginConfig) Descriptor deprecated

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

Deprecated: Use BadPluginConfig.ProtoReflect.Descriptor instead.

func (*BadPluginConfig) GetPanicInFactory

func (x *BadPluginConfig) GetPanicInFactory() bool

func (*BadPluginConfig) GetPanicInParse

func (x *BadPluginConfig) GetPanicInParse() bool

func (*BadPluginConfig) ProtoMessage

func (*BadPluginConfig) ProtoMessage()

func (*BadPluginConfig) ProtoReflect

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

func (*BadPluginConfig) Reset

func (x *BadPluginConfig) Reset()

func (*BadPluginConfig) String

func (x *BadPluginConfig) String() string

func (*BadPluginConfig) Validate

func (m *BadPluginConfig) Validate() error

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

func (m *BadPluginConfig) ValidateAll() error

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

type BadPluginConfigMultiError

type BadPluginConfigMultiError []error

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

func (BadPluginConfigMultiError) AllErrors

func (m BadPluginConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BadPluginConfigMultiError) Error

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

type BadPluginConfigValidationError

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

BadPluginConfigValidationError is the validation error returned by BadPluginConfig.Validate if the designated constraints aren't met.

func (BadPluginConfigValidationError) Cause

Cause function returns cause value.

func (BadPluginConfigValidationError) Error

Error satisfies the builtin error interface

func (BadPluginConfigValidationError) ErrorName

func (e BadPluginConfigValidationError) ErrorName() string

ErrorName returns error name.

func (BadPluginConfigValidationError) Field

Field function returns field value.

func (BadPluginConfigValidationError) Key

Key function returns key value.

func (BadPluginConfigValidationError) Reason

Reason function returns reason value.

type Config

type Config struct {
	Need    bool `protobuf:"varint,1,opt,name=need,proto3" json:"need,omitempty"`
	Decode  bool `protobuf:"varint,2,opt,name=decode,proto3" json:"decode,omitempty"`
	Encode  bool `protobuf:"varint,3,opt,name=encode,proto3" json:"encode,omitempty"`
	Headers bool `protobuf:"varint,4,opt,name=headers,proto3" json:"headers,omitempty"`
	Data    bool `protobuf:"varint,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetData

func (x *Config) GetData() bool

func (*Config) GetDecode

func (x *Config) GetDecode() bool

func (*Config) GetEncode

func (x *Config) GetEncode() bool

func (*Config) GetHeaders

func (x *Config) GetHeaders() bool

func (*Config) GetNeed

func (x *Config) GetNeed() bool

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

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

func (m *Config) ValidateAll() error

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

type ConfigMultiError

type ConfigMultiError []error

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

func (ConfigMultiError) AllErrors

func (m ConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigMultiError) Error

func (m ConfigMultiError) Error() string

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

type ConfigValidationError

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

ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.

func (ConfigValidationError) Cause

func (e ConfigValidationError) Cause() error

Cause function returns cause value.

func (ConfigValidationError) Error

func (e ConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ConfigValidationError) ErrorName

func (e ConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigValidationError) Field

func (e ConfigValidationError) Field() string

Field function returns field value.

func (ConfigValidationError) Key

func (e ConfigValidationError) Key() bool

Key function returns key value.

func (ConfigValidationError) Reason

func (e ConfigValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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