v1alpha1

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 221

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Resource_name = map[int32]string{
		0: "SERVICE_REGISTRY",
	}
	Resource_value = map[string]int32{
		"SERVICE_REGISTRY": 0,
	}
)

Enum value maps for Resource.

View Source
var (
	MeshConfig_IngressControllerMode_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "OFF",
		2: "DEFAULT",
		3: "STRICT",
	}
	MeshConfig_IngressControllerMode_value = map[string]int32{
		"UNSPECIFIED": 0,
		"OFF":         1,
		"DEFAULT":     2,
		"STRICT":      3,
	}
)

Enum value maps for MeshConfig_IngressControllerMode.

View Source
var (
	MeshConfig_AuthPolicy_name = map[int32]string{
		0: "NONE",
		1: "MUTUAL_TLS",
	}
	MeshConfig_AuthPolicy_value = map[string]int32{
		"NONE":       0,
		"MUTUAL_TLS": 1,
	}
)

Enum value maps for MeshConfig_AuthPolicy.

View Source
var (
	MeshConfig_AccessLogEncoding_name = map[int32]string{
		0: "TEXT",
		1: "JSON",
	}
	MeshConfig_AccessLogEncoding_value = map[string]int32{
		"TEXT": 0,
		"JSON": 1,
	}
)

Enum value maps for MeshConfig_AccessLogEncoding.

View Source
var (
	MeshConfig_H2UpgradePolicy_name = map[int32]string{
		0: "DO_NOT_UPGRADE",
		1: "UPGRADE",
	}
	MeshConfig_H2UpgradePolicy_value = map[string]int32{
		"DO_NOT_UPGRADE": 0,
		"UPGRADE":        1,
	}
)

Enum value maps for MeshConfig_H2UpgradePolicy.

View Source
var (
	MeshConfig_OutboundTrafficPolicy_Mode_name = map[int32]string{
		0: "REGISTRY_ONLY",
		1: "ALLOW_ANY",
	}
	MeshConfig_OutboundTrafficPolicy_Mode_value = map[string]int32{
		"REGISTRY_ONLY": 0,
		"ALLOW_ANY":     1,
	}
)

Enum value maps for MeshConfig_OutboundTrafficPolicy_Mode.

View Source
var (
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "W3C_TRACE_CONTEXT",
		2: "GRPC_BIN",
		3: "CLOUD_TRACE_CONTEXT",
		4: "B3",
	}
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_value = map[string]int32{
		"UNSPECIFIED":         0,
		"W3C_TRACE_CONTEXT":   1,
		"GRPC_BIN":            2,
		"CLOUD_TRACE_CONTEXT": 3,
		"B3":                  4,
	}
)

Enum value maps for MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext.

View Source
var (
	MeshConfig_ProxyPathNormalization_NormalizationType_name = map[int32]string{
		0: "DEFAULT",
		1: "NONE",
		2: "BASE",
		3: "MERGE_SLASHES",
		4: "DECODE_AND_MERGE_SLASHES",
	}
	MeshConfig_ProxyPathNormalization_NormalizationType_value = map[string]int32{
		"DEFAULT":                  0,
		"NONE":                     1,
		"BASE":                     2,
		"MERGE_SLASHES":            3,
		"DECODE_AND_MERGE_SLASHES": 4,
	}
)

Enum value maps for MeshConfig_ProxyPathNormalization_NormalizationType.

View Source
var (
	MeshConfig_TLSConfig_TLSProtocol_name = map[int32]string{
		0: "TLS_AUTO",
		1: "TLSV1_2",
		2: "TLSV1_3",
	}
	MeshConfig_TLSConfig_TLSProtocol_value = map[string]int32{
		"TLS_AUTO": 0,
		"TLSV1_2":  1,
		"TLSV1_3":  2,
	}
)

Enum value maps for MeshConfig_TLSConfig_TLSProtocol.

View Source
var (
	AuthenticationPolicy_name = map[int32]string{
		0:    "NONE",
		1:    "MUTUAL_TLS",
		1000: "INHERIT",
	}
	AuthenticationPolicy_value = map[string]int32{
		"NONE":       0,
		"MUTUAL_TLS": 1,
		"INHERIT":    1000,
	}
)

Enum value maps for AuthenticationPolicy.

View Source
var (
	ForwardClientCertDetails_name = map[int32]string{
		0: "UNDEFINED",
		1: "SANITIZE",
		2: "FORWARD_ONLY",
		3: "APPEND_FORWARD",
		4: "SANITIZE_SET",
		5: "ALWAYS_FORWARD_ONLY",
	}
	ForwardClientCertDetails_value = map[string]int32{
		"UNDEFINED":           0,
		"SANITIZE":            1,
		"FORWARD_ONLY":        2,
		"APPEND_FORWARD":      3,
		"SANITIZE_SET":        4,
		"ALWAYS_FORWARD_ONLY": 5,
	}
)

Enum value maps for ForwardClientCertDetails.

View Source
var (
	Tracing_OpenCensusAgent_TraceContext_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "W3C_TRACE_CONTEXT",
		2: "GRPC_BIN",
		3: "CLOUD_TRACE_CONTEXT",
		4: "B3",
	}
	Tracing_OpenCensusAgent_TraceContext_value = map[string]int32{
		"UNSPECIFIED":         0,
		"W3C_TRACE_CONTEXT":   1,
		"GRPC_BIN":            2,
		"CLOUD_TRACE_CONTEXT": 3,
		"B3":                  4,
	}
)

Enum value maps for Tracing_OpenCensusAgent_TraceContext.

View Source
var (
	ProxyConfig_TracingServiceName_name = map[int32]string{
		0: "APP_LABEL_AND_NAMESPACE",
		1: "CANONICAL_NAME_ONLY",
		2: "CANONICAL_NAME_AND_NAMESPACE",
	}
	ProxyConfig_TracingServiceName_value = map[string]int32{
		"APP_LABEL_AND_NAMESPACE":      0,
		"CANONICAL_NAME_ONLY":          1,
		"CANONICAL_NAME_AND_NAMESPACE": 2,
	}
)

Enum value maps for ProxyConfig_TracingServiceName.

View Source
var (
	ProxyConfig_InboundInterceptionMode_name = map[int32]string{
		0: "REDIRECT",
		1: "TPROXY",
		2: "NONE",
	}
	ProxyConfig_InboundInterceptionMode_value = map[string]int32{
		"REDIRECT": 0,
		"TPROXY":   1,
		"NONE":     2,
	}
)

Enum value maps for ProxyConfig_InboundInterceptionMode.

View Source
var (
	ProxyConfig_ProxyHeaders_MetadataExchangeMode_name = map[int32]string{
		0: "UNDEFINED",
		1: "IN_MESH",
	}
	ProxyConfig_ProxyHeaders_MetadataExchangeMode_value = map[string]int32{
		"UNDEFINED": 0,
		"IN_MESH":   1,
	}
)

Enum value maps for ProxyConfig_ProxyHeaders_MetadataExchangeMode.

View Source
var File_mesh_v1alpha1_config_proto protoreflect.FileDescriptor
View Source
var File_mesh_v1alpha1_network_proto protoreflect.FileDescriptor
View Source
var File_mesh_v1alpha1_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthenticationPolicy

type AuthenticationPolicy int32

AuthenticationPolicy defines how the proxy is authenticated when it connects to the control plane. It can be set for two different scopes, mesh-wide or set on a per-pod basis using the ProxyConfig annotation. Mesh policy cannot be INHERIT.

