Documentation ¶
Index ¶
- Variables
- type FilterConfig
- func (*FilterConfig) Descriptor() ([]byte, []int)
- func (m *FilterConfig) GetDnsCacheConfig() *v2alpha.DnsCacheConfig
- func (m *FilterConfig) Marshal() (dAtA []byte, err error)
- func (m *FilterConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *FilterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FilterConfig) ProtoMessage()
- func (m *FilterConfig) Reset()
- func (m *FilterConfig) Size() (n int)
- func (m *FilterConfig) String() string
- func (m *FilterConfig) Unmarshal(dAtA []byte) error
- func (m *FilterConfig) Validate() error
- func (m *FilterConfig) XXX_DiscardUnknown()
- func (m *FilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilterConfig) XXX_Merge(src proto.Message)
- func (m *FilterConfig) XXX_Size() int
- func (m *FilterConfig) XXX_Unmarshal(b []byte) error
- type FilterConfigValidationError
- func (e FilterConfigValidationError) Cause() error
- func (e FilterConfigValidationError) Error() string
- func (e FilterConfigValidationError) ErrorName() string
- func (e FilterConfigValidationError) Field() string
- func (e FilterConfigValidationError) Key() bool
- func (e FilterConfigValidationError) Reason() string
- type PerRouteConfig
- func (*PerRouteConfig) Descriptor() ([]byte, []int)
- func (m *PerRouteConfig) GetHostRewrite() string
- func (m *PerRouteConfig) Marshal() (dAtA []byte, err error)
- func (m *PerRouteConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *PerRouteConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerRouteConfig) ProtoMessage()
- func (m *PerRouteConfig) Reset()
- func (m *PerRouteConfig) Size() (n int)
- func (m *PerRouteConfig) String() string
- func (m *PerRouteConfig) Unmarshal(dAtA []byte) error
- func (m *PerRouteConfig) Validate() error
- func (m *PerRouteConfig) XXX_DiscardUnknown()
- func (m *PerRouteConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerRouteConfig) XXX_Merge(src proto.Message)
- func (m *PerRouteConfig) XXX_Size() int
- func (m *PerRouteConfig) XXX_Unmarshal(b []byte) error
- type PerRouteConfigValidationError
- func (e PerRouteConfigValidationError) Cause() error
- func (e PerRouteConfigValidationError) Error() string
- func (e PerRouteConfigValidationError) ErrorName() string
- func (e PerRouteConfigValidationError) Field() string
- func (e PerRouteConfigValidationError) Key() bool
- func (e PerRouteConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthDynamicForwardProxy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDynamicForwardProxy = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type FilterConfig ¶
type FilterConfig struct { // The DNS cache configuration that the filter will attach to. Note this configuration must // match that of associated :ref:`dynamic forward proxy cluster configuration // <envoy_api_field_config.cluster.dynamic_forward_proxy.v2alpha.ClusterConfig.dns_cache_config>`. DnsCacheConfig *v2alpha.DnsCacheConfig `protobuf:"bytes,1,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the dynamic forward proxy HTTP filter. See the :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for more information.
func (*FilterConfig) Descriptor ¶
func (*FilterConfig) Descriptor() ([]byte, []int)
func (*FilterConfig) GetDnsCacheConfig ¶
func (m *FilterConfig) GetDnsCacheConfig() *v2alpha.DnsCacheConfig
func (*FilterConfig) Marshal ¶
func (m *FilterConfig) Marshal() (dAtA []byte, err error)
func (*FilterConfig) MarshalToSizedBuffer ¶
func (m *FilterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FilterConfig) ProtoMessage ¶
func (*FilterConfig) ProtoMessage()
func (*FilterConfig) Reset ¶
func (m *FilterConfig) Reset()
func (*FilterConfig) Size ¶
func (m *FilterConfig) Size() (n int)
func (*FilterConfig) String ¶
func (m *FilterConfig) String() string
func (*FilterConfig) Unmarshal ¶
func (m *FilterConfig) Unmarshal(dAtA []byte) error
func (*FilterConfig) Validate ¶
func (m *FilterConfig) Validate() error
Validate checks the field values on FilterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterConfig) XXX_DiscardUnknown ¶
func (m *FilterConfig) XXX_DiscardUnknown()
func (*FilterConfig) XXX_Marshal ¶
func (m *FilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterConfig) XXX_Merge ¶
func (m *FilterConfig) XXX_Merge(src proto.Message)
func (*FilterConfig) XXX_Size ¶
func (m *FilterConfig) XXX_Size() int
func (*FilterConfig) XXX_Unmarshal ¶
func (m *FilterConfig) XXX_Unmarshal(b []byte) error
type FilterConfigValidationError ¶
type FilterConfigValidationError struct {
// contains filtered or unexported fields
}
FilterConfigValidationError is the validation error returned by FilterConfig.Validate if the designated constraints aren't met.
func (FilterConfigValidationError) Cause ¶
func (e FilterConfigValidationError) Cause() error
Cause function returns cause value.
func (FilterConfigValidationError) Error ¶
func (e FilterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FilterConfigValidationError) ErrorName ¶
func (e FilterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FilterConfigValidationError) Field ¶
func (e FilterConfigValidationError) Field() string
Field function returns field value.
func (FilterConfigValidationError) Key ¶
func (e FilterConfigValidationError) Key() bool
Key function returns key value.
func (FilterConfigValidationError) Reason ¶
func (e FilterConfigValidationError) Reason() string
Reason function returns reason value.
type PerRouteConfig ¶ added in v0.86.0
type PerRouteConfig struct { // Indicates that before DNS lookup, the host header will be swapped with // this value. If not set or empty, the original host header value // will be used and no rewrite will happen. HostRewrite string `protobuf:"bytes,1,opt,name=host_rewrite,json=hostRewrite,proto3" json:"host_rewrite,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Per route Configuration for the dynamic forward proxy HTTP filter.
func (*PerRouteConfig) Descriptor ¶ added in v0.86.0
func (*PerRouteConfig) Descriptor() ([]byte, []int)
func (*PerRouteConfig) GetHostRewrite ¶ added in v0.86.0
func (m *PerRouteConfig) GetHostRewrite() string
func (*PerRouteConfig) Marshal ¶ added in v0.86.0
func (m *PerRouteConfig) Marshal() (dAtA []byte, err error)
func (*PerRouteConfig) MarshalTo ¶ added in v0.86.0
func (m *PerRouteConfig) MarshalTo(dAtA []byte) (int, error)
func (*PerRouteConfig) MarshalToSizedBuffer ¶ added in v0.86.0
func (m *PerRouteConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PerRouteConfig) ProtoMessage ¶ added in v0.86.0
func (*PerRouteConfig) ProtoMessage()
func (*PerRouteConfig) Reset ¶ added in v0.86.0
func (m *PerRouteConfig) Reset()
func (*PerRouteConfig) Size ¶ added in v0.86.0
func (m *PerRouteConfig) Size() (n int)
func (*PerRouteConfig) String ¶ added in v0.86.0
func (m *PerRouteConfig) String() string
func (*PerRouteConfig) Unmarshal ¶ added in v0.86.0
func (m *PerRouteConfig) Unmarshal(dAtA []byte) error
func (*PerRouteConfig) Validate ¶ added in v0.86.0
func (m *PerRouteConfig) Validate() error
Validate checks the field values on PerRouteConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PerRouteConfig) XXX_DiscardUnknown ¶ added in v0.86.0
func (m *PerRouteConfig) XXX_DiscardUnknown()
func (*PerRouteConfig) XXX_Marshal ¶ added in v0.86.0
func (m *PerRouteConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PerRouteConfig) XXX_Merge ¶ added in v0.86.0
func (m *PerRouteConfig) XXX_Merge(src proto.Message)
func (*PerRouteConfig) XXX_Size ¶ added in v0.86.0
func (m *PerRouteConfig) XXX_Size() int
func (*PerRouteConfig) XXX_Unmarshal ¶ added in v0.86.0
func (m *PerRouteConfig) XXX_Unmarshal(b []byte) error
type PerRouteConfigValidationError ¶ added in v0.86.0
type PerRouteConfigValidationError struct {
// contains filtered or unexported fields
}
PerRouteConfigValidationError is the validation error returned by PerRouteConfig.Validate if the designated constraints aren't met.
func (PerRouteConfigValidationError) Cause ¶ added in v0.86.0
func (e PerRouteConfigValidationError) Cause() error
Cause function returns cause value.
func (PerRouteConfigValidationError) Error ¶ added in v0.86.0
func (e PerRouteConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PerRouteConfigValidationError) ErrorName ¶ added in v0.86.0
func (e PerRouteConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PerRouteConfigValidationError) Field ¶ added in v0.86.0
func (e PerRouteConfigValidationError) Field() string
Field function returns field value.
func (PerRouteConfigValidationError) Key ¶ added in v0.86.0
func (e PerRouteConfigValidationError) Key() bool
Key function returns key value.
func (PerRouteConfigValidationError) Reason ¶ added in v0.86.0
func (e PerRouteConfigValidationError) Reason() string
Reason function returns reason value.