v1alpha1

package
v0.0.0-...-2d182f5 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthenticationPolicy_name = map[int32]string{
	0:    "NONE",
	1:    "MUTUAL_TLS",
	1000: "INHERIT",
}
View Source
var AuthenticationPolicy_value = map[string]int32{
	"NONE":       0,
	"MUTUAL_TLS": 1,
	"INHERIT":    1000,
}
View Source
var MeshConfig_AuthPolicy_name = map[int32]string{
	0: "NONE",
	1: "MUTUAL_TLS",
}
View Source
var MeshConfig_AuthPolicy_value = map[string]int32{
	"NONE":       0,
	"MUTUAL_TLS": 1,
}
View Source
var MeshConfig_IngressControllerMode_name = map[int32]string{
	0: "OFF",
	1: "DEFAULT",
	2: "STRICT",
}
View Source
var MeshConfig_IngressControllerMode_value = map[string]int32{
	"OFF":     0,
	"DEFAULT": 1,
	"STRICT":  2,
}
View Source
var MeshConfig_OutboundTrafficPolicy_Mode_name = map[int32]string{
	0: "REGISTRY_ONLY",
	1: "ALLOW_ANY",
	2: "VIRTUAL_SERVICE_ONLY",
}
View Source
var MeshConfig_OutboundTrafficPolicy_Mode_value = map[string]int32{
	"REGISTRY_ONLY":        0,
	"ALLOW_ANY":            1,
	"VIRTUAL_SERVICE_ONLY": 2,
}
View Source
var ProxyConfig_InboundInterceptionMode_name = map[int32]string{
	0: "REDIRECT",
	1: "TPROXY",
}
View Source
var ProxyConfig_InboundInterceptionMode_value = map[string]int32{
	"REDIRECT": 0,
	"TPROXY":   1,
}

Functions

This section is empty.

Types

type AuthenticationPolicy

type AuthenticationPolicy int32

AuthenticationPolicy defines authentication policy. It can be set for different scopes (mesh, service …), and the most narrow scope with non-INHERIT value will be used. Mesh policy cannot be INHERIT.

const (
	// Do not encrypt Envoy to Envoy traffic.
	AuthenticationPolicy_NONE AuthenticationPolicy = 0
	// Envoy to Envoy traffic is wrapped into mutual TLS connections.
	AuthenticationPolicy_MUTUAL_TLS AuthenticationPolicy = 1
	// Use the policy defined by the parent scope. Should not be used for mesh
	// policy.
	AuthenticationPolicy_INHERIT AuthenticationPolicy = 1000
)

func (AuthenticationPolicy) EnumDescriptor

func (AuthenticationPolicy) EnumDescriptor() ([]byte, []int)

func (AuthenticationPolicy) String

func (x AuthenticationPolicy) String() string

type MeshConfig