const (
	// Do not encrypt proxy to control plane traffic.
	AuthenticationPolicy_NONE AuthenticationPolicy = 0
	// Proxy to control plane 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) Descriptor

func (AuthenticationPolicy) Enum

func (AuthenticationPolicy) EnumDescriptor deprecated

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

Deprecated: Use AuthenticationPolicy.Descriptor instead.

func (AuthenticationPolicy) Number

func (AuthenticationPolicy) String

func (x AuthenticationPolicy) String() string

func (AuthenticationPolicy) Type

type Certificate

type Certificate struct {

	// Name of the secret the certificate and its key will be stored into.
	// If it is empty, it will not be stored into a secret.
	// Instead, the certificate and its key will be stored into a hard-coded directory.
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// The DNS names for the certificate. A certificate may contain
	// multiple DNS names.
	DnsNames []string `protobuf:"bytes,2,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
	// contains filtered or unexported fields
}

$hide_from_docs Certificate configures the provision of a certificate and its key. Example 1: key and cert stored in a secret ``` { secretName: galley-cert

  secretNamespace: istio-system
  dnsNames:
    - galley.istio-system.svc
    - galley.mydomain.com
}

``` Example 2: key and cert stored in a directory ``` { dnsNames:

  • pilot.istio-system
  • pilot.istio-system.svc
  • pilot.mydomain.com }

```

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetDnsNames

func (x *Certificate) GetDnsNames() []string

func (*Certificate) GetSecretName

func (x *Certificate) GetSecretName() string

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type ConfigSource

type ConfigSource struct {

	// Address of the server implementing the Istio Mesh Configuration
	// protocol (MCP). Can be IP address or a fully qualified DNS name.
	// Use xds:// to specify a grpc-based xds backend, k8s:// to specify a k8s controller or
	// fs:/// to specify a file-based backend with absolute path to the directory.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Use the tls_settings to specify the tls mode to use. If the MCP server
	// uses Istio mutual TLS and shares the root CA with Pilot, specify the TLS
	// mode as `ISTIO_MUTUAL`.
	TlsSettings *v1alpha3.ClientTLSSettings `protobuf:"bytes,2,opt,name=tls_settings,json=tlsSettings,proto3" json:"tls_settings,omitempty"`
	// Describes the source of configuration, if nothing is specified default is MCP
	SubscribedResources []Resource `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigSource describes information about a configuration store inside a mesh. A single control plane instance can interact with one or more data sources.

func (*ConfigSource) Descriptor deprecated

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

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) GetAddress

func (x *ConfigSource) GetAddress() string

func (*ConfigSource) GetSubscribedResources

func (x *ConfigSource) GetSubscribedResources() []Resource

func (*ConfigSource) GetTlsSettings

func (x *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect

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

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

type ForwardClientCertDetails

type ForwardClientCertDetails int32

ForwardClientCertDetails controls how the x-forwarded-client-cert (XFCC) header is handled by the gateway proxy. See [Envoy XFCC](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto.html#enum-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-forwardclientcertdetails) header handling for more details.

const (
	// Field is not set
	ForwardClientCertDetails_UNDEFINED ForwardClientCertDetails = 0
	// Do not send the XFCC header to the next hop. This is the default value.
	ForwardClientCertDetails_SANITIZE ForwardClientCertDetails = 1
	// When the client connection is mTLS (Mutual TLS), forward the XFCC header
	// in the request.
	ForwardClientCertDetails_FORWARD_ONLY ForwardClientCertDetails = 2
	// When the client connection is mTLS, append the client certificate
	// information to the request’s XFCC header and forward it.
	ForwardClientCertDetails_APPEND_FORWARD ForwardClientCertDetails = 3
	// When the client connection is mTLS, reset the XFCC header with the client
	// certificate information and send it to the next hop.
	ForwardClientCertDetails_SANITIZE_SET ForwardClientCertDetails = 4
	// Always forward the XFCC header in the request, regardless of whether the
	// client connection is mTLS.
	ForwardClientCertDetails_ALWAYS_FORWARD_ONLY ForwardClientCertDetails = 5
)

func (ForwardClientCertDetails) Descriptor

func (ForwardClientCertDetails) Enum

func (ForwardClientCertDetails) EnumDescriptor deprecated

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

Deprecated: Use ForwardClientCertDetails.Descriptor instead.

func (ForwardClientCertDetails) Number

func (ForwardClientCertDetails) String

func (x ForwardClientCertDetails) String() string

func (ForwardClientCertDetails) Type

type MeshConfig

type MeshConfig struct {

	// Port on which Envoy should listen for all outbound traffic to other services.
	// Default port is 15001.
	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 all inbound traffic to the pod/vm will be captured to.
	// Default port is 15006.
	ProxyInboundListenPort int32 `` /* 133-byte string literal not displayed */
	// 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)
	// Default timeout is 10s.
	ConnectTimeout *duration.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// $hide_from_docs
	// Automatic protocol detection uses a set of heuristics to
	// determine whether the connection is using TLS or not (on the
	// server side), as well as the application protocol being used
	// (e.g., http vs tcp). These heuristics rely on the client sending
	// the first bits of data. For server first protocols like MySQL,
	// MongoDB, etc. Envoy will timeout on the protocol detection after
	// the specified period, defaulting to non mTLS plain TCP
	// traffic. Set this field to tweak the period that Envoy will wait
	// for the client to send the first bits of data. (MUST BE >=1ms or
	// 0s to disable). Default detection timeout is 0s (no timeout).
	//
	// Setting a timeout is not recommended nor safe. Even high timeouts (>5s) will be hit
	// occasionally, and when they occur the result is typically broken traffic that may not
	// recover on its own. Exceptionally high values might solve this, but injecting 60s delays
	// onto new connections is generally not tenable anyways.
	ProtocolDetectionTimeout *duration.Duration `` /* 136-byte string literal not displayed */
	// If set then set `SO_KEEPALIVE` on the socket to enable TCP Keepalives.
	TcpKeepalive *v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,28,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,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.
	// If no ingress controller is specified, the default value `istio-ingressgateway` is used.
	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.
	// Default mode is `STRICT`.
	IngressControllerMode MeshConfig_IngressControllerMode `` /* 185-byte string literal not displayed */
	// Defines which gateway deployment to use as the Ingress controller. This field corresponds to
	// the Gateway.selector field, and will be set as `istio: INGRESS_SELECTOR`.
	// By default, `ingressgateway` is used, which will select the default IngressGateway as it has the
	// `istio: ingressgateway` labels.
	// It is recommended that this is the same value as ingress_service.
	IngressSelector string `protobuf:"bytes,52,opt,name=ingress_selector,json=ingressSelector,proto3" json:"ingress_selector,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"`
	// Format for the proxy access log
	// Empty value results in proxy's default access log format
	AccessLogFormat string `protobuf:"bytes,24,opt,name=access_log_format,json=accessLogFormat,proto3" json:"access_log_format,omitempty"`
	// Encoding for the proxy access log (`TEXT` or `JSON`).
	// Default value is `TEXT`.
	AccessLogEncoding MeshConfig_AccessLogEncoding `` /* 170-byte string literal not displayed */
	// This flag enables Envoy's gRPC Access Log Service.
	// See [Access Log Service](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/grpc/v3/als.proto)
	// for details about Envoy's gRPC Access Log Service API.
	// Default value is `false`.
	EnableEnvoyAccessLogService bool `` /* 150-byte string literal not displayed */
	// This flag disables Envoy Listener logs.
	// See [Listener Access Log](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener.proto#envoy-v3-api-field-config-listener-v3-listener-access-log)
	// Istio Enables Envoy's listener access logs on "NoRoute" response flag.
	// Default value is `false`.
	DisableEnvoyListenerLog bool `` /* 136-byte string literal not displayed */
	// Default proxy config used by gateway and sidecars.
	// 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.
	// On Kubernetes, this can be overridden on individual pods with the `proxy.istio.io/config` annotation.
	DefaultConfig *ProxyConfig `protobuf:"bytes,14,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// Set the default behavior of the sidecar for handling outbound
	// traffic from the application.  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 any unknown
	// traffic originating from the application to its requested
	// destination. Users are strongly encouraged to use ServiceEntries
	// to explicitly declare any external dependencies, instead of using
	// `ALLOW_ANY`, so that traffic to these services can be
	// monitored. Can be overridden at a Sidecar level by setting the
	// `OutboundTrafficPolicy` in the [Sidecar
	// API](https://istio.io/docs/reference/config/networking/sidecar/#OutboundTrafficPolicy).
	// Default mode is `ALLOW_ANY` which means outbound traffic to unknown destinations will be allowed.
	OutboundTrafficPolicy *MeshConfig_OutboundTrafficPolicy `` /* 127-byte string literal not displayed */
	// ConfigSource describes a source of configuration data for networking
	// rules, and other Istio configuration artifacts. Multiple data sources
	// can be configured for a single control plane.
	ConfigSources []*ConfigSource `protobuf:"bytes,22,rep,name=config_sources,json=configSources,proto3" json:"config_sources,omitempty"`
	// This flag is used to enable mutual `TLS` automatically for service to service communication
	// within the mesh, default true.
	// If set to true, and a given service does not have a corresponding `DestinationRule` configured,
	// or its `DestinationRule` does not have ClientTLSSettings specified, Istio configures client side
	// TLS configuration appropriately. More specifically,
	// If the upstream authentication policy is in `STRICT` mode, use Istio provisioned certificate
	// for mutual `TLS` to connect to upstream.
	// If upstream service is in plain text mode, use plain text.
	// If the upstream authentication policy is in PERMISSIVE mode, Istio configures clients to use
	// mutual `TLS` when server sides are capable of accepting mutual `TLS` traffic.
	// If service `DestinationRule` exists and has `ClientTLSSettings` specified, that is always used instead.
	EnableAutoMtls *wrappers.BoolValue `protobuf:"bytes,43,opt,name=enable_auto_mtls,json=enableAutoMtls,proto3" json:"enable_auto_mtls,omitempty"`
	// The trust domain corresponds to the trust root of a system.
	// Refer to [SPIFFE-ID](https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain)
	TrustDomain string `protobuf:"bytes,26,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
	// The trust domain aliases represent the aliases of `trust_domain`.
	// For example, if we have
	// “`yaml
	// trustDomain: td1
	// trustDomainAliases: ["td2", "td3"]
	// “`
	// Any service with the identity `td1/ns/foo/sa/a-service-account`, `td2/ns/foo/sa/a-service-account`,
	// or `td3/ns/foo/sa/a-service-account` will be treated the same in the Istio mesh.
	TrustDomainAliases []string `protobuf:"bytes,46,rep,name=trust_domain_aliases,json=trustDomainAliases,proto3" json:"trust_domain_aliases,omitempty"`
	// The extra root certificates for workload-to-workload communication.
	// The plugin certificates (the 'cacerts' secret) or self-signed certificates (the 'istio-ca-secret' secret)
	// are automatically added by Istiod.
	// The CA certificate that signs the workload certificates is automatically added by Istio Agent.
	CaCertificates []*MeshConfig_CertificateData `protobuf:"bytes,58,rep,name=ca_certificates,json=caCertificates,proto3" json:"ca_certificates,omitempty"`
	// The default value for the ServiceEntry.export_to field and services
	// imported through container registry integrations, e.g. this applies to
	// Kubernetes Service resources. The value is a list of namespace names and
	// reserved namespace aliases. The allowed namespace aliases are:
	// “`
	// * - All Namespaces
	// . - Current Namespace
	// ~ - No Namespace
	// “`
	// If not set the system will use "*" as the default value which implies that
	// services are exported to all namespaces.
	//
	// `All namespaces` is a reasonable default for implementations that don't
	// need to restrict access or visibility of services across namespace
	// boundaries. If that requirement is present it is generally good practice to
	// make the default `Current namespace` so that services are only visible
	// within their own namespaces by default. Operators can then expand the
	// visibility of services to other namespaces as needed. Use of `No Namespace`
	// is expected to be rare but can have utility for deployments where
	// dependency management needs to be precise even within the scope of a single
	// namespace.
	//
	// For further discussion see the reference documentation for `ServiceEntry`,
	// `Sidecar`, and `Gateway`.
	DefaultServiceExportTo []string `` /* 132-byte string literal not displayed */
	// The default value for the VirtualService.export_to field. Has the same
	// syntax as `default_service_export_to`.
	//
	// If not set the system will use "*" as the default value which implies that
	// virtual services are exported to all namespaces
	DefaultVirtualServiceExportTo []string `` /* 155-byte string literal not displayed */
	// The default value for the `DestinationRule.export_to` field. Has the same
	// syntax as `default_service_export_to`.
	//
	// If not set the system will use "*" as the default value which implies that
	// destination rules are exported to all namespaces
	DefaultDestinationRuleExportTo []string `` /* 158-byte string literal not displayed */
	// The namespace to treat as the administrative root namespace for
	// Istio configuration. When processing a leaf namespace Istio will search for
	// declarations in that namespace first and if none are found it will
	// search in the root namespace. Any matching declaration found in the root
	// namespace is processed as if it were declared in the leaf namespace.
	//
	// The precise semantics of this processing are documented on each resource
	// type.
	RootNamespace string `protobuf:"bytes,34,opt,name=root_namespace,json=rootNamespace,proto3" json:"root_namespace,omitempty"`
	// Locality based load balancing distribution or failover settings.
	// If unspecified, locality based load balancing will be enabled by default.
	// However, this requires outlierDetection to actually take effect for a particular
	// service, see https://istio.io/latest/docs/tasks/traffic-management/locality-load-balancing/failover/
	LocalityLbSetting *v1alpha3.LocalityLoadBalancerSetting `protobuf:"bytes,35,opt,name=locality_lb_setting,json=localityLbSetting,proto3" json:"locality_lb_setting,omitempty"`
	// Configures DNS refresh rate for Envoy clusters of type `STRICT_DNS`
	// Default refresh rate is `60s`.
	DnsRefreshRate *duration.Duration `protobuf:"bytes,36,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
	// Specify if http1.1 connections should be upgraded to http2 by default.
	// if sidecar is installed on all pods in the mesh, then this should be set to `UPGRADE`.
	// If one or more services or namespaces do not have sidecar(s), then this should be set to `DO_NOT_UPGRADE`.
	// It can be enabled by destination using the `destinationRule.trafficPolicy.connectionPool.http.h2UpgradePolicy` override.
	H2UpgradePolicy MeshConfig_H2UpgradePolicy `` /* 162-byte string literal not displayed */
	// Name to be used while emitting statistics for inbound clusters. The same pattern is used while computing stat prefix for
	// network filters like TCP and Redis.
	// By default, Istio emits statistics with the pattern `inbound|<port>|<port-name>|<service-FQDN>`.
	// For example `inbound|7443|grpc-reviews|reviews.prod.svc.cluster.local`. This can be used to override that pattern.
	//
	// A Pattern can be composed of various pre-defined variables. The following variables are supported.
	//
	// - `%SERVICE%` - Will be substituted with name of the service.
	// - `%SERVICE_FQDN%` - Will be substituted with FQDN of the service.
	// - `%SERVICE_PORT%` - Will be substituted with port of the service.
	// - `%TARGET_PORT%`  - Will be substituted with the target port of the service.
	// - `%SERVICE_PORT_NAME%` - Will be substituted with port name of the service.
	//
	// Following are some examples of supported patterns for reviews:
	//
	// - `%SERVICE_FQDN%_%SERVICE_PORT%` will use reviews.prod.svc.cluster.local_7443 as the stats name.
	// - `%SERVICE%` will use reviews.prod as the stats name.
	InboundClusterStatName string `` /* 132-byte string literal not displayed */
	// Name to be used while emitting statistics for outbound clusters. The same pattern is used while computing stat prefix for
	// network filters like TCP and Redis.
	// By default, Istio emits statistics with the pattern `outbound|<port>|<subsetname>|<service-FQDN>`.
	// For example `outbound|8080|v2|reviews.prod.svc.cluster.local`. This can be used to override that pattern.
	//
	// A Pattern can be composed of various pre-defined variables. The following variables are supported.
	//
	// - `%SERVICE%` - Will be substituted with name of the service.
	// - `%SERVICE_FQDN%` - Will be substituted with FQDN of the service.
	// - `%SERVICE_PORT%` - Will be substituted with port of the service.
	// - `%SERVICE_PORT_NAME%` - Will be substituted with port name of the service.
	// - `%SUBSET_NAME%` - Will be substituted with subset.
	//
	// Following are some examples of supported patterns for reviews:
	//
	// - `%SERVICE_FQDN%_%SERVICE_PORT%` will use `reviews.prod.svc.cluster.local_7443` as the stats name.
	// - `%SERVICE%` will use reviews.prod as the stats name.
	OutboundClusterStatName string `` /* 135-byte string literal not displayed */
	// $hide_from_docs
	// Configure the provision of certificates.
	//
	// Note: Deprecated, please refer to Cert-Manager or other cert provisioning solutions to sign DNS certificates.
	Certificates []*Certificate `protobuf:"bytes,47,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// $hide_from_docs
	// Settings to be applied to select services.
	ServiceSettings []*MeshConfig_ServiceSettings `protobuf:"bytes,50,rep,name=service_settings,json=serviceSettings,proto3" json:"service_settings,omitempty"`
	// If enabled, Istio agent will merge metrics exposed by the application with metrics from Envoy
	// and Istio agent. The sidecar injection will replace `prometheus.io` annotations present on the pod
	// and redirect them towards Istio agent, which will then merge metrics of from the application with Istio metrics.
	// This relies on the annotations `prometheus.io/scrape`, `prometheus.io/port`, and
	// `prometheus.io/path` annotations.
	// If you are running a separately managed Envoy with an Istio sidecar, this may cause issues, as the metrics will collide.
	// In this case, it is recommended to disable aggregation on that deployment with the
	// `prometheus.istio.io/merge-metrics: "false"` annotation.
	// If not specified, this will be enabled by default.
	EnablePrometheusMerge *wrappers.BoolValue `` /* 127-byte string literal not displayed */
	// $hide_from_docs
	// `VerifyCertificateAtClient` sets the mesh global default for peer certificate validation
	// at the client-side proxy when `SIMPLE` TLS or `MUTUAL` TLS (non `ISTIO_MUTUAL`) origination
	// modes are used. This setting can be overridden at the host level via DestinationRule API.
	// By default, `VerifyCertificateAtClient` is `true`.
	//
	// `CaCertificates`: If set, proxy verifies CA signature based on given CaCertificates. If unset,
	// and VerifyCertificateAtClient is true, proxy uses default System CA bundle. If unset and
	// `VerifyCertificateAtClient` is false, proxy will not verify the CA.
	//
	// `SubjectAltNames`: If set, proxy verifies subject alt names are present in the SAN. If unset,
	// and `VerifyCertificateAtClient` is true, proxy uses host in destination rule to verify the SANs.
	// If unset, and `VerifyCertificateAtClient` is false, proxy does not verify SANs.
	//
	// For SAN, client-side proxy will exact match host in `DestinationRule` as well as one level
	// wildcard if the specified host in DestinationRule doesn't contain a wildcard.
	// For example, if the host in `DestinationRule` is `x.y.com`, client-side proxy will
	// match either `x.y.com` or `*.y.com` for the SAN in the presented server certificate.
	// For wildcard host name in DestinationRule, client-side proxy will do a suffix match. For example,
	// if host is `*.x.y.com`, client-side proxy will verify the presented server certificate SAN matches
	// “.x.y.com` suffix.
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	VerifyCertificateAtClient *wrappers.BoolValue `` /* 141-byte string literal not displayed */
	// $hide_from_docs
	// If specified, Istiod will authorize and forward the CSRs from the workloads to the specified external CA
	// using the Istio CA gRPC API.
	Ca *MeshConfig_CA `protobuf:"bytes,55,opt,name=ca,proto3" json:"ca,omitempty"`
	// Defines a list of extension providers that extend Istio's functionality. For example, the AuthorizationPolicy
	// can be used with an extension provider to delegate the authorization decision to a custom authorization system.
	ExtensionProviders []*MeshConfig_ExtensionProvider `protobuf:"bytes,57,rep,name=extension_providers,json=extensionProviders,proto3" json:"extension_providers,omitempty"`
	// Specifies extension providers to use by default in Istio configuration resources.
	DefaultProviders *MeshConfig_DefaultProviders `protobuf:"bytes,60,opt,name=default_providers,json=defaultProviders,proto3" json:"default_providers,omitempty"`
	// A list of Kubernetes selectors that specify the set of namespaces that Istio considers when
	// computing configuration updates for sidecars. This can be used to reduce Istio's computational load
	// by limiting the number of entities (including services, pods, and endpoints) that are watched and processed.
	// If omitted, Istio will use the default behavior of processing all namespaces in the cluster.
	// Elements in the list are disjunctive (OR semantics), i.e. a namespace will be included if it matches any selector.
	// The following example selects any namespace that matches either below:
	// 1. The namespace has both of these labels: `env: prod` and `region: us-east1`
	// 2. The namespace has label `app` equal to `cassandra` or `spark`.
	// “`yaml
	// discoverySelectors:
	//   - matchLabels:
	//     env: prod
	//     region: us-east1
	//   - matchExpressions:
	//   - key: app
	//     operator: In
	//     values:
	//   - cassandra
	//   - spark
	//
	// “`
	// Refer to the [Kubernetes selector docs](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors)
	// for additional detail on selector semantics.
	DiscoverySelectors []*v1.LabelSelector `protobuf:"bytes,59,rep,name=discovery_selectors,json=discoverySelectors,proto3" json:"discovery_selectors,omitempty"`
	// ProxyPathNormalization configures how URL paths in incoming and outgoing HTTP requests are
	// normalized by the sidecars and gateways.
	// The normalized paths will be used in all aspects through the requests' lifetime on the
	// sidecars and gateways, which includes routing decisions in outbound direction (client proxy),
	// authorization policy match and enforcement in inbound direction (server proxy), and the URL
	// path proxied to the upstream service.
	// If not set, the NormalizationType.DEFAULT configuration will be used.
	PathNormalization *MeshConfig_ProxyPathNormalization `protobuf:"bytes,61,opt,name=path_normalization,json=pathNormalization,proto3" json:"path_normalization,omitempty"`
	// Configure the default HTTP retry policy.
	// The default number of retry attempts is set at 2 for these errors:
	//
	//	"connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes".
	//
	// Setting the number of attempts to 0 disables retry policy globally.
	// This setting can be overridden on a per-host basis using the Virtual Service
	// API.
	// All settings in the retry policy except `perTryTimeout` can currently be
	// configured globally via this field.
	DefaultHttpRetryPolicy *v1alpha3.HTTPRetry `` /* 132-byte string literal not displayed */
	// The below configuration parameters can be used to specify TLSConfig for mesh traffic.
	// For example, a user could enable min TLS version for ISTIO_MUTUAL traffic and specify a curve for non ISTIO_MUTUAL traffic like below:
	// “`yaml
	// meshConfig:
	//
	//	meshMTLS:
	//	  minProtocolVersion: TLSV1_3
	//	tlsDefaults:
	//	  Note: applicable only for non ISTIO_MUTUAL scenarios
	//	  ecdhCurves:
	//	    - P-256
	//	    - P-512
	//
	// “`
	// Configuration of mTLS for traffic between workloads with ISTIO_MUTUAL TLS traffic.
	//
	// Note: Mesh mTLS does not respect ECDH curves.
	MeshMTLS *MeshConfig_TLSConfig `protobuf:"bytes,63,opt,name=mesh_mTLS,json=meshMTLS,proto3" json:"mesh_mTLS,omitempty"`
	// Configuration of TLS for all traffic except for ISTIO_MUTUAL mode.
	// Currently, this supports configuration of ecdh_curves and cipher_suites only.
	// For ISTIO_MUTUAL TLS settings, use meshMTLS configuration.
	TlsDefaults *MeshConfig_TLSConfig `protobuf:"bytes,64,opt,name=tls_defaults,json=tlsDefaults,proto3" json:"tls_defaults,omitempty"`
	// contains filtered or unexported fields
}

MeshConfig defines mesh-wide settings for the Istio service mesh.

func (*MeshConfig) Descriptor deprecated

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

Deprecated: Use MeshConfig.ProtoReflect.Descriptor instead.

func (*MeshConfig) GetAccessLogEncoding

func (x *MeshConfig) GetAccessLogEncoding() MeshConfig_AccessLogEncoding

func (*MeshConfig) GetAccessLogFile

func (x *MeshConfig) GetAccessLogFile() string

func (*MeshConfig) GetAccessLogFormat

func (x *MeshConfig) GetAccessLogFormat() string

func (*MeshConfig) GetCa

func (x *MeshConfig) GetCa() *MeshConfig_CA

func (*MeshConfig) GetCaCertificates

func (x *MeshConfig) GetCaCertificates() []*MeshConfig_CertificateData

func (*MeshConfig) GetCertificates

func (x *MeshConfig) GetCertificates() []*Certificate

func (*MeshConfig) GetConfigSources

func (x *MeshConfig) GetConfigSources() []*ConfigSource

func (*MeshConfig) GetConnectTimeout

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

func (*MeshConfig) GetDefaultConfig

func (x *MeshConfig) GetDefaultConfig() *ProxyConfig

func (*MeshConfig) GetDefaultDestinationRuleExportTo

func (x *MeshConfig) GetDefaultDestinationRuleExportTo() []string

func (*MeshConfig) GetDefaultHttpRetryPolicy

func (x *MeshConfig) GetDefaultHttpRetryPolicy() *v1alpha3.HTTPRetry

func (*MeshConfig) GetDefaultProviders

func (x *MeshConfig) GetDefaultProviders() *MeshConfig_DefaultProviders

func (*MeshConfig) GetDefaultServiceExportTo

func (x *MeshConfig) GetDefaultServiceExportTo() []string

func (*MeshConfig) GetDefaultVirtualServiceExportTo

func (x *MeshConfig) GetDefaultVirtualServiceExportTo() []string

func (*MeshConfig) GetDisableEnvoyListenerLog

func (x *MeshConfig) GetDisableEnvoyListenerLog() bool

func (*MeshConfig) GetDiscoverySelectors

func (x *MeshConfig) GetDiscoverySelectors() []*v1.LabelSelector

func (*MeshConfig) GetDnsRefreshRate

func (x *MeshConfig) GetDnsRefreshRate() *duration.Duration

func (*MeshConfig) GetEnableAutoMtls

func (x *MeshConfig) GetEnableAutoMtls() *wrappers.BoolValue

func (*MeshConfig) GetEnableEnvoyAccessLogService

func (x *MeshConfig) GetEnableEnvoyAccessLogService() bool

func (*MeshConfig) GetEnablePrometheusMerge

func (x *MeshConfig) GetEnablePrometheusMerge() *wrappers.BoolValue

func (*MeshConfig) GetEnableTracing

func (x *MeshConfig) GetEnableTracing() bool

func (*MeshConfig) GetExtensionProviders

func (x *MeshConfig) GetExtensionProviders() []*MeshConfig_ExtensionProvider

func (*MeshConfig) GetH2UpgradePolicy

func (x *MeshConfig) GetH2UpgradePolicy() MeshConfig_H2UpgradePolicy

func (*MeshConfig) GetInboundClusterStatName

func (x *MeshConfig) GetInboundClusterStatName() string

func (*MeshConfig) GetIngressClass

func (x *MeshConfig) GetIngressClass() string

func (*MeshConfig) GetIngressControllerMode

func (x *MeshConfig) GetIngressControllerMode() MeshConfig_IngressControllerMode

func (*MeshConfig) GetIngressSelector

func (x *MeshConfig) GetIngressSelector() string

func (*MeshConfig) GetIngressService

func (x *MeshConfig) GetIngressService() string

func (*MeshConfig) GetLocalityLbSetting

func (x *MeshConfig) GetLocalityLbSetting() *v1alpha3.LocalityLoadBalancerSetting

func (*MeshConfig) GetMeshMTLS

func (x *MeshConfig) GetMeshMTLS() *MeshConfig_TLSConfig

func (*MeshConfig) GetOutboundClusterStatName

func (x *MeshConfig) GetOutboundClusterStatName() string

func (*MeshConfig) GetOutboundTrafficPolicy

func (x *MeshConfig) GetOutboundTrafficPolicy() *MeshConfig_OutboundTrafficPolicy

func (*MeshConfig) GetPathNormalization

func (x *MeshConfig) GetPathNormalization() *MeshConfig_ProxyPathNormalization

func (*MeshConfig) GetProtocolDetectionTimeout

func (x *MeshConfig) GetProtocolDetectionTimeout() *duration.Duration

func (*MeshConfig) GetProxyHttpPort

func (x *MeshConfig) GetProxyHttpPort() int32

func (*MeshConfig) GetProxyInboundListenPort

func (x *MeshConfig) GetProxyInboundListenPort() int32

func (*MeshConfig) GetProxyListenPort

func (x *MeshConfig) GetProxyListenPort() int32

func (*MeshConfig) GetRootNamespace

func (x *MeshConfig) GetRootNamespace() string

func (*MeshConfig) GetServiceSettings

func (x *MeshConfig) GetServiceSettings() []*MeshConfig_ServiceSettings

func (*MeshConfig) GetTlsDefaults

func (x *MeshConfig) GetTlsDefaults() *MeshConfig_TLSConfig

func (*MeshConfig) GetTrustDomain

func (x *MeshConfig) GetTrustDomain() string

func (*MeshConfig) GetTrustDomainAliases

func (x *MeshConfig) GetTrustDomainAliases() []string

func (*MeshConfig) GetVerifyCertificateAtClient deprecated

func (x *MeshConfig) GetVerifyCertificateAtClient() *wrappers.BoolValue

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig) ProtoMessage

func (*MeshConfig) ProtoMessage()

func (*MeshConfig) ProtoReflect

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

func (*MeshConfig) Reset

func (x *MeshConfig) Reset()

func (*MeshConfig) String

func (x *MeshConfig) String() string

type MeshConfig_AccessLogEncoding

type MeshConfig_AccessLogEncoding int32
const (
	// text encoding for the proxy access log
	MeshConfig_TEXT MeshConfig_AccessLogEncoding = 0
	// json encoding for the proxy access log
	MeshConfig_JSON MeshConfig_AccessLogEncoding = 1
)

func (MeshConfig_AccessLogEncoding) Descriptor

func (MeshConfig_AccessLogEncoding) Enum

func (MeshConfig_AccessLogEncoding) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_AccessLogEncoding.Descriptor instead.

func (MeshConfig_AccessLogEncoding) Number

func (MeshConfig_AccessLogEncoding) String

func (MeshConfig_AccessLogEncoding) Type

type MeshConfig_AuthPolicy

type MeshConfig_AuthPolicy int32

$hide_from_docs

const (
	MeshConfig_NONE       MeshConfig_AuthPolicy = 0
	MeshConfig_MUTUAL_TLS MeshConfig_AuthPolicy = 1
)

func (MeshConfig_AuthPolicy) Descriptor

func (MeshConfig_AuthPolicy) Enum

func (MeshConfig_AuthPolicy) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_AuthPolicy.Descriptor instead.

func (MeshConfig_AuthPolicy) Number

func (MeshConfig_AuthPolicy) String

func (x MeshConfig_AuthPolicy) String() string

func (MeshConfig_AuthPolicy) Type

type MeshConfig_CA

type MeshConfig_CA struct {

	// REQUIRED. Address of the CA server implementing the Istio CA gRPC API.
	// Can be IP address or a fully qualified DNS name with port
	// Eg: custom-ca.default.svc.cluster.local:8932, 192.168.23.2:9000
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Use the tls_settings to specify the tls mode to use.
	// Regarding tls_settings:
	// - DISABLE MODE is legitimate for the case Istiod is making the request via an Envoy sidecar.
	// DISABLE MODE can also be used for testing
	// - TLS MUTUAL MODE be on by default. If the CA certificates
	// (cert bundle to verify the CA server's certificate) is omitted, Istiod will
	// use the system root certs to verify the CA server's certificate.
	TlsSettings *v1alpha3.ClientTLSSettings `protobuf:"bytes,2,opt,name=tls_settings,json=tlsSettings,proto3" json:"tls_settings,omitempty"`
	// timeout for forward CSR requests from Istiod to External CA
	// Default: 10s
	RequestTimeout *duration.Duration `protobuf:"bytes,3,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// Use istiod_side to specify CA Server integrate to Istiod side or Agent side
	// Default: true
	IstiodSide bool `protobuf:"varint,4,opt,name=istiod_side,json=istiodSide,proto3" json:"istiod_side,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshConfig_CA) Descriptor deprecated

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

Deprecated: Use MeshConfig_CA.ProtoReflect.Descriptor instead.

func (*MeshConfig_CA) GetAddress

func (x *MeshConfig_CA) GetAddress() string

func (*MeshConfig_CA) GetIstiodSide

func (x *MeshConfig_CA) GetIstiodSide() bool

func (*MeshConfig_CA) GetRequestTimeout

func (x *MeshConfig_CA) GetRequestTimeout() *duration.Duration

func (*MeshConfig_CA) GetTlsSettings

func (x *MeshConfig_CA) GetTlsSettings() *v1alpha3.ClientTLSSettings

func (*MeshConfig_CA) ProtoMessage

func (*MeshConfig_CA) ProtoMessage()

func (*MeshConfig_CA) ProtoReflect

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

func (*MeshConfig_CA) Reset

func (x *MeshConfig_CA) Reset()

func (*MeshConfig_CA) String

func (x *MeshConfig_CA) String() string

type MeshConfig_CertificateData

type MeshConfig_CertificateData struct {

	// Types that are assignable to CertificateData:
	//
	//	*MeshConfig_CertificateData_Pem
	//	*MeshConfig_CertificateData_SpiffeBundleUrl
	CertificateData isMeshConfig_CertificateData_CertificateData `protobuf_oneof:"certificate_data"`
	// Optional. Specify the kubernetes signers (External CA) that use this trustAnchor
	// when Istiod is acting as RA(registration authority)
	// If set, they are used for these signers. Otherwise, this trustAnchor is used for all signers.
	CertSigners []string `protobuf:"bytes,3,rep,name=cert_signers,json=certSigners,proto3" json:"cert_signers,omitempty"`
	// Optional. Specify the list of trust domains to which this trustAnchor data belongs.
	// If set, they are used for these trust domains. Otherwise, this trustAnchor is used for default trust domain
	// and its aliases.
	// Note that we can have multiple trustAnchor data for a same trust_domain.
	// In that case, trustAnchors with a same trust domain will be merged and used together to verify peer certificates.
	// If neither cert_signers nor trust_domains is set, this trustAnchor is used for all trust domains and all signers.
	// If only trust_domains is set, this trustAnchor is used for these trust_domains and all signers.
	// If only cert_signers is set, this trustAnchor is used for these cert_signers and all trust domains.
	// If both cert_signers and trust_domains is set, this trustAnchor is only used for these signers and trust domains.
	TrustDomains []string `protobuf:"bytes,4,rep,name=trust_domains,json=trustDomains,proto3" json:"trust_domains,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshConfig_CertificateData) Descriptor deprecated

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

Deprecated: Use MeshConfig_CertificateData.ProtoReflect.Descriptor instead.

func (*MeshConfig_CertificateData) GetCertSigners

func (x *MeshConfig_CertificateData) GetCertSigners() []string

func (*MeshConfig_CertificateData) GetCertificateData

func (m *MeshConfig_CertificateData) GetCertificateData() isMeshConfig_CertificateData_CertificateData

func (*MeshConfig_CertificateData) GetPem

func (x *MeshConfig_CertificateData) GetPem() string

func (*MeshConfig_CertificateData) GetSpiffeBundleUrl

func (x *MeshConfig_CertificateData) GetSpiffeBundleUrl() string

func (*MeshConfig_CertificateData) GetTrustDomains

func (x *MeshConfig_CertificateData) GetTrustDomains() []string

func (*MeshConfig_CertificateData) ProtoMessage

func (*MeshConfig_CertificateData) ProtoMessage()

func (*MeshConfig_CertificateData) ProtoReflect

func (*MeshConfig_CertificateData) Reset

func (x *MeshConfig_CertificateData) Reset()

func (*MeshConfig_CertificateData) String

func (x *MeshConfig_CertificateData) String() string

type MeshConfig_CertificateData_Pem

type MeshConfig_CertificateData_Pem struct {
	// The PEM data of the certificate.
	Pem string `protobuf:"bytes,1,opt,name=pem,proto3,oneof"`
}

type MeshConfig_CertificateData_SpiffeBundleUrl

type MeshConfig_CertificateData_SpiffeBundleUrl struct {
	// The SPIFFE bundle endpoint URL that complies to:
	// https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE_Trust_Domain_and_Bundle.md#the-spiffe-trust-domain-and-bundle
	// The endpoint should support authentication based on Web PKI:
	// https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE_Trust_Domain_and_Bundle.md#521-web-pki
	// The certificate is retrieved from the endpoint.
	SpiffeBundleUrl string `protobuf:"bytes,2,opt,name=spiffe_bundle_url,json=spiffeBundleUrl,proto3,oneof"`
}

type MeshConfig_DefaultProviders

type MeshConfig_DefaultProviders struct {

	// Name of the default provider(s) for tracing.
	Tracing []string `protobuf:"bytes,1,rep,name=tracing,proto3" json:"tracing,omitempty"`
	// Name of the default provider(s) for metrics.
	Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// Name of the default provider(s) for access logging.
	AccessLogging []string `protobuf:"bytes,3,rep,name=access_logging,json=accessLogging,proto3" json:"access_logging,omitempty"`
	// contains filtered or unexported fields
}

Holds the name references to the providers that will be used by default in other Istio configuration resources if the provider is not specified.

These names must match a provider defined in `extension_providers` that is one of the supported tracing providers.

func (*MeshConfig_DefaultProviders) Descriptor deprecated

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

Deprecated: Use MeshConfig_DefaultProviders.ProtoReflect.Descriptor instead.

func (*MeshConfig_DefaultProviders) GetAccessLogging

func (x *MeshConfig_DefaultProviders) GetAccessLogging() []string

func (*MeshConfig_DefaultProviders) GetMetrics

func (x *MeshConfig_DefaultProviders) GetMetrics() []string

func (*MeshConfig_DefaultProviders) GetTracing

func (x *MeshConfig_DefaultProviders) GetTracing() []string

func (*MeshConfig_DefaultProviders) ProtoMessage

func (*MeshConfig_DefaultProviders) ProtoMessage()

func (*MeshConfig_DefaultProviders) ProtoReflect

func (*MeshConfig_DefaultProviders) Reset

func (x *MeshConfig_DefaultProviders) Reset()

func (*MeshConfig_DefaultProviders) String

func (x *MeshConfig_DefaultProviders) String() string

type MeshConfig_ExtensionProvider

type MeshConfig_ExtensionProvider struct {

	// REQUIRED. A unique name identifying the extension provider.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// REQUIRED. Specifies detailed configuration for the extension provider.
	//
	// Types that are assignable to Provider:
	//
	//	*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp
	//	*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc
	//	*MeshConfig_ExtensionProvider_Zipkin
	//	*MeshConfig_ExtensionProvider_Lightstep
	//	*MeshConfig_ExtensionProvider_Datadog
	//	*MeshConfig_ExtensionProvider_Stackdriver
	//	*MeshConfig_ExtensionProvider_Opencensus
	//	*MeshConfig_ExtensionProvider_Skywalking
	//	*MeshConfig_ExtensionProvider_Opentelemetry
	//	*MeshConfig_ExtensionProvider_Prometheus
	//	*MeshConfig_ExtensionProvider_EnvoyFileAccessLog
	//	*MeshConfig_ExtensionProvider_EnvoyHttpAls
	//	*MeshConfig_ExtensionProvider_EnvoyTcpAls
	//	*MeshConfig_ExtensionProvider_EnvoyOtelAls
	Provider isMeshConfig_ExtensionProvider_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider) Descriptor deprecated

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

Deprecated: Use MeshConfig_ExtensionProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider) GetDatadog

func (*MeshConfig_ExtensionProvider) GetEnvoyFileAccessLog

func (*MeshConfig_ExtensionProvider) GetEnvoyHttpAls

func (*MeshConfig_ExtensionProvider) GetEnvoyOtelAls

func (*MeshConfig_ExtensionProvider) GetEnvoyTcpAls

func (*MeshConfig_ExtensionProvider) GetLightstep deprecated

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig_ExtensionProvider) GetName

func (x *MeshConfig_ExtensionProvider) GetName() string

func (*MeshConfig_ExtensionProvider) GetOpencensus

func (*MeshConfig_ExtensionProvider) GetOpentelemetry

func (*MeshConfig_ExtensionProvider) GetPrometheus

func (*MeshConfig_ExtensionProvider) GetProvider

func (m *MeshConfig_ExtensionProvider) GetProvider() isMeshConfig_ExtensionProvider_Provider

func (*MeshConfig_ExtensionProvider) GetSkywalking

func (*MeshConfig_ExtensionProvider) GetStackdriver

func (*MeshConfig_ExtensionProvider) GetZipkin

func (*MeshConfig_ExtensionProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider) ProtoMessage()

func (*MeshConfig_ExtensionProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider) Reset

func (x *MeshConfig_ExtensionProvider) Reset()

func (*MeshConfig_ExtensionProvider) String

type MeshConfig_ExtensionProvider_Datadog

type MeshConfig_ExtensionProvider_Datadog struct {
	// Configures a Datadog tracing provider.
	Datadog *MeshConfig_ExtensionProvider_DatadogTracingProvider `protobuf:"bytes,6,opt,name=datadog,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_DatadogTracingProvider

type MeshConfig_ExtensionProvider_DatadogTracingProvider struct {

	// REQUIRED. Specifies the service for the Datadog agent.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "datadog.default.svc.cluster.local" or "bar/datadog.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,3,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for a Datadog tracer.

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_DatadogTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) String

type MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc

type MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc struct {
	// Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API.
	EnvoyExtAuthzGrpc *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider `protobuf:"bytes,3,opt,name=envoy_ext_authz_grpc,json=envoyExtAuthzGrpc,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp

type MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp struct {
	// Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the HTTP API.
	EnvoyExtAuthzHttp *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider `protobuf:"bytes,2,opt,name=envoy_ext_authz_http,json=envoyExtAuthzHttp,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider struct {

	// REQUIRED. Specifies the service that implements the Envoy ext_authz gRPC authorization service.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "my-ext-authz.foo.svc.cluster.local" or "bar/my-ext-authz.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// The maximum duration that the proxy will wait for a response from the provider, this is the timeout for a specific request (default timeout: 600s).
	// When this timeout condition is met, the proxy marks the communication to the authorization service as failure.
	// In this situation, the response sent back to the client will depend on the configured `fail_open` field.
	Timeout *duration.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// If true, the HTTP request or TCP connection will be allowed even if the communication with the authorization service has failed,
	// or if the authorization service has returned a HTTP 5xx error.
	// Default is false. For HTTP request, it will be rejected with 403 (HTTP Forbidden). For TCP connection, it will be closed immediately.
	FailOpen bool `protobuf:"varint,3,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"`
	// Sets the HTTP status that is returned to the client when there is a network error to the authorization service.
	// The default status is "403" (HTTP Forbidden).
	StatusOnError string `protobuf:"bytes,4,opt,name=status_on_error,json=statusOnError,proto3" json:"status_on_error,omitempty"`
	// If set, the client request body will be included in the authorization request sent to the authorization service.
	IncludeRequestBodyInCheck *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetFailOpen

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetIncludeRequestBodyInCheck

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetPort

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetService

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetStatusOnError

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) GetTimeout

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) String

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider struct {

	// REQUIRED. Specifies the service that implements the Envoy ext_authz HTTP authorization service.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "my-ext-authz.foo.svc.cluster.local" or "bar/my-ext-authz.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// The maximum duration that the proxy will wait for a response from the provider (default timeout: 600s).
	// When this timeout condition is met, the proxy marks the communication to the authorization service as failure.
	// In this situation, the response sent back to the client will depend on the configured `fail_open` field.
	Timeout *duration.Duration `protobuf:"bytes,9,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Sets a prefix to the value of authorization request header *Path*.
	// For example, setting this to "/check" for an original user request at path "/admin" will cause the
	// authorization check request to be sent to the authorization service at the path "/check/admin" instead of "/admin".
	PathPrefix string `protobuf:"bytes,3,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	// If true, the user request will be allowed even if the communication with the authorization service has failed,
	// or if the authorization service has returned a HTTP 5xx error.
	// Default is false and the request will be rejected with "Forbidden" response.
	FailOpen bool `protobuf:"varint,4,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"`
	// Sets the HTTP status that is returned to the client when there is a network error to the authorization service.
	// The default status is "403" (HTTP Forbidden).
	StatusOnError string `protobuf:"bytes,5,opt,name=status_on_error,json=statusOnError,proto3" json:"status_on_error,omitempty"`
	// DEPRECATED. Use include_request_headers_in_check instead.
	IncludeHeadersInCheck []string `` /* 128-byte string literal not displayed */
	// List of client request headers that should be included in the authorization request sent to the authorization service.
	// Note that in addition to the headers specified here following headers are included by default:
	// 1. *Host*, *Method*, *Path* and *Content-Length* are automatically sent.
	// 2. *Content-Length* will be set to 0 and the request will not have a message body. However, the authorization
	// request can include the buffered client request body (controlled by include_request_body_in_check setting),
	// consequently the value of Content-Length of the authorization request reflects the size of its payload size.
	//
	// Exact, prefix and suffix matches are supported (similar to the
	// [authorization policy rule syntax](https://istio.io/latest/docs/reference/config/security/authorization-policy/#Rule)
	// except the presence match):
	// - Exact match: "abc" will match on value "abc".
	// - Prefix match: "abc*" will match on value "abc" and "abcd".
	// - Suffix match: "*abc" will match on value "abc" and "xabc".
	IncludeRequestHeadersInCheck []string `` /* 152-byte string literal not displayed */
	// Set of additional fixed headers that should be included in the authorization request sent to the authorization service.
	// Key is the header name and value is the header value.
	// Note that client request of the same key or headers specified in include_request_headers_in_check will be overridden.
	IncludeAdditionalHeadersInCheck map[string]string `` /* 249-byte string literal not displayed */
	// If set, the client request body will be included in the authorization request sent to the authorization service.
	IncludeRequestBodyInCheck *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody `` /* 143-byte string literal not displayed */
	// List of headers from the authorization service that should be added or overridden in the original request and
	// forwarded to the upstream when the authorization check result is allowed (HTTP code 200).
	// If not specified, the original request will not be modified and forwarded to backend as-is.
	// Note, any existing headers will be overridden.
	//
	// Exact, prefix and suffix matches are supported (similar to the
	// [authorization policy rule syntax](https://istio.io/latest/docs/reference/config/security/authorization-policy/#Rule)
	// except the presence match):
	// - Exact match: "abc" will match on value "abc".
	// - Prefix match: "abc*" will match on value "abc" and "abcd".
	// - Suffix match: "*abc" will match on value "abc" and "xabc".
	HeadersToUpstreamOnAllow []string `` /* 139-byte string literal not displayed */
	// List of headers from the authorization service that should be forwarded to downstream when the authorization
	// check result is not allowed (HTTP code other than 200).
	// If not specified, all the authorization response headers, except *Authority (Host)* will be in the response to
	// the downstream.
	// When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are
	// automatically added.
	// Note, the body from the authorization service is always included in the response to downstream.
	//
	// Exact, prefix and suffix matches are supported (similar to the
	// [authorization policy rule syntax](https://istio.io/latest/docs/reference/config/security/authorization-policy/#Rule)
	// except the presence match):
	// - Exact match: "abc" will match on value "abc".
	// - Prefix match: "abc*" will match on value "abc" and "abcd".
	// - Suffix match: "*abc" will match on value "abc" and "xabc".
	HeadersToDownstreamOnDeny []string `` /* 142-byte string literal not displayed */
	// List of headers from the authorization service that should be forwarded to downstream when the authorization
	// check result is allowed (HTTP code 200).
	// If not specified, the original response will not be modified and forwarded to downstream as-is.
	// Note, any existing headers will be overridden.
	//
	// Exact, prefix and suffix matches are supported (similar to the
	// [authorization policy rule syntax](https://istio.io/latest/docs/reference/config/security/authorization-policy/#Rule)
	// except the presence match):
	// - Exact match: "abc" will match on value "abc".
	// - Prefix match: "abc*" will match on value "abc" and "abcd".
	// - Suffix match: "*abc" will match on value "abc" and "xabc".
	HeadersToDownstreamOnAllow []string `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetFailOpen

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetHeadersToDownstreamOnAllow

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetHeadersToDownstreamOnDeny

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetHeadersToUpstreamOnAllow

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeAdditionalHeadersInCheck

func (x *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeAdditionalHeadersInCheck() map[string]string

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeHeadersInCheck

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeRequestBodyInCheck

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeRequestHeadersInCheck

func (x *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetIncludeRequestHeadersInCheck() []string

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetPathPrefix

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetPort

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetService

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetStatusOnError

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) GetTimeout

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) String

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody

type MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody struct {

	// Sets the maximum size of a message body that the ext-authz filter will hold in memory.
	// If max_request_bytes is reached, and allow_partial_message is false, Envoy will return a 413 (Payload Too Large).
	// Otherwise the request will be sent to the provider with a partial message.
	// Note that this setting will have precedence over the fail_open field, the 413 will be returned even when the
	// fail_open is set to true.
	MaxRequestBytes uint32 `protobuf:"varint,1,opt,name=max_request_bytes,json=maxRequestBytes,proto3" json:"max_request_bytes,omitempty"`
	// When this field is true, ext-authz filter will buffer the message until max_request_bytes is reached.
	// The authorization request will be dispatched and no 413 HTTP error will be returned by the filter.
	// A "x-envoy-auth-partial-body: false|true" metadata header will be added to the authorization request message
	// indicating if the body data is partial.
	AllowPartialMessage bool `protobuf:"varint,2,opt,name=allow_partial_message,json=allowPartialMessage,proto3" json:"allow_partial_message,omitempty"`
	// If true, the body sent to the external authorization service in the gRPC authorization request is set with raw bytes
	// in the [raw_body field](https://github.com/envoyproxy/envoy/blame/cffb095d59d7935abda12b9509bcd136808367bb/api/envoy/service/auth/v3/attribute_context.proto#L153).
	// Otherwise, it will be filled with UTF-8 string in the [body field](https://github.com/envoyproxy/envoy/blame/cffb095d59d7935abda12b9509bcd136808367bb/api/envoy/service/auth/v3/attribute_context.proto#L147).
	// This field only works with the envoy_ext_authz_grpc provider and has no effect for the envoy_ext_authz_http provider.
	PackAsBytes bool `protobuf:"varint,3,opt,name=pack_as_bytes,json=packAsBytes,proto3" json:"pack_as_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) GetAllowPartialMessage

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) GetMaxRequestBytes

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) GetPackAsBytes

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) Reset

func (*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationRequestBody) String

type MeshConfig_ExtensionProvider_EnvoyFileAccessLog

type MeshConfig_ExtensionProvider_EnvoyFileAccessLog struct {
	// Configures an Envoy File Access Log provider.
	EnvoyFileAccessLog *MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider `protobuf:"bytes,11,opt,name=envoy_file_access_log,json=envoyFileAccessLog,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider struct {

	// Path to a local file to write the access log entries.
	// This may be used to write to streams, via `/dev/stderr` and `/dev/stdout`
	// If unspecified, defaults to `/dev/stdout`.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. Allows overriding of the default access log format.
	LogFormat *MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat `protobuf:"bytes,2,opt,name=log_format,json=logFormat,proto3" json:"log_format,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for Envoy-based access logging that writes to local files (and/or standard streams).

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) GetLogFormat

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) GetPath

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) String

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat struct {

	// Types that are assignable to LogFormat:
	//
	//	*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Text
	//	*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Labels
	LogFormat isMeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_LogFormat `protobuf_oneof:"log_format"`
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) GetLabels

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) GetLogFormat

