v1alpha1

package
v0.0.0-...-3d58313 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthNetwork = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetwork   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthProxy = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProxy   = fmt.Errorf("proto: integer overflow")
)
View Source
var AuthenticationPolicy_name = map[int32]string{
	0:    "NONE",
	1:    "MUTUAL_TLS",
	1000: "INHERIT",
}
View Source
var AuthenticationPolicy_value = map[string]int32{
	"NONE":       0,
	"MUTUAL_TLS": 1,
	"INHERIT":    1000,
}
View Source
var MeshConfig_AccessLogEncoding_name = map[int32]string{
	0: "TEXT",
	1: "JSON",
}
View Source
var MeshConfig_AccessLogEncoding_value = map[string]int32{
	"TEXT": 0,
	"JSON": 1,
}
View Source
var MeshConfig_AuthPolicy_name = map[int32]string{
	0: "NONE",
	1: "MUTUAL_TLS",
}
View Source
var MeshConfig_AuthPolicy_value = map[string]int32{
	"NONE":       0,
	"MUTUAL_TLS": 1,
}
View Source
var MeshConfig_H2UpgradePolicy_name = map[int32]string{
	0: "DO_NOT_UPGRADE",
	1: "UPGRADE",
}
View Source
var MeshConfig_H2UpgradePolicy_value = map[string]int32{
	"DO_NOT_UPGRADE": 0,
	"UPGRADE":        1,
}
View Source
var MeshConfig_IngressControllerMode_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "OFF",
	2: "DEFAULT",
	3: "STRICT",
}
View Source
var MeshConfig_IngressControllerMode_value = map[string]int32{
	"UNSPECIFIED": 0,
	"OFF":         1,
	"DEFAULT":     2,
	"STRICT":      3,
}
View Source
var MeshConfig_OutboundTrafficPolicy_Mode_name = map[int32]string{
	0: "REGISTRY_ONLY",
	1: "ALLOW_ANY",
}
View Source
var MeshConfig_OutboundTrafficPolicy_Mode_value = map[string]int32{
	"REGISTRY_ONLY": 0,
	"ALLOW_ANY":     1,
}
View Source
var ProxyConfig_InboundInterceptionMode_name = map[int32]string{
	0: "REDIRECT",
	1: "TPROXY",
}
View Source
var ProxyConfig_InboundInterceptionMode_value = map[string]int32{
	"REDIRECT": 0,
	"TPROXY":   1,
}
View Source
var Resource_name = map[int32]string{
	0: "SERVICE_REGISTRY",
}
View Source
var Resource_value = map[string]int32{
	"SERVICE_REGISTRY": 0,
}
View Source
var Topology_ForwardClientCertDetails_name = map[int32]string{
	0: "UNDEFINED",
	1: "SANITIZE",
	2: "FORWARD_ONLY",
	3: "APPEND_FORWARD",
	4: "SANITIZE_SET",
	5: "ALWAYS_FORWARD_ONLY",
}
View Source
var Topology_ForwardClientCertDetails_value = map[string]int32{
	"UNDEFINED":           0,
	"SANITIZE":            1,
	"FORWARD_ONLY":        2,
	"APPEND_FORWARD":      3,
	"SANITIZE_SET":        4,
	"ALWAYS_FORWARD_ONLY": 5,
}

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) EnumDescriptor

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

func (AuthenticationPolicy) String

func (x AuthenticationPolicy) String() string

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:"secretName,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:"dnsNames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*Certificate) GetDnsNames

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

func (*Certificate) GetSecretName

func (m *Certificate) GetSecretName() string

func (*Certificate) Marshal

func (m *Certificate) Marshal() (dAtA []byte, err error)

func (*Certificate) MarshalTo

func (m *Certificate) MarshalTo(dAtA []byte) (int, error)

func (*Certificate) MarshalToSizedBuffer

func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) Reset

func (m *Certificate) Reset()

func (*Certificate) Size

func (m *Certificate) Size() (n int)

func (*Certificate) String

func (m *Certificate) String() string

func (*Certificate) Unmarshal

func (m *Certificate) Unmarshal(dAtA []byte) error

func (*Certificate) XXX_DiscardUnknown

func (m *Certificate) XXX_DiscardUnknown()

func (*Certificate) XXX_Marshal

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

func (*Certificate) XXX_Merge

func (m *Certificate) XXX_Merge(src proto.Message)

func (*Certificate) XXX_Size

func (m *Certificate) XXX_Size() int

func (*Certificate) XXX_Unmarshal

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

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 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:"tlsSettings,omitempty"`
	// Describes the source of configuration, if nothing is specified default is MCP
	SubscribedResources  []Resource `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

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

func (*ConfigSource) GetAddress

func (m *ConfigSource) GetAddress() string

func (*ConfigSource) GetSubscribedResources

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

func (*ConfigSource) GetTlsSettings

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

func (*ConfigSource) Marshal

func (m *ConfigSource) Marshal() (dAtA []byte, err error)

func (*ConfigSource) MarshalTo

func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSource) MarshalToSizedBuffer

func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) Reset

func (m *ConfigSource) Reset()

func (*ConfigSource) Size

func (m *ConfigSource) Size() (n int)

func (*ConfigSource) String

func (m *ConfigSource) String() string

func (*ConfigSource) Unmarshal

func (m *ConfigSource) Unmarshal(dAtA []byte) error

func (*ConfigSource) XXX_DiscardUnknown

func (m *ConfigSource) XXX_DiscardUnknown()

func (*ConfigSource) XXX_Marshal

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

func (*ConfigSource) XXX_Merge

func (m *ConfigSource) XXX_Merge(src proto.Message)

func (*ConfigSource) XXX_Size

func (m *ConfigSource) XXX_Size() int

func (*ConfigSource) XXX_Unmarshal

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

type MeshConfig

