Documentation ¶
Index ¶
- Variables
- type BadPluginConfig
- func (*BadPluginConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BadPluginConfig) GetErrorInInit() bool
- func (x *BadPluginConfig) GetPanicInFactory() bool
- func (x *BadPluginConfig) GetPanicInInit() bool
- func (x *BadPluginConfig) GetPanicInParse() bool
- func (*BadPluginConfig) ProtoMessage()
- func (x *BadPluginConfig) ProtoReflect() protoreflect.Message
- func (x *BadPluginConfig) Reset()
- func (x *BadPluginConfig) String() string
- func (m *BadPluginConfig) Validate() error
- func (m *BadPluginConfig) ValidateAll() error
- type BadPluginConfigMultiError
- type BadPluginConfigValidationError
- func (e BadPluginConfigValidationError) Cause() error
- func (e BadPluginConfigValidationError) Error() string
- func (e BadPluginConfigValidationError) ErrorName() string
- func (e BadPluginConfigValidationError) Field() string
- func (e BadPluginConfigValidationError) Key() bool
- func (e BadPluginConfigValidationError) Reason() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetData() bool
- func (x *Config) GetDecode() bool
- func (x *Config) GetEncode() bool
- func (x *Config) GetHeaders() bool
- func (x *Config) GetInGrpcMode() bool
- func (x *Config) GetNeedBuffer() bool
- func (x *Config) GetReplyMsg() string
- func (x *Config) GetTrailers() bool
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) ValidateAll() error
- type ConfigMultiError
- type ConfigValidationError
- type ConsumerConfig
- func (*ConsumerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerConfig) GetName() string
- func (conf *ConsumerConfig) Index() string
- func (*ConsumerConfig) ProtoMessage()
- func (x *ConsumerConfig) ProtoReflect() protoreflect.Message
- func (x *ConsumerConfig) Reset()
- func (x *ConsumerConfig) String() string
- func (m *ConsumerConfig) Validate() error
- func (m *ConsumerConfig) ValidateAll() error
- type ConsumerConfigMultiError
- type ConsumerConfigValidationError
- func (e ConsumerConfigValidationError) Cause() error
- func (e ConsumerConfigValidationError) Error() string
- func (e ConsumerConfigValidationError) ErrorName() string
- func (e ConsumerConfigValidationError) Field() string
- func (e ConsumerConfigValidationError) Key() bool
- func (e ConsumerConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (m BadPluginConfigMultiError) Error() string
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 ¶
func (e BadPluginConfigValidationError) Cause() error
Cause function returns cause value.
func (BadPluginConfigValidationError) Error ¶
func (e BadPluginConfigValidationError) Error() string
Error satisfies the builtin error interface
func (BadPluginConfigValidationError) ErrorName ¶
func (e BadPluginConfigValidationError) ErrorName() string
ErrorName returns error name.
func (BadPluginConfigValidationError) Field ¶
func (e BadPluginConfigValidationError) Field() string
Field function returns field value.
func (BadPluginConfigValidationError) Key ¶
func (e BadPluginConfigValidationError) Key() bool
Key function returns key value.
func (BadPluginConfigValidationError) Reason ¶
func (e BadPluginConfigValidationError) Reason() string
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) GetHeaders ¶
func (*Config) GetInGrpcMode ¶ added in v0.4.1
func (*Config) GetNeedBuffer ¶ added in v0.4.1
func (*Config) GetReplyMsg ¶
func (*Config) GetTrailers ¶ added in v0.4.1
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Validate ¶
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 ¶
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 ¶
func (e ConsumerConfigValidationError) Cause() error
Cause function returns cause value.
func (ConsumerConfigValidationError) Error ¶
func (e ConsumerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ConsumerConfigValidationError) ErrorName ¶
func (e ConsumerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ConsumerConfigValidationError) Field ¶
func (e ConsumerConfigValidationError) Field() string
Field function returns field value.
func (ConsumerConfigValidationError) Key ¶
func (e ConsumerConfigValidationError) Key() bool
Key function returns key value.
func (ConsumerConfigValidationError) Reason ¶
func (e ConsumerConfigValidationError) Reason() string
Reason function returns reason value.