func (m *MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) GetLogFormat() isMeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_LogFormat

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) GetText

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) Reset

func (*MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat) String

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Labels

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Labels struct {
	// JSON structured format for the envoy access logs. Envoy [command operators](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators)
	// can be used as values for fields within the Struct. Values are rendered
	// as strings, numbers, or boolean values, as appropriate
	// (see: [format dictionaries](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#config-access-log-format-dictionaries)). Nested JSON is
	// supported for some command operators (e.g. `FILTER_STATE` or `DYNAMIC_METADATA`).
	// Use `labels: {}` for default envoy JSON log format.
	//
	// Example:
	// “`
	// labels:
	//
	//	status: "%RESPONSE_CODE%"
	//	message: "%LOCAL_REPLY_BODY%"
	//
	// “`
	Labels *_struct.Struct `protobuf:"bytes,2,opt,name=labels,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Text

type MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider_LogFormat_Text struct {
	// Textual format for the envoy access logs. Envoy [command operators](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators) may be
	// used in the format. The [format string documentation](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#config-access-log-format-strings)
	// provides more information.
	//
	// NOTE: Istio will insert a newline ('\n') on all formats (if missing).
	//
	// Example: `text: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%"`
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyHttpAls

type MeshConfig_ExtensionProvider_EnvoyHttpAls struct {
	// Configures an Envoy Access Logging Service provider for HTTP traffic.
	EnvoyHttpAls *MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider `protobuf:"bytes,12,opt,name=envoy_http_als,json=envoyHttpAls,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider

type MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider struct {

	// REQUIRED. Specifies the service that implements the Envoy ALS gRPC authorization service.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "envoy-als.foo.svc.cluster.local" or "bar/envoy-als.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. The friendly name of the access log.
	// Defaults:
	// -  "http_envoy_accesslog"
	// -  "listener_envoy_accesslog"
	LogName string `protobuf:"bytes,3,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
	// Optional. Additional filter state objects to log.
	FilterStateObjectsToLog []string `` /* 136-byte string literal not displayed */
	// Optional. Additional request headers to log.
	AdditionalRequestHeadersToLog []string `` /* 154-byte string literal not displayed */
	// Optional. Additional response headers to log.
	AdditionalResponseHeadersToLog []string `` /* 157-byte string literal not displayed */
	// Optional. Additional response trailers to log.
	AdditionalResponseTrailersToLog []string `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines configuration for an Envoy [Access Logging Service](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/grpc/v3/als.proto#grpc-access-log-service-als) integration for HTTP traffic.

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalRequestHeadersToLog

func (x *MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalRequestHeadersToLog() []string

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalResponseHeadersToLog

func (x *MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalResponseHeadersToLog() []string

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalResponseTrailersToLog

func (x *MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetAdditionalResponseTrailersToLog() []string

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetFilterStateObjectsToLog

func (x *MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetFilterStateObjectsToLog() []string

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetLogName

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetPort

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) GetService

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyHttpGrpcV3LogProvider) String

type MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider

type MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider struct {

	// REQUIRED. Specifies the service that implements the Envoy ALS gRPC authorization service.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "envoy-als.foo.svc.cluster.local" or "bar/envoy-als.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. The friendly name of the access log.
	// Defaults:
	// - "otel_envoy_accesslog"
	LogName string `protobuf:"bytes,3,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
	// Optional. Format for the proxy access log
	// Empty value results in proxy's default access log format, following Envoy access logging formatting.
	LogFormat *MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat `protobuf:"bytes,4,opt,name=log_format,json=logFormat,proto3" json:"log_format,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for an Envoy [OpenTelemetry (gRPC) Access Log](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/open_telemetry/v3/logs_service.proto)

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) GetLogFormat

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) GetLogName

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) GetPort

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) GetService

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider) String

type MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat

type MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat struct {

	// Textual format for the envoy access logs. Envoy [command operators](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators) may be
	// used in the format. The [format string documentation](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#config-access-log-format-strings)
	// provides more information.
	// Alias to `body` filed in [Open Telemetry](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/open_telemetry/v3/logs_service.proto)
	// Example: `text: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%"`
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Optional. Additional attributes that describe the specific event occurrence.
	// Structured format for the envoy access logs. Envoy [command operators](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#command-operators)
	// can be used as values for fields within the Struct. Values are rendered
	// as strings, numbers, or boolean values, as appropriate
	// (see: [format dictionaries](https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#config-access-log-format-dictionaries)). Nested JSON is
	// supported for some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA).
	// Alias to `attributes` filed in [Open Telemetry](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/open_telemetry/v3/logs_service.proto)
	//
	// Example:
	// “`
	// labels:
	//
	//	status: "%RESPONSE_CODE%"
	//	message: "%LOCAL_REPLY_BODY%"
	//
	// “`
	Labels *_struct.Struct `protobuf:"bytes,2,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) GetLabels

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) GetText

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) Reset

func (*MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider_LogFormat) String

type MeshConfig_ExtensionProvider_EnvoyOtelAls

type MeshConfig_ExtensionProvider_EnvoyOtelAls struct {
	// Configures an Envoy Open Telemetry Access Logging Service provider.
	EnvoyOtelAls *MeshConfig_ExtensionProvider_EnvoyOpenTelemetryLogProvider `protobuf:"bytes,14,opt,name=envoy_otel_als,json=envoyOtelAls,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyTcpAls

type MeshConfig_ExtensionProvider_EnvoyTcpAls struct {
	// Configures an Envoy Access Logging Service provider for TCP traffic.
	EnvoyTcpAls *MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider `protobuf:"bytes,13,opt,name=envoy_tcp_als,json=envoyTcpAls,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider

type MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider struct {

	// REQUIRED. Specifies the service that implements the Envoy ALS gRPC authorization service.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "envoy-als.foo.svc.cluster.local" or "bar/envoy-als.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. The friendly name of the access log.
	// Defaults:
	// - "tcp_envoy_accesslog"
	// - "listener_envoy_accesslog"
	LogName string `protobuf:"bytes,3,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
	// Optional. Additional filter state objects to log.
	FilterStateObjectsToLog []string `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines configuration for an Envoy [Access Logging Service](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/grpc/v3/als.proto#grpc-access-log-service-als) integration for TCP traffic.

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) GetFilterStateObjectsToLog

func (x *MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) GetFilterStateObjectsToLog() []string

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) GetLogName

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) GetPort

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) GetService

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) Reset

func (*MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) String

type MeshConfig_ExtensionProvider_Lightstep

type MeshConfig_ExtensionProvider_Lightstep struct {
	// $hide_from_docs
	// Configures a Lightstep tracing provider.
	// Deprecated: For Istio 1.15+, please use an OpenTelemetryTracingProvider instead, more details can be found at https://github.com/istio/istio/issues/40027
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	Lightstep *MeshConfig_ExtensionProvider_LightstepTracingProvider `protobuf:"bytes,5,opt,name=lightstep,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_LightstepTracingProvider

type MeshConfig_ExtensionProvider_LightstepTracingProvider struct {

	// REQUIRED. Specifies the service for the Lightstep collector.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "lightstep.default.svc.cluster.local" or "bar/lightstep.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// The Lightstep access token.
	AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,4,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for a Lightstep tracer. Note: Lightstep has moved to OpenTelemetry-based integrations. Istio 1.15+ will generate OpenTelemetry-compatible configuration when using this option.

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_LightstepTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) GetAccessToken

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) String

type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider

type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider struct {

	// REQUIRED. Specifies the service for the OpenCensusAgent.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "ocagent.default.svc.cluster.local" or "bar/ocagent.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Specifies the set of context propagation headers used for distributed
	// tracing. Default is `["W3C_TRACE_CONTEXT"]`. If multiple values are specified,
	// the proxy will attempt to read each header for each request and will
	// write all headers.
	Context []MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext `` /* 173-byte string literal not displayed */
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,4,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for an OpenCensus tracer writing to an OpenCensus backend.

WARNING: OpenCensusAgentTracingProviders should be used with extreme care. Configuration of OpenCensus providers CANNOT be changed during the course of proxy's lifetime due to a limitation in the implementation of OpenCensus driver in Envoy. This means only a single provider configuration may be used for OpenCensus at any given time for a proxy or group of proxies AND that any change to the provider configuration MUST be accompanied by a restart of all proxies that will use that configuration.

NOTE: Stackdriver tracing uses OpenCensus configuration under the hood and, as a result, cannot be used alongside OpenCensus provider configuration.

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetContext

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) String

type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext

type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext int32

TraceContext selects the context propagation headers used for distributed tracing.

const (
	// $hide_from_docs
	// Unspecified context. Should not be used for now, but added to reserve
	// the 0 enum value if TraceContext is used outside of a repeated field.
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_UNSPECIFIED MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 0
	// Use W3C Trace Context propagation using the `traceparent` HTTP header.
	// See the
	// [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details.
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_W3C_TRACE_CONTEXT MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 1
	// Use gRPC binary context propagation using the `grpc-trace-bin` http header.
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_GRPC_BIN MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 2
	// Use Cloud Trace context propagation using the
	// `X-Cloud-Trace-Context` http header.
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_CLOUD_TRACE_CONTEXT MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 3
	// Use multi-header B3 context propagation using the `X-B3-TraceId`,
	// `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See
	// [B3 header propagation README](https://github.com/openzipkin/b3-propagation)
	// for details.
	MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_B3 MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 4
)

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) Descriptor

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) Enum

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) EnumDescriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext.Descriptor instead.

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) Number

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) String