type MeshConfig struct {
	// Port on which Envoy should listen for incoming connections from
	// other services. Default port is 15001.
	ProxyListenPort int32 `protobuf:"varint,4,opt,name=proxy_listen_port,json=proxyListenPort,proto3" json:"proxyListenPort,omitempty"`
	// Port on which Envoy should listen for HTTP PROXY requests if set.
	ProxyHttpPort int32 `protobuf:"varint,5,opt,name=proxy_http_port,json=proxyHttpPort,proto3" json:"proxyHttpPort,omitempty"`
	// Connection timeout used by Envoy. (MUST BE >=1ms)
	// Default timeout is 10s.
	ConnectTimeout *types.Duration `protobuf:"bytes,6,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connectTimeout,omitempty"`
	// 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 5s.
	ProtocolDetectionTimeout *types.Duration `` /* 134-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:"tcpKeepalive,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:"ingressClass,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:"ingressService,omitempty"`
	// Defines whether to use Istio ingress controller for annotated or all ingress resources.
	// Default mode is STRICT.
	IngressControllerMode MeshConfig_IngressControllerMode `` /* 183-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:"ingressSelector,omitempty"`
	// $hide_from_docs
	AuthPolicy MeshConfig_AuthPolicy `` // Deprecated: Do not use.
	/* 139-byte string literal not displayed */
	// $hide_from_docs
	RdsRefreshDelay *types.Duration `protobuf:"bytes,11,opt,name=rds_refresh_delay,json=rdsRefreshDelay,proto3" json:"rdsRefreshDelay,omitempty"` // Deprecated: Do not use.
	// 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:"enableTracing,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:"accessLogFile,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:"accessLogFormat,omitempty"`
	// Encoding for the proxy access log (text or json).
	// Default value is text.
	AccessLogEncoding MeshConfig_AccessLogEncoding `` /* 168-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-v2/config/accesslog/v2/als.proto)
	// for details about Envoy's gRPC Access Log Service API.
	// Default value is false.
	EnableEnvoyAccessLogService bool `` /* 146-byte string literal not displayed */
	// Default proxy config used by the proxy injection mechanism operating in the mesh
	// (e.g. Kubernetes admission controller)
	// In case of Kubernetes, the proxy config is applied once during the injection process,
	// and remain constant for the duration of the pod. The rest of the mesh config can be changed
	// at runtime and config gets distributed dynamically.
	DefaultConfig *ProxyConfig `protobuf:"bytes,14,opt,name=default_config,json=defaultConfig,proto3" json:"defaultConfig,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 `protobuf:"bytes,17,opt,name=outbound_traffic_policy,json=outboundTrafficPolicy,proto3" json:"outboundTrafficPolicy,omitempty"`
	// 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:"configSources,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 *types.BoolValue `protobuf:"bytes,43,opt,name=enable_auto_mtls,json=enableAutoMtls,proto3" json:"enableAutoMtls,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:"trustDomain,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:"trustDomainAliases,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 `` /* 129-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 `` /* 151-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 `` /* 154-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:"rootNamespace,omitempty"`
	// Locality based load balancing distribution or failover settings.
	LocalityLbSetting *v1alpha3.LocalityLoadBalancerSetting `protobuf:"bytes,35,opt,name=locality_lb_setting,json=localityLbSetting,proto3" json:"localityLbSetting,omitempty"`
	// Configures DNS refresh rate for Envoy clusters of type STRICT_DNS
	// Default refresh rate is 5s.
	DnsRefreshRate *types.Duration `protobuf:"bytes,36,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dnsRefreshRate,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 `` /* 160-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.
	// - `%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 `` /* 129-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 `` /* 132-byte string literal not displayed */
	// Configure the provision of certificates.
	Certificates []*Certificate `protobuf:"bytes,47,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// Set configuration for Thrift protocol
	ThriftConfig *MeshConfig_ThriftConfig `protobuf:"bytes,49,opt,name=thrift_config,json=thriftConfig,proto3" json:"thriftConfig,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:"serviceSettings,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 *types.BoolValue `protobuf:"bytes,51,opt,name=enable_prometheus_merge,json=enablePrometheusMerge,proto3" json:"enablePrometheusMerge,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}         `json:"-"`
	XXX_unrecognized      []byte           `json:"-"`
	XXX_sizecache         int32            `json:"-"`
}

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

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

func (*MeshConfig) Descriptor

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

func (*MeshConfig) GetAccessLogEncoding

func (m *MeshConfig) GetAccessLogEncoding() MeshConfig_AccessLogEncoding

func (*MeshConfig) GetAccessLogFile

func (m *MeshConfig) GetAccessLogFile() string

func (*MeshConfig) GetAccessLogFormat

func (m *MeshConfig) GetAccessLogFormat() string

func (*MeshConfig) GetAuthPolicy deprecated

func (m *MeshConfig) GetAuthPolicy() MeshConfig_AuthPolicy

Deprecated: Do not use.

func (*MeshConfig) GetCertificates

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

func (*MeshConfig) GetConfigSources

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

func (*MeshConfig) GetConnectTimeout

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

func (*MeshConfig) GetDefaultConfig

func (m *MeshConfig) GetDefaultConfig() *ProxyConfig

func (*MeshConfig) GetDefaultDestinationRuleExportTo

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

func (*MeshConfig) GetDefaultServiceExportTo

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

func (*MeshConfig) GetDefaultVirtualServiceExportTo

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

func (*MeshConfig) GetDnsRefreshRate

func (m *MeshConfig) GetDnsRefreshRate() *types.Duration

func (*MeshConfig) GetEnableAutoMtls

func (m *MeshConfig) GetEnableAutoMtls() *types.BoolValue

func (*MeshConfig) GetEnableEnvoyAccessLogService

func (m *MeshConfig) GetEnableEnvoyAccessLogService() bool

func (*MeshConfig) GetEnablePrometheusMerge

func (m *MeshConfig) GetEnablePrometheusMerge() *types.BoolValue

func (*MeshConfig) GetEnableTracing

func (m *MeshConfig) GetEnableTracing() bool

func (*MeshConfig) GetH2UpgradePolicy

func (m *MeshConfig) GetH2UpgradePolicy() MeshConfig_H2UpgradePolicy

func (*MeshConfig) GetInboundClusterStatName

func (m *MeshConfig) GetInboundClusterStatName() string

func (*MeshConfig) GetIngressClass

func (m *MeshConfig) GetIngressClass() string

func (*MeshConfig) GetIngressControllerMode

func (m *MeshConfig) GetIngressControllerMode() MeshConfig_IngressControllerMode

func (*MeshConfig) GetIngressSelector

func (m *MeshConfig) GetIngressSelector() string

func (*MeshConfig) GetIngressService

func (m *MeshConfig) GetIngressService() string

func (*MeshConfig) GetLocalityLbSetting

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

func (*MeshConfig) GetOutboundClusterStatName

func (m *MeshConfig) GetOutboundClusterStatName() string

func (*MeshConfig) GetOutboundTrafficPolicy

func (m *MeshConfig) GetOutboundTrafficPolicy() *MeshConfig_OutboundTrafficPolicy

func (*MeshConfig) GetProtocolDetectionTimeout

func (m *MeshConfig) GetProtocolDetectionTimeout() *types.Duration

func (*MeshConfig) GetProxyHttpPort

func (m *MeshConfig) GetProxyHttpPort() int32

func (*MeshConfig) GetProxyListenPort

func (m *MeshConfig) GetProxyListenPort() int32

func (*MeshConfig) GetRdsRefreshDelay deprecated

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

Deprecated: Do not use.

func (*MeshConfig) GetRootNamespace

func (m *MeshConfig) GetRootNamespace() string

func (*MeshConfig) GetServiceSettings

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

func (*MeshConfig) GetThriftConfig

func (m *MeshConfig) GetThriftConfig() *MeshConfig_ThriftConfig

func (*MeshConfig) GetTrustDomain

func (m *MeshConfig) GetTrustDomain() string

func (*MeshConfig) GetTrustDomainAliases

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

func (*MeshConfig) Marshal

func (m *MeshConfig) Marshal() (dAtA []byte, err error)

func (*MeshConfig) MarshalTo

func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error)

func (*MeshConfig) MarshalToSizedBuffer

func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshConfig) ProtoMessage

func (*MeshConfig) ProtoMessage()

func (*MeshConfig) Reset

func (m *MeshConfig) Reset()

func (*MeshConfig) Size

func (m *MeshConfig) Size() (n int)

func (*MeshConfig) String

func (m *MeshConfig) String() string

func (*MeshConfig) Unmarshal

func (m *MeshConfig) Unmarshal(dAtA []byte) error

func (*MeshConfig) XXX_DiscardUnknown

func (m *MeshConfig) XXX_DiscardUnknown()

func (*MeshConfig) XXX_Marshal

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

func (*MeshConfig) XXX_Merge

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

func (*MeshConfig) XXX_Size

func (m *MeshConfig) XXX_Size() int

func (*MeshConfig) XXX_Unmarshal

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

type MeshConfig_AccessLogEncoding

type MeshConfig_AccessLogEncoding int32
const (
	MeshConfig_TEXT MeshConfig_AccessLogEncoding = 0
	MeshConfig_JSON MeshConfig_AccessLogEncoding = 1
)

func (MeshConfig_AccessLogEncoding) EnumDescriptor

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

func (MeshConfig_AccessLogEncoding) String

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) EnumDescriptor

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

func (MeshConfig_AuthPolicy) String

func (x MeshConfig_AuthPolicy) String() 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) EnumDescriptor

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

func (MeshConfig_H2UpgradePolicy) String

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 entireKubernetes 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) EnumDescriptor

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

func (MeshConfig_IngressControllerMode) String

type MeshConfig_OutboundTrafficPolicy

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

func (*MeshConfig_OutboundTrafficPolicy) Descriptor

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

func (*MeshConfig_OutboundTrafficPolicy) GetMode

func (*MeshConfig_OutboundTrafficPolicy) Marshal

func (m *MeshConfig_OutboundTrafficPolicy) Marshal() (dAtA []byte, err error)

func (*MeshConfig_OutboundTrafficPolicy) MarshalTo

func (m *MeshConfig_OutboundTrafficPolicy) MarshalTo(dAtA []byte) (int, error)

func (*MeshConfig_OutboundTrafficPolicy) MarshalToSizedBuffer

func (m *MeshConfig_OutboundTrafficPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage

func (*MeshConfig_OutboundTrafficPolicy) ProtoMessage()

func (*MeshConfig_OutboundTrafficPolicy) Reset

func (*MeshConfig_OutboundTrafficPolicy) Size

func (m *MeshConfig_OutboundTrafficPolicy) Size() (n int)

func (*MeshConfig_OutboundTrafficPolicy) String

func (*MeshConfig_OutboundTrafficPolicy) Unmarshal

func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error

func (*MeshConfig_OutboundTrafficPolicy) XXX_DiscardUnknown

func (m *MeshConfig_OutboundTrafficPolicy) XXX_DiscardUnknown()

func (*MeshConfig_OutboundTrafficPolicy) XXX_Marshal

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

func (*MeshConfig_OutboundTrafficPolicy) XXX_Merge

func (*MeshConfig_OutboundTrafficPolicy) XXX_Size

func (m *MeshConfig_OutboundTrafficPolicy) XXX_Size() int

func (*MeshConfig_OutboundTrafficPolicy) XXX_Unmarshal

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

type MeshConfig_OutboundTrafficPolicy_Mode

type MeshConfig_OutboundTrafficPolicy_Mode int32
const (
	// outbound traffic will be restricted to services defined in the
	// service registry as well as those defined through ServiceEntries
	MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY MeshConfig_OutboundTrafficPolicy_Mode = 0
	// outbound traffic to unknown destinations will be allowed, in case
	// there are no services or ServiceEntries for the destination port
	MeshConfig_OutboundTrafficPolicy_ALLOW_ANY MeshConfig_OutboundTrafficPolicy_Mode = 1
)

func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor

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

func (MeshConfig_OutboundTrafficPolicy_Mode) String

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

$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

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

func (*MeshConfig_ServiceSettings) GetHosts

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

func (*MeshConfig_ServiceSettings) GetSettings

func (*MeshConfig_ServiceSettings) Marshal

func (m *MeshConfig_ServiceSettings) Marshal() (dAtA []byte, err error)

func (*MeshConfig_ServiceSettings) MarshalTo

func (m *MeshConfig_ServiceSettings) MarshalTo(dAtA []byte) (int, error)

func (*MeshConfig_ServiceSettings) MarshalToSizedBuffer

func (m *MeshConfig_ServiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshConfig_ServiceSettings) ProtoMessage

func (*MeshConfig_ServiceSettings) ProtoMessage()

func (*MeshConfig_ServiceSettings) Reset

func (m *MeshConfig_ServiceSettings) Reset()

func (*MeshConfig_ServiceSettings) Size

func (m *MeshConfig_ServiceSettings) Size() (n int)

func (*MeshConfig_ServiceSettings) String

func (m *MeshConfig_ServiceSettings) String() string

func (*MeshConfig_ServiceSettings) Unmarshal

func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error

func (*MeshConfig_ServiceSettings) XXX_DiscardUnknown

func (m *MeshConfig_ServiceSettings) XXX_DiscardUnknown()

func (*MeshConfig_ServiceSettings) XXX_Marshal

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

func (*MeshConfig_ServiceSettings) XXX_Merge

func (m *MeshConfig_ServiceSettings) XXX_Merge(src proto.Message)

func (*MeshConfig_ServiceSettings) XXX_Size

func (m *MeshConfig_ServiceSettings) XXX_Size() int

func (*MeshConfig_ServiceSettings) XXX_Unmarshal

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

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 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:"clusterLocal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Settings for the selected services.

func (*MeshConfig_ServiceSettings_Settings) Descriptor

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

func (*MeshConfig_ServiceSettings_Settings) GetClusterLocal

func (m *MeshConfig_ServiceSettings_Settings) GetClusterLocal() bool

func (*MeshConfig_ServiceSettings_Settings) Marshal

func (m *MeshConfig_ServiceSettings_Settings) Marshal() (dAtA []byte, err error)

func (*MeshConfig_ServiceSettings_Settings) MarshalTo

func (m *MeshConfig_ServiceSettings_Settings) MarshalTo(dAtA []byte) (int, error)

func (*MeshConfig_ServiceSettings_Settings) MarshalToSizedBuffer

func (m *MeshConfig_ServiceSettings_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshConfig_ServiceSettings_Settings) ProtoMessage

func (*MeshConfig_ServiceSettings_Settings) ProtoMessage()

func (*MeshConfig_ServiceSettings_Settings) Reset

func (*MeshConfig_ServiceSettings_Settings) Size

func (*MeshConfig_ServiceSettings_Settings) String

func (*MeshConfig_ServiceSettings_Settings) Unmarshal

func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error

func (*MeshConfig_ServiceSettings_Settings) XXX_DiscardUnknown

func (m *MeshConfig_ServiceSettings_Settings) XXX_DiscardUnknown()

func (*MeshConfig_ServiceSettings_Settings) XXX_Marshal

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

func (*MeshConfig_ServiceSettings_Settings) XXX_Merge

func (*MeshConfig_ServiceSettings_Settings) XXX_Size

func (*MeshConfig_ServiceSettings_Settings) XXX_Unmarshal

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

type MeshConfig_ThriftConfig

type MeshConfig_ThriftConfig struct {
	// Specify thrift rate limit service URL. If pilot has thrift protocol support enabled,
	// this will enable the rate limit service for destinations that have matching rate
	// limit configurations.
	RateLimitUrl string `protobuf:"bytes,1,opt,name=rate_limit_url,json=rateLimitUrl,proto3" json:"rateLimitUrl,omitempty"`
	// Specify thrift rate limit service timeout, in milliseconds. Default is 50ms
	RateLimitTimeout     *types.Duration `protobuf:"bytes,2,opt,name=rate_limit_timeout,json=rateLimitTimeout,proto3" json:"rateLimitTimeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*MeshConfig_ThriftConfig) Descriptor

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

func (*MeshConfig_ThriftConfig) GetRateLimitTimeout

func (m *MeshConfig_ThriftConfig) GetRateLimitTimeout() *types.Duration

func (*MeshConfig_ThriftConfig) GetRateLimitUrl

func (m *MeshConfig_ThriftConfig) GetRateLimitUrl() string

func (*MeshConfig_ThriftConfig) Marshal

func (m *MeshConfig_ThriftConfig) Marshal() (dAtA []byte, err error)

func (*MeshConfig_ThriftConfig) MarshalTo

func (m *MeshConfig_ThriftConfig) MarshalTo(dAtA []byte) (int, error)

func (*MeshConfig_ThriftConfig) MarshalToSizedBuffer

func (m *MeshConfig_ThriftConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshConfig_ThriftConfig) ProtoMessage

func (*MeshConfig_ThriftConfig) ProtoMessage()

func (*MeshConfig_ThriftConfig) Reset

func (m *MeshConfig_ThriftConfig) Reset()

func (*MeshConfig_ThriftConfig) Size

func (m *MeshConfig_ThriftConfig) Size() (n int)

func (*MeshConfig_ThriftConfig) String

func (m *MeshConfig_ThriftConfig) String() string

func (*MeshConfig_ThriftConfig) Unmarshal

func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error

func (*MeshConfig_ThriftConfig) XXX_DiscardUnknown

func (m *MeshConfig_ThriftConfig) XXX_DiscardUnknown()

func (*MeshConfig_ThriftConfig) XXX_Marshal

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

func (*MeshConfig_ThriftConfig) XXX_Merge

func (m *MeshConfig_ThriftConfig) XXX_Merge(src proto.Message)

func (*MeshConfig_ThriftConfig) XXX_Size

func (m *MeshConfig_ThriftConfig) XXX_Size() int

func (*MeshConfig_ThriftConfig) XXX_Unmarshal

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

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 */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

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

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

func (*MeshNetworks) GetNetworks

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

func (*MeshNetworks) Marshal

func (m *MeshNetworks) Marshal() (dAtA []byte, err error)

func (*MeshNetworks) MarshalTo

func (m *MeshNetworks) MarshalTo(dAtA []byte) (int, error)

func (*MeshNetworks) MarshalToSizedBuffer

func (m *MeshNetworks) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshNetworks) ProtoMessage

