geoipv3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_geoip_v3_geoip_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Geoip

type Geoip struct {

	// If set, the :ref:`xff_num_trusted_hops <envoy_v3_api_field_extensions.filters.http.geoip.v3.Geoip.XffConfig.xff_num_trusted_hops>` field will be used to determine
	// trusted client address from “x-forwarded-for“ header.
	// Otherwise, the immediate downstream connection source address will be used.
	// [#next-free-field: 2]
	XffConfig *Geoip_XffConfig `protobuf:"bytes,1,opt,name=xff_config,json=xffConfig,proto3" json:"xff_config,omitempty"`
	// Geoip driver specific configuration which depends on the driver being instantiated.
	// See the geoip drivers for examples:
	//
	// - :ref:`MaxMindConfig <envoy_v3_api_msg_extensions.geoip_providers.maxmind.v3.MaxMindConfig>`
	// [#extension-category: envoy.geoip_providers]
	Provider *v3.TypedExtensionConfig `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*Geoip) Descriptor deprecated

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

Deprecated: Use Geoip.ProtoReflect.Descriptor instead.

func (*Geoip) GetProvider

func (x *Geoip) GetProvider() *v3.TypedExtensionConfig

func (*Geoip) GetXffConfig

func (x *Geoip) GetXffConfig() *Geoip_XffConfig

func (*Geoip) ProtoMessage

func (*Geoip) ProtoMessage()

func (*Geoip) ProtoReflect

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

func (*Geoip) Reset

func (x *Geoip) Reset()

func (*Geoip) String

func (x *Geoip) String() string

type Geoip_XffConfig

type Geoip_XffConfig struct {

	// The number of additional ingress proxy hops from the right side of the
	// :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when
	// determining the origin client's IP address. The default is zero if this option
	// is not specified. See the documentation for
	// :ref:`config_http_conn_man_headers_x-forwarded-for` for more information.
	XffNumTrustedHops uint32 `protobuf:"varint,1,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"`
	// contains filtered or unexported fields
}

func (*Geoip_XffConfig) Descriptor deprecated

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

Deprecated: Use Geoip_XffConfig.ProtoReflect.Descriptor instead.

func (*Geoip_XffConfig) GetXffNumTrustedHops

func (x *Geoip_XffConfig) GetXffNumTrustedHops() uint32

func (*Geoip_XffConfig) ProtoMessage

func (*Geoip_XffConfig) ProtoMessage()

func (*Geoip_XffConfig) ProtoReflect

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

func (*Geoip_XffConfig) Reset

func (x *Geoip_XffConfig) Reset()

func (*Geoip_XffConfig) String

func (x *Geoip_XffConfig) String() string

Jump to

Keyboard shortcuts

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