func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) Type

type MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider

type MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider struct {

	// REQUIRED. Specifies the OpenTelemetry endpoint that will receive OTLP traces.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "otlp.default.svc.cluster.local" or "bar/otlp.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,3,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for an OpenTelemetry tracing backend. Istio 1.16.1 or higher is needed.

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider) String

type MeshConfig_ExtensionProvider_Opencensus

type MeshConfig_ExtensionProvider_Opencensus struct {
	// $hide_from_docs
	// Configures an OpenCensusAgent tracing provider.
	// Deprecated: OpenCensus is deprecated, more details can be found at https://opentelemetry.io/blog/2023/sunsetting-opencensus/
	Opencensus *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider `protobuf:"bytes,8,opt,name=opencensus,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_Opentelemetry

type MeshConfig_ExtensionProvider_Opentelemetry struct {
	// Configures an OpenTelemetry tracing provider.
	Opentelemetry *MeshConfig_ExtensionProvider_OpenTelemetryTracingProvider `protobuf:"bytes,15,opt,name=opentelemetry,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_Prometheus

type MeshConfig_ExtensionProvider_Prometheus struct {
	// Configures a Prometheus metrics provider.
	Prometheus *MeshConfig_ExtensionProvider_PrometheusMetricsProvider `protobuf:"bytes,10,opt,name=prometheus,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_PrometheusMetricsProvider

type MeshConfig_ExtensionProvider_PrometheusMetricsProvider struct {
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_PrometheusMetricsProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_PrometheusMetricsProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_PrometheusMetricsProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_PrometheusMetricsProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_PrometheusMetricsProvider) Reset

func (*MeshConfig_ExtensionProvider_PrometheusMetricsProvider) String

type MeshConfig_ExtensionProvider_SkyWalkingTracingProvider

type MeshConfig_ExtensionProvider_SkyWalkingTracingProvider struct {

	// REQUIRED. Specifies the service for the SkyWalking receiver.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "skywalking.default.svc.cluster.local" or "bar/skywalking.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. The SkyWalking OAP access token.
	AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for a SkyWalking tracer.

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_SkyWalkingTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) GetAccessToken

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_SkyWalkingTracingProvider) String

type MeshConfig_ExtensionProvider_Skywalking

type MeshConfig_ExtensionProvider_Skywalking struct {
	// Configures a Apache SkyWalking provider.
	Skywalking *MeshConfig_ExtensionProvider_SkyWalkingTracingProvider `protobuf:"bytes,9,opt,name=skywalking,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_Stackdriver

type MeshConfig_ExtensionProvider_Stackdriver struct {
	// Configures a Stackdriver provider.
	Stackdriver *MeshConfig_ExtensionProvider_StackdriverProvider `protobuf:"bytes,7,opt,name=stackdriver,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_StackdriverProvider

type MeshConfig_ExtensionProvider_StackdriverProvider struct {

	// debug enables trace output to stdout.
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"`
	// The global default max number of attributes per span.
	// default is 200.
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	MaxNumberOfAttributes *wrappers.Int64Value `` /* 128-byte string literal not displayed */
	// The global default max number of annotation events per span.
	// default is 200.
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	MaxNumberOfAnnotations *wrappers.Int64Value `` /* 131-byte string literal not displayed */
	// The global default max number of message events per span.
	// default is 200.
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.
	MaxNumberOfMessageEvents *wrappers.Int64Value `` /* 139-byte string literal not displayed */
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,5,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// Optional. Controls Stackdriver logging behavior.
	Logging *MeshConfig_ExtensionProvider_StackdriverProvider_Logging `protobuf:"bytes,6,opt,name=logging,proto3" json:"logging,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for Stackdriver.

WARNING: Stackdriver tracing uses OpenCensus configuration under the hood and, as a result, cannot be used alongside any OpenCensus provider configuration. This is due to a limitation in the implementation of OpenCensus driver in Envoy.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_StackdriverProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetDebug deprecated

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetLogging

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfAnnotations deprecated

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfAttributes deprecated

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfMessageEvents deprecated

func (x *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfMessageEvents() *wrappers.Int64Value

Deprecated: Marked as deprecated in mesh/v1alpha1/config.proto.

func (*MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_StackdriverProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_StackdriverProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_StackdriverProvider) Reset

func (*MeshConfig_ExtensionProvider_StackdriverProvider) String

type MeshConfig_ExtensionProvider_StackdriverProvider_Logging

type MeshConfig_ExtensionProvider_StackdriverProvider_Logging struct {

	// Collection of tag names and tag expressions to include in the log
	// entry. Conflicts are resolved by the tag name by overriding previously
	// supplied values.
	//
	// Example:
	//
	//	labels:
	//	  path: request.url_path
	//	  foo: request.headers['x-foo']
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_StackdriverProvider_Logging.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) GetLabels

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) ProtoMessage

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) ProtoReflect

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) Reset

func (*MeshConfig_ExtensionProvider_StackdriverProvider_Logging) String

type MeshConfig_ExtensionProvider_Zipkin

type MeshConfig_ExtensionProvider_Zipkin struct {
	// Configures a tracing provider that uses the Zipkin API.
	Zipkin *MeshConfig_ExtensionProvider_ZipkinTracingProvider `protobuf:"bytes,4,opt,name=zipkin,proto3,oneof"`
}

type MeshConfig_ExtensionProvider_ZipkinTracingProvider

type MeshConfig_ExtensionProvider_ZipkinTracingProvider struct {

	// REQUIRED. Specifies the service that the Zipkin API.
	// The format is `[<Namespace>/]<Hostname>`. The specification of `<Namespace>` is required only when it is insufficient
	// to unambiguously resolve a service in the service registry. The `<Hostname>` is a fully qualified host name of a
	// service defined by the Kubernetes service or ServiceEntry.
	//
	// Example: "zipkin.default.svc.cluster.local" or "bar/zipkin.example.com".
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// REQUIRED. Specifies the port of the service.
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Optional. Controls the overall path length allowed in a reported span.
	// NOTE: currently only controls max length of the path tag.
	MaxTagLength uint32 `protobuf:"varint,3,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"`
	// Optional. A 128 bit trace id will be used in Istio.
	// If true, will result in a 64 bit trace id being used.
	Enable_64BitTraceId bool `protobuf:"varint,4,opt,name=enable_64bit_trace_id,json=enable64bitTraceId,proto3" json:"enable_64bit_trace_id,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for a Zipkin tracer.

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) Descriptor deprecated

Deprecated: Use MeshConfig_ExtensionProvider_ZipkinTracingProvider.ProtoReflect.Descriptor instead.

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetEnable_64BitTraceId

func (x *MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetEnable_64BitTraceId() bool

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetMaxTagLength

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetPort

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetService

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) ProtoMessage

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) ProtoReflect

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) Reset

func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) String

type MeshConfig_H2UpgradePolicy

type MeshConfig_H2UpgradePolicy int32

Default Policy for upgrading http1.1 connections to http2.

const (
	// Do not upgrade connections to http2.
	MeshConfig_DO_NOT_UPGRADE MeshConfig_H2UpgradePolicy = 0
	// Upgrade the connections to http2.
	MeshConfig_UPGRADE MeshConfig_H2UpgradePolicy = 1
)

func (MeshConfig_H2UpgradePolicy) Descriptor

func (MeshConfig_H2UpgradePolicy) Enum

func (MeshConfig_H2UpgradePolicy) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_H2UpgradePolicy.Descriptor instead.

func (MeshConfig_H2UpgradePolicy) Number

func (MeshConfig_H2UpgradePolicy) String

func (MeshConfig_H2UpgradePolicy) Type

type MeshConfig_IngressControllerMode

type MeshConfig_IngressControllerMode int32
const (
	// Unspecified Istio ingress controller.
	MeshConfig_UNSPECIFIED MeshConfig_IngressControllerMode = 0
	// Disables Istio ingress controller.
	MeshConfig_OFF MeshConfig_IngressControllerMode = 1
	// 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 = 2
	// 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 = 3
)

func (MeshConfig_IngressControllerMode) Descriptor

