Documentation ¶
Index ¶
- Variables
- type HeaderDecorator
- func (*HeaderDecorator) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderDecorator) GetAppendHeaders() []*HeaderDecorator_SourceHeader
- func (*HeaderDecorator) ProtoMessage()
- func (x *HeaderDecorator) ProtoReflect() protoreflect.Message
- func (x *HeaderDecorator) Reset()
- func (x *HeaderDecorator) String() string
- func (m *HeaderDecorator) Validate() error
- func (m *HeaderDecorator) ValidateAll() error
- type HeaderDecoratorMultiError
- type HeaderDecoratorValidationError
- func (e HeaderDecoratorValidationError) Cause() error
- func (e HeaderDecoratorValidationError) Error() string
- func (e HeaderDecoratorValidationError) ErrorName() string
- func (e HeaderDecoratorValidationError) Field() string
- func (e HeaderDecoratorValidationError) Key() bool
- func (e HeaderDecoratorValidationError) Reason() string
- type HeaderDecorator_HeaderEntry
- func (*HeaderDecorator_HeaderEntry) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderDecorator_HeaderEntry) GetKey() string
- func (x *HeaderDecorator_HeaderEntry) GetValue() string
- func (*HeaderDecorator_HeaderEntry) ProtoMessage()
- func (x *HeaderDecorator_HeaderEntry) ProtoReflect() protoreflect.Message
- func (x *HeaderDecorator_HeaderEntry) Reset()
- func (x *HeaderDecorator_HeaderEntry) String() string
- func (m *HeaderDecorator_HeaderEntry) Validate() error
- func (m *HeaderDecorator_HeaderEntry) ValidateAll() error
- type HeaderDecorator_HeaderEntryMultiError
- type HeaderDecorator_HeaderEntryValidationError
- func (e HeaderDecorator_HeaderEntryValidationError) Cause() error
- func (e HeaderDecorator_HeaderEntryValidationError) Error() string
- func (e HeaderDecorator_HeaderEntryValidationError) ErrorName() string
- func (e HeaderDecorator_HeaderEntryValidationError) Field() string
- func (e HeaderDecorator_HeaderEntryValidationError) Key() bool
- func (e HeaderDecorator_HeaderEntryValidationError) Reason() string
- type HeaderDecorator_SourceHeader
- func (*HeaderDecorator_SourceHeader) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderDecorator_SourceHeader) GetHeaders() []*HeaderDecorator_HeaderEntry
- func (x *HeaderDecorator_SourceHeader) GetSource() string
- func (*HeaderDecorator_SourceHeader) ProtoMessage()
- func (x *HeaderDecorator_SourceHeader) ProtoReflect() protoreflect.Message
- func (x *HeaderDecorator_SourceHeader) Reset()
- func (x *HeaderDecorator_SourceHeader) String() string
- func (m *HeaderDecorator_SourceHeader) Validate() error
- func (m *HeaderDecorator_SourceHeader) ValidateAll() error
- type HeaderDecorator_SourceHeaderMultiError
- type HeaderDecorator_SourceHeaderValidationError
- func (e HeaderDecorator_SourceHeaderValidationError) Cause() error
- func (e HeaderDecorator_SourceHeaderValidationError) Error() string
- func (e HeaderDecorator_SourceHeaderValidationError) ErrorName() string
- func (e HeaderDecorator_SourceHeaderValidationError) Field() string
- func (e HeaderDecorator_SourceHeaderValidationError) Key() bool
- func (e HeaderDecorator_SourceHeaderValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_kuscia_api_filters_http_kuscia_header_decorator_v3_header_decorator_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HeaderDecorator ¶
type HeaderDecorator struct { AppendHeaders []*HeaderDecorator_SourceHeader `protobuf:"bytes,1,rep,name=append_headers,json=appendHeaders,proto3" json:"append_headers,omitempty"` // contains filtered or unexported fields }
func (*HeaderDecorator) Descriptor
deprecated
func (*HeaderDecorator) Descriptor() ([]byte, []int)
Deprecated: Use HeaderDecorator.ProtoReflect.Descriptor instead.
func (*HeaderDecorator) GetAppendHeaders ¶
func (x *HeaderDecorator) GetAppendHeaders() []*HeaderDecorator_SourceHeader
func (*HeaderDecorator) ProtoMessage ¶
func (*HeaderDecorator) ProtoMessage()
func (*HeaderDecorator) ProtoReflect ¶
func (x *HeaderDecorator) ProtoReflect() protoreflect.Message
func (*HeaderDecorator) Reset ¶
func (x *HeaderDecorator) Reset()
func (*HeaderDecorator) String ¶
func (x *HeaderDecorator) String() string
func (*HeaderDecorator) Validate ¶
func (m *HeaderDecorator) Validate() error
Validate checks the field values on HeaderDecorator 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 (*HeaderDecorator) ValidateAll ¶
func (m *HeaderDecorator) ValidateAll() error
ValidateAll checks the field values on HeaderDecorator 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 HeaderDecoratorMultiError, or nil if none found.
type HeaderDecoratorMultiError ¶
type HeaderDecoratorMultiError []error
HeaderDecoratorMultiError is an error wrapping multiple validation errors returned by HeaderDecorator.ValidateAll() if the designated constraints aren't met.
func (HeaderDecoratorMultiError) AllErrors ¶
func (m HeaderDecoratorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderDecoratorMultiError) Error ¶
func (m HeaderDecoratorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderDecoratorValidationError ¶
type HeaderDecoratorValidationError struct {
// contains filtered or unexported fields
}
HeaderDecoratorValidationError is the validation error returned by HeaderDecorator.Validate if the designated constraints aren't met.
func (HeaderDecoratorValidationError) Cause ¶
func (e HeaderDecoratorValidationError) Cause() error
Cause function returns cause value.
func (HeaderDecoratorValidationError) Error ¶
func (e HeaderDecoratorValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderDecoratorValidationError) ErrorName ¶
func (e HeaderDecoratorValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderDecoratorValidationError) Field ¶
func (e HeaderDecoratorValidationError) Field() string
Field function returns field value.
func (HeaderDecoratorValidationError) Key ¶
func (e HeaderDecoratorValidationError) Key() bool
Key function returns key value.
func (HeaderDecoratorValidationError) Reason ¶
func (e HeaderDecoratorValidationError) Reason() string
Reason function returns reason value.
type HeaderDecorator_HeaderEntry ¶
type HeaderDecorator_HeaderEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*HeaderDecorator_HeaderEntry) Descriptor
deprecated
func (*HeaderDecorator_HeaderEntry) Descriptor() ([]byte, []int)
Deprecated: Use HeaderDecorator_HeaderEntry.ProtoReflect.Descriptor instead.
func (*HeaderDecorator_HeaderEntry) GetKey ¶
func (x *HeaderDecorator_HeaderEntry) GetKey() string
func (*HeaderDecorator_HeaderEntry) GetValue ¶
func (x *HeaderDecorator_HeaderEntry) GetValue() string
func (*HeaderDecorator_HeaderEntry) ProtoMessage ¶
func (*HeaderDecorator_HeaderEntry) ProtoMessage()
func (*HeaderDecorator_HeaderEntry) ProtoReflect ¶
func (x *HeaderDecorator_HeaderEntry) ProtoReflect() protoreflect.Message
func (*HeaderDecorator_HeaderEntry) Reset ¶
func (x *HeaderDecorator_HeaderEntry) Reset()
func (*HeaderDecorator_HeaderEntry) String ¶
func (x *HeaderDecorator_HeaderEntry) String() string
func (*HeaderDecorator_HeaderEntry) Validate ¶
func (m *HeaderDecorator_HeaderEntry) Validate() error
Validate checks the field values on HeaderDecorator_HeaderEntry 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 (*HeaderDecorator_HeaderEntry) ValidateAll ¶
func (m *HeaderDecorator_HeaderEntry) ValidateAll() error
ValidateAll checks the field values on HeaderDecorator_HeaderEntry 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 HeaderDecorator_HeaderEntryMultiError, or nil if none found.
type HeaderDecorator_HeaderEntryMultiError ¶
type HeaderDecorator_HeaderEntryMultiError []error
HeaderDecorator_HeaderEntryMultiError is an error wrapping multiple validation errors returned by HeaderDecorator_HeaderEntry.ValidateAll() if the designated constraints aren't met.
func (HeaderDecorator_HeaderEntryMultiError) AllErrors ¶
func (m HeaderDecorator_HeaderEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderDecorator_HeaderEntryMultiError) Error ¶
func (m HeaderDecorator_HeaderEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderDecorator_HeaderEntryValidationError ¶
type HeaderDecorator_HeaderEntryValidationError struct {
// contains filtered or unexported fields
}
HeaderDecorator_HeaderEntryValidationError is the validation error returned by HeaderDecorator_HeaderEntry.Validate if the designated constraints aren't met.
func (HeaderDecorator_HeaderEntryValidationError) Cause ¶
func (e HeaderDecorator_HeaderEntryValidationError) Cause() error
Cause function returns cause value.
func (HeaderDecorator_HeaderEntryValidationError) Error ¶
func (e HeaderDecorator_HeaderEntryValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderDecorator_HeaderEntryValidationError) ErrorName ¶
func (e HeaderDecorator_HeaderEntryValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderDecorator_HeaderEntryValidationError) Field ¶
func (e HeaderDecorator_HeaderEntryValidationError) Field() string
Field function returns field value.
func (HeaderDecorator_HeaderEntryValidationError) Key ¶
func (e HeaderDecorator_HeaderEntryValidationError) Key() bool
Key function returns key value.
func (HeaderDecorator_HeaderEntryValidationError) Reason ¶
func (e HeaderDecorator_HeaderEntryValidationError) Reason() string
Reason function returns reason value.
type HeaderDecorator_SourceHeader ¶
type HeaderDecorator_SourceHeader struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Headers []*HeaderDecorator_HeaderEntry `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*HeaderDecorator_SourceHeader) Descriptor
deprecated
func (*HeaderDecorator_SourceHeader) Descriptor() ([]byte, []int)
Deprecated: Use HeaderDecorator_SourceHeader.ProtoReflect.Descriptor instead.
func (*HeaderDecorator_SourceHeader) GetHeaders ¶
func (x *HeaderDecorator_SourceHeader) GetHeaders() []*HeaderDecorator_HeaderEntry
func (*HeaderDecorator_SourceHeader) GetSource ¶
func (x *HeaderDecorator_SourceHeader) GetSource() string
func (*HeaderDecorator_SourceHeader) ProtoMessage ¶
func (*HeaderDecorator_SourceHeader) ProtoMessage()
func (*HeaderDecorator_SourceHeader) ProtoReflect ¶
func (x *HeaderDecorator_SourceHeader) ProtoReflect() protoreflect.Message
func (*HeaderDecorator_SourceHeader) Reset ¶
func (x *HeaderDecorator_SourceHeader) Reset()
func (*HeaderDecorator_SourceHeader) String ¶
func (x *HeaderDecorator_SourceHeader) String() string
func (*HeaderDecorator_SourceHeader) Validate ¶
func (m *HeaderDecorator_SourceHeader) Validate() error
Validate checks the field values on HeaderDecorator_SourceHeader 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 (*HeaderDecorator_SourceHeader) ValidateAll ¶
func (m *HeaderDecorator_SourceHeader) ValidateAll() error
ValidateAll checks the field values on HeaderDecorator_SourceHeader 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 HeaderDecorator_SourceHeaderMultiError, or nil if none found.
type HeaderDecorator_SourceHeaderMultiError ¶
type HeaderDecorator_SourceHeaderMultiError []error
HeaderDecorator_SourceHeaderMultiError is an error wrapping multiple validation errors returned by HeaderDecorator_SourceHeader.ValidateAll() if the designated constraints aren't met.
func (HeaderDecorator_SourceHeaderMultiError) AllErrors ¶
func (m HeaderDecorator_SourceHeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderDecorator_SourceHeaderMultiError) Error ¶
func (m HeaderDecorator_SourceHeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderDecorator_SourceHeaderValidationError ¶
type HeaderDecorator_SourceHeaderValidationError struct {
// contains filtered or unexported fields
}
HeaderDecorator_SourceHeaderValidationError is the validation error returned by HeaderDecorator_SourceHeader.Validate if the designated constraints aren't met.
func (HeaderDecorator_SourceHeaderValidationError) Cause ¶
func (e HeaderDecorator_SourceHeaderValidationError) Cause() error
Cause function returns cause value.
func (HeaderDecorator_SourceHeaderValidationError) Error ¶
func (e HeaderDecorator_SourceHeaderValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderDecorator_SourceHeaderValidationError) ErrorName ¶
func (e HeaderDecorator_SourceHeaderValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderDecorator_SourceHeaderValidationError) Field ¶
func (e HeaderDecorator_SourceHeaderValidationError) Field() string
Field function returns field value.
func (HeaderDecorator_SourceHeaderValidationError) Key ¶
func (e HeaderDecorator_SourceHeaderValidationError) Key() bool
Key function returns key value.
func (HeaderDecorator_SourceHeaderValidationError) Reason ¶
func (e HeaderDecorator_SourceHeaderValidationError) Reason() string
Reason function returns reason value.