func (*MeshNetworks) ProtoMessage()

func (*MeshNetworks) Reset

func (m *MeshNetworks) Reset()

func (*MeshNetworks) Size

func (m *MeshNetworks) Size() (n int)

func (*MeshNetworks) String

func (m *MeshNetworks) String() string

func (*MeshNetworks) Unmarshal

func (m *MeshNetworks) Unmarshal(dAtA []byte) error

func (*MeshNetworks) XXX_DiscardUnknown

func (m *MeshNetworks) XXX_DiscardUnknown()

func (*MeshNetworks) XXX_Marshal

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

func (*MeshNetworks) XXX_Merge

func (m *MeshNetworks) XXX_Merge(src proto.Message)

func (*MeshNetworks) XXX_Size

func (m *MeshNetworks) XXX_Size() int

func (*MeshNetworks) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

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

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

func (*Network) GetEndpoints

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

func (*Network) GetGateways

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

func (*Network) Marshal

func (m *Network) Marshal() (dAtA []byte, err error)

func (*Network) MarshalTo

func (m *Network) MarshalTo(dAtA []byte) (int, error)

func (*Network) MarshalToSizedBuffer

func (m *Network) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) Reset

func (m *Network) Reset()

func (*Network) Size

func (m *Network) Size() (n int)