func (MeshConfig_IngressControllerMode) Enum

func (MeshConfig_IngressControllerMode) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_IngressControllerMode.Descriptor instead.

func (MeshConfig_IngressControllerMode) Number

func (MeshConfig_IngressControllerMode) String

func (MeshConfig_IngressControllerMode) Type

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"`
	// contains filtered or unexported fields
}

func (*MeshConfig_OutboundTrafficPolicy) Descriptor deprecated

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

Deprecated: Use MeshConfig_OutboundTrafficPolicy.ProtoReflect.Descriptor instead.

func (*MeshConfig_OutboundTrafficPolicy) GetMode

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage()

func (*MeshConfig_OutboundTrafficPolicy) ProtoReflect

func (*MeshConfig_OutboundTrafficPolicy) Reset

func (*MeshConfig_OutboundTrafficPolicy) String

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, in case
	// there are no services or ServiceEntries for the destination port
	MeshConfig_OutboundTrafficPolicy_ALLOW_ANY MeshConfig_OutboundTrafficPolicy_Mode = 1
)

func (MeshConfig_OutboundTrafficPolicy_Mode) Descriptor

func (MeshConfig_OutboundTrafficPolicy_Mode) Enum

func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_OutboundTrafficPolicy_Mode.Descriptor instead.

func (MeshConfig_OutboundTrafficPolicy_Mode) Number

func (MeshConfig_OutboundTrafficPolicy_Mode) String

func (MeshConfig_OutboundTrafficPolicy_Mode) Type

type MeshConfig_ProxyPathNormalization

type MeshConfig_ProxyPathNormalization struct {
	Normalization MeshConfig_ProxyPathNormalization_NormalizationType `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MeshConfig_ProxyPathNormalization) Descriptor deprecated

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

Deprecated: Use MeshConfig_ProxyPathNormalization.ProtoReflect.Descriptor instead.

func (*MeshConfig_ProxyPathNormalization) GetNormalization

func (*MeshConfig_ProxyPathNormalization) ProtoMessage

func (*MeshConfig_ProxyPathNormalization) ProtoMessage()

func (*MeshConfig_ProxyPathNormalization) ProtoReflect

func (*MeshConfig_ProxyPathNormalization) Reset

func (*MeshConfig_ProxyPathNormalization) String

type MeshConfig_ProxyPathNormalization_NormalizationType

type MeshConfig_ProxyPathNormalization_NormalizationType int32
const (
	// Apply default normalizations. Currently, this is BASE.
	MeshConfig_ProxyPathNormalization_DEFAULT MeshConfig_ProxyPathNormalization_NormalizationType = 0
	// No normalization, paths are used as is.
	MeshConfig_ProxyPathNormalization_NONE MeshConfig_ProxyPathNormalization_NormalizationType = 1
	// Normalize according to [RFC 3986](https://tools.ietf.org/html/rfc3986).
	// For Envoy proxies, this is the [`normalize_path`](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto.html) option.
	// For example, `/a/../b` normalizes to `/b`.
	MeshConfig_ProxyPathNormalization_BASE MeshConfig_ProxyPathNormalization_NormalizationType = 2
	// In addition to the `BASE` normalization, consecutive slashes are also merged.
	// For example, `/a//b` normalizes to `a/b`.
	MeshConfig_ProxyPathNormalization_MERGE_SLASHES MeshConfig_ProxyPathNormalization_NormalizationType = 3
	// In addition to normalization in `MERGE_SLASHES`, slash characters are UTF-8 decoded (case insensitive) prior to merging.
	// This means `%2F`, `%2f`, `%5C`, and `%5c` sequences in the request path will be rewritten to `/` or `\`.
	// For example, `/a%2f/b` normalizes to `a/b`.
	MeshConfig_ProxyPathNormalization_DECODE_AND_MERGE_SLASHES MeshConfig_ProxyPathNormalization_NormalizationType = 4
)

func (MeshConfig_ProxyPathNormalization_NormalizationType) Descriptor

func (MeshConfig_ProxyPathNormalization_NormalizationType) Enum

func (MeshConfig_ProxyPathNormalization_NormalizationType) EnumDescriptor deprecated

Deprecated: Use MeshConfig_ProxyPathNormalization_NormalizationType.Descriptor instead.

func (MeshConfig_ProxyPathNormalization_NormalizationType) Number

func (MeshConfig_ProxyPathNormalization_NormalizationType) String

func (MeshConfig_ProxyPathNormalization_NormalizationType) Type

type MeshConfig_ServiceSettings