type MeshConfig struct {
	// Address of the server that will be used by the proxies for policy
	// check calls. By using different names for mixerCheckServer and
	// mixerReportServer, it is possible to have one set of mixer servers handle
	// policy check calls while another set of mixer servers handle telemetry
	// calls.
	//
	// NOTE: Omitting mixerCheckServer while specifying mixerReportServer is
	// equivalent to setting disablePolicyChecks to true.
	MixerCheckServer string `protobuf:"bytes,1,opt,name=mixer_check_server,json=mixerCheckServer,proto3" json:"mixer_check_server,omitempty"`
	// Address of the server that will be used by the proxies for policy report
	// calls.
	MixerReportServer string `protobuf:"bytes,2,opt,name=mixer_report_server,json=mixerReportServer,proto3" json:"mixer_report_server,omitempty"`
	// Disable policy checks by the mixer service. Default
	// is false, i.e. mixer policy check is enabled by default.
	DisablePolicyChecks bool `protobuf:"varint,3,opt,name=disable_policy_checks,json=disablePolicyChecks,proto3" json:"disable_policy_checks,omitempty"`
	// Port on which Envoy should listen for incoming connections from
	// other services.
	ProxyListenPort int32 `protobuf:"varint,4,opt,name=proxy_listen_port,json=proxyListenPort,proto3" json:"proxy_listen_port,omitempty"`
	// Port on which Envoy should listen for HTTP PROXY requests if set.
	ProxyHttpPort int32 `protobuf:"varint,5,opt,name=proxy_http_port,json=proxyHttpPort,proto3" json:"proxy_http_port,omitempty"`
	// Connection timeout used by Envoy. (MUST BE >=1ms)
	ConnectTimeout *duration.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// Class of ingress resources to be processed by Istio ingress
	// controller.  This corresponds to the value of
	// "kubernetes.io/ingress.class" annotation.
	IngressClass string `protobuf:"bytes,7,opt,name=ingress_class,json=ingressClass,proto3" json:"ingress_class,omitempty"`
	// Name of the kubernetes service used for the istio ingress controller.
	IngressService string `protobuf:"bytes,8,opt,name=ingress_service,json=ingressService,proto3" json:"ingress_service,omitempty"`
	// Defines whether to use Istio ingress controller for annotated or all ingress resources.
	IngressControllerMode MeshConfig_IngressControllerMode `` /* 185-byte string literal not displayed */
	// Authentication policy defines the global switch to control authentication
	// for Envoy-to-Envoy communication.
	// Use authentication_policy instead.
	AuthPolicy MeshConfig_AuthPolicy `` // Deprecated: Do not use.
	/* 140-byte string literal not displayed */
	// Polling interval for RDS (MUST BE >=1ms)
	RdsRefreshDelay *duration.Duration `protobuf:"bytes,11,opt,name=rds_refresh_delay,json=rdsRefreshDelay,proto3" json:"rds_refresh_delay,omitempty"`
	// Flag to control generation of trace spans and request IDs.
	// Requires a trace span collector defined in the proxy configuration.
	EnableTracing bool `protobuf:"varint,12,opt,name=enable_tracing,json=enableTracing,proto3" json:"enable_tracing,omitempty"`
	// File address for the proxy access log (e.g. /dev/stdout).
	// Empty value disables access logging.
	AccessLogFile string `protobuf:"bytes,13,opt,name=access_log_file,json=accessLogFile,proto3" json:"access_log_file,omitempty"`
	// Default proxy config used by the proxy injection mechanism operating in the mesh
	// (e.g. Kubernetes admission controller)
	// In case of Kubernetes, the proxy config is applied once during the injection process,
	// and remain constant for the duration of the pod. The rest of the mesh config can be changed
	// at runtime and config gets distributed dynamically.
	DefaultConfig *ProxyConfig `protobuf:"bytes,14,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// DEPRECATED. Mixer address. This option will be removed soon. Please
	// use mixer_check and mixer_report.
	MixerAddress string `protobuf:"bytes,16,opt,name=mixer_address,json=mixerAddress,proto3" json:"mixer_address,omitempty"`
	// Set the default behavior of the sidecar for handling outbound traffic from the application.
	// While the default mode should work out of the box, if your application uses one or more external services that
	// are not known apriori, setting the policy to ALLOW_ANY will cause the sidecars to route traffic to the any
	// requested destination.
	// Users are strongly encouraged to use ServiceEntries to explicitly declare any external dependencies,
	// instead of using allow_any.
	OutboundTrafficPolicy *MeshConfig_OutboundTrafficPolicy `` /* 127-byte string literal not displayed */
	// Enables clide side policy checks.
	EnableClientSidePolicyCheck bool `` /* 150-byte string literal not displayed */
	// Unix Domain Socket through which envoy communicates with NodeAgent SDS to get key/cert for mTLS.
	// Use secret-mount files instead of SDS if set to empty.
	SdsUdsPath string `protobuf:"bytes,20,opt,name=sds_uds_path,json=sdsUdsPath,proto3" json:"sds_uds_path,omitempty"`
	// Polling interval for SDS (MUST BE >=1ms)
	SdsRefreshDelay      *duration.Duration `protobuf:"bytes,21,opt,name=sds_refresh_delay,json=sdsRefreshDelay,proto3" json:"sds_refresh_delay,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

MeshConfig defines mesh-wide variables shared by all Envoy instances in the Istio service mesh.

NOTE: This configuration type should be used for the low-level global configuration, such as component addresses and port numbers. It should not be used for the features of the mesh that can be scoped by service or by namespace. Some of the fields in the mesh config are going to be deprecated and replaced with several individual configuration types (for example, tracing configuration).

func (*MeshConfig) Descriptor

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

func (*MeshConfig) GetAccessLogFile

func (m *MeshConfig) GetAccessLogFile() string

func (*MeshConfig) GetAuthPolicy deprecated

func (m *MeshConfig) GetAuthPolicy() MeshConfig_AuthPolicy

Deprecated: Do not use.

func (*MeshConfig) GetConnectTimeout

func (m *MeshConfig) GetConnectTimeout() *duration.Duration

func (*MeshConfig) GetDefaultConfig

func (m *MeshConfig) GetDefaultConfig() *ProxyConfig

func (*MeshConfig) GetDisablePolicyChecks

func (m *MeshConfig) GetDisablePolicyChecks() bool

func (*MeshConfig) GetEnableClientSidePolicyCheck

func (m *MeshConfig) GetEnableClientSidePolicyCheck() bool

func (*MeshConfig) GetEnableTracing

func (m *MeshConfig) GetEnableTracing() bool

func (*MeshConfig) GetIngressClass

func (m *MeshConfig) GetIngressClass() string

func (*MeshConfig) GetIngressControllerMode

func (m *MeshConfig) GetIngressControllerMode() MeshConfig_IngressControllerMode

func (*MeshConfig) GetIngressService

func (m *MeshConfig) GetIngressService() string

func (*MeshConfig) GetMixerAddress

func (m *MeshConfig) GetMixerAddress() string

func (*MeshConfig) GetMixerCheckServer

func (m *MeshConfig) GetMixerCheckServer() string

func (*MeshConfig) GetMixerReportServer

func (m *MeshConfig) GetMixerReportServer() string

func (*MeshConfig) GetOutboundTrafficPolicy

func (m *MeshConfig) GetOutboundTrafficPolicy() *MeshConfig_OutboundTrafficPolicy

func (*MeshConfig) GetProxyHttpPort

func (m *MeshConfig) GetProxyHttpPort() int32

func (*MeshConfig) GetProxyListenPort

func (m *MeshConfig) GetProxyListenPort() int32

func (*MeshConfig) GetRdsRefreshDelay

func (m *MeshConfig) GetRdsRefreshDelay() *duration.Duration

func (*MeshConfig) GetSdsRefreshDelay

func (m *MeshConfig) GetSdsRefreshDelay() *duration.Duration

func (*MeshConfig) GetSdsUdsPath

func (m *MeshConfig) GetSdsUdsPath() string

func (*MeshConfig) ProtoMessage

func (*MeshConfig) ProtoMessage()

func (*MeshConfig) Reset

func (m *MeshConfig) Reset()

func (*MeshConfig) String

func (m *MeshConfig) String() string

func (*MeshConfig) XXX_DiscardUnknown

func (m *MeshConfig) XXX_DiscardUnknown()

func (*MeshConfig) XXX_Marshal

func (m *MeshConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshConfig) XXX_Merge

func (dst *MeshConfig) XXX_Merge(src proto.Message)

func (*MeshConfig) XXX_Size

func (m *MeshConfig) XXX_Size() int

func (*MeshConfig) XXX_Unmarshal

func (m *MeshConfig) XXX_Unmarshal(b []byte) error

type MeshConfig_AuthPolicy

type MeshConfig_AuthPolicy int32

TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above

const (
	// Do not encrypt Envoy to Envoy traffic.
	MeshConfig_NONE MeshConfig_AuthPolicy = 0
	// Envoy to Envoy traffic is wrapped into mutual TLS connections.
	MeshConfig_MUTUAL_TLS MeshConfig_AuthPolicy = 1
)

func (MeshConfig_AuthPolicy) EnumDescriptor

func (MeshConfig_AuthPolicy) EnumDescriptor() ([]byte, []int)

func (MeshConfig_AuthPolicy) String

func (x MeshConfig_AuthPolicy) String() string

type MeshConfig_IngressControllerMode

type MeshConfig_IngressControllerMode int32
const (
	// Disables Istio ingress controller.
	MeshConfig_OFF MeshConfig_IngressControllerMode = 0
	// Istio ingress controller will act on ingress resources that do not
	// contain any annotation or whose annotations match the value
	// specified in the ingress_class parameter described earlier. Use this
	// mode if Istio ingress controller will be the default ingress
	// controller for the entire kubernetes cluster.
	MeshConfig_DEFAULT MeshConfig_IngressControllerMode = 1
	// Istio ingress controller will only act on ingress resources whose
	// annotations match the value specified in the ingress_class parameter
	// described earlier. Use this mode if Istio ingress controller will be
	// a secondary ingress controller (e.g., in addition to a
	// cloud-provided ingress controller).
	MeshConfig_STRICT MeshConfig_IngressControllerMode = 2
)

func (MeshConfig_IngressControllerMode) EnumDescriptor

func (MeshConfig_IngressControllerMode) EnumDescriptor() ([]byte, []int)

func (MeshConfig_IngressControllerMode) String

type MeshConfig_OutboundTrafficPolicy

type MeshConfig_OutboundTrafficPolicy struct {
	Mode                 MeshConfig_OutboundTrafficPolicy_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*MeshConfig_OutboundTrafficPolicy) Descriptor

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

func (*MeshConfig_OutboundTrafficPolicy) GetMode

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage()

func (*MeshConfig_OutboundTrafficPolicy) Reset

func (*MeshConfig_OutboundTrafficPolicy) String

func (*MeshConfig_OutboundTrafficPolicy) XXX_DiscardUnknown

func (m *MeshConfig_OutboundTrafficPolicy) XXX_DiscardUnknown()

func (*MeshConfig_OutboundTrafficPolicy) XXX_Marshal

func (m *MeshConfig_OutboundTrafficPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshConfig_OutboundTrafficPolicy) XXX_Merge

func (dst *MeshConfig_OutboundTrafficPolicy) XXX_Merge(src proto.Message)

func (*MeshConfig_OutboundTrafficPolicy) XXX_Size

func (m *MeshConfig_OutboundTrafficPolicy) XXX_Size() int

func (*MeshConfig_OutboundTrafficPolicy) XXX_Unmarshal

func (m *MeshConfig_OutboundTrafficPolicy) XXX_Unmarshal(b []byte) error

type MeshConfig_OutboundTrafficPolicy_Mode

type MeshConfig_OutboundTrafficPolicy_Mode int32
const (
	// outbound traffic will be restricted to services defined in the service registry as well as those defined
	// through ServiceEntries
	MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY MeshConfig_OutboundTrafficPolicy_Mode = 0
	// outbound traffic to unknown destinations will be allowed
	MeshConfig_OutboundTrafficPolicy_ALLOW_ANY MeshConfig_OutboundTrafficPolicy_Mode = 1
	// not implemented. outbound traffic will be restricted to destinations defined in VirtualServices only
	MeshConfig_OutboundTrafficPolicy_VIRTUAL_SERVICE_ONLY MeshConfig_OutboundTrafficPolicy_Mode = 2
)

func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor

func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int)