func (*Network) String

func (m *Network) String() string

func (*Network) Unmarshal

func (m *Network) Unmarshal(dAtA []byte) error

func (*Network) XXX_DiscardUnknown

func (m *Network) XXX_DiscardUnknown()

func (*Network) XXX_Marshal

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

func (*Network) XXX_Merge

func (m *Network) XXX_Merge(src proto.Message)

func (*Network) XXX_Size

func (m *Network) XXX_Size() int

func (*Network) XXX_Unmarshal

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

type Network_IstioNetworkGateway

type Network_IstioNetworkGateway struct {
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*Network_IstioNetworkGateway) GetAddress

func (m *Network_IstioNetworkGateway) GetAddress() string

func (*Network_IstioNetworkGateway) GetGw

func (m *Network_IstioNetworkGateway) GetGw() isNetwork_IstioNetworkGateway_Gw

func (*Network_IstioNetworkGateway) GetLocality

func (m *Network_IstioNetworkGateway) GetLocality() string

func (*Network_IstioNetworkGateway) GetPort

func (m *Network_IstioNetworkGateway) GetPort() uint32

func (*Network_IstioNetworkGateway) GetRegistryServiceName

func (m *Network_IstioNetworkGateway) GetRegistryServiceName() string

func (*Network_IstioNetworkGateway) Marshal

func (m *Network_IstioNetworkGateway) Marshal() (dAtA []byte, err error)

func (*Network_IstioNetworkGateway) MarshalTo

func (m *Network_IstioNetworkGateway) MarshalTo(dAtA []byte) (int, error)

func (*Network_IstioNetworkGateway) MarshalToSizedBuffer

func (m *Network_IstioNetworkGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_IstioNetworkGateway) ProtoMessage

func (*Network_IstioNetworkGateway) ProtoMessage()

func (*Network_IstioNetworkGateway) Reset

func (m *Network_IstioNetworkGateway) Reset()

func (*Network_IstioNetworkGateway) Size

func (m *Network_IstioNetworkGateway) Size() (n int)

func (*Network_IstioNetworkGateway) String

func (m *Network_IstioNetworkGateway) String() string

func (*Network_IstioNetworkGateway) Unmarshal

func (m *Network_IstioNetworkGateway) Unmarshal(dAtA []byte) error

func (*Network_IstioNetworkGateway) XXX_DiscardUnknown

func (m *Network_IstioNetworkGateway) XXX_DiscardUnknown()

func (*Network_IstioNetworkGateway) XXX_Marshal

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

func (*Network_IstioNetworkGateway) XXX_Merge

func (m *Network_IstioNetworkGateway) XXX_Merge(src proto.Message)

func (*Network_IstioNetworkGateway) XXX_OneofWrappers

func (*Network_IstioNetworkGateway) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Network_IstioNetworkGateway) XXX_Size

func (m *Network_IstioNetworkGateway) XXX_Size() int

func (*Network_IstioNetworkGateway) XXX_Unmarshal

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

type Network_IstioNetworkGateway_Address

type Network_IstioNetworkGateway_Address struct {
	Address string `protobuf:"bytes,2,opt,name=address,proto3,oneof"`
}

func (*Network_IstioNetworkGateway_Address) MarshalTo

func (m *Network_IstioNetworkGateway_Address) MarshalTo(dAtA []byte) (int, error)

func (*Network_IstioNetworkGateway_Address) MarshalToSizedBuffer

func (m *Network_IstioNetworkGateway_Address) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_IstioNetworkGateway_Address) Size

type Network_IstioNetworkGateway_RegistryServiceName

type Network_IstioNetworkGateway_RegistryServiceName struct {
	RegistryServiceName string `protobuf:"bytes,1,opt,name=registry_service_name,json=registryServiceName,proto3,oneof"`
}

func (*Network_IstioNetworkGateway_RegistryServiceName) MarshalTo

func (*Network_IstioNetworkGateway_RegistryServiceName) MarshalToSizedBuffer

func (m *Network_IstioNetworkGateway_RegistryServiceName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_IstioNetworkGateway_RegistryServiceName) Size

type Network_NetworkEndpoints