type MeshConfig_ServiceSettings struct {

	// The settings to apply to the selected services.
	Settings *MeshConfig_ServiceSettings_Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// The services to which the Settings should be applied. Services are selected using the hostname
	// matching rules used by DestinationRule.
	//
	// For example: foo.bar.svc.cluster.local, *.baz.svc.cluster.local
	Hosts []string `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// contains filtered or unexported fields
}

$hide_from_docs Settings to be applied to select services.

For example, the following configures all services in namespace "foo" as well as the "bar" service in namespace "baz" to be considered cluster-local:

```yaml serviceSettings:

  • settings: cluster_local: true hosts:
  • "*.foo.svc.cluster.local"
  • "bar.baz.svc.cluster.local"

```

func (*MeshConfig_ServiceSettings) Descriptor deprecated

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

Deprecated: Use MeshConfig_ServiceSettings.ProtoReflect.Descriptor instead.

func (*MeshConfig_ServiceSettings) GetHosts

func (x *MeshConfig_ServiceSettings) GetHosts() []string

func (*MeshConfig_ServiceSettings) GetSettings

func (*MeshConfig_ServiceSettings) ProtoMessage

func (*MeshConfig_ServiceSettings) ProtoMessage()

func (*MeshConfig_ServiceSettings) ProtoReflect

func (*MeshConfig_ServiceSettings) Reset

func (x *MeshConfig_ServiceSettings) Reset()

func (*MeshConfig_ServiceSettings) String

func (x *MeshConfig_ServiceSettings) String() string

type MeshConfig_ServiceSettings_Settings

type MeshConfig_ServiceSettings_Settings struct {

	// If true, specifies that the client and service endpoints must reside in the same cluster.
	// By default, in multi-cluster deployments, the Istio control plane assumes all service
	// endpoints to be reachable from any client in any of the clusters which are part of the
	// mesh. This configuration option limits the set of service endpoints visible to a client
	// to be cluster scoped.
	//
	// There are some common scenarios when this can be useful:
	//
	//   - A service (or group of services) is inherently local to the cluster and has local storage
	//     for that cluster. For example, the kube-system namespace (e.g. the Kube API Server).
	//   - A mesh administrator wants to slowly migrate services to Istio. They might start by first
	//     having services cluster-local and then slowly transition them to mesh-wide. They could do
	//     this service-by-service (e.g. mysvc.myns.svc.cluster.local) or as a group
	//     (e.g. *.myns.svc.cluster.local).
	//
	// By default Istio will consider kubernetes.default.svc (i.e. the API Server) as well as all
	// services in the kube-system namespace to be cluster-local, unless explicitly overridden here.
	ClusterLocal bool `protobuf:"varint,1,opt,name=cluster_local,json=clusterLocal,proto3" json:"cluster_local,omitempty"`
	// contains filtered or unexported fields
}

Settings for the selected services.

func (*MeshConfig_ServiceSettings_Settings) Descriptor deprecated

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

Deprecated: Use MeshConfig_ServiceSettings_Settings.ProtoReflect.Descriptor instead.

func (*MeshConfig_ServiceSettings_Settings) GetClusterLocal

func (x *MeshConfig_ServiceSettings_Settings) GetClusterLocal() bool

func (*MeshConfig_ServiceSettings_Settings) ProtoMessage

func (*MeshConfig_ServiceSettings_Settings) ProtoMessage()

func (*MeshConfig_ServiceSettings_Settings) ProtoReflect

func (*MeshConfig_ServiceSettings_Settings) Reset

func (*MeshConfig_ServiceSettings_Settings) String

type MeshConfig_TLSConfig

type MeshConfig_TLSConfig struct {

	// Optional: the minimum TLS protocol version. The default minimum
	// TLS version will be TLS 1.2. As servers may not be Envoy and be
	// set to TLS 1.2 (e.g., workloads using mTLS without sidecars), the
	// minimum TLS version for clients may also be TLS 1.2.
	// In the current Istio implementation, the maximum TLS protocol version
	// is TLS 1.3.
	MinProtocolVersion MeshConfig_TLSConfig_TLSProtocol `` /* 176-byte string literal not displayed */
	// Optional: If specified, the TLS connection will only support the specified ECDH curves for the DH key exchange.
	// If not specified, the default curves enforced by Envoy will be used. For details about the default curves, refer to
	// [Ecdh Curves](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto).
	EcdhCurves []string `protobuf:"bytes,2,rep,name=ecdh_curves,json=ecdhCurves,proto3" json:"ecdh_curves,omitempty"`
	// Optional: If specified, the TLS connection will only support the specified cipher list when negotiating TLS 1.0-1.2.
	// If not specified, the following cipher suites will be used:
	// “`
	// ECDHE-ECDSA-AES256-GCM-SHA384
	// ECDHE-RSA-AES256-GCM-SHA384
	// ECDHE-ECDSA-AES128-GCM-SHA256
	// ECDHE-RSA-AES128-GCM-SHA256
	// AES256-GCM-SHA384
	// AES128-GCM-SHA256
	// “`
	CipherSuites []string `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	// contains filtered or unexported fields
}

func (*MeshConfig_TLSConfig) Descriptor deprecated

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

Deprecated: Use MeshConfig_TLSConfig.ProtoReflect.Descriptor instead.

func (*MeshConfig_TLSConfig) GetCipherSuites

func (x *MeshConfig_TLSConfig) GetCipherSuites() []string

func (*MeshConfig_TLSConfig) GetEcdhCurves

func (x *MeshConfig_TLSConfig) GetEcdhCurves() []string

func (*MeshConfig_TLSConfig) GetMinProtocolVersion

func (x *MeshConfig_TLSConfig) GetMinProtocolVersion() MeshConfig_TLSConfig_TLSProtocol

func (*MeshConfig_TLSConfig) ProtoMessage

func (*MeshConfig_TLSConfig) ProtoMessage()

func (*MeshConfig_TLSConfig) ProtoReflect

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

func (*MeshConfig_TLSConfig) Reset

func (x *MeshConfig_TLSConfig) Reset()

func (*MeshConfig_TLSConfig) String

func (x *MeshConfig_TLSConfig) String() string

type MeshConfig_TLSConfig_TLSProtocol

type MeshConfig_TLSConfig_TLSProtocol int32

TLS protocol versions.

const (
	// Automatically choose the optimal TLS version.
	MeshConfig_TLSConfig_TLS_AUTO MeshConfig_TLSConfig_TLSProtocol = 0
	// TLS version 1.2
	MeshConfig_TLSConfig_TLSV1_2 MeshConfig_TLSConfig_TLSProtocol = 1
	// TLS version 1.3
	MeshConfig_TLSConfig_TLSV1_3 MeshConfig_TLSConfig_TLSProtocol = 2
)

func (MeshConfig_TLSConfig_TLSProtocol) Descriptor

func (MeshConfig_TLSConfig_TLSProtocol) Enum

func (MeshConfig_TLSConfig_TLSProtocol) EnumDescriptor deprecated

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

Deprecated: Use MeshConfig_TLSConfig_TLSProtocol.Descriptor instead.

func (MeshConfig_TLSConfig_TLSProtocol) Number

func (MeshConfig_TLSConfig_TLSProtocol) String

func (MeshConfig_TLSConfig_TLSProtocol) Type

type MeshNetworks

type MeshNetworks struct {

	// The set of networks inside this mesh. Each network should
	// have a unique name and information about how to infer the endpoints in
	// the network as well as the gateways associated with the network.
	Networks map[string]*Network `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

MeshNetworks (config map) provides information about the set of networks inside a mesh and how to route to endpoints in each network. For example

MeshNetworks(file/config map):

```yaml networks:

network1:
  endpoints:
  - fromRegistry: registry1 #must match kubeconfig name in Kubernetes secret
  - fromCidr: 192.168.100.0/22 #a VM network for example
  gateways:
  - registryServiceName: istio-ingressgateway.istio-system.svc.cluster.local
    port: 15443
    locality: us-east-1a
  - address: 192.168.100.1
    port: 15443
    locality: us-east-1a

```

func (*MeshNetworks) Descriptor deprecated

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

Deprecated: Use MeshNetworks.ProtoReflect.Descriptor instead.

func (*MeshNetworks) GetNetworks

func (x *MeshNetworks) GetNetworks() map[string]*Network

func (*MeshNetworks) ProtoMessage

func (*MeshNetworks) ProtoMessage()

func (*MeshNetworks) ProtoReflect

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

func (*MeshNetworks) Reset

func (x *MeshNetworks) Reset()

func (*MeshNetworks) String

func (x *MeshNetworks) String() string

type Network

type Network struct {

	// The list of endpoints in the network (obtained through the
	// constituent service registries or from CIDR ranges). All endpoints in
	// the network are directly accessible to one another.
	Endpoints []*Network_NetworkEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Set of gateways associated with the network.
	Gateways []*Network_IstioNetworkGateway `protobuf:"bytes,3,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// contains filtered or unexported fields
}

Network provides information about the endpoints in a routable L3 network. A single routable L3 network can have one or more service registries. Note that the network has no relation to the locality of the endpoint. The endpoint locality will be obtained from the service registry.

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetEndpoints

func (x *Network) GetEndpoints() []*Network_NetworkEndpoints

func (*Network) GetGateways

func (x *Network) GetGateways() []*Network_IstioNetworkGateway

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type Network_IstioNetworkGateway

type Network_IstioNetworkGateway struct {

	// Types that are assignable to Gw:
	//
	//	*Network_IstioNetworkGateway_RegistryServiceName
	//	*Network_IstioNetworkGateway_Address
	Gw isNetwork_IstioNetworkGateway_Gw `protobuf_oneof:"gw"`
	// The port associated with the gateway.
	Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// The locality associated with an explicitly specified gateway (i.e. ip)
	Locality string `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"`
	// contains filtered or unexported fields
}

The gateway associated with this network. Traffic from remote networks will arrive at the specified gateway:port. All incoming traffic must use mTLS.

func (*Network_IstioNetworkGateway) Descriptor deprecated

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

Deprecated: Use Network_IstioNetworkGateway.ProtoReflect.Descriptor instead.

func (*Network_IstioNetworkGateway) GetAddress

func (x *Network_IstioNetworkGateway) GetAddress() string

func (*Network_IstioNetworkGateway) GetGw

func (m *Network_IstioNetworkGateway) GetGw() isNetwork_IstioNetworkGateway_Gw

func (*Network_IstioNetworkGateway) GetLocality

func (x *Network_IstioNetworkGateway) GetLocality() string

func (*Network_IstioNetworkGateway) GetPort

func (x *Network_IstioNetworkGateway) GetPort() uint32

func (*Network_IstioNetworkGateway) GetRegistryServiceName

func (x *Network_IstioNetworkGateway) GetRegistryServiceName() string

func (*Network_IstioNetworkGateway) ProtoMessage

func (*Network_IstioNetworkGateway) ProtoMessage()

func (*Network_IstioNetworkGateway) ProtoReflect

func (*Network_IstioNetworkGateway) Reset

func (x *Network_IstioNetworkGateway) Reset()

func (*Network_IstioNetworkGateway) String

func (x *Network_IstioNetworkGateway) String() string

type Network_IstioNetworkGateway_Address

type Network_IstioNetworkGateway_Address struct {
	// IP address or externally resolvable DNS address associated with the gateway.
	Address string `protobuf:"bytes,2,opt,name=address,proto3,oneof"`
}

type Network_IstioNetworkGateway_RegistryServiceName

type Network_IstioNetworkGateway_RegistryServiceName struct {
	// A fully qualified domain name of the gateway service.  Pilot will
	// lookup the service from the service registries in the network and
	// obtain the endpoint IPs of the gateway from the service
	// registry. Note that while the service name is a fully qualified
	// domain name, it need not be resolvable outside the orchestration
	// platform for the registry. e.g., this could be
	// istio-ingressgateway.istio-system.svc.cluster.local.
	RegistryServiceName string `protobuf:"bytes,1,opt,name=registry_service_name,json=registryServiceName,proto3,oneof"`
}

type Network_NetworkEndpoints

type Network_NetworkEndpoints struct {

	// Types that are assignable to Ne:
	//
	//	*Network_NetworkEndpoints_FromCidr
	//	*Network_NetworkEndpoints_FromRegistry
	Ne isNetwork_NetworkEndpoints_Ne `protobuf_oneof:"ne"`
	// contains filtered or unexported fields
}

NetworkEndpoints describes how the network associated with an endpoint should be inferred. An endpoint will be assigned to a network based on the following rules:

1. Implicitly: If the registry explicitly provides information about the network to which the endpoint belongs to. In some cases, its possible to indicate the network associated with the endpoint by adding the `ISTIO_META_NETWORK` environment variable to the sidecar.

2. Explicitly:

a. By matching the registry name with one of the "fromRegistry"
in the mesh config. A "from_registry" can only be assigned to a
single network.

b. By matching the IP against one of the CIDR ranges in a mesh
config network. The CIDR ranges must not overlap and be assigned to
a single network.

(2) will override (1) if both are present.

func (*Network_NetworkEndpoints) Descriptor deprecated

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

Deprecated: Use Network_NetworkEndpoints.ProtoReflect.Descriptor instead.

func (*Network_NetworkEndpoints) GetFromCidr

func (x *Network_NetworkEndpoints) GetFromCidr() string

func (*Network_NetworkEndpoints) GetFromRegistry

func (x *Network_NetworkEndpoints) GetFromRegistry() string

func (*Network_NetworkEndpoints) GetNe

func (m *Network_NetworkEndpoints) GetNe() isNetwork_NetworkEndpoints_Ne

func (*Network_NetworkEndpoints) ProtoMessage

func (*Network_NetworkEndpoints) ProtoMessage()

func (*Network_NetworkEndpoints) ProtoReflect

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

func (*Network_NetworkEndpoints) Reset

func (x *Network_NetworkEndpoints) Reset()

func (*Network_NetworkEndpoints) String

func (x *Network_NetworkEndpoints) String() string

type Network_NetworkEndpoints_FromCidr

type Network_NetworkEndpoints_FromCidr struct {
	// A CIDR range for the set of endpoints in this network. The CIDR
	// ranges for endpoints from different networks must not overlap.
	FromCidr string `protobuf:"bytes,1,opt,name=from_cidr,json=fromCidr,proto3,oneof"`
}

type Network_NetworkEndpoints_FromRegistry

type Network_NetworkEndpoints_FromRegistry struct {
	// Add all endpoints from the specified registry into this network.
	// The names of the registries should correspond to the kubeconfig file name
	// inside the secret that was used to configure the registry (Kubernetes
	// multicluster) or supplied by MCP server.
	FromRegistry string `protobuf:"bytes,2,opt,name=from_registry,json=fromRegistry,proto3,oneof"`
}

type PrivateKeyProvider

type PrivateKeyProvider struct {

	// REQUIRED. Specifies detailed configuration for the Private key provider.
	//
	// Types that are assignable to Provider:
	//
	//	*PrivateKeyProvider_Cryptomb
	//	*PrivateKeyProvider_Qat
	Provider isPrivateKeyProvider_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

PrivateKeyProvider defines private key configuration for gateways and sidecars. This can be configured mesh wide or individual per-workload basis.

func (*PrivateKeyProvider) Descriptor deprecated

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

Deprecated: Use PrivateKeyProvider.ProtoReflect.Descriptor instead.

func (*PrivateKeyProvider) GetCryptomb

func (*PrivateKeyProvider) GetProvider

func (m *PrivateKeyProvider) GetProvider() isPrivateKeyProvider_Provider

func (*PrivateKeyProvider) GetQat

func (*PrivateKeyProvider) ProtoMessage

func (*PrivateKeyProvider) ProtoMessage()

func (*PrivateKeyProvider) ProtoReflect

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

func (*PrivateKeyProvider) Reset

func (x *PrivateKeyProvider) Reset()

func (*PrivateKeyProvider) String

func (x *PrivateKeyProvider) String() string

type PrivateKeyProvider_CryptoMb

type PrivateKeyProvider_CryptoMb struct {

	// How long to wait until the per-thread processing queue should be processed. If the processing queue
	// gets full (eight sign or decrypt requests are received) it is processed immediately.
	// However, if the queue is not filled before the delay has expired, the requests already in the queue
	// are processed, even if the queue is not full.
	// In effect, this value controls the balance between latency and throughput.
	// The duration needs to be set to a value greater than or equal to 1 millisecond.
	PollDelay *duration.Duration `protobuf:"bytes,1,opt,name=poll_delay,json=pollDelay,proto3" json:"poll_delay,omitempty"`
	// If the private key provider isn’t available (eg. the required hardware capability doesn’t existed)
	// Envoy will fallback to the BoringSSL default implementation when the fallback is true.
	// The default value is false.
	Fallback *wrappers.BoolValue `protobuf:"bytes,2,opt,name=fallback,proto3" json:"fallback,omitempty"`
	// contains filtered or unexported fields
}

CryptoMb PrivateKeyProvider configuration

func (*PrivateKeyProvider_CryptoMb) Descriptor deprecated

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

Deprecated: Use PrivateKeyProvider_CryptoMb.ProtoReflect.Descriptor instead.

func (*PrivateKeyProvider_CryptoMb) GetFallback added in v1.21.0

func (*PrivateKeyProvider_CryptoMb) GetPollDelay

func (x *PrivateKeyProvider_CryptoMb) GetPollDelay() *duration.Duration

func (*PrivateKeyProvider_CryptoMb) ProtoMessage

func (*PrivateKeyProvider_CryptoMb) ProtoMessage()

func (*PrivateKeyProvider_CryptoMb) ProtoReflect

func (*PrivateKeyProvider_CryptoMb) Reset

func (x *PrivateKeyProvider_CryptoMb) Reset()

func (*PrivateKeyProvider_CryptoMb) String

func (x *PrivateKeyProvider_CryptoMb) String() string

type PrivateKeyProvider_Cryptomb

type PrivateKeyProvider_Cryptomb struct {
	// Use CryptoMb private key provider
	Cryptomb *PrivateKeyProvider_CryptoMb `protobuf:"bytes,2,opt,name=cryptomb,proto3,oneof"`
}

type PrivateKeyProvider_QAT

type PrivateKeyProvider_QAT struct {

	// How long to wait before polling the hardware accelerator after a request has been submitted there.
	// Having a small value leads to quicker answers from the hardware but causes more polling loop spins,
	// leading to potentially larger CPU usage.
	// The duration needs to be set to a value greater than or equal to 1 millisecond.
	PollDelay *duration.Duration `protobuf:"bytes,1,opt,name=poll_delay,json=pollDelay,proto3" json:"poll_delay,omitempty"`
	// If the private key provider isn’t available (eg. the required hardware capability doesn’t existed)
	// Envoy will fallback to the BoringSSL default implementation when the fallback is true.
	// The default value is false.
	Fallback *wrappers.BoolValue `protobuf:"bytes,2,opt,name=fallback,proto3" json:"fallback,omitempty"`
	// contains filtered or unexported fields
}

QAT (QuickAssist Technology) PrivateKeyProvider configuration

func (*PrivateKeyProvider_QAT) Descriptor deprecated

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

Deprecated: Use PrivateKeyProvider_QAT.ProtoReflect.Descriptor instead.

func (*PrivateKeyProvider_QAT) GetFallback added in v1.21.0

func (x *PrivateKeyProvider_QAT) GetFallback() *wrappers.BoolValue

func (*PrivateKeyProvider_QAT) GetPollDelay

func (x *PrivateKeyProvider_QAT) GetPollDelay() *duration.Duration

func (*PrivateKeyProvider_QAT) ProtoMessage

func (*PrivateKeyProvider_QAT) ProtoMessage()

func (*PrivateKeyProvider_QAT) ProtoReflect

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

func (*PrivateKeyProvider_QAT) Reset

func (x *PrivateKeyProvider_QAT) Reset()

func (*PrivateKeyProvider_QAT) String

func (x *PrivateKeyProvider_QAT) String() string

type PrivateKeyProvider_Qat

type PrivateKeyProvider_Qat struct {
	// Use QAT private key provider
	Qat *PrivateKeyProvider_QAT `protobuf:"bytes,3,opt,name=qat,proto3,oneof"`
}

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"`
	// Types that are assignable to ClusterName:
	//
	//	*ProxyConfig_ServiceCluster
	//	*ProxyConfig_TracingServiceName_
	ClusterName isProxyConfig_ClusterName `protobuf_oneof:"cluster_name"`
	// The time in seconds that Envoy will drain connections during a hot
	// restart. MUST be >=1s (e.g., _1s/1m/1h_)
	// Default drain duration is `45s`.
	DrainDuration *duration.Duration `protobuf:"bytes,4,opt,name=drain_duration,json=drainDuration,proto3" json:"drain_duration,omitempty"`
	// Address of the discovery service exposing xDS with mTLS connection.
	// The inject configuration may override this value.
	DiscoveryAddress string `protobuf:"bytes,6,opt,name=discovery_address,json=discoveryAddress,proto3" json:"discovery_address,omitempty"`
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.
	DiscoveryRefreshDelay *duration.Duration `` /* 126-byte string literal not displayed */
	// Address of the Zipkin service (e.g. _zipkin:9411_).
	// DEPRECATED: Use [tracing][istio.mesh.v1alpha1.ProxyConfig.tracing] instead.
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.
	ZipkinAddress string `protobuf:"bytes,8,opt,name=zipkin_address,json=zipkinAddress,proto3" json:"zipkin_address,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"`
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.
	EnvoyMetricsServiceAddress string `` /* 144-byte string literal not displayed */
	// Port on which Envoy should listen for administrative commands.
	// Default port is `15000`.
	ProxyAdminPort int32 `protobuf:"varint,11,opt,name=proxy_admin_port,json=proxyAdminPort,proto3" json:"proxy_admin_port,omitempty"`
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.
	AvailabilityZone string `protobuf:"bytes,12,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"`
	// AuthenticationPolicy defines how the proxy is authenticated when it connects to the control plane.
	// Default is set to `MUTUAL_TLS`.
	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.
	// If unset, this will be automatically determined based on CPU requests/limits.
	// If set to 0, all cores on the machine will be used.
	// Default is 2 worker threads.
	Concurrency *wrappers.Int32Value `protobuf:"bytes,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 */
	// Tracing configuration to be used by the proxy.
	Tracing *Tracing `protobuf:"bytes,19,opt,name=tracing,proto3" json:"tracing,omitempty"`
	// Secret Discovery Service(SDS) configuration to be used by the proxy.
	// $hide_from_docs
	//
	// Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.
	Sds *SDS `protobuf:"bytes,21,opt,name=sds,proto3" json:"sds,omitempty"`
	// Address of the service to which access logs from Envoys should be
	// sent. (e.g. `accesslog-service:15000`). See [Access Log
	// Service](https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/accesslog/v2/als.proto)
	// for details about Envoy's gRPC Access Log Service API.
	EnvoyAccessLogService *RemoteService `` /* 129-byte string literal not displayed */
	// Address of the Envoy Metrics Service implementation (e.g. `metrics-service:15000`).
	// See [Metric Service](https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/metrics/v2/metrics_service.proto)
	// for details about Envoy's Metrics Service API.
	EnvoyMetricsService *RemoteService `protobuf:"bytes,23,opt,name=envoy_metrics_service,json=envoyMetricsService,proto3" json:"envoy_metrics_service,omitempty"`
	// Additional environment variables for the proxy.
	// Names starting with `ISTIO_META_` will be included in the generated bootstrap and sent to the XDS server.
	ProxyMetadata map[string]string `` /* 189-byte string literal not displayed */
	// Envoy [runtime configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/operations/runtime) to set during bootstrapping.
	// This enables setting experimental, unsafe, unsupported, and deprecated features that should be used with extreme caution.
	RuntimeValues map[string]string `` /* 189-byte string literal not displayed */
	// Port on which the agent should listen for administrative commands such as readiness probe.
	// Default is set to port `15020`.
	StatusPort int32 `protobuf:"varint,26,opt,name=status_port,json=statusPort,proto3" json:"status_port,omitempty"`
	// An additional list of tags to extract from the in-proxy Istio telemetry. These extra tags can be
	// added by configuring the telemetry extension. Each additional tag needs to be present in this list.
	// Extra tags emitted by the telemetry extensions must be listed here so that they can be processed
	// and exposed as Prometheus metrics.
	// Deprecated: `istio.stats` is a native filter now, this field is no longer needed.
	ExtraStatTags []string `protobuf:"bytes,27,rep,name=extra_stat_tags,json=extraStatTags,proto3" json:"extra_stat_tags,omitempty"`
	// Topology encapsulates the configuration which describes where the proxy is
	// located i.e. behind a (or N) trusted proxy (proxies) or directly exposed
	// to the internet. This configuration only effects gateways and is applied
	// to all the gateways in the cluster unless overridden via annotations of the
	// gateway workloads.
	GatewayTopology *Topology `protobuf:"bytes,28,opt,name=gateway_topology,json=gatewayTopology,proto3" json:"gateway_topology,omitempty"`
	// The amount of time allowed for connections to complete on proxy shutdown.
	// On receiving `SIGTERM` or `SIGINT`, `istio-agent` tells the active Envoy to start draining,
	// preventing any new connections and allowing existing connections to complete. It then
	// sleeps for the `termination_drain_duration` and then kills any remaining active Envoy processes.
	// If not set, a default of `5s` will be applied.
	TerminationDrainDuration *duration.Duration `` /* 136-byte string literal not displayed */
	// The unique identifier for the [service mesh](https://istio.io/docs/reference/glossary/#service-mesh)
	// All control planes running in the same service mesh should specify the same mesh ID.
	// Mesh ID is used to label telemetry reports for cases where telemetry from multiple meshes is mixed together.
	MeshId string `protobuf:"bytes,30,opt,name=mesh_id,json=meshId,proto3" json:"mesh_id,omitempty"`
	// VM Health Checking readiness probe. This health check config exactly mirrors the
	// kubernetes readiness probe configuration both in schema and logic.
	// Only one health check method of 3 can be set at a time.
	ReadinessProbe *v1alpha3.ReadinessProbe `protobuf:"bytes,31,opt,name=readiness_probe,json=readinessProbe,proto3" json:"readiness_probe,omitempty"`
	// Proxy stats matcher defines configuration for reporting custom Envoy stats.
	// To reduce memory and CPU overhead from Envoy stats system, Istio proxies by
	// default create and expose only a subset of Envoy stats. This option is to
	// control creation of additional Envoy stats with prefix, suffix, and regex
	// expressions match on the name of the stats. This replaces the stats
	// inclusion annotations
	// (`sidecar.istio.io/statsInclusionPrefixes`,
	// `sidecar.istio.io/statsInclusionRegexps`, and
	// `sidecar.istio.io/statsInclusionSuffixes`). For example, to enable stats
	// for circuit breakers, request retries, upstream connections, and request timeouts,
	// you can specify stats matcher as follows:
	// “`yaml
	// proxyStatsMatcher:
	//
	//	inclusionRegexps:
	//	  - .*outlier_detection.*
	//	  - .*upstream_rq_retry.*
	//	  - .*upstream_cx_.*
	//	inclusionSuffixes:
	//	  - upstream_rq_timeout
	//
	// “`
	// Note including more Envoy stats might increase number of time series
	// collected by prometheus significantly. Care needs to be taken on Prometheus
	// resource provision and configuration to reduce cardinality.
	ProxyStatsMatcher *ProxyConfig_ProxyStatsMatcher `protobuf:"bytes,32,opt,name=proxy_stats_matcher,json=proxyStatsMatcher,proto3" json:"proxy_stats_matcher,omitempty"`
	// Boolean flag for enabling/disabling the holdApplicationUntilProxyStarts behavior.
	// This feature adds hooks to delay application startup until the pod proxy
	// is ready to accept traffic, mitigating some startup race conditions.
	// Default value is 'false'.
	HoldApplicationUntilProxyStarts *wrappers.BoolValue `` /* 161-byte string literal not displayed */
	// The PEM data of the extra root certificates for workload-to-workload communication.
	// This includes the certificates defined in MeshConfig and any other certificates that Istiod uses as CA.
	// The plugin certificates (the 'cacerts' secret), self-signed certificates (the 'istio-ca-secret' secret)
	// are added automatically by Istiod.
	CaCertificatesPem []string `protobuf:"bytes,34,rep,name=ca_certificates_pem,json=caCertificatesPem,proto3" json:"ca_certificates_pem,omitempty"`
	// Specifies the details of the proxy image.
	Image *v1beta1.ProxyImage `protobuf:"bytes,35,opt,name=image,proto3" json:"image,omitempty"`
	// Specifies the details of the Private Key Provider configuration for gateway and sidecar proxies.
	PrivateKeyProvider *PrivateKeyProvider `protobuf:"bytes,38,opt,name=private_key_provider,json=privateKeyProvider,proto3" json:"private_key_provider,omitempty"`
	// Define the set of headers to add/modify for HTTP request/responses.
	//
	// To enable an optional header, simply set the field. If no specific configuration is required, an empty object (`{}`) will enable it.
	// Note: currently all headers are enabled by default.
	//
	// Below shows an example of customizing the `server` header and disabling the `X-Envoy-Attempt-Count` header:
	//
	// “`yaml
	// proxyHeaders:
	//
	//	server:
	//	  value: "my-custom-server"
	//	requestId: {} // Explicitly enable Request IDs. As this is the default, this has no effect.
	//	attemptCount:
	//	  disabled: true
	//
	// “`
	//
	// Some headers are enabled by default, and require explicitly disabling. See below for an example of disabling all default-enabled headers:
	//
	// “`yaml
	// proxyHeaders:
	//
	//	forwardedClientCert: SANITIZE
	//	server:
	//	  disabled: true
	//	requestId:
	//	  disabled: true
	//	attemptCount:
	//	  disabled: true
	//	envoyDebugHeaders:
	//	  disabled: true
	//	metadataExchangeHeaders:
	//	  mode: IN_MESH
	//
	// “`
	ProxyHeaders *ProxyConfig_ProxyHeaders `protobuf:"bytes,39,opt,name=proxy_headers,json=proxyHeaders,proto3" json:"proxy_headers,omitempty"`
	// contains filtered or unexported fields
}

ProxyConfig defines variables for individual Envoy instances. This can be configured on a per-workload basis as well as by the mesh-wide defaults. To set the mesh wide defaults, configure the `defaultConfig` section of `meshConfig`. For example:

``` meshConfig:

defaultConfig:
  discoveryAddress: istiod:15012

```

This can also be configured on a per-workload basis by configuring the `proxy.istio.io/config` annotation on the pod. For example:

``` annotations:

proxy.istio.io/config: |
  discoveryAddress: istiod:15012

```

If both are configured, the two are merged with per field semantics; the field set in annotation will fully replace the field from mesh config defaults. This is different than a deep merge provided by protobuf. For example, `"tracing": { "sampling": 5 }` would completely override a setting configuring a tracing provider such as `"tracing": { "zipkin": { "address": "..." } }`.

Note: fields in ProxyConfig are not dynamically configured; changes will require restart of workloads to take effect.

func (*ProxyConfig) Descriptor deprecated

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

Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.

func (*ProxyConfig) GetAvailabilityZone deprecated

func (x *ProxyConfig) GetAvailabilityZone() string

Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.

func (*ProxyConfig) GetBinaryPath

func (x *ProxyConfig) GetBinaryPath() string

func (*ProxyConfig) GetCaCertificatesPem

func (x *ProxyConfig) GetCaCertificatesPem() []string

func (*ProxyConfig) GetClusterName

func (m *ProxyConfig) GetClusterName() isProxyConfig_ClusterName

func (*ProxyConfig) GetConcurrency

func (x *ProxyConfig) GetConcurrency() *wrappers.Int32Value

func (*ProxyConfig) GetConfigPath

func (x *ProxyConfig) GetConfigPath() string

func (*ProxyConfig) GetControlPlaneAuthPolicy

func (x *ProxyConfig) GetControlPlaneAuthPolicy() AuthenticationPolicy

func (*ProxyConfig) GetCustomConfigFile

func (x *ProxyConfig) GetCustomConfigFile() string

func (*ProxyConfig) GetDiscoveryAddress

func (x *ProxyConfig) GetDiscoveryAddress() string

func (*ProxyConfig) GetDiscoveryRefreshDelay deprecated

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

Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.

func (*ProxyConfig) GetDrainDuration

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

func (*ProxyConfig) GetEnvoyAccessLogService

func (x *ProxyConfig) GetEnvoyAccessLogService() *RemoteService

func (*ProxyConfig) GetEnvoyMetricsService

func (x *ProxyConfig) GetEnvoyMetricsService() *RemoteService

func (*ProxyConfig) GetEnvoyMetricsServiceAddress deprecated

func (x *ProxyConfig) GetEnvoyMetricsServiceAddress() string

Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.

func (*ProxyConfig) GetExtraStatTags

func (x *ProxyConfig) GetExtraStatTags() []string

func (*ProxyConfig) GetGatewayTopology

func (x *ProxyConfig) GetGatewayTopology() *Topology

func (*ProxyConfig) GetHoldApplicationUntilProxyStarts

func (x *ProxyConfig) GetHoldApplicationUntilProxyStarts() *wrappers.BoolValue

func (*ProxyConfig) GetImage

func (x *ProxyConfig) GetImage() *v1beta1.ProxyImage

func (*ProxyConfig) GetInterceptionMode

func (x *ProxyConfig) GetInterceptionMode() ProxyConfig_InboundInterceptionMode

func (*ProxyConfig) GetMeshId

func (x *ProxyConfig) GetMeshId() string

func (*ProxyConfig) GetPrivateKeyProvider

func (x *ProxyConfig) GetPrivateKeyProvider() *PrivateKeyProvider

func (*ProxyConfig) GetProxyAdminPort

func (x *ProxyConfig) GetProxyAdminPort() int32

func (*ProxyConfig) GetProxyBootstrapTemplatePath

func (x *ProxyConfig) GetProxyBootstrapTemplatePath() string

func (*ProxyConfig) GetProxyHeaders

func (x *ProxyConfig) GetProxyHeaders() *ProxyConfig_ProxyHeaders

func (*ProxyConfig) GetProxyMetadata

func (x *ProxyConfig) GetProxyMetadata() map[string]string

func (*ProxyConfig) GetProxyStatsMatcher

func (x *ProxyConfig) GetProxyStatsMatcher() *ProxyConfig_ProxyStatsMatcher

func (*ProxyConfig) GetReadinessProbe

func (x *ProxyConfig) GetReadinessProbe() *v1alpha3.ReadinessProbe

func (*ProxyConfig) GetRuntimeValues

func (x *ProxyConfig) GetRuntimeValues() map[string]string

func (*ProxyConfig) GetSds deprecated

func (x *ProxyConfig) GetSds() *SDS

Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.

func (*ProxyConfig) GetServiceCluster

func (x *ProxyConfig) GetServiceCluster() string

func (*ProxyConfig) GetStatNameLength

func (x *ProxyConfig) GetStatNameLength() int32

func (*ProxyConfig) GetStatsdUdpAddress

func (x *ProxyConfig) GetStatsdUdpAddress() string

func (*ProxyConfig) GetStatusPort

func (x *ProxyConfig) GetStatusPort() int32

func (*ProxyConfig) GetTerminationDrainDuration

func (x *ProxyConfig) GetTerminationDrainDuration() *duration.Duration

func (*ProxyConfig) GetTracing

func (x *ProxyConfig) GetTracing() *Tracing

func (*ProxyConfig) GetTracingServiceName

func (x *ProxyConfig) GetTracingServiceName() ProxyConfig_TracingServiceName

func (*ProxyConfig) GetZipkinAddress deprecated

func (x *ProxyConfig) GetZipkinAddress() string

Deprecated: Marked as deprecated in mesh/v1alpha1/proxy.proto.

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) ProtoReflect

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