func (MeshConfig_OutboundTrafficPolicy_Mode) String

type ProxyConfig

type ProxyConfig struct {
	// Path to the generated configuration file directory.
	// Proxy agent generates the actual configuration and stores it in this directory.
	ConfigPath string `protobuf:"bytes,1,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	// Path to the proxy binary
	BinaryPath string `protobuf:"bytes,2,opt,name=binary_path,json=binaryPath,proto3" json:"binary_path,omitempty"`
	// Service cluster defines the name for the service_cluster that is
	// shared by all Envoy instances. This setting corresponds to
	// _--service-cluster_ flag in Envoy.  In a typical Envoy deployment, the
	// _service-cluster_ flag is used to identify the caller, for
	// source-based routing scenarios.
	//
	// Since Istio does not assign a local service/service version to each
	// Envoy instance, the name is same for all of them.  However, the
	// source/caller's identity (e.g., IP address) is encoded in the
	// _--service-node_ flag when launching Envoy.  When the RDS service
	// receives API calls from Envoy, it uses the value of the _service-node_
	// flag to compute routes that are relative to the service instances
	// located at that IP address.
	ServiceCluster string `protobuf:"bytes,3,opt,name=service_cluster,json=serviceCluster,proto3" json:"service_cluster,omitempty"`
	// The time in seconds that Envoy will drain connections during a hot
	// restart. MUST be >=1s (e.g., _1s/1m/1h_)
	DrainDuration *duration.Duration `protobuf:"bytes,4,opt,name=drain_duration,json=drainDuration,proto3" json:"drain_duration,omitempty"`
	// The time in seconds that Envoy will wait before shutting down the
	// parent process during a hot restart. MUST be >=1s (e.g., _1s/1m/1h_).
	// MUST BE greater than _drain_duration_ parameter.
	ParentShutdownDuration *duration.Duration `` /* 129-byte string literal not displayed */
	// Address of the discovery service exposing xDS with mTLS connection.
	DiscoveryAddress string `protobuf:"bytes,6,opt,name=discovery_address,json=discoveryAddress,proto3" json:"discovery_address,omitempty"`
	// Polling interval for service discovery (used by EDS, CDS, LDS, but not RDS). (MUST BE >=1ms)
	DiscoveryRefreshDelay *duration.Duration `` /* 126-byte string literal not displayed */
	// Address of the Zipkin service (e.g. _zipkin:9411_).
	ZipkinAddress string `protobuf:"bytes,8,opt,name=zipkin_address,json=zipkinAddress,proto3" json:"zipkin_address,omitempty"`
	// Connection timeout used by Envoy for supporting services. (MUST BE >=1ms)
	ConnectTimeout *duration.Duration `protobuf:"bytes,9,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// IP Address and Port of a statsd UDP listener (e.g. _10.75.241.127:9125_).
	StatsdUdpAddress string `protobuf:"bytes,10,opt,name=statsd_udp_address,json=statsdUdpAddress,proto3" json:"statsd_udp_address,omitempty"`
	// Port on which Envoy should listen for administrative commands.
	ProxyAdminPort int32 `protobuf:"varint,11,opt,name=proxy_admin_port,json=proxyAdminPort,proto3" json:"proxy_admin_port,omitempty"`
	// The availability zone where this Envoy instance is running. When running
	// Envoy as a sidecar in Kubernetes, this flag must be one of the availability
	// zones assigned to a node using failure-domain.beta.kubernetes.io/zone annotation.
	AvailabilityZone string `protobuf:"bytes,12,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"`
	// Authentication policy defines the global switch to control authentication
	// for Envoy-to-Envoy communication for istio components Mixer and Pilot.
	ControlPlaneAuthPolicy AuthenticationPolicy `` /* 179-byte string literal not displayed */
	// File path of custom proxy configuration, currently used by proxies
	// in front of Mixer and Pilot.
	CustomConfigFile string `protobuf:"bytes,14,opt,name=custom_config_file,json=customConfigFile,proto3" json:"custom_config_file,omitempty"`
	// Maximum length of name field in Envoy's metrics. The length of the name field
	// is determined by the length of a name field in a service and the set of labels that
	// comprise a particular version of the service. The default value is set to 189 characters.
	// Envoy's internal metrics take up 67 characters, for a total of 256 character name per metric.
	// Increase the value of this field if you find that the metrics from Envoys are truncated.
	StatNameLength int32 `protobuf:"varint,15,opt,name=stat_name_length,json=statNameLength,proto3" json:"stat_name_length,omitempty"`
	// The number of worker threads to run. Default value is number of cores on the machine.
	Concurrency int32 `protobuf:"varint,16,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
	// Path to the proxy bootstrap template file
	ProxyBootstrapTemplatePath string `` /* 144-byte string literal not displayed */
	// The mode used to redirect inbound traffic to Envoy.
	InterceptionMode     ProxyConfig_InboundInterceptionMode `` /* 172-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

ProxyConfig defines variables for individual Envoy instances.

func (*ProxyConfig) Descriptor

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

func (*ProxyConfig) GetAvailabilityZone

func (m *ProxyConfig) GetAvailabilityZone() string

func (*ProxyConfig) GetBinaryPath

func (m *ProxyConfig) GetBinaryPath() string

func (*ProxyConfig) GetConcurrency

func (m *ProxyConfig) GetConcurrency() int32

func (*ProxyConfig) GetConfigPath

func (m *ProxyConfig) GetConfigPath() string

func (*ProxyConfig) GetConnectTimeout

func (m *ProxyConfig) GetConnectTimeout() *duration.Duration

func (*ProxyConfig) GetControlPlaneAuthPolicy

func (m *ProxyConfig) GetControlPlaneAuthPolicy() AuthenticationPolicy

func (*ProxyConfig) GetCustomConfigFile

func (m *ProxyConfig) GetCustomConfigFile() string

func (*ProxyConfig) GetDiscoveryAddress

func (m *ProxyConfig) GetDiscoveryAddress() string

func (*ProxyConfig) GetDiscoveryRefreshDelay

func (m *ProxyConfig) GetDiscoveryRefreshDelay() *duration.Duration

func (*ProxyConfig) GetDrainDuration

func (m *ProxyConfig) GetDrainDuration() *duration.Duration

func (*ProxyConfig) GetInterceptionMode

func (m *ProxyConfig) GetInterceptionMode() ProxyConfig_InboundInterceptionMode

func (*ProxyConfig) GetParentShutdownDuration

func (m *ProxyConfig) GetParentShutdownDuration() *duration.Duration

func (*ProxyConfig) GetProxyAdminPort

func (m *ProxyConfig) GetProxyAdminPort() int32

func (*ProxyConfig) GetProxyBootstrapTemplatePath

func (m *ProxyConfig) GetProxyBootstrapTemplatePath() string

func (*ProxyConfig) GetServiceCluster

func (m *ProxyConfig) GetServiceCluster() string

func (*ProxyConfig) GetStatNameLength

func (m *ProxyConfig) GetStatNameLength() int32

func (*ProxyConfig) GetStatsdUdpAddress

func (m *ProxyConfig) GetStatsdUdpAddress() string

func (*ProxyConfig) GetZipkinAddress

func (m *ProxyConfig) GetZipkinAddress() string

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) Reset

func (m *ProxyConfig) Reset()

func (*ProxyConfig) String

func (m *ProxyConfig) String() string

func (*ProxyConfig) XXX_DiscardUnknown

func (m *ProxyConfig) XXX_DiscardUnknown()

func (*ProxyConfig) XXX_Marshal

func (m *ProxyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyConfig) XXX_Merge

func (dst *ProxyConfig) XXX_Merge(src proto.Message)

func (*ProxyConfig) XXX_Size

func (m *ProxyConfig) XXX_Size() int

func (*ProxyConfig) XXX_Unmarshal

func (m *ProxyConfig) XXX_Unmarshal(b []byte) error

type ProxyConfig_InboundInterceptionMode

type ProxyConfig_InboundInterceptionMode int32

The mode used to redirect inbound traffic to Envoy. This setting has no effect on outbound traffic: iptables REDIRECT is always used for outbound connections.

const (
	// The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy. This mode loses
	// source IP addresses during redirection.
	ProxyConfig_REDIRECT ProxyConfig_InboundInterceptionMode = 0
	// The TPROXY mode uses iptables TPROXY to redirect to Envoy. This mode preserves both the
	// source and destination IP addresses and ports, so that they can be used for advanced
	// filtering and manipulation. This mode also configures the sidecar to run with the
	// CAP_NET_ADMIN capability, which is required to use TPROXY.
	ProxyConfig_TPROXY ProxyConfig_InboundInterceptionMode = 1
)

func (ProxyConfig_InboundInterceptionMode) EnumDescriptor

func (ProxyConfig_InboundInterceptionMode) EnumDescriptor() ([]byte, []int)

func (ProxyConfig_InboundInterceptionMode) String

Jump to

Keyboard shortcuts

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