Documentation ¶
Index ¶
- Variables
- type CommonGeoipProviderConfig
- func (*CommonGeoipProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CommonGeoipProviderConfig) GetGeoHeadersToAdd() *CommonGeoipProviderConfig_GeolocationHeadersToAdd
- func (*CommonGeoipProviderConfig) ProtoMessage()
- func (x *CommonGeoipProviderConfig) ProtoReflect() protoreflect.Message
- func (x *CommonGeoipProviderConfig) Reset()
- func (x *CommonGeoipProviderConfig) String() string
- type CommonGeoipProviderConfig_GeolocationHeadersToAdd
- func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) Descriptor() ([]byte, []int)deprecated
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonHosting() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonProxy() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonTor() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonVpn() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAsn() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCity() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCountry() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetIsAnon() string
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetRegion() string
- func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoMessage()
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoReflect() protoreflect.Message
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) Reset()
- func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_geoip_providers_common_v3_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommonGeoipProviderConfig ¶
type CommonGeoipProviderConfig struct { // Configuration for geolocation headers to add to request. GeoHeadersToAdd *CommonGeoipProviderConfig_GeolocationHeadersToAdd `protobuf:"bytes,1,opt,name=geo_headers_to_add,json=geoHeadersToAdd,proto3" json:"geo_headers_to_add,omitempty"` // contains filtered or unexported fields }
func (*CommonGeoipProviderConfig) Descriptor
deprecated
func (*CommonGeoipProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use CommonGeoipProviderConfig.ProtoReflect.Descriptor instead.
func (*CommonGeoipProviderConfig) GetGeoHeadersToAdd ¶
func (x *CommonGeoipProviderConfig) GetGeoHeadersToAdd() *CommonGeoipProviderConfig_GeolocationHeadersToAdd
func (*CommonGeoipProviderConfig) ProtoMessage ¶
func (*CommonGeoipProviderConfig) ProtoMessage()
func (*CommonGeoipProviderConfig) ProtoReflect ¶
func (x *CommonGeoipProviderConfig) ProtoReflect() protoreflect.Message
func (*CommonGeoipProviderConfig) Reset ¶
func (x *CommonGeoipProviderConfig) Reset()
func (*CommonGeoipProviderConfig) String ¶
func (x *CommonGeoipProviderConfig) String() string
type CommonGeoipProviderConfig_GeolocationHeadersToAdd ¶
type CommonGeoipProviderConfig_GeolocationHeadersToAdd struct { // If set, the header will be used to populate the country ISO code associated with the IP address. Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` // If set, the header will be used to populate the city associated with the IP address. City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` // If set, the header will be used to populate the region ISO code associated with the IP address. // The least specific subdivision will be selected as region value. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` // If set, the header will be used to populate the ASN associated with the IP address. Asn string `protobuf:"bytes,4,opt,name=asn,proto3" json:"asn,omitempty"` // If set, the IP address will be checked if it belongs to any type of anonymization network (e.g. VPN, public proxy etc) // and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result. IsAnon string `protobuf:"bytes,5,opt,name=is_anon,json=isAnon,proto3" json:"is_anon,omitempty"` // If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result. // Header value will be set to either "true" or "false" depending on the check result. AnonVpn string `protobuf:"bytes,6,opt,name=anon_vpn,json=anonVpn,proto3" json:"anon_vpn,omitempty"` // If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result. // Header value will be set to either "true" or "false" depending on the check result. AnonHosting string `protobuf:"bytes,7,opt,name=anon_hosting,json=anonHosting,proto3" json:"anon_hosting,omitempty"` // If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result. // Header value will be set to either "true" or "false" depending on the check result. AnonTor string `protobuf:"bytes,8,opt,name=anon_tor,json=anonTor,proto3" json:"anon_tor,omitempty"` // If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result. // Header value will be set to either "true" or "false" depending on the check result. AnonProxy string `protobuf:"bytes,9,opt,name=anon_proxy,json=anonProxy,proto3" json:"anon_proxy,omitempty"` // contains filtered or unexported fields }
The set of geolocation headers to add to request. If any of the configured headers is present in the incoming request, it will be overridden by the :ref:`Geoip filter <config_http_filters_geoip>`. [#next-free-field: 10]
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) Descriptor
deprecated
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) Descriptor() ([]byte, []int)
Deprecated: Use CommonGeoipProviderConfig_GeolocationHeadersToAdd.ProtoReflect.Descriptor instead.
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonHosting ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonHosting() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonProxy ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonProxy() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonTor ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonTor() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonVpn ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAnonVpn() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAsn ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetAsn() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCity ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCity() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCountry ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetCountry() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetIsAnon ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetIsAnon() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetRegion ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) GetRegion() string
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoMessage ¶
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoMessage()
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoReflect ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) ProtoReflect() protoreflect.Message
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) Reset ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) Reset()
func (*CommonGeoipProviderConfig_GeolocationHeadersToAdd) String ¶
func (x *CommonGeoipProviderConfig_GeolocationHeadersToAdd) String() string
Click to show internal directories.
Click to hide internal directories.