func (*ProxyConfig) Reset

func (x *ProxyConfig) Reset()

func (*ProxyConfig) String

func (x *ProxyConfig) String() string

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. This is the default redirection mode.
	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
	// The `NONE` mode does not configure redirect to Envoy at all. This is an advanced
	// configuration that typically requires changes to user applications.
	ProxyConfig_NONE ProxyConfig_InboundInterceptionMode = 2
)

func (ProxyConfig_InboundInterceptionMode) Descriptor

func (ProxyConfig_InboundInterceptionMode) Enum

func (ProxyConfig_InboundInterceptionMode) EnumDescriptor deprecated

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

Deprecated: Use ProxyConfig_InboundInterceptionMode.Descriptor instead.

func (ProxyConfig_InboundInterceptionMode) Number

func (ProxyConfig_InboundInterceptionMode) String

func (ProxyConfig_InboundInterceptionMode) Type

type ProxyConfig_ProxyHeaders

type ProxyConfig_ProxyHeaders struct {

	// Controls the `X-Forwarded-Client-Cert` header for inbound sidecar requests. To set this on gateways, use the `Topology` setting.
	// To disable the header, configure either `SANITIZE` (to always remove the header, if present) or `FORWARD_ONLY` (to leave the header as-is).
	// By default, `APPEND_FORWARD` will be used.
	ForwardedClientCert ForwardClientCertDetails `` /* 171-byte string literal not displayed */
	// Controls the `X-Request-Id` header. If enabled, a request ID is generated for each request if one is not already set.
	// This applies to all types of traffic (inbound, outbound, and gateways).
	// If disabled, no request ID will be generate for the request. If it is already present, it will be preserved.
	// Warning: request IDs are a critical component to mesh tracing and logging, so disabling this is not recommended.
	// This header is enabled by default if not configured.
	RequestId *ProxyConfig_ProxyHeaders_RequestId `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Controls the `server` header. If enabled, the `Server: istio-envoy` header is set in response headers for inbound traffic (including gateways).
	// If disabled, the `Server` header is not modified. If it is already present, it will be preserved.
	Server *ProxyConfig_ProxyHeaders_Server `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	// Controls the `X-Envoy-Attempt-Count` header.
	// If enabled, this header will be added on outbound request headers (including gateways) that have retries configured.
	// If disabled, this header will not be set. If it is already present, it will be preserved.
	// This header is enabled by default if not configured.
	AttemptCount *ProxyConfig_ProxyHeaders_AttemptCount `protobuf:"bytes,4,opt,name=attempt_count,json=attemptCount,proto3" json:"attempt_count,omitempty"`
	// Controls various `X-Envoy-*` headers, such as `X-Envoy-Overloaded` and `X-Envoy-Upstream-Service-Time. If enabled,
	// these headers will be included.
	// If disabled, these headers will not be set. If they are already present, they will be preserved.
	// See the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/router/v3/router.proto#envoy-v3-api-field-extensions-filters-http-router-v3-router-suppress-envoy-headers) for more details.
	// These headers are enabled by default if not configured.
	EnvoyDebugHeaders *ProxyConfig_ProxyHeaders_EnvoyDebugHeaders `protobuf:"bytes,5,opt,name=envoy_debug_headers,json=envoyDebugHeaders,proto3" json:"envoy_debug_headers,omitempty"`
	// Controls Istio metadata exchange headers `X-Envoy-Peer-Metadata` and `X-Envoy-Peer-Metadata-Id`.
	// By default, the behavior is unspecified.
	// If IN_MESH, these headers will not be appended to outbound requests from sidecars to services not in-mesh.
	MetadataExchangeHeaders *ProxyConfig_ProxyHeaders_MetadataExchangeHeaders `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders) Descriptor deprecated

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

Deprecated: Use ProxyConfig_ProxyHeaders.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders) GetAttemptCount

func (*ProxyConfig_ProxyHeaders) GetEnvoyDebugHeaders

func (*ProxyConfig_ProxyHeaders) GetForwardedClientCert

func (x *ProxyConfig_ProxyHeaders) GetForwardedClientCert() ForwardClientCertDetails

func (*ProxyConfig_ProxyHeaders) GetMetadataExchangeHeaders added in v1.19.1

func (*ProxyConfig_ProxyHeaders) GetRequestId

func (*ProxyConfig_ProxyHeaders) GetServer

func (*ProxyConfig_ProxyHeaders) ProtoMessage

func (*ProxyConfig_ProxyHeaders) ProtoMessage()

func (*ProxyConfig_ProxyHeaders) ProtoReflect

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

func (*ProxyConfig_ProxyHeaders) Reset

func (x *ProxyConfig_ProxyHeaders) Reset()

func (*ProxyConfig_ProxyHeaders) String

func (x *ProxyConfig_ProxyHeaders) String() string

type ProxyConfig_ProxyHeaders_AttemptCount

type ProxyConfig_ProxyHeaders_AttemptCount struct {
	Disabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders_AttemptCount) Descriptor deprecated

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

Deprecated: Use ProxyConfig_ProxyHeaders_AttemptCount.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders_AttemptCount) GetDisabled

func (*ProxyConfig_ProxyHeaders_AttemptCount) ProtoMessage

func (*ProxyConfig_ProxyHeaders_AttemptCount) ProtoMessage()

func (*ProxyConfig_ProxyHeaders_AttemptCount) ProtoReflect

func (*ProxyConfig_ProxyHeaders_AttemptCount) Reset

func (*ProxyConfig_ProxyHeaders_AttemptCount) String

type ProxyConfig_ProxyHeaders_EnvoyDebugHeaders

type ProxyConfig_ProxyHeaders_EnvoyDebugHeaders struct {
	Disabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) Descriptor deprecated

Deprecated: Use ProxyConfig_ProxyHeaders_EnvoyDebugHeaders.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) GetDisabled

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) ProtoMessage

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) ProtoReflect

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) Reset

func (*ProxyConfig_ProxyHeaders_EnvoyDebugHeaders) String

type ProxyConfig_ProxyHeaders_MetadataExchangeHeaders added in v1.19.1

type ProxyConfig_ProxyHeaders_MetadataExchangeHeaders struct {
	Mode ProxyConfig_ProxyHeaders_MetadataExchangeMode `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) Descriptor deprecated added in v1.19.1

Deprecated: Use ProxyConfig_ProxyHeaders_MetadataExchangeHeaders.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) GetMode added in v1.19.1

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) ProtoMessage added in v1.19.1

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) ProtoReflect added in v1.19.1

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) Reset added in v1.19.1

func (*ProxyConfig_ProxyHeaders_MetadataExchangeHeaders) String added in v1.19.1

type ProxyConfig_ProxyHeaders_MetadataExchangeMode added in v1.19.1

type ProxyConfig_ProxyHeaders_MetadataExchangeMode int32
const (
	// Existing Istio behavior for the metadata exchange headers is unchanged.
	ProxyConfig_ProxyHeaders_UNDEFINED ProxyConfig_ProxyHeaders_MetadataExchangeMode = 0
	// Only append the istio metadata exchange headers for services considered in-mesh.
	// Traffic is considered in-mesh if it is secured with Istio mutual TLS. This means that `MESH_EXTERNAL` services, unmatched passthrough traffic, and requests to workloads without Istio enabled will be considered out of mesh.
	ProxyConfig_ProxyHeaders_IN_MESH ProxyConfig_ProxyHeaders_MetadataExchangeMode = 1
)

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) Descriptor added in v1.19.1

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) Enum added in v1.19.1

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) EnumDescriptor deprecated added in v1.19.1

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

Deprecated: Use ProxyConfig_ProxyHeaders_MetadataExchangeMode.Descriptor instead.

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) Number added in v1.19.1

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) String added in v1.19.1

func (ProxyConfig_ProxyHeaders_MetadataExchangeMode) Type added in v1.19.1

type ProxyConfig_ProxyHeaders_RequestId

type ProxyConfig_ProxyHeaders_RequestId struct {
	Disabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders_RequestId) Descriptor deprecated

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

Deprecated: Use ProxyConfig_ProxyHeaders_RequestId.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders_RequestId) GetDisabled

func (*ProxyConfig_ProxyHeaders_RequestId) ProtoMessage

func (*ProxyConfig_ProxyHeaders_RequestId) ProtoMessage()

func (*ProxyConfig_ProxyHeaders_RequestId) ProtoReflect

func (*ProxyConfig_ProxyHeaders_RequestId) Reset

func (*ProxyConfig_ProxyHeaders_RequestId) String

type ProxyConfig_ProxyHeaders_Server

type ProxyConfig_ProxyHeaders_Server struct {
	Disabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// If set, and the server header is enabled, this value will be set as the server header. By default, `istio-envoy` will be used.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig_ProxyHeaders_Server) Descriptor deprecated

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

Deprecated: Use ProxyConfig_ProxyHeaders_Server.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyHeaders_Server) GetDisabled

func (*ProxyConfig_ProxyHeaders_Server) GetValue

func (*ProxyConfig_ProxyHeaders_Server) ProtoMessage

func (*ProxyConfig_ProxyHeaders_Server) ProtoMessage()

func (*ProxyConfig_ProxyHeaders_Server) ProtoReflect

func (*ProxyConfig_ProxyHeaders_Server) Reset

func (*ProxyConfig_ProxyHeaders_Server) String

type ProxyConfig_ProxyStatsMatcher

type ProxyConfig_ProxyStatsMatcher struct {

	// Proxy stats name prefix matcher for inclusion.
	InclusionPrefixes []string `protobuf:"bytes,1,rep,name=inclusion_prefixes,json=inclusionPrefixes,proto3" json:"inclusion_prefixes,omitempty"`
	// Proxy stats name suffix matcher for inclusion.
	InclusionSuffixes []string `protobuf:"bytes,2,rep,name=inclusion_suffixes,json=inclusionSuffixes,proto3" json:"inclusion_suffixes,omitempty"`
	// Proxy stats name regexps matcher for inclusion.
	InclusionRegexps []string `protobuf:"bytes,3,rep,name=inclusion_regexps,json=inclusionRegexps,proto3" json:"inclusion_regexps,omitempty"`
	// contains filtered or unexported fields
}

Proxy stats name matchers for stats creation. Note this is in addition to the minimum Envoy stats that Istio generates by default.

func (*ProxyConfig_ProxyStatsMatcher) Descriptor deprecated

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

Deprecated: Use ProxyConfig_ProxyStatsMatcher.ProtoReflect.Descriptor instead.

func (*ProxyConfig_ProxyStatsMatcher) GetInclusionPrefixes

func (x *ProxyConfig_ProxyStatsMatcher) GetInclusionPrefixes() []string

func (*ProxyConfig_ProxyStatsMatcher) GetInclusionRegexps

func (x *ProxyConfig_ProxyStatsMatcher) GetInclusionRegexps() []string

func (*ProxyConfig_ProxyStatsMatcher) GetInclusionSuffixes

func (x *ProxyConfig_ProxyStatsMatcher) GetInclusionSuffixes() []string

func (*ProxyConfig_ProxyStatsMatcher) ProtoMessage

func (*ProxyConfig_ProxyStatsMatcher) ProtoMessage()

func (*ProxyConfig_ProxyStatsMatcher) ProtoReflect

func (*ProxyConfig_ProxyStatsMatcher) Reset

func (x *ProxyConfig_ProxyStatsMatcher) Reset()

func (*ProxyConfig_ProxyStatsMatcher) String

type ProxyConfig_ServiceCluster

type ProxyConfig_ServiceCluster struct {
	// 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,oneof"`
}

type ProxyConfig_TracingServiceName

type ProxyConfig_TracingServiceName int32

Allows specification of various Istio-supported naming schemes for the Envoy `service_cluster` value. The `servce_cluster` value is primarily used by Envoys to provide service names for tracing spans.

const (
	// Default scheme. Uses the `app` label and workload namespace to construct
	// a cluster name. If the `app` label does not exist `istio-proxy` is used.
	ProxyConfig_APP_LABEL_AND_NAMESPACE ProxyConfig_TracingServiceName = 0
	// Uses the canonical name for a workload (*excluding namespace*).
	ProxyConfig_CANONICAL_NAME_ONLY ProxyConfig_TracingServiceName = 1
	// Uses the canonical name and namespace for a workload.
	ProxyConfig_CANONICAL_NAME_AND_NAMESPACE ProxyConfig_TracingServiceName = 2
)

func (ProxyConfig_TracingServiceName) Descriptor

func (ProxyConfig_TracingServiceName) Enum

func (ProxyConfig_TracingServiceName) EnumDescriptor deprecated

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

Deprecated: Use ProxyConfig_TracingServiceName.Descriptor instead.

func (ProxyConfig_TracingServiceName) Number

func (ProxyConfig_TracingServiceName) String

func (ProxyConfig_TracingServiceName) Type

type ProxyConfig_TracingServiceName_

type ProxyConfig_TracingServiceName_ struct {
	// Used by Envoy proxies to assign the values for the service names in trace
	// spans.
	TracingServiceName ProxyConfig_TracingServiceName `` /* 143-byte string literal not displayed */
}

type RemoteService

type RemoteService struct {

	// Address of a remove service used for various purposes (access log
	// receiver, metrics receiver, etc.). Can be IP address or a fully
	// qualified DNS name.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Use the `tls_settings` to specify the tls mode to use. If the remote service
	// uses Istio mutual TLS and shares the root CA with Pilot, specify the TLS
	// mode as `ISTIO_MUTUAL`.
	TlsSettings *v1alpha3.ClientTLSSettings `protobuf:"bytes,2,opt,name=tls_settings,json=tlsSettings,proto3" json:"tls_settings,omitempty"`
	// If set then set `SO_KEEPALIVE` on the socket to enable TCP Keepalives.
	TcpKeepalive *v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive `protobuf:"bytes,3,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteService) Descriptor deprecated

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

Deprecated: Use RemoteService.ProtoReflect.Descriptor instead.

func (*RemoteService) GetAddress

func (x *RemoteService) GetAddress() string

func (*RemoteService) GetTcpKeepalive

func (*RemoteService) GetTlsSettings

func (x *RemoteService) GetTlsSettings() *v1alpha3.ClientTLSSettings

func (*RemoteService) ProtoMessage

func (*RemoteService) ProtoMessage()

func (*RemoteService) ProtoReflect

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

func (*RemoteService) Reset

func (x *RemoteService) Reset()

func (*RemoteService) String

func (x *RemoteService) String() string

type Resource

type Resource int32

Resource describes the source of configuration

const (
	// Set to only receive service entries that are generated by the platform.
	// These auto generated service entries are combination of services and endpoints
	// that are generated by a specific platform e.g. k8
	Resource_SERVICE_REGISTRY Resource = 0
)

func (Resource) Descriptor

func (Resource) Descriptor() protoreflect.EnumDescriptor

func (Resource) Enum

func (x Resource) Enum() *Resource

func (Resource) EnumDescriptor deprecated

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

Deprecated: Use Resource.Descriptor instead.

func (Resource) Number

func (x Resource) Number() protoreflect.EnumNumber

func (Resource) String

func (x Resource) String() string

func (Resource) Type

type SDS

type SDS struct {

	// True if SDS is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Path of k8s service account JWT path.
	K8SSaJwtPath string `protobuf:"bytes,2,opt,name=k8s_sa_jwt_path,json=k8sSaJwtPath,proto3" json:"k8s_sa_jwt_path,omitempty"`
	// contains filtered or unexported fields
}

SDS defines secret discovery service(SDS) configuration to be used by the proxy. For workload, its values are set in sidecar injector(passed as arguments to istio-proxy container). For pilot/mixer, it's passed as arguments to istio-proxy container in pilot/mixer deployment yaml files directly. $hide_from_docs

func (*SDS) Descriptor deprecated

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

Deprecated: Use SDS.ProtoReflect.Descriptor instead.

func (*SDS) GetEnabled

func (x *SDS) GetEnabled() bool

func (*SDS) GetK8SSaJwtPath

func (x *SDS) GetK8SSaJwtPath() string

func (*SDS) ProtoMessage

func (*SDS) ProtoMessage()

func (*SDS) ProtoReflect

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

func (*SDS) Reset

func (x *SDS) Reset()

func (*SDS) String

func (x *SDS) String() string

type Topology

type Topology struct {

	// Number of trusted proxies deployed in front of the Istio gateway proxy.
	// When this option is set to value N greater than zero, the trusted client
	// address is assumed to be the Nth address from the right end of the
	// X-Forwarded-For (XFF) header from the incoming request. If the
	// X-Forwarded-For (XFF) header is missing or has fewer than N addresses, the
	// gateway proxy falls back to using the immediate downstream connection's
	// source address as the trusted client address.
	// Note that the gateway proxy will append the downstream connection's source
	// address to the X-Forwarded-For (XFF) address and set the
	// X-Envoy-External-Address header to the trusted client address before
	// forwarding it to the upstream services in the cluster.
	// The default value of num_trusted_proxies is 0.
	// See [Envoy XFF](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers#config-http-conn-man-headers-x-forwarded-for)
	// header handling for more details.
	NumTrustedProxies uint32 `protobuf:"varint,1,opt,name=num_trusted_proxies,json=numTrustedProxies,proto3" json:"num_trusted_proxies,omitempty"`
	// Configures how the gateway proxy handles x-forwarded-client-cert (XFCC)
	// header in the incoming request.
	ForwardClientCertDetails ForwardClientCertDetails `` /* 188-byte string literal not displayed */
	// Enables [PROXY protocol](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) for
	// downstream connections on a gateway.
	ProxyProtocol *Topology_ProxyProtocolConfiguration `protobuf:"bytes,3,opt,name=proxy_protocol,json=proxyProtocol,proto3" json:"proxy_protocol,omitempty"`
	// contains filtered or unexported fields
}

Topology describes the configuration for relative location of a proxy with respect to intermediate trusted proxies and the client. These settings control how the client attributes are retrieved from the incoming traffic by the gateway proxy and propagated to the upstream services in the cluster.

func (*Topology) Descriptor deprecated

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

Deprecated: Use Topology.ProtoReflect.Descriptor instead.

func (*Topology) GetForwardClientCertDetails

func (x *Topology) GetForwardClientCertDetails() ForwardClientCertDetails

func (*Topology) GetNumTrustedProxies

func (x *Topology) GetNumTrustedProxies() uint32

func (*Topology) GetProxyProtocol

func (x *Topology) GetProxyProtocol() *Topology_ProxyProtocolConfiguration

func (*Topology) ProtoMessage

func (*Topology) ProtoMessage()

func (*Topology) ProtoReflect

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

func (*Topology) Reset

func (x *Topology) Reset()

func (*Topology) String

func (x *Topology) String() string

type Topology_ProxyProtocolConfiguration

type Topology_ProxyProtocolConfiguration struct {
	// contains filtered or unexported fields
}

PROXY protocol configuration.

func (*Topology_ProxyProtocolConfiguration) Descriptor deprecated

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

Deprecated: Use Topology_ProxyProtocolConfiguration.ProtoReflect.Descriptor instead.

func (*Topology_ProxyProtocolConfiguration) ProtoMessage

func (*Topology_ProxyProtocolConfiguration) ProtoMessage()

func (*Topology_ProxyProtocolConfiguration) ProtoReflect

func (*Topology_ProxyProtocolConfiguration) Reset

func (*Topology_ProxyProtocolConfiguration) String

type Tracing

type Tracing struct {

	// The tracer implementation to be used by Envoy.
	//
	// Types that are assignable to Tracer:
	//
	//	*Tracing_Zipkin_
	//	*Tracing_Lightstep_
	//	*Tracing_Datadog_
	//	*Tracing_Stackdriver_
	//	*Tracing_OpenCensusAgent_
	Tracer isTracing_Tracer `protobuf_oneof:"tracer"`
	// Configures the custom tags to be added to active span by all proxies (i.e. sidecars
	// and gateways).
	// The key represents the name of the tag.
	// Ex:
	// “`yaml
	// custom_tags:
	//
	//	new_tag_name:
	//	  header:
	//	    name: custom-http-header-name
	//	    default_value: defaulted-value-from-custom-header
	//
	// “`
	// $hide_from_docs
	CustomTags map[string]*Tracing_CustomTag `` /* 179-byte string literal not displayed */
	// Configures the maximum length of the request path to extract and include in the
	// HttpUrl tag. Used to truncate length request paths to meet the needs of tracing
	// backend. If not set, then a length of 256 will be used.
	// $hide_from_docs
	MaxPathTagLength uint32 `protobuf:"varint,6,opt,name=max_path_tag_length,json=maxPathTagLength,proto3" json:"max_path_tag_length,omitempty"`
	// The percentage of requests (0.0 - 100.0) that will be randomly selected for trace generation,
	// if not requested by the client or not forced. Default is 1.0.
	Sampling float64 `protobuf:"fixed64,7,opt,name=sampling,proto3" json:"sampling,omitempty"`
	// Use the tls_settings to specify the tls mode to use. If the remote tracing service
	// uses Istio mutual TLS and shares the root CA with Pilot, specify the TLS
	// mode as `ISTIO_MUTUAL`.
	TlsSettings *v1alpha3.ClientTLSSettings `protobuf:"bytes,8,opt,name=tls_settings,json=tlsSettings,proto3" json:"tls_settings,omitempty"`
	// contains filtered or unexported fields
}