type Network_NetworkEndpoints struct {
	// Types that are valid to be assigned to Ne:
	//	*Network_NetworkEndpoints_FromCidr
	//	*Network_NetworkEndpoints_FromRegistry
	Ne                   isNetwork_NetworkEndpoints_Ne `protobuf_oneof:"ne"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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

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

func (*Network_NetworkEndpoints) GetFromCidr

func (m *Network_NetworkEndpoints) GetFromCidr() string

func (*Network_NetworkEndpoints) GetFromRegistry

func (m *Network_NetworkEndpoints) GetFromRegistry() string

func (*Network_NetworkEndpoints) GetNe

func (m *Network_NetworkEndpoints) GetNe() isNetwork_NetworkEndpoints_Ne

func (*Network_NetworkEndpoints) Marshal

func (m *Network_NetworkEndpoints) Marshal() (dAtA []byte, err error)

func (*Network_NetworkEndpoints) MarshalTo

func (m *Network_NetworkEndpoints) MarshalTo(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints) MarshalToSizedBuffer

func (m *Network_NetworkEndpoints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints) ProtoMessage

func (*Network_NetworkEndpoints) ProtoMessage()

func (*Network_NetworkEndpoints) Reset

func (m *Network_NetworkEndpoints) Reset()

func (*Network_NetworkEndpoints) Size

func (m *Network_NetworkEndpoints) Size() (n int)

func (*Network_NetworkEndpoints) String

func (m *Network_NetworkEndpoints) String() string

func (*Network_NetworkEndpoints) Unmarshal

func (m *Network_NetworkEndpoints) Unmarshal(dAtA []byte) error

func (*Network_NetworkEndpoints) XXX_DiscardUnknown

func (m *Network_NetworkEndpoints) XXX_DiscardUnknown()

func (*Network_NetworkEndpoints) XXX_Marshal

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

func (*Network_NetworkEndpoints) XXX_Merge

func (m *Network_NetworkEndpoints) XXX_Merge(src proto.Message)

func (*Network_NetworkEndpoints) XXX_OneofWrappers

func (*Network_NetworkEndpoints) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Network_NetworkEndpoints) XXX_Size

func (m *Network_NetworkEndpoints) XXX_Size() int

func (*Network_NetworkEndpoints) XXX_Unmarshal

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

type Network_NetworkEndpoints_FromCidr

type Network_NetworkEndpoints_FromCidr struct {
	FromCidr string `protobuf:"bytes,1,opt,name=from_cidr,json=fromCidr,proto3,oneof"`
}

func (*Network_NetworkEndpoints_FromCidr) MarshalTo

func (m *Network_NetworkEndpoints_FromCidr) MarshalTo(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints_FromCidr) MarshalToSizedBuffer

func (m *Network_NetworkEndpoints_FromCidr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints_FromCidr) Size

func (m *Network_NetworkEndpoints_FromCidr) Size() (n int)

type Network_NetworkEndpoints_FromRegistry

type Network_NetworkEndpoints_FromRegistry struct {
	FromRegistry string `protobuf:"bytes,2,opt,name=from_registry,json=fromRegistry,proto3,oneof"`
}

func (*Network_NetworkEndpoints_FromRegistry) MarshalTo

func (m *Network_NetworkEndpoints_FromRegistry) MarshalTo(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints_FromRegistry) MarshalToSizedBuffer

func (m *Network_NetworkEndpoints_FromRegistry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network_NetworkEndpoints_FromRegistry) Size

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:"configPath,omitempty"`
	// Path to the proxy binary
	BinaryPath string `protobuf:"bytes,2,opt,name=binary_path,json=binaryPath,proto3" json:"binaryPath,omitempty"`
	// Service cluster defines the name for the service_cluster that is
	// shared by all Envoy instances. This setting corresponds to
	// _--service-cluster_ flag in Envoy.  In a typical Envoy deployment, the
	// _service-cluster_ flag is used to identify the caller, for
	// source-based routing scenarios.
	//
	// Since Istio does not assign a local service/service version to each
	// Envoy instance, the name is same for all of them.  However, the
	// source/caller's identity (e.g., IP address) is encoded in the
	// _--service-node_ flag when launching Envoy.  When the RDS service
	// receives API calls from Envoy, it uses the value of the _service-node_
	// flag to compute routes that are relative to the service instances
	// located at that IP address.
	ServiceCluster string `protobuf:"bytes,3,opt,name=service_cluster,json=serviceCluster,proto3" json:"serviceCluster,omitempty"`
	// 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 *types.Duration `protobuf:"bytes,4,opt,name=drain_duration,json=drainDuration,proto3" json:"drainDuration,omitempty"`
	// The time in seconds that Envoy will wait before shutting down the
	// parent process during a hot restart. MUST be >=1s (e.g., _1s/1m/1h_).
	// MUST BE greater than _drain_duration_ parameter.
	// Default shutdown duration is 60s.
	ParentShutdownDuration *types.Duration `` /* 127-byte string literal not displayed */
	// 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:"discoveryAddress,omitempty"`
	// $hide_from_docs
	DiscoveryRefreshDelay *types.Duration `protobuf:"bytes,7,opt,name=discovery_refresh_delay,json=discoveryRefreshDelay,proto3" json:"discoveryRefreshDelay,omitempty"` // Deprecated: Do not use.
	// Address of the Zipkin service (e.g. _zipkin:9411_).
	// DEPRECATED: Use [tracing][istio.mesh.v1alpha1.ProxyConfig.tracing] instead.
	ZipkinAddress string `protobuf:"bytes,8,opt,name=zipkin_address,json=zipkinAddress,proto3" json:"zipkinAddress,omitempty"` // Deprecated: Do not use.
	// 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:"statsdUdpAddress,omitempty"`
	// $hide_from_docs
	EnvoyMetricsServiceAddress string `` // Deprecated: Do not use.
	/* 141-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:"proxyAdminPort,omitempty"`
	// $hide_from_docs
	AvailabilityZone string `protobuf:"bytes,12,opt,name=availability_zone,json=availabilityZone,proto3" json:"availabilityZone,omitempty"` // Deprecated: Do not use.
	// AuthenticationPolicy defines how the proxy is authenticated when it connects to the control plane.
	// Default is set to MUTUAL_TLS.
	ControlPlaneAuthPolicy AuthenticationPolicy `` /* 176-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:"customConfigFile,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:"statNameLength,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 *types.Int32Value `protobuf:"bytes,16,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
	// Path to the proxy bootstrap template file
	ProxyBootstrapTemplatePath string `` /* 141-byte string literal not displayed */
	// The mode used to redirect inbound traffic to Envoy.
	InterceptionMode ProxyConfig_InboundInterceptionMode `` /* 171-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.
	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 `` /* 126-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:"envoyMetricsService,omitempty"`
	// $hide_from_docs
	// Additional env 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 `` /* 188-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:"statusPort,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.
	ExtraStatTags []string `protobuf:"bytes,27,rep,name=extra_stat_tags,json=extraStatTags,proto3" json:"extraStatTags,omitempty"`
	// $hide_from_docs
	// 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 overriden via annotations of the
	// gateway workloads.
	GatewayTopology *Topology `protobuf:"bytes,28,opt,name=gateway_topology,json=gatewayTopology,proto3" json:"gatewayTopology,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 *types.Duration `` /* 134-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               int32    `protobuf:"varint,30,opt,name=mesh_id,json=meshId,proto3" json:"meshId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ProxyConfig defines variables for individual Envoy instances.

func (*ProxyConfig) Descriptor

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

func (*ProxyConfig) GetAvailabilityZone deprecated

func (m *ProxyConfig) GetAvailabilityZone() string

Deprecated: Do not use.

func (*ProxyConfig) GetBinaryPath

func (m *ProxyConfig) GetBinaryPath() string

func (*ProxyConfig) GetConcurrency

func (m *ProxyConfig) GetConcurrency() *types.Int32Value

func (*ProxyConfig) GetConfigPath

func (m *ProxyConfig) GetConfigPath() string

func (*ProxyConfig) GetControlPlaneAuthPolicy

func (m *ProxyConfig) GetControlPlaneAuthPolicy() AuthenticationPolicy

func (*ProxyConfig) GetCustomConfigFile

func (m *ProxyConfig) GetCustomConfigFile() string

func (*ProxyConfig) GetDiscoveryAddress

func (m *ProxyConfig) GetDiscoveryAddress() string

func (*ProxyConfig) GetDiscoveryRefreshDelay deprecated

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

Deprecated: Do not use.

func (*ProxyConfig) GetDrainDuration

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

func (*ProxyConfig) GetEnvoyAccessLogService

func (m *ProxyConfig) GetEnvoyAccessLogService() *RemoteService

func (*ProxyConfig) GetEnvoyMetricsService

func (m *ProxyConfig) GetEnvoyMetricsService() *RemoteService

func (*ProxyConfig) GetEnvoyMetricsServiceAddress deprecated

func (m *ProxyConfig) GetEnvoyMetricsServiceAddress() string

Deprecated: Do not use.

func (*ProxyConfig) GetExtraStatTags

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

func (*ProxyConfig) GetGatewayTopology

func (m *ProxyConfig) GetGatewayTopology() *Topology

func (*ProxyConfig) GetInterceptionMode

func (m *ProxyConfig) GetInterceptionMode() ProxyConfig_InboundInterceptionMode

func (*ProxyConfig) GetMeshId

func (m *ProxyConfig) GetMeshId() int32

func (*ProxyConfig) GetParentShutdownDuration

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

func (*ProxyConfig) GetProxyAdminPort

func (m *ProxyConfig) GetProxyAdminPort() int32

func (*ProxyConfig) GetProxyBootstrapTemplatePath

func (m *ProxyConfig) GetProxyBootstrapTemplatePath() string

func (*ProxyConfig) GetProxyMetadata

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

func (*ProxyConfig) GetSds

func (m *ProxyConfig) GetSds() *SDS

func (*ProxyConfig) GetServiceCluster

func (m *ProxyConfig) GetServiceCluster() string

func (*ProxyConfig) GetStatNameLength

func (m *ProxyConfig) GetStatNameLength() int32

func (*ProxyConfig) GetStatsdUdpAddress

func (m *ProxyConfig) GetStatsdUdpAddress() string

func (*ProxyConfig) GetStatusPort

func (m *ProxyConfig) GetStatusPort() int32

func (*ProxyConfig) GetTerminationDrainDuration

func (m *ProxyConfig) GetTerminationDrainDuration() *types.Duration

func (*ProxyConfig) GetTracing

func (m *ProxyConfig) GetTracing() *Tracing

func (*ProxyConfig) GetZipkinAddress deprecated

func (m *ProxyConfig) GetZipkinAddress() string

Deprecated: Do not use.

func (*ProxyConfig) Marshal

func (m *ProxyConfig) Marshal() (dAtA []byte, err error)

func (*ProxyConfig) MarshalTo

func (m *ProxyConfig) MarshalTo(dAtA []byte) (int, error)

func (*ProxyConfig) MarshalToSizedBuffer

func (m *ProxyConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) Reset

func (m *ProxyConfig) Reset()

func (*ProxyConfig) Size

func (m *ProxyConfig) Size() (n int)

func (*ProxyConfig) String

func (m *ProxyConfig) String() string

func (*ProxyConfig) Unmarshal

func (m *ProxyConfig) Unmarshal(dAtA []byte) error

func (*ProxyConfig) XXX_DiscardUnknown

func (m *ProxyConfig) XXX_DiscardUnknown()

func (*ProxyConfig) XXX_Marshal

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

func (*ProxyConfig) XXX_Merge

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

func (*ProxyConfig) XXX_Size

func (m *ProxyConfig) XXX_Size() int

func (*ProxyConfig) XXX_Unmarshal

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

type ProxyConfig_InboundInterceptionMode

type ProxyConfig_InboundInterceptionMode int32

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

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

func (ProxyConfig_InboundInterceptionMode) EnumDescriptor

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

func (ProxyConfig_InboundInterceptionMode) String

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:"tlsSettings,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:"tcpKeepalive,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                  `json:"-"`
	XXX_unrecognized     []byte                                                    `json:"-"`
	XXX_sizecache        int32                                                     `json:"-"`
}

func (*RemoteService) Descriptor

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

func (*RemoteService) GetAddress

func (m *RemoteService) GetAddress() string

func (*RemoteService) GetTcpKeepalive

func (*RemoteService) GetTlsSettings

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

func (*RemoteService) Marshal

func (m *RemoteService) Marshal() (dAtA []byte, err error)

func (*RemoteService) MarshalTo

func (m *RemoteService) MarshalTo(dAtA []byte) (int, error)

func (*RemoteService) MarshalToSizedBuffer

func (m *RemoteService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoteService) ProtoMessage

func (*RemoteService) ProtoMessage()

func (*RemoteService) Reset

func (m *RemoteService) Reset()

func (*RemoteService) Size

func (m *RemoteService) Size() (n int)

func (*RemoteService) String

func (m *RemoteService) String() string

func (*RemoteService) Unmarshal

func (m *RemoteService) Unmarshal(dAtA []byte) error

func (*RemoteService) XXX_DiscardUnknown

func (m *RemoteService) XXX_DiscardUnknown()

func (*RemoteService) XXX_Marshal

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

func (*RemoteService) XXX_Merge

func (m *RemoteService) XXX_Merge(src proto.Message)

func (*RemoteService) XXX_Size

func (m *RemoteService) XXX_Size() int

func (*RemoteService) XXX_Unmarshal

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

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) EnumDescriptor

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

func (Resource) String

func (x Resource) String() string

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:"k8sSaJwtPath,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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.

func (*SDS) Descriptor

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

func (*SDS) GetEnabled

func (m *SDS) GetEnabled() bool

func (*SDS) GetK8SSaJwtPath

func (m *SDS) GetK8SSaJwtPath() string

func (*SDS) Marshal

func (m *SDS) Marshal() (dAtA []byte, err error)

func (*SDS) MarshalTo

func (m *SDS) MarshalTo(dAtA []byte) (int, error)

func (*SDS) MarshalToSizedBuffer

func (m *SDS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SDS) ProtoMessage

func (*SDS) ProtoMessage()

func (*SDS) Reset

func (m *SDS) Reset()

func (*SDS) Size

func (m *SDS) Size() (n int)

func (*SDS) String

func (m *SDS) String() string

func (*SDS) Unmarshal

func (m *SDS) Unmarshal(dAtA []byte) error

func (*SDS) XXX_DiscardUnknown

func (m *SDS) XXX_DiscardUnknown()

func (*SDS) XXX_Marshal

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

func (*SDS) XXX_Merge

func (m *SDS) XXX_Merge(src proto.Message)

func (*SDS) XXX_Size

func (m *SDS) XXX_Size() int

func (*SDS) XXX_Unmarshal

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

type Topology

type Topology struct {
	// $hide_from_docs
	// 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:"numTrustedProxies,omitempty"`
	// $hide_from_docs
	// Configures how the gateway proxy handles x-forwarded-client-cert (XFCC)
	// header in the incoming request.
	ForwardClientCertDetails Topology_ForwardClientCertDetails `` /* 194-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}                          `json:"-"`
	XXX_unrecognized         []byte                            `json:"-"`
	XXX_sizecache            int32                             `json:"-"`
}

$hide_from_docs 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

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

func (*Topology) GetForwardClientCertDetails

func (m *Topology) GetForwardClientCertDetails() Topology_ForwardClientCertDetails

func (*Topology) GetNumTrustedProxies

func (m *Topology) GetNumTrustedProxies() uint32

func (*Topology) Marshal

func (m *Topology) Marshal() (dAtA []byte, err error)

func (*Topology) MarshalTo

func (m *Topology) MarshalTo(dAtA []byte) (int, error)

func (*Topology) MarshalToSizedBuffer

func (m *Topology) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Topology) ProtoMessage

func (*Topology) ProtoMessage()

func (*Topology) Reset

func (m *Topology) Reset()

func (*Topology) Size

func (m *Topology) Size() (n int)

func (*Topology) String

func (m *Topology) String() string

func (*Topology) Unmarshal

func (m *Topology) Unmarshal(dAtA []byte) error

func (*Topology) XXX_DiscardUnknown

func (m *Topology) XXX_DiscardUnknown()

func (*Topology) XXX_Marshal

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

func (*Topology) XXX_Merge

func (m *Topology) XXX_Merge(src proto.Message)

func (*Topology) XXX_Size

func (m *Topology) XXX_Size() int

func (*Topology) XXX_Unmarshal

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

type Topology_ForwardClientCertDetails

type Topology_ForwardClientCertDetails int32

$hide_from_docs 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-v2/config/filter/network/http_connection_manager/v2/http_connection_manager.proto#envoy-api-enum-config-filter-network-http-connection-manager-v2-httpconnectionmanager-forwardclientcertdetails) header handling for more details.

const (
	// Field is not set
	Topology_UNDEFINED Topology_ForwardClientCertDetails = 0
	// Do not send the XFCC header to the next hop. This is the default value.
	Topology_SANITIZE Topology_ForwardClientCertDetails = 1
	// When the client connection is mTLS (Mutual TLS), forward the XFCC header
	// in the request.
	Topology_FORWARD_ONLY Topology_ForwardClientCertDetails = 2
	// When the client connection is mTLS, append the client certificate
	// information to the request’s XFCC header and forward it.
	Topology_APPEND_FORWARD Topology_ForwardClientCertDetails = 3
	// When the client connection is mTLS, reset the XFCC header with the client
	// certificate information and send it to the next hop.
	Topology_SANITIZE_SET Topology_ForwardClientCertDetails = 4
	// Always forward the XFCC header in the request, regardless of whether the
	// client connection is mTLS.
	Topology_ALWAYS_FORWARD_ONLY Topology_ForwardClientCertDetails = 5
)

func (Topology_ForwardClientCertDetails) EnumDescriptor

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

func (Topology_ForwardClientCertDetails) String

type Tracing

type Tracing struct {
	// The tracer implementation to be used by Envoy.
	//
	// Types that are valid to be assigned to Tracer:
	//	*Tracing_Zipkin_
	//	*Tracing_Lightstep_
	//	*Tracing_Datadog_
	//	*Tracing_Stackdriver_
	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 `` /* 178-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:"maxPathTagLength,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 100.
	// $hide_from_docs
	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:"tlsSettings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Tracing defines configuration for the tracing performed by Envoy instances.

func (*Tracing) Descriptor

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

func (*Tracing) GetCustomTags

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

func (*Tracing) GetDatadog

func (m *Tracing) GetDatadog() *Tracing_Datadog

func (*Tracing) GetLightstep

func (m *Tracing) GetLightstep() *Tracing_Lightstep

func (*Tracing) GetMaxPathTagLength

func (m *Tracing) GetMaxPathTagLength() uint32

func (*Tracing) GetSampling

func (m *Tracing) GetSampling() float64

func (*Tracing) GetStackdriver

func (m *Tracing) GetStackdriver() *Tracing_Stackdriver

func (*Tracing) GetTlsSettings

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

func (*Tracing) GetTracer

func (m *Tracing) GetTracer() isTracing_Tracer

func (*Tracing) GetZipkin

func (m *Tracing) GetZipkin() *Tracing_Zipkin

func (*Tracing) Marshal

func (m *Tracing) Marshal() (dAtA []byte, err error)

func (*Tracing) MarshalTo

func (m *Tracing) MarshalTo(dAtA []byte) (int, error)

func (*Tracing) MarshalToSizedBuffer

func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing) ProtoMessage

func (*Tracing) ProtoMessage()

func (*Tracing) Reset

func (m *Tracing) Reset()

func (*Tracing) Size

func (m *Tracing) Size() (n int)

func (*Tracing) String

func (m *Tracing) String() string

func (*Tracing) Unmarshal

func (m *Tracing) Unmarshal(dAtA []byte) error

func (*Tracing) XXX_DiscardUnknown

func (m *Tracing) XXX_DiscardUnknown()

func (*Tracing) XXX_Marshal

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

func (*Tracing) XXX_Merge

func (m *Tracing) XXX_Merge(src proto.Message)

func (*Tracing) XXX_OneofWrappers

func (*Tracing) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Tracing) XXX_Size

func (m *Tracing) XXX_Size() int

func (*Tracing) XXX_Unmarshal

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

type Tracing_CustomTag

type Tracing_CustomTag struct {
	// Specify how to populate the value in a custom tag
	//
	// Types that are valid to be assigned to Type:
	//	*Tracing_CustomTag_Literal
	//	*Tracing_CustomTag_Environment
	//	*Tracing_CustomTag_Header
	Type                 isTracing_CustomTag_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

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

func (*Tracing_CustomTag) GetEnvironment

func (m *Tracing_CustomTag) GetEnvironment() *Tracing_Environment

func (*Tracing_CustomTag) GetHeader

func (m *Tracing_CustomTag) GetHeader() *Tracing_RequestHeader

func (*Tracing_CustomTag) GetLiteral

func (m *Tracing_CustomTag) GetLiteral() *Tracing_Literal

func (*Tracing_CustomTag) GetType

func (m *Tracing_CustomTag) GetType() isTracing_CustomTag_Type

func (*Tracing_CustomTag) Marshal

func (m *Tracing_CustomTag) Marshal() (dAtA []byte, err error)

func (*Tracing_CustomTag) MarshalTo

func (m *Tracing_CustomTag) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_CustomTag) MarshalToSizedBuffer

func (m *Tracing_CustomTag) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_CustomTag) ProtoMessage

func (*Tracing_CustomTag) ProtoMessage()

func (*Tracing_CustomTag) Reset

func (m *Tracing_CustomTag) Reset()

func (*Tracing_CustomTag) Size

func (m *Tracing_CustomTag) Size() (n int)

func (*Tracing_CustomTag) String

func (m *Tracing_CustomTag) String() string

func (*Tracing_CustomTag) Unmarshal

func (m *Tracing_CustomTag) Unmarshal(dAtA []byte) error

func (*Tracing_CustomTag) XXX_DiscardUnknown

func (m *Tracing_CustomTag) XXX_DiscardUnknown()

func (*Tracing_CustomTag) XXX_Marshal

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

func (*Tracing_CustomTag) XXX_Merge

func (m *Tracing_CustomTag) XXX_Merge(src proto.Message)

func (*Tracing_CustomTag) XXX_OneofWrappers

func (*Tracing_CustomTag) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Tracing_CustomTag) XXX_Size

func (m *Tracing_CustomTag) XXX_Size() int

func (*Tracing_CustomTag) XXX_Unmarshal

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

type Tracing_CustomTag_Environment

type Tracing_CustomTag_Environment struct {
	Environment *Tracing_Environment `protobuf:"bytes,2,opt,name=environment,proto3,oneof"`
}

func (*Tracing_CustomTag_Environment) MarshalTo

func (m *Tracing_CustomTag_Environment) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Environment) MarshalToSizedBuffer

func (m *Tracing_CustomTag_Environment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Environment) Size

func (m *Tracing_CustomTag_Environment) Size() (n int)

type Tracing_CustomTag_Header

type Tracing_CustomTag_Header struct {
	Header *Tracing_RequestHeader `protobuf:"bytes,3,opt,name=header,proto3,oneof"`
}

func (*Tracing_CustomTag_Header) MarshalTo

func (m *Tracing_CustomTag_Header) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Header) MarshalToSizedBuffer

func (m *Tracing_CustomTag_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Header) Size

func (m *Tracing_CustomTag_Header) Size() (n int)

type Tracing_CustomTag_Literal

type Tracing_CustomTag_Literal struct {
	Literal *Tracing_Literal `protobuf:"bytes,1,opt,name=literal,proto3,oneof"`
}

func (*Tracing_CustomTag_Literal) MarshalTo

func (m *Tracing_CustomTag_Literal) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Literal) MarshalToSizedBuffer

func (m *Tracing_CustomTag_Literal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_CustomTag_Literal) Size

func (m *Tracing_CustomTag_Literal) Size() (n int)

type Tracing_Datadog

type Tracing_Datadog struct {
	// Address of the Datadog Agent.
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Datadog defines configuration for a Datadog tracer.

func (*Tracing_Datadog) Descriptor

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

func (*Tracing_Datadog) GetAddress

func (m *Tracing_Datadog) GetAddress() string

func (*Tracing_Datadog) Marshal

func (m *Tracing_Datadog) Marshal() (dAtA []byte, err error)

func (*Tracing_Datadog) MarshalTo

func (m *Tracing_Datadog) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Datadog) MarshalToSizedBuffer

func (m *Tracing_Datadog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Datadog) ProtoMessage

func (*Tracing_Datadog) ProtoMessage()

func (*Tracing_Datadog) Reset

func (m *Tracing_Datadog) Reset()

func (*Tracing_Datadog) Size

func (m *Tracing_Datadog) Size() (n int)

func (*Tracing_Datadog) String

func (m *Tracing_Datadog) String() string

func (*Tracing_Datadog) Unmarshal

func (m *Tracing_Datadog) Unmarshal(dAtA []byte) error

func (*Tracing_Datadog) XXX_DiscardUnknown

func (m *Tracing_Datadog) XXX_DiscardUnknown()

func (*Tracing_Datadog) XXX_Marshal

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

func (*Tracing_Datadog) XXX_Merge

func (m *Tracing_Datadog) XXX_Merge(src proto.Message)

func (*Tracing_Datadog) XXX_Size

func (m *Tracing_Datadog) XXX_Size() int

func (*Tracing_Datadog) XXX_Unmarshal

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

type Tracing_Datadog_

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

func (*Tracing_Datadog_) MarshalTo

func (m *Tracing_Datadog_) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Datadog_) MarshalToSizedBuffer

func (m *Tracing_Datadog_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Datadog_) Size

func (m *Tracing_Datadog_) Size() (n int)

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:"defaultValue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Tracing_Environment) Descriptor

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

func (*Tracing_Environment) GetDefaultValue

func (m *Tracing_Environment) GetDefaultValue() string

func (*Tracing_Environment) GetName

func (m *Tracing_Environment) GetName() string

func (*Tracing_Environment) Marshal

func (m *Tracing_Environment) Marshal() (dAtA []byte, err error)

func (*Tracing_Environment) MarshalTo

func (m *Tracing_Environment) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Environment) MarshalToSizedBuffer

func (m *Tracing_Environment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Environment) ProtoMessage

func (*Tracing_Environment) ProtoMessage()

func (*Tracing_Environment) Reset

func (m *Tracing_Environment) Reset()

func (*Tracing_Environment) Size

func (m *Tracing_Environment) Size() (n int)

func (*Tracing_Environment) String

func (m *Tracing_Environment) String() string

func (*Tracing_Environment) Unmarshal

func (m *Tracing_Environment) Unmarshal(dAtA []byte) error

func (*Tracing_Environment) XXX_DiscardUnknown

func (m *Tracing_Environment) XXX_DiscardUnknown()

func (*Tracing_Environment) XXX_Marshal

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

func (*Tracing_Environment) XXX_Merge

func (m *Tracing_Environment) XXX_Merge(src proto.Message)

func (*Tracing_Environment) XXX_Size

func (m *Tracing_Environment) XXX_Size() int

func (*Tracing_Environment) XXX_Unmarshal

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

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:"accessToken,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines configuration for a Lightstep tracer.

func (*Tracing_Lightstep) Descriptor

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

func (*Tracing_Lightstep) GetAccessToken

func (m *Tracing_Lightstep) GetAccessToken() string

func (*Tracing_Lightstep) GetAddress

func (m *Tracing_Lightstep) GetAddress() string

func (*Tracing_Lightstep) Marshal

func (m *Tracing_Lightstep) Marshal() (dAtA []byte, err error)

func (*Tracing_Lightstep) MarshalTo

func (m *Tracing_Lightstep) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Lightstep) MarshalToSizedBuffer

func (m *Tracing_Lightstep) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Lightstep) ProtoMessage

func (*Tracing_Lightstep) ProtoMessage()

func (*Tracing_Lightstep) Reset

func (m *Tracing_Lightstep) Reset()

func (*Tracing_Lightstep) Size

func (m *Tracing_Lightstep) Size() (n int)

func (*Tracing_Lightstep) String

func (m *Tracing_Lightstep) String() string

func (*Tracing_Lightstep) Unmarshal

func (m *Tracing_Lightstep) Unmarshal(dAtA []byte) error

func (*Tracing_Lightstep) XXX_DiscardUnknown

func (m *Tracing_Lightstep) XXX_DiscardUnknown()

func (*Tracing_Lightstep) XXX_Marshal

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

func (*Tracing_Lightstep) XXX_Merge

func (m *Tracing_Lightstep) XXX_Merge(src proto.Message)

func (*Tracing_Lightstep) XXX_Size

func (m *Tracing_Lightstep) XXX_Size() int

func (*Tracing_Lightstep) XXX_Unmarshal

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

type Tracing_Lightstep_

type Tracing_Lightstep_ struct {
	Lightstep *Tracing_Lightstep `protobuf:"bytes,2,opt,name=lightstep,proto3,oneof"`
}

func (*Tracing_Lightstep_) MarshalTo

func (m *Tracing_Lightstep_) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Lightstep_) MarshalToSizedBuffer

func (m *Tracing_Lightstep_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Lightstep_) Size

func (m *Tracing_Lightstep_) Size() (n int)

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Literal type represents a static value. $hide_from_docs

func (*Tracing_Literal) Descriptor

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

func (*Tracing_Literal) GetValue

func (m *Tracing_Literal) GetValue() string

func (*Tracing_Literal) Marshal

func (m *Tracing_Literal) Marshal() (dAtA []byte, err error)

func (*Tracing_Literal) MarshalTo

func (m *Tracing_Literal) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Literal) MarshalToSizedBuffer

func (m *Tracing_Literal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Literal) ProtoMessage

func (*Tracing_Literal) ProtoMessage()

func (*Tracing_Literal) Reset

func (m *Tracing_Literal) Reset()

func (*Tracing_Literal) Size

func (m *Tracing_Literal) Size() (n int)

func (*Tracing_Literal) String

func (m *Tracing_Literal) String() string

func (*Tracing_Literal) Unmarshal

func (m *Tracing_Literal) Unmarshal(dAtA []byte) error

func (*Tracing_Literal) XXX_DiscardUnknown

func (m *Tracing_Literal) XXX_DiscardUnknown()

func (*Tracing_Literal) XXX_Marshal

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

func (*Tracing_Literal) XXX_Merge

func (m *Tracing_Literal) XXX_Merge(src proto.Message)

func (*Tracing_Literal) XXX_Size

func (m *Tracing_Literal) XXX_Size() int

func (*Tracing_Literal) XXX_Unmarshal

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

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:"defaultValue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*Tracing_RequestHeader) GetDefaultValue

func (m *Tracing_RequestHeader) GetDefaultValue() string

func (*Tracing_RequestHeader) GetName

func (m *Tracing_RequestHeader) GetName() string

func (*Tracing_RequestHeader) Marshal

func (m *Tracing_RequestHeader) Marshal() (dAtA []byte, err error)

func (*Tracing_RequestHeader) MarshalTo

func (m *Tracing_RequestHeader) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_RequestHeader) MarshalToSizedBuffer

func (m *Tracing_RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_RequestHeader) ProtoMessage

func (*Tracing_RequestHeader) ProtoMessage()

func (*Tracing_RequestHeader) Reset

func (m *Tracing_RequestHeader) Reset()

func (*Tracing_RequestHeader) Size

func (m *Tracing_RequestHeader) Size() (n int)

func (*Tracing_RequestHeader) String

func (m *Tracing_RequestHeader) String() string

func (*Tracing_RequestHeader) Unmarshal

func (m *Tracing_RequestHeader) Unmarshal(dAtA []byte) error

func (*Tracing_RequestHeader) XXX_DiscardUnknown

func (m *Tracing_RequestHeader) XXX_DiscardUnknown()

func (*Tracing_RequestHeader) XXX_Marshal

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

func (*Tracing_RequestHeader) XXX_Merge

func (m *Tracing_RequestHeader) XXX_Merge(src proto.Message)

func (*Tracing_RequestHeader) XXX_Size

func (m *Tracing_RequestHeader) XXX_Size() int

func (*Tracing_RequestHeader) XXX_Unmarshal

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

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 *types.Int64Value `protobuf:"bytes,2,opt,name=max_number_of_attributes,json=maxNumberOfAttributes,proto3" json:"maxNumberOfAttributes,omitempty"`
	// The global default max number of annotation events per span.
	// default is 200.
	// $hide_from_docs
	MaxNumberOfAnnotations *types.Int64Value `` /* 128-byte string literal not displayed */
	// The global default max number of message events per span.
	// default is 200.
	// $hide_from_docs
	MaxNumberOfMessageEvents *types.Int64Value `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}          `json:"-"`
	XXX_unrecognized         []byte            `json:"-"`
	XXX_sizecache            int32             `json:"-"`
}

Stackdriver defines configuration for a Stackdriver tracer. See [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

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

func (*Tracing_Stackdriver) GetDebug

func (m *Tracing_Stackdriver) GetDebug() bool

func (*Tracing_Stackdriver) GetMaxNumberOfAnnotations

func (m *Tracing_Stackdriver) GetMaxNumberOfAnnotations() *types.Int64Value

func (*Tracing_Stackdriver) GetMaxNumberOfAttributes

func (m *Tracing_Stackdriver) GetMaxNumberOfAttributes() *types.Int64Value

func (*Tracing_Stackdriver) GetMaxNumberOfMessageEvents

func (m *Tracing_Stackdriver) GetMaxNumberOfMessageEvents() *types.Int64Value

func (*Tracing_Stackdriver) Marshal

func (m *Tracing_Stackdriver) Marshal() (dAtA []byte, err error)

func (*Tracing_Stackdriver) MarshalTo

func (m *Tracing_Stackdriver) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Stackdriver) MarshalToSizedBuffer

func (m *Tracing_Stackdriver) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Stackdriver) ProtoMessage

func (*Tracing_Stackdriver) ProtoMessage()

func (*Tracing_Stackdriver) Reset

func (m *Tracing_Stackdriver) Reset()

func (*Tracing_Stackdriver) Size

func (m *Tracing_Stackdriver) Size() (n int)

func (*Tracing_Stackdriver) String

func (m *Tracing_Stackdriver) String() string

func (*Tracing_Stackdriver) Unmarshal

func (m *Tracing_Stackdriver) Unmarshal(dAtA []byte) error

func (*Tracing_Stackdriver) XXX_DiscardUnknown

func (m *Tracing_Stackdriver) XXX_DiscardUnknown()

func (*Tracing_Stackdriver) XXX_Marshal

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

func (*Tracing_Stackdriver) XXX_Merge

func (m *Tracing_Stackdriver) XXX_Merge(src proto.Message)

func (*Tracing_Stackdriver) XXX_Size

func (m *Tracing_Stackdriver) XXX_Size() int

func (*Tracing_Stackdriver) XXX_Unmarshal

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

type Tracing_Stackdriver_

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

func (*Tracing_Stackdriver_) MarshalTo

func (m *Tracing_Stackdriver_) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Stackdriver_) MarshalToSizedBuffer

func (m *Tracing_Stackdriver_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Stackdriver_) Size

func (m *Tracing_Stackdriver_) Size() (n int)

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Zipkin defines configuration for a Zipkin tracer.

func (*Tracing_Zipkin) Descriptor

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

func (*Tracing_Zipkin) GetAddress

func (m *Tracing_Zipkin) GetAddress() string

func (*Tracing_Zipkin) Marshal

func (m *Tracing_Zipkin) Marshal() (dAtA []byte, err error)

func (*Tracing_Zipkin) MarshalTo

func (m *Tracing_Zipkin) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Zipkin) MarshalToSizedBuffer

func (m *Tracing_Zipkin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Zipkin) ProtoMessage

func (*Tracing_Zipkin) ProtoMessage()

func (*Tracing_Zipkin) Reset

func (m *Tracing_Zipkin) Reset()

func (*Tracing_Zipkin) Size

func (m *Tracing_Zipkin) Size() (n int)

func (*Tracing_Zipkin) String

func (m *Tracing_Zipkin) String() string

func (*Tracing_Zipkin) Unmarshal

func (m *Tracing_Zipkin) Unmarshal(dAtA []byte) error

func (*Tracing_Zipkin) XXX_DiscardUnknown

func (m *Tracing_Zipkin) XXX_DiscardUnknown()

func (*Tracing_Zipkin) XXX_Marshal

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

func (*Tracing_Zipkin) XXX_Merge

func (m *Tracing_Zipkin) XXX_Merge(src proto.Message)

func (*Tracing_Zipkin) XXX_Size

func (m *Tracing_Zipkin) XXX_Size() int

func (*Tracing_Zipkin) XXX_Unmarshal

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

type Tracing_Zipkin_

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

func (*Tracing_Zipkin_) MarshalTo

func (m *Tracing_Zipkin_) MarshalTo(dAtA []byte) (int, error)

func (*Tracing_Zipkin_) MarshalToSizedBuffer

func (m *Tracing_Zipkin_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Tracing_Zipkin_) Size

func (m *Tracing_Zipkin_) Size() (n int)

Jump to

Keyboard shortcuts

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