integration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_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"`
	ErrorInInit    bool `protobuf:"varint,3,opt,name=error_in_init,json=errorInInit,proto3" json:"error_in_init,omitempty"`
	PanicInInit    bool `protobuf:"varint,4,opt,name=panic_in_init,json=panicInInit,proto3" json:"panic_in_init,omitempty"`
	// contains filtered or unexported fields
}

func (*BadPluginConfig) Descriptor deprecated

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

Deprecated: Use BadPluginConfig.ProtoReflect.Descriptor instead.

func (*BadPluginConfig) GetErrorInInit

func (x *BadPluginConfig) GetErrorInInit() bool

func (*BadPluginConfig) GetPanicInFactory

func (x *BadPluginConfig) GetPanicInFactory() bool

func (*BadPluginConfig) GetPanicInInit

func (x *BadPluginConfig) GetPanicInInit() 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 {
	NeedBuffer bool   `protobuf:"varint,1,opt,name=need_buffer,json=needBuffer,proto3" json:"need_buffer,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"`
	Trailers   bool   `protobuf:"varint,6,opt,name=trailers,proto3" json:"trailers,omitempty"`
	ReplyMsg   string `protobuf:"bytes,7,opt,name=reply_msg,json=replyMsg,proto3" json:"reply_msg,omitempty"`
	InGrpcMode bool   `protobuf:"varint,8,opt,name=in_grpc_mode,json=inGrpcMode,proto3" json:"in_grpc_mode,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) GetInGrpcMode added in v0.4.1

func (x *Config) GetInGrpcMode() bool

func (*Config) GetNeedBuffer added in v0.4.1

func (x *Config) GetNeedBuffer() bool

func (*Config) GetReplyMsg

func (x *Config) GetReplyMsg() string

func (*Config) GetTrailers added in v0.4.1

func (x *Config) GetTrailers() 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.

type ConsumerConfig

type ConsumerConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsumerConfig) Descriptor deprecated

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

Deprecated: Use ConsumerConfig.ProtoReflect.Descriptor instead.

func (*ConsumerConfig) GetName

func (x *ConsumerConfig) GetName() string

func (*ConsumerConfig) Index

func (conf *ConsumerConfig) Index() string

func (*ConsumerConfig) ProtoMessage

func (*ConsumerConfig) ProtoMessage()

func (*ConsumerConfig) ProtoReflect

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

func (*ConsumerConfig) Reset

func (x *ConsumerConfig) Reset()

func (*ConsumerConfig) String

func (x *ConsumerConfig) String() string

func (*ConsumerConfig) Validate

func (m *ConsumerConfig) Validate() error

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

func (m *ConsumerConfig) ValidateAll() error

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

type ConsumerConfigMultiError

type ConsumerConfigMultiError []error

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

func (ConsumerConfigMultiError) AllErrors

func (m ConsumerConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConsumerConfigMultiError) Error

func (m ConsumerConfigMultiError) Error() string

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

type ConsumerConfigValidationError

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

ConsumerConfigValidationError is the validation error returned by ConsumerConfig.Validate if the designated constraints aren't met.

func (ConsumerConfigValidationError) Cause

Cause function returns cause value.

func (ConsumerConfigValidationError) Error

Error satisfies the builtin error interface

func (ConsumerConfigValidationError) ErrorName

func (e ConsumerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ConsumerConfigValidationError) Field

Field function returns field value.

func (ConsumerConfigValidationError) Key

Key function returns key value.

func (ConsumerConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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