Tracing defines configuration for the tracing performed by Envoy instances.

func (*Tracing) Descriptor deprecated

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

Deprecated: Use Tracing.ProtoReflect.Descriptor instead.

func (*Tracing) GetCustomTags

func (x *Tracing) GetCustomTags() map[string]*Tracing_CustomTag

func (*Tracing) GetDatadog

func (x *Tracing) GetDatadog() *Tracing_Datadog

func (*Tracing) GetLightstep

func (x *Tracing) GetLightstep() *Tracing_Lightstep

func (*Tracing) GetMaxPathTagLength

func (x *Tracing) GetMaxPathTagLength() uint32

func (*Tracing) GetOpenCensusAgent

func (x *Tracing) GetOpenCensusAgent() *Tracing_OpenCensusAgent

func (*Tracing) GetSampling

func (x *Tracing) GetSampling() float64

func (*Tracing) GetStackdriver

func (x *Tracing) GetStackdriver() *Tracing_Stackdriver

func (*Tracing) GetTlsSettings

func (x *Tracing) GetTlsSettings() *v1alpha3.ClientTLSSettings

func (*Tracing) GetTracer

func (m *Tracing) GetTracer() isTracing_Tracer

func (*Tracing) GetZipkin

func (x *Tracing) GetZipkin() *Tracing_Zipkin

func (*Tracing) ProtoMessage

func (*Tracing) ProtoMessage()

func (*Tracing) ProtoReflect

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

func (*Tracing) Reset

func (x *Tracing) Reset()

func (*Tracing) String

func (x *Tracing) String() string

type Tracing_CustomTag

type Tracing_CustomTag struct {

	// Specify how to populate the value in a custom tag
	//
	// Types that are assignable to Type:
	//
	//	*Tracing_CustomTag_Literal
	//	*Tracing_CustomTag_Environment
	//	*Tracing_CustomTag_Header
	Type isTracing_CustomTag_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Configure custom tags that will be added to any active span. Tags can be generated via literals, environment variables or an incoming request header. $hide_from_docs

func (*Tracing_CustomTag) Descriptor deprecated

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

Deprecated: Use Tracing_CustomTag.ProtoReflect.Descriptor instead.

func (*Tracing_CustomTag) GetEnvironment

func (x *Tracing_CustomTag) GetEnvironment() *Tracing_Environment

func (*Tracing_CustomTag) GetHeader

func (x *Tracing_CustomTag) GetHeader() *Tracing_RequestHeader

func (*Tracing_CustomTag) GetLiteral

func (x *Tracing_CustomTag) GetLiteral() *Tracing_Literal

func (*Tracing_CustomTag) GetType

func (m *Tracing_CustomTag) GetType() isTracing_CustomTag_Type

func (*Tracing_CustomTag) ProtoMessage

func (*Tracing_CustomTag) ProtoMessage()

func (*Tracing_CustomTag) ProtoReflect

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

func (*Tracing_CustomTag) Reset

func (x *Tracing_CustomTag) Reset()

func (*Tracing_CustomTag) String

func (x *Tracing_CustomTag) String() string

type Tracing_CustomTag_Environment

type Tracing_CustomTag_Environment struct {
	// The custom tag's value should be populated from an environmental
	// variable
	Environment *Tracing_Environment `protobuf:"bytes,2,opt,name=environment,proto3,oneof"`
}

type Tracing_CustomTag_Header

type Tracing_CustomTag_Header struct {
	// The custom tag's value is populated by an http header from
	// an incoming request.
	Header *Tracing_RequestHeader `protobuf:"bytes,3,opt,name=header,proto3,oneof"`
}

type Tracing_CustomTag_Literal

type Tracing_CustomTag_Literal struct {
	// The custom tag's value is the specified literal.
	Literal *Tracing_Literal `protobuf:"bytes,1,opt,name=literal,proto3,oneof"`
}

type Tracing_Datadog

type Tracing_Datadog struct {

	// Address of the Datadog Agent.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

Datadog defines configuration for a Datadog tracer.

func (*Tracing_Datadog) Descriptor deprecated

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

Deprecated: Use Tracing_Datadog.ProtoReflect.Descriptor instead.

func (*Tracing_Datadog) GetAddress

func (x *Tracing_Datadog) GetAddress() string

func (*Tracing_Datadog) ProtoMessage

func (*Tracing_Datadog) ProtoMessage()

func (*Tracing_Datadog) ProtoReflect

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

func (*Tracing_Datadog) Reset

func (x *Tracing_Datadog) Reset()

func (*Tracing_Datadog) String

func (x *Tracing_Datadog) String() string

type Tracing_Datadog_

type Tracing_Datadog_ struct {
	// Use a Datadog tracer.
	Datadog *Tracing_Datadog `protobuf:"bytes,3,opt,name=datadog,proto3,oneof"`
}

type Tracing_Environment

type Tracing_Environment struct {

	// Name of the environment variable used to populate the tag's value
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the environment variable is not found,
	// the tag's value will be populated with this default value if specified,
	// otherwise the tag will not be populated.
	DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

Environment is the proxy's environment variable to be used for populating the custom span tag. $hide_from_docs

func (*Tracing_Environment) Descriptor deprecated

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

Deprecated: Use Tracing_Environment.ProtoReflect.Descriptor instead.

func (*Tracing_Environment) GetDefaultValue

func (x *Tracing_Environment) GetDefaultValue() string

func (*Tracing_Environment) GetName

func (x *Tracing_Environment) GetName() string

func (*Tracing_Environment) ProtoMessage

func (*Tracing_Environment) ProtoMessage()

func (*Tracing_Environment) ProtoReflect

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

func (*Tracing_Environment) Reset

func (x *Tracing_Environment) Reset()

func (*Tracing_Environment) String

func (x *Tracing_Environment) String() string

type Tracing_Lightstep

type Tracing_Lightstep struct {

	// Address of the Lightstep Satellite pool.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The Lightstep access token.
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

$hide_from_docs Defines configuration for a Lightstep tracer.

func (*Tracing_Lightstep) Descriptor deprecated

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

Deprecated: Use Tracing_Lightstep.ProtoReflect.Descriptor instead.

func (*Tracing_Lightstep) GetAccessToken

func (x *Tracing_Lightstep) GetAccessToken() string

func (*Tracing_Lightstep) GetAddress

func (x *Tracing_Lightstep) GetAddress() string

func (*Tracing_Lightstep) ProtoMessage

func (*Tracing_Lightstep) ProtoMessage()

func (*Tracing_Lightstep) ProtoReflect

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

func (*Tracing_Lightstep) Reset

func (x *Tracing_Lightstep) Reset()

func (*Tracing_Lightstep) String

func (x *Tracing_Lightstep) String() string

type Tracing_Lightstep_

type Tracing_Lightstep_ struct {
	// Use a Lightstep tracer.
	// NOTE: For Istio 1.15+, this configuration option will result
	// in using OpenTelemetry-based Lightstep integration.
	Lightstep *Tracing_Lightstep `protobuf:"bytes,2,opt,name=lightstep,proto3,oneof"`
}

type Tracing_Literal

type Tracing_Literal struct {

	// Static literal value used to populate the tag value.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Literal type represents a static value. $hide_from_docs

func (*Tracing_Literal) Descriptor deprecated

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

Deprecated: Use Tracing_Literal.ProtoReflect.Descriptor instead.

func (*Tracing_Literal) GetValue

func (x *Tracing_Literal) GetValue() string

func (*Tracing_Literal) ProtoMessage

func (*Tracing_Literal) ProtoMessage()

func (*Tracing_Literal) ProtoReflect

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

func (*Tracing_Literal) Reset

func (x *Tracing_Literal) Reset()

func (*Tracing_Literal) String

func (x *Tracing_Literal) String() string

type Tracing_OpenCensusAgent

type Tracing_OpenCensusAgent struct {

	// gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or
	// unix:path). See [gRPC naming
	// docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for
	// details.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Specifies the set of context propagation headers used for distributed
	// tracing. Default is `["W3C_TRACE_CONTEXT"]`. If multiple values are specified,
	// the proxy will attempt to read each header for each request and will
	// write all headers.
	Context []Tracing_OpenCensusAgent_TraceContext `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

OpenCensusAgent defines configuration for an OpenCensus tracer writing to an OpenCensus agent backend. See [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) and [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) for details.

func (*Tracing_OpenCensusAgent) Descriptor deprecated

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

Deprecated: Use Tracing_OpenCensusAgent.ProtoReflect.Descriptor instead.

func (*Tracing_OpenCensusAgent) GetAddress

func (x *Tracing_OpenCensusAgent) GetAddress() string

func (*Tracing_OpenCensusAgent) GetContext

func (*Tracing_OpenCensusAgent) ProtoMessage

func (*Tracing_OpenCensusAgent) ProtoMessage()

func (*Tracing_OpenCensusAgent) ProtoReflect

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

func (*Tracing_OpenCensusAgent) Reset

func (x *Tracing_OpenCensusAgent) Reset()

func (*Tracing_OpenCensusAgent) String

func (x *Tracing_OpenCensusAgent) String() string

type Tracing_OpenCensusAgent_

type Tracing_OpenCensusAgent_ struct {
	// Use an OpenCensus tracer exporting to an OpenCensus agent.
	OpenCensusAgent *Tracing_OpenCensusAgent `protobuf:"bytes,9,opt,name=open_census_agent,json=openCensusAgent,proto3,oneof"`
}

type Tracing_OpenCensusAgent_TraceContext

type Tracing_OpenCensusAgent_TraceContext int32

TraceContext selects the context propagation headers used for distributed tracing.

const (
	// $hide_from_docs
	// Unspecified context. Should not be used for now, but added to reserve
	// the 0 enum value if TraceContext is used outside of a repeated field.
	Tracing_OpenCensusAgent_UNSPECIFIED Tracing_OpenCensusAgent_TraceContext = 0
	// Use W3C Trace Context propagation using the `traceparent` HTTP header.
	// See the
	// [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details.
	Tracing_OpenCensusAgent_W3C_TRACE_CONTEXT Tracing_OpenCensusAgent_TraceContext = 1
	// Use gRPC binary context propagation using the `grpc-trace-bin` http header.
	Tracing_OpenCensusAgent_GRPC_BIN Tracing_OpenCensusAgent_TraceContext = 2
	// Use Cloud Trace context propagation using the
	// `X-Cloud-Trace-Context` http header.
	Tracing_OpenCensusAgent_CLOUD_TRACE_CONTEXT Tracing_OpenCensusAgent_TraceContext = 3
	// Use multi-header B3 context propagation using the `X-B3-TraceId`,
	// `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See
	// [B3 header propagation README](https://github.com/openzipkin/b3-propagation)
	// for details.
	Tracing_OpenCensusAgent_B3 Tracing_OpenCensusAgent_TraceContext = 4
)

func (Tracing_OpenCensusAgent_TraceContext) Descriptor

func (Tracing_OpenCensusAgent_TraceContext) Enum

func (Tracing_OpenCensusAgent_TraceContext) EnumDescriptor deprecated

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

Deprecated: Use Tracing_OpenCensusAgent_TraceContext.Descriptor instead.

func (Tracing_OpenCensusAgent_TraceContext) Number

func (Tracing_OpenCensusAgent_TraceContext) String

func (Tracing_OpenCensusAgent_TraceContext) Type

type Tracing_RequestHeader

type Tracing_RequestHeader struct {

	// HTTP header name used to obtain the value from to populate the tag value.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Default value to be used for the tag when the named HTTP header does not exist.
	// The tag will be skipped if no default value is provided.
	DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

RequestHeader is the HTTP request header which will be used to populate the span tag. A default value can be configured if the header does not exist. $hide_from_docs

func (*Tracing_RequestHeader) Descriptor deprecated

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

Deprecated: Use Tracing_RequestHeader.ProtoReflect.Descriptor instead.

func (*Tracing_RequestHeader) GetDefaultValue

func (x *Tracing_RequestHeader) GetDefaultValue() string

func (*Tracing_RequestHeader) GetName

func (x *Tracing_RequestHeader) GetName() string

func (*Tracing_RequestHeader) ProtoMessage

func (*Tracing_RequestHeader) ProtoMessage()

func (*Tracing_RequestHeader) ProtoReflect

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

func (*Tracing_RequestHeader) Reset

func (x *Tracing_RequestHeader) Reset()

func (*Tracing_RequestHeader) String

func (x *Tracing_RequestHeader) String() string

type Tracing_Stackdriver

type Tracing_Stackdriver struct {

	// debug enables trace output to stdout.
	// $hide_from_docs
	Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"`
	// The global default max number of attributes per span.
	// default is 200.
	// $hide_from_docs
	MaxNumberOfAttributes *wrappers.Int64Value `` /* 128-byte string literal not displayed */
	// The global default max number of annotation events per span.
	// default is 200.
	// $hide_from_docs
	MaxNumberOfAnnotations *wrappers.Int64Value `` /* 131-byte string literal not displayed */
	// The global default max number of message events per span.
	// default is 200.
	// $hide_from_docs
	MaxNumberOfMessageEvents *wrappers.Int64Value `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Stackdriver defines configuration for a Stackdriver tracer. See [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) and [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) for details.

func (*Tracing_Stackdriver) Descriptor deprecated

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

Deprecated: Use Tracing_Stackdriver.ProtoReflect.Descriptor instead.

func (*Tracing_Stackdriver) GetDebug

func (x *Tracing_Stackdriver) GetDebug() bool

func (*Tracing_Stackdriver) GetMaxNumberOfAnnotations

func (x *Tracing_Stackdriver) GetMaxNumberOfAnnotations() *wrappers.Int64Value

func (*Tracing_Stackdriver) GetMaxNumberOfAttributes

func (x *Tracing_Stackdriver) GetMaxNumberOfAttributes() *wrappers.Int64Value

func (*Tracing_Stackdriver) GetMaxNumberOfMessageEvents

func (x *Tracing_Stackdriver) GetMaxNumberOfMessageEvents() *wrappers.Int64Value

func (*Tracing_Stackdriver) ProtoMessage

func (*Tracing_Stackdriver) ProtoMessage()

func (*Tracing_Stackdriver) ProtoReflect

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

func (*Tracing_Stackdriver) Reset

func (x *Tracing_Stackdriver) Reset()

func (*Tracing_Stackdriver) String

func (x *Tracing_Stackdriver) String() string

type Tracing_Stackdriver_

type Tracing_Stackdriver_ struct {
	// Use a Stackdriver tracer.
	Stackdriver *Tracing_Stackdriver `protobuf:"bytes,4,opt,name=stackdriver,proto3,oneof"`
}

type Tracing_Zipkin

type Tracing_Zipkin struct {

	// Address of the Zipkin service (e.g. _zipkin:9411_).
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

Zipkin defines configuration for a Zipkin tracer.

func (*Tracing_Zipkin) Descriptor deprecated

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

Deprecated: Use Tracing_Zipkin.ProtoReflect.Descriptor instead.

func (*Tracing_Zipkin) GetAddress

func (x *Tracing_Zipkin) GetAddress() string

func (*Tracing_Zipkin) ProtoMessage

func (*Tracing_Zipkin) ProtoMessage()

func (*Tracing_Zipkin) ProtoReflect

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

func (*Tracing_Zipkin) Reset

func (x *Tracing_Zipkin) Reset()

func (*Tracing_Zipkin) String

func (x *Tracing_Zipkin) String() string

type Tracing_Zipkin_

type Tracing_Zipkin_ struct {
	// Use a Zipkin tracer.
	Zipkin *Tracing_Zipkin `protobuf:"bytes,1,opt,name=zipkin,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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