From a57306b29e02be89ffe7a4f2642bfe917231118c Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Mon, 9 Nov 2020 17:26:56 -0800 Subject: [PATCH 01/15] Add initial Telemetry API definition --- kubernetes/customresourcedefinitions.gen.yaml | 203 +++++++++++++ telemetry/v1alpha1/telemetry.proto | 272 ++++++++++++++++++ 2 files changed, 475 insertions(+) create mode 100644 telemetry/v1alpha1/telemetry.proto diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index 1c69397a4b..61f556a869 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5828,3 +5828,206 @@ spec: status: {} --- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + "helm.sh/resource-policy": keep + labels: + app: istio-pilot + chart: istio + heritage: Tiller + istio: telemetry + release: istio + name: telemetrys.telemetry.istio.io +spec: + group: telemetry.istio.io + names: + categories: + - istio-io + - telemetry-istio-io + kind: Telemetry + listKind: TelemetryList + plural: telemetrys + shortNames: + - telemetry + singular: telemetry + scope: Namespaced + versions: + - additionalPrinterColumns: + - description: 'CreationTimestamp is a timestamp representing the server time + when this object was created. It is not guaranteed to be set in happens-before + order across separate operations. Clients may not set this value. It is represented + in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for + lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata' + jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + description: Telemetry defines the telemetry generation policies for workloads + within a mesh. + properties: + tracing: + description: Optional. + items: + properties: + config: + description: Customization of the default behavior for tracing. + oneOf: + - not: + anyOf: + - required: + - constantSampler + - required: + - percentageSampler + - required: + - constantSampler + - required: + - percentageSampler + properties: + constantSampler: + description: A sampler that makes uniform decisions for + all Sidecar traffic. + properties: + decision: + description: Controls the behavior of the sampler. + enum: + - DECISION_UNSPECIFIED + - NEVER_SAMPLE + - ALWAYS_SAMPLE + type: string + type: object + customTags: + additionalProperties: + oneOf: + - not: + anyOf: + - required: + - literal + - required: + - environment + - required: + - header + - required: + - literal + - required: + - environment + - required: + - header + properties: + environment: + description: Environment adds the value of an environment + variable to each span. + properties: + defaultValue: + description: Optional. + format: string + type: string + name: + description: Name of the environment variable + from which to extract the tag value. + format: string + type: string + type: object + header: + description: RequestHeader adds the value of an header + from the request to each span. + properties: + defaultValue: + description: Optional. + format: string + type: string + name: + description: Name of the header from which to + extract the tag value. + format: string + type: string + type: object + literal: + description: Literal adds the same, hard-coded value + to each span. + properties: + value: + description: The tag value to use. + format: string + type: string + type: object + type: object + description: Optional. + type: object + maxPathTagLength: + description: Optional. + type: integer + percentageSampler: + description: A sampler that selects a configurable percentage + of traffic for telemetry generation. + properties: + randomSamplingPercentageTarget: + format: double + type: number + type: object + providers: + description: Optional. + items: + properties: + name: + description: Required. + format: string + type: string + type: object + type: array + reportSpans: + description: Enables the tracing functionality. + type: boolean + type: object + match: + description: Defines the conditions under which the associated + configuration applies. + properties: + port: + description: Optional. + properties: + number: + type: integer + type: object + protocol: + description: Optional. + enum: + - ALL_PROTOCOLS + - HTTP + - TCP + type: string + trafficDirection: + description: Optional. + enum: + - ALL_TRAFFIC + - OUTBOUND + - INBOUND + type: string + type: object + type: object + type: array + workloadSelector: + description: Optional. + properties: + matchLabels: + additionalProperties: + format: string + type: string + type: object + type: object + type: object + status: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + subresources: + status: {} + +--- diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto new file mode 100644 index 0000000000..445f3dddcf --- /dev/null +++ b/telemetry/v1alpha1/telemetry.proto @@ -0,0 +1,272 @@ +// Copyright Istio Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +import "type/v1beta1/selector.proto"; + +option go_package = "istio.io/api/telemetry/v1alpha1"; + +package istio.telemetry.v1alpha1; + +// $schema: istio.telemetry.v1alpha1.Telemetry +// $title: Telemetry +// $description: Telemetry configuration for workloads. +// $location: https://istio.io/docs/reference/config/telemetry/telemetry.html +// $aliases: [/docs/reference/config/telemetry/v1alpha1/telemetry] + +// Telemetry defines the telemetry generation policies for workloads within a mesh. +// Telemetry policies control runtime configuration of telemetry generation for Istio. +// +// For mesh level configuration, put the policy in root configuration namespace for +// your Istio installation *without* a workload selector. +// +// For any namespace, including the root configuration namespace, it is only valid +// to have a single workload-selector-less Telemetry resource. In the case of multiples, +// the oldest known resource will be used to the exclusion of any other resources. +// +// For resources with a workload-selector, it is only valid to have one resource selecting +// any given workload. If multiple resources select a single resource, the oldest known +// resource will be used to the exclusion of all other resources. +// +// WARNING: Support for Telemetry policies is under active development and is *not* +// stable or supported by Istio at this time. +// +// Examples: +// +// Policy to enable sending trace data to a Zipkin backend for 10% of all traffic: +// ```yaml +// apiVersion: telemetry.istio.io/v1beta1 +// kind: Telemetry +// metadata: +// name: mesh-default +// namespace: istio-system +// spec: +// tracing: +// - match: # apply to all traffic +// config: +// providers: +// - name: "zipkin" +// reportSpans: true +// percentageSampler: +// randomSamplingPercentageTarget: 10.00 +// ``` +// +// +// +// +// +message Telemetry { + // Optional. Workload selector decides where to apply the Telemetry policy. + // If not set, the Telemetry policy will be applied to all workloads in the + // same namespace as the Telemetry policy. + istio.type.v1beta1.WorkloadSelector workload_selector = 1; + + // Optional. Tracing defines the per-workload overrides for trace span + // reporting. + repeated TracingRule tracing = 2; + + // AccessLoggingRule access_logging = 3; + // MetricsRule metrics = 4; +} + +// TracingRule defines how trace spans should be reported (sampling rate, custom tags) +// and under what conditions the reporting should be conducted. +message TracingRule { + // Defines the conditions under which the associated configuration applies. + TelemetryRuleMatch match = 1; + // Customization of the default behavior for tracing. + TracingConfig config = 2; +} + +// TelemetryRuleMatch defines conditions for selecting subsets of mesh traffic +// for a workload. TelemetryRuleMatch is concerned with simplified selection +// based on listener, protocol, and traffic direction. +message TelemetryRuleMatch { + + // TrafficDirection selects for traffic relative to the local + // proxy. + enum TrafficDirection { + // (Default) Match all traffic, regardless of direction. + ALL_TRAFFIC = 0; + // Match outbound traffic leaving the proxy. Use this to select "client-side" + // traffic in telemetry reporting. + // Note: Use OUTBOUND for gateways (even including ingress) + OUTBOUND = 1; + // Match incoming traffic for the proxy. Use this to select "server-side" + // traffic in telemetry reporting. + INBOUND = 2; + } + + // Protocol selects for traffic based on the identified protocol of that traffic. + enum Protocol { + // (Default) Matches all traffic, regardless of protocol + ALL_PROTOCOLS = 0; + // Selects for HTTP traffic, including HTTP/1.1, gRPC, HTTP/2. + HTTP = 1; + // Selects for all non-HTTP traffic. + // NOTE: Tracing is currently only supported for HTTP. + TCP = 2; + } + + // Optional. Specifies the intended direction of the traffic relative to the local proxy. + // Defaults to ALL if unset. + TrafficDirection traffic_direction = 1; + + // Optional. Specifies the protocol of the traffic. + // Defaults to ALL if unset. + Protocol protocol = 2; + + // Optional. The port on which the traffic is received. + // Defaults to ALL if unset. + PortSelector port = 3; +} + +// PortSelector specifies the number of a port to be used for +// matching or selection for final routing. +message PortSelector { + // Valid port number + uint32 number = 1; +} + +// Used to bind Telemetry configuration to specific providers for +// targeted customization. +message ProviderRef { + // Required. Name of Telemetry provider in MeshConfig. + string name = 1; +} + +// TracingConfig defines the workload-level overrides for tracing behavior within +// a mesh. It can be used to enable/disable tracing, as well as to set sampling +// rates and custom tag extraction. +message TracingConfig { + // Optional. Name of providers to which this configuration should apply. + // If not specified, this will apply to the full list of known tracing + // providers. + repeated ProviderRef providers = 1; + + // Enables the tracing functionality. When this is set to `true`, the + // sidecar will report spans to a configured backend for all traffic with a trace + // context that specifies the trace is sampled. Additionally, spans will be + // generated for traffic without trace contexts based on the + // `sampler` configuration provided. If `report_spans` is `false` (or unset), + // the sidecar will ignore the incoming trace context, generating no spans for + // the traffic (the context will be silently forwarded). This is equivalent to + // disabling tracing for the sidecar. + bool report_spans = 2; + + // CustomTag defines a tag to be added to a trace span that is based on + // an operator-supplied value. This value can either be a hard-coded value, + // a value taken from an environment variable known to the sidecar proxy, or + // from a request header. + message CustomTag { + oneof type { + // Literal adds the same, hard-coded value to each span. + Literal literal = 1; + // Environment adds the value of an environment variable to each span. + Environment environment = 2; + // RequestHeader adds the value of an header from the request to each span. + RequestHeader header = 3; + } + } + message Literal { + // The tag value to use. + string value = 1; + } + message Environment { + // Name of the environment variable from which to extract the tag value. + string name = 1; + // Optional. If the environment variable is not found, this value will be + // used instead. + string default_value = 2; + } + message RequestHeader { + // Name of the header from which to extract the tag value. + string name = 1; + // Optional. If the header is not found, this value will be + // used instead. + string default_value = 2; + } + + // Optional. Configures additional custom tags to the generated trace spans. + map custom_tags = 3; + + // Optional. Controls the overall path length allowed in a reported span. + uint32 max_path_tag_length = 4; + + // Required. + oneof sampler { + // A sampler that makes uniform decisions for all Sidecar traffic. + ConstantSampler constant_sampler = 5; + // A sampler that selects a configurable percentage of traffic for telemetry generation. + PercentageSampler percentage_sampler = 6; + } +} + +// A sampler that makes uniform decisions for all Sidecar traffic. +message ConstantSampler { + // ConstantDecision controls the behavior of the ConstantSampler. + enum ConstantDecision { + // Equivalent to NEVER_SAMPLE. + DECISION_UNSPECIFIED = 0; + // Ignore all sidecar traffic for the purposes of telemetry generation. + // For tracing, this means that the sidecar will never generate trace spans + // for traffic without an existing trace context. + NEVER_SAMPLE = 1; + // Consider all sidecar traffic for the purposes of telemetry generation. + // For tracing, this will generate trace spans for traffic without an + // existing trace context. + ALWAYS_SAMPLE = 2; + } + + // Controls the behavior of the sampler. + ConstantDecision decision = 1; +} + +// A sampler that selects a configurable percentage of traffic for telemetry generation. +message PercentageSampler { + // Controls the amount of traffic selected for which no previous + // sampling decision has been made. If a prior sampling decision has been + // made, that decision will be respected. However, if no sampling decision + // has been made (example: no `x-b3-sampled` tracing header was present in the + // requests), the traffic will be selected for telemetry generation at the + // percentage specified. + // Setting `random_sampling_percentage_target` to 0 is equivalent to + // ConstantDecision.NEVER_SAMPLE. Setting `random_sampling_percentage_target` to + // 100 is equivalent of ConstantDecision.ALWAYS SAMPLE. + // + // Defaults to 0%. Valid values [0.00-100.00]. Can be specified in 0.01% + // increments. + double random_sampling_percentage_target = 1; +} + From c66844586ceafc31d699f0ea081da5b80eea2c50 Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Thu, 19 Nov 2020 12:13:19 -0800 Subject: [PATCH 02/15] fix names and comments --- kubernetes/customresourcedefinitions.gen.yaml | 8 ++- telemetry/v1alpha1/telemetry.proto | 69 +++++++++++++------ 2 files changed, 53 insertions(+), 24 deletions(-) diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index 61f556a869..e13ea04652 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5959,6 +5959,8 @@ spec: type: object description: Optional. type: object + includeIstioTags: + type: boolean maxPathTagLength: description: Optional. type: integer @@ -5966,12 +5968,12 @@ spec: description: A sampler that selects a configurable percentage of traffic for telemetry generation. properties: - randomSamplingPercentageTarget: + target: format: double type: number type: object providers: - description: Optional. + description: Required. items: properties: name: @@ -6004,7 +6006,7 @@ spec: trafficDirection: description: Optional. enum: - - ALL_TRAFFIC + - ALL_DIRECTIONS - OUTBOUND - INBOUND type: string diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto index 445f3dddcf..f0b4ed1ad2 100644 --- a/telemetry/v1alpha1/telemetry.proto +++ b/telemetry/v1alpha1/telemetry.proto @@ -33,12 +33,12 @@ package istio.telemetry.v1alpha1; // your Istio installation *without* a workload selector. // // For any namespace, including the root configuration namespace, it is only valid -// to have a single workload-selector-less Telemetry resource. In the case of multiples, +// to have a single workload selector-less Telemetry resource. In the case of multiples, // the oldest known resource will be used to the exclusion of any other resources. // -// For resources with a workload-selector, it is only valid to have one resource selecting -// any given workload. If multiple resources select a single resource, the oldest known -// resource will be used to the exclusion of all other resources. +// For resources with a workload selector, it is only valid to have one resource selecting +// any given workload. If multiple resources with a workload selector select a single resource, +// the oldest known resource will be used to the exclusion of all other resources. // // WARNING: Support for Telemetry policies is under active development and is *not* // stable or supported by Istio at this time. @@ -54,15 +54,37 @@ package istio.telemetry.v1alpha1; // namespace: istio-system // spec: // tracing: -// - match: # apply to all traffic +// - match: {} # apply to all traffic // config: // providers: // - name: "zipkin" // reportSpans: true // percentageSampler: -// randomSamplingPercentageTarget: 10.00 +// target: 10.00 // ``` // +// Policy to disable trace reporting for all inbound traffic to the "foo" +// workloads that arrives on port 8090: +// ```yaml +// apiVersion: telemetry.istio.io/v1beta1 +// kind: Telemetry +// metadata: +// name: mesh-default +// namespace: istio-system +// spec: +// workloadSelector: +// labels: +// service.istio.io/canonical-name: foo +// tracing: +// - match: +// trafficDirection: INBOUND +// port: +// number: 8090 +// config: +// providers: +// - name: "zipkin" +// reportSpans: false +// ``` // // +// +// +type Telemetry struct { + // Optional. Workload selector decides where to apply the Telemetry policy. + // If not set, the Telemetry policy will be applied to all workloads in the + // same namespace as the Telemetry policy. + WorkloadSelector *v1beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=workload_selector,json=workloadSelector,proto3" json:"workload_selector,omitempty"` + // Optional. Tracing defines the per-workload overrides for trace span + // reporting. + Tracing []*TracingRule `protobuf:"bytes,2,rep,name=tracing,proto3" json:"tracing,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Telemetry) Reset() { *m = Telemetry{} } +func (m *Telemetry) String() string { return proto.CompactTextString(m) } +func (*Telemetry) ProtoMessage() {} +func (*Telemetry) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{0} +} +func (m *Telemetry) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Telemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Telemetry.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Telemetry) XXX_Merge(src proto.Message) { + xxx_messageInfo_Telemetry.Merge(m, src) +} +func (m *Telemetry) XXX_Size() int { + return m.Size() +} +func (m *Telemetry) XXX_DiscardUnknown() { + xxx_messageInfo_Telemetry.DiscardUnknown(m) +} + +var xxx_messageInfo_Telemetry proto.InternalMessageInfo + +func (m *Telemetry) GetWorkloadSelector() *v1beta1.WorkloadSelector { + if m != nil { + return m.WorkloadSelector + } + return nil +} + +func (m *Telemetry) GetTracing() []*TracingRule { + if m != nil { + return m.Tracing + } + return nil +} + +// TracingRule defines how trace spans should be reported (sampling rate, custom tags) +// and under what conditions the reporting should be conducted. +type TracingRule struct { + // Defines the conditions under which the associated configuration applies. + Match *TelemetryRuleMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` + // Customization of the default behavior for tracing. + Config *Tracing `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TracingRule) Reset() { *m = TracingRule{} } +func (m *TracingRule) String() string { return proto.CompactTextString(m) } +func (*TracingRule) ProtoMessage() {} +func (*TracingRule) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{1} +} +func (m *TracingRule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TracingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TracingRule.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TracingRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_TracingRule.Merge(m, src) +} +func (m *TracingRule) XXX_Size() int { + return m.Size() +} +func (m *TracingRule) XXX_DiscardUnknown() { + xxx_messageInfo_TracingRule.DiscardUnknown(m) +} + +var xxx_messageInfo_TracingRule proto.InternalMessageInfo + +func (m *TracingRule) GetMatch() *TelemetryRuleMatch { + if m != nil { + return m.Match + } + return nil +} + +func (m *TracingRule) GetConfig() *Tracing { + if m != nil { + return m.Config + } + return nil +} + +// TelemetryRuleMatch defines conditions for selecting subsets of mesh traffic +// for a workload. TelemetryRuleMatch is concerned with simplified selection +// based on listener, protocol, and traffic direction. +type TelemetryRuleMatch struct { + // Optional. Specifies the intended direction of the traffic relative to the local proxy. + // Defaults to ALL if unset. + TrafficDirection TelemetryRuleMatch_TrafficDirection `protobuf:"varint,1,opt,name=traffic_direction,json=trafficDirection,proto3,enum=istio.telemetry.v1alpha1.TelemetryRuleMatch_TrafficDirection" json:"traffic_direction,omitempty"` + // Optional. Specifies the protocol of the traffic. + // Defaults to ALL if unset. + Protocol TelemetryRuleMatch_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=istio.telemetry.v1alpha1.TelemetryRuleMatch_Protocol" json:"protocol,omitempty"` + // Optional. The port on which the traffic is received. + // Defaults to ALL if unset. + Port *Port `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TelemetryRuleMatch) Reset() { *m = TelemetryRuleMatch{} } +func (m *TelemetryRuleMatch) String() string { return proto.CompactTextString(m) } +func (*TelemetryRuleMatch) ProtoMessage() {} +func (*TelemetryRuleMatch) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{2} +} +func (m *TelemetryRuleMatch) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TelemetryRuleMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TelemetryRuleMatch.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TelemetryRuleMatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_TelemetryRuleMatch.Merge(m, src) +} +func (m *TelemetryRuleMatch) XXX_Size() int { + return m.Size() +} +func (m *TelemetryRuleMatch) XXX_DiscardUnknown() { + xxx_messageInfo_TelemetryRuleMatch.DiscardUnknown(m) +} + +var xxx_messageInfo_TelemetryRuleMatch proto.InternalMessageInfo + +func (m *TelemetryRuleMatch) GetTrafficDirection() TelemetryRuleMatch_TrafficDirection { + if m != nil { + return m.TrafficDirection + } + return TelemetryRuleMatch_ALL_DIRECTIONS +} + +func (m *TelemetryRuleMatch) GetProtocol() TelemetryRuleMatch_Protocol { + if m != nil { + return m.Protocol + } + return TelemetryRuleMatch_ALL_PROTOCOLS +} + +func (m *TelemetryRuleMatch) GetPort() *Port { + if m != nil { + return m.Port + } + return nil +} + +// Port specifies the number of a port to be used for +// matching or selection for final routing. +type Port struct { + // Valid port number + Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Port) Reset() { *m = Port{} } +func (m *Port) String() string { return proto.CompactTextString(m) } +func (*Port) ProtoMessage() {} +func (*Port) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{3} +} +func (m *Port) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Port) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Port.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Port) XXX_Merge(src proto.Message) { + xxx_messageInfo_Port.Merge(m, src) +} +func (m *Port) XXX_Size() int { + return m.Size() +} +func (m *Port) XXX_DiscardUnknown() { + xxx_messageInfo_Port.DiscardUnknown(m) +} + +var xxx_messageInfo_Port proto.InternalMessageInfo + +func (m *Port) GetNumber() uint32 { + if m != nil { + return m.Number + } + return 0 +} + +// Used to bind Telemetry configuration to specific providers for +// targeted customization. +type ProviderRef struct { + // Required. Name of Telemetry provider in MeshConfig. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProviderRef) Reset() { *m = ProviderRef{} } +func (m *ProviderRef) String() string { return proto.CompactTextString(m) } +func (*ProviderRef) ProtoMessage() {} +func (*ProviderRef) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{4} +} +func (m *ProviderRef) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProviderRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProviderRef.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProviderRef) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProviderRef.Merge(m, src) +} +func (m *ProviderRef) XXX_Size() int { + return m.Size() +} +func (m *ProviderRef) XXX_DiscardUnknown() { + xxx_messageInfo_ProviderRef.DiscardUnknown(m) +} + +var xxx_messageInfo_ProviderRef proto.InternalMessageInfo + +func (m *ProviderRef) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Tracing defines the workload-level overrides for tracing behavior within +// a mesh. It can be used to enable/disable tracing, as well as to set sampling +// rates and custom tag extraction. +type Tracing struct { + // Required. Name of providers to which this configuration should apply. At + // least one provider needs to be specified. + Providers []*ProviderRef `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` + // Enables the tracing functionality. When this is set to `true`, the + // sidecar will report spans to a configured backend for all traffic with a trace + // context that specifies the trace is sampled. Additionally, spans will be + // generated for traffic without trace contexts based on the + // `sampler` configuration provided. If `report_spans` is `false` (or unset), + // the sidecar will ignore the incoming trace context, generating no spans for + // the traffic (the context will be silently forwarded). This is equivalent to + // disabling tracing for the sidecar. + ReportSpans bool `protobuf:"varint,2,opt,name=report_spans,json=reportSpans,proto3" json:"report_spans,omitempty"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, meh, and namespace involved in the request. + // Default: true + IncludeIstioTags bool `protobuf:"varint,3,opt,name=include_istio_tags,json=includeIstioTags,proto3" json:"include_istio_tags,omitempty"` + // Optional. Configures additional custom tags to the generated trace spans. + CustomTags map[string]*Tracing_CustomTag `protobuf:"bytes,4,rep,name=custom_tags,json=customTags,proto3" json:"custom_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Optional. Controls the overall path length allowed in a reported span. + MaxPathTagLength uint32 `protobuf:"varint,5,opt,name=max_path_tag_length,json=maxPathTagLength,proto3" json:"max_path_tag_length,omitempty"` + // Required. + // + // Types that are valid to be assigned to Sampler: + // *Tracing_ConstantSampler + // *Tracing_PercentageSampler + Sampler isTracing_Sampler `protobuf_oneof:"sampler"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing) Reset() { *m = Tracing{} } +func (m *Tracing) String() string { return proto.CompactTextString(m) } +func (*Tracing) ProtoMessage() {} +func (*Tracing) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{5} +} +func (m *Tracing) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing.Merge(m, src) +} +func (m *Tracing) XXX_Size() int { + return m.Size() +} +func (m *Tracing) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing proto.InternalMessageInfo + +type isTracing_Sampler interface { + isTracing_Sampler() + MarshalTo([]byte) (int, error) + Size() int +} + +type Tracing_ConstantSampler struct { + ConstantSampler *ConstantSampler `protobuf:"bytes,6,opt,name=constant_sampler,json=constantSampler,proto3,oneof" json:"constant_sampler,omitempty"` +} +type Tracing_PercentageSampler struct { + PercentageSampler *PercentageSampler `protobuf:"bytes,7,opt,name=percentage_sampler,json=percentageSampler,proto3,oneof" json:"percentage_sampler,omitempty"` +} + +func (*Tracing_ConstantSampler) isTracing_Sampler() {} +func (*Tracing_PercentageSampler) isTracing_Sampler() {} + +func (m *Tracing) GetSampler() isTracing_Sampler { + if m != nil { + return m.Sampler + } + return nil +} + +func (m *Tracing) GetProviders() []*ProviderRef { + if m != nil { + return m.Providers + } + return nil +} + +func (m *Tracing) GetReportSpans() bool { + if m != nil { + return m.ReportSpans + } + return false +} + +func (m *Tracing) GetIncludeIstioTags() bool { + if m != nil { + return m.IncludeIstioTags + } + return false +} + +func (m *Tracing) GetCustomTags() map[string]*Tracing_CustomTag { + if m != nil { + return m.CustomTags + } + return nil +} + +func (m *Tracing) GetMaxPathTagLength() uint32 { + if m != nil { + return m.MaxPathTagLength + } + return 0 +} + +func (m *Tracing) GetConstantSampler() *ConstantSampler { + if x, ok := m.GetSampler().(*Tracing_ConstantSampler); ok { + return x.ConstantSampler + } + return nil +} + +func (m *Tracing) GetPercentageSampler() *PercentageSampler { + if x, ok := m.GetSampler().(*Tracing_PercentageSampler); ok { + return x.PercentageSampler + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Tracing) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*Tracing_ConstantSampler)(nil), + (*Tracing_PercentageSampler)(nil), + } +} + +// CustomTag defines a tag to be added to a trace span that is based on +// an operator-supplied value. This value can either be a hard-coded value, +// a value taken from an environment variable known to the sidecar proxy, or +// from a request header. +type Tracing_CustomTag struct { + // 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:"-"` +} + +func (m *Tracing_CustomTag) Reset() { *m = Tracing_CustomTag{} } +func (m *Tracing_CustomTag) String() string { return proto.CompactTextString(m) } +func (*Tracing_CustomTag) ProtoMessage() {} +func (*Tracing_CustomTag) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{5, 0} +} +func (m *Tracing_CustomTag) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_CustomTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_CustomTag.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_CustomTag) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_CustomTag.Merge(m, src) +} +func (m *Tracing_CustomTag) XXX_Size() int { + return m.Size() +} +func (m *Tracing_CustomTag) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_CustomTag.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_CustomTag proto.InternalMessageInfo + +type isTracing_CustomTag_Type interface { + isTracing_CustomTag_Type() + MarshalTo([]byte) (int, error) + Size() int +} + +type Tracing_CustomTag_Literal struct { + Literal *Tracing_Literal `protobuf:"bytes,1,opt,name=literal,proto3,oneof" json:"literal,omitempty"` +} +type Tracing_CustomTag_Environment struct { + Environment *Tracing_Environment `protobuf:"bytes,2,opt,name=environment,proto3,oneof" json:"environment,omitempty"` +} +type Tracing_CustomTag_Header struct { + Header *Tracing_RequestHeader `protobuf:"bytes,3,opt,name=header,proto3,oneof" json:"header,omitempty"` +} + +func (*Tracing_CustomTag_Literal) isTracing_CustomTag_Type() {} +func (*Tracing_CustomTag_Environment) isTracing_CustomTag_Type() {} +func (*Tracing_CustomTag_Header) isTracing_CustomTag_Type() {} + +func (m *Tracing_CustomTag) GetType() isTracing_CustomTag_Type { + if m != nil { + return m.Type + } + return nil +} + +func (m *Tracing_CustomTag) GetLiteral() *Tracing_Literal { + if x, ok := m.GetType().(*Tracing_CustomTag_Literal); ok { + return x.Literal + } + return nil +} + +func (m *Tracing_CustomTag) GetEnvironment() *Tracing_Environment { + if x, ok := m.GetType().(*Tracing_CustomTag_Environment); ok { + return x.Environment + } + return nil +} + +func (m *Tracing_CustomTag) GetHeader() *Tracing_RequestHeader { + if x, ok := m.GetType().(*Tracing_CustomTag_Header); ok { + return x.Header + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Tracing_CustomTag) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*Tracing_CustomTag_Literal)(nil), + (*Tracing_CustomTag_Environment)(nil), + (*Tracing_CustomTag_Header)(nil), + } +} + +type Tracing_Literal struct { + // The tag value to use. + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_Literal) Reset() { *m = Tracing_Literal{} } +func (m *Tracing_Literal) String() string { return proto.CompactTextString(m) } +func (*Tracing_Literal) ProtoMessage() {} +func (*Tracing_Literal) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{5, 1} +} +func (m *Tracing_Literal) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_Literal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_Literal.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_Literal) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_Literal.Merge(m, src) +} +func (m *Tracing_Literal) XXX_Size() int { + return m.Size() +} +func (m *Tracing_Literal) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_Literal.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_Literal proto.InternalMessageInfo + +func (m *Tracing_Literal) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +type Tracing_Environment struct { + // Name of the environment variable from which to extract the tag value. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. If the environment variable is not found, this value will be + // used instead. + DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_Environment) Reset() { *m = Tracing_Environment{} } +func (m *Tracing_Environment) String() string { return proto.CompactTextString(m) } +func (*Tracing_Environment) ProtoMessage() {} +func (*Tracing_Environment) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{5, 2} +} +func (m *Tracing_Environment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_Environment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_Environment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_Environment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_Environment.Merge(m, src) +} +func (m *Tracing_Environment) XXX_Size() int { + return m.Size() +} +func (m *Tracing_Environment) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_Environment.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_Environment proto.InternalMessageInfo + +func (m *Tracing_Environment) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Tracing_Environment) GetDefaultValue() string { + if m != nil { + return m.DefaultValue + } + return "" +} + +type Tracing_RequestHeader struct { + // Name of the header from which to extract the tag value. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Optional. If the header is not found, this value will be + // used instead. + DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_RequestHeader) Reset() { *m = Tracing_RequestHeader{} } +func (m *Tracing_RequestHeader) String() string { return proto.CompactTextString(m) } +func (*Tracing_RequestHeader) ProtoMessage() {} +func (*Tracing_RequestHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{5, 3} +} +func (m *Tracing_RequestHeader) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_RequestHeader.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_RequestHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_RequestHeader.Merge(m, src) +} +func (m *Tracing_RequestHeader) XXX_Size() int { + return m.Size() +} +func (m *Tracing_RequestHeader) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_RequestHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_RequestHeader proto.InternalMessageInfo + +func (m *Tracing_RequestHeader) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Tracing_RequestHeader) GetDefaultValue() string { + if m != nil { + return m.DefaultValue + } + return "" +} + +// A sampler that makes uniform decisions for all Sidecar traffic. +type ConstantSampler struct { + // Controls the behavior of the sampler. + Decision ConstantSampler_ConstantDecision `protobuf:"varint,1,opt,name=decision,proto3,enum=istio.telemetry.v1alpha1.ConstantSampler_ConstantDecision" json:"decision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConstantSampler) Reset() { *m = ConstantSampler{} } +func (m *ConstantSampler) String() string { return proto.CompactTextString(m) } +func (*ConstantSampler) ProtoMessage() {} +func (*ConstantSampler) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{6} +} +func (m *ConstantSampler) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConstantSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConstantSampler.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConstantSampler) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConstantSampler.Merge(m, src) +} +func (m *ConstantSampler) XXX_Size() int { + return m.Size() +} +func (m *ConstantSampler) XXX_DiscardUnknown() { + xxx_messageInfo_ConstantSampler.DiscardUnknown(m) +} + +var xxx_messageInfo_ConstantSampler proto.InternalMessageInfo + +func (m *ConstantSampler) GetDecision() ConstantSampler_ConstantDecision { + if m != nil { + return m.Decision + } + return ConstantSampler_DECISION_UNSPECIFIED +} + +// A sampler that selects a configurable percentage of traffic for telemetry generation. +type PercentageSampler struct { + // Controls the amount of traffic selected for which no previous + // sampling decision has been made. If a prior sampling decision has been + // made, that decision will be respected. However, if no sampling decision + // has been made (example: no `x-b3-sampled` tracing header was present in the + // requests), the traffic will be selected for telemetry generation at the + // percentage specified. + // Setting `target` to 0 is equivalent to + // ConstantDecision.NEVER_SAMPLE. Setting `target` to + // 100 is equivalent of ConstantDecision.ALWAYS SAMPLE. + // + // Defaults to 0%. Valid values [0.00-100.00]. Can be specified in 0.01% + // increments. + Target float64 `protobuf:"fixed64,1,opt,name=target,proto3" json:"target,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PercentageSampler) Reset() { *m = PercentageSampler{} } +func (m *PercentageSampler) String() string { return proto.CompactTextString(m) } +func (*PercentageSampler) ProtoMessage() {} +func (*PercentageSampler) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{7} +} +func (m *PercentageSampler) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PercentageSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PercentageSampler.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PercentageSampler) XXX_Merge(src proto.Message) { + xxx_messageInfo_PercentageSampler.Merge(m, src) +} +func (m *PercentageSampler) XXX_Size() int { + return m.Size() +} +func (m *PercentageSampler) XXX_DiscardUnknown() { + xxx_messageInfo_PercentageSampler.DiscardUnknown(m) +} + +var xxx_messageInfo_PercentageSampler proto.InternalMessageInfo + +func (m *PercentageSampler) GetTarget() float64 { + if m != nil { + return m.Target + } + return 0 +} + +func init() { + proto.RegisterEnum("istio.telemetry.v1alpha1.TelemetryRuleMatch_TrafficDirection", TelemetryRuleMatch_TrafficDirection_name, TelemetryRuleMatch_TrafficDirection_value) + proto.RegisterEnum("istio.telemetry.v1alpha1.TelemetryRuleMatch_Protocol", TelemetryRuleMatch_Protocol_name, TelemetryRuleMatch_Protocol_value) + proto.RegisterEnum("istio.telemetry.v1alpha1.ConstantSampler_ConstantDecision", ConstantSampler_ConstantDecision_name, ConstantSampler_ConstantDecision_value) + proto.RegisterType((*Telemetry)(nil), "istio.telemetry.v1alpha1.Telemetry") + proto.RegisterType((*TracingRule)(nil), "istio.telemetry.v1alpha1.TracingRule") + proto.RegisterType((*TelemetryRuleMatch)(nil), "istio.telemetry.v1alpha1.TelemetryRuleMatch") + proto.RegisterType((*Port)(nil), "istio.telemetry.v1alpha1.Port") + proto.RegisterType((*ProviderRef)(nil), "istio.telemetry.v1alpha1.ProviderRef") + proto.RegisterType((*Tracing)(nil), "istio.telemetry.v1alpha1.Tracing") + proto.RegisterMapType((map[string]*Tracing_CustomTag)(nil), "istio.telemetry.v1alpha1.Tracing.CustomTagsEntry") + proto.RegisterType((*Tracing_CustomTag)(nil), "istio.telemetry.v1alpha1.Tracing.CustomTag") + proto.RegisterType((*Tracing_Literal)(nil), "istio.telemetry.v1alpha1.Tracing.Literal") + proto.RegisterType((*Tracing_Environment)(nil), "istio.telemetry.v1alpha1.Tracing.Environment") + proto.RegisterType((*Tracing_RequestHeader)(nil), "istio.telemetry.v1alpha1.Tracing.RequestHeader") + proto.RegisterType((*ConstantSampler)(nil), "istio.telemetry.v1alpha1.ConstantSampler") + proto.RegisterType((*PercentageSampler)(nil), "istio.telemetry.v1alpha1.PercentageSampler") +} + +func init() { + proto.RegisterFile("telemetry/v1alpha1/telemetry.proto", fileDescriptor_991c84745e2b7651) +} + +var fileDescriptor_991c84745e2b7651 = []byte{ + // 934 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xed, 0x8e, 0xda, 0x46, + 0x14, 0x86, 0x31, 0x4b, 0xf8, 0x38, 0xec, 0x87, 0x39, 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00, +} + +func (m *Telemetry) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Telemetry) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Telemetry) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Tracing) > 0 { + for iNdEx := len(m.Tracing) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Tracing[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.WorkloadSelector != nil { + { + size, err := m.WorkloadSelector.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TracingRule) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TracingRule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TracingRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Config != nil { + { + size, err := m.Config.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Match != nil { + { + size, err := m.Match.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TelemetryRuleMatch) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TelemetryRuleMatch) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TelemetryRuleMatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Port != nil { + { + size, err := m.Port.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Protocol != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.Protocol)) + i-- + dAtA[i] = 0x10 + } + if m.TrafficDirection != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.TrafficDirection)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Port) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Port) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Port) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Number != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.Number)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ProviderRef) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProviderRef) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProviderRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tracing) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Sampler != nil { + { + size := m.Sampler.Size() + i -= size + if _, err := m.Sampler.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.MaxPathTagLength != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.MaxPathTagLength)) + i-- + dAtA[i] = 0x28 + } + if len(m.CustomTags) > 0 { + for k := range m.CustomTags { + v := m.CustomTags[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintTelemetry(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintTelemetry(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x22 + } + } + if m.IncludeIstioTags { + i-- + if m.IncludeIstioTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.ReportSpans { + i-- + if m.ReportSpans { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Providers) > 0 { + for iNdEx := len(m.Providers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Providers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Tracing_ConstantSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ConstantSampler != nil { + { + size, err := m.ConstantSampler.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *Tracing_PercentageSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_PercentageSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.PercentageSampler != nil { + { + size, err := m.PercentageSampler.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + return len(dAtA) - i, nil +} +func (m *Tracing_CustomTag) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing_CustomTag) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_CustomTag) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Type != nil { + { + size := m.Type.Size() + i -= size + if _, err := m.Type.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *Tracing_CustomTag_Literal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_CustomTag_Literal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Literal != nil { + { + size, err := m.Literal.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *Tracing_CustomTag_Environment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_CustomTag_Environment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Environment != nil { + { + size, err := m.Environment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *Tracing_CustomTag_Header) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_CustomTag_Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + return len(dAtA) - i, nil +} +func (m *Tracing_Literal) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing_Literal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_Literal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tracing_Environment) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing_Environment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_Environment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DefaultValue) > 0 { + i -= len(m.DefaultValue) + copy(dAtA[i:], m.DefaultValue) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.DefaultValue))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tracing_RequestHeader) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing_RequestHeader) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DefaultValue) > 0 { + i -= len(m.DefaultValue) + copy(dAtA[i:], m.DefaultValue) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.DefaultValue))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConstantSampler) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConstantSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Decision != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.Decision)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PercentageSampler) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PercentageSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PercentageSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Target != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Target)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil +} + +func encodeVarintTelemetry(dAtA []byte, offset int, v uint64) int { + offset -= sovTelemetry(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Telemetry) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkloadSelector != nil { + l = m.WorkloadSelector.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + if len(m.Tracing) > 0 { + for _, e := range m.Tracing { + l = e.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TracingRule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Match != nil { + l = m.Match.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.Config != nil { + l = m.Config.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TelemetryRuleMatch) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TrafficDirection != 0 { + n += 1 + sovTelemetry(uint64(m.TrafficDirection)) + } + if m.Protocol != 0 { + n += 1 + sovTelemetry(uint64(m.Protocol)) + } + if m.Port != nil { + l = m.Port.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Port) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Number != 0 { + n += 1 + sovTelemetry(uint64(m.Number)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ProviderRef) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Providers) > 0 { + for _, e := range m.Providers { + l = e.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + } + if m.ReportSpans { + n += 2 + } + if m.IncludeIstioTags { + n += 2 + } + if len(m.CustomTags) > 0 { + for k, v := range m.CustomTags { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovTelemetry(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovTelemetry(uint64(len(k))) + l + n += mapEntrySize + 1 + sovTelemetry(uint64(mapEntrySize)) + } + } + if m.MaxPathTagLength != 0 { + n += 1 + sovTelemetry(uint64(m.MaxPathTagLength)) + } + if m.Sampler != nil { + n += m.Sampler.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_ConstantSampler) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ConstantSampler != nil { + l = m.ConstantSampler.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} +func (m *Tracing_PercentageSampler) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PercentageSampler != nil { + l = m.PercentageSampler.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} +func (m *Tracing_CustomTag) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Type != nil { + n += m.Type.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_CustomTag_Literal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Literal != nil { + l = m.Literal.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} +func (m *Tracing_CustomTag_Environment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Environment != nil { + l = m.Environment.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} +func (m *Tracing_CustomTag_Header) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} +func (m *Tracing_Literal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_Environment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + l = len(m.DefaultValue) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_RequestHeader) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + l = len(m.DefaultValue) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ConstantSampler) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Decision != 0 { + n += 1 + sovTelemetry(uint64(m.Decision)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PercentageSampler) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != 0 { + n += 9 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovTelemetry(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTelemetry(x uint64) (n int) { + return sovTelemetry(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Telemetry) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Telemetry: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Telemetry: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkloadSelector", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkloadSelector == nil { + m.WorkloadSelector = &v1beta1.WorkloadSelector{} + } + if err := m.WorkloadSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tracing", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tracing = append(m.Tracing, &TracingRule{}) + if err := m.Tracing[len(m.Tracing)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TracingRule) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TracingRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TracingRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Match == nil { + m.Match = &TelemetryRuleMatch{} + } + if err := m.Match.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Config == nil { + m.Config = &Tracing{} + } + if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TelemetryRuleMatch) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TelemetryRuleMatch: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TelemetryRuleMatch: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TrafficDirection", wireType) + } + m.TrafficDirection = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TrafficDirection |= TelemetryRuleMatch_TrafficDirection(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) + } + m.Protocol = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Protocol |= TelemetryRuleMatch_Protocol(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Port == nil { + m.Port = &Port{} + } + if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Port) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Port: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Port: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) + } + m.Number = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Number |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProviderRef) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProviderRef: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProviderRef: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Tracing: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Tracing: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Providers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Providers = append(m.Providers, &ProviderRef{}) + if err := m.Providers[len(m.Providers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReportSpans", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReportSpans = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeIstioTags", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeIstioTags = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CustomTags", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CustomTags == nil { + m.CustomTags = make(map[string]*Tracing_CustomTag) + } + var mapkey string + var mapvalue *Tracing_CustomTag + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthTelemetry + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTelemetry + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthTelemetry + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Tracing_CustomTag{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.CustomTags[mapkey] = mapvalue + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxPathTagLength", wireType) + } + m.MaxPathTagLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxPathTagLength |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConstantSampler", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ConstantSampler{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Sampler = &Tracing_ConstantSampler{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PercentageSampler", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &PercentageSampler{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Sampler = &Tracing_PercentageSampler{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_CustomTag) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CustomTag: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CustomTag: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Literal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &Tracing_Literal{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Type = &Tracing_CustomTag_Literal{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &Tracing_Environment{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Type = &Tracing_CustomTag_Environment{v} + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &Tracing_RequestHeader{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Type = &Tracing_CustomTag_Header{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_Literal) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Literal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Literal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_Environment) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Environment: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Environment: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultValue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_RequestHeader) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestHeader: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestHeader: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultValue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConstantSampler) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConstantSampler: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConstantSampler: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Decision", wireType) + } + m.Decision = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Decision |= ConstantSampler_ConstantDecision(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PercentageSampler) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PercentageSampler: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PercentageSampler: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Target = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTelemetry(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTelemetry + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTelemetry + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTelemetry + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTelemetry + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTelemetry + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTelemetry + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTelemetry = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTelemetry = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTelemetry = fmt.Errorf("proto: unexpected end of group") +) diff --git a/telemetry/v1alpha1/telemetry.pb.html b/telemetry/v1alpha1/telemetry.pb.html new file mode 100644 index 0000000000..4d60919686 --- /dev/null +++ b/telemetry/v1alpha1/telemetry.pb.html @@ -0,0 +1,705 @@ +--- +title: istio.telemetry.v1alpha1 +layout: protoc-gen-docs +generator: protoc-gen-docs +number_of_entries: 15 +--- +

Telemetry

+
+

Telemetry defines the telemetry generation policies for workloads within a mesh. +Telemetry policies control runtime configuration of telemetry generation for Istio.

+ +

For mesh level configuration, put the policy in root configuration namespace for +your Istio installation without a workload selector.

+ +

For any namespace, including the root configuration namespace, it is only valid +to have a single workload selector-less Telemetry resource. In the case of multiples, +the oldest known resource will be used to the exclusion of any other resources.

+ +

For resources with a workload selector, it is only valid to have one resource selecting +any given workload. If multiple resources with a workload selector select a single resource, +the oldest known resource will be used to the exclusion of all other resources.

+ +

WARNING: Support for Telemetry policies is under active development and is not +stable or supported by Istio at this time.

+ +

Examples:

+ +

Policy to enable sending trace data to a Zipkin backend for 10% of all traffic:

+ +
apiVersion: telemetry.istio.io/v1beta1
+kind: Telemetry
+metadata:
+  name: mesh-default
+  namespace: istio-system
+spec:
+  tracing:
+  - match: {} # apply to all traffic
+    config:
+      providers:
+      - name: "zipkin"
+      reportSpans: true
+      percentageSampler:
+        target: 10.00
+
+ +

Policy to disable trace reporting for all inbound traffic to the “foo” +workloads that arrives on port 8090:

+ +
apiVersion: telemetry.istio.io/v1beta1
+kind: Telemetry
+metadata:
+  name: mesh-default
+  namespace: istio-system
+spec:
+  workloadSelector:
+    labels:
+      service.istio.io/canonical-name: foo
+  tracing:
+  - match:
+      trafficDirection: INBOUND
+      port:
+        number: 8090
+    config:
+      providers:
+      - name: "zipkin"
+      reportSpans: false
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
workloadSelectorWorkloadSelector +

Optional. Workload selector decides where to apply the Telemetry policy. +If not set, the Telemetry policy will be applied to all workloads in the +same namespace as the Telemetry policy.

+ +
+No +
tracingTracingRule[] +

Optional. Tracing defines the per-workload overrides for trace span +reporting.

+ +
+No +
+
+

TracingRule

+
+

TracingRule defines how trace spans should be reported (sampling rate, custom tags) +and under what conditions the reporting should be conducted.

+ + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
matchTelemetryRuleMatch +

Defines the conditions under which the associated configuration applies.

+ +
+No +
configTracing +

Customization of the default behavior for tracing.

+ +
+No +
+
+

TelemetryRuleMatch

+
+

TelemetryRuleMatch defines conditions for selecting subsets of mesh traffic +for a workload. TelemetryRuleMatch is concerned with simplified selection +based on listener, protocol, and traffic direction.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
trafficDirectionTrafficDirection +

Optional. Specifies the intended direction of the traffic relative to the local proxy. +Defaults to ALL if unset.

+ +
+No +
protocolProtocol +

Optional. Specifies the protocol of the traffic. +Defaults to ALL if unset.

+ +
+No +
portPort +

Optional. The port on which the traffic is received. +Defaults to ALL if unset.

+ +
+No +
+
+

Port

+
+

Port specifies the number of a port to be used for +matching or selection for final routing.

+ + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
numberuint32 +

Valid port number

+ +
+No +
+
+

ProviderRef

+
+

Used to bind Telemetry configuration to specific providers for +targeted customization.

+ + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
namestring +

Required. Name of Telemetry provider in MeshConfig.

+ +
+No +
+
+

Tracing

+
+

Tracing defines the workload-level overrides for tracing behavior within +a mesh. It can be used to enable/disable tracing, as well as to set sampling +rates and custom tag extraction.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
providersProviderRef[] +

Required. Name of providers to which this configuration should apply. At +least one provider needs to be specified.

+ +
+No +
reportSpansbool +

Enables the tracing functionality. When this is set to true, the +sidecar will report spans to a configured backend for all traffic with a trace +context that specifies the trace is sampled. Additionally, spans will be +generated for traffic without trace contexts based on the +sampler configuration provided. If report_spans is false (or unset), +the sidecar will ignore the incoming trace context, generating no spans for +the traffic (the context will be silently forwarded). This is equivalent to +disabling tracing for the sidecar.

+ +
+No +
includeIstioTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, meh, and namespace involved in the request. +Default: true

+ +
+No +
customTagsmap<string, CustomTag> +

Optional. Configures additional custom tags to the generated trace spans.

+ +
+No +
maxPathTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span.

+ +
+No +
constantSamplerConstantSampler (oneof) +

A sampler that makes uniform decisions for all Sidecar traffic.

+ +
+No +
percentageSamplerPercentageSampler (oneof) +

A sampler that selects a configurable percentage of traffic for telemetry generation.

+ +
+No +
+
+

ConstantSampler

+
+

A sampler that makes uniform decisions for all Sidecar traffic.

+ + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
decisionConstantDecision +

Controls the behavior of the sampler.

+ +
+No +
+
+

PercentageSampler

+
+

A sampler that selects a configurable percentage of traffic for telemetry generation.

+ + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
targetdouble +

Controls the amount of traffic selected for which no previous +sampling decision has been made. If a prior sampling decision has been +made, that decision will be respected. However, if no sampling decision +has been made (example: no x-b3-sampled tracing header was present in the +requests), the traffic will be selected for telemetry generation at the +percentage specified. +Setting target to 0 is equivalent to +ConstantDecision.NEVER_SAMPLE. Setting target to +100 is equivalent of ConstantDecision.ALWAYS SAMPLE.

+ +

Defaults to 0%. Valid values [0.00-100.00]. Can be specified in 0.01% +increments.

+ +
+No +
+
+

Tracing.CustomTag

+
+

CustomTag defines a tag to be added to a trace span that is based on +an operator-supplied value. This value can either be a hard-coded value, +a value taken from an environment variable known to the sidecar proxy, or +from a request header.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
literalLiteral (oneof) +

Literal adds the same, hard-coded value to each span.

+ +
+No +
environmentEnvironment (oneof) +

Environment adds the value of an environment variable to each span.

+ +
+No +
headerRequestHeader (oneof) +

RequestHeader adds the value of an header from the request to each span.

+ +
+No +
+
+

Tracing.Literal

+
+ + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
valuestring +

The tag value to use.

+ +
+No +
+
+

Tracing.Environment

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
namestring +

Name of the environment variable from which to extract the tag value.

+ +
+No +
defaultValuestring +

Optional. If the environment variable is not found, this value will be +used instead.

+ +
+No +
+
+

Tracing.RequestHeader

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
namestring +

Name of the header from which to extract the tag value.

+ +
+No +
defaultValuestring +

Optional. If the header is not found, this value will be +used instead.

+ +
+No +
+
+

TelemetryRuleMatch.TrafficDirection

+
+

TrafficDirection selects for traffic relative to the local +proxy.

+ + + + + + + + + + + + + + + + + + + + + + +
NameDescription
ALL_DIRECTIONS +

(Default) Match all traffic, regardless of direction.

+ +
OUTBOUND +

Match outbound traffic leaving the proxy. Use this to select “client-side” +traffic in telemetry reporting. +Note: Use OUTBOUND for gateways (even including ingress)

+ +
INBOUND +

Match incoming traffic for the proxy. Use this to select “server-side” +traffic in telemetry reporting.

+ +
+
+

TelemetryRuleMatch.Protocol

+
+

Protocol selects for traffic based on the identified protocol of that traffic.

+ + + + + + + + + + + + + + + + + + + + + + +
NameDescription
ALL_PROTOCOLS +

(Default) Matches all traffic, regardless of protocol

+ +
HTTP +

Selects for HTTP traffic, including HTTP/1.1, gRPC, HTTP/2.

+ +
TCP +

Selects for all non-HTTP traffic. +NOTE: Tracing is currently only supported for HTTP.

+ +
+
+

ConstantSampler.ConstantDecision

+
+

ConstantDecision controls the behavior of the ConstantSampler.

+ + + + + + + + + + + + + + + + + + + + + + +
NameDescription
DECISION_UNSPECIFIED +

Equivalent to NEVER_SAMPLE.

+ +
NEVER_SAMPLE +

Ignore all sidecar traffic for the purposes of telemetry generation. +For tracing, this means that the sidecar will never generate trace spans +for traffic without an existing trace context.

+ +
ALWAYS_SAMPLE +

Consider all sidecar traffic for the purposes of telemetry generation. +For tracing, this will generate trace spans for traffic without an +existing trace context.

+ +
+
diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto index f0b4ed1ad2..0f85ae5c91 100644 --- a/telemetry/v1alpha1/telemetry.proto +++ b/telemetry/v1alpha1/telemetry.proto @@ -128,7 +128,7 @@ message TracingRule { // Defines the conditions under which the associated configuration applies. TelemetryRuleMatch match = 1; // Customization of the default behavior for tracing. - TracingConfig config = 2; + Tracing config = 2; } // TelemetryRuleMatch defines conditions for selecting subsets of mesh traffic @@ -188,10 +188,10 @@ message ProviderRef { string name = 1; } -// TracingConfig defines the workload-level overrides for tracing behavior within +// Tracing defines the workload-level overrides for tracing behavior within // a mesh. It can be used to enable/disable tracing, as well as to set sampling // rates and custom tag extraction. -message TracingConfig { +message Tracing { // Required. Name of providers to which this configuration should apply. At // least one provider needs to be specified. repeated ProviderRef providers = 1; diff --git a/telemetry/v1alpha1/telemetry_deepcopy.gen.go b/telemetry/v1alpha1/telemetry_deepcopy.gen.go new file mode 100644 index 0000000000..7116a9dedf --- /dev/null +++ b/telemetry/v1alpha1/telemetry_deepcopy.gen.go @@ -0,0 +1,268 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: telemetry/v1alpha1/telemetry.proto + +package v1alpha1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + _ "istio.io/api/type/v1beta1" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// DeepCopyInto supports using Telemetry within kubernetes types, where deepcopy-gen is used. +func (in *Telemetry) DeepCopyInto(out *Telemetry) { + p := proto.Clone(in).(*Telemetry) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Telemetry. Required by controller-gen. +func (in *Telemetry) DeepCopy() *Telemetry { + if in == nil { + return nil + } + out := new(Telemetry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Telemetry. Required by controller-gen. +func (in *Telemetry) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using TracingRule within kubernetes types, where deepcopy-gen is used. +func (in *TracingRule) DeepCopyInto(out *TracingRule) { + p := proto.Clone(in).(*TracingRule) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingRule. Required by controller-gen. +func (in *TracingRule) DeepCopy() *TracingRule { + if in == nil { + return nil + } + out := new(TracingRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TracingRule. Required by controller-gen. +func (in *TracingRule) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using TelemetryRuleMatch within kubernetes types, where deepcopy-gen is used. +func (in *TelemetryRuleMatch) DeepCopyInto(out *TelemetryRuleMatch) { + p := proto.Clone(in).(*TelemetryRuleMatch) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryRuleMatch. Required by controller-gen. +func (in *TelemetryRuleMatch) DeepCopy() *TelemetryRuleMatch { + if in == nil { + return nil + } + out := new(TelemetryRuleMatch) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryRuleMatch. Required by controller-gen. +func (in *TelemetryRuleMatch) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Port within kubernetes types, where deepcopy-gen is used. +func (in *Port) DeepCopyInto(out *Port) { + p := proto.Clone(in).(*Port) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Port. Required by controller-gen. +func (in *Port) DeepCopy() *Port { + if in == nil { + return nil + } + out := new(Port) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Port. Required by controller-gen. +func (in *Port) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using ProviderRef within kubernetes types, where deepcopy-gen is used. +func (in *ProviderRef) DeepCopyInto(out *ProviderRef) { + p := proto.Clone(in).(*ProviderRef) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRef. Required by controller-gen. +func (in *ProviderRef) DeepCopy() *ProviderRef { + if in == nil { + return nil + } + out := new(ProviderRef) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRef. Required by controller-gen. +func (in *ProviderRef) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing within kubernetes types, where deepcopy-gen is used. +func (in *Tracing) DeepCopyInto(out *Tracing) { + p := proto.Clone(in).(*Tracing) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing. Required by controller-gen. +func (in *Tracing) DeepCopy() *Tracing { + if in == nil { + return nil + } + out := new(Tracing) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing. Required by controller-gen. +func (in *Tracing) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_CustomTag within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_CustomTag) DeepCopyInto(out *Tracing_CustomTag) { + p := proto.Clone(in).(*Tracing_CustomTag) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_CustomTag. Required by controller-gen. +func (in *Tracing_CustomTag) DeepCopy() *Tracing_CustomTag { + if in == nil { + return nil + } + out := new(Tracing_CustomTag) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_CustomTag. Required by controller-gen. +func (in *Tracing_CustomTag) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_Literal within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_Literal) DeepCopyInto(out *Tracing_Literal) { + p := proto.Clone(in).(*Tracing_Literal) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Literal. Required by controller-gen. +func (in *Tracing_Literal) DeepCopy() *Tracing_Literal { + if in == nil { + return nil + } + out := new(Tracing_Literal) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Literal. Required by controller-gen. +func (in *Tracing_Literal) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_Environment within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_Environment) DeepCopyInto(out *Tracing_Environment) { + p := proto.Clone(in).(*Tracing_Environment) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Environment. Required by controller-gen. +func (in *Tracing_Environment) DeepCopy() *Tracing_Environment { + if in == nil { + return nil + } + out := new(Tracing_Environment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Environment. Required by controller-gen. +func (in *Tracing_Environment) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_RequestHeader within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_RequestHeader) DeepCopyInto(out *Tracing_RequestHeader) { + p := proto.Clone(in).(*Tracing_RequestHeader) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_RequestHeader. Required by controller-gen. +func (in *Tracing_RequestHeader) DeepCopy() *Tracing_RequestHeader { + if in == nil { + return nil + } + out := new(Tracing_RequestHeader) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_RequestHeader. Required by controller-gen. +func (in *Tracing_RequestHeader) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using ConstantSampler within kubernetes types, where deepcopy-gen is used. +func (in *ConstantSampler) DeepCopyInto(out *ConstantSampler) { + p := proto.Clone(in).(*ConstantSampler) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConstantSampler. Required by controller-gen. +func (in *ConstantSampler) DeepCopy() *ConstantSampler { + if in == nil { + return nil + } + out := new(ConstantSampler) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ConstantSampler. Required by controller-gen. +func (in *ConstantSampler) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using PercentageSampler within kubernetes types, where deepcopy-gen is used. +func (in *PercentageSampler) DeepCopyInto(out *PercentageSampler) { + p := proto.Clone(in).(*PercentageSampler) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PercentageSampler. Required by controller-gen. +func (in *PercentageSampler) DeepCopy() *PercentageSampler { + if in == nil { + return nil + } + out := new(PercentageSampler) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new PercentageSampler. Required by controller-gen. +func (in *PercentageSampler) DeepCopyInterface() interface{} { + return in.DeepCopy() +} diff --git a/telemetry/v1alpha1/telemetry_json.gen.go b/telemetry/v1alpha1/telemetry_json.gen.go new file mode 100644 index 0000000000..f4c992fc60 --- /dev/null +++ b/telemetry/v1alpha1/telemetry_json.gen.go @@ -0,0 +1,155 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: telemetry/v1alpha1/telemetry.proto + +package v1alpha1 + +import ( + bytes "bytes" + fmt "fmt" + github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb" + proto "github.com/gogo/protobuf/proto" + _ "istio.io/api/type/v1beta1" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// MarshalJSON is a custom marshaler for Telemetry +func (this *Telemetry) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Telemetry +func (this *Telemetry) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for TracingRule +func (this *TracingRule) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for TracingRule +func (this *TracingRule) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for TelemetryRuleMatch +func (this *TelemetryRuleMatch) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for TelemetryRuleMatch +func (this *TelemetryRuleMatch) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Port +func (this *Port) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Port +func (this *Port) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for ProviderRef +func (this *ProviderRef) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for ProviderRef +func (this *ProviderRef) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing +func (this *Tracing) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing +func (this *Tracing) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_CustomTag +func (this *Tracing_CustomTag) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_CustomTag +func (this *Tracing_CustomTag) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_Literal +func (this *Tracing_Literal) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_Literal +func (this *Tracing_Literal) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_Environment +func (this *Tracing_Environment) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_Environment +func (this *Tracing_Environment) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_RequestHeader +func (this *Tracing_RequestHeader) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_RequestHeader +func (this *Tracing_RequestHeader) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for ConstantSampler +func (this *ConstantSampler) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for ConstantSampler +func (this *ConstantSampler) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for PercentageSampler +func (this *PercentageSampler) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for PercentageSampler +func (this *PercentageSampler) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +var ( + TelemetryMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{} + TelemetryUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{AllowUnknownFields: true} +) From cc43e38fd3b14a41e1ae4d48bfe0fcb8efef4d6f Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Mon, 23 Nov 2020 15:46:22 -0800 Subject: [PATCH 04/15] Remove TelemetryProviders and consolidate to just Tracing providers --- kubernetes/customresourcedefinitions.gen.yaml | 7 - mesh/v1alpha1/config.pb.go | 4573 ++++++++++++----- mesh/v1alpha1/config.proto | 143 + mesh/v1alpha1/istio.mesh.v1alpha1.gen.json | 145 + python/istio_api/mesh/v1alpha1/config_pb2.py | 415 +- .../telemetry/v1alpha1/telemetry_pb2.py | 90 +- telemetry/v1alpha1/telemetry.pb.go | 189 +- telemetry/v1alpha1/telemetry.pb.html | 54 +- telemetry/v1alpha1/telemetry.proto | 16 +- 9 files changed, 4065 insertions(+), 1567 deletions(-) diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index e13ea04652..d3a6f916cb 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5996,13 +5996,6 @@ spec: number: type: integer type: object - protocol: - description: Optional. - enum: - - ALL_PROTOCOLS - - HTTP - - TCP - type: string trafficDirection: description: Optional. enum: diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 91a33a4d9e..5a270f08d0 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -206,6 +206,92 @@ func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptor_b5c7ece76d5d5022, []int{0, 0, 0} } +// TraceContext selects the context propagation headers used for +// distributed tracing. +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext int32 + +const ( + // Unspecified context. Should not be used for now, but added to reserve + // the 0 enum value if TraceContext is used outside of a repeated field. + MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_UNSPECIFIED MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 0 + // Use W3C Trace Context propagation using the `traceparent` HTTP header. + // See the + // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. + MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_W3C_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 1 + // Use gRPC binary context propagation using the `grpc-trace-bin` http header. + MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_GRPC_BIN MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 2 + // Use Cloud Trace context propagation using the + // `X-Cloud-Trace-Context` http header. + MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_CLOUD_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 3 + // Use multi-header B3 context propagation using the `X-B3-TraceId`, + // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See + // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) + // for details. + MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_B3 MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 4 +) + +var MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "W3C_TRACE_CONTEXT", + 2: "GRPC_BIN", + 3: "CLOUD_TRACE_CONTEXT", + 4: "B3", +} + +var MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_value = map[string]int32{ + "UNSPECIFIED": 0, + "W3C_TRACE_CONTEXT": 1, + "GRPC_BIN": 2, + "CLOUD_TRACE_CONTEXT": 3, + "B3": 4, +} + +func (x MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext) String() string { + return proto.EnumName(MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name, int32(x)) +} + +func (MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 2, 0} +} + +// Available propagation modes for trace context +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode int32 + +const ( + // Propagate trace context in the single header x-ot-span-context. + MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_ENVOY MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 0 + // Propagate trace context using LightStep's native format. + MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_LIGHTSTEP MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 1 + // Propagate trace context using the b3 format. + MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_B3 MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 2 + // Propagation trace context using the w3 trace-context standard. + MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 3 +) + +var MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name = map[int32]string{ + 0: "ENVOY", + 1: "LIGHTSTEP", + 2: "B3", + 3: "TRACE_CONTEXT", +} + +var MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_value = map[string]int32{ + "ENVOY": 0, + "LIGHTSTEP": 1, + "B3": 2, + "TRACE_CONTEXT": 3, +} + +func (x MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode) String() string { + return proto.EnumName(MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name, int32(x)) +} + +func (MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 4, 0} +} + // MeshConfig defines mesh-wide settings for the Istio service mesh. type MeshConfig struct { // Port on which Envoy should listen for incoming connections from @@ -1529,37 +1615,43 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ge return "" } -// ConfigSource describes information about a configuration store inside a -// mesh. A single control plane instance can interact with one or more data -// sources. -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. +// EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to +// an OpenCensus agent backend. See +// [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) +// and +// [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) +// for details. +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider struct { + // REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or + // unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for + // details. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // 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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Specifies the set of context propagation headers used for + // distributed tracing. + // $hide_from_docs + Context []MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext `protobuf:"varint,2,rep,packed,name=context,proto3,enum=istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext" json:"context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ConfigSource) Reset() { *m = ConfigSource{} } -func (m *ConfigSource) String() string { return proto.CompactTextString(m) } -func (*ConfigSource) ProtoMessage() {} -func (*ConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{1} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Reset() { + *m = MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider{} } -func (m *ConfigSource) XXX_Unmarshal(b []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 2} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) + return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1569,82 +1661,114 @@ func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSource.Merge(m, src) +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.Merge(m, src) } -func (m *ConfigSource) XXX_Size() int { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Size() int { return m.Size() } -func (m *ConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigSource.DiscardUnknown(m) +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.DiscardUnknown(m) } -var xxx_messageInfo_ConfigSource proto.InternalMessageInfo +var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider proto.InternalMessageInfo -func (m *ConfigSource) GetAddress() string { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) GetAddress() string { if m != nil { return m.Address } return "" } -func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) GetContext() []MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext { if m != nil { - return m.TlsSettings + return m.Context } return nil } -func (m *ConfigSource) GetSubscribedResources() []Resource { +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider struct { + // REQUIRED. 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:"-"` +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Reset() { + *m = MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider{} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 3} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) GetAddress() string { if m != nil { - return m.SubscribedResources + return m.Address } - return nil + return "" } -// 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 -// } -// ``` -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:"-"` +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider struct { + // REQUIRED. Address of the Lightstep Satellite pool. + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // REQUIRED. The Lightstep access token. + AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"accessToken,omitempty"` + // Optional. Propagation modes to use by LightStep's tracer. + PropagationModes []MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode `protobuf:"varint,3,rep,packed,name=propagation_modes,json=propagationModes,proto3,enum=istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode" json:"propagationModes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Certificate) Reset() { *m = Certificate{} } -func (m *Certificate) String() string { return proto.CompactTextString(m) } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{2} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Reset() { + *m = MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider{} } -func (m *Certificate) XXX_Unmarshal(b []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 4} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1654,474 +1778,739 @@ func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Certificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate.Merge(m, src) +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.Merge(m, src) } -func (m *Certificate) XXX_Size() int { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Size() int { return m.Size() } -func (m *Certificate) XXX_DiscardUnknown() { - xxx_messageInfo_Certificate.DiscardUnknown(m) +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.DiscardUnknown(m) } -var xxx_messageInfo_Certificate proto.InternalMessageInfo +var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider proto.InternalMessageInfo -func (m *Certificate) GetSecretName() string { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetAddress() string { if m != nil { - return m.SecretName + return m.Address } return "" } -func (m *Certificate) GetDnsNames() []string { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetAccessToken() string { if m != nil { - return m.DnsNames + return m.AccessToken + } + return "" +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetPropagationModes() []MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode { + if m != nil { + return m.PropagationModes } return nil } -func init() { - proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) - proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") - proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") - proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") - proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") - proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") - proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") - proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") - proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") - proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") - proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") +// $hide_from_docs +type MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider struct { + // REQUIRED. Specifies the service that implements the Zipkin API. + // The format is "[/]". If the is omitted then it is resolved within the same + // namespace as this configuration resource. The is the name of the service object (k8s service or ServiceEntry). + // Example: "foo/zipkin" or "zipkin". + Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + // REQUIRED. Specifies the port of the Zipkin API service. + // Typically, this is 9411. + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Reset() { + *m = MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider{} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 5} +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.DiscardUnknown(m) +} -var fileDescriptor_b5c7ece76d5d5022 = []byte{ - // 2465 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x72, 0x1b, 0xc7, - 0xb9, 0x26, 0xc8, 0xb1, 0x34, 0x6c, 0x12, 0xc4, 0xb0, 0x49, 0x4a, 0x23, 0xc8, 0xa2, 0x28, 0xda, - 0x92, 0x68, 0x1d, 0x1f, 0xc0, 0xa4, 0x7c, 0x91, 0xed, 0xaa, 0x53, 0x87, 0x04, 0x20, 0x91, 0x30, - 0x44, 0xf0, 0x34, 0x41, 0xf9, 0xf6, 0xd0, 0xd5, 0x9c, 0x69, 0x00, 0x73, 0x38, 0x98, 0x9e, 0x74, - 0xf7, 0x50, 0xa4, 0xab, 0xb2, 0x82, 0x2c, 0x21, 0x6b, 0x48, 0x16, 0x90, 0x15, 0xa4, 0x2a, 0x2f, - 0x79, 0xc8, 0x02, 0x52, 0x7e, 0xc9, 0x12, 0xf2, 0x9a, 0xea, 0xcb, 0x00, 0x20, 0x89, 0x18, 0x76, - 0x2a, 0x95, 0x37, 0xcc, 0xd7, 0xff, 0xff, 0x75, 0xf7, 0xdf, 0xff, 0x15, 0xa0, 0x3c, 0xa0, 0xa2, - 0x5f, 0x3d, 0xdf, 0x26, 0x71, 0xda, 0x27, 0xdb, 0xd5, 0x80, 0x25, 0xdd, 0xa8, 0x57, 0x49, 0x39, - 0x93, 0x0c, 0xae, 0x44, 0x42, 0x46, 0xac, 0xa2, 0x24, 0x2a, 0xb9, 0x44, 0x79, 0xbd, 0xc7, 0x58, - 0x2f, 0xa6, 0x55, 0x2d, 0x72, 0x9a, 0x75, 0xab, 0x61, 0xc6, 0x89, 0x8c, 0x58, 0x62, 0x94, 0x6e, - 0xae, 0xbf, 0xe5, 0x24, 0x4d, 0x29, 0x17, 0x76, 0xfd,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xb8, 0xae, 0x5c, 0x07, - 0x8b, 0x57, 0x1c, 0xba, 0xaa, 0x1d, 0x7a, 0x72, 0xba, 0x19, 0x73, 0x59, 0x74, 0x45, 0x0b, 0xfe, - 0x1f, 0x28, 0xca, 0x3e, 0x8f, 0xba, 0xc3, 0xac, 0xb5, 0xad, 0x8d, 0xfb, 0xe1, 0x34, 0xb3, 0x74, - 0xb4, 0x92, 0xcd, 0x60, 0x8b, 0x72, 0xec, 0x0b, 0x7e, 0x07, 0xbc, 0xdc, 0x8f, 0xad, 0x5b, 0x08, - 0x7f, 0xe7, 0xe7, 0x45, 0x9b, 0x75, 0xec, 0xbc, 0x70, 0xa3, 0x92, 0xb8, 0x0a, 0x40, 0x04, 0xee, - 0xda, 0x1c, 0x93, 0x72, 0x36, 0xa0, 0xb2, 0x4f, 0x33, 0x81, 0x07, 0x94, 0xf7, 0xa8, 0xff, 0x7c, - 0x6a, 0xaa, 0x59, 0x33, 0xaa, 0x47, 0x43, 0xcd, 0xd7, 0x4a, 0x11, 0x7e, 0x0f, 0xde, 0x3d, 0xa7, - 0x3c, 0xea, 0x5e, 0x8e, 0x27, 0x08, 0x4c, 0x24, 0x0e, 0xe2, 0x88, 0x26, 0xd2, 0xff, 0x74, 0x2a, - 0xf1, 0x3d, 0xa3, 0x3f, 0x66, 0xe5, 0x5d, 0x59, 0xd3, 0xca, 0x70, 0x07, 0xcc, 0x06, 0xc4, 0xff, - 0x4c, 0x53, 0x6c, 0x4e, 0x4d, 0x36, 0xbb, 0x68, 0x36, 0x20, 0xf0, 0x14, 0xac, 0xd0, 0x0b, 0x49, - 0x13, 0xa1, 0x82, 0x38, 0xe5, 0xec, 0x3c, 0x0a, 0x29, 0x17, 0xfe, 0xe7, 0xda, 0x86, 0x53, 0x0b, - 0x66, 0x23, 0x57, 0x3d, 0xb2, 0x9a, 0x08, 0xd2, 0xeb, 0x90, 0x80, 0x21, 0x58, 0x09, 0x23, 0x11, - 0xb0, 0x73, 0xca, 0x2f, 0x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 0xac, 0x14, 0x5a, 0x19, 0xa9, 0xe6, 0x98, 0xd8, - 0xfc, 0x0a, 0x2c, 0x8c, 0xf5, 0x62, 0x2a, 0x17, 0x0b, 0x1a, 0x70, 0x6a, 0x87, 0x23, 0x73, 0x1f, - 0x60, 0x20, 0x3d, 0x0f, 0xdd, 0x07, 0xf3, 0x6a, 0x52, 0xd4, 0x73, 0xab, 0xed, 0x36, 0xdc, 0x30, - 0x11, 0x7a, 0x64, 0x7d, 0xb6, 0x01, 0xdc, 0x9c, 0x19, 0xae, 0x02, 0x2f, 0x6f, 0xfa, 0xf2, 0x56, - 0xd1, 0x9b, 0xd9, 0xdb, 0xfa, 0xe3, 0x8f, 0xeb, 0x85, 0x3f, 0xff, 0xb8, 0x5e, 0xf8, 0xeb, 0x8f, - 0xeb, 0x85, 0xef, 0xca, 0xe6, 0xbc, 0xe6, 0xff, 0xdb, 0xea, 0x95, 0x7f, 0x84, 0x4f, 0x6f, 0xe9, - 0xc2, 0xff, 0xfc, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x2a, 0x5a, 0x58, 0x9a, 0x16, 0x00, - 0x00, +var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) GetService() string { + if m != nil { + return m.Service + } + return "" } -func (m *MeshConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) GetPort() uint32 { + if m != nil { + return m.Port } - return dAtA[:n], nil + return 0 } -func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// $hide_from_docs +type MeshConfig_ExtensionProvider_StackdriverProvider 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 trace span. + // default is 200. + // $hide_from_docs + MaxTraceAttributes *types.Int64Value `protobuf:"bytes,2,opt,name=max_trace_attributes,json=maxTraceAttributes,proto3" json:"maxTraceAttributes,omitempty"` + // The global default max number of annotation events per trace span. + // default is 200. + // $hide_from_docs + MaxTraceAnnotations *types.Int64Value `protobuf:"bytes,3,opt,name=max_trace_annotations,json=maxTraceAnnotations,proto3" json:"maxTraceAnnotations,omitempty"` + // The global default max number of message events per trace span. + // default is 200. + // $hide_from_docs + MaxTraceMessageEvents *types.Int64Value `protobuf:"bytes,4,opt,name=max_trace_message_events,json=maxTraceMessageEvents,proto3" json:"maxTraceMessageEvents,omitempty"` + // Optional. Allows configuration of the size of the LogWrite request. The + // size is in bytes, so that it allows for better performance. Default is 4MB. + // The size of one log entry within LogWrite request is approx 1Kb. + // $hide_from_docs + MaxLogBatchSizeInBytes *types.Int32Value `protobuf:"bytes,5,opt,name=max_log_batch_size_in_bytes,json=maxLogBatchSizeInBytes,proto3" json:"maxLogBatchSizeInBytes,omitempty"` + // Optional. Allows configuration of the time between calls out to the + // Stackdriver logging service to report buffered LogWrite request. + // Customers can choose to report more aggressively by keeping shorter report + // interval if needed. Default is 10s. + // $hide_from_docs + LogReportDuration *types.Duration `protobuf:"bytes,6,opt,name=log_report_duration,json=logReportDuration,proto3" json:"logReportDuration,omitempty"` + // Optional. Allows enabling log compression for stackdriver access logs. + // $hide_from_docs + EnableLogCompression *types.BoolValue `protobuf:"bytes,7,opt,name=enable_log_compression,json=enableLogCompression,proto3" json:"enableLogCompression,omitempty"` + // Optional. Controls whether to export audit log. + // $hide_from_docs + EnableAuditLog bool `protobuf:"varint,8,opt,name=enable_audit_log,json=enableAuditLog,proto3" json:"enableAuditLog,omitempty"` + // Optional. Controls reporting via meshtelemetry.googleapis.com. + // $hide_from_docs + EnableMeshEdgesReporting bool `protobuf:"varint,9,opt,name=enable_mesh_edges_reporting,json=enableMeshEdgesReporting,proto3" json:"enableMeshEdgesReporting,omitempty"` + // Optional. Allows configuration of time between flush of accumulated + // edge data. + // $hide_from_docs + MeshEdgesReportingDuration *types.Duration `protobuf:"bytes,10,opt,name=mesh_edges_reporting_duration,json=meshEdgesReportingDuration,proto3" json:"meshEdgesReportingDuration,omitempty"` + // Optional. Configures max number of peer info in edge data caches. + // $hide_from_docs + MaxPeerCacheSize *types.Int32Value `protobuf:"bytes,11,opt,name=max_peer_cache_size,json=maxPeerCacheSize,proto3" json:"maxPeerCacheSize,omitempty"` + // Optional. Configures max number of edges per batch in requests. + // $hide_from_docs + MaxEdgesBatchSize *types.Int32Value `protobuf:"bytes,12,opt,name=max_edges_batch_size,json=maxEdgesBatchSize,proto3" json:"maxEdgesBatchSize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Reset() { + *m = MeshConfig_ExtensionProvider_StackdriverProvider{} +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_StackdriverProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_StackdriverProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 6} +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - if len(m.DiscoverySelectors) > 0 { - for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xda - } +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetDebug() bool { + if m != nil { + return m.Debug } - if len(m.CaCertificates) > 0 { - for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xd2 - } + return false +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceAttributes() *types.Int64Value { + if m != nil { + return m.MaxTraceAttributes } - if len(m.ExtensionProviders) > 0 { - for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xca - } + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceAnnotations() *types.Int64Value { + if m != nil { + return m.MaxTraceAnnotations } - if m.DisableEnvoyListenerLog { - i-- - if m.DisableEnvoyListenerLog { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xc0 + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceMessageEvents() *types.Int64Value { + if m != nil { + return m.MaxTraceMessageEvents } - if m.Ca != nil { - { - size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xba + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxLogBatchSizeInBytes() *types.Int32Value { + if m != nil { + return m.MaxLogBatchSizeInBytes } - if m.VerifyCertificateAtClient != nil { - { - size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xb2 + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetLogReportDuration() *types.Duration { + if m != nil { + return m.LogReportDuration } - if len(m.IngressSelector) > 0 { - i -= len(m.IngressSelector) - copy(dAtA[i:], m.IngressSelector) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xa2 + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableLogCompression() *types.BoolValue { + if m != nil { + return m.EnableLogCompression } - if m.EnablePrometheusMerge != nil { - { - size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x9a + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableAuditLog() bool { + if m != nil { + return m.EnableAuditLog } - if len(m.ServiceSettings) > 0 { - for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x92 - } + return false +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableMeshEdgesReporting() bool { + if m != nil { + return m.EnableMeshEdgesReporting } - if m.ThriftConfig != nil { - { - size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x8a + return false +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMeshEdgesReportingDuration() *types.Duration { + if m != nil { + return m.MeshEdgesReportingDuration } - if len(m.Certificates) > 0 { - for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xfa - } + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxPeerCacheSize() *types.Int32Value { + if m != nil { + return m.MaxPeerCacheSize } - if len(m.TrustDomainAliases) > 0 { - for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TrustDomainAliases[iNdEx]) - copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xf2 - } + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxEdgesBatchSize() *types.Int32Value { + if m != nil { + return m.MaxEdgesBatchSize } - if len(m.OutboundClusterStatName) > 0 { - i -= len(m.OutboundClusterStatName) - copy(dAtA[i:], m.OutboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xea + return nil +} + +// ConfigSource describes information about a configuration store inside a +// mesh. A single control plane instance can interact with one or more data +// sources. +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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigSource) Reset() { *m = ConfigSource{} } +func (m *ConfigSource) String() string { return proto.CompactTextString(m) } +func (*ConfigSource) ProtoMessage() {} +func (*ConfigSource) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{1} +} +func (m *ConfigSource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - if len(m.InboundClusterStatName) > 0 { - i -= len(m.InboundClusterStatName) - copy(dAtA[i:], m.InboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe2 +} +func (m *ConfigSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSource.Merge(m, src) +} +func (m *ConfigSource) XXX_Size() int { + return m.Size() +} +func (m *ConfigSource) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSource.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigSource proto.InternalMessageInfo + +func (m *ConfigSource) GetAddress() string { + if m != nil { + return m.Address } - if m.EnableAutoMtls != nil { - { - size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + return "" +} + +func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { + if m != nil { + return m.TlsSettings + } + return nil +} + +func (m *ConfigSource) GetSubscribedResources() []Resource { + if m != nil { + return m.SubscribedResources + } + return nil +} + +// 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 +// } +// ``` +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:"-"` +} + +func (m *Certificate) Reset() { *m = Certificate{} } +func (m *Certificate) String() string { return proto.CompactTextString(m) } +func (*Certificate) ProtoMessage() {} +func (*Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{2} +} +func (m *Certificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) +} +func (m *Certificate) XXX_Size() int { + return m.Size() +} +func (m *Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_Certificate proto.InternalMessageInfo + +func (m *Certificate) GetSecretName() string { + if m != nil { + return m.SecretName + } + return "" +} + +func (m *Certificate) GetDnsNames() []string { + if m != nil { + return m.DnsNames + } + return nil +} + +func init() { + proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext", MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name, MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode", MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name, MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_value) + proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") + proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") + proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") + proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") + proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") + proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") + proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") + proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_StackdriverProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider") + proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") + proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") +} + +func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } + +var fileDescriptor_b5c7ece76d5d5022 = []byte{ + // 3020 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5f, 0x73, 0x1b, 0xb7, + 0xb5, 0x37, 0x29, 0xda, 0x5a, 0x41, 0xff, 0x96, 0x90, 0x64, 0xaf, 0xe9, 0x58, 0x96, 0x95, 0xd8, + 0x56, 0x7c, 0x73, 0xa9, 0x58, 0x4a, 0x1c, 0x27, 0x99, 0x7b, 0xe7, 0x52, 0x24, 0x6d, 0x89, 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, 0x19, 0xa4, 0x94, 0xb2, 0x55, 0x2d, 0x10, 0xe5, 0xc9, 0x45, 0x11, 0xac, 0x80, 0x7b, + 0x76, 0x77, 0x34, 0x3e, 0x61, 0x67, 0x78, 0x6c, 0xbe, 0xf4, 0xc0, 0x36, 0xf4, 0x76, 0xef, 0x18, + 0xb5, 0xaa, 0xd2, 0x1a, 0x32, 0xa7, 0xa7, 0xf7, 0x39, 0x28, 0x04, 0xa1, 0x18, 0xa3, 0x31, 0xb7, + 0x8e, 0x72, 0x45, 0xe4, 0x3d, 0xd3, 0x04, 0xb7, 0xac, 0x86, 0x66, 0xa8, 0xdb, 0xf1, 0x3a, 0xeb, + 0xc2, 0x17, 0x60, 0x21, 0xa0, 0x1d, 0x32, 0x88, 0x24, 0x36, 0x31, 0xca, 0x5b, 0xd0, 0xae, 0xbb, + 0x76, 0xe5, 0x06, 0x9b, 0xea, 0x4a, 0x9a, 0x1d, 0xa2, 0x79, 0x8b, 0xb3, 0x77, 0xbe, 0x0f, 0x6e, + 0xb1, 0x81, 0x3c, 0x62, 0x83, 0x38, 0x50, 0x67, 0xd5, 0xe9, 0x84, 0x3e, 0x4e, 0x58, 0x14, 0xfa, + 0x67, 0x5e, 0x5e, 0x33, 0x4e, 0xf4, 0xa1, 0x86, 0x85, 0xb7, 0x0d, 0xba, 0xa9, 0xc1, 0x68, 0x85, + 0x5d, 0x25, 0x86, 0xbb, 0x60, 0xc1, 0xac, 0x17, 0x0b, 0x36, 0xe0, 0x3e, 0x15, 0xde, 0xcd, 0xb5, + 0xa9, 0x8d, 0xd9, 0xad, 0xfb, 0x57, 0xce, 0x62, 0x66, 0x68, 0x69, 0x4d, 0x34, 0xef, 0x8f, 0x7d, + 0x09, 0x58, 0x01, 0xae, 0x3d, 0x04, 0x32, 0x90, 0x0c, 0xf7, 0x65, 0x24, 0xbc, 0xff, 0xd2, 0x2b, + 0x2e, 0x5c, 0x0a, 0x05, 0x3b, 0x8c, 0x45, 0x2f, 0x49, 0x34,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c2, 0xdb, 0xfa, 0x7e, 0xb7, 0xcd, 0x3a, 0x76, + 0xfa, 0x70, 0xa3, 0x45, 0x71, 0x5e, 0x00, 0x11, 0xb8, 0x65, 0x63, 0x4c, 0xc2, 0x59, 0x9f, 0xca, + 0x1e, 0x1d, 0x08, 0xdc, 0xa7, 0xbc, 0x4b, 0xbd, 0xed, 0x89, 0xa1, 0x66, 0xc5, 0x40, 0x9b, 0x43, + 0xe4, 0xbe, 0x02, 0xc2, 0x6f, 0xc0, 0x3b, 0x27, 0x94, 0x87, 0x9d, 0xb3, 0xf1, 0x00, 0x81, 0x89, + 0xc4, 0x7e, 0x14, 0xd2, 0x58, 0x7a, 0x4f, 0x27, 0x12, 0xdf, 0x36, 0xf8, 0x31, 0x2b, 0x97, 0x64, + 0x59, 0x83, 0xe1, 0x16, 0xc8, 0xfa, 0xc4, 0xfb, 0x44, 0x53, 0xac, 0x4f, 0x0c, 0x36, 0x25, 0x94, + 0xf5, 0x09, 0x3c, 0x02, 0x4b, 0xf4, 0x54, 0xd2, 0x58, 0xa8, 0x4b, 0x9c, 0x70, 0x76, 0x12, 0x06, + 0x94, 0x0b, 0xef, 0x53, 0x6d, 0xc3, 0x89, 0x0f, 0x66, 0x35, 0x85, 0x36, 0x2d, 0x12, 0x41, 0x7a, + 0x51, 0x24, 0x60, 0x00, 0x96, 0x82, 0x50, 0xf8, 0xec, 0x84, 0xf2, 0xb3, 0x61, 0xf2, 0x20, 0xbc, + 0xcf, 0xf5, 0x1c, 0xdb, 0x45, 0x93, 0xbc, 0x16, 0xc7, 0x93, 0xd7, 0x62, 0x72, 0xdc, 0x55, 0x02, + 0x51, 0x54, 0xc9, 0x6b, 0xf1, 0xe4, 0x49, 0xb1, 0x4e, 0x8e, 0x68, 0x94, 0x66, 0x18, 0x08, 0x0e, + 0xf9, 0x52, 0x91, 0x28, 0xfc, 0x2e, 0x03, 0x56, 0xae, 0x7c, 0x8d, 0xe0, 0x01, 0xc8, 0xe9, 0xb4, + 0x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, 0x5e, 0x42, 0xda, 0x81, 0x70, 0xaf, 0xed, 0x6c, 0xfc, + 0xe9, 0xdb, 0xd5, 0xcc, 0x5f, 0xbe, 0x5d, 0xcd, 0xfc, 0xed, 0xdb, 0xd5, 0xcc, 0xd7, 0x05, 0xb3, + 0x5e, 0xf3, 0xb7, 0xe0, 0xe6, 0xb9, 0x3f, 0x1a, 0x8f, 0x6e, 0xe8, 0xf0, 0xb3, 0xfd, 0xcf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x6e, 0x8f, 0x56, 0xfa, 0xf1, 0x1c, 0x00, 0x00, +} + +func (m *MeshConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DiscoverySelectors) > 0 { + for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xda } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xda } - if m.ProtocolDetectionTimeout != nil { - { - size, err := m.ProtocolDetectionTimeout.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.CaCertificates) > 0 { + for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd2 } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xd2 } - if m.H2UpgradePolicy != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.H2UpgradePolicy)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc8 + if len(m.ExtensionProviders) > 0 { + for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xca + } } - if m.EnableEnvoyAccessLogService { + if m.DisableEnvoyListenerLog { i-- - if m.EnableEnvoyAccessLogService { + if m.DisableEnvoyListenerLog { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x2 + dAtA[i] = 0x3 i-- dAtA[i] = 0xc0 } - if m.DnsRefreshRate != nil { + if m.Ca != nil { { - size, err := m.DnsRefreshRate.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2129,13 +2518,186 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2 + dAtA[i] = 0x3 i-- - dAtA[i] = 0xa2 + dAtA[i] = 0xba } - if m.LocalityLbSetting != nil { + if m.VerifyCertificateAtClient != nil { { - size, err := m.LocalityLbSetting.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + if len(m.IngressSelector) > 0 { + i -= len(m.IngressSelector) + copy(dAtA[i:], m.IngressSelector) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa2 + } + if m.EnablePrometheusMerge != nil { + { + size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x9a + } + if len(m.ServiceSettings) > 0 { + for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x92 + } + } + if m.ThriftConfig != nil { + { + size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + } + if len(m.Certificates) > 0 { + for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } + } + if len(m.TrustDomainAliases) > 0 { + for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TrustDomainAliases[iNdEx]) + copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } + } + if len(m.OutboundClusterStatName) > 0 { + i -= len(m.OutboundClusterStatName) + copy(dAtA[i:], m.OutboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea + } + if len(m.InboundClusterStatName) > 0 { + i -= len(m.InboundClusterStatName) + copy(dAtA[i:], m.InboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + if m.EnableAutoMtls != nil { + { + size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + } + if m.ProtocolDetectionTimeout != nil { + { + size, err := m.ProtocolDetectionTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 + } + if m.H2UpgradePolicy != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.H2UpgradePolicy)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc8 + } + if m.EnableEnvoyAccessLogService { + i-- + if m.EnableEnvoyAccessLogService { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc0 + } + if m.DnsRefreshRate != nil { + { + size, err := m.DnsRefreshRate.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + if m.LocalityLbSetting != nil { + { + size, err := m.LocalityLbSetting.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2857,7 +3419,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ma return len(dAtA) - i, nil } -func (m *ConfigSource) Marshal() (dAtA []byte, err error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2867,12 +3429,12 @@ func (m *ConfigSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2881,10 +3443,10 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.SubscribedResources) > 0 { - dAtA20 := make([]byte, len(m.SubscribedResources)*10) + if len(m.Context) > 0 { + dAtA20 := make([]byte, len(m.Context)*10) var j19 int - for _, num := range m.SubscribedResources { + for _, num := range m.Context { for num >= 1<<7 { dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 @@ -2897,18 +3459,6 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], dAtA20[:j19]) i = encodeVarintConfig(dAtA, i, uint64(j19)) i-- - dAtA[i] = 0x1a - } - if m.TlsSettings != nil { - { - size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- dAtA[i] = 0x12 } if len(m.Address) > 0 { @@ -2921,7 +3471,7 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Certificate) Marshal() (dAtA []byte, err error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2931,12 +3481,12 @@ func (m *Certificate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2945,176 +3495,537 @@ func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.DnsNames) > 0 { - for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DnsNames[iNdEx]) - copy(dAtA[i:], m.DnsNames[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { - offset -= sovConfig(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *MeshConfig) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.ProxyListenPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyListenPort)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if m.ProxyHttpPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyHttpPort)) + if len(m.PropagationModes) > 0 { + dAtA22 := make([]byte, len(m.PropagationModes)*10) + var j21 int + for _, num := range m.PropagationModes { + for num >= 1<<7 { + dAtA22[j21] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j21++ + } + dAtA22[j21] = uint8(num) + j21++ + } + i -= j21 + copy(dAtA[i:], dAtA22[:j21]) + i = encodeVarintConfig(dAtA, i, uint64(j21)) + i-- + dAtA[i] = 0x1a } - if m.ConnectTimeout != nil { - l = m.ConnectTimeout.Size() - n += 1 + l + sovConfig(uint64(l)) + if len(m.AccessToken) > 0 { + i -= len(m.AccessToken) + copy(dAtA[i:], m.AccessToken) + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessToken))) + i-- + dAtA[i] = 0x12 } - l = len(m.IngressClass) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa } - l = len(m.IngressService) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.IngressControllerMode != 0 { - n += 1 + sovConfig(uint64(m.IngressControllerMode)) + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if m.EnableTracing { - n += 2 + if m.Port != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 } - l = len(m.AccessLogFile) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if len(m.Service) > 0 { + i -= len(m.Service) + copy(dAtA[i:], m.Service) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) + i-- + dAtA[i] = 0xa } - if m.DefaultConfig != nil { - l = m.DefaultConfig.Size() - n += 1 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.OutboundTrafficPolicy != nil { - l = m.OutboundTrafficPolicy.Size() - n += 2 + l + sovConfig(uint64(l)) + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.ConfigSources) > 0 { - for _, e := range m.ConfigSources { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.MaxEdgesBatchSize != nil { + { + size, err := m.MaxEdgesBatchSize.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x62 } - l = len(m.AccessLogFormat) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - l = len(m.TrustDomain) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - if m.AccessLogEncoding != 0 { - n += 2 + sovConfig(uint64(m.AccessLogEncoding)) - } - if m.TcpKeepalive != nil { - l = m.TcpKeepalive.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if len(m.DefaultServiceExportTo) > 0 { - for _, s := range m.DefaultServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if m.MaxPeerCacheSize != nil { + { + size, err := m.MaxPeerCacheSize.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x5a } - if len(m.DefaultVirtualServiceExportTo) > 0 { - for _, s := range m.DefaultVirtualServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if m.MeshEdgesReportingDuration != nil { + { + size, err := m.MeshEdgesReportingDuration.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x52 } - if len(m.DefaultDestinationRuleExportTo) > 0 { - for _, s := range m.DefaultDestinationRuleExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if m.EnableMeshEdgesReporting { + i-- + if m.EnableMeshEdgesReporting { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x48 } - l = len(m.RootNamespace) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - if m.LocalityLbSetting != nil { - l = m.LocalityLbSetting.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.DnsRefreshRate != nil { - l = m.DnsRefreshRate.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.EnableEnvoyAccessLogService { - n += 3 - } - if m.H2UpgradePolicy != 0 { - n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) - } - if m.ProtocolDetectionTimeout != nil { - l = m.ProtocolDetectionTimeout.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.EnableAuditLog { + i-- + if m.EnableAuditLog { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 } - if m.EnableAutoMtls != nil { - l = m.EnableAutoMtls.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.EnableLogCompression != nil { + { + size, err := m.EnableLogCompression.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a } - l = len(m.InboundClusterStatName) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + if m.LogReportDuration != nil { + { + size, err := m.LogReportDuration.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 } - l = len(m.OutboundClusterStatName) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + if m.MaxLogBatchSizeInBytes != nil { + { + size, err := m.MaxLogBatchSizeInBytes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if len(m.TrustDomainAliases) > 0 { - for _, s := range m.TrustDomainAliases { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if m.MaxTraceMessageEvents != nil { + { + size, err := m.MaxTraceMessageEvents.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x22 } - if len(m.Certificates) > 0 { - for _, e := range m.Certificates { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.MaxTraceAnnotations != nil { + { + size, err := m.MaxTraceAnnotations.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if m.ThriftConfig != nil { - l = m.ThriftConfig.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.MaxTraceAttributes != nil { + { + size, err := m.MaxTraceAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if len(m.ServiceSettings) > 0 { - for _, e := range m.ServiceSettings { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.Debug { + i-- + if m.Debug { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x8 } - if m.EnablePrometheusMerge != nil { - l = m.EnablePrometheusMerge.Size() - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *ConfigSource) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.SubscribedResources) > 0 { + dAtA33 := make([]byte, len(m.SubscribedResources)*10) + var j32 int + for _, num := range m.SubscribedResources { + for num >= 1<<7 { + dAtA33[j32] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j32++ + } + dAtA33[j32] = uint8(num) + j32++ + } + i -= j32 + copy(dAtA[i:], dAtA33[:j32]) + i = encodeVarintConfig(dAtA, i, uint64(j32)) + i-- + dAtA[i] = 0x1a + } + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Certificate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DnsNames) > 0 { + for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DnsNames[iNdEx]) + copy(dAtA[i:], m.DnsNames[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.SecretName) > 0 { + i -= len(m.SecretName) + copy(dAtA[i:], m.SecretName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { + offset -= sovConfig(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MeshConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ProxyListenPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyListenPort)) + } + if m.ProxyHttpPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyHttpPort)) + } + if m.ConnectTimeout != nil { + l = m.ConnectTimeout.Size() + n += 1 + l + sovConfig(uint64(l)) + } + l = len(m.IngressClass) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + l = len(m.IngressService) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.IngressControllerMode != 0 { + n += 1 + sovConfig(uint64(m.IngressControllerMode)) + } + if m.EnableTracing { + n += 2 + } + l = len(m.AccessLogFile) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.DefaultConfig != nil { + l = m.DefaultConfig.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.OutboundTrafficPolicy != nil { + l = m.OutboundTrafficPolicy.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.ConfigSources) > 0 { + for _, e := range m.ConfigSources { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + l = len(m.AccessLogFormat) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.TrustDomain) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if m.AccessLogEncoding != 0 { + n += 2 + sovConfig(uint64(m.AccessLogEncoding)) + } + if m.TcpKeepalive != nil { + l = m.TcpKeepalive.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.DefaultServiceExportTo) > 0 { + for _, s := range m.DefaultServiceExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.DefaultVirtualServiceExportTo) > 0 { + for _, s := range m.DefaultVirtualServiceExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.DefaultDestinationRuleExportTo) > 0 { + for _, s := range m.DefaultDestinationRuleExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + l = len(m.RootNamespace) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if m.LocalityLbSetting != nil { + l = m.LocalityLbSetting.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.DnsRefreshRate != nil { + l = m.DnsRefreshRate.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.EnableEnvoyAccessLogService { + n += 3 + } + if m.H2UpgradePolicy != 0 { + n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) + } + if m.ProtocolDetectionTimeout != nil { + l = m.ProtocolDetectionTimeout.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.EnableAutoMtls != nil { + l = m.EnableAutoMtls.Size() + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.InboundClusterStatName) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.OutboundClusterStatName) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.TrustDomainAliases) > 0 { + for _, s := range m.TrustDomainAliases { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.Certificates) > 0 { + for _, e := range m.Certificates { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if m.ThriftConfig != nil { + l = m.ThriftConfig.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.ServiceSettings) > 0 { + for _, e := range m.ServiceSettings { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if m.EnablePrometheusMerge != nil { + l = m.EnablePrometheusMerge.Size() + n += 2 + l + sovConfig(uint64(l)) } l = len(m.IngressSelector) if l > 0 { @@ -3406,7 +4317,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Si return n } -func (m *ConfigSource) Size() (n int) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Size() (n int) { if m == nil { return 0 } @@ -3416,13 +4327,9 @@ func (m *ConfigSource) Size() (n int) { if l > 0 { n += 1 + l + sovConfig(uint64(l)) } - if m.TlsSettings != nil { - l = m.TlsSettings.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if len(m.SubscribedResources) > 0 { + if len(m.Context) > 0 { l = 0 - for _, e := range m.SubscribedResources { + for _, e := range m.Context { l += sovConfig(uint64(e)) } n += 1 + sovConfig(uint64(l)) + l @@ -3433,19 +4340,165 @@ func (m *ConfigSource) Size() (n int) { return n } -func (m *Certificate) Size() (n int) { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.SecretName) + l = len(m.Address) if l > 0 { n += 1 + l + sovConfig(uint64(l)) } - if len(m.DnsNames) > 0 { - for _, s := range m.DnsNames { - l = len(s) + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + l = len(m.AccessToken) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.PropagationModes) > 0 { + l = 0 + for _, e := range m.PropagationModes { + l += sovConfig(uint64(e)) + } + n += 1 + sovConfig(uint64(l)) + l + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Service) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.Port != 0 { + n += 1 + sovConfig(uint64(m.Port)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Debug { + n += 2 + } + if m.MaxTraceAttributes != nil { + l = m.MaxTraceAttributes.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxTraceAnnotations != nil { + l = m.MaxTraceAnnotations.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxTraceMessageEvents != nil { + l = m.MaxTraceMessageEvents.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxLogBatchSizeInBytes != nil { + l = m.MaxLogBatchSizeInBytes.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.LogReportDuration != nil { + l = m.LogReportDuration.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.EnableLogCompression != nil { + l = m.EnableLogCompression.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.EnableAuditLog { + n += 2 + } + if m.EnableMeshEdgesReporting { + n += 2 + } + if m.MeshEdgesReportingDuration != nil { + l = m.MeshEdgesReportingDuration.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxPeerCacheSize != nil { + l = m.MaxPeerCacheSize.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxEdgesBatchSize != nil { + l = m.MaxEdgesBatchSize.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ConfigSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.SubscribedResources) > 0 { + l = 0 + for _, e := range m.SubscribedResources { + l += sovConfig(uint64(e)) + } + n += 1 + sovConfig(uint64(l)) + l + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Certificate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecretName) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.DnsNames) > 0 { + for _, s := range m.DnsNames { + l = len(s) n += 1 + l + sovConfig(uint64(l)) } } @@ -3471,30 +4524,377 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if shift >= 64 { return ErrIntOverflowConfig } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MeshConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MeshConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) + } + m.ProxyListenPort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProxyListenPort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) + } + m.ProxyHttpPort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProxyHttpPort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ConnectTimeout == nil { + m.ConnectTimeout = &types.Duration{} + } + if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IngressClass = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IngressService = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) + } + m.IngressControllerMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableTracing = bool(v != 0) + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessLogFile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DefaultConfig == nil { + m.DefaultConfig = &ProxyConfig{} + } + if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutboundTrafficPolicy == nil { + m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} + } + if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) + if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MeshConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MeshConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) + if postIndex > l { + return io.ErrUnexpectedEOF } - m.ProxyListenPort = 0 + m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3504,16 +4904,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProxyListenPort |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 5: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TrustDomain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 27: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) } - m.ProxyHttpPort = 0 + m.AccessLogEncoding = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3523,14 +4936,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProxyHttpPort |= int32(b&0x7F) << shift + m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift if b < 0x80 { break } } - case 6: + case 28: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3557,16 +4970,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ConnectTimeout == nil { - m.ConnectTimeout = &types.Duration{} + if m.TcpKeepalive == nil { + m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} } - if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: + case 31: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3594,11 +5007,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressClass = string(dAtA[iNdEx:postIndex]) + m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 8: + case 32: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3626,13 +5039,13 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressService = string(dAtA[iNdEx:postIndex]) + m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) + case 33: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) } - m.IngressControllerMode = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3642,16 +5055,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - var v int + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3661,17 +5087,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.EnableTracing = bool(v != 0) - case 13: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RootNamespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 35: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3681,27 +5119,31 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.AccessLogFile = string(dAtA[iNdEx:postIndex]) + if m.LocalityLbSetting == nil { + m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} + } + if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 14: + case 36: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3728,16 +5170,55 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DefaultConfig == nil { - m.DefaultConfig = &ProxyConfig{} + if m.DnsRefreshRate == nil { + m.DnsRefreshRate = &types.Duration{} } - if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 17: + case 40: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableEnvoyAccessLogService = bool(v != 0) + case 41: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) + } + m.H2UpgradePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 42: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3764,16 +5245,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.OutboundTrafficPolicy == nil { - m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} + if m.ProtocolDetectionTimeout == nil { + m.ProtocolDetectionTimeout = &types.Duration{} } - if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 22: + case 43: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3800,14 +5281,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) - if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.EnableAutoMtls == nil { + m.EnableAutoMtls = &types.BoolValue{} + } + if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 24: + case 44: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3835,11 +5318,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) + m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 26: + case 45: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3867,13 +5350,13 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TrustDomain = string(dAtA[iNdEx:postIndex]) + m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 27: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) + case 46: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) } - m.AccessLogEncoding = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3883,14 +5366,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 28: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 47: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3917,18 +5413,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TcpKeepalive == nil { - m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} - } - if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Certificates = append(m.Certificates, &Certificate{}) + if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 31: + case 49: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3938,29 +5432,33 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) + if m.ThriftConfig == nil { + m.ThriftConfig = &MeshConfig_ThriftConfig{} + } + if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 32: + case 50: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3970,29 +5468,31 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) + m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) + if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 33: + case 51: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4002,27 +5502,31 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) + if m.EnablePrometheusMerge == nil { + m.EnablePrometheusMerge = &types.BoolValue{} + } + if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 34: + case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4050,11 +5554,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RootNamespace = string(dAtA[iNdEx:postIndex]) + m.IngressSelector = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 35: + case 54: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4081,16 +5585,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.LocalityLbSetting == nil { - m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} + if m.VerifyCertificateAtClient == nil { + m.VerifyCertificateAtClient = &types.BoolValue{} } - if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 36: + case 55: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4117,16 +5621,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DnsRefreshRate == nil { - m.DnsRefreshRate = &types.Duration{} + if m.Ca == nil { + m.Ca = &MeshConfig_CA{} } - if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 40: + case 56: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -4143,12 +5647,12 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { break } } - m.EnableEnvoyAccessLogService = bool(v != 0) - case 41: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) + m.DisableEnvoyListenerLog = bool(v != 0) + case 57: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) } - m.H2UpgradePolicy = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4158,14 +5662,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 42: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) + if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 58: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4192,16 +5711,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ProtocolDetectionTimeout == nil { - m.ProtocolDetectionTimeout = &types.Duration{} - } - if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) + if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 43: + case 59: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4228,16 +5745,135 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.EnableAutoMtls == nil { - m.EnableAutoMtls = &types.BoolValue{} + m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) + if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + } + m.Mode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 44: + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4265,11 +5901,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) + m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 45: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4297,11 +5933,62 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) + m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 46: + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4329,11 +6016,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) + m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 47: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4360,14 +6047,67 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Certificates = append(m.Certificates, &Certificate{}) - if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.RateLimitTimeout == nil { + m.RateLimitTimeout = &types.Duration{} + } + if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 49: + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4394,18 +6134,18 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ThriftConfig == nil { - m.ThriftConfig = &MeshConfig_ThriftConfig{} + if m.Settings == nil { + m.Settings = &MeshConfig_ServiceSettings_Settings{} } - if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 50: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4415,31 +6155,80 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) - if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 51: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig } - var msglen int + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Settings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) + } + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4449,31 +6238,66 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig + m.ClusterLocal = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.EnablePrometheusMerge == nil { - m.EnablePrometheusMerge = &types.BoolValue{} - } - if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 52: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CA: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4501,11 +6325,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressSelector = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 54: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4532,16 +6356,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.VerifyCertificateAtClient == nil { - m.VerifyCertificateAtClient = &types.BoolValue{} + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} } - if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 55: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4568,16 +6392,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Ca == nil { - m.Ca = &MeshConfig_CA{} + if m.RequestTimeout == nil { + m.RequestTimeout = &types.Duration{} } - if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 56: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -4594,12 +6418,63 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { break } } - m.DisableEnvoyListenerLog = bool(v != 0) - case 57: + m.IstiodSide = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4609,29 +6484,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) - if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 58: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4658,14 +6531,15 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) - if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} iNdEx = postIndex - case 59: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4692,10 +6566,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) - if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} iNdEx = postIndex default: iNdEx = preIndex @@ -4719,7 +6594,7 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4742,17 +6617,120 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Service = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PathPrefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.FailOpen = bool(v != 0) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) } - m.Mode = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4762,65 +6740,59 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthConfig } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + m.StatusOnError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4848,11 +6820,11 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} + m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 2: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4880,7 +6852,7 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} + m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -4904,7 +6876,7 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4927,15 +6899,15 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4963,13 +6935,52 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) + m.Service = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.FailOpen = bool(v != 0) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4979,27 +6990,23 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateLimitTimeout == nil { - m.RateLimitTimeout = &types.Duration{} - } - if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.StatusOnError = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5023,7 +7030,7 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5046,17 +7053,17 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyTracingOpenCensusProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyTracingOpenCensusProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5066,60 +7073,93 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Settings == nil { - m.Settings = &MeshConfig_ServiceSettings_Settings{} - } - if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + if wireType == 0 { + var v MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + m.Context = append(m.Context, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + if elementCount != 0 && len(m.Context) == 0 { + m.Context = make([]MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext, 0, elementCount) } + for iNdEx < postIndex { + var v MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Context = append(m.Context, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5142,7 +7182,7 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5165,17 +7205,17 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Settings: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyTracingDatadogProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyTracingDatadogProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5185,12 +7225,24 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.ClusterLocal = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5213,7 +7265,7 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5236,10 +7288,10 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CA: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyTracingLightStepProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyTracingLightStepProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5276,9 +7328,9 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5288,84 +7340,93 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TlsSettings == nil { - m.TlsSettings = &v1alpha3.ClientTLSSettings{} - } - if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AccessToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + if wireType == 0 { + var v MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.PropagationModes = append(m.PropagationModes, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break + if packedLen < 0 { + return ErrInvalidLengthConfig } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestTimeout == nil { - m.RequestTimeout = &types.Duration{} - } - if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthConfig } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + if elementCount != 0 && len(m.PropagationModes) == 0 { + m.PropagationModes = make([]MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode, 0, elementCount) + } + for iNdEx < postIndex { + var v MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PropagationModes = append(m.PropagationModes, v) } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PropagationModes", wireType) } - m.IstiodSide = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5388,7 +7449,7 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5411,15 +7472,15 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyTracingZipkinAPIProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyTracingZipkinAPIProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5447,48 +7508,13 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Service = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) } - var msglen int + m.Port = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5498,27 +7524,11 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Port |= uint32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5541,7 +7551,7 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5564,49 +7574,17 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") + return fmt.Errorf("proto: StackdriverProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StackdriverProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Service = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType) } - m.Port = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5616,16 +7594,17 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: + m.Debug = bool(v != 0) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceAttributes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5635,29 +7614,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.PathPrefix = string(dAtA[iNdEx:postIndex]) + if m.MaxTraceAttributes == nil { + m.MaxTraceAttributes = &types.Int64Value{} + } + if err := m.MaxTraceAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceAnnotations", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5667,17 +7650,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.FailOpen = bool(v != 0) - case 5: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MaxTraceAnnotations == nil { + m.MaxTraceAnnotations = &types.Int64Value{} + } + if err := m.MaxTraceAnnotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceMessageEvents", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5687,29 +7686,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) + if m.MaxTraceMessageEvents == nil { + m.MaxTraceMessageEvents = &types.Int64Value{} + } + if err := m.MaxTraceMessageEvents.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 6: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxLogBatchSizeInBytes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5719,29 +7722,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) + if m.MaxLogBatchSizeInBytes == nil { + m.MaxLogBatchSizeInBytes = &types.Int32Value{} + } + if err := m.MaxLogBatchSizeInBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 7: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LogReportDuration", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5751,29 +7758,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) + if m.LogReportDuration == nil { + m.LogReportDuration = &types.Duration{} + } + if err := m.LogReportDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 8: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableLogCompression", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5783,80 +7794,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.EnableLogCompression == nil { + m.EnableLogCompression = &types.BoolValue{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.EnableLogCompression.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableAuditLog", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5866,29 +7830,37 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig + m.EnableAuditLog = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableMeshEdgesReporting", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - m.Service = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + m.EnableMeshEdgesReporting = bool(v != 0) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MeshEdgesReportingDuration", wireType) } - m.Port = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5898,16 +7870,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + if msglen < 0 { + return ErrInvalidLengthConfig } - var v int + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MeshEdgesReportingDuration == nil { + m.MeshEdgesReportingDuration = &types.Duration{} + } + if err := m.MeshEdgesReportingDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxPeerCacheSize", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5917,17 +7906,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.FailOpen = bool(v != 0) - case 4: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MaxPeerCacheSize == nil { + m.MaxPeerCacheSize = &types.Int32Value{} + } + if err := m.MaxPeerCacheSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxEdgesBatchSize", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5937,23 +7942,27 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) + if m.MaxEdgesBatchSize == nil { + m.MaxEdgesBatchSize = &types.Int32Value{} + } + if err := m.MaxEdgesBatchSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 4096253598..27614f551a 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -544,6 +544,149 @@ message MeshConfig { // The default status is "403" (HTTP Forbidden). string status_on_error = 4; } + + // EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to + // an OpenCensus agent backend. See + // [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) + // and + // [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) + // for details. + // $hide_from_docs + message EnvoyTracingOpenCensusProvider { + // REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or + // unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for + // details. + string address = 1; + + // TraceContext selects the context propagation headers used for + // distributed tracing. + // $hide_from_docs + enum TraceContext { + // Unspecified context. Should not be used for now, but added to reserve + // the 0 enum value if TraceContext is used outside of a repeated field. + UNSPECIFIED = 0; + // Use W3C Trace Context propagation using the `traceparent` HTTP header. + // See the + // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. + W3C_TRACE_CONTEXT = 1; + // Use gRPC binary context propagation using the `grpc-trace-bin` http header. + GRPC_BIN = 2; + // Use Cloud Trace context propagation using the + // `X-Cloud-Trace-Context` http header. + CLOUD_TRACE_CONTEXT = 3; + // Use multi-header B3 context propagation using the `X-B3-TraceId`, + // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See + // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) + // for details. + B3 = 4; + } + + // Specifies the set of context propagation headers used for + // distributed tracing. + // $hide_from_docs + repeated TraceContext context = 2; + } + + // $hide_from_docs + message EnvoyTracingDatadogProvider { + // REQUIRED. Address of the Datadog Agent. + string address = 1; + } + + // $hide_from_docs + message EnvoyTracingLightStepProvider { + // REQUIRED. Address of the Lightstep Satellite pool. + string address = 1; + + // REQUIRED. The Lightstep access token. + string access_token = 2; + + // Available propagation modes for trace context + // $hide_from_docs + enum PropagationMode { + // Propagate trace context in the single header x-ot-span-context. + ENVOY = 0; + // Propagate trace context using LightStep's native format. + LIGHTSTEP = 1; + // Propagate trace context using the b3 format. + B3 = 2; + // Propagation trace context using the w3 trace-context standard. + TRACE_CONTEXT = 3; + } + + // Optional. Propagation modes to use by LightStep's tracer. + repeated PropagationMode propagation_modes = 3; + } + + // $hide_from_docs + message EnvoyTracingZipkinAPIProvider { + // REQUIRED. Specifies the service that implements the Zipkin API. + // The format is "[/]". If the is omitted then it is resolved within the same + // namespace as this configuration resource. The is the name of the service object (k8s service or ServiceEntry). + // Example: "foo/zipkin" or "zipkin". + string service = 1; + + // REQUIRED. Specifies the port of the Zipkin API service. + // Typically, this is 9411. + uint32 port = 2; + } + + // $hide_from_docs + message StackdriverProvider{ + // debug enables trace output to stdout. + // $hide_from_docs + bool debug = 1; + // The global default max number of attributes per trace span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_trace_attributes = 2; + // The global default max number of annotation events per trace span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_trace_annotations = 3; + // The global default max number of message events per trace span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_trace_message_events = 4; + + // Optional. Allows configuration of the size of the LogWrite request. The + // size is in bytes, so that it allows for better performance. Default is 4MB. + // The size of one log entry within LogWrite request is approx 1Kb. + // $hide_from_docs + google.protobuf.Int32Value max_log_batch_size_in_bytes = 5; + + // Optional. Allows configuration of the time between calls out to the + // Stackdriver logging service to report buffered LogWrite request. + // Customers can choose to report more aggressively by keeping shorter report + // interval if needed. Default is 10s. + // $hide_from_docs + google.protobuf.Duration log_report_duration = 6; + + // Optional. Allows enabling log compression for stackdriver access logs. + // $hide_from_docs + google.protobuf.BoolValue enable_log_compression = 7; + + // Optional. Controls whether to export audit log. + // $hide_from_docs + bool enable_audit_log = 8; + + // Optional. Controls reporting via meshtelemetry.googleapis.com. + // $hide_from_docs + bool enable_mesh_edges_reporting = 9; + + // Optional. Allows configuration of time between flush of accumulated + // edge data. + // $hide_from_docs + google.protobuf.Duration mesh_edges_reporting_duration = 10; + + // Optional. Configures max number of peer info in edge data caches. + // $hide_from_docs + google.protobuf.Int32Value max_peer_cache_size = 11; + + // Optional. Configures max number of edges per batch in requests. + // $hide_from_docs + google.protobuf.Int32Value max_edges_batch_size = 12; + } } // Defines a list of extension providers that extend Istio's functionality. For example, the AuthorizationPolicy diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json index 5e6c04d598..0a154a36ad 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json @@ -702,6 +702,151 @@ } } }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider": { + "description": "EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to an OpenCensus agent backend. See [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) and [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) for details. $hide_from_docs", + "type": "object", + "properties": { + "context": { + "description": "Specifies the set of context propagation headers used for distributed tracing. $hide_from_docs", + "type": "array", + "items": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext" + } + }, + "address": { + "description": "REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for details.", + "type": "string", + "format": "string" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext": { + "description": "TraceContext selects the context propagation headers used for distributed tracing. $hide_from_docs", + "type": "string", + "enum": [ + "UNSPECIFIED", + "W3C_TRACE_CONTEXT", + "GRPC_BIN", + "CLOUD_TRACE_CONTEXT", + "B3" + ] + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider": { + "type": "object", + "properties": { + "address": { + "description": "REQUIRED. Address of the Datadog Agent.", + "type": "string", + "format": "string" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider": { + "type": "object", + "properties": { + "address": { + "description": "REQUIRED. Address of the Lightstep Satellite pool.", + "type": "string", + "format": "string" + }, + "accessToken": { + "description": "REQUIRED. The Lightstep access token.", + "type": "string", + "format": "string" + }, + "propagationModes": { + "description": "Optional. Propagation modes to use by LightStep's tracer.", + "type": "array", + "items": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode" + } + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode": { + "description": "Available propagation modes for trace context $hide_from_docs", + "type": "string", + "enum": [ + "ENVOY", + "LIGHTSTEP", + "B3", + "TRACE_CONTEXT" + ] + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider": { + "type": "object", + "properties": { + "port": { + "description": "REQUIRED. Specifies the port of the Zipkin API service. Typically, this is 9411.", + "type": "integer" + }, + "service": { + "description": "REQUIRED. Specifies the service that implements the Zipkin API. The format is \"[\u003cNamespace\u003e/]\u003cService\u003e\". If the \u003cNamespace\u003e is omitted then it is resolved within the same namespace as this configuration resource. The \u003cService\u003e is the name of the service object (k8s service or ServiceEntry). Example: \"foo/zipkin\" or \"zipkin\".", + "type": "string", + "format": "string" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider": { + "type": "object", + "properties": { + "debug": { + "description": "debug enables trace output to stdout. $hide_from_docs", + "type": "boolean" + }, + "maxTraceAttributes": { + "description": "The global default max number of attributes per trace span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxTraceAnnotations": { + "description": "The global default max number of annotation events per trace span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxTraceMessageEvents": { + "description": "The global default max number of message events per trace span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxLogBatchSizeInBytes": { + "description": "Optional. Allows configuration of the size of the LogWrite request. The size is in bytes, so that it allows for better performance. Default is 4MB. The size of one log entry within LogWrite request is approx 1Kb. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "logReportDuration": { + "description": "Optional. Allows configuration of the time between calls out to the Stackdriver logging service to report buffered LogWrite request. Customers can choose to report more aggressively by keeping shorter report interval if needed. Default is 10s. $hide_from_docs", + "type": "string" + }, + "enableLogCompression": { + "description": "Optional. Allows enabling log compression for stackdriver access logs. $hide_from_docs", + "type": "boolean", + "nullable": true + }, + "enableAuditLog": { + "description": "Optional. Controls whether to export audit log. $hide_from_docs", + "type": "boolean" + }, + "enableMeshEdgesReporting": { + "description": "Optional. Controls reporting via meshtelemetry.googleapis.com. $hide_from_docs", + "type": "boolean" + }, + "meshEdgesReportingDuration": { + "description": "Optional. Allows configuration of time between flush of accumulated edge data. $hide_from_docs", + "type": "string" + }, + "maxPeerCacheSize": { + "description": "Optional. Configures max number of peer info in edge data caches. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxEdgesBatchSize": { + "description": "Optional. Configures max number of edges per batch in requests. $hide_from_docs", + "type": "integer", + "nullable": true + } + } + }, "istio.mesh.v1alpha1.Resource": { "description": "Resource describes the source of configuration", "type": "string", diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index f2f855ef43..6719075d94 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -26,7 +26,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xba(\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xe7\x06\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnErrorB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\x91\x35\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xbe\x13\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnError\x1a\x9a\x02\n\x1e\x45nvoyTracingOpenCensusProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12w\n\x07\x63ontext\x18\x02 \x03(\x0e\x32].istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\x37\n\x1b\x45nvoyTracingDatadogProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xb3\x02\n\x1d\x45nvoyTracingLightStepProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12\x8c\x01\n\x11propagation_modes\x18\x03 \x03(\x0e\x32_.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationModeR\x10propagationModes\"F\n\x0fPropagationMode\x12\t\n\x05\x45NVOY\x10\x00\x12\r\n\tLIGHTSTEP\x10\x01\x12\x06\n\x02\x42\x33\x10\x02\x12\x11\n\rTRACE_CONTEXT\x10\x03\x1aM\n\x1d\x45nvoyTracingZipkinAPIProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x1a\xf9\x06\n\x13StackdriverProvider\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12M\n\x14max_trace_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x12maxTraceAttributes\x12O\n\x15max_trace_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x13maxTraceAnnotations\x12T\n\x18max_trace_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxTraceMessageEvents\x12X\n\x1bmax_log_batch_size_in_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x16maxLogBatchSizeInBytes\x12I\n\x13log_report_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11logReportDuration\x12P\n\x16\x65nable_log_compression\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x14\x65nableLogCompression\x12(\n\x10\x65nable_audit_log\x18\x08 \x01(\x08R\x0e\x65nableAuditLog\x12=\n\x1b\x65nable_mesh_edges_reporting\x18\t \x01(\x08R\x18\x65nableMeshEdgesReporting\x12\\\n\x1dmesh_edges_reporting_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationR\x1ameshEdgesReportingDuration\x12J\n\x13max_peer_cache_size\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x10maxPeerCacheSize\x12L\n\x14max_edges_batch_size\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x11maxEdgesBatchSizeB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,k8s_dot_io_dot_apimachinery_dot_pkg_dot_apis_dot_meta_dot_v1_dot_generated__pb2.DESCRIPTOR,]) @@ -43,8 +43,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=5704, - serialized_end=5736, + serialized_start=7327, + serialized_end=7359, ) _sym_db.RegisterEnumDescriptor(_RESOURCE) @@ -74,6 +74,70 @@ ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT = _descriptor.EnumDescriptor( + name='TraceContext', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='W3C_TRACE_CONTEXT', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GRPC_BIN', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLOUD_TRACE_CONTEXT', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='B3', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=4851, + serialized_end=4952, +) +_sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT) + +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE = _descriptor.EnumDescriptor( + name='PropagationMode', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='ENVOY', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LIGHTSTEP', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='B3', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TRACE_CONTEXT', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=5249, + serialized_end=5319, +) +_sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE) + _MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor( name='IngressControllerMode', full_name='istio.mesh.v1alpha1.MeshConfig.IngressControllerMode', @@ -99,8 +163,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4681, - serialized_end=4755, + serialized_start=6304, + serialized_end=6378, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -121,8 +185,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4757, - serialized_end=4795, + serialized_start=6380, + serialized_end=6418, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -143,8 +207,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4797, - serialized_end=4836, + serialized_start=6420, + serialized_end=6459, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -165,8 +229,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4838, - serialized_end=4888, + serialized_start=6461, + serialized_end=6511, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_H2UPGRADEPOLICY) @@ -527,6 +591,263 @@ serialized_end=4667, ) +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER = _descriptor.Descriptor( + name='EnvoyTracingOpenCensusProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='context', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.context', index=1, + number=2, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='context', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4670, + serialized_end=4952, +) + +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER = _descriptor.Descriptor( + name='EnvoyTracingDatadogProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4954, + serialized_end=5009, +) + +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER = _descriptor.Descriptor( + name='EnvoyTracingLightStepProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='access_token', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.access_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='accessToken', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='propagation_modes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.propagation_modes', index=2, + number=3, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='propagationModes', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5012, + serialized_end=5319, +) + +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER = _descriptor.Descriptor( + name='EnvoyTracingZipkinAPIProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='service', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider.service', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='service', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='port', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider.port', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='port', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5321, + serialized_end=5398, +) + +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER = _descriptor.Descriptor( + name='StackdriverProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='debug', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.debug', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='debug', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_trace_attributes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_attributes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTraceAttributes', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_trace_annotations', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_annotations', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTraceAnnotations', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_trace_message_events', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_message_events', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTraceMessageEvents', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_log_batch_size_in_bytes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_log_batch_size_in_bytes', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxLogBatchSizeInBytes', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='log_report_duration', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.log_report_duration', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='logReportDuration', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='enable_log_compression', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_log_compression', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='enableLogCompression', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='enable_audit_log', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_audit_log', index=7, + number=8, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='enableAuditLog', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='enable_mesh_edges_reporting', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_mesh_edges_reporting', index=8, + number=9, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='enableMeshEdgesReporting', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mesh_edges_reporting_duration', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.mesh_edges_reporting_duration', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='meshEdgesReportingDuration', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_peer_cache_size', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_peer_cache_size', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxPeerCacheSize', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_edges_batch_size', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_edges_batch_size', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxEdgesBatchSize', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5401, + serialized_end=6290, +) + _MESHCONFIG_EXTENSIONPROVIDER = _descriptor.Descriptor( name='ExtensionProvider', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider', @@ -558,7 +879,7 @@ ], extensions=[ ], - nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, ], + nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, ], enum_types=[ ], serialized_options=None, @@ -571,7 +892,7 @@ index=0, containing_type=None, fields=[]), ], serialized_start=3808, - serialized_end=4679, + serialized_end=6302, ) _MESHCONFIG = _descriptor.Descriptor( @@ -871,7 +1192,7 @@ oneofs=[ ], serialized_start=241, - serialized_end=5419, + serialized_end=7042, ) @@ -915,8 +1236,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5422, - serialized_end=5625, + serialized_start=7045, + serialized_end=7248, ) @@ -953,8 +1274,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5627, - serialized_end=5702, + serialized_start=7250, + serialized_end=7325, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -977,6 +1298,24 @@ _MESHCONFIG_CA.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER.fields_by_name['context'].enum_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT.containing_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER.fields_by_name['propagation_modes'].enum_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE.containing_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_attributes'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_annotations'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_message_events'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_log_batch_size_in_bytes'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['log_report_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['enable_log_compression'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['mesh_edges_reporting_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_peer_cache_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_edges_batch_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.containing_type = _MESHCONFIG @@ -1078,6 +1417,41 @@ # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) }) , + + 'EnvoyTracingOpenCensusProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingOpenCensusProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider) + }) + , + + 'EnvoyTracingDatadogProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingDatadogProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider) + }) + , + + 'EnvoyTracingLightStepProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingLightStepProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider) + }) + , + + 'EnvoyTracingZipkinAPIProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingZipkinAPIProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider) + }) + , + + 'StackdriverProvider' : _reflection.GeneratedProtocolMessageType('StackdriverProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider) + }) + , 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER, '__module__' : 'mesh.v1alpha1.config_pb2' # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider) @@ -1097,6 +1471,11 @@ _sym_db.RegisterMessage(MeshConfig.ExtensionProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.StackdriverProvider) ConfigSource = _reflection.GeneratedProtocolMessageType('ConfigSource', (_message.Message,), { 'DESCRIPTOR' : _CONFIGSOURCE, diff --git a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py index c622ebbb04..25f47b65e3 100644 --- a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py +++ b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py @@ -21,7 +21,7 @@ package='istio.telemetry.v1alpha1', syntax='proto3', serialized_options=_b('Z\037istio.io/api/telemetry/v1alpha1'), - serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x9f\x01\n\tTelemetry\x12Q\n\x11workload_selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x10workloadSelector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xfc\x02\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12Q\n\x08protocol\x18\x02 \x01(\x0e\x32\x35.istio.telemetry.v1alpha1.TelemetryRuleMatch.ProtocolR\x08protocol\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"0\n\x08Protocol\x12\x11\n\rALL_PROTOCOLS\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\x07\n\x03TCP\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"!\n\x0bProviderRef\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\xfd\x07\n\x07Tracing\x12\x43\n\tproviders\x18\x01 \x03(\x0b\x32%.istio.telemetry.v1alpha1.ProviderRefR\tproviders\x12!\n\x0creport_spans\x18\x02 \x01(\x08R\x0breportSpans\x12,\n\x12include_istio_tags\x18\x03 \x01(\x08R\x10includeIstioTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x05 \x01(\rR\x10maxPathTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xf8\x01\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xbc\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"Q\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x10\n\x0cNEVER_SAMPLE\x10\x01\x12\x11\n\rALWAYS_SAMPLE\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') + serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x9f\x01\n\tTelemetry\x12Q\n\x11workload_selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x10workloadSelector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"!\n\x0bProviderRef\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\xfd\x07\n\x07Tracing\x12\x43\n\tproviders\x18\x01 \x03(\x0b\x32%.istio.telemetry.v1alpha1.ProviderRefR\tproviders\x12!\n\x0creport_spans\x18\x02 \x01(\x08R\x0breportSpans\x12,\n\x12include_istio_tags\x18\x03 \x01(\x08R\x10includeIstioTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x05 \x01(\rR\x10maxPathTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xf8\x01\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xbc\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"Q\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x10\n\x0cNEVER_SAMPLE\x10\x01\x12\x11\n\rALWAYS_SAMPLE\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') , dependencies=[type_dot_v1beta1_dot_selector__pb2.DESCRIPTOR,]) @@ -48,37 +48,11 @@ ], containing_type=None, serialized_options=None, - serialized_start=664, - serialized_end=729, + serialized_start=581, + serialized_end=646, ) _sym_db.RegisterEnumDescriptor(_TELEMETRYRULEMATCH_TRAFFICDIRECTION) -_TELEMETRYRULEMATCH_PROTOCOL = _descriptor.EnumDescriptor( - name='Protocol', - full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.Protocol', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='ALL_PROTOCOLS', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HTTP', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TCP', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=731, - serialized_end=779, -) -_sym_db.RegisterEnumDescriptor(_TELEMETRYRULEMATCH_PROTOCOL) - _CONSTANTSAMPLER_CONSTANTDECISION = _descriptor.EnumDescriptor( name='ConstantDecision', full_name='istio.telemetry.v1alpha1.ConstantSampler.ConstantDecision', @@ -100,8 +74,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=1980, - serialized_end=2061, + serialized_start=1847, + serialized_end=1928, ) _sym_db.RegisterEnumDescriptor(_CONSTANTSAMPLER_CONSTANTDECISION) @@ -197,14 +171,7 @@ is_extension=False, extension_scope=None, serialized_options=None, json_name='trafficDirection', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='protocol', full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.protocol', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='protocol', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='port', full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.port', index=2, + name='port', full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.port', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -216,7 +183,6 @@ nested_types=[], enum_types=[ _TELEMETRYRULEMATCH_TRAFFICDIRECTION, - _TELEMETRYRULEMATCH_PROTOCOL, ], serialized_options=None, is_extendable=False, @@ -225,7 +191,7 @@ oneofs=[ ], serialized_start=399, - serialized_end=779, + serialized_end=646, ) @@ -255,8 +221,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=781, - serialized_end=811, + serialized_start=648, + serialized_end=678, ) @@ -286,8 +252,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=813, - serialized_end=846, + serialized_start=680, + serialized_end=713, ) @@ -334,8 +300,8 @@ name='type', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.type', index=0, containing_type=None, fields=[]), ], - serialized_start=1324, - serialized_end=1572, + serialized_start=1191, + serialized_end=1439, ) _TRACING_LITERAL = _descriptor.Descriptor( @@ -364,8 +330,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1574, - serialized_end=1605, + serialized_start=1441, + serialized_end=1472, ) _TRACING_ENVIRONMENT = _descriptor.Descriptor( @@ -401,8 +367,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1607, - serialized_end=1677, + serialized_start=1474, + serialized_end=1544, ) _TRACING_REQUESTHEADER = _descriptor.Descriptor( @@ -438,8 +404,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1679, - serialized_end=1751, + serialized_start=1546, + serialized_end=1618, ) _TRACING_CUSTOMTAGSENTRY = _descriptor.Descriptor( @@ -475,8 +441,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1753, - serialized_end=1859, + serialized_start=1620, + serialized_end=1726, ) _TRACING = _descriptor.Descriptor( @@ -550,8 +516,8 @@ name='sampler', full_name='istio.telemetry.v1alpha1.Tracing.sampler', index=0, containing_type=None, fields=[]), ], - serialized_start=849, - serialized_end=1870, + serialized_start=716, + serialized_end=1737, ) @@ -582,8 +548,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1873, - serialized_end=2061, + serialized_start=1740, + serialized_end=1928, ) @@ -613,8 +579,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2063, - serialized_end=2106, + serialized_start=1930, + serialized_end=1973, ) _TELEMETRY.fields_by_name['workload_selector'].message_type = type_dot_v1beta1_dot_selector__pb2._WORKLOADSELECTOR @@ -622,10 +588,8 @@ _TRACINGRULE.fields_by_name['match'].message_type = _TELEMETRYRULEMATCH _TRACINGRULE.fields_by_name['config'].message_type = _TRACING _TELEMETRYRULEMATCH.fields_by_name['traffic_direction'].enum_type = _TELEMETRYRULEMATCH_TRAFFICDIRECTION -_TELEMETRYRULEMATCH.fields_by_name['protocol'].enum_type = _TELEMETRYRULEMATCH_PROTOCOL _TELEMETRYRULEMATCH.fields_by_name['port'].message_type = _PORT _TELEMETRYRULEMATCH_TRAFFICDIRECTION.containing_type = _TELEMETRYRULEMATCH -_TELEMETRYRULEMATCH_PROTOCOL.containing_type = _TELEMETRYRULEMATCH _TRACING_CUSTOMTAG.fields_by_name['literal'].message_type = _TRACING_LITERAL _TRACING_CUSTOMTAG.fields_by_name['environment'].message_type = _TRACING_ENVIRONMENT _TRACING_CUSTOMTAG.fields_by_name['header'].message_type = _TRACING_REQUESTHEADER diff --git a/telemetry/v1alpha1/telemetry.pb.go b/telemetry/v1alpha1/telemetry.pb.go index fb183e3227..ca5eb084e2 100644 --- a/telemetry/v1alpha1/telemetry.pb.go +++ b/telemetry/v1alpha1/telemetry.pb.go @@ -60,39 +60,6 @@ func (TelemetryRuleMatch_TrafficDirection) EnumDescriptor() ([]byte, []int) { return fileDescriptor_991c84745e2b7651, []int{2, 0} } -// Protocol selects for traffic based on the identified protocol of that traffic. -type TelemetryRuleMatch_Protocol int32 - -const ( - // (Default) Matches all traffic, regardless of protocol - TelemetryRuleMatch_ALL_PROTOCOLS TelemetryRuleMatch_Protocol = 0 - // Selects for HTTP traffic, including HTTP/1.1, gRPC, HTTP/2. - TelemetryRuleMatch_HTTP TelemetryRuleMatch_Protocol = 1 - // Selects for all non-HTTP traffic. - // NOTE: Tracing is currently only supported for HTTP. - TelemetryRuleMatch_TCP TelemetryRuleMatch_Protocol = 2 -) - -var TelemetryRuleMatch_Protocol_name = map[int32]string{ - 0: "ALL_PROTOCOLS", - 1: "HTTP", - 2: "TCP", -} - -var TelemetryRuleMatch_Protocol_value = map[string]int32{ - "ALL_PROTOCOLS": 0, - "HTTP": 1, - "TCP": 2, -} - -func (x TelemetryRuleMatch_Protocol) String() string { - return proto.EnumName(TelemetryRuleMatch_Protocol_name, int32(x)) -} - -func (TelemetryRuleMatch_Protocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{2, 1} -} - // ConstantDecision controls the behavior of the ConstantSampler. type ConstantSampler_ConstantDecision int32 @@ -337,9 +304,6 @@ type TelemetryRuleMatch struct { // Optional. Specifies the intended direction of the traffic relative to the local proxy. // Defaults to ALL if unset. TrafficDirection TelemetryRuleMatch_TrafficDirection `protobuf:"varint,1,opt,name=traffic_direction,json=trafficDirection,proto3,enum=istio.telemetry.v1alpha1.TelemetryRuleMatch_TrafficDirection" json:"traffic_direction,omitempty"` - // Optional. Specifies the protocol of the traffic. - // Defaults to ALL if unset. - Protocol TelemetryRuleMatch_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=istio.telemetry.v1alpha1.TelemetryRuleMatch_Protocol" json:"protocol,omitempty"` // Optional. The port on which the traffic is received. // Defaults to ALL if unset. Port *Port `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` @@ -388,13 +352,6 @@ func (m *TelemetryRuleMatch) GetTrafficDirection() TelemetryRuleMatch_TrafficDir return TelemetryRuleMatch_ALL_DIRECTIONS } -func (m *TelemetryRuleMatch) GetProtocol() TelemetryRuleMatch_Protocol { - if m != nil { - return m.Protocol - } - return TelemetryRuleMatch_ALL_PROTOCOLS -} - func (m *TelemetryRuleMatch) GetPort() *Port { if m != nil { return m.Port @@ -508,6 +465,7 @@ func (m *ProviderRef) GetName() string { type Tracing struct { // Required. Name of providers to which this configuration should apply. At // least one provider needs to be specified. + // NOTE: Only a single provider is currently supported. Providers []*ProviderRef `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // Enables the tracing functionality. When this is set to `true`, the // sidecar will report spans to a configured backend for all traffic with a trace @@ -1031,7 +989,6 @@ func (m *PercentageSampler) GetTarget() float64 { func init() { proto.RegisterEnum("istio.telemetry.v1alpha1.TelemetryRuleMatch_TrafficDirection", TelemetryRuleMatch_TrafficDirection_name, TelemetryRuleMatch_TrafficDirection_value) - proto.RegisterEnum("istio.telemetry.v1alpha1.TelemetryRuleMatch_Protocol", TelemetryRuleMatch_Protocol_name, TelemetryRuleMatch_Protocol_value) proto.RegisterEnum("istio.telemetry.v1alpha1.ConstantSampler_ConstantDecision", ConstantSampler_ConstantDecision_name, ConstantSampler_ConstantDecision_value) proto.RegisterType((*Telemetry)(nil), "istio.telemetry.v1alpha1.Telemetry") proto.RegisterType((*TracingRule)(nil), "istio.telemetry.v1alpha1.TracingRule") @@ -1053,66 +1010,63 @@ func init() { } var fileDescriptor_991c84745e2b7651 = []byte{ - // 934 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xed, 0x8e, 0xda, 0x46, - 0x14, 0x86, 0x31, 0x4b, 0xf8, 0x38, 0xec, 0x87, 0x39, 0x8d, 0x2a, 0xb4, 0x95, 0x48, 0xd6, 0x6d, - 0xa5, 0x44, 0xc9, 0x42, 0xa1, 0xaa, 0xd4, 0x46, 0xaa, 0x2a, 0x3e, 0x1c, 0x81, 0x44, 0x80, 0x1d, - 0xbc, 0x1b, 0xb5, 0xaa, 0x64, 0xcd, 0x9a, 0x01, 0x9c, 0x18, 0xdb, 0xb5, 0x07, 0x92, 0xbd, 0x87, - 0xde, 0x43, 0x6f, 0xa4, 0x17, 0xd0, 0x9f, 0xbd, 0x84, 0x6a, 0xaf, 0xa2, 0x3f, 0x5a, 0xa9, 0xf2, - 0x78, 0x0c, 0x1b, 0xb6, 0x1b, 0x9a, 0xfe, 0xf3, 0xbc, 0x73, 0xde, 0xc7, 0xaf, 0x67, 0xce, 0x0c, - 0x80, 0xc6, 0x99, 0xc3, 0x16, 0x8c, 0x07, 0x57, 0xb5, 0x55,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x0d, 0x07, 0xe6, 0xf9, 0x60, 0x3c, 0xd2, 0xdb, 0xbd, 0xe7, 0x3d, 0xbd, 0xa3, 0xa6, 0x50, - 0x85, 0xfd, 0x81, 0x7e, 0xa1, 0x13, 0x73, 0xdc, 0x7c, 0x31, 0xea, 0xeb, 0xaa, 0x12, 0x5f, 0x8a, - 0x2f, 0x9b, 0xdf, 0x8f, 0x13, 0x29, 0xad, 0x3d, 0x81, 0xd2, 0xad, 0xd3, 0x10, 0x5d, 0x87, 0x9c, - 0x06, 0x33, 0xc6, 0x45, 0x7a, 0x85, 0xc8, 0x51, 0xeb, 0xf4, 0xb7, 0xeb, 0x8a, 0xf2, 0xfb, 0x75, - 0x45, 0xf9, 0xe3, 0xba, 0xa2, 0xfc, 0xf0, 0x20, 0xfe, 0x24, 0xdb, 0xab, 0x51, 0xdf, 0xae, 0xdd, - 0xfe, 0x53, 0x71, 0x99, 0x15, 0x3f, 0x08, 0x5f, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x3c, - 0x91, 0xd1, 0x71, 0x08, 0x00, 0x00, + // 883 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xdd, 0x6e, 0x1a, 0xc7, + 0x1b, 0xc6, 0x59, 0x8c, 0xc1, 0xbc, 0xd8, 0xf1, 0xf2, 0xfe, 0xa3, 0xbf, 0x90, 0x2b, 0x91, 0x78, + 0xdb, 0x4a, 0x89, 0x12, 0x83, 0x70, 0x4f, 0xda, 0x48, 0x55, 0xc5, 0xc7, 0x46, 0x20, 0x11, 0x8c, + 0x07, 0xec, 0xa8, 0x55, 0xa5, 0xd5, 0x78, 0x19, 0x60, 0x93, 0xfd, 0xea, 0xec, 0x40, 0xe2, 0x7b, + 0xe8, 0x3d, 0xf4, 0x46, 0x7a, 0x01, 0x3d, 0xec, 0x25, 0x54, 0xbe, 0x89, 0xf6, 0xa4, 0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, 0xba, 0x86, 0x65, 0x38, 0x68, 0xf6, 0x5f, 0x37, 0xbf, + 0x1d, 0xa5, 0x52, 0xd6, 0x78, 0x06, 0xe5, 0x3b, 0xa7, 0x21, 0xbe, 0x0e, 0x05, 0xe5, 0x33, 0x26, + 0x64, 0x7a, 0x8d, 0xa8, 0x51, 0xeb, 0xe4, 0x97, 0x9b, 0xaa, 0xf6, 0xeb, 0x4d, 0x55, 0xfb, 0xed, + 0xa6, 0xaa, 0x7d, 0xf7, 0x28, 0x59, 0x92, 0x13, 0xd4, 0x69, 0xe8, 0xd4, 0xef, 0xfe, 0xcf, 0xaf, + 0xf2, 0xf2, 0x7f, 0xfc, 0xc5, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x00, 0x06, 0x80, 0xec, + 0x07, 0x00, 0x00, } func (m *Telemetry) Marshal() (dAtA []byte, err error) { @@ -1255,11 +1209,6 @@ func (m *TelemetryRuleMatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if m.Protocol != 0 { - i = encodeVarintTelemetry(dAtA, i, uint64(m.Protocol)) - i-- - dAtA[i] = 0x10 - } if m.TrafficDirection != 0 { i = encodeVarintTelemetry(dAtA, i, uint64(m.TrafficDirection)) i-- @@ -1819,9 +1768,6 @@ func (m *TelemetryRuleMatch) Size() (n int) { if m.TrafficDirection != 0 { n += 1 + sovTelemetry(uint64(m.TrafficDirection)) } - if m.Protocol != 0 { - n += 1 + sovTelemetry(uint64(m.Protocol)) - } if m.Port != nil { l = m.Port.Size() n += 1 + l + sovTelemetry(uint64(l)) @@ -2365,25 +2311,6 @@ func (m *TelemetryRuleMatch) Unmarshal(dAtA []byte) error { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) - } - m.Protocol = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Protocol |= TelemetryRuleMatch_Protocol(b&0x7F) << shift - if b < 0x80 { - break - } - } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) diff --git a/telemetry/v1alpha1/telemetry.pb.html b/telemetry/v1alpha1/telemetry.pb.html index 4d60919686..46862fccb7 100644 --- a/telemetry/v1alpha1/telemetry.pb.html +++ b/telemetry/v1alpha1/telemetry.pb.html @@ -2,7 +2,7 @@ title: istio.telemetry.v1alpha1 layout: protoc-gen-docs generator: protoc-gen-docs -number_of_entries: 15 +number_of_entries: 14 ---

Telemetry

@@ -167,18 +167,6 @@

TelemetryRuleMatch

Optional. Specifies the intended direction of the traffic relative to the local proxy. Defaults to ALL if unset.

- - -No - - - -protocol -Protocol - -

Optional. Specifies the protocol of the traffic. -Defaults to ALL if unset.

- No @@ -278,7 +266,8 @@

Tracing

ProviderRef[]

Required. Name of providers to which this configuration should apply. At -least one provider needs to be specified.

+least one provider needs to be specified. +NOTE: Only a single provider is currently supported.

@@ -621,43 +610,6 @@

TelemetryRuleMatch.TrafficDirection

Match incoming traffic for the proxy. Use this to select “server-side” traffic in telemetry reporting.

- - - - -

-

TelemetryRuleMatch.Protocol

-
-

Protocol selects for traffic based on the identified protocol of that traffic.

- - - - - - - - - - - - - - - - - - - - diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto index 0f85ae5c91..72bb5e8a15 100644 --- a/telemetry/v1alpha1/telemetry.proto +++ b/telemetry/v1alpha1/telemetry.proto @@ -150,25 +150,10 @@ message TelemetryRuleMatch { INBOUND = 2; } - // Protocol selects for traffic based on the identified protocol of that traffic. - enum Protocol { - // (Default) Matches all traffic, regardless of protocol - ALL_PROTOCOLS = 0; - // Selects for HTTP traffic, including HTTP/1.1, gRPC, HTTP/2. - HTTP = 1; - // Selects for all non-HTTP traffic. - // NOTE: Tracing is currently only supported for HTTP. - TCP = 2; - } - // Optional. Specifies the intended direction of the traffic relative to the local proxy. // Defaults to ALL if unset. TrafficDirection traffic_direction = 1; - // Optional. Specifies the protocol of the traffic. - // Defaults to ALL if unset. - Protocol protocol = 2; - // Optional. The port on which the traffic is received. // Defaults to ALL if unset. Port port = 3; @@ -194,6 +179,7 @@ message ProviderRef { message Tracing { // Required. Name of providers to which this configuration should apply. At // least one provider needs to be specified. + // NOTE: Only a single provider is currently supported. repeated ProviderRef providers = 1; // Enables the tracing functionality. When this is set to `true`, the From b8dd6e4da511e58e6010e6b376ba5f5e1f2b7df8 Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Mon, 23 Nov 2020 15:55:15 -0800 Subject: [PATCH 05/15] add new extension providers to oneof --- mesh/v1alpha1/config.pb.go | 845 ++++++++++++++----- mesh/v1alpha1/config.proto | 12 +- mesh/v1alpha1/istio.mesh.v1alpha1.gen.json | 162 +++- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 55 ++ python/istio_api/mesh/v1alpha1/config_pb2.py | 125 ++- 5 files changed, 915 insertions(+), 284 deletions(-) diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 5a270f08d0..51d85a39b3 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -1300,6 +1300,11 @@ type MeshConfig_ExtensionProvider struct { // Types that are valid to be assigned to Provider: // *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp // *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc + // *MeshConfig_ExtensionProvider_Opencensus + // *MeshConfig_ExtensionProvider_Zipkin + // *MeshConfig_ExtensionProvider_Lightstep + // *MeshConfig_ExtensionProvider_Datadog + // *MeshConfig_ExtensionProvider_Stackdriver Provider isMeshConfig_ExtensionProvider_Provider `protobuf_oneof:"provider"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1351,9 +1356,29 @@ type MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp struct { type MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc struct { EnvoyExtAuthzGrpc *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider `protobuf:"bytes,3,opt,name=envoy_ext_authz_grpc,json=envoyExtAuthzGrpc,proto3,oneof" json:"envoyExtAuthzGrpc,omitempty"` } +type MeshConfig_ExtensionProvider_Opencensus struct { + Opencensus *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider `protobuf:"bytes,4,opt,name=opencensus,proto3,oneof" json:"opencensus,omitempty"` +} +type MeshConfig_ExtensionProvider_Zipkin struct { + Zipkin *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider `protobuf:"bytes,5,opt,name=zipkin,proto3,oneof" json:"zipkin,omitempty"` +} +type MeshConfig_ExtensionProvider_Lightstep struct { + Lightstep *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider `protobuf:"bytes,6,opt,name=lightstep,proto3,oneof" json:"lightstep,omitempty"` +} +type MeshConfig_ExtensionProvider_Datadog struct { + Datadog *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider `protobuf:"bytes,7,opt,name=datadog,proto3,oneof" json:"datadog,omitempty"` +} +type MeshConfig_ExtensionProvider_Stackdriver struct { + Stackdriver *MeshConfig_ExtensionProvider_StackdriverProvider `protobuf:"bytes,8,opt,name=stackdriver,proto3,oneof" json:"stackdriver,omitempty"` +} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) isMeshConfig_ExtensionProvider_Provider() {} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Opencensus) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Zipkin) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Lightstep) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Datadog) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Stackdriver) isMeshConfig_ExtensionProvider_Provider() {} func (m *MeshConfig_ExtensionProvider) GetProvider() isMeshConfig_ExtensionProvider_Provider { if m != nil { @@ -1383,11 +1408,51 @@ func (m *MeshConfig_ExtensionProvider) GetEnvoyExtAuthzGrpc() *MeshConfig_Extens return nil } +func (m *MeshConfig_ExtensionProvider) GetOpencensus() *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Opencensus); ok { + return x.Opencensus + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetZipkin() *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Zipkin); ok { + return x.Zipkin + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetLightstep() *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Lightstep); ok { + return x.Lightstep + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetDatadog() *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Datadog); ok { + return x.Datadog + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetStackdriver() *MeshConfig_ExtensionProvider_StackdriverProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Stackdriver); ok { + return x.Stackdriver + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*MeshConfig_ExtensionProvider) XXX_OneofWrappers() []interface{} { return []interface{}{ (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp)(nil), (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc)(nil), + (*MeshConfig_ExtensionProvider_Opencensus)(nil), + (*MeshConfig_ExtensionProvider_Zipkin)(nil), + (*MeshConfig_ExtensionProvider_Lightstep)(nil), + (*MeshConfig_ExtensionProvider_Datadog)(nil), + (*MeshConfig_ExtensionProvider_Stackdriver)(nil), } } @@ -2232,196 +2297,202 @@ func init() { func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } var fileDescriptor_b5c7ece76d5d5022 = []byte{ - // 3020 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5f, 0x73, 0x1b, 0xb7, - 0xb5, 0x37, 0x29, 0xda, 0x5a, 0x41, 0xff, 0x96, 0x90, 0x64, 0xaf, 0xe9, 0x58, 0x96, 0x95, 0xd8, - 0x56, 0x7c, 0x73, 0xa9, 0x58, 0x4a, 0x1c, 0x27, 0x99, 0x7b, 0xe7, 0x52, 0x24, 0x6d, 0x89, 0xa1, - 0x44, 0x5e, 0x90, 0x72, 0x9c, 0xa4, 0x1d, 0x0c, 0xb4, 0x0b, 0x92, 0x5b, 0x2d, 0x17, 0x5b, 0x00, - 0x94, 0x25, 0xcf, 0xf4, 0x13, 0xb4, 0x2f, 0x7d, 0x6d, 0x3f, 0x43, 0xfb, 0xd2, 0xf7, 0x3e, 0x77, - 0xa6, 0x2f, 0x7d, 0xe8, 0x07, 0xe8, 0xe4, 0x4b, 0x74, 0xfa, 0xd6, 0xc1, 0x9f, 0x25, 0xa9, 0x3f, - 0x0e, 0x93, 0xb4, 0xd3, 0x37, 0xee, 0xc1, 0xf9, 0xfd, 0x00, 0x1c, 0x1c, 0x1c, 0x9c, 0x73, 0x08, - 0x0a, 0x7d, 0x2a, 0x7a, 0x9b, 0x27, 0x4f, 0x48, 0x94, 0xf4, 0xc8, 0x93, 0x4d, 0x9f, 0xc5, 0x9d, - 0xb0, 0x5b, 0x4c, 0x38, 0x93, 0x0c, 0x2e, 0x85, 0x42, 0x86, 0xac, 0xa8, 0x34, 0x8a, 0xa9, 0x46, - 0x61, 0xb5, 0xcb, 0x58, 0x37, 0xa2, 0x9b, 0x5a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0xf8, 0x00, 0x2c, 0xd0, 0x98, 0x1c, 0x45, 0x14, 0x4b, 0x4e, 0xfc, - 0x30, 0xee, 0x7a, 0x73, 0x6b, 0x99, 0x0d, 0x07, 0xcd, 0x1b, 0x69, 0xdb, 0x08, 0x95, 0x13, 0x11, - 0xdf, 0x57, 0x84, 0x11, 0xeb, 0xe2, 0x4e, 0x18, 0x51, 0x6f, 0x5e, 0x13, 0xce, 0x1b, 0x71, 0x9d, - 0x75, 0x9f, 0x87, 0x11, 0x55, 0x8e, 0x39, 0xae, 0xc7, 0x78, 0x9f, 0x48, 0xcf, 0x33, 0x53, 0x8f, - 0x34, 0xb5, 0x18, 0x12, 0xb0, 0x34, 0xa6, 0x4b, 0x63, 0x9f, 0x05, 0x6a, 0xfe, 0x3b, 0xda, 0x20, - 0x4f, 0x26, 0x19, 0xa4, 0x94, 0xb2, 0x55, 0x2d, 0x10, 0xe5, 0xc9, 0x45, 0x11, 0xac, 0x80, 0x7b, - 0x76, 0x77, 0x34, 0x3e, 0x61, 0x67, 0x78, 0x6c, 0xbe, 0xf4, 0xc0, 0x36, 0xf4, 0x76, 0xef, 0x18, - 0xb5, 0xaa, 0xd2, 0x1a, 0x32, 0xa7, 0xa7, 0xf7, 0x39, 0x28, 0x04, 0xa1, 0x18, 0xa3, 0x31, 0xb7, - 0x8e, 0x72, 0x45, 0xe4, 0x3d, 0xd3, 0x04, 0xb7, 0xac, 0x86, 0x66, 0xa8, 0xdb, 0xf1, 0x3a, 0xeb, - 0xc2, 0x17, 0x60, 0x21, 0xa0, 0x1d, 0x32, 0x88, 0x24, 0x36, 0x31, 0xca, 0x5b, 0xd0, 0xae, 0xbb, - 0x76, 0xe5, 0x06, 0x9b, 0xea, 0x4a, 0x9a, 0x1d, 0xa2, 0x79, 0x8b, 0xb3, 0x77, 0xbe, 0x0f, 0x6e, - 0xb1, 0x81, 0x3c, 0x62, 0x83, 0x38, 0x50, 0x67, 0xd5, 0xe9, 0x84, 0x3e, 0x4e, 0x58, 0x14, 0xfa, - 0x67, 0x5e, 0x5e, 0x33, 0x4e, 0xf4, 0xa1, 0x86, 0x85, 0xb7, 0x0d, 0xba, 0xa9, 0xc1, 0x68, 0x85, - 0x5d, 0x25, 0x86, 0xbb, 0x60, 0xc1, 0xac, 0x17, 0x0b, 0x36, 0xe0, 0x3e, 0x15, 0xde, 0xcd, 0xb5, - 0xa9, 0x8d, 0xd9, 0xad, 0xfb, 0x57, 0xce, 0x62, 0x66, 0x68, 0x69, 0x4d, 0x34, 0xef, 0x8f, 0x7d, - 0x09, 0x58, 0x01, 0xae, 0x3d, 0x04, 0x32, 0x90, 0x0c, 0xf7, 0x65, 0x24, 0xbc, 0xff, 0xd2, 0x2b, - 0x2e, 0x5c, 0x0a, 0x05, 0x3b, 0x8c, 0x45, 0x2f, 0x49, 0x34, 0xa0, 0xc8, 0xba, 0x65, 0x69, 0x20, - 0xd9, 0xbe, 0x8c, 0x04, 0xbc, 0x0f, 0xe6, 0x24, 0x1f, 0x08, 0x89, 0x03, 0xd6, 0x27, 0x61, 0xec, - 0x15, 0xb4, 0x53, 0xcd, 0x6a, 0x59, 0x45, 0x8b, 0xe0, 0x87, 0x60, 0x79, 0x5c, 0x05, 0x93, 0x28, - 0x24, 0x82, 0x0a, 0xaf, 0xb8, 0x36, 0xb5, 0x31, 0x83, 0xe0, 0x98, 0x6a, 0xc9, 0x8c, 0xc0, 0x57, - 0x60, 0xd1, 0x27, 0xd8, 0xa7, 0x5c, 0x86, 0x9d, 0xd0, 0x27, 0x92, 0x0a, 0xef, 0x33, 0xbd, 0xcb, - 0xcd, 0x49, 0xb6, 0x2c, 0x8f, 0x30, 0x15, 0x22, 0x09, 0x5a, 0xf0, 0xc9, 0x98, 0x48, 0xc0, 0x4f, - 0xc1, 0xed, 0xf4, 0xd8, 0xad, 0xa7, 0x61, 0x7a, 0xaa, 0x82, 0x2f, 0x96, 0xcc, 0xbb, 0xa7, 0x17, - 0x74, 0xd3, 0x2a, 0x58, 0x37, 0x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65, 0xad, 0xc6, 0xa2, 0x19, 0xda, - 0xd1, 0x23, 0x87, 0x3c, 0xda, 0x81, 0xc0, 0x1d, 0x77, 0xac, 0x80, 0x48, 0x52, 0xf8, 0x05, 0x98, - 0x1b, 0xbf, 0x41, 0xf0, 0x3d, 0xb0, 0xa0, 0x42, 0x1b, 0x8e, 0xc2, 0x7e, 0x28, 0x35, 0x5d, 0xc6, - 0xe4, 0xa1, 0x4a, 0x5a, 0x57, 0xc2, 0x43, 0x1e, 0xc1, 0x17, 0x00, 0x8e, 0x69, 0xa5, 0xe9, 0x76, - 0x76, 0x52, 0x38, 0x74, 0x87, 0x24, 0x36, 0xcd, 0x2e, 0xfc, 0x3e, 0x03, 0x16, 0x2f, 0xdc, 0x35, - 0xd8, 0x06, 0xce, 0xf0, 0xba, 0x66, 0x34, 0xe5, 0xb3, 0x1f, 0x78, 0x5d, 0x8b, 0xc3, 0x7b, 0x3b, - 0x64, 0x82, 0xcb, 0xe0, 0x7a, 0x8f, 0x09, 0x29, 0xbc, 0xac, 0x7e, 0x7d, 0xcc, 0x47, 0x61, 0x13, - 0x38, 0xc3, 0x79, 0xdf, 0x05, 0xf3, 0x69, 0xec, 0xd3, 0xe1, 0x5f, 0x4f, 0xee, 0xa0, 0x39, 0x2b, - 0xd4, 0xef, 0x45, 0xe1, 0xaf, 0x19, 0x90, 0x2d, 0x97, 0xa0, 0x07, 0xa6, 0x49, 0x10, 0xa8, 0xc4, - 0xd6, 0xda, 0x27, 0xfd, 0x84, 0x0d, 0x30, 0x27, 0x23, 0x31, 0x0a, 0x38, 0xd9, 0x73, 0x61, 0xec, - 0xca, 0xba, 0x41, 0x5f, 0xd0, 0x76, 0xbd, 0x35, 0x5c, 0xf5, 0xac, 0x8c, 0xc4, 0x70, 0x59, 0x3b, - 0x60, 0x91, 0xd3, 0x9f, 0x0f, 0xa8, 0x18, 0x19, 0x7a, 0x6a, 0xe2, 0xbb, 0x63, 0x11, 0x69, 0x35, - 0x73, 0x0f, 0x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0a, 0x6b, 0x82, 0x65, 0x31, - 0x38, 0x12, 0x3e, 0x0f, 0x8f, 0x68, 0x80, 0x39, 0x4d, 0x7b, 0xd4, 0x26, 0x1f, 0xb8, 0x7b, 0x65, - 0x3e, 0x80, 0xac, 0x16, 0x5a, 0x1a, 0x41, 0x53, 0x99, 0x58, 0xff, 0x02, 0xcc, 0x8e, 0x95, 0xf8, - 0x2a, 0xc5, 0x17, 0xd4, 0xe7, 0xd4, 0xf6, 0xdc, 0xcc, 0x7e, 0x80, 0x11, 0xe9, 0x36, 0xdb, 0x1d, - 0x30, 0x13, 0xc4, 0xc2, 0xb4, 0x43, 0x6d, 0x11, 0xeb, 0x04, 0xb1, 0xd0, 0x9d, 0xd0, 0xc7, 0x6b, - 0xc0, 0x49, 0x99, 0xe1, 0x32, 0x70, 0xd3, 0x5e, 0x42, 0xda, 0x81, 0x70, 0xaf, 0xed, 0x6c, 0xfc, - 0xe9, 0xdb, 0xd5, 0xcc, 0x5f, 0xbe, 0x5d, 0xcd, 0xfc, 0xed, 0xdb, 0xd5, 0xcc, 0xd7, 0x05, 0xb3, - 0x5e, 0xf3, 0xb7, 0xe0, 0xe6, 0xb9, 0x3f, 0x1a, 0x8f, 0x6e, 0xe8, 0xf0, 0xb3, 0xfd, 0xcf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x6e, 0x8f, 0x56, 0xfa, 0xf1, 0x1c, 0x00, 0x00, + // 3114 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xdd, 0x72, 0x1b, 0xb9, + 0x72, 0x36, 0x29, 0xda, 0x1a, 0x81, 0xfa, 0x19, 0x42, 0x92, 0x3d, 0xa6, 0xd7, 0x5a, 0x59, 0x7b, + 0xd6, 0xab, 0xe3, 0x6c, 0xa8, 0x63, 0x69, 0xcf, 0xfe, 0x9c, 0x53, 0x49, 0x85, 0x22, 0x69, 0x4b, + 0x3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be, 0xe0, + 0x47, 0x60, 0x89, 0xc6, 0x03, 0x4e, 0x84, 0x40, 0x41, 0x84, 0x85, 0xf0, 0xe6, 0x37, 0x73, 0xdb, + 0x0b, 0xfe, 0xa2, 0x25, 0xd6, 0x14, 0x0d, 0x7e, 0x02, 0x56, 0x52, 0x26, 0x41, 0xf8, 0x39, 0x0d, + 0x88, 0xe7, 0x68, 0xb6, 0x65, 0x4b, 0xee, 0x1a, 0x2a, 0x1c, 0x81, 0x47, 0x13, 0x34, 0x16, 0x4b, + 0xce, 0xa2, 0x88, 0x70, 0x34, 0x62, 0x21, 0xf1, 0x16, 0x36, 0x73, 0xdb, 0xcb, 0xbb, 0xbf, 0xae, + 0xdc, 0xe2, 0xb2, 0x95, 0xe9, 0x8d, 0x57, 0x0e, 0xad, 0xde, 0x89, 0xf4, 0x11, 0x0b, 0x89, 0xbf, + 0x4e, 0x6f, 0x23, 0xc3, 0x5f, 0x02, 0x77, 0xba, 0xaf, 0x88, 0x04, 0x92, 0x71, 0xef, 0x33, 0xbd, + 0xb1, 0x95, 0xc9, 0xc6, 0x0c, 0x19, 0x7e, 0x0c, 0x96, 0x49, 0x8c, 0x4f, 0x23, 0x82, 0x24, 0xc7, + 0x01, 0x8d, 0x07, 0xde, 0xe2, 0x66, 0x6e, 0xdb, 0xf1, 0x97, 0x0c, 0xb5, 0x67, 0x88, 0xca, 0x89, + 0x70, 0x10, 0x28, 0xc0, 0x88, 0x0d, 0x50, 0x9f, 0x46, 0xc4, 0x5b, 0xd2, 0x80, 0x4b, 0x86, 0xdc, + 0x62, 0x83, 0x57, 0x34, 0x22, 0xca, 0x31, 0xb3, 0x7c, 0x8c, 0x8f, 0xb0, 0xf4, 0x3c, 0xa3, 0x7a, + 0xca, 0xa9, 0xc9, 0x10, 0x83, 0xd5, 0x0c, 0x2f, 0x89, 0x03, 0x16, 0x2a, 0xfd, 0x4f, 0xb4, 0x41, + 0x5e, 0xce, 0x32, 0x48, 0x35, 0x45, 0x6b, 0x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, 0x58, + 0xb2, 0x23, 0x19, 0x09, 0xf8, 0x0c, 0x2c, 0x4a, 0x3e, 0x16, 0x12, 0x85, 0x6c, 0x84, 0x69, 0xec, + 0x95, 0xb5, 0x53, 0x15, 0x35, 0xad, 0xae, 0x49, 0xf0, 0x57, 0x60, 0x2d, 0xcb, 0x82, 0x70, 0x44, + 0xb1, 0x20, 0xc2, 0xab, 0x6c, 0xce, 0x6d, 0x2f, 0xf8, 0x30, 0xc3, 0x5a, 0x35, 0x2b, 0xf0, 0x1b, + 0xb0, 0x12, 0x60, 0x14, 0x10, 0x2e, 0x69, 0x9f, 0x06, 0x58, 0x12, 0xe1, 0xfd, 0x46, 0x9f, 0x72, + 0x67, 0x96, 0x2d, 0x6b, 0x53, 0x99, 0x3a, 0x96, 0xd8, 0x5f, 0x0e, 0x70, 0x86, 0x24, 0xe0, 0x57, + 0xe0, 0x71, 0x7a, 0xed, 0xd6, 0xd3, 0x10, 0xb9, 0x50, 0xc9, 0x17, 0x49, 0xe6, 0x7d, 0xa8, 0x37, + 0xf4, 0xd0, 0x32, 0x58, 0x37, 0x6b, 0xe8, 0xe5, 0x1e, 0x83, 0x07, 0xe0, 0x59, 0x2a, 0x7a, 0x4e, + 0xb9, 0x1c, 0xe3, 0xe8, 0x16, 0x88, 0x4d, 0x0d, 0xf1, 0xd4, 0x32, 0xbe, 0x31, 0x7c, 0xd7, 0x91, + 0x9a, 0x60, 0x2b, 0x45, 0xba, 0xfe, 0x1a, 0x65, 0xa0, 0x9e, 0x69, 0xa8, 0x0d, 0xcb, 0x59, 0x9f, + 0x32, 0xfa, 0xe3, 0x68, 0x8a, 0xf5, 0x31, 0x58, 0xe6, 0x8c, 0x49, 0x14, 0xe3, 0x11, 0x11, 0x09, + 0x0e, 0x88, 0xb7, 0x65, 0x12, 0x80, 0xa2, 0x1e, 0xa7, 0x44, 0xd8, 0x07, 0xab, 0x11, 0x0b, 0x70, + 0x44, 0xe5, 0x25, 0x8a, 0x4e, 0x91, 0x30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39, 0x25, 0xc2, 0x5f, 0xbf, 0xb1, 0xa2, 0xfa, 0xe3, 0xad, 0xff, + 0xc8, 0x81, 0xc5, 0xec, 0xbf, 0x03, 0x7f, 0xcc, 0x5e, 0xbd, 0x03, 0xd6, 0xc4, 0xf8, 0x54, 0x04, + 0x9c, 0x9e, 0x92, 0x10, 0x71, 0x92, 0xfe, 0x93, 0x61, 0xea, 0x81, 0xa7, 0xb7, 0xd6, 0x03, 0xbe, + 0xe5, 0xf2, 0x57, 0xa7, 0xa2, 0x29, 0x4d, 0x6c, 0xfd, 0x0e, 0x14, 0x33, 0x83, 0x20, 0x55, 0xe2, + 0x0b, 0x12, 0x70, 0x62, 0x27, 0xb3, 0xe6, 0x3c, 0xc0, 0x90, 0xf4, 0x30, 0xf6, 0x09, 0x58, 0x08, + 0x63, 0x61, 0x86, 0xe6, 0x76, 0xd4, 0xe1, 0x84, 0xb1, 0xd0, 0xf3, 0xf2, 0x17, 0x9b, 0xc0, 0x49, + 0x91, 0xe1, 0x1a, 0x70, 0xd3, 0x89, 0x53, 0x3a, 0xa7, 0x72, 0xef, 0xed, 0x6f, 0xff, 0xfb, 0xf7, + 0x1b, 0xb9, 0xff, 0xfc, 0x7e, 0x23, 0xf7, 0xdf, 0xdf, 0x6f, 0xe4, 0xbe, 0x2b, 0x9b, 0xfd, 0x9a, + 0x3f, 0x8f, 0x77, 0xae, 0xfc, 0x1d, 0x7d, 0xfa, 0x40, 0xa7, 0x9f, 0xbd, 0xff, 0x0f, 0x00, 0x00, + 0xff, 0xff, 0x8e, 0xe1, 0x5e, 0x00, 0x17, 0x1f, 0x00, 0x00, } func (m *MeshConfig) Marshal() (dAtA []byte, err error) { @@ -3273,6 +3344,111 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalToSizedBuffer(dA } return len(dAtA) - i, nil } +func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Opencensus != nil { + { + size, err := m.Opencensus.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Zipkin != nil { + { + size, err := m.Zipkin.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Lightstep != nil { + { + size, err := m.Lightstep.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Datadog) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Datadog) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Datadog != nil { + { + size, err := m.Datadog.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Stackdriver != nil { + { + size, err := m.Stackdriver.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + return len(dAtA) - i, nil +} func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3444,20 +3620,20 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalToS copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Context) > 0 { - dAtA20 := make([]byte, len(m.Context)*10) - var j19 int + dAtA25 := make([]byte, len(m.Context)*10) + var j24 int for _, num := range m.Context { for num >= 1<<7 { - dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80) + dAtA25[j24] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j19++ + j24++ } - dAtA20[j19] = uint8(num) - j19++ + dAtA25[j24] = uint8(num) + j24++ } - i -= j19 - copy(dAtA[i:], dAtA20[:j19]) - i = encodeVarintConfig(dAtA, i, uint64(j19)) + i -= j24 + copy(dAtA[i:], dAtA25[:j24]) + i = encodeVarintConfig(dAtA, i, uint64(j24)) i-- dAtA[i] = 0x12 } @@ -3530,20 +3706,20 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) MarshalToSi copy(dAtA[i:], m.XXX_unrecognized) } if len(m.PropagationModes) > 0 { - dAtA22 := make([]byte, len(m.PropagationModes)*10) - var j21 int + dAtA27 := make([]byte, len(m.PropagationModes)*10) + var j26 int for _, num := range m.PropagationModes { for num >= 1<<7 { - dAtA22[j21] = uint8(uint64(num)&0x7f | 0x80) + dAtA27[j26] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j21++ + j26++ } - dAtA22[j21] = uint8(num) - j21++ + dAtA27[j26] = uint8(num) + j26++ } - i -= j21 - copy(dAtA[i:], dAtA22[:j21]) - i = encodeVarintConfig(dAtA, i, uint64(j21)) + i -= j26 + copy(dAtA[i:], dAtA27[:j26]) + i = encodeVarintConfig(dAtA, i, uint64(j26)) i-- dAtA[i] = 0x1a } @@ -3793,20 +3969,20 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.XXX_unrecognized) } if len(m.SubscribedResources) > 0 { - dAtA33 := make([]byte, len(m.SubscribedResources)*10) - var j32 int + dAtA38 := make([]byte, len(m.SubscribedResources)*10) + var j37 int for _, num := range m.SubscribedResources { for num >= 1<<7 { - dAtA33[j32] = uint8(uint64(num)&0x7f | 0x80) + dAtA38[j37] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j32++ + j37++ } - dAtA33[j32] = uint8(num) - j32++ + dAtA38[j37] = uint8(num) + j37++ } - i -= j32 - copy(dAtA[i:], dAtA33[:j32]) - i = encodeVarintConfig(dAtA, i, uint64(j32)) + i -= j37 + copy(dAtA[i:], dAtA38[:j37]) + i = encodeVarintConfig(dAtA, i, uint64(j37)) i-- dAtA[i] = 0x1a } @@ -4243,6 +4419,66 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) Size() (n int) { } return n } +func (m *MeshConfig_ExtensionProvider_Opencensus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Opencensus != nil { + l = m.Opencensus.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Zipkin) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Zipkin != nil { + l = m.Zipkin.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Lightstep) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Lightstep != nil { + l = m.Lightstep.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Datadog) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Datadog != nil { + l = m.Datadog.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Stackdriver) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Stackdriver != nil { + l = m.Stackdriver.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Size() (n int) { if m == nil { return 0 @@ -6572,6 +6808,181 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Opencensus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_Opencensus{v} + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Zipkin", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_Zipkin{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Lightstep", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_Lightstep{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Datadog", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_Datadog{v} + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stackdriver", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_StackdriverProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_Stackdriver{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 27614f551a..c61f100be8 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -473,6 +473,16 @@ message MeshConfig { EnvoyExternalAuthorizationHttpProvider envoy_ext_authz_http = 2; // Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API. EnvoyExternalAuthorizationGrpcProvider envoy_ext_authz_grpc = 3; + // Configures an OpenCensus tracing provider. + EnvoyTracingOpenCensusProvider opencensus = 4; + // Configures a tracing provider that implements the Zipkin API. + EnvoyTracingZipkinAPIProvider zipkin = 5; + // Configures an LightStep tracing provider. + EnvoyTracingLightStepProvider lightstep = 6; + // Configures an Datadog tracing provider. + EnvoyTracingDatadogProvider datadog = 7; + // Configures a Stackdriver provider. + StackdriverProvider stackdriver = 8; } message EnvoyExternalAuthorizationHttpProvider { @@ -632,7 +642,7 @@ message MeshConfig { } // $hide_from_docs - message StackdriverProvider{ + message StackdriverProvider { // debug enables trace output to stdout. // $hide_from_docs bool debug = 1; diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json index 0a154a36ad..7b3f69ed0f 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json @@ -577,6 +577,56 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } + }, + { + "required": [ + "opencensus" + ], + "properties": { + "opencensus": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider" + } + } + }, + { + "required": [ + "zipkin" + ], + "properties": { + "zipkin": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider" + } + } + }, + { + "required": [ + "lightstep" + ], + "properties": { + "lightstep": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider" + } + } + }, + { + "required": [ + "datadog" + ], + "properties": { + "datadog": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider" + } + } + }, + { + "required": [ + "stackdriver" + ], + "properties": { + "stackdriver": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" + } + } } ] } @@ -600,6 +650,56 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } + }, + { + "required": [ + "opencensus" + ], + "properties": { + "opencensus": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider" + } + } + }, + { + "required": [ + "zipkin" + ], + "properties": { + "zipkin": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider" + } + } + }, + { + "required": [ + "lightstep" + ], + "properties": { + "lightstep": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider" + } + } + }, + { + "required": [ + "datadog" + ], + "properties": { + "datadog": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider" + } + } + }, + { + "required": [ + "stackdriver" + ], + "properties": { + "stackdriver": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" + } + } } ] }, @@ -720,22 +820,15 @@ } } }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext": { - "description": "TraceContext selects the context propagation headers used for distributed tracing. $hide_from_docs", - "type": "string", - "enum": [ - "UNSPECIFIED", - "W3C_TRACE_CONTEXT", - "GRPC_BIN", - "CLOUD_TRACE_CONTEXT", - "B3" - ] - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider": { + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider": { "type": "object", "properties": { - "address": { - "description": "REQUIRED. Address of the Datadog Agent.", + "port": { + "description": "REQUIRED. Specifies the port of the Zipkin API service. Typically, this is 9411.", + "type": "integer" + }, + "service": { + "description": "REQUIRED. Specifies the service that implements the Zipkin API. The format is \"[\u003cNamespace\u003e/]\u003cService\u003e\". If the \u003cNamespace\u003e is omitted then it is resolved within the same namespace as this configuration resource. The \u003cService\u003e is the name of the service object (k8s service or ServiceEntry). Example: \"foo/zipkin\" or \"zipkin\".", "type": "string", "format": "string" } @@ -763,25 +856,11 @@ } } }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode": { - "description": "Available propagation modes for trace context $hide_from_docs", - "type": "string", - "enum": [ - "ENVOY", - "LIGHTSTEP", - "B3", - "TRACE_CONTEXT" - ] - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider": { + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider": { "type": "object", "properties": { - "port": { - "description": "REQUIRED. Specifies the port of the Zipkin API service. Typically, this is 9411.", - "type": "integer" - }, - "service": { - "description": "REQUIRED. Specifies the service that implements the Zipkin API. The format is \"[\u003cNamespace\u003e/]\u003cService\u003e\". If the \u003cNamespace\u003e is omitted then it is resolved within the same namespace as this configuration resource. The \u003cService\u003e is the name of the service object (k8s service or ServiceEntry). Example: \"foo/zipkin\" or \"zipkin\".", + "address": { + "description": "REQUIRED. Address of the Datadog Agent.", "type": "string", "format": "string" } @@ -847,6 +926,27 @@ } } }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext": { + "description": "TraceContext selects the context propagation headers used for distributed tracing. $hide_from_docs", + "type": "string", + "enum": [ + "UNSPECIFIED", + "W3C_TRACE_CONTEXT", + "GRPC_BIN", + "CLOUD_TRACE_CONTEXT", + "B3" + ] + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode": { + "description": "Available propagation modes for trace context $hide_from_docs", + "type": "string", + "enum": [ + "ENVOY", + "LIGHTSTEP", + "B3", + "TRACE_CONTEXT" + ] + }, "istio.mesh.v1alpha1.Resource": { "description": "Resource describes the source of configuration", "type": "string", diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 69c3cc48b3..2cdeb1074f 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -961,6 +961,61 @@

MeshConfig.ExtensionProvider

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
ALL_PROTOCOLS -

(Default) Matches all traffic, regardless of protocol

- -
HTTP -

Selects for HTTP traffic, including HTTP/1.1, gRPC, HTTP/2.

- -
TCP -

Selects for all non-HTTP traffic. -NOTE: Tracing is currently only supported for HTTP.

-

Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API.

+
+No +
opencensusEnvoyTracingOpenCensusProvider (oneof) +

Configures an OpenCensus tracing provider.

+ +
+No +
zipkinEnvoyTracingZipkinAPIProvider (oneof) +

Configures a tracing provider that implements the Zipkin API.

+ +
+No +
lightstepEnvoyTracingLightStepProvider (oneof) +

Configures an LightStep tracing provider.

+ +
+No +
datadogEnvoyTracingDatadogProvider (oneof) +

Configures an Datadog tracing provider.

+ +
+No +
stackdriverStackdriverProvider (oneof) +

Configures a Stackdriver provider.

+
No diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 6719075d94..06b5491001 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -26,7 +26,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\x91\x35\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xbe\x13\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnError\x1a\x9a\x02\n\x1e\x45nvoyTracingOpenCensusProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12w\n\x07\x63ontext\x18\x02 \x03(\x0e\x32].istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\x37\n\x1b\x45nvoyTracingDatadogProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xb3\x02\n\x1d\x45nvoyTracingLightStepProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12\x8c\x01\n\x11propagation_modes\x18\x03 \x03(\x0e\x32_.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationModeR\x10propagationModes\"F\n\x0fPropagationMode\x12\t\n\x05\x45NVOY\x10\x00\x12\r\n\tLIGHTSTEP\x10\x01\x12\x06\n\x02\x42\x33\x10\x02\x12\x11\n\rTRACE_CONTEXT\x10\x03\x1aM\n\x1d\x45nvoyTracingZipkinAPIProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x1a\xf9\x06\n\x13StackdriverProvider\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12M\n\x14max_trace_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x12maxTraceAttributes\x12O\n\x15max_trace_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x13maxTraceAnnotations\x12T\n\x18max_trace_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxTraceMessageEvents\x12X\n\x1bmax_log_batch_size_in_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x16maxLogBatchSizeInBytes\x12I\n\x13log_report_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11logReportDuration\x12P\n\x16\x65nable_log_compression\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x14\x65nableLogCompression\x12(\n\x10\x65nable_audit_log\x18\x08 \x01(\x08R\x0e\x65nableAuditLog\x12=\n\x1b\x65nable_mesh_edges_reporting\x18\t \x01(\x08R\x18\x65nableMeshEdgesReporting\x12\\\n\x1dmesh_edges_reporting_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationR\x1ameshEdgesReportingDuration\x12J\n\x13max_peer_cache_size\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x10maxPeerCacheSize\x12L\n\x14max_edges_batch_size\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x11maxEdgesBatchSizeB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xb7\x39\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xe4\x17\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x12r\n\nopencensus\x18\x04 \x01(\x0b\x32P.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProviderH\x00R\nopencensus\x12i\n\x06zipkin\x18\x05 \x01(\x0b\x32O.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProviderH\x00R\x06zipkin\x12o\n\tlightstep\x18\x06 \x01(\x0b\x32O.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProviderH\x00R\tlightstep\x12i\n\x07\x64\x61tadog\x18\x07 \x01(\x0b\x32M.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProviderH\x00R\x07\x64\x61tadog\x12i\n\x0bstackdriver\x18\x08 \x01(\x0b\x32\x45.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProviderH\x00R\x0bstackdriver\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnError\x1a\x9a\x02\n\x1e\x45nvoyTracingOpenCensusProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12w\n\x07\x63ontext\x18\x02 \x03(\x0e\x32].istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\x37\n\x1b\x45nvoyTracingDatadogProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xb3\x02\n\x1d\x45nvoyTracingLightStepProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12\x8c\x01\n\x11propagation_modes\x18\x03 \x03(\x0e\x32_.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationModeR\x10propagationModes\"F\n\x0fPropagationMode\x12\t\n\x05\x45NVOY\x10\x00\x12\r\n\tLIGHTSTEP\x10\x01\x12\x06\n\x02\x42\x33\x10\x02\x12\x11\n\rTRACE_CONTEXT\x10\x03\x1aM\n\x1d\x45nvoyTracingZipkinAPIProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x1a\xf9\x06\n\x13StackdriverProvider\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12M\n\x14max_trace_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x12maxTraceAttributes\x12O\n\x15max_trace_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x13maxTraceAnnotations\x12T\n\x18max_trace_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxTraceMessageEvents\x12X\n\x1bmax_log_batch_size_in_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x16maxLogBatchSizeInBytes\x12I\n\x13log_report_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11logReportDuration\x12P\n\x16\x65nable_log_compression\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x14\x65nableLogCompression\x12(\n\x10\x65nable_audit_log\x18\x08 \x01(\x08R\x0e\x65nableAuditLog\x12=\n\x1b\x65nable_mesh_edges_reporting\x18\t \x01(\x08R\x18\x65nableMeshEdgesReporting\x12\\\n\x1dmesh_edges_reporting_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationR\x1ameshEdgesReportingDuration\x12J\n\x13max_peer_cache_size\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x10maxPeerCacheSize\x12L\n\x14max_edges_batch_size\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x11maxEdgesBatchSizeB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,k8s_dot_io_dot_apimachinery_dot_pkg_dot_apis_dot_meta_dot_v1_dot_generated__pb2.DESCRIPTOR,]) @@ -43,8 +43,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=7327, - serialized_end=7359, + serialized_start=7877, + serialized_end=7909, ) _sym_db.RegisterEnumDescriptor(_RESOURCE) @@ -103,8 +103,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4851, - serialized_end=4952, + serialized_start=5401, + serialized_end=5502, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT) @@ -133,8 +133,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=5249, - serialized_end=5319, + serialized_start=5799, + serialized_end=5869, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE) @@ -163,8 +163,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6304, - serialized_end=6378, + serialized_start=6854, + serialized_end=6928, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -185,8 +185,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6380, - serialized_end=6418, + serialized_start=6930, + serialized_end=6968, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -207,8 +207,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6420, - serialized_end=6459, + serialized_start=6970, + serialized_end=7009, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -229,8 +229,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6461, - serialized_end=6511, + serialized_start=7011, + serialized_end=7061, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_H2UPGRADEPOLICY) @@ -536,8 +536,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4134, - serialized_end=4509, + serialized_start=4684, + serialized_end=5059, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER = _descriptor.Descriptor( @@ -587,8 +587,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4512, - serialized_end=4667, + serialized_start=5062, + serialized_end=5217, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER = _descriptor.Descriptor( @@ -625,8 +625,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4670, - serialized_end=4952, + serialized_start=5220, + serialized_end=5502, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER = _descriptor.Descriptor( @@ -655,8 +655,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4954, - serialized_end=5009, + serialized_start=5504, + serialized_end=5559, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER = _descriptor.Descriptor( @@ -700,8 +700,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5012, - serialized_end=5319, + serialized_start=5562, + serialized_end=5869, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER = _descriptor.Descriptor( @@ -737,8 +737,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5321, - serialized_end=5398, + serialized_start=5871, + serialized_end=5948, ) _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER = _descriptor.Descriptor( @@ -844,8 +844,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5401, - serialized_end=6290, + serialized_start=5951, + serialized_end=6840, ) _MESHCONFIG_EXTENSIONPROVIDER = _descriptor.Descriptor( @@ -876,6 +876,41 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='envoyExtAuthzGrpc', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='opencensus', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.opencensus', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='opencensus', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='zipkin', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.zipkin', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='zipkin', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='lightstep', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.lightstep', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='lightstep', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='datadog', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.datadog', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='datadog', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='stackdriver', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.stackdriver', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='stackdriver', file=DESCRIPTOR), ], extensions=[ ], @@ -892,7 +927,7 @@ index=0, containing_type=None, fields=[]), ], serialized_start=3808, - serialized_end=6302, + serialized_end=6852, ) _MESHCONFIG = _descriptor.Descriptor( @@ -1192,7 +1227,7 @@ oneofs=[ ], serialized_start=241, - serialized_end=7042, + serialized_end=7592, ) @@ -1236,8 +1271,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7045, - serialized_end=7248, + serialized_start=7595, + serialized_end=7798, ) @@ -1274,8 +1309,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7250, - serialized_end=7325, + serialized_start=7800, + serialized_end=7875, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -1318,6 +1353,11 @@ _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http']) @@ -1325,6 +1365,21 @@ _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc']) _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] _MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['protocol_detection_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE From d683ec3d7a552ec73571b8a0860930dc3009f7c5 Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Thu, 10 Dec 2020 15:47:12 -0800 Subject: [PATCH 06/15] Remove providers from telemetry API --- kubernetes/customresourcedefinitions.gen.yaml | 56 +- mesh/v1alpha1/config.pb.go | 5212 +++++------------ mesh/v1alpha1/config.proto | 153 - mesh/v1alpha1/istio.mesh.v1alpha1.gen.json | 245 - mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 55 - python/istio_api/mesh/v1alpha1/config_pb2.py | 478 +- .../telemetry/v1alpha1/telemetry_pb2.py | 287 +- telemetry/v1alpha1/telemetry.pb.go | 1377 +++-- telemetry/v1alpha1/telemetry.pb.html | 229 +- telemetry/v1alpha1/telemetry.proto | 72 +- telemetry/v1alpha1/telemetry_deepcopy.gen.go | 84 +- telemetry/v1alpha1/telemetry_json.gen.go | 44 +- 12 files changed, 2977 insertions(+), 5315 deletions(-) diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index d3a6f916cb..5bba7aa51b 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5897,8 +5897,8 @@ spec: description: Controls the behavior of the sampler. enum: - DECISION_UNSPECIFIED - - NEVER_SAMPLE - - ALWAYS_SAMPLE + - NEVER + - ALWAYS type: string type: object customTags: @@ -5912,12 +5912,16 @@ spec: - environment - required: - header + - required: + - metadata - required: - literal - required: - environment - required: - header + - required: + - metadata properties: environment: description: Environment adds the value of an environment @@ -5956,6 +5960,44 @@ spec: format: string type: string type: object + metadata: + description: Metadata adds the value of a metadata + field to each span. + properties: + defaultValue: + description: Optional. + format: string + type: string + key: + description: Defines the path used to retrieve + the tag value. + properties: + key: + description: Required. + format: string + type: string + segment: + description: Required. + items: + properties: + key: + description: Key to retrieve the value + in a Struct. + format: string + type: string + type: object + type: array + type: object + kind: + description: Kind of metadata from which to obtain + tag value. + enum: + - REQUEST + - ROUTE + - CLUSTER + - HOST + type: string + type: object type: object description: Optional. type: object @@ -5972,16 +6014,6 @@ spec: format: double type: number type: object - providers: - description: Required. - items: - properties: - name: - description: Required. - format: string - type: string - type: object - type: array reportSpans: description: Enables the tracing functionality. type: boolean diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 51d85a39b3..91a33a4d9e 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -206,92 +206,6 @@ func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptor_b5c7ece76d5d5022, []int{0, 0, 0} } -// TraceContext selects the context propagation headers used for -// distributed tracing. -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext int32 - -const ( - // Unspecified context. Should not be used for now, but added to reserve - // the 0 enum value if TraceContext is used outside of a repeated field. - MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_UNSPECIFIED MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 0 - // Use W3C Trace Context propagation using the `traceparent` HTTP header. - // See the - // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. - MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_W3C_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 1 - // Use gRPC binary context propagation using the `grpc-trace-bin` http header. - MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_GRPC_BIN MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 2 - // Use Cloud Trace context propagation using the - // `X-Cloud-Trace-Context` http header. - MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_CLOUD_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 3 - // Use multi-header B3 context propagation using the `X-B3-TraceId`, - // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See - // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) - // for details. - MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_B3 MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext = 4 -) - -var MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "W3C_TRACE_CONTEXT", - 2: "GRPC_BIN", - 3: "CLOUD_TRACE_CONTEXT", - 4: "B3", -} - -var MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_value = map[string]int32{ - "UNSPECIFIED": 0, - "W3C_TRACE_CONTEXT": 1, - "GRPC_BIN": 2, - "CLOUD_TRACE_CONTEXT": 3, - "B3": 4, -} - -func (x MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext) String() string { - return proto.EnumName(MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name, int32(x)) -} - -func (MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 2, 0} -} - -// Available propagation modes for trace context -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode int32 - -const ( - // Propagate trace context in the single header x-ot-span-context. - MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_ENVOY MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 0 - // Propagate trace context using LightStep's native format. - MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_LIGHTSTEP MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 1 - // Propagate trace context using the b3 format. - MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_B3 MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 2 - // Propagation trace context using the w3 trace-context standard. - MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_TRACE_CONTEXT MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode = 3 -) - -var MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name = map[int32]string{ - 0: "ENVOY", - 1: "LIGHTSTEP", - 2: "B3", - 3: "TRACE_CONTEXT", -} - -var MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_value = map[string]int32{ - "ENVOY": 0, - "LIGHTSTEP": 1, - "B3": 2, - "TRACE_CONTEXT": 3, -} - -func (x MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode) String() string { - return proto.EnumName(MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name, int32(x)) -} - -func (MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 4, 0} -} - // MeshConfig defines mesh-wide settings for the Istio service mesh. type MeshConfig struct { // Port on which Envoy should listen for incoming connections from @@ -1300,11 +1214,6 @@ type MeshConfig_ExtensionProvider struct { // Types that are valid to be assigned to Provider: // *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp // *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc - // *MeshConfig_ExtensionProvider_Opencensus - // *MeshConfig_ExtensionProvider_Zipkin - // *MeshConfig_ExtensionProvider_Lightstep - // *MeshConfig_ExtensionProvider_Datadog - // *MeshConfig_ExtensionProvider_Stackdriver Provider isMeshConfig_ExtensionProvider_Provider `protobuf_oneof:"provider"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1356,29 +1265,9 @@ type MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp struct { type MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc struct { EnvoyExtAuthzGrpc *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider `protobuf:"bytes,3,opt,name=envoy_ext_authz_grpc,json=envoyExtAuthzGrpc,proto3,oneof" json:"envoyExtAuthzGrpc,omitempty"` } -type MeshConfig_ExtensionProvider_Opencensus struct { - Opencensus *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider `protobuf:"bytes,4,opt,name=opencensus,proto3,oneof" json:"opencensus,omitempty"` -} -type MeshConfig_ExtensionProvider_Zipkin struct { - Zipkin *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider `protobuf:"bytes,5,opt,name=zipkin,proto3,oneof" json:"zipkin,omitempty"` -} -type MeshConfig_ExtensionProvider_Lightstep struct { - Lightstep *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider `protobuf:"bytes,6,opt,name=lightstep,proto3,oneof" json:"lightstep,omitempty"` -} -type MeshConfig_ExtensionProvider_Datadog struct { - Datadog *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider `protobuf:"bytes,7,opt,name=datadog,proto3,oneof" json:"datadog,omitempty"` -} -type MeshConfig_ExtensionProvider_Stackdriver struct { - Stackdriver *MeshConfig_ExtensionProvider_StackdriverProvider `protobuf:"bytes,8,opt,name=stackdriver,proto3,oneof" json:"stackdriver,omitempty"` -} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) isMeshConfig_ExtensionProvider_Provider() {} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) isMeshConfig_ExtensionProvider_Provider() {} -func (*MeshConfig_ExtensionProvider_Opencensus) isMeshConfig_ExtensionProvider_Provider() {} -func (*MeshConfig_ExtensionProvider_Zipkin) isMeshConfig_ExtensionProvider_Provider() {} -func (*MeshConfig_ExtensionProvider_Lightstep) isMeshConfig_ExtensionProvider_Provider() {} -func (*MeshConfig_ExtensionProvider_Datadog) isMeshConfig_ExtensionProvider_Provider() {} -func (*MeshConfig_ExtensionProvider_Stackdriver) isMeshConfig_ExtensionProvider_Provider() {} func (m *MeshConfig_ExtensionProvider) GetProvider() isMeshConfig_ExtensionProvider_Provider { if m != nil { @@ -1408,51 +1297,11 @@ func (m *MeshConfig_ExtensionProvider) GetEnvoyExtAuthzGrpc() *MeshConfig_Extens return nil } -func (m *MeshConfig_ExtensionProvider) GetOpencensus() *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider { - if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Opencensus); ok { - return x.Opencensus - } - return nil -} - -func (m *MeshConfig_ExtensionProvider) GetZipkin() *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider { - if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Zipkin); ok { - return x.Zipkin - } - return nil -} - -func (m *MeshConfig_ExtensionProvider) GetLightstep() *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider { - if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Lightstep); ok { - return x.Lightstep - } - return nil -} - -func (m *MeshConfig_ExtensionProvider) GetDatadog() *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider { - if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Datadog); ok { - return x.Datadog - } - return nil -} - -func (m *MeshConfig_ExtensionProvider) GetStackdriver() *MeshConfig_ExtensionProvider_StackdriverProvider { - if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Stackdriver); ok { - return x.Stackdriver - } - return nil -} - // XXX_OneofWrappers is for the internal use of the proto package. func (*MeshConfig_ExtensionProvider) XXX_OneofWrappers() []interface{} { return []interface{}{ (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp)(nil), (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc)(nil), - (*MeshConfig_ExtensionProvider_Opencensus)(nil), - (*MeshConfig_ExtensionProvider_Zipkin)(nil), - (*MeshConfig_ExtensionProvider_Lightstep)(nil), - (*MeshConfig_ExtensionProvider_Datadog)(nil), - (*MeshConfig_ExtensionProvider_Stackdriver)(nil), } } @@ -1680,43 +1529,37 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ge return "" } -// EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to -// an OpenCensus agent backend. See -// [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) -// and -// [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) -// for details. -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider struct { - // REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or - // unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for - // details. +// ConfigSource describes information about a configuration store inside a +// mesh. A single control plane instance can interact with one or more data +// sources. +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"` - // Specifies the set of context propagation headers used for - // distributed tracing. - // $hide_from_docs - Context []MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext `protobuf:"varint,2,rep,packed,name=context,proto3,enum=istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // 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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Reset() { - *m = MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider{} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) String() string { - return proto.CompactTextString(m) -} -func (*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) ProtoMessage() {} -func (*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 2} +func (m *ConfigSource) Reset() { *m = ConfigSource{} } +func (m *ConfigSource) String() string { return proto.CompactTextString(m) } +func (*ConfigSource) ProtoMessage() {} +func (*ConfigSource) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{1} } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Unmarshal(b []byte) error { +func (m *ConfigSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.Marshal(b, m, deterministic) + return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1726,114 +1569,82 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Marsha return b[:n], nil } } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.Merge(m, src) +func (m *ConfigSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSource.Merge(m, src) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_Size() int { +func (m *ConfigSource) XXX_Size() int { return m.Size() } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider.DiscardUnknown(m) +func (m *ConfigSource) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSource.DiscardUnknown(m) } -var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider proto.InternalMessageInfo +var xxx_messageInfo_ConfigSource proto.InternalMessageInfo -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) GetAddress() string { +func (m *ConfigSource) GetAddress() string { if m != nil { return m.Address } return "" } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) GetContext() []MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext { +func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { if m != nil { - return m.Context + return m.TlsSettings } return nil } -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider struct { - // REQUIRED. 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:"-"` -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Reset() { - *m = MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider{} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) String() string { - return proto.CompactTextString(m) -} -func (*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) ProtoMessage() {} -func (*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 3} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.Merge(m, src) -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_Size() int { - return m.Size() -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider.DiscardUnknown(m) -} - -var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider proto.InternalMessageInfo - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) GetAddress() string { +func (m *ConfigSource) GetSubscribedResources() []Resource { if m != nil { - return m.Address + return m.SubscribedResources } - return "" + return nil } -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider struct { - // REQUIRED. Address of the Lightstep Satellite pool. - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // REQUIRED. The Lightstep access token. - AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"accessToken,omitempty"` - // Optional. Propagation modes to use by LightStep's tracer. - PropagationModes []MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode `protobuf:"varint,3,rep,packed,name=propagation_modes,json=propagationModes,proto3,enum=istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode" json:"propagationModes,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 +// } +// ``` +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:"-"` } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Reset() { - *m = MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider{} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) String() string { - return proto.CompactTextString(m) -} -func (*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) ProtoMessage() {} -func (*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 4} +func (m *Certificate) Reset() { *m = Certificate{} } +func (m *Certificate) String() string { return proto.CompactTextString(m) } +func (*Certificate) ProtoMessage() {} +func (*Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{2} } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Unmarshal(b []byte) error { +func (m *Certificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.Marshal(b, m, deterministic) + return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1843,871 +1654,427 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Marshal return b[:n], nil } } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.Merge(m, src) +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_Size() int { +func (m *Certificate) XXX_Size() int { return m.Size() } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider.DiscardUnknown(m) +func (m *Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_Certificate.DiscardUnknown(m) } -var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider proto.InternalMessageInfo - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} +var xxx_messageInfo_Certificate proto.InternalMessageInfo -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetAccessToken() string { +func (m *Certificate) GetSecretName() string { if m != nil { - return m.AccessToken + return m.SecretName } return "" } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) GetPropagationModes() []MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode { +func (m *Certificate) GetDnsNames() []string { if m != nil { - return m.PropagationModes + return m.DnsNames } return nil } -// $hide_from_docs -type MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider struct { - // REQUIRED. Specifies the service that implements the Zipkin API. - // The format is "[/]". If the is omitted then it is resolved within the same - // namespace as this configuration resource. The is the name of the service object (k8s service or ServiceEntry). - // Example: "foo/zipkin" or "zipkin". - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - // REQUIRED. Specifies the port of the Zipkin API service. - // Typically, this is 9411. - Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func init() { + proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) + proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") + proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") + proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") + proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") + proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") + proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") + proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") + proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") + proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") + proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Reset() { - *m = MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider{} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) String() string { - return proto.CompactTextString(m) -} -func (*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) ProtoMessage() {} -func (*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 5} -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.Merge(m, src) -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_Size() int { - return m.Size() -} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider.DiscardUnknown(m) -} +func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } -var xxx_messageInfo_MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider proto.InternalMessageInfo +var fileDescriptor_b5c7ece76d5d5022 = []byte{ + // 2465 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x72, 0x1b, 0xc7, + 0xb9, 0x26, 0xc8, 0xb1, 0x34, 0x6c, 0x12, 0xc4, 0xb0, 0x49, 0x4a, 0x23, 0xc8, 0xa2, 0x28, 0xda, + 0x92, 0x68, 0x1d, 0x1f, 0xc0, 0xa4, 0x7c, 0x91, 0xed, 0xaa, 0x53, 0x87, 0x04, 0x20, 0x91, 0x30, + 0x44, 0xf0, 0x34, 0x41, 0xf9, 0xf6, 0xd0, 0xd5, 0x9c, 0x69, 0x00, 0x73, 0x38, 0x98, 0x9e, 0x74, + 0xf7, 0x50, 0xa4, 0xab, 0xb2, 0x82, 0x2c, 0x21, 0x6b, 0x48, 0x16, 0x90, 0x15, 0xa4, 0x2a, 0x2f, + 0x79, 0xc8, 0x02, 0x52, 0x7e, 0xc9, 0x12, 0xf2, 0x9a, 0xea, 0xcb, 0x00, 0x20, 0x89, 0x18, 0x76, + 0x2a, 0x95, 0x37, 0xcc, 0xd7, 0xff, 0xff, 0x75, 0xf7, 0xdf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c3, 0xfb, 0x52, 0xa6, 0x5a, 0x6e, 0x0f, 0x94, 0x02, 0x96, 0x24, 0x34, 0x90, 0x58, 0x46, + 0x03, 0xca, 0x32, 0xe9, 0xdf, 0xda, 0x28, 0x6c, 0x2d, 0xec, 0xdc, 0xab, 0x18, 0xcb, 0x54, 0x72, + 0xcb, 0x54, 0xea, 0xd6, 0x72, 0x68, 0xc9, 0x6a, 0x74, 0x8c, 0x02, 0xfc, 0x1a, 0x94, 0xb5, 0x50, + 0xc0, 0x62, 0x1c, 0x52, 0x49, 0x03, 0x7d, 0xfb, 0x9c, 0xee, 0xd9, 0x34, 0x3a, 0x3f, 0x57, 0xae, + 0xe7, 0xba, 0x39, 0x31, 0x03, 0x45, 0x19, 0xa4, 0xf8, 0x8c, 0xd2, 0x94, 0xc4, 0xd1, 0x39, 0xf5, + 0xdf, 0xd5, 0x5c, 0xcd, 0x8a, 0x79, 0xe9, 0x91, 0xfd, 0xf3, 0xf7, 0x7e, 0x5e, 0xa9, 0x99, 0xa3, + 0x45, 0x2c, 0x39, 0x62, 0x2c, 0x3e, 0xa6, 0x52, 0x46, 0x49, 0x4f, 0x54, 0x3a, 0xb5, 0xa3, 0xd1, + 0xef, 0x20, 0xfd, 0x2a, 0x67, 0x44, 0x8b, 0x72, 0xec, 0x0b, 0xbe, 0x07, 0x8a, 0x51, 0xd2, 0xe3, + 0x54, 0x08, 0x1c, 0xc4, 0x44, 0x08, 0xff, 0xf6, 0x46, 0x61, 0x6b, 0x1e, 0x2d, 0x5a, 0xb0, 0xa6, + 0x30, 0xf8, 0x14, 0x94, 0x72, 0x21, 0x41, 0xf9, 0x79, 0x14, 0x50, 0xdf, 0xd5, 0x62, 0x4b, 0x16, + 0x3e, 0x36, 0x28, 0x1c, 0x80, 0xbb, 0x43, 0x36, 0x96, 0x48, 0xce, 0xe2, 0x98, 0x72, 0x3c, 0x60, + 0x21, 0xf5, 0xe7, 0x37, 0x0a, 0x5b, 0x4b, 0x3b, 0x9f, 0x54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0xe5, 0x5d, 0x59, 0xd3, 0xca, 0x70, 0x07, 0xcc, 0x06, 0xc4, 0xff, + 0x4c, 0x53, 0x6c, 0x4e, 0x4d, 0x36, 0xbb, 0x68, 0x36, 0x20, 0xf0, 0x14, 0xac, 0xd0, 0x0b, 0x49, + 0x13, 0xa1, 0x82, 0x38, 0xe5, 0xec, 0x3c, 0x0a, 0x29, 0x17, 0xfe, 0xe7, 0xda, 0x86, 0x53, 0x0b, + 0x66, 0x23, 0x57, 0x3d, 0xb2, 0x9a, 0x08, 0xd2, 0xeb, 0x90, 0x80, 0x21, 0x58, 0x09, 0x23, 0x11, + 0xb0, 0x73, 0xca, 0x2f, 0x87, 0xcd, 0x83, 0xf0, 0xbf, 0xd4, 0x7b, 0x3c, 0xaf, 0x98, 0xe6, 0xb5, + 0x32, 0xde, 0xbc, 0x56, 0xd2, 0xb3, 0x9e, 0x02, 0x44, 0x45, 0x35, 0xaf, 0x95, 0xf3, 0xed, 0x4a, + 0x8b, 0x9c, 0xd2, 0x38, 0xef, 0x30, 0x10, 0x1c, 0xf2, 0xe5, 0x90, 0x28, 0xff, 0xae, 0x00, 0xd6, + 0x26, 0x56, 0x23, 0x78, 0x08, 0x1c, 0xdd, 0x16, 0x15, 0x74, 0x14, 0x7e, 0xf1, 0x2f, 0x95, 0xb4, + 0x8a, 0xee, 0x8d, 0x34, 0xcf, 0x66, 0x1d, 0x38, 0xba, 0x25, 0x5a, 0x06, 0x45, 0xd4, 0x78, 0x75, + 0x70, 0xdc, 0x41, 0xdf, 0xe2, 0xf6, 0x61, 0xeb, 0x5b, 0x6f, 0x06, 0x16, 0xc1, 0xfc, 0x6e, 0xab, + 0xd5, 0xfe, 0x1a, 0xef, 0x1e, 0x7e, 0xeb, 0x15, 0x36, 0x1d, 0x77, 0xd6, 0x9b, 0x7d, 0xb6, 0xfa, + 0xe6, 0x00, 0x75, 0x4e, 0x76, 0x5b, 0xf8, 0xb8, 0x81, 0xde, 0x1c, 0xd4, 0x1a, 0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, 0x6e, 0x13, 0x6b, 0xc1, 0x53, 0x22, + 0x83, 0x3e, 0xf2, 0xc7, 0xbf, 0xf0, 0x80, 0x5c, 0x60, 0x9a, 0x48, 0x1e, 0x51, 0x81, 0xd6, 0x6e, + 0xac, 0xa8, 0x12, 0xb5, 0xf9, 0xa7, 0x02, 0x58, 0x1c, 0x1f, 0xd0, 0xff, 0x93, 0xe5, 0xf2, 0x08, + 0xac, 0x8a, 0xec, 0x54, 0x04, 0x3c, 0x3a, 0xa5, 0x21, 0xe6, 0x34, 0xff, 0x33, 0x61, 0x6e, 0x63, + 0x6e, 0x6b, 0x69, 0xe7, 0xc1, 0xc4, 0x82, 0x80, 0xac, 0x14, 0x5a, 0x19, 0xa9, 0xe6, 0x98, 0xd8, + 0xfc, 0x0a, 0x2c, 0x8c, 0xf5, 0x62, 0x2a, 0x17, 0x0b, 0x1a, 0x70, 0x6a, 0x87, 0x23, 0x73, 0x1f, + 0x60, 0x20, 0x3d, 0x0f, 0xdd, 0x07, 0xf3, 0x6a, 0x52, 0xd4, 0x73, 0xab, 0xed, 0x36, 0xdc, 0x30, + 0x11, 0x7a, 0x64, 0x7d, 0xb6, 0x01, 0xdc, 0x9c, 0x19, 0xae, 0x02, 0x2f, 0x6f, 0xfa, 0xf2, 0x56, + 0xd1, 0x9b, 0xd9, 0xdb, 0xfa, 0xe3, 0x8f, 0xeb, 0x85, 0x3f, 0xff, 0xb8, 0x5e, 0xf8, 0xeb, 0x8f, + 0xeb, 0x85, 0xef, 0xca, 0xe6, 0xbc, 0xe6, 0xff, 0xdb, 0xea, 0x95, 0x7f, 0x84, 0x4f, 0x6f, 0xe9, + 0xc2, 0xff, 0xfc, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x2a, 0x5a, 0x58, 0x9a, 0x16, 0x00, + 0x00, +} -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) GetService() string { - if m != nil { - return m.Service +func (m *MeshConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return "" + return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) GetPort() uint32 { - if m != nil { - return m.Port - } - return 0 +func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -// $hide_from_docs -type MeshConfig_ExtensionProvider_StackdriverProvider 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 trace span. - // default is 200. - // $hide_from_docs - MaxTraceAttributes *types.Int64Value `protobuf:"bytes,2,opt,name=max_trace_attributes,json=maxTraceAttributes,proto3" json:"maxTraceAttributes,omitempty"` - // The global default max number of annotation events per trace span. - // default is 200. - // $hide_from_docs - MaxTraceAnnotations *types.Int64Value `protobuf:"bytes,3,opt,name=max_trace_annotations,json=maxTraceAnnotations,proto3" json:"maxTraceAnnotations,omitempty"` - // The global default max number of message events per trace span. - // default is 200. - // $hide_from_docs - MaxTraceMessageEvents *types.Int64Value `protobuf:"bytes,4,opt,name=max_trace_message_events,json=maxTraceMessageEvents,proto3" json:"maxTraceMessageEvents,omitempty"` - // Optional. Allows configuration of the size of the LogWrite request. The - // size is in bytes, so that it allows for better performance. Default is 4MB. - // The size of one log entry within LogWrite request is approx 1Kb. - // $hide_from_docs - MaxLogBatchSizeInBytes *types.Int32Value `protobuf:"bytes,5,opt,name=max_log_batch_size_in_bytes,json=maxLogBatchSizeInBytes,proto3" json:"maxLogBatchSizeInBytes,omitempty"` - // Optional. Allows configuration of the time between calls out to the - // Stackdriver logging service to report buffered LogWrite request. - // Customers can choose to report more aggressively by keeping shorter report - // interval if needed. Default is 10s. - // $hide_from_docs - LogReportDuration *types.Duration `protobuf:"bytes,6,opt,name=log_report_duration,json=logReportDuration,proto3" json:"logReportDuration,omitempty"` - // Optional. Allows enabling log compression for stackdriver access logs. - // $hide_from_docs - EnableLogCompression *types.BoolValue `protobuf:"bytes,7,opt,name=enable_log_compression,json=enableLogCompression,proto3" json:"enableLogCompression,omitempty"` - // Optional. Controls whether to export audit log. - // $hide_from_docs - EnableAuditLog bool `protobuf:"varint,8,opt,name=enable_audit_log,json=enableAuditLog,proto3" json:"enableAuditLog,omitempty"` - // Optional. Controls reporting via meshtelemetry.googleapis.com. - // $hide_from_docs - EnableMeshEdgesReporting bool `protobuf:"varint,9,opt,name=enable_mesh_edges_reporting,json=enableMeshEdgesReporting,proto3" json:"enableMeshEdgesReporting,omitempty"` - // Optional. Allows configuration of time between flush of accumulated - // edge data. - // $hide_from_docs - MeshEdgesReportingDuration *types.Duration `protobuf:"bytes,10,opt,name=mesh_edges_reporting_duration,json=meshEdgesReportingDuration,proto3" json:"meshEdgesReportingDuration,omitempty"` - // Optional. Configures max number of peer info in edge data caches. - // $hide_from_docs - MaxPeerCacheSize *types.Int32Value `protobuf:"bytes,11,opt,name=max_peer_cache_size,json=maxPeerCacheSize,proto3" json:"maxPeerCacheSize,omitempty"` - // Optional. Configures max number of edges per batch in requests. - // $hide_from_docs - MaxEdgesBatchSize *types.Int32Value `protobuf:"bytes,12,opt,name=max_edges_batch_size,json=maxEdgesBatchSize,proto3" json:"maxEdgesBatchSize,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Reset() { - *m = MeshConfig_ExtensionProvider_StackdriverProvider{} -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) String() string { - return proto.CompactTextString(m) -} -func (*MeshConfig_ExtensionProvider_StackdriverProvider) ProtoMessage() {} -func (*MeshConfig_ExtensionProvider_StackdriverProvider) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 6} -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DiscoverySelectors) > 0 { + for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xda } - return b[:n], nil } -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Merge(m, src) -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Size() int { - return m.Size() -} -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_DiscardUnknown() { - xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.DiscardUnknown(m) -} - -var xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider proto.InternalMessageInfo - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetDebug() bool { - if m != nil { - return m.Debug + if len(m.CaCertificates) > 0 { + for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd2 + } } - return false -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceAttributes() *types.Int64Value { - if m != nil { - return m.MaxTraceAttributes + if len(m.ExtensionProviders) > 0 { + for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xca + } } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceAnnotations() *types.Int64Value { - if m != nil { - return m.MaxTraceAnnotations + if m.DisableEnvoyListenerLog { + i-- + if m.DisableEnvoyListenerLog { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc0 } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTraceMessageEvents() *types.Int64Value { - if m != nil { - return m.MaxTraceMessageEvents + if m.Ca != nil { + { + size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxLogBatchSizeInBytes() *types.Int32Value { - if m != nil { - return m.MaxLogBatchSizeInBytes + if m.VerifyCertificateAtClient != nil { + { + size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetLogReportDuration() *types.Duration { - if m != nil { - return m.LogReportDuration + if len(m.IngressSelector) > 0 { + i -= len(m.IngressSelector) + copy(dAtA[i:], m.IngressSelector) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa2 } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableLogCompression() *types.BoolValue { - if m != nil { - return m.EnableLogCompression + if m.EnablePrometheusMerge != nil { + { + size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x9a } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableAuditLog() bool { - if m != nil { - return m.EnableAuditLog + if len(m.ServiceSettings) > 0 { + for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x92 + } } - return false -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetEnableMeshEdgesReporting() bool { - if m != nil { - return m.EnableMeshEdgesReporting + if m.ThriftConfig != nil { + { + size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a } - return false -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMeshEdgesReportingDuration() *types.Duration { - if m != nil { - return m.MeshEdgesReportingDuration + if len(m.Certificates) > 0 { + for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxPeerCacheSize() *types.Int32Value { - if m != nil { - return m.MaxPeerCacheSize + if len(m.TrustDomainAliases) > 0 { + for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TrustDomainAliases[iNdEx]) + copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } } - return nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxEdgesBatchSize() *types.Int32Value { - if m != nil { - return m.MaxEdgesBatchSize + if len(m.OutboundClusterStatName) > 0 { + i -= len(m.OutboundClusterStatName) + copy(dAtA[i:], m.OutboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea } - return nil -} - -// ConfigSource describes information about a configuration store inside a -// mesh. A single control plane instance can interact with one or more data -// sources. -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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConfigSource) Reset() { *m = ConfigSource{} } -func (m *ConfigSource) String() string { return proto.CompactTextString(m) } -func (*ConfigSource) ProtoMessage() {} -func (*ConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{1} -} -func (m *ConfigSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSource.Merge(m, src) -} -func (m *ConfigSource) XXX_Size() int { - return m.Size() -} -func (m *ConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigSource proto.InternalMessageInfo - -func (m *ConfigSource) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { - if m != nil { - return m.TlsSettings - } - return nil -} - -func (m *ConfigSource) GetSubscribedResources() []Resource { - if m != nil { - return m.SubscribedResources - } - return nil -} - -// 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 -// } -// ``` -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:"-"` -} - -func (m *Certificate) Reset() { *m = Certificate{} } -func (m *Certificate) String() string { return proto.CompactTextString(m) } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{2} -} -func (m *Certificate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Certificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate.Merge(m, src) -} -func (m *Certificate) XXX_Size() int { - return m.Size() -} -func (m *Certificate) XXX_DiscardUnknown() { - xxx_messageInfo_Certificate.DiscardUnknown(m) -} - -var xxx_messageInfo_Certificate proto.InternalMessageInfo - -func (m *Certificate) GetSecretName() string { - if m != nil { - return m.SecretName - } - return "" -} - -func (m *Certificate) GetDnsNames() []string { - if m != nil { - return m.DnsNames - } - return nil -} - -func init() { - proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext", MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_name, MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode", MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_name, MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode_value) - proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") - proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") - proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") - proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") - proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") - proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") - proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") - proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_StackdriverProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider") - proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") - proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") -} - -func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } - -var fileDescriptor_b5c7ece76d5d5022 = []byte{ - // 3114 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xdd, 0x72, 0x1b, 0xb9, - 0x72, 0x36, 0x29, 0xda, 0x1a, 0x81, 0xfa, 0x19, 0x42, 0x92, 0x3d, 0xa6, 0xd7, 0x5a, 0x59, 0x7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x4a, 0x1a, 0x0f, - 0x44, 0xa5, 0x57, 0xeb, 0x4c, 0x7f, 0x07, 0xc9, 0xef, 0x52, 0x44, 0x7f, 0x51, 0x66, 0xbe, 0xe0, - 0x47, 0x60, 0x89, 0xc6, 0x03, 0x4e, 0x84, 0x40, 0x41, 0x84, 0x85, 0xf0, 0xe6, 0x37, 0x73, 0xdb, - 0x0b, 0xfe, 0xa2, 0x25, 0xd6, 0x14, 0x0d, 0x7e, 0x02, 0x56, 0x52, 0x26, 0x41, 0xf8, 0x39, 0x0d, - 0x88, 0xe7, 0x68, 0xb6, 0x65, 0x4b, 0xee, 0x1a, 0x2a, 0x1c, 0x81, 0x47, 0x13, 0x34, 0x16, 0x4b, - 0xce, 0xa2, 0x88, 0x70, 0x34, 0x62, 0x21, 0xf1, 0x16, 0x36, 0x73, 0xdb, 0xcb, 0xbb, 0xbf, 0xae, - 0xdc, 0xe2, 0xb2, 0x95, 0xe9, 0x8d, 0x57, 0x0e, 0xad, 0xde, 0x89, 0xf4, 0x11, 0x0b, 0x89, 0xbf, - 0x4e, 0x6f, 0x23, 0xc3, 0x5f, 0x02, 0x77, 0xba, 0xaf, 0x88, 0x04, 0x92, 0x71, 0xef, 0x33, 0xbd, - 0xb1, 0x95, 0xc9, 0xc6, 0x0c, 0x19, 0x7e, 0x0c, 0x96, 0x49, 0x8c, 0x4f, 0x23, 0x82, 0x24, 0xc7, - 0x01, 0x8d, 0x07, 0xde, 0xe2, 0x66, 0x6e, 0xdb, 0xf1, 0x97, 0x0c, 0xb5, 0x67, 0x88, 0xca, 0x89, - 0x70, 0x10, 0x28, 0xc0, 0x88, 0x0d, 0x50, 0x9f, 0x46, 0xc4, 0x5b, 0xd2, 0x80, 0x4b, 0x86, 0xdc, - 0x62, 0x83, 0x57, 0x34, 0x22, 0xca, 0x31, 0xb3, 0x7c, 0x8c, 0x8f, 0xb0, 0xf4, 0x3c, 0xa3, 0x7a, - 0xca, 0xa9, 0xc9, 0x10, 0x83, 0xd5, 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0xcf, 0x5f, 0x4b, 0x6d, 0x62, 0x2d, 0xa8, 0x3d, 0xdf, 0xf7, 0xb2, - 0x5f, 0x48, 0xc7, 0x45, 0x2c, 0x39, 0x25, 0xc2, 0x5f, 0xbf, 0xb1, 0xa2, 0xfa, 0xe3, 0xad, 0xff, - 0xc8, 0x81, 0xc5, 0xec, 0xbf, 0x03, 0x7f, 0xcc, 0x5e, 0xbd, 0x03, 0xd6, 0xc4, 0xf8, 0x54, 0x04, - 0x9c, 0x9e, 0x92, 0x10, 0x71, 0x92, 0xfe, 0x93, 0x61, 0xea, 0x81, 0xa7, 0xb7, 0xd6, 0x03, 0xbe, - 0xe5, 0xf2, 0x57, 0xa7, 0xa2, 0x29, 0x4d, 0x6c, 0xfd, 0x0e, 0x14, 0x33, 0x83, 0x20, 0x55, 0xe2, - 0x0b, 0x12, 0x70, 0x62, 0x27, 0xb3, 0xe6, 0x3c, 0xc0, 0x90, 0xf4, 0x30, 0xf6, 0x09, 0x58, 0x08, - 0x63, 0x61, 0x86, 0xe6, 0x76, 0xd4, 0xe1, 0x84, 0xb1, 0xd0, 0xf3, 0xf2, 0x17, 0x9b, 0xc0, 0x49, - 0x91, 0xe1, 0x1a, 0x70, 0xd3, 0x89, 0x53, 0x3a, 0xa7, 0x72, 0xef, 0xed, 0x6f, 0xff, 0xfb, 0xf7, - 0x1b, 0xb9, 0xff, 0xfc, 0x7e, 0x23, 0xf7, 0xdf, 0xdf, 0x6f, 0xe4, 0xbe, 0x2b, 0x9b, 0xfd, 0x9a, - 0x3f, 0x8f, 0x77, 0xae, 0xfc, 0x1d, 0x7d, 0xfa, 0x40, 0xa7, 0x9f, 0xbd, 0xff, 0x0f, 0x00, 0x00, - 0xff, 0xff, 0x8e, 0xe1, 0x5e, 0x00, 0x17, 0x1f, 0x00, 0x00, -} - -func (m *MeshConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DiscoverySelectors) > 0 { - for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xda - } - } - if len(m.CaCertificates) > 0 { - for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xd2 - } - } - if len(m.ExtensionProviders) > 0 { - for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xca - } - } - if m.DisableEnvoyListenerLog { - i-- - if m.DisableEnvoyListenerLog { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.InboundClusterStatName) > 0 { + i -= len(m.InboundClusterStatName) + copy(dAtA[i:], m.InboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) i-- - dAtA[i] = 0x3 + dAtA[i] = 0x2 i-- - dAtA[i] = 0xc0 + dAtA[i] = 0xe2 } - if m.Ca != nil { + if m.EnableAutoMtls != nil { { - size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xba - } - if m.VerifyCertificateAtClient != nil { - { - size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xb2 - } - if len(m.IngressSelector) > 0 { - i -= len(m.IngressSelector) - copy(dAtA[i:], m.IngressSelector) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xa2 - } - if m.EnablePrometheusMerge != nil { - { - size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x9a - } - if len(m.ServiceSettings) > 0 { - for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x92 - } - } - if m.ThriftConfig != nil { - { - size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x8a - } - if len(m.Certificates) > 0 { - for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xfa - } - } - if len(m.TrustDomainAliases) > 0 { - for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TrustDomainAliases[iNdEx]) - copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xf2 - } - } - if len(m.OutboundClusterStatName) > 0 { - i -= len(m.OutboundClusterStatName) - copy(dAtA[i:], m.OutboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xea - } - if len(m.InboundClusterStatName) > 0 { - i -= len(m.InboundClusterStatName) - copy(dAtA[i:], m.InboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe2 - } - if m.EnableAutoMtls != nil { - { - size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3344,111 +2711,6 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalToSizedBuffer(dA } return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Opencensus != nil { - { - size, err := m.Opencensus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Zipkin != nil { - { - size, err := m.Zipkin.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - return len(dAtA) - i, nil -} -func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Lightstep != nil { - { - size, err := m.Lightstep.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - return len(dAtA) - i, nil -} -func (m *MeshConfig_ExtensionProvider_Datadog) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_Datadog) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Datadog != nil { - { - size, err := m.Datadog.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - return len(dAtA) - i, nil -} -func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Stackdriver != nil { - { - size, err := m.Stackdriver.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - return len(dAtA) - i, nil -} func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3595,7 +2857,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ma return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Marshal() (dAtA []byte, err error) { +func (m *ConfigSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3605,12 +2867,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Marshal() return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3619,21 +2881,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalToS i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.Context) > 0 { - dAtA25 := make([]byte, len(m.Context)*10) - var j24 int - for _, num := range m.Context { + if len(m.SubscribedResources) > 0 { + dAtA20 := make([]byte, len(m.SubscribedResources)*10) + var j19 int + for _, num := range m.SubscribedResources { for num >= 1<<7 { - dAtA25[j24] = uint8(uint64(num)&0x7f | 0x80) + dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j24++ + j19++ + } + dAtA20[j19] = uint8(num) + j19++ + } + i -= j19 + copy(dAtA[i:], dAtA20[:j19]) + i = encodeVarintConfig(dAtA, i, uint64(j19)) + i-- + dAtA[i] = 0x1a + } + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA25[j24] = uint8(num) - j24++ + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } - i -= j24 - copy(dAtA[i:], dAtA25[:j24]) - i = encodeVarintConfig(dAtA, i, uint64(j24)) i-- dAtA[i] = 0x12 } @@ -3647,7 +2921,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) MarshalToS return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Marshal() (dAtA []byte, err error) { +func (m *Certificate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3657,12 +2931,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Marshal() (dA return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3671,492 +2945,131 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) MarshalToSize i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + if len(m.DnsNames) > 0 { + for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DnsNames[iNdEx]) + copy(dAtA[i:], m.DnsNames[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.SecretName) > 0 { + i -= len(m.SecretName) + copy(dAtA[i:], m.SecretName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { + offset -= sovConfig(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base } - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MeshConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + if m.ProxyListenPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyListenPort)) } - if len(m.PropagationModes) > 0 { - dAtA27 := make([]byte, len(m.PropagationModes)*10) - var j26 int - for _, num := range m.PropagationModes { - for num >= 1<<7 { - dAtA27[j26] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j26++ - } - dAtA27[j26] = uint8(num) - j26++ - } - i -= j26 - copy(dAtA[i:], dAtA27[:j26]) - i = encodeVarintConfig(dAtA, i, uint64(j26)) - i-- - dAtA[i] = 0x1a + if m.ProxyHttpPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyHttpPort)) } - if len(m.AccessToken) > 0 { - i -= len(m.AccessToken) - copy(dAtA[i:], m.AccessToken) - i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessToken))) - i-- - dAtA[i] = 0x12 + if m.ConnectTimeout != nil { + l = m.ConnectTimeout.Size() + n += 1 + l + sovConfig(uint64(l)) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa + l = len(m.IngressClass) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.IngressService) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) } - return dAtA[:n], nil -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + if m.IngressControllerMode != 0 { + n += 1 + sovConfig(uint64(m.IngressControllerMode)) } - if m.Port != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x10 + if m.EnableTracing { + n += 2 } - if len(m.Service) > 0 { - i -= len(m.Service) - copy(dAtA[i:], m.Service) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) - i-- - dAtA[i] = 0xa + l = len(m.AccessLogFile) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.DefaultConfig != nil { + l = m.DefaultConfig.Size() + n += 1 + l + sovConfig(uint64(l)) } - return dAtA[:n], nil -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + if m.OutboundTrafficPolicy != nil { + l = m.OutboundTrafficPolicy.Size() + n += 2 + l + sovConfig(uint64(l)) } - if m.MaxEdgesBatchSize != nil { - { - size, err := m.MaxEdgesBatchSize.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + if len(m.ConfigSources) > 0 { + for _, e := range m.ConfigSources { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) } - i-- - dAtA[i] = 0x62 } - if m.MaxPeerCacheSize != nil { - { - size, err := m.MaxPeerCacheSize.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a + l = len(m.AccessLogFormat) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) } - if m.MeshEdgesReportingDuration != nil { - { - size, err := m.MeshEdgesReportingDuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 + l = len(m.TrustDomain) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) } - if m.EnableMeshEdgesReporting { - i-- - if m.EnableMeshEdgesReporting { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x48 + if m.AccessLogEncoding != 0 { + n += 2 + sovConfig(uint64(m.AccessLogEncoding)) } - if m.EnableAuditLog { - i-- - if m.EnableAuditLog { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x40 + if m.TcpKeepalive != nil { + l = m.TcpKeepalive.Size() + n += 2 + l + sovConfig(uint64(l)) } - if m.EnableLogCompression != nil { - { - size, err := m.EnableLogCompression.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + if len(m.DefaultServiceExportTo) > 0 { + for _, s := range m.DefaultServiceExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) } - i-- - dAtA[i] = 0x3a } - if m.LogReportDuration != nil { - { - size, err := m.LogReportDuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + if len(m.DefaultVirtualServiceExportTo) > 0 { + for _, s := range m.DefaultVirtualServiceExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) } - i-- - dAtA[i] = 0x32 } - if m.MaxLogBatchSizeInBytes != nil { - { - size, err := m.MaxLogBatchSizeInBytes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + if len(m.DefaultDestinationRuleExportTo) > 0 { + for _, s := range m.DefaultDestinationRuleExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) } - i-- - dAtA[i] = 0x2a } - if m.MaxTraceMessageEvents != nil { - { - size, err := m.MaxTraceMessageEvents.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 + l = len(m.RootNamespace) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) } - if m.MaxTraceAnnotations != nil { - { - size, err := m.MaxTraceAnnotations.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + if m.LocalityLbSetting != nil { + l = m.LocalityLbSetting.Size() + n += 2 + l + sovConfig(uint64(l)) } - if m.MaxTraceAttributes != nil { - { - size, err := m.MaxTraceAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if m.DnsRefreshRate != nil { + l = m.DnsRefreshRate.Size() + n += 2 + l + sovConfig(uint64(l)) } - if m.Debug { - i-- - if m.Debug { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ConfigSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.SubscribedResources) > 0 { - dAtA38 := make([]byte, len(m.SubscribedResources)*10) - var j37 int - for _, num := range m.SubscribedResources { - for num >= 1<<7 { - dAtA38[j37] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j37++ - } - dAtA38[j37] = uint8(num) - j37++ - } - i -= j37 - copy(dAtA[i:], dAtA38[:j37]) - i = encodeVarintConfig(dAtA, i, uint64(j37)) - i-- - dAtA[i] = 0x1a - } - if m.TlsSettings != nil { - { - size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Certificate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.DnsNames) > 0 { - for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DnsNames[iNdEx]) - copy(dAtA[i:], m.DnsNames[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { - offset -= sovConfig(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MeshConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ProxyListenPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyListenPort)) - } - if m.ProxyHttpPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyHttpPort)) - } - if m.ConnectTimeout != nil { - l = m.ConnectTimeout.Size() - n += 1 + l + sovConfig(uint64(l)) - } - l = len(m.IngressClass) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - l = len(m.IngressService) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.IngressControllerMode != 0 { - n += 1 + sovConfig(uint64(m.IngressControllerMode)) - } - if m.EnableTracing { - n += 2 - } - l = len(m.AccessLogFile) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.DefaultConfig != nil { - l = m.DefaultConfig.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.OutboundTrafficPolicy != nil { - l = m.OutboundTrafficPolicy.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if len(m.ConfigSources) > 0 { - for _, e := range m.ConfigSources { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) - } - } - l = len(m.AccessLogFormat) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - l = len(m.TrustDomain) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - if m.AccessLogEncoding != 0 { - n += 2 + sovConfig(uint64(m.AccessLogEncoding)) - } - if m.TcpKeepalive != nil { - l = m.TcpKeepalive.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if len(m.DefaultServiceExportTo) > 0 { - for _, s := range m.DefaultServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) - } - } - if len(m.DefaultVirtualServiceExportTo) > 0 { - for _, s := range m.DefaultVirtualServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) - } - } - if len(m.DefaultDestinationRuleExportTo) > 0 { - for _, s := range m.DefaultDestinationRuleExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) - } - } - l = len(m.RootNamespace) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - if m.LocalityLbSetting != nil { - l = m.LocalityLbSetting.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.DnsRefreshRate != nil { - l = m.DnsRefreshRate.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.EnableEnvoyAccessLogService { - n += 3 + if m.EnableEnvoyAccessLogService { + n += 3 } if m.H2UpgradePolicy != 0 { n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) @@ -4419,66 +3332,6 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) Size() (n int) { } return n } -func (m *MeshConfig_ExtensionProvider_Opencensus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Opencensus != nil { - l = m.Opencensus.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} -func (m *MeshConfig_ExtensionProvider_Zipkin) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Zipkin != nil { - l = m.Zipkin.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} -func (m *MeshConfig_ExtensionProvider_Lightstep) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Lightstep != nil { - l = m.Lightstep.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} -func (m *MeshConfig_ExtensionProvider_Datadog) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Datadog != nil { - l = m.Datadog.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} -func (m *MeshConfig_ExtensionProvider_Stackdriver) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Stackdriver != nil { - l = m.Stackdriver.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Size() (n int) { if m == nil { return 0 @@ -4553,7 +3406,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Si return n } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Size() (n int) { +func (m *ConfigSource) Size() (n int) { if m == nil { return 0 } @@ -4563,9 +3416,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Size() (n if l > 0 { n += 1 + l + sovConfig(uint64(l)) } - if len(m.Context) > 0 { + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.SubscribedResources) > 0 { l = 0 - for _, e := range m.Context { + for _, e := range m.SubscribedResources { l += sovConfig(uint64(e)) } n += 1 + sovConfig(uint64(l)) + l @@ -4576,159 +3433,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Size() (n return n } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Size() (n int) { +func (m *Certificate) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - l = len(m.AccessToken) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if len(m.PropagationModes) > 0 { - l = 0 - for _, e := range m.PropagationModes { - l += sovConfig(uint64(e)) - } - n += 1 + sovConfig(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Service) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovConfig(uint64(m.Port)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Debug { - n += 2 - } - if m.MaxTraceAttributes != nil { - l = m.MaxTraceAttributes.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.MaxTraceAnnotations != nil { - l = m.MaxTraceAnnotations.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.MaxTraceMessageEvents != nil { - l = m.MaxTraceMessageEvents.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.MaxLogBatchSizeInBytes != nil { - l = m.MaxLogBatchSizeInBytes.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.LogReportDuration != nil { - l = m.LogReportDuration.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.EnableLogCompression != nil { - l = m.EnableLogCompression.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.EnableAuditLog { - n += 2 - } - if m.EnableMeshEdgesReporting { - n += 2 - } - if m.MeshEdgesReportingDuration != nil { - l = m.MeshEdgesReportingDuration.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.MaxPeerCacheSize != nil { - l = m.MaxPeerCacheSize.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.MaxEdgesBatchSize != nil { - l = m.MaxEdgesBatchSize.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ConfigSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.TlsSettings != nil { - l = m.TlsSettings.Size() - n += 1 + l + sovConfig(uint64(l)) - } - if len(m.SubscribedResources) > 0 { - l = 0 - for _, e := range m.SubscribedResources { - l += sovConfig(uint64(e)) - } - n += 1 + sovConfig(uint64(l)) + l - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Certificate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SecretName) + l = len(m.SecretName) if l > 0 { n += 1 + l + sovConfig(uint64(l)) } @@ -4780,885 +3491,10 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } switch fieldNum { case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) - } - m.ProxyListenPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProxyListenPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) - } - m.ProxyHttpPort = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ProxyHttpPort |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnectTimeout == nil { - m.ConnectTimeout = &types.Duration{} - } - if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IngressClass = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IngressService = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) - } - m.IngressControllerMode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableTracing = bool(v != 0) - case 13: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessLogFile = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DefaultConfig == nil { - m.DefaultConfig = &ProxyConfig{} - } - if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.OutboundTrafficPolicy == nil { - m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} - } - if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 22: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) - if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 24: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 26: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TrustDomain = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 27: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) - } - m.AccessLogEncoding = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 28: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TcpKeepalive == nil { - m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} - } - if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 31: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 32: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 33: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 34: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RootNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 35: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LocalityLbSetting == nil { - m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} - } - if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 36: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DnsRefreshRate == nil { - m.DnsRefreshRate = &types.Duration{} - } - if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 40: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableEnvoyAccessLogService = bool(v != 0) - case 41: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) - } - m.H2UpgradePolicy = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 42: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ProtocolDetectionTimeout == nil { - m.ProtocolDetectionTimeout = &types.Duration{} - } - if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 43: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EnableAutoMtls == nil { - m.EnableAutoMtls = &types.BoolValue{} - } - if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 44: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 45: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 46: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 47: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Certificates = append(m.Certificates, &Certificate{}) - if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 49: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) } - var msglen int + m.ProxyListenPort = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5668,33 +3504,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.ProxyListenPort |= int32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThriftConfig == nil { - m.ThriftConfig = &MeshConfig_ThriftConfig{} - } - if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 50: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) } - var msglen int + m.ProxyHttpPort = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5704,29 +3523,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.ProxyHttpPort |= int32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) - if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 51: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5753,16 +3557,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.EnablePrometheusMerge == nil { - m.EnablePrometheusMerge = &types.BoolValue{} + if m.ConnectTimeout == nil { + m.ConnectTimeout = &types.Duration{} } - if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 52: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5790,13 +3594,13 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressSelector = string(dAtA[iNdEx:postIndex]) + m.IngressClass = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 54: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5806,33 +3610,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.VerifyCertificateAtClient == nil { - m.VerifyCertificateAtClient = &types.BoolValue{} - } - if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.IngressService = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 55: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) } - var msglen int + m.IngressControllerMode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5842,31 +3642,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Ca == nil { - m.Ca = &MeshConfig_CA{} - } - if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 56: + case 12: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -5883,12 +3666,12 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { break } } - m.DisableEnvoyListenerLog = bool(v != 0) - case 57: + m.EnableTracing = bool(v != 0) + case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5898,29 +3681,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) - if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AccessLogFile = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 58: + case 14: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5947,14 +3728,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) - if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.DefaultConfig == nil { + m.DefaultConfig = &ProxyConfig{} + } + if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 59: + case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5981,135 +3764,50 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) - if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.OutboundTrafficPolicy == nil { + m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { + if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) } - m.Mode = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) + if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 24: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6137,11 +3835,11 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} + m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 26: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6169,62 +3867,66 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} + m.TrustDomain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err + case 27: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig + m.AccessLogEncoding = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + case 28: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.TcpKeepalive == nil { + m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 31: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6252,13 +3954,13 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) + m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 2: + case 32: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6268,82 +3970,91 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateLimitTimeout == nil { - m.RateLimitTimeout = &types.Duration{} + m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 33: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) } - if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthConfig } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RootNamespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 35: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6370,18 +4081,18 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Settings == nil { - m.Settings = &MeshConfig_ServiceSettings_Settings{} + if m.LocalityLbSetting == nil { + m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} } - if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 36: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6391,78 +4102,31 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.DnsRefreshRate == nil { + m.DnsRefreshRate = &types.Duration{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Settings: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 40: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -6479,63 +4143,12 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { break } } - m.ClusterLocal = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CA: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + m.EnableEnvoyAccessLogService = bool(v != 0) + case 41: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) } - var stringLen uint64 + m.H2UpgradePolicy = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6545,27 +4158,14 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + case 42: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6592,16 +4192,16 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TlsSettings == nil { - m.TlsSettings = &v1alpha3.ClientTLSSettings{} + if m.ProtocolDetectionTimeout == nil { + m.ProtocolDetectionTimeout = &types.Duration{} } - if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 43: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6628,18 +4228,18 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RequestTimeout == nil { - m.RequestTimeout = &types.Duration{} + if m.EnableAutoMtls == nil { + m.EnableAutoMtls = &types.BoolValue{} } - if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) + case 44: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6649,66 +4249,27 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.IstiodSide = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 45: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6736,13 +4297,13 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 46: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6752,30 +4313,27 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} + m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 3: + case 47: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6802,15 +4360,14 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Certificates = append(m.Certificates, &Certificate{}) + if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} iNdEx = postIndex - case 4: + case 49: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Opencensus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6837,15 +4394,16 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.ThriftConfig == nil { + m.ThriftConfig = &MeshConfig_ThriftConfig{} + } + if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Provider = &MeshConfig_ExtensionProvider_Opencensus{v} iNdEx = postIndex - case 5: + case 50: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Zipkin", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6872,15 +4430,14 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) + if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Provider = &MeshConfig_ExtensionProvider_Zipkin{v} iNdEx = postIndex - case 6: + case 51: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lightstep", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6907,17 +4464,18 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.EnablePrometheusMerge == nil { + m.EnablePrometheusMerge = &types.BoolValue{} + } + if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Provider = &MeshConfig_ExtensionProvider_Lightstep{v} iNdEx = postIndex - case 7: + case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Datadog", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -6927,30 +4485,27 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Provider = &MeshConfig_ExtensionProvider_Datadog{v} + m.IngressSelector = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 54: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stackdriver", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6977,68 +4532,18 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_StackdriverProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.VerifyCertificateAtClient == nil { + m.VerifyCertificateAtClient = &types.BoolValue{} } - m.Provider = &MeshConfig_ExtensionProvider_Stackdriver{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { + if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 55: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7048,29 +4553,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) + if m.Ca == nil { + m.Ca = &MeshConfig_CA{} + } + if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 2: + case 56: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) } - m.Port = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7080,16 +4589,17 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: + m.DisableEnvoyListenerLog = bool(v != 0) + case 57: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7099,29 +4609,31 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.PathPrefix = string(dAtA[iNdEx:postIndex]) + m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) + if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + case 58: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7131,17 +4643,31 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.FailOpen = bool(v != 0) - case 5: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) + if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 59: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7151,29 +4677,82 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) + if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - var stringLen uint64 + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + } + m.Mode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7183,27 +4762,65 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 7: + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7231,11 +4848,11 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un if postIndex > l { return io.ErrUnexpectedEOF } - m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) + m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 8: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7263,7 +4880,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un if postIndex > l { return io.ErrUnexpectedEOF } - m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) + m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex default: iNdEx = preIndex @@ -7287,7 +4904,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7310,15 +4927,15 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") + return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7346,52 +4963,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) + m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) - } - m.Port = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Port |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.FailOpen = bool(v != 0) - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7401,23 +4979,27 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) + if m.RateLimitTimeout == nil { + m.RateLimitTimeout = &types.Duration{} + } + if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -7441,7 +5023,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7464,17 +5046,17 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Unmarshal( fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyTracingOpenCensusProvider: wiretype end group for non-group") + return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyTracingOpenCensusProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7484,93 +5066,60 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Unmarshal( } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + if m.Settings == nil { + m.Settings = &MeshConfig_ServiceSettings_Settings{} + } + if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: - if wireType == 0 { - var v MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Context = append(m.Context, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthConfig + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - if elementCount != 0 && len(m.Context) == 0 { - m.Context = make([]MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext, 0, elementCount) - } - for iNdEx < postIndex { - var v MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider_TraceContext(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Context = append(m.Context, v) + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -7593,7 +5142,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingOpenCensusProvider) Unmarshal( } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7616,17 +5165,17 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Unmarshal(dAt fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyTracingDatadogProvider: wiretype end group for non-group") + return fmt.Errorf("proto: Settings: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyTracingDatadogProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7636,24 +5185,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Unmarshal(dAt } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.ClusterLocal = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -7676,7 +5213,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingDatadogProvider) Unmarshal(dAt } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7699,10 +5236,10 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(d fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyTracingLightStepProvider: wiretype end group for non-group") + return fmt.Errorf("proto: CA: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyTracingLightStepProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -7739,9 +5276,9 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(d iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7751,93 +5288,84 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(d } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.AccessToken = string(dAtA[iNdEx:postIndex]) + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} + } + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: - if wireType == 0 { - var v MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode(b&0x7F) << shift - if b < 0x80 { - break - } + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - m.PropagationModes = append(m.PropagationModes, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - if packedLen < 0 { - return ErrInvalidLengthConfig + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthConfig + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RequestTimeout == nil { + m.RequestTimeout = &types.Duration{} + } + if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - if elementCount != 0 && len(m.PropagationModes) == 0 { - m.PropagationModes = make([]MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode, 0, elementCount) - } - for iNdEx < postIndex { - var v MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider_PropagationMode(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PropagationModes = append(m.PropagationModes, v) + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field PropagationModes", wireType) } + m.IstiodSide = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -7860,7 +5388,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingLightStepProvider) Unmarshal(d } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7883,15 +5411,15 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(d fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyTracingZipkinAPIProvider: wiretype end group for non-group") + return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyTracingZipkinAPIProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -7919,13 +5447,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(d if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) } - m.Port = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -7935,11 +5463,62 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(d } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -7962,7 +5541,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyTracingZipkinAPIProvider) Unmarshal(d } return nil } -func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7985,17 +5564,49 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StackdriverProvider: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StackdriverProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Service = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) } - var v int + m.Port = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8005,17 +5616,16 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.Port |= uint32(b&0x7F) << shift if b < 0x80 { break } } - m.Debug = bool(v != 0) - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceAttributes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8025,33 +5635,29 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MaxTraceAttributes == nil { - m.MaxTraceAttributes = &types.Int64Value{} - } - if err := m.MaxTraceAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PathPrefix = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceAnnotations", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8061,33 +5667,17 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MaxTraceAnnotations == nil { - m.MaxTraceAnnotations = &types.Int64Value{} - } - if err := m.MaxTraceAnnotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: + m.FailOpen = bool(v != 0) + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxTraceMessageEvents", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8097,33 +5687,29 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MaxTraceMessageEvents == nil { - m.MaxTraceMessageEvents = &types.Int64Value{} - } - if err := m.MaxTraceMessageEvents.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.StatusOnError = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxLogBatchSizeInBytes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8133,33 +5719,29 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MaxLogBatchSizeInBytes == nil { - m.MaxLogBatchSizeInBytes = &types.Int32Value{} - } - if err := m.MaxLogBatchSizeInBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LogReportDuration", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8169,33 +5751,29 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.LogReportDuration == nil { - m.LogReportDuration = &types.Duration{} - } - if err := m.LogReportDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 7: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableLogCompression", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8205,73 +5783,80 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.EnableLogCompression == nil { - m.EnableLogCompression = &types.BoolValue{} - } - if err := m.EnableLogCompression.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableAuditLog", wireType) + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - m.EnableAuditLog = bool(v != 0) - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableMeshEdgesReporting", wireType) + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - m.EnableMeshEdgesReporting = bool(v != 0) - case 10: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MeshEdgesReportingDuration", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8281,33 +5866,29 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MeshEdgesReportingDuration == nil { - m.MeshEdgesReportingDuration = &types.Duration{} - } - if err := m.MeshEdgesReportingDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Service = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxPeerCacheSize", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) } - var msglen int + m.Port = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8317,33 +5898,36 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Port |= uint32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MaxPeerCacheSize == nil { - m.MaxPeerCacheSize = &types.Int32Value{} + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) } - if err := m.MaxPeerCacheSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex - case 12: + m.FailOpen = bool(v != 0) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxEdgesBatchSize", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -8353,27 +5937,23 @@ func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.MaxEdgesBatchSize == nil { - m.MaxEdgesBatchSize = &types.Int32Value{} - } - if err := m.MaxEdgesBatchSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.StatusOnError = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index c61f100be8..4096253598 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -473,16 +473,6 @@ message MeshConfig { EnvoyExternalAuthorizationHttpProvider envoy_ext_authz_http = 2; // Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API. EnvoyExternalAuthorizationGrpcProvider envoy_ext_authz_grpc = 3; - // Configures an OpenCensus tracing provider. - EnvoyTracingOpenCensusProvider opencensus = 4; - // Configures a tracing provider that implements the Zipkin API. - EnvoyTracingZipkinAPIProvider zipkin = 5; - // Configures an LightStep tracing provider. - EnvoyTracingLightStepProvider lightstep = 6; - // Configures an Datadog tracing provider. - EnvoyTracingDatadogProvider datadog = 7; - // Configures a Stackdriver provider. - StackdriverProvider stackdriver = 8; } message EnvoyExternalAuthorizationHttpProvider { @@ -554,149 +544,6 @@ message MeshConfig { // The default status is "403" (HTTP Forbidden). string status_on_error = 4; } - - // EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to - // an OpenCensus agent backend. See - // [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) - // and - // [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) - // for details. - // $hide_from_docs - message EnvoyTracingOpenCensusProvider { - // REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or - // unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for - // details. - string address = 1; - - // TraceContext selects the context propagation headers used for - // distributed tracing. - // $hide_from_docs - enum TraceContext { - // Unspecified context. Should not be used for now, but added to reserve - // the 0 enum value if TraceContext is used outside of a repeated field. - UNSPECIFIED = 0; - // Use W3C Trace Context propagation using the `traceparent` HTTP header. - // See the - // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. - W3C_TRACE_CONTEXT = 1; - // Use gRPC binary context propagation using the `grpc-trace-bin` http header. - GRPC_BIN = 2; - // Use Cloud Trace context propagation using the - // `X-Cloud-Trace-Context` http header. - CLOUD_TRACE_CONTEXT = 3; - // Use multi-header B3 context propagation using the `X-B3-TraceId`, - // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See - // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) - // for details. - B3 = 4; - } - - // Specifies the set of context propagation headers used for - // distributed tracing. - // $hide_from_docs - repeated TraceContext context = 2; - } - - // $hide_from_docs - message EnvoyTracingDatadogProvider { - // REQUIRED. Address of the Datadog Agent. - string address = 1; - } - - // $hide_from_docs - message EnvoyTracingLightStepProvider { - // REQUIRED. Address of the Lightstep Satellite pool. - string address = 1; - - // REQUIRED. The Lightstep access token. - string access_token = 2; - - // Available propagation modes for trace context - // $hide_from_docs - enum PropagationMode { - // Propagate trace context in the single header x-ot-span-context. - ENVOY = 0; - // Propagate trace context using LightStep's native format. - LIGHTSTEP = 1; - // Propagate trace context using the b3 format. - B3 = 2; - // Propagation trace context using the w3 trace-context standard. - TRACE_CONTEXT = 3; - } - - // Optional. Propagation modes to use by LightStep's tracer. - repeated PropagationMode propagation_modes = 3; - } - - // $hide_from_docs - message EnvoyTracingZipkinAPIProvider { - // REQUIRED. Specifies the service that implements the Zipkin API. - // The format is "[/]". If the is omitted then it is resolved within the same - // namespace as this configuration resource. The is the name of the service object (k8s service or ServiceEntry). - // Example: "foo/zipkin" or "zipkin". - string service = 1; - - // REQUIRED. Specifies the port of the Zipkin API service. - // Typically, this is 9411. - uint32 port = 2; - } - - // $hide_from_docs - message StackdriverProvider { - // debug enables trace output to stdout. - // $hide_from_docs - bool debug = 1; - // The global default max number of attributes per trace span. - // default is 200. - // $hide_from_docs - google.protobuf.Int64Value max_trace_attributes = 2; - // The global default max number of annotation events per trace span. - // default is 200. - // $hide_from_docs - google.protobuf.Int64Value max_trace_annotations = 3; - // The global default max number of message events per trace span. - // default is 200. - // $hide_from_docs - google.protobuf.Int64Value max_trace_message_events = 4; - - // Optional. Allows configuration of the size of the LogWrite request. The - // size is in bytes, so that it allows for better performance. Default is 4MB. - // The size of one log entry within LogWrite request is approx 1Kb. - // $hide_from_docs - google.protobuf.Int32Value max_log_batch_size_in_bytes = 5; - - // Optional. Allows configuration of the time between calls out to the - // Stackdriver logging service to report buffered LogWrite request. - // Customers can choose to report more aggressively by keeping shorter report - // interval if needed. Default is 10s. - // $hide_from_docs - google.protobuf.Duration log_report_duration = 6; - - // Optional. Allows enabling log compression for stackdriver access logs. - // $hide_from_docs - google.protobuf.BoolValue enable_log_compression = 7; - - // Optional. Controls whether to export audit log. - // $hide_from_docs - bool enable_audit_log = 8; - - // Optional. Controls reporting via meshtelemetry.googleapis.com. - // $hide_from_docs - bool enable_mesh_edges_reporting = 9; - - // Optional. Allows configuration of time between flush of accumulated - // edge data. - // $hide_from_docs - google.protobuf.Duration mesh_edges_reporting_duration = 10; - - // Optional. Configures max number of peer info in edge data caches. - // $hide_from_docs - google.protobuf.Int32Value max_peer_cache_size = 11; - - // Optional. Configures max number of edges per batch in requests. - // $hide_from_docs - google.protobuf.Int32Value max_edges_batch_size = 12; - } } // Defines a list of extension providers that extend Istio's functionality. For example, the AuthorizationPolicy diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json index 7b3f69ed0f..5e6c04d598 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json @@ -577,56 +577,6 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } - }, - { - "required": [ - "opencensus" - ], - "properties": { - "opencensus": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider" - } - } - }, - { - "required": [ - "zipkin" - ], - "properties": { - "zipkin": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider" - } - } - }, - { - "required": [ - "lightstep" - ], - "properties": { - "lightstep": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider" - } - } - }, - { - "required": [ - "datadog" - ], - "properties": { - "datadog": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider" - } - } - }, - { - "required": [ - "stackdriver" - ], - "properties": { - "stackdriver": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" - } - } } ] } @@ -650,56 +600,6 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } - }, - { - "required": [ - "opencensus" - ], - "properties": { - "opencensus": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider" - } - } - }, - { - "required": [ - "zipkin" - ], - "properties": { - "zipkin": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider" - } - } - }, - { - "required": [ - "lightstep" - ], - "properties": { - "lightstep": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider" - } - } - }, - { - "required": [ - "datadog" - ], - "properties": { - "datadog": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider" - } - } - }, - { - "required": [ - "stackdriver" - ], - "properties": { - "stackdriver": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" - } - } } ] }, @@ -802,151 +702,6 @@ } } }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider": { - "description": "EnvoyTracingOpenCensusProvider defines configuration for an OpenCensus tracer writing to an OpenCensus agent backend. See [Envoy's OpenCensus trace configuration](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opencensus.proto) and [OpenCensus trace config](https://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/trace/v1/trace_config.proto) for details. $hide_from_docs", - "type": "object", - "properties": { - "context": { - "description": "Specifies the set of context propagation headers used for distributed tracing. $hide_from_docs", - "type": "array", - "items": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext" - } - }, - "address": { - "description": "REQUIRED. gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for details.", - "type": "string", - "format": "string" - } - } - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider": { - "type": "object", - "properties": { - "port": { - "description": "REQUIRED. Specifies the port of the Zipkin API service. Typically, this is 9411.", - "type": "integer" - }, - "service": { - "description": "REQUIRED. Specifies the service that implements the Zipkin API. The format is \"[\u003cNamespace\u003e/]\u003cService\u003e\". If the \u003cNamespace\u003e is omitted then it is resolved within the same namespace as this configuration resource. The \u003cService\u003e is the name of the service object (k8s service or ServiceEntry). Example: \"foo/zipkin\" or \"zipkin\".", - "type": "string", - "format": "string" - } - } - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider": { - "type": "object", - "properties": { - "address": { - "description": "REQUIRED. Address of the Lightstep Satellite pool.", - "type": "string", - "format": "string" - }, - "accessToken": { - "description": "REQUIRED. The Lightstep access token.", - "type": "string", - "format": "string" - }, - "propagationModes": { - "description": "Optional. Propagation modes to use by LightStep's tracer.", - "type": "array", - "items": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode" - } - } - } - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider": { - "type": "object", - "properties": { - "address": { - "description": "REQUIRED. Address of the Datadog Agent.", - "type": "string", - "format": "string" - } - } - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider": { - "type": "object", - "properties": { - "debug": { - "description": "debug enables trace output to stdout. $hide_from_docs", - "type": "boolean" - }, - "maxTraceAttributes": { - "description": "The global default max number of attributes per trace span. default is 200. $hide_from_docs", - "type": "integer", - "nullable": true - }, - "maxTraceAnnotations": { - "description": "The global default max number of annotation events per trace span. default is 200. $hide_from_docs", - "type": "integer", - "nullable": true - }, - "maxTraceMessageEvents": { - "description": "The global default max number of message events per trace span. default is 200. $hide_from_docs", - "type": "integer", - "nullable": true - }, - "maxLogBatchSizeInBytes": { - "description": "Optional. Allows configuration of the size of the LogWrite request. The size is in bytes, so that it allows for better performance. Default is 4MB. The size of one log entry within LogWrite request is approx 1Kb. $hide_from_docs", - "type": "integer", - "nullable": true - }, - "logReportDuration": { - "description": "Optional. Allows configuration of the time between calls out to the Stackdriver logging service to report buffered LogWrite request. Customers can choose to report more aggressively by keeping shorter report interval if needed. Default is 10s. $hide_from_docs", - "type": "string" - }, - "enableLogCompression": { - "description": "Optional. Allows enabling log compression for stackdriver access logs. $hide_from_docs", - "type": "boolean", - "nullable": true - }, - "enableAuditLog": { - "description": "Optional. Controls whether to export audit log. $hide_from_docs", - "type": "boolean" - }, - "enableMeshEdgesReporting": { - "description": "Optional. Controls reporting via meshtelemetry.googleapis.com. $hide_from_docs", - "type": "boolean" - }, - "meshEdgesReportingDuration": { - "description": "Optional. Allows configuration of time between flush of accumulated edge data. $hide_from_docs", - "type": "string" - }, - "maxPeerCacheSize": { - "description": "Optional. Configures max number of peer info in edge data caches. $hide_from_docs", - "type": "integer", - "nullable": true - }, - "maxEdgesBatchSize": { - "description": "Optional. Configures max number of edges per batch in requests. $hide_from_docs", - "type": "integer", - "nullable": true - } - } - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext": { - "description": "TraceContext selects the context propagation headers used for distributed tracing. $hide_from_docs", - "type": "string", - "enum": [ - "UNSPECIFIED", - "W3C_TRACE_CONTEXT", - "GRPC_BIN", - "CLOUD_TRACE_CONTEXT", - "B3" - ] - }, - "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode": { - "description": "Available propagation modes for trace context $hide_from_docs", - "type": "string", - "enum": [ - "ENVOY", - "LIGHTSTEP", - "B3", - "TRACE_CONTEXT" - ] - }, "istio.mesh.v1alpha1.Resource": { "description": "Resource describes the source of configuration", "type": "string", diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 2cdeb1074f..69c3cc48b3 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -961,61 +961,6 @@

MeshConfig.ExtensionProvider

Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API.

-
-No -
opencensusEnvoyTracingOpenCensusProvider (oneof) -

Configures an OpenCensus tracing provider.

- -
-No -
zipkinEnvoyTracingZipkinAPIProvider (oneof) -

Configures a tracing provider that implements the Zipkin API.

- -
-No -
lightstepEnvoyTracingLightStepProvider (oneof) -

Configures an LightStep tracing provider.

- -
-No -
datadogEnvoyTracingDatadogProvider (oneof) -

Configures an Datadog tracing provider.

- -
-No -
stackdriverStackdriverProvider (oneof) -

Configures a Stackdriver provider.

-
No diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 06b5491001..f2f855ef43 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -26,7 +26,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xb7\x39\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xe4\x17\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x12r\n\nopencensus\x18\x04 \x01(\x0b\x32P.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProviderH\x00R\nopencensus\x12i\n\x06zipkin\x18\x05 \x01(\x0b\x32O.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProviderH\x00R\x06zipkin\x12o\n\tlightstep\x18\x06 \x01(\x0b\x32O.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProviderH\x00R\tlightstep\x12i\n\x07\x64\x61tadog\x18\x07 \x01(\x0b\x32M.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProviderH\x00R\x07\x64\x61tadog\x12i\n\x0bstackdriver\x18\x08 \x01(\x0b\x32\x45.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProviderH\x00R\x0bstackdriver\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnError\x1a\x9a\x02\n\x1e\x45nvoyTracingOpenCensusProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12w\n\x07\x63ontext\x18\x02 \x03(\x0e\x32].istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\x37\n\x1b\x45nvoyTracingDatadogProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xb3\x02\n\x1d\x45nvoyTracingLightStepProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12\x8c\x01\n\x11propagation_modes\x18\x03 \x03(\x0e\x32_.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationModeR\x10propagationModes\"F\n\x0fPropagationMode\x12\t\n\x05\x45NVOY\x10\x00\x12\r\n\tLIGHTSTEP\x10\x01\x12\x06\n\x02\x42\x33\x10\x02\x12\x11\n\rTRACE_CONTEXT\x10\x03\x1aM\n\x1d\x45nvoyTracingZipkinAPIProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x1a\xf9\x06\n\x13StackdriverProvider\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12M\n\x14max_trace_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x12maxTraceAttributes\x12O\n\x15max_trace_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x13maxTraceAnnotations\x12T\n\x18max_trace_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxTraceMessageEvents\x12X\n\x1bmax_log_batch_size_in_bytes\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x16maxLogBatchSizeInBytes\x12I\n\x13log_report_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11logReportDuration\x12P\n\x16\x65nable_log_compression\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x14\x65nableLogCompression\x12(\n\x10\x65nable_audit_log\x18\x08 \x01(\x08R\x0e\x65nableAuditLog\x12=\n\x1b\x65nable_mesh_edges_reporting\x18\t \x01(\x08R\x18\x65nableMeshEdgesReporting\x12\\\n\x1dmesh_edges_reporting_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationR\x1ameshEdgesReportingDuration\x12J\n\x13max_peer_cache_size\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x10maxPeerCacheSize\x12L\n\x14max_edges_batch_size\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x11maxEdgesBatchSizeB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xba(\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xe7\x06\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnErrorB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,k8s_dot_io_dot_apimachinery_dot_pkg_dot_apis_dot_meta_dot_v1_dot_generated__pb2.DESCRIPTOR,]) @@ -43,8 +43,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=7877, - serialized_end=7909, + serialized_start=5704, + serialized_end=5736, ) _sym_db.RegisterEnumDescriptor(_RESOURCE) @@ -74,70 +74,6 @@ ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT = _descriptor.EnumDescriptor( - name='TraceContext', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.TraceContext', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNSPECIFIED', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='W3C_TRACE_CONTEXT', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GRPC_BIN', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLOUD_TRACE_CONTEXT', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='B3', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=5401, - serialized_end=5502, -) -_sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT) - -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE = _descriptor.EnumDescriptor( - name='PropagationMode', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.PropagationMode', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='ENVOY', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIGHTSTEP', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='B3', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACE_CONTEXT', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=5799, - serialized_end=5869, -) -_sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE) - _MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor( name='IngressControllerMode', full_name='istio.mesh.v1alpha1.MeshConfig.IngressControllerMode', @@ -163,8 +99,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6854, - serialized_end=6928, + serialized_start=4681, + serialized_end=4755, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -185,8 +121,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6930, - serialized_end=6968, + serialized_start=4757, + serialized_end=4795, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -207,8 +143,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6970, - serialized_end=7009, + serialized_start=4797, + serialized_end=4836, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -229,8 +165,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=7011, - serialized_end=7061, + serialized_start=4838, + serialized_end=4888, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_H2UPGRADEPOLICY) @@ -536,8 +472,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4684, - serialized_end=5059, + serialized_start=4134, + serialized_end=4509, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER = _descriptor.Descriptor( @@ -587,265 +523,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5062, - serialized_end=5217, -) - -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER = _descriptor.Descriptor( - name='EnvoyTracingOpenCensusProvider', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.address', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='address', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='context', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider.context', index=1, - number=2, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='context', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5220, - serialized_end=5502, -) - -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER = _descriptor.Descriptor( - name='EnvoyTracingDatadogProvider', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider.address', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='address', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5504, - serialized_end=5559, -) - -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER = _descriptor.Descriptor( - name='EnvoyTracingLightStepProvider', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.address', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='address', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='access_token', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.access_token', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='accessToken', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='propagation_modes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider.propagation_modes', index=2, - number=3, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='propagationModes', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5562, - serialized_end=5869, -) - -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER = _descriptor.Descriptor( - name='EnvoyTracingZipkinAPIProvider', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='service', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider.service', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='service', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='port', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider.port', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='port', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5871, - serialized_end=5948, -) - -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER = _descriptor.Descriptor( - name='StackdriverProvider', - full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='debug', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.debug', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='debug', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_trace_attributes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_attributes', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxTraceAttributes', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_trace_annotations', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_annotations', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxTraceAnnotations', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_trace_message_events', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_trace_message_events', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxTraceMessageEvents', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_log_batch_size_in_bytes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_log_batch_size_in_bytes', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxLogBatchSizeInBytes', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='log_report_duration', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.log_report_duration', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='logReportDuration', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='enable_log_compression', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_log_compression', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='enableLogCompression', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='enable_audit_log', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_audit_log', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='enableAuditLog', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='enable_mesh_edges_reporting', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.enable_mesh_edges_reporting', index=8, - number=9, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='enableMeshEdgesReporting', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='mesh_edges_reporting_duration', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.mesh_edges_reporting_duration', index=9, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='meshEdgesReportingDuration', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_peer_cache_size', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_peer_cache_size', index=10, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxPeerCacheSize', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_edges_batch_size', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_edges_batch_size', index=11, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxEdgesBatchSize', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5951, - serialized_end=6840, + serialized_start=4512, + serialized_end=4667, ) _MESHCONFIG_EXTENSIONPROVIDER = _descriptor.Descriptor( @@ -876,45 +555,10 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='envoyExtAuthzGrpc', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='opencensus', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.opencensus', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='opencensus', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='zipkin', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.zipkin', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='zipkin', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lightstep', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.lightstep', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='lightstep', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='datadog', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.datadog', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='datadog', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='stackdriver', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.stackdriver', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='stackdriver', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, ], + nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, ], enum_types=[ ], serialized_options=None, @@ -927,7 +571,7 @@ index=0, containing_type=None, fields=[]), ], serialized_start=3808, - serialized_end=6852, + serialized_end=4679, ) _MESHCONFIG = _descriptor.Descriptor( @@ -1227,7 +871,7 @@ oneofs=[ ], serialized_start=241, - serialized_end=7592, + serialized_end=5419, ) @@ -1271,8 +915,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7595, - serialized_end=7798, + serialized_start=5422, + serialized_end=5625, ) @@ -1309,8 +953,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=7800, - serialized_end=7875, + serialized_start=5627, + serialized_end=5702, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -1333,31 +977,8 @@ _MESHCONFIG_CA.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER.fields_by_name['context'].enum_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER_TRACECONTEXT.containing_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER.fields_by_name['propagation_modes'].enum_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER_PROPAGATIONMODE.containing_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_attributes'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_annotations'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_trace_message_events'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_log_batch_size_in_bytes'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['log_report_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['enable_log_compression'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['mesh_edges_reporting_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_peer_cache_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_edges_batch_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http']) @@ -1365,21 +986,6 @@ _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc']) _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] -_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( - _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus']) -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] -_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( - _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin']) -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] -_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( - _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep']) -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] -_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( - _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog']) -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] -_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( - _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver']) -_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] _MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['protocol_detection_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE @@ -1472,41 +1078,6 @@ # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) }) , - - 'EnvoyTracingOpenCensusProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingOpenCensusProvider', (_message.Message,), { - 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGOPENCENSUSPROVIDER, - '__module__' : 'mesh.v1alpha1.config_pb2' - # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider) - }) - , - - 'EnvoyTracingDatadogProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingDatadogProvider', (_message.Message,), { - 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGDATADOGPROVIDER, - '__module__' : 'mesh.v1alpha1.config_pb2' - # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider) - }) - , - - 'EnvoyTracingLightStepProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingLightStepProvider', (_message.Message,), { - 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGLIGHTSTEPPROVIDER, - '__module__' : 'mesh.v1alpha1.config_pb2' - # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider) - }) - , - - 'EnvoyTracingZipkinAPIProvider' : _reflection.GeneratedProtocolMessageType('EnvoyTracingZipkinAPIProvider', (_message.Message,), { - 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ENVOYTRACINGZIPKINAPIPROVIDER, - '__module__' : 'mesh.v1alpha1.config_pb2' - # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider) - }) - , - - 'StackdriverProvider' : _reflection.GeneratedProtocolMessageType('StackdriverProvider', (_message.Message,), { - 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, - '__module__' : 'mesh.v1alpha1.config_pb2' - # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider) - }) - , 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER, '__module__' : 'mesh.v1alpha1.config_pb2' # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider) @@ -1526,11 +1097,6 @@ _sym_db.RegisterMessage(MeshConfig.ExtensionProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) -_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingOpenCensusProvider) -_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingDatadogProvider) -_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingLightStepProvider) -_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyTracingZipkinAPIProvider) -_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.StackdriverProvider) ConfigSource = _reflection.GeneratedProtocolMessageType('ConfigSource', (_message.Message,), { 'DESCRIPTOR' : _CONFIGSOURCE, diff --git a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py index 25f47b65e3..e4da2f3886 100644 --- a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py +++ b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py @@ -21,7 +21,7 @@ package='istio.telemetry.v1alpha1', syntax='proto3', serialized_options=_b('Z\037istio.io/api/telemetry/v1alpha1'), - serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x9f\x01\n\tTelemetry\x12Q\n\x11workload_selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x10workloadSelector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"!\n\x0bProviderRef\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\xfd\x07\n\x07Tracing\x12\x43\n\tproviders\x18\x01 \x03(\x0b\x32%.istio.telemetry.v1alpha1.ProviderRefR\tproviders\x12!\n\x0creport_spans\x18\x02 \x01(\x08R\x0breportSpans\x12,\n\x12include_istio_tags\x18\x03 \x01(\x08R\x10includeIstioTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x05 \x01(\rR\x10maxPathTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xf8\x01\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xbc\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"Q\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x10\n\x0cNEVER_SAMPLE\x10\x01\x12\x11\n\rALWAYS_SAMPLE\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') + serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x9f\x01\n\tTelemetry\x12Q\n\x11workload_selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x10workloadSelector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"\x83\x0b\n\x07Tracing\x12!\n\x0creport_spans\x18\x02 \x01(\x08R\x0breportSpans\x12,\n\x12include_istio_tags\x18\x03 \x01(\x08R\x10includeIstioTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x05 \x01(\rR\x10maxPathTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xc2\x02\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06header\x12H\n\x08metadata\x18\x04 \x01(\x0b\x32*.istio.telemetry.v1alpha1.Tracing.MetadataH\x00R\x08metadataB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\xfe\x02\n\x08Metadata\x12\x43\n\x04kind\x18\x01 \x01(\x0e\x32/.istio.telemetry.v1alpha1.Tracing.Metadata.KindR\x04kind\x12@\n\x03key\x18\x02 \x01(\x0b\x32..istio.telemetry.v1alpha1.Tracing.Metadata.KeyR\x03key\x12#\n\rdefault_value\x18\x03 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x8e\x01\n\x03Key\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12T\n\x07segment\x18\x02 \x03(\x0b\x32:.istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegmentR\x07segment\x1a\x1f\n\x0bPathSegment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"5\n\x04Kind\x12\x0b\n\x07REQUEST\x10\x00\x12\t\n\x05ROUTE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x08\n\x04HOST\x10\x03\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xae\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"C\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\t\n\x05NEVER\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') , dependencies=[type_dot_v1beta1_dot_selector__pb2.DESCRIPTOR,]) @@ -53,6 +53,36 @@ ) _sym_db.RegisterEnumDescriptor(_TELEMETRYRULEMATCH_TRAFFICDIRECTION) +_TRACING_METADATA_KIND = _descriptor.EnumDescriptor( + name='Kind', + full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Kind', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='REQUEST', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ROUTE', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLUSTER', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='HOST', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=1920, + serialized_end=1973, +) +_sym_db.RegisterEnumDescriptor(_TRACING_METADATA_KIND) + _CONSTANTSAMPLER_CONSTANTDECISION = _descriptor.EnumDescriptor( name='ConstantDecision', full_name='istio.telemetry.v1alpha1.ConstantSampler.ConstantDecision', @@ -64,18 +94,18 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='NEVER_SAMPLE', index=1, number=1, + name='NEVER', index=1, number=1, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='ALWAYS_SAMPLE', index=2, number=2, + name='ALWAYS', index=2, number=2, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, - serialized_start=1847, - serialized_end=1928, + serialized_start=2202, + serialized_end=2269, ) _sym_db.RegisterEnumDescriptor(_CONSTANTSAMPLER_CONSTANTDECISION) @@ -226,37 +256,6 @@ ) -_PROVIDERREF = _descriptor.Descriptor( - name='ProviderRef', - full_name='istio.telemetry.v1alpha1.ProviderRef', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='istio.telemetry.v1alpha1.ProviderRef.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='name', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=680, - serialized_end=713, -) - - _TRACING_CUSTOMTAG = _descriptor.Descriptor( name='CustomTag', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag', @@ -285,6 +284,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='header', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='metadata', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.metadata', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='metadata', file=DESCRIPTOR), ], extensions=[ ], @@ -300,8 +306,8 @@ name='type', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.type', index=0, containing_type=None, fields=[]), ], - serialized_start=1191, - serialized_end=1439, + serialized_start=1087, + serialized_end=1409, ) _TRACING_LITERAL = _descriptor.Descriptor( @@ -330,8 +336,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1441, - serialized_end=1472, + serialized_start=1411, + serialized_end=1442, ) _TRACING_ENVIRONMENT = _descriptor.Descriptor( @@ -367,8 +373,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1474, - serialized_end=1544, + serialized_start=1444, + serialized_end=1514, ) _TRACING_REQUESTHEADER = _descriptor.Descriptor( @@ -404,8 +410,120 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1546, - serialized_end=1618, + serialized_start=1516, + serialized_end=1588, +) + +_TRACING_METADATA_KEY_PATHSEGMENT = _descriptor.Descriptor( + name='PathSegment', + full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='key', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1887, + serialized_end=1918, +) + +_TRACING_METADATA_KEY = _descriptor.Descriptor( + name='Key', + full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='key', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='segment', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.segment', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='segment', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_TRACING_METADATA_KEY_PATHSEGMENT, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1776, + serialized_end=1918, +) + +_TRACING_METADATA = _descriptor.Descriptor( + name='Metadata', + full_name='istio.telemetry.v1alpha1.Tracing.Metadata', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='kind', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.kind', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='kind', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.key', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='key', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='default_value', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.default_value', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='defaultValue', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_TRACING_METADATA_KEY, ], + enum_types=[ + _TRACING_METADATA_KIND, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1591, + serialized_end=1973, ) _TRACING_CUSTOMTAGSENTRY = _descriptor.Descriptor( @@ -441,8 +559,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1620, - serialized_end=1726, + serialized_start=1975, + serialized_end=2081, ) _TRACING = _descriptor.Descriptor( @@ -453,49 +571,42 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='providers', full_name='istio.telemetry.v1alpha1.Tracing.providers', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='providers', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='report_spans', full_name='istio.telemetry.v1alpha1.Tracing.report_spans', index=1, + name='report_spans', full_name='istio.telemetry.v1alpha1.Tracing.report_spans', index=0, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='reportSpans', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='include_istio_tags', full_name='istio.telemetry.v1alpha1.Tracing.include_istio_tags', index=2, + name='include_istio_tags', full_name='istio.telemetry.v1alpha1.Tracing.include_istio_tags', index=1, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='includeIstioTags', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_tags', full_name='istio.telemetry.v1alpha1.Tracing.custom_tags', index=3, + name='custom_tags', full_name='istio.telemetry.v1alpha1.Tracing.custom_tags', index=2, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='customTags', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='max_path_tag_length', full_name='istio.telemetry.v1alpha1.Tracing.max_path_tag_length', index=4, + name='max_path_tag_length', full_name='istio.telemetry.v1alpha1.Tracing.max_path_tag_length', index=3, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='maxPathTagLength', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='constant_sampler', full_name='istio.telemetry.v1alpha1.Tracing.constant_sampler', index=5, + name='constant_sampler', full_name='istio.telemetry.v1alpha1.Tracing.constant_sampler', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='constantSampler', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percentage_sampler', full_name='istio.telemetry.v1alpha1.Tracing.percentage_sampler', index=6, + name='percentage_sampler', full_name='istio.telemetry.v1alpha1.Tracing.percentage_sampler', index=5, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -504,7 +615,7 @@ ], extensions=[ ], - nested_types=[_TRACING_CUSTOMTAG, _TRACING_LITERAL, _TRACING_ENVIRONMENT, _TRACING_REQUESTHEADER, _TRACING_CUSTOMTAGSENTRY, ], + nested_types=[_TRACING_CUSTOMTAG, _TRACING_LITERAL, _TRACING_ENVIRONMENT, _TRACING_REQUESTHEADER, _TRACING_METADATA, _TRACING_CUSTOMTAGSENTRY, ], enum_types=[ ], serialized_options=None, @@ -516,8 +627,8 @@ name='sampler', full_name='istio.telemetry.v1alpha1.Tracing.sampler', index=0, containing_type=None, fields=[]), ], - serialized_start=716, - serialized_end=1737, + serialized_start=681, + serialized_end=2092, ) @@ -548,8 +659,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1740, - serialized_end=1928, + serialized_start=2095, + serialized_end=2269, ) @@ -579,8 +690,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1930, - serialized_end=1973, + serialized_start=2271, + serialized_end=2314, ) _TELEMETRY.fields_by_name['workload_selector'].message_type = type_dot_v1beta1_dot_selector__pb2._WORKLOADSELECTOR @@ -593,6 +704,7 @@ _TRACING_CUSTOMTAG.fields_by_name['literal'].message_type = _TRACING_LITERAL _TRACING_CUSTOMTAG.fields_by_name['environment'].message_type = _TRACING_ENVIRONMENT _TRACING_CUSTOMTAG.fields_by_name['header'].message_type = _TRACING_REQUESTHEADER +_TRACING_CUSTOMTAG.fields_by_name['metadata'].message_type = _TRACING_METADATA _TRACING_CUSTOMTAG.containing_type = _TRACING _TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( _TRACING_CUSTOMTAG.fields_by_name['literal']) @@ -603,12 +715,21 @@ _TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( _TRACING_CUSTOMTAG.fields_by_name['header']) _TRACING_CUSTOMTAG.fields_by_name['header'].containing_oneof = _TRACING_CUSTOMTAG.oneofs_by_name['type'] +_TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( + _TRACING_CUSTOMTAG.fields_by_name['metadata']) +_TRACING_CUSTOMTAG.fields_by_name['metadata'].containing_oneof = _TRACING_CUSTOMTAG.oneofs_by_name['type'] _TRACING_LITERAL.containing_type = _TRACING _TRACING_ENVIRONMENT.containing_type = _TRACING _TRACING_REQUESTHEADER.containing_type = _TRACING +_TRACING_METADATA_KEY_PATHSEGMENT.containing_type = _TRACING_METADATA_KEY +_TRACING_METADATA_KEY.fields_by_name['segment'].message_type = _TRACING_METADATA_KEY_PATHSEGMENT +_TRACING_METADATA_KEY.containing_type = _TRACING_METADATA +_TRACING_METADATA.fields_by_name['kind'].enum_type = _TRACING_METADATA_KIND +_TRACING_METADATA.fields_by_name['key'].message_type = _TRACING_METADATA_KEY +_TRACING_METADATA.containing_type = _TRACING +_TRACING_METADATA_KIND.containing_type = _TRACING_METADATA _TRACING_CUSTOMTAGSENTRY.fields_by_name['value'].message_type = _TRACING_CUSTOMTAG _TRACING_CUSTOMTAGSENTRY.containing_type = _TRACING -_TRACING.fields_by_name['providers'].message_type = _PROVIDERREF _TRACING.fields_by_name['custom_tags'].message_type = _TRACING_CUSTOMTAGSENTRY _TRACING.fields_by_name['constant_sampler'].message_type = _CONSTANTSAMPLER _TRACING.fields_by_name['percentage_sampler'].message_type = _PERCENTAGESAMPLER @@ -624,7 +745,6 @@ DESCRIPTOR.message_types_by_name['TracingRule'] = _TRACINGRULE DESCRIPTOR.message_types_by_name['TelemetryRuleMatch'] = _TELEMETRYRULEMATCH DESCRIPTOR.message_types_by_name['Port'] = _PORT -DESCRIPTOR.message_types_by_name['ProviderRef'] = _PROVIDERREF DESCRIPTOR.message_types_by_name['Tracing'] = _TRACING DESCRIPTOR.message_types_by_name['ConstantSampler'] = _CONSTANTSAMPLER DESCRIPTOR.message_types_by_name['PercentageSampler'] = _PERCENTAGESAMPLER @@ -658,13 +778,6 @@ }) _sym_db.RegisterMessage(Port) -ProviderRef = _reflection.GeneratedProtocolMessageType('ProviderRef', (_message.Message,), { - 'DESCRIPTOR' : _PROVIDERREF, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.ProviderRef) - }) -_sym_db.RegisterMessage(ProviderRef) - Tracing = _reflection.GeneratedProtocolMessageType('Tracing', (_message.Message,), { 'CustomTag' : _reflection.GeneratedProtocolMessageType('CustomTag', (_message.Message,), { @@ -695,6 +808,27 @@ }) , + 'Metadata' : _reflection.GeneratedProtocolMessageType('Metadata', (_message.Message,), { + + 'Key' : _reflection.GeneratedProtocolMessageType('Key', (_message.Message,), { + + 'PathSegment' : _reflection.GeneratedProtocolMessageType('PathSegment', (_message.Message,), { + 'DESCRIPTOR' : _TRACING_METADATA_KEY_PATHSEGMENT, + '__module__' : 'telemetry.v1alpha1.telemetry_pb2' + # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment) + }) + , + 'DESCRIPTOR' : _TRACING_METADATA_KEY, + '__module__' : 'telemetry.v1alpha1.telemetry_pb2' + # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata.Key) + }) + , + 'DESCRIPTOR' : _TRACING_METADATA, + '__module__' : 'telemetry.v1alpha1.telemetry_pb2' + # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata) + }) + , + 'CustomTagsEntry' : _reflection.GeneratedProtocolMessageType('CustomTagsEntry', (_message.Message,), { 'DESCRIPTOR' : _TRACING_CUSTOMTAGSENTRY, '__module__' : 'telemetry.v1alpha1.telemetry_pb2' @@ -710,6 +844,9 @@ _sym_db.RegisterMessage(Tracing.Literal) _sym_db.RegisterMessage(Tracing.Environment) _sym_db.RegisterMessage(Tracing.RequestHeader) +_sym_db.RegisterMessage(Tracing.Metadata) +_sym_db.RegisterMessage(Tracing.Metadata.Key) +_sym_db.RegisterMessage(Tracing.Metadata.Key.PathSegment) _sym_db.RegisterMessage(Tracing.CustomTagsEntry) ConstantSampler = _reflection.GeneratedProtocolMessageType('ConstantSampler', (_message.Message,), { diff --git a/telemetry/v1alpha1/telemetry.pb.go b/telemetry/v1alpha1/telemetry.pb.go index ca5eb084e2..0a1b28a723 100644 --- a/telemetry/v1alpha1/telemetry.pb.go +++ b/telemetry/v1alpha1/telemetry.pb.go @@ -60,6 +60,41 @@ func (TelemetryRuleMatch_TrafficDirection) EnumDescriptor() ([]byte, []int) { return fileDescriptor_991c84745e2b7651, []int{2, 0} } +type Tracing_Metadata_Kind int32 + +const ( + // Represents dynamic metadata associated with the request + Tracing_Metadata_REQUEST Tracing_Metadata_Kind = 0 + // Represents metadata from the route. + Tracing_Metadata_ROUTE Tracing_Metadata_Kind = 1 + // Represents metadata from the upstream cluster. + Tracing_Metadata_CLUSTER Tracing_Metadata_Kind = 2 + // Represents metadata from the upstream host. + Tracing_Metadata_HOST Tracing_Metadata_Kind = 3 +) + +var Tracing_Metadata_Kind_name = map[int32]string{ + 0: "REQUEST", + 1: "ROUTE", + 2: "CLUSTER", + 3: "HOST", +} + +var Tracing_Metadata_Kind_value = map[string]int32{ + "REQUEST": 0, + "ROUTE": 1, + "CLUSTER": 2, + "HOST": 3, +} + +func (x Tracing_Metadata_Kind) String() string { + return proto.EnumName(Tracing_Metadata_Kind_name, int32(x)) +} + +func (Tracing_Metadata_Kind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{4, 4, 0} +} + // ConstantDecision controls the behavior of the ConstantSampler. type ConstantSampler_ConstantDecision int32 @@ -69,23 +104,23 @@ const ( // Ignore all sidecar traffic for the purposes of telemetry generation. // For tracing, this means that the sidecar will never generate trace spans // for traffic without an existing trace context. - ConstantSampler_NEVER_SAMPLE ConstantSampler_ConstantDecision = 1 + ConstantSampler_NEVER ConstantSampler_ConstantDecision = 1 // Consider all sidecar traffic for the purposes of telemetry generation. // For tracing, this will generate trace spans for traffic without an // existing trace context. - ConstantSampler_ALWAYS_SAMPLE ConstantSampler_ConstantDecision = 2 + ConstantSampler_ALWAYS ConstantSampler_ConstantDecision = 2 ) var ConstantSampler_ConstantDecision_name = map[int32]string{ 0: "DECISION_UNSPECIFIED", - 1: "NEVER_SAMPLE", - 2: "ALWAYS_SAMPLE", + 1: "NEVER", + 2: "ALWAYS", } var ConstantSampler_ConstantDecision_value = map[string]int32{ "DECISION_UNSPECIFIED": 0, - "NEVER_SAMPLE": 1, - "ALWAYS_SAMPLE": 2, + "NEVER": 1, + "ALWAYS": 2, } func (x ConstantSampler_ConstantDecision) String() string { @@ -93,7 +128,7 @@ func (x ConstantSampler_ConstantDecision) String() string { } func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{6, 0} + return fileDescriptor_991c84745e2b7651, []int{5, 0} } // Telemetry defines the telemetry generation policies for workloads within a mesh. @@ -115,7 +150,7 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // // Examples: // -// Policy to enable sending trace data to a Zipkin backend for 10% of all traffic: +// Policy to enable random sampling for 10% of all traffic: // ```yaml // apiVersion: telemetry.istio.io/v1beta1 // kind: Telemetry @@ -126,8 +161,6 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // tracing: // - match: {} # apply to all traffic // config: -// providers: -// - name: "zipkin" // reportSpans: true // percentageSampler: // target: 10.00 @@ -151,8 +184,6 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // port: // number: 8090 // config: -// providers: -// - name: "zipkin" // reportSpans: false // ``` // @@ -409,64 +440,10 @@ func (m *Port) GetNumber() uint32 { return 0 } -// Used to bind Telemetry configuration to specific providers for -// targeted customization. -type ProviderRef struct { - // Required. Name of Telemetry provider in MeshConfig. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProviderRef) Reset() { *m = ProviderRef{} } -func (m *ProviderRef) String() string { return proto.CompactTextString(m) } -func (*ProviderRef) ProtoMessage() {} -func (*ProviderRef) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{4} -} -func (m *ProviderRef) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProviderRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProviderRef.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProviderRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProviderRef.Merge(m, src) -} -func (m *ProviderRef) XXX_Size() int { - return m.Size() -} -func (m *ProviderRef) XXX_DiscardUnknown() { - xxx_messageInfo_ProviderRef.DiscardUnknown(m) -} - -var xxx_messageInfo_ProviderRef proto.InternalMessageInfo - -func (m *ProviderRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - // Tracing defines the workload-level overrides for tracing behavior within // a mesh. It can be used to enable/disable tracing, as well as to set sampling // rates and custom tag extraction. type Tracing struct { - // Required. Name of providers to which this configuration should apply. At - // least one provider needs to be specified. - // NOTE: Only a single provider is currently supported. - Providers []*ProviderRef `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // Enables the tracing functionality. When this is set to `true`, the // sidecar will report spans to a configured backend for all traffic with a trace // context that specifies the trace is sampled. Additionally, spans will be @@ -500,7 +477,7 @@ func (m *Tracing) Reset() { *m = Tracing{} } func (m *Tracing) String() string { return proto.CompactTextString(m) } func (*Tracing) ProtoMessage() {} func (*Tracing) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5} + return fileDescriptor_991c84745e2b7651, []int{4} } func (m *Tracing) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -552,13 +529,6 @@ func (m *Tracing) GetSampler() isTracing_Sampler { return nil } -func (m *Tracing) GetProviders() []*ProviderRef { - if m != nil { - return m.Providers - } - return nil -} - func (m *Tracing) GetReportSpans() bool { if m != nil { return m.ReportSpans @@ -618,6 +588,7 @@ type Tracing_CustomTag struct { // *Tracing_CustomTag_Literal // *Tracing_CustomTag_Environment // *Tracing_CustomTag_Header + // *Tracing_CustomTag_Metadata Type isTracing_CustomTag_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -628,7 +599,7 @@ func (m *Tracing_CustomTag) Reset() { *m = Tracing_CustomTag{} } func (m *Tracing_CustomTag) String() string { return proto.CompactTextString(m) } func (*Tracing_CustomTag) ProtoMessage() {} func (*Tracing_CustomTag) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5, 0} + return fileDescriptor_991c84745e2b7651, []int{4, 0} } func (m *Tracing_CustomTag) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -672,10 +643,14 @@ type Tracing_CustomTag_Environment struct { type Tracing_CustomTag_Header struct { Header *Tracing_RequestHeader `protobuf:"bytes,3,opt,name=header,proto3,oneof" json:"header,omitempty"` } +type Tracing_CustomTag_Metadata struct { + Metadata *Tracing_Metadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` +} func (*Tracing_CustomTag_Literal) isTracing_CustomTag_Type() {} func (*Tracing_CustomTag_Environment) isTracing_CustomTag_Type() {} func (*Tracing_CustomTag_Header) isTracing_CustomTag_Type() {} +func (*Tracing_CustomTag_Metadata) isTracing_CustomTag_Type() {} func (m *Tracing_CustomTag) GetType() isTracing_CustomTag_Type { if m != nil { @@ -705,12 +680,20 @@ func (m *Tracing_CustomTag) GetHeader() *Tracing_RequestHeader { return nil } +func (m *Tracing_CustomTag) GetMetadata() *Tracing_Metadata { + if x, ok := m.GetType().(*Tracing_CustomTag_Metadata); ok { + return x.Metadata + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*Tracing_CustomTag) XXX_OneofWrappers() []interface{} { return []interface{}{ (*Tracing_CustomTag_Literal)(nil), (*Tracing_CustomTag_Environment)(nil), (*Tracing_CustomTag_Header)(nil), + (*Tracing_CustomTag_Metadata)(nil), } } @@ -726,7 +709,7 @@ func (m *Tracing_Literal) Reset() { *m = Tracing_Literal{} } func (m *Tracing_Literal) String() string { return proto.CompactTextString(m) } func (*Tracing_Literal) ProtoMessage() {} func (*Tracing_Literal) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5, 1} + return fileDescriptor_991c84745e2b7651, []int{4, 1} } func (m *Tracing_Literal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -777,7 +760,7 @@ func (m *Tracing_Environment) Reset() { *m = Tracing_Environment{} } func (m *Tracing_Environment) String() string { return proto.CompactTextString(m) } func (*Tracing_Environment) ProtoMessage() {} func (*Tracing_Environment) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5, 2} + return fileDescriptor_991c84745e2b7651, []int{4, 2} } func (m *Tracing_Environment) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -835,7 +818,7 @@ func (m *Tracing_RequestHeader) Reset() { *m = Tracing_RequestHeader{} } func (m *Tracing_RequestHeader) String() string { return proto.CompactTextString(m) } func (*Tracing_RequestHeader) ProtoMessage() {} func (*Tracing_RequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5, 3} + return fileDescriptor_991c84745e2b7651, []int{4, 3} } func (m *Tracing_RequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -878,6 +861,183 @@ func (m *Tracing_RequestHeader) GetDefaultValue() string { return "" } +// Retrieve the protobuf value from Metadata, and populate the tag +// value with the canonical JSON representation of it. +type Tracing_Metadata struct { + // Kind of metadata from which to obtain tag value. + Kind Tracing_Metadata_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=istio.telemetry.v1alpha1.Tracing_Metadata_Kind" json:"kind,omitempty"` + // Defines the path used to retrieve the tag value. + Key *Tracing_Metadata_Key `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + // Optional. If the key is not found, this value will be + // used instead. + DefaultValue string `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_Metadata) Reset() { *m = Tracing_Metadata{} } +func (m *Tracing_Metadata) String() string { return proto.CompactTextString(m) } +func (*Tracing_Metadata) ProtoMessage() {} +func (*Tracing_Metadata) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{4, 4} +} +func (m *Tracing_Metadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_Metadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_Metadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_Metadata.Merge(m, src) +} +func (m *Tracing_Metadata) XXX_Size() int { + return m.Size() +} +func (m *Tracing_Metadata) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_Metadata.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_Metadata proto.InternalMessageInfo + +func (m *Tracing_Metadata) GetKind() Tracing_Metadata_Kind { + if m != nil { + return m.Kind + } + return Tracing_Metadata_REQUEST +} + +func (m *Tracing_Metadata) GetKey() *Tracing_Metadata_Key { + if m != nil { + return m.Key + } + return nil +} + +func (m *Tracing_Metadata) GetDefaultValue() string { + if m != nil { + return m.DefaultValue + } + return "" +} + +type Tracing_Metadata_Key struct { + // Required. The key name of Metadata to retrieve the Struct from the + // metadata. Typically, it represents a builtin subsystem or custom + // extension. + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Required. Specifies the segment in a path to retrieve the value. + Segment []*Tracing_Metadata_Key_PathSegment `protobuf:"bytes,2,rep,name=segment,proto3" json:"segment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_Metadata_Key) Reset() { *m = Tracing_Metadata_Key{} } +func (m *Tracing_Metadata_Key) String() string { return proto.CompactTextString(m) } +func (*Tracing_Metadata_Key) ProtoMessage() {} +func (*Tracing_Metadata_Key) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{4, 4, 0} +} +func (m *Tracing_Metadata_Key) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_Metadata_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_Metadata_Key.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_Metadata_Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_Metadata_Key.Merge(m, src) +} +func (m *Tracing_Metadata_Key) XXX_Size() int { + return m.Size() +} +func (m *Tracing_Metadata_Key) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_Metadata_Key.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_Metadata_Key proto.InternalMessageInfo + +func (m *Tracing_Metadata_Key) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *Tracing_Metadata_Key) GetSegment() []*Tracing_Metadata_Key_PathSegment { + if m != nil { + return m.Segment + } + return nil +} + +// One segment of a path to a Metadata value. +type Tracing_Metadata_Key_PathSegment struct { + // Key to retrieve the value in a Struct. + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tracing_Metadata_Key_PathSegment) Reset() { *m = Tracing_Metadata_Key_PathSegment{} } +func (m *Tracing_Metadata_Key_PathSegment) String() string { return proto.CompactTextString(m) } +func (*Tracing_Metadata_Key_PathSegment) ProtoMessage() {} +func (*Tracing_Metadata_Key_PathSegment) Descriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{4, 4, 0, 0} +} +func (m *Tracing_Metadata_Key_PathSegment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Tracing_Metadata_Key_PathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Tracing_Metadata_Key_PathSegment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Tracing_Metadata_Key_PathSegment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tracing_Metadata_Key_PathSegment.Merge(m, src) +} +func (m *Tracing_Metadata_Key_PathSegment) XXX_Size() int { + return m.Size() +} +func (m *Tracing_Metadata_Key_PathSegment) XXX_DiscardUnknown() { + xxx_messageInfo_Tracing_Metadata_Key_PathSegment.DiscardUnknown(m) +} + +var xxx_messageInfo_Tracing_Metadata_Key_PathSegment proto.InternalMessageInfo + +func (m *Tracing_Metadata_Key_PathSegment) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + // A sampler that makes uniform decisions for all Sidecar traffic. type ConstantSampler struct { // Controls the behavior of the sampler. @@ -891,7 +1051,7 @@ func (m *ConstantSampler) Reset() { *m = ConstantSampler{} } func (m *ConstantSampler) String() string { return proto.CompactTextString(m) } func (*ConstantSampler) ProtoMessage() {} func (*ConstantSampler) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{6} + return fileDescriptor_991c84745e2b7651, []int{5} } func (m *ConstantSampler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -951,7 +1111,7 @@ func (m *PercentageSampler) Reset() { *m = PercentageSampler{} } func (m *PercentageSampler) String() string { return proto.CompactTextString(m) } func (*PercentageSampler) ProtoMessage() {} func (*PercentageSampler) Descriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{7} + return fileDescriptor_991c84745e2b7651, []int{6} } func (m *PercentageSampler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -989,18 +1149,21 @@ func (m *PercentageSampler) GetTarget() float64 { func init() { proto.RegisterEnum("istio.telemetry.v1alpha1.TelemetryRuleMatch_TrafficDirection", TelemetryRuleMatch_TrafficDirection_name, TelemetryRuleMatch_TrafficDirection_value) + proto.RegisterEnum("istio.telemetry.v1alpha1.Tracing_Metadata_Kind", Tracing_Metadata_Kind_name, Tracing_Metadata_Kind_value) proto.RegisterEnum("istio.telemetry.v1alpha1.ConstantSampler_ConstantDecision", ConstantSampler_ConstantDecision_name, ConstantSampler_ConstantDecision_value) proto.RegisterType((*Telemetry)(nil), "istio.telemetry.v1alpha1.Telemetry") proto.RegisterType((*TracingRule)(nil), "istio.telemetry.v1alpha1.TracingRule") proto.RegisterType((*TelemetryRuleMatch)(nil), "istio.telemetry.v1alpha1.TelemetryRuleMatch") proto.RegisterType((*Port)(nil), "istio.telemetry.v1alpha1.Port") - proto.RegisterType((*ProviderRef)(nil), "istio.telemetry.v1alpha1.ProviderRef") proto.RegisterType((*Tracing)(nil), "istio.telemetry.v1alpha1.Tracing") proto.RegisterMapType((map[string]*Tracing_CustomTag)(nil), "istio.telemetry.v1alpha1.Tracing.CustomTagsEntry") proto.RegisterType((*Tracing_CustomTag)(nil), "istio.telemetry.v1alpha1.Tracing.CustomTag") proto.RegisterType((*Tracing_Literal)(nil), "istio.telemetry.v1alpha1.Tracing.Literal") proto.RegisterType((*Tracing_Environment)(nil), "istio.telemetry.v1alpha1.Tracing.Environment") proto.RegisterType((*Tracing_RequestHeader)(nil), "istio.telemetry.v1alpha1.Tracing.RequestHeader") + proto.RegisterType((*Tracing_Metadata)(nil), "istio.telemetry.v1alpha1.Tracing.Metadata") + proto.RegisterType((*Tracing_Metadata_Key)(nil), "istio.telemetry.v1alpha1.Tracing.Metadata.Key") + proto.RegisterType((*Tracing_Metadata_Key_PathSegment)(nil), "istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment") proto.RegisterType((*ConstantSampler)(nil), "istio.telemetry.v1alpha1.ConstantSampler") proto.RegisterType((*PercentageSampler)(nil), "istio.telemetry.v1alpha1.PercentageSampler") } @@ -1010,63 +1173,70 @@ func init() { } var fileDescriptor_991c84745e2b7651 = []byte{ - // 883 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xdd, 0x6e, 0x1a, 0xc7, - 0x1b, 0xc6, 0x59, 0x8c, 0xc1, 0xbc, 0xd8, 0xf1, 0xf2, 0xfe, 0xa3, 0xbf, 0x90, 0x2b, 0x91, 0x78, - 0xdb, 0x4a, 0x89, 0x12, 0x83, 0x70, 0x4f, 0xda, 0x48, 0x55, 0xc5, 0xc7, 0x46, 0x20, 0x11, 0x8c, - 0x07, 0xec, 0xa8, 0x55, 0xa5, 0xd5, 0x78, 0x19, 0x60, 0x93, 0xfd, 0xea, 0xec, 0x40, 0xe2, 0x7b, - 0xe8, 0x3d, 0xf4, 0x46, 0x7a, 0x01, 0x3d, 0xec, 0x25, 0x54, 0xbe, 0x89, 0xf6, 0xa4, 0x52,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xba, 0x86, 0x65, 0x38, 0x68, 0xf6, 0x5f, 0x37, 0xbf, - 0x1d, 0xa5, 0x52, 0xd6, 0x78, 0x06, 0xe5, 0x3b, 0xa7, 0x21, 0xbe, 0x0e, 0x05, 0xe5, 0x33, 0x26, - 0x64, 0x7a, 0x8d, 0xa8, 0x51, 0xeb, 0xe4, 0x97, 0x9b, 0xaa, 0xf6, 0xeb, 0x4d, 0x55, 0xfb, 0xed, - 0xa6, 0xaa, 0x7d, 0xf7, 0x28, 0x59, 0x92, 0x13, 0xd4, 0x69, 0xe8, 0xd4, 0xef, 0xfe, 0xcf, 0xaf, - 0xf2, 0xf2, 0x7f, 0xfc, 0xc5, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x00, 0x06, 0x80, 0xec, - 0x07, 0x00, 0x00, + // 993 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xdf, 0x6e, 0x1a, 0xc7, + 0x17, 0xc7, 0x59, 0xc0, 0x80, 0x0f, 0x76, 0xbc, 0x9e, 0x5f, 0xf4, 0x13, 0xa2, 0x92, 0x9d, 0x6c, + 0x5b, 0x29, 0x69, 0xe2, 0x45, 0x76, 0x55, 0xa9, 0xb5, 0x54, 0xb5, 0x06, 0x36, 0x02, 0x85, 0x80, + 0x3d, 0xbb, 0x38, 0x6a, 0x55, 0x69, 0x35, 0x5e, 0xc6, 0xb0, 0xf1, 0xfe, 0xeb, 0xee, 0xe0, 0x84, + 0xeb, 0xde, 0x56, 0x7d, 0x85, 0xbe, 0x41, 0x1f, 0xa2, 0x57, 0xbd, 0xec, 0x23, 0x54, 0x7e, 0x89, + 0xde, 0x55, 0xd5, 0xcc, 0xce, 0x62, 0x07, 0xe2, 0x10, 0xf7, 0x8e, 0x39, 0x73, 0xbe, 0x9f, 0x39, + 0xe7, 0xcc, 0x99, 0xc3, 0x82, 0xc6, 0xa8, 0x47,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, 0x30, 0x7c, 0xde, 0x91, 0xd2, 0x51, 0xd6, 0x4d, 0xf9, 0x55, 0xcf, 0x7d, 0x69, 0xa0, 0xc9, + 0xd6, 0x3b, 0xcc, 0x7f, 0xa9, 0x34, 0xd7, 0xa1, 0x2c, 0xe7, 0x86, 0xf6, 0x9b, 0x02, 0x5b, 0x0b, + 0x43, 0x07, 0x9d, 0x42, 0x65, 0x44, 0x1d, 0x37, 0xb9, 0xfe, 0x4f, 0x3a, 0xfc, 0xe0, 0x89, 0x35, + 0x5f, 0xb7, 0x25, 0x01, 0xcf, 0x59, 0x5a, 0x0b, 0xd4, 0xc5, 0x5d, 0x54, 0x83, 0xfb, 0x6d, 0xa3, + 0xd5, 0x35, 0xbb, 0x83, 0xbe, 0x3d, 0xec, 0x9b, 0xc7, 0x46, 0xab, 0xfb, 0xac, 0x6b, 0xb4, 0xd3, + 0x92, 0xf5, 0x8d, 0x53, 0x03, 0xab, 0x0a, 0x02, 0x28, 0x1d, 0xf5, 0x5e, 0x1e, 0x7d, 0x67, 0xaa, + 0x79, 0xed, 0x09, 0x6c, 0x2f, 0x8d, 0x32, 0xfe, 0x1f, 0xc3, 0x48, 0x3c, 0xa6, 0x4c, 0xc4, 0xab, + 0x60, 0xb9, 0x6a, 0xee, 0xfd, 0x71, 0xb5, 0xa3, 0xfc, 0x79, 0xb5, 0xa3, 0xfc, 0x75, 0xb5, 0xa3, + 0x7c, 0xbf, 0x9b, 0x26, 0xe1, 0x86, 0x0d, 0x12, 0xb9, 0x8d, 0xe5, 0x8f, 0xa4, 0xb3, 0x92, 0xf8, + 0xc8, 0xf9, 0xfc, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0x48, 0xdf, 0x64, 0x41, 0x09, 0x00, + 0x00, } func (m *Telemetry) Marshal() (dAtA []byte, err error) { @@ -1249,40 +1419,6 @@ func (m *Port) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ProviderRef) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProviderRef) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProviderRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *Tracing) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1367,20 +1503,6 @@ func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x10 } - if len(m.Providers) > 0 { - for iNdEx := len(m.Providers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Providers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTelemetry(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } return len(dAtA) - i, nil } @@ -1525,6 +1647,27 @@ func (m *Tracing_CustomTag_Header) MarshalToSizedBuffer(dAtA []byte) (int, error } return len(dAtA) - i, nil } +func (m *Tracing_CustomTag_Metadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_CustomTag_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} func (m *Tracing_Literal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1641,7 +1784,7 @@ func (m *Tracing_RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ConstantSampler) Marshal() (dAtA []byte, err error) { +func (m *Tracing_Metadata) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1651,12 +1794,12 @@ func (m *ConstantSampler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ConstantSampler) MarshalTo(dAtA []byte) (int, error) { +func (m *Tracing_Metadata) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Tracing_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1665,15 +1808,34 @@ func (m *ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Decision != 0 { - i = encodeVarintTelemetry(dAtA, i, uint64(m.Decision)) + if len(m.DefaultValue) > 0 { + i -= len(m.DefaultValue) + copy(dAtA[i:], m.DefaultValue) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.DefaultValue))) + i-- + dAtA[i] = 0x1a + } + if m.Key != nil { + { + size, err := m.Key.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Kind != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.Kind)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *PercentageSampler) Marshal() (dAtA []byte, err error) { +func (m *Tracing_Metadata_Key) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1683,12 +1845,12 @@ func (m *PercentageSampler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PercentageSampler) MarshalTo(dAtA []byte) (int, error) { +func (m *Tracing_Metadata_Key) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PercentageSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Tracing_Metadata_Key) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1697,19 +1859,133 @@ func (m *PercentageSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Target != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Target)))) - i-- - dAtA[i] = 0x9 - } - return len(dAtA) - i, nil -} - -func encodeVarintTelemetry(dAtA []byte, offset int, v uint64) int { - offset -= sovTelemetry(v) - base := offset - for v >= 1<<7 { + if len(m.Segment) > 0 { + for iNdEx := len(m.Segment) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Segment[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTelemetry(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Tracing_Metadata_Key_PathSegment) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Tracing_Metadata_Key_PathSegment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Tracing_Metadata_Key_PathSegment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintTelemetry(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConstantSampler) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConstantSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Decision != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.Decision)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PercentageSampler) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PercentageSampler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PercentageSampler) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Target != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Target)))) + i-- + dAtA[i] = 0x9 + } + return len(dAtA) - i, nil +} + +func encodeVarintTelemetry(dAtA []byte, offset int, v uint64) int { + offset -= sovTelemetry(v) + base := offset + for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ @@ -1793,34 +2069,12 @@ func (m *Port) Size() (n int) { return n } -func (m *ProviderRef) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovTelemetry(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - func (m *Tracing) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Providers) > 0 { - for _, e := range m.Providers { - l = e.Size() - n += 1 + l + sovTelemetry(uint64(l)) - } - } if m.ReportSpans { n += 2 } @@ -1927,6 +2181,18 @@ func (m *Tracing_CustomTag_Header) Size() (n int) { } return n } +func (m *Tracing_CustomTag_Metadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + return n +} func (m *Tracing_Literal) Size() (n int) { if m == nil { return 0 @@ -1983,6 +2249,67 @@ func (m *Tracing_RequestHeader) Size() (n int) { return n } +func (m *Tracing_Metadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Kind != 0 { + n += 1 + sovTelemetry(uint64(m.Kind)) + } + if m.Key != nil { + l = m.Key.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + l = len(m.DefaultValue) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_Metadata_Key) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if len(m.Segment) > 0 { + for _, e := range m.Segment { + l = e.Size() + n += 1 + l + sovTelemetry(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Tracing_Metadata_Key_PathSegment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovTelemetry(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + func (m *ConstantSampler) Size() (n int) { if m == nil { return 0 @@ -2439,7 +2766,7 @@ func (m *Port) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProviderRef) Unmarshal(dAtA []byte) error { +func (m *Tracing) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2462,17 +2789,57 @@ func (m *ProviderRef) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ProviderRef: wiretype end group for non-group") + return fmt.Errorf("proto: Tracing: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ProviderRef: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Tracing: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReportSpans", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReportSpans = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeIstioTags", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeIstioTags = bool(v != 0) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CustomTags", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTelemetry @@ -2482,180 +2849,23 @@ func (m *ProviderRef) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTelemetry } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTelemetry } if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTelemetry(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTelemetry - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Tracing) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Tracing: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Tracing: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Providers", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTelemetry - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTelemetry - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Providers = append(m.Providers, &ProviderRef{}) - if err := m.Providers[len(m.Providers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReportSpans", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.ReportSpans = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeIstioTags", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IncludeIstioTags = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomTags", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTelemetry - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTelemetry - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTelemetry - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CustomTags == nil { - m.CustomTags = make(map[string]*Tracing_CustomTag) + if m.CustomTags == nil { + m.CustomTags = make(map[string]*Tracing_CustomTag) } var mapkey string var mapvalue *Tracing_CustomTag @@ -2999,6 +3209,41 @@ func (m *Tracing_CustomTag) Unmarshal(dAtA []byte) error { } m.Type = &Tracing_CustomTag_Header{v} iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &Tracing_Metadata{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Type = &Tracing_CustomTag_Metadata{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTelemetry(dAtA[iNdEx:]) @@ -3334,6 +3579,344 @@ func (m *Tracing_RequestHeader) Unmarshal(dAtA []byte) error { } return nil } +func (m *Tracing_Metadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Metadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + } + m.Kind = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Kind |= Tracing_Metadata_Kind(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Key == nil { + m.Key = &Tracing_Metadata_Key{} + } + if err := m.Key.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultValue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_Metadata_Key) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Key: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Key: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Segment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Segment = append(m.Segment, &Tracing_Metadata_Key_PathSegment{}) + if err := m.Segment[len(m.Segment)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Tracing_Metadata_Key_PathSegment) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PathSegment: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PathSegment: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTelemetry + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTelemetry + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTelemetry + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTelemetry(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTelemetry + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ConstantSampler) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/telemetry/v1alpha1/telemetry.pb.html b/telemetry/v1alpha1/telemetry.pb.html index 46862fccb7..6def1f33e2 100644 --- a/telemetry/v1alpha1/telemetry.pb.html +++ b/telemetry/v1alpha1/telemetry.pb.html @@ -2,7 +2,7 @@ title: istio.telemetry.v1alpha1 layout: protoc-gen-docs generator: protoc-gen-docs -number_of_entries: 14 +number_of_entries: 17 ---

Telemetry

@@ -25,7 +25,7 @@

Telemetry

Examples:

-

Policy to enable sending trace data to a Zipkin backend for 10% of all traffic:

+

Policy to enable random sampling for 10% of all traffic:

apiVersion: telemetry.istio.io/v1beta1
 kind: Telemetry
@@ -36,8 +36,6 @@ 

Telemetry

tracing: - match: {} # apply to all traffic config: - providers: - - name: "zipkin" reportSpans: true percentageSampler: target: 10.00 @@ -61,8 +59,6 @@

Telemetry

port: number: 8090 config: - providers: - - name: "zipkin" reportSpans: false
@@ -208,35 +204,6 @@

Port

Valid port number

-
-No -
-
-

ProviderRef

-
-

Used to bind Telemetry configuration to specific providers for -targeted customization.

- - - - - - - - - - - - - - - - - - - - - @@ -465,6 +419,17 @@

Tracing.CustomTag

+ + + + + + + + + +
FieldTypeDescriptionRequired
namestring -

Required. Name of Telemetry provider in MeshConfig.

-
No @@ -261,19 +228,6 @@

Tracing

providersProviderRef[] -

Required. Name of providers to which this configuration should apply. At -least one provider needs to be specified. -NOTE: Only a single provider is currently supported.

- -
-No -
reportSpans bool

RequestHeader adds the value of an header from the request to each span.

+
+No +
metadataMetadata (oneof) +

Metadata adds the value of a metadata field to each span.

+
No @@ -567,6 +532,125 @@

Tracing.RequestHeader

Optional. If the header is not found, this value will be used instead.

+
+No +
+
+

Tracing.Metadata

+
+

Retrieve the protobuf value from Metadata, and populate the tag +value with the canonical JSON representation of it.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
kindKind +

Kind of metadata from which to obtain tag value.

+ +
+No +
keyKey +

Defines the path used to retrieve the tag value.

+ +
+No +
defaultValuestring +

Optional. If the key is not found, this value will be +used instead.

+ +
+No +
+
+

Tracing.Metadata.Key

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
keystring +

Required. The key name of Metadata to retrieve the Struct from the +metadata. Typically, it represents a builtin subsystem or custom +extension.

+ +
+No +
segmentPathSegment[] +

Required. Specifies the segment in a path to retrieve the value.

+ +
+No +
+
+

Tracing.Metadata.Key.PathSegment

+
+

One segment of a path to a Metadata value.

+ + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
keystring +

Key to retrieve the value in a Struct.

+
No @@ -610,6 +694,47 @@

TelemetryRuleMatch.TrafficDirection

Match incoming traffic for the proxy. Use this to select “server-side” traffic in telemetry reporting.

+

+
+

Tracing.Metadata.Kind

+
+ + + + + + + + + + + + + + + + + + + + + + + @@ -634,8 +759,8 @@

ConstantSampler.ConstantDecision

- - + + - - + +
NameDescription
REQUEST +

Represents dynamic metadata associated with the request

+ +
ROUTE +

Represents metadata from the route.

+ +
CLUSTER +

Represents metadata from the upstream cluster.

+ +
HOST +

Represents metadata from the upstream host.

+
NEVER_SAMPLE
NEVER

Ignore all sidecar traffic for the purposes of telemetry generation. For tracing, this means that the sidecar will never generate trace spans @@ -643,8 +768,8 @@

ConstantSampler.ConstantDecision

ALWAYS_SAMPLE
ALWAYS

Consider all sidecar traffic for the purposes of telemetry generation. For tracing, this will generate trace spans for traffic without an diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto index 72bb5e8a15..8c36f86056 100644 --- a/telemetry/v1alpha1/telemetry.proto +++ b/telemetry/v1alpha1/telemetry.proto @@ -45,7 +45,7 @@ package istio.telemetry.v1alpha1; // // Examples: // -// Policy to enable sending trace data to a Zipkin backend for 10% of all traffic: +// Policy to enable random sampling for 10% of all traffic: // ```yaml // apiVersion: telemetry.istio.io/v1beta1 // kind: Telemetry @@ -56,8 +56,6 @@ package istio.telemetry.v1alpha1; // tracing: // - match: {} # apply to all traffic // config: -// providers: -// - name: "zipkin" // reportSpans: true // percentageSampler: // target: 10.00 @@ -81,8 +79,6 @@ package istio.telemetry.v1alpha1; // port: // number: 8090 // config: -// providers: -// - name: "zipkin" // reportSpans: false // ``` // @@ -117,9 +113,6 @@ message Telemetry { // Optional. Tracing defines the per-workload overrides for trace span // reporting. repeated TracingRule tracing = 2; - - // AccessLoggingRule access_logging = 3; - // MetricsRule metrics = 4; } // TracingRule defines how trace spans should be reported (sampling rate, custom tags) @@ -166,22 +159,11 @@ message Port { uint32 number = 1; } -// Used to bind Telemetry configuration to specific providers for -// targeted customization. -message ProviderRef { - // Required. Name of Telemetry provider in MeshConfig. - string name = 1; -} - // Tracing defines the workload-level overrides for tracing behavior within // a mesh. It can be used to enable/disable tracing, as well as to set sampling // rates and custom tag extraction. message Tracing { - // Required. Name of providers to which this configuration should apply. At - // least one provider needs to be specified. - // NOTE: Only a single provider is currently supported. - repeated ProviderRef providers = 1; - + // Enables the tracing functionality. When this is set to `true`, the // sidecar will report spans to a configured backend for all traffic with a trace // context that specifies the trace is sampled. Additionally, spans will be @@ -210,12 +192,16 @@ message Tracing { Environment environment = 2; // RequestHeader adds the value of an header from the request to each span. RequestHeader header = 3; + // Metadata adds the value of a metadata field to each span. + Metadata metadata = 4; } } + message Literal { // The tag value to use. string value = 1; } + message Environment { // Name of the environment variable from which to extract the tag value. string name = 1; @@ -223,6 +209,7 @@ message Tracing { // used instead. string default_value = 2; } + message RequestHeader { // Name of the header from which to extract the tag value. string name = 1; @@ -231,6 +218,47 @@ message Tracing { string default_value = 2; } + // Retrieve the protobuf value from Metadata, and populate the tag + // value with the canonical JSON representation of it. + message Metadata { + enum Kind { + // Represents dynamic metadata associated with the request + REQUEST = 0; + // Represents metadata from the route. + ROUTE = 1; + // Represents metadata from the upstream cluster. + CLUSTER = 2; + // Represents metadata from the upstream host. + HOST = 3; + } + + message Key { + // Required. The key name of Metadata to retrieve the Struct from the + // metadata. Typically, it represents a builtin subsystem or custom + // extension. + string key = 1; + + // One segment of a path to a Metadata value. + message PathSegment { + // Key to retrieve the value in a Struct. + string key = 1; + } + + // Required. Specifies the segment in a path to retrieve the value. + repeated PathSegment segment = 2; + } + + // Kind of metadata from which to obtain tag value. + Kind kind = 1; + + // Defines the path used to retrieve the tag value. + Key key = 2; + + // Optional. If the key is not found, this value will be + // used instead. + string default_value = 3; + } + // Optional. Configures additional custom tags to the generated trace spans. map custom_tags = 4; @@ -255,11 +283,11 @@ message ConstantSampler { // Ignore all sidecar traffic for the purposes of telemetry generation. // For tracing, this means that the sidecar will never generate trace spans // for traffic without an existing trace context. - NEVER_SAMPLE = 1; + NEVER = 1; // Consider all sidecar traffic for the purposes of telemetry generation. // For tracing, this will generate trace spans for traffic without an // existing trace context. - ALWAYS_SAMPLE = 2; + ALWAYS = 2; } // Controls the behavior of the sampler. diff --git a/telemetry/v1alpha1/telemetry_deepcopy.gen.go b/telemetry/v1alpha1/telemetry_deepcopy.gen.go index 7116a9dedf..7ff0983dd2 100644 --- a/telemetry/v1alpha1/telemetry_deepcopy.gen.go +++ b/telemetry/v1alpha1/telemetry_deepcopy.gen.go @@ -99,27 +99,6 @@ func (in *Port) DeepCopyInterface() interface{} { return in.DeepCopy() } -// DeepCopyInto supports using ProviderRef within kubernetes types, where deepcopy-gen is used. -func (in *ProviderRef) DeepCopyInto(out *ProviderRef) { - p := proto.Clone(in).(*ProviderRef) - *out = *p -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRef. Required by controller-gen. -func (in *ProviderRef) DeepCopy() *ProviderRef { - if in == nil { - return nil - } - out := new(ProviderRef) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRef. Required by controller-gen. -func (in *ProviderRef) DeepCopyInterface() interface{} { - return in.DeepCopy() -} - // DeepCopyInto supports using Tracing within kubernetes types, where deepcopy-gen is used. func (in *Tracing) DeepCopyInto(out *Tracing) { p := proto.Clone(in).(*Tracing) @@ -225,6 +204,69 @@ func (in *Tracing_RequestHeader) DeepCopyInterface() interface{} { return in.DeepCopy() } +// DeepCopyInto supports using Tracing_Metadata within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_Metadata) DeepCopyInto(out *Tracing_Metadata) { + p := proto.Clone(in).(*Tracing_Metadata) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata. Required by controller-gen. +func (in *Tracing_Metadata) DeepCopy() *Tracing_Metadata { + if in == nil { + return nil + } + out := new(Tracing_Metadata) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata. Required by controller-gen. +func (in *Tracing_Metadata) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_Metadata_Key within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_Metadata_Key) DeepCopyInto(out *Tracing_Metadata_Key) { + p := proto.Clone(in).(*Tracing_Metadata_Key) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata_Key. Required by controller-gen. +func (in *Tracing_Metadata_Key) DeepCopy() *Tracing_Metadata_Key { + if in == nil { + return nil + } + out := new(Tracing_Metadata_Key) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata_Key. Required by controller-gen. +func (in *Tracing_Metadata_Key) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + +// DeepCopyInto supports using Tracing_Metadata_Key_PathSegment within kubernetes types, where deepcopy-gen is used. +func (in *Tracing_Metadata_Key_PathSegment) DeepCopyInto(out *Tracing_Metadata_Key_PathSegment) { + p := proto.Clone(in).(*Tracing_Metadata_Key_PathSegment) + *out = *p +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata_Key_PathSegment. Required by controller-gen. +func (in *Tracing_Metadata_Key_PathSegment) DeepCopy() *Tracing_Metadata_Key_PathSegment { + if in == nil { + return nil + } + out := new(Tracing_Metadata_Key_PathSegment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Tracing_Metadata_Key_PathSegment. Required by controller-gen. +func (in *Tracing_Metadata_Key_PathSegment) DeepCopyInterface() interface{} { + return in.DeepCopy() +} + // DeepCopyInto supports using ConstantSampler within kubernetes types, where deepcopy-gen is used. func (in *ConstantSampler) DeepCopyInto(out *ConstantSampler) { p := proto.Clone(in).(*ConstantSampler) diff --git a/telemetry/v1alpha1/telemetry_json.gen.go b/telemetry/v1alpha1/telemetry_json.gen.go index f4c992fc60..76b8e3783e 100644 --- a/telemetry/v1alpha1/telemetry_json.gen.go +++ b/telemetry/v1alpha1/telemetry_json.gen.go @@ -61,17 +61,6 @@ func (this *Port) UnmarshalJSON(b []byte) error { return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) } -// MarshalJSON is a custom marshaler for ProviderRef -func (this *ProviderRef) MarshalJSON() ([]byte, error) { - str, err := TelemetryMarshaler.MarshalToString(this) - return []byte(str), err -} - -// UnmarshalJSON is a custom unmarshaler for ProviderRef -func (this *ProviderRef) UnmarshalJSON(b []byte) error { - return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) -} - // MarshalJSON is a custom marshaler for Tracing func (this *Tracing) MarshalJSON() ([]byte, error) { str, err := TelemetryMarshaler.MarshalToString(this) @@ -127,6 +116,39 @@ func (this *Tracing_RequestHeader) UnmarshalJSON(b []byte) error { return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) } +// MarshalJSON is a custom marshaler for Tracing_Metadata +func (this *Tracing_Metadata) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_Metadata +func (this *Tracing_Metadata) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_Metadata_Key +func (this *Tracing_Metadata_Key) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_Metadata_Key +func (this *Tracing_Metadata_Key) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for Tracing_Metadata_Key_PathSegment +func (this *Tracing_Metadata_Key_PathSegment) MarshalJSON() ([]byte, error) { + str, err := TelemetryMarshaler.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for Tracing_Metadata_Key_PathSegment +func (this *Tracing_Metadata_Key_PathSegment) UnmarshalJSON(b []byte) error { + return TelemetryUnmarshaler.Unmarshal(bytes.NewReader(b), this) +} + // MarshalJSON is a custom marshaler for ConstantSampler func (this *ConstantSampler) MarshalJSON() ([]byte, error) { str, err := TelemetryMarshaler.MarshalToString(this) From 355e56c6afe0c6ba82ac2088b2783f47b7f1048b Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Wed, 16 Dec 2020 15:37:33 -0800 Subject: [PATCH 07/15] Add release note --- .../add-experimental-telemetry-api-for-tracing.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 releasenotes/notes/add-experimental-telemetry-api-for-tracing.yaml diff --git a/releasenotes/notes/add-experimental-telemetry-api-for-tracing.yaml b/releasenotes/notes/add-experimental-telemetry-api-for-tracing.yaml new file mode 100644 index 0000000000..c27635d35b --- /dev/null +++ b/releasenotes/notes/add-experimental-telemetry-api-for-tracing.yaml @@ -0,0 +1,13 @@ +apiVersion: release-notes/v2 + +kind: feature +area: telemetry +issue: + +releaseNotes: +- | + **Added** experimental Telemetry API with support for workload-level specification of tracing behavior. + +# docs is a list of related docs to the change. +docs: +- https://docs.google.com/document/d/1pTFVzGii7sB4uALMsrUN4ALFc0J7vI2UyBnJpP_bsgU/edit From 078457b43bd0c181dce837f912f7e91e91bd789c Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Sun, 14 Mar 2021 10:13:32 -0700 Subject: [PATCH 08/15] Address comments --- kubernetes/customresourcedefinitions.gen.yaml | 32 +-- .../telemetry/v1alpha1/telemetry_pb2.py | 90 +++---- telemetry/v1alpha1/telemetry.pb.go | 236 +++++++++--------- telemetry/v1alpha1/telemetry.pb.html | 55 ++-- telemetry/v1alpha1/telemetry.proto | 43 ++-- 5 files changed, 236 insertions(+), 220 deletions(-) diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index 5bba7aa51b..340fe65a0d 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5839,7 +5839,7 @@ metadata: heritage: Tiller istio: telemetry release: istio - name: telemetrys.telemetry.istio.io + name: telemetries.telemetry.istio.io spec: group: telemetry.istio.io names: @@ -5848,7 +5848,7 @@ spec: - telemetry-istio-io kind: Telemetry listKind: TelemetryList - plural: telemetrys + plural: telemetries shortNames: - telemetry singular: telemetry @@ -5871,6 +5871,15 @@ spec: description: Telemetry defines the telemetry generation policies for workloads within a mesh. properties: + selector: + description: Optional. + properties: + matchLabels: + additionalProperties: + format: string + type: string + type: object + type: object tracing: description: Optional. items: @@ -6001,9 +6010,12 @@ spec: type: object description: Optional. type: object - includeIstioTags: + disableSpanReporting: + description: Disables the tracing functionality. + type: boolean + excludeMeshTags: type: boolean - maxPathTagLength: + maxTagLength: description: Optional. type: integer percentageSampler: @@ -6014,9 +6026,6 @@ spec: format: double type: number type: object - reportSpans: - description: Enables the tracing functionality. - type: boolean type: object match: description: Defines the conditions under which the associated @@ -6038,15 +6047,6 @@ spec: type: object type: object type: array - workloadSelector: - description: Optional. - properties: - matchLabels: - additionalProperties: - format: string - type: string - type: object - type: object type: object status: type: object diff --git a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py index e4da2f3886..269423d648 100644 --- a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py +++ b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py @@ -21,7 +21,7 @@ package='istio.telemetry.v1alpha1', syntax='proto3', serialized_options=_b('Z\037istio.io/api/telemetry/v1alpha1'), - serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x9f\x01\n\tTelemetry\x12Q\n\x11workload_selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x10workloadSelector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"\x83\x0b\n\x07Tracing\x12!\n\x0creport_spans\x18\x02 \x01(\x08R\x0breportSpans\x12,\n\x12include_istio_tags\x18\x03 \x01(\x08R\x10includeIstioTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x05 \x01(\rR\x10maxPathTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xc2\x02\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06header\x12H\n\x08metadata\x18\x04 \x01(\x0b\x32*.istio.telemetry.v1alpha1.Tracing.MetadataH\x00R\x08metadataB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\xfe\x02\n\x08Metadata\x12\x43\n\x04kind\x18\x01 \x01(\x0e\x32/.istio.telemetry.v1alpha1.Tracing.Metadata.KindR\x04kind\x12@\n\x03key\x18\x02 \x01(\x0b\x32..istio.telemetry.v1alpha1.Tracing.Metadata.KeyR\x03key\x12#\n\rdefault_value\x18\x03 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x8e\x01\n\x03Key\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12T\n\x07segment\x18\x02 \x03(\x0b\x32:.istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegmentR\x07segment\x1a\x1f\n\x0bPathSegment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"5\n\x04Kind\x12\x0b\n\x07REQUEST\x10\x00\x12\t\n\x05ROUTE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x08\n\x04HOST\x10\x03\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xae\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"C\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\t\n\x05NEVER\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') + serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x8e\x01\n\tTelemetry\x12@\n\x08selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x08selector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"\x8b\x0b\n\x07Tracing\x12\x34\n\x16\x64isable_span_reporting\x18\x02 \x01(\x08R\x14\x64isableSpanReporting\x12*\n\x11\x65xclude_mesh_tags\x18\x03 \x01(\x08R\x0f\x65xcludeMeshTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12$\n\x0emax_tag_length\x18\x05 \x01(\rR\x0cmaxTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xc2\x02\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06header\x12H\n\x08metadata\x18\x04 \x01(\x0b\x32*.istio.telemetry.v1alpha1.Tracing.MetadataH\x00R\x08metadataB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\xfe\x02\n\x08Metadata\x12\x43\n\x04kind\x18\x01 \x01(\x0e\x32/.istio.telemetry.v1alpha1.Tracing.Metadata.KindR\x04kind\x12@\n\x03key\x18\x02 \x01(\x0b\x32..istio.telemetry.v1alpha1.Tracing.Metadata.KeyR\x03key\x12#\n\rdefault_value\x18\x03 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x8e\x01\n\x03Key\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12T\n\x07segment\x18\x02 \x03(\x0b\x32:.istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegmentR\x07segment\x1a\x1f\n\x0bPathSegment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"5\n\x04Kind\x12\x0b\n\x07REQUEST\x10\x00\x12\t\n\x05ROUTE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x08\n\x04HOST\x10\x03\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xae\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"C\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\t\n\x05NEVER\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') , dependencies=[type_dot_v1beta1_dot_selector__pb2.DESCRIPTOR,]) @@ -48,8 +48,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=581, - serialized_end=646, + serialized_start=564, + serialized_end=629, ) _sym_db.RegisterEnumDescriptor(_TELEMETRYRULEMATCH_TRAFFICDIRECTION) @@ -78,8 +78,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=1920, - serialized_end=1973, + serialized_start=1911, + serialized_end=1964, ) _sym_db.RegisterEnumDescriptor(_TRACING_METADATA_KIND) @@ -104,8 +104,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2202, - serialized_end=2269, + serialized_start=2193, + serialized_end=2260, ) _sym_db.RegisterEnumDescriptor(_CONSTANTSAMPLER_CONSTANTDECISION) @@ -118,12 +118,12 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='workload_selector', full_name='istio.telemetry.v1alpha1.Telemetry.workload_selector', index=0, + name='selector', full_name='istio.telemetry.v1alpha1.Telemetry.selector', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='workloadSelector', file=DESCRIPTOR), + serialized_options=None, json_name='selector', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='tracing', full_name='istio.telemetry.v1alpha1.Telemetry.tracing', index=1, number=2, type=11, cpp_type=10, label=3, @@ -144,7 +144,7 @@ oneofs=[ ], serialized_start=94, - serialized_end=253, + serialized_end=236, ) @@ -181,8 +181,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=256, - serialized_end=396, + serialized_start=239, + serialized_end=379, ) @@ -220,8 +220,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=399, - serialized_end=646, + serialized_start=382, + serialized_end=629, ) @@ -251,8 +251,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=648, - serialized_end=678, + serialized_start=631, + serialized_end=661, ) @@ -306,8 +306,8 @@ name='type', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.type', index=0, containing_type=None, fields=[]), ], - serialized_start=1087, - serialized_end=1409, + serialized_start=1078, + serialized_end=1400, ) _TRACING_LITERAL = _descriptor.Descriptor( @@ -336,8 +336,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1411, - serialized_end=1442, + serialized_start=1402, + serialized_end=1433, ) _TRACING_ENVIRONMENT = _descriptor.Descriptor( @@ -373,8 +373,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1444, - serialized_end=1514, + serialized_start=1435, + serialized_end=1505, ) _TRACING_REQUESTHEADER = _descriptor.Descriptor( @@ -410,8 +410,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1516, - serialized_end=1588, + serialized_start=1507, + serialized_end=1579, ) _TRACING_METADATA_KEY_PATHSEGMENT = _descriptor.Descriptor( @@ -440,8 +440,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1887, - serialized_end=1918, + serialized_start=1878, + serialized_end=1909, ) _TRACING_METADATA_KEY = _descriptor.Descriptor( @@ -477,8 +477,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1776, - serialized_end=1918, + serialized_start=1767, + serialized_end=1909, ) _TRACING_METADATA = _descriptor.Descriptor( @@ -522,8 +522,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1591, - serialized_end=1973, + serialized_start=1582, + serialized_end=1964, ) _TRACING_CUSTOMTAGSENTRY = _descriptor.Descriptor( @@ -559,8 +559,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1975, - serialized_end=2081, + serialized_start=1966, + serialized_end=2072, ) _TRACING = _descriptor.Descriptor( @@ -571,19 +571,19 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='report_spans', full_name='istio.telemetry.v1alpha1.Tracing.report_spans', index=0, + name='disable_span_reporting', full_name='istio.telemetry.v1alpha1.Tracing.disable_span_reporting', index=0, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='reportSpans', file=DESCRIPTOR), + serialized_options=None, json_name='disableSpanReporting', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='include_istio_tags', full_name='istio.telemetry.v1alpha1.Tracing.include_istio_tags', index=1, + name='exclude_mesh_tags', full_name='istio.telemetry.v1alpha1.Tracing.exclude_mesh_tags', index=1, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='includeIstioTags', file=DESCRIPTOR), + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='custom_tags', full_name='istio.telemetry.v1alpha1.Tracing.custom_tags', index=2, number=4, type=11, cpp_type=10, label=3, @@ -592,12 +592,12 @@ is_extension=False, extension_scope=None, serialized_options=None, json_name='customTags', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='max_path_tag_length', full_name='istio.telemetry.v1alpha1.Tracing.max_path_tag_length', index=3, + name='max_tag_length', full_name='istio.telemetry.v1alpha1.Tracing.max_tag_length', index=3, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxPathTagLength', file=DESCRIPTOR), + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='constant_sampler', full_name='istio.telemetry.v1alpha1.Tracing.constant_sampler', index=4, number=6, type=11, cpp_type=10, label=1, @@ -627,8 +627,8 @@ name='sampler', full_name='istio.telemetry.v1alpha1.Tracing.sampler', index=0, containing_type=None, fields=[]), ], - serialized_start=681, - serialized_end=2092, + serialized_start=664, + serialized_end=2083, ) @@ -659,8 +659,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2095, - serialized_end=2269, + serialized_start=2086, + serialized_end=2260, ) @@ -690,11 +690,11 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2271, - serialized_end=2314, + serialized_start=2262, + serialized_end=2305, ) -_TELEMETRY.fields_by_name['workload_selector'].message_type = type_dot_v1beta1_dot_selector__pb2._WORKLOADSELECTOR +_TELEMETRY.fields_by_name['selector'].message_type = type_dot_v1beta1_dot_selector__pb2._WORKLOADSELECTOR _TELEMETRY.fields_by_name['tracing'].message_type = _TRACINGRULE _TRACINGRULE.fields_by_name['match'].message_type = _TELEMETRYRULEMATCH _TRACINGRULE.fields_by_name['config'].message_type = _TRACING diff --git a/telemetry/v1alpha1/telemetry.pb.go b/telemetry/v1alpha1/telemetry.pb.go index 0a1b28a723..0bd12faa77 100644 --- a/telemetry/v1alpha1/telemetry.pb.go +++ b/telemetry/v1alpha1/telemetry.pb.go @@ -138,12 +138,18 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // your Istio installation *without* a workload selector. // // For any namespace, including the root configuration namespace, it is only valid -// to have a single workload selector-less Telemetry resource. In the case of multiples, -// the oldest known resource will be used to the exclusion of any other resources. +// to have a single workload selector-less Telemetry resource. // // For resources with a workload selector, it is only valid to have one resource selecting -// any given workload. If multiple resources with a workload selector select a single resource, -// the oldest known resource will be used to the exclusion of all other resources. +// any given workload. +// +// Workload policies will be evaluated in order, from most specific matches per telemetry +// subdomain (tracing, access logging, and metrics) to least specific matches. The first +// matching policy for the subdomain will be applied. The order of evaluation will be: +// +// 1. Workload-specific policy +// 1. Namespace-specific policy +// 1. Root namespace policy // // WARNING: Support for Telemetry policies is under active development and is *not* // stable or supported by Istio at this time. @@ -152,7 +158,7 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // // Policy to enable random sampling for 10% of all traffic: // ```yaml -// apiVersion: telemetry.istio.io/v1beta1 +// apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry // metadata: // name: mesh-default @@ -161,7 +167,6 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // tracing: // - match: {} # apply to all traffic // config: -// reportSpans: true // percentageSampler: // target: 10.00 // ``` @@ -169,13 +174,13 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // Policy to disable trace reporting for all inbound traffic to the "foo" // workloads that arrives on port 8090: // ```yaml -// apiVersion: telemetry.istio.io/v1beta1 +// apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry // metadata: // name: mesh-default // namespace: istio-system // spec: -// workloadSelector: +// selector: // labels: // service.istio.io/canonical-name: foo // tracing: @@ -184,7 +189,7 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // port: // number: 8090 // config: -// reportSpans: false +// disableSpanReporting: true // ``` // // type Telemetry struct { - // Optional. Workload selector decides where to apply the Telemetry policy. + // Optional. The selector decides where to apply the Telemetry policy. // If not set, the Telemetry policy will be applied to all workloads in the // same namespace as the Telemetry policy. - WorkloadSelector *v1beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=workload_selector,json=workloadSelector,proto3" json:"workload_selector,omitempty"` + Selector *v1beta1.WorkloadSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` // Optional. Tracing defines the per-workload overrides for trace span // reporting. Tracing []*TracingRule `protobuf:"bytes,2,rep,name=tracing,proto3" json:"tracing,omitempty"` @@ -255,9 +260,9 @@ func (m *Telemetry) XXX_DiscardUnknown() { var xxx_messageInfo_Telemetry proto.InternalMessageInfo -func (m *Telemetry) GetWorkloadSelector() *v1beta1.WorkloadSelector { +func (m *Telemetry) GetSelector() *v1beta1.WorkloadSelector { if m != nil { - return m.WorkloadSelector + return m.Selector } return nil } @@ -444,24 +449,24 @@ func (m *Port) GetNumber() uint32 { // a mesh. It can be used to enable/disable tracing, as well as to set sampling // rates and custom tag extraction. type Tracing struct { - // Enables the tracing functionality. When this is set to `true`, the - // sidecar will report spans to a configured backend for all traffic with a trace + // Disables the tracing functionality. When this is set to `false` (or unset), the + // proxy will report spans to a configured backend for all traffic with a trace // context that specifies the trace is sampled. Additionally, spans will be // generated for traffic without trace contexts based on the - // `sampler` configuration provided. If `report_spans` is `false` (or unset), + // `sampler` configuration provided. If `disable_span_reporting` is `true`, // the sidecar will ignore the incoming trace context, generating no spans for // the traffic (the context will be silently forwarded). This is equivalent to // disabling tracing for the sidecar. - ReportSpans bool `protobuf:"varint,2,opt,name=report_spans,json=reportSpans,proto3" json:"report_spans,omitempty"` + DisableSpanReporting bool `protobuf:"varint,2,opt,name=disable_span_reporting,json=disableSpanReporting,proto3" json:"disable_span_reporting,omitempty"` // Controls whether or not Istio-specific tags will be generated for each // span created by the sidecar proxies. These tags include information on // the canonical service, meh, and namespace involved in the request. - // Default: true - IncludeIstioTags bool `protobuf:"varint,3,opt,name=include_istio_tags,json=includeIstioTags,proto3" json:"include_istio_tags,omitempty"` + ExcludeMeshTags bool `protobuf:"varint,3,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"exclude_mesh_tags,omitempty"` // Optional. Configures additional custom tags to the generated trace spans. CustomTags map[string]*Tracing_CustomTag `protobuf:"bytes,4,rep,name=custom_tags,json=customTags,proto3" json:"custom_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Controls the overall path length allowed in a reported span. - MaxPathTagLength uint32 `protobuf:"varint,5,opt,name=max_path_tag_length,json=maxPathTagLength,proto3" json:"max_path_tag_length,omitempty"` + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,5,opt,name=max_tag_length,json=maxTagLength,proto3" json:"max_tag_length,omitempty"` // Required. // // Types that are valid to be assigned to Sampler: @@ -529,16 +534,16 @@ func (m *Tracing) GetSampler() isTracing_Sampler { return nil } -func (m *Tracing) GetReportSpans() bool { +func (m *Tracing) GetDisableSpanReporting() bool { if m != nil { - return m.ReportSpans + return m.DisableSpanReporting } return false } -func (m *Tracing) GetIncludeIstioTags() bool { +func (m *Tracing) GetExcludeMeshTags() bool { if m != nil { - return m.IncludeIstioTags + return m.ExcludeMeshTags } return false } @@ -550,9 +555,9 @@ func (m *Tracing) GetCustomTags() map[string]*Tracing_CustomTag { return nil } -func (m *Tracing) GetMaxPathTagLength() uint32 { +func (m *Tracing) GetMaxTagLength() uint32 { if m != nil { - return m.MaxPathTagLength + return m.MaxTagLength } return 0 } @@ -1173,70 +1178,69 @@ func init() { } var fileDescriptor_991c84745e2b7651 = []byte{ - // 993 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xdf, 0x6e, 0x1a, 0xc7, - 0x17, 0xc7, 0x59, 0xc0, 0x80, 0x0f, 0x76, 0xbc, 0x9e, 0x5f, 0xf4, 0x13, 0xa2, 0x92, 0x9d, 0x6c, - 0x5b, 0x29, 0x69, 0xe2, 0x45, 0x76, 0x55, 0xa9, 0xb5, 0x54, 0xb5, 0x06, 0x36, 0x02, 0x85, 0x80, - 0x3d, 0xbb, 0x38, 0x6a, 0x55, 0x69, 0x35, 0x5e, 0xc6, 0xb0, 0xf1, 0xf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x8d, 0xe5, 0x8f, 0xa4, 0xb3, 0x92, 0xf8, - 0xc8, 0xf9, 0xfc, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0x48, 0xdf, 0x64, 0x41, 0x09, 0x00, - 0x00, + // 990 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0x5d, 0x6e, 0xdb, 0x46, + 0x10, 0xc7, 0x45, 0x49, 0x96, 0xe4, 0x91, 0x3f, 0xe8, 0x85, 0x11, 0x08, 0x2a, 0x60, 0xa7, 0x6c, + 0x0a, 0x38, 0x49, 0x43, 0xc1, 0x6e, 0x0b, 0xb4, 0x06, 0x8a, 0xc6, 0x92, 0x18, 0x48, 0x88, 0x2c, + 0x39, 0x4b, 0xca, 0x41, 0x8b, 0x02, 0xc4, 0x9a, 0x5c, 0x4b, 0x8c, 0xf9, 0x55, 0x72, 0x65, 0x58, + 0x67, 0x68, 0x91, 0xa3, 0xf4, 0x10, 0x7d, 0xea, 0x63, 0x8f, 0x50, 0xf8, 0x12, 0x7d, 0x2b, 0x0a, + 0x2e, 0x97, 0xb2, 0x23, 0xc5, 0x51, 0x9c, 0x37, 0xed, 0xcc, 0xfe, 0x7f, 0x3b, 0x33, 0x3b, 0x3b, + 0x22, 0x28, 0x8c, 0xba, 0xd4, 0xa3, 0x2c, 0x9a, 0x36, 0x2e, 0xf7, 0x89, 0x1b, 0x8e, 0xc9, 0x7e, + 0x63, 0x66, 0x52, 0xc3, 0x28, 0x60, 0x01, 0xaa, 0x39, 0x31, 0x73, 0x02, 0xf5, 0xc6, 0x9c, 0xed, + 0xac, 0x7f, 0xc6, 0xa6, 0x21, 0x6d, 0x5c, 0xee, 0x9f, 0x51, 0x46, 0xf6, 0x1b, 0x31, 0x75, 0xa9, + 0xc5, 0x82, 0x28, 0x95, 0x29, 0x6f, 0x25, 0x58, 0x35, 0x32, 0x0d, 0x7a, 0x0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x63, 0x29, 0x2d, 0x90, 0xe7, 0xbd, 0xa8, 0x06, 0xdb, 0x6d, 0xad, 0xd5, 0xd5, 0xbb, + 0x83, 0xbe, 0x39, 0xec, 0xeb, 0x27, 0x5a, 0xab, 0xfb, 0xa2, 0xab, 0xb5, 0xd3, 0x92, 0xf5, 0xb5, + 0x53, 0x0d, 0xcb, 0x12, 0x02, 0x28, 0x1d, 0xf5, 0x5e, 0x1f, 0xfd, 0xa4, 0xcb, 0x79, 0xe5, 0x29, + 0x6c, 0x2d, 0x8c, 0xb2, 0xe4, 0xbf, 0x86, 0x91, 0x68, 0x44, 0x19, 0x8f, 0x57, 0xc2, 0x62, 0xd5, + 0x7c, 0xf6, 0xd7, 0xf5, 0x8e, 0xf4, 0xf7, 0xf5, 0x8e, 0xf4, 0xcf, 0xf5, 0x8e, 0xf4, 0xf3, 0x6e, + 0x9a, 0x84, 0x13, 0x34, 0x48, 0xe8, 0x34, 0x16, 0xbf, 0x8d, 0xce, 0x4a, 0xfc, 0xdb, 0xe6, 0xeb, + 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x58, 0x60, 0x52, 0x38, 0x09, 0x00, 0x00, } func (m *Telemetry) Marshal() (dAtA []byte, err error) { @@ -1277,9 +1281,9 @@ func (m *Telemetry) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } - if m.WorkloadSelector != nil { + if m.Selector != nil { { - size, err := m.WorkloadSelector.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1452,8 +1456,8 @@ func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error) { } } } - if m.MaxPathTagLength != 0 { - i = encodeVarintTelemetry(dAtA, i, uint64(m.MaxPathTagLength)) + if m.MaxTagLength != 0 { + i = encodeVarintTelemetry(dAtA, i, uint64(m.MaxTagLength)) i-- dAtA[i] = 0x28 } @@ -1483,9 +1487,9 @@ func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x22 } } - if m.IncludeIstioTags { + if m.ExcludeMeshTags { i-- - if m.IncludeIstioTags { + if m.ExcludeMeshTags { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -1493,9 +1497,9 @@ func (m *Tracing) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - if m.ReportSpans { + if m.DisableSpanReporting { i-- - if m.ReportSpans { + if m.DisableSpanReporting { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -1999,8 +2003,8 @@ func (m *Telemetry) Size() (n int) { } var l int _ = l - if m.WorkloadSelector != nil { - l = m.WorkloadSelector.Size() + if m.Selector != nil { + l = m.Selector.Size() n += 1 + l + sovTelemetry(uint64(l)) } if len(m.Tracing) > 0 { @@ -2075,10 +2079,10 @@ func (m *Tracing) Size() (n int) { } var l int _ = l - if m.ReportSpans { + if m.DisableSpanReporting { n += 2 } - if m.IncludeIstioTags { + if m.ExcludeMeshTags { n += 2 } if len(m.CustomTags) > 0 { @@ -2094,8 +2098,8 @@ func (m *Tracing) Size() (n int) { n += mapEntrySize + 1 + sovTelemetry(uint64(mapEntrySize)) } } - if m.MaxPathTagLength != 0 { - n += 1 + sovTelemetry(uint64(m.MaxPathTagLength)) + if m.MaxTagLength != 0 { + n += 1 + sovTelemetry(uint64(m.MaxTagLength)) } if m.Sampler != nil { n += m.Sampler.Size() @@ -2377,7 +2381,7 @@ func (m *Telemetry) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkloadSelector", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2404,10 +2408,10 @@ func (m *Telemetry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.WorkloadSelector == nil { - m.WorkloadSelector = &v1beta1.WorkloadSelector{} + if m.Selector == nil { + m.Selector = &v1beta1.WorkloadSelector{} } - if err := m.WorkloadSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2797,7 +2801,7 @@ func (m *Tracing) Unmarshal(dAtA []byte) error { switch fieldNum { case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReportSpans", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DisableSpanReporting", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -2814,10 +2818,10 @@ func (m *Tracing) Unmarshal(dAtA []byte) error { break } } - m.ReportSpans = bool(v != 0) + m.DisableSpanReporting = bool(v != 0) case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeIstioTags", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -2834,7 +2838,7 @@ func (m *Tracing) Unmarshal(dAtA []byte) error { break } } - m.IncludeIstioTags = bool(v != 0) + m.ExcludeMeshTags = bool(v != 0) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field CustomTags", wireType) @@ -2966,9 +2970,9 @@ func (m *Tracing) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxPathTagLength", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) } - m.MaxPathTagLength = 0 + m.MaxTagLength = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTelemetry @@ -2978,7 +2982,7 @@ func (m *Tracing) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxPathTagLength |= uint32(b&0x7F) << shift + m.MaxTagLength |= uint32(b&0x7F) << shift if b < 0x80 { break } diff --git a/telemetry/v1alpha1/telemetry.pb.html b/telemetry/v1alpha1/telemetry.pb.html index 6def1f33e2..00f41544d9 100644 --- a/telemetry/v1alpha1/telemetry.pb.html +++ b/telemetry/v1alpha1/telemetry.pb.html @@ -13,12 +13,20 @@

Telemetry

your Istio installation without a workload selector.

For any namespace, including the root configuration namespace, it is only valid -to have a single workload selector-less Telemetry resource. In the case of multiples, -the oldest known resource will be used to the exclusion of any other resources.

+to have a single workload selector-less Telemetry resource.

For resources with a workload selector, it is only valid to have one resource selecting -any given workload. If multiple resources with a workload selector select a single resource, -the oldest known resource will be used to the exclusion of all other resources.

+any given workload.

+ +

Workload policies will be evaluated in order, from most specific matches per telemetry +subdomain (tracing, access logging, and metrics) to least specific matches. The first +matching policy for the subdomain will be applied. The order of evaluation will be:

+ +
    +
  1. Workload-specific policy
  2. +
  3. Namespace-specific policy
  4. +
  5. Root namespace policy
  6. +

WARNING: Support for Telemetry policies is under active development and is not stable or supported by Istio at this time.

@@ -27,7 +35,7 @@

Telemetry

Policy to enable random sampling for 10% of all traffic:

-
apiVersion: telemetry.istio.io/v1beta1
+
apiVersion: telemetry.istio.io/v1alpha1
 kind: Telemetry
 metadata:
   name: mesh-default
@@ -36,7 +44,6 @@ 

Telemetry

tracing: - match: {} # apply to all traffic config: - reportSpans: true percentageSampler: target: 10.00
@@ -44,13 +51,13 @@

Telemetry

Policy to disable trace reporting for all inbound traffic to the “foo” workloads that arrives on port 8090:

-
apiVersion: telemetry.istio.io/v1beta1
+
apiVersion: telemetry.istio.io/v1alpha1
 kind: Telemetry
 metadata:
   name: mesh-default
   namespace: istio-system
 spec:
-  workloadSelector:
+  selector:
     labels:
       service.istio.io/canonical-name: foo
   tracing:
@@ -59,7 +66,7 @@ 

Telemetry

port: number: 8090 config: - reportSpans: false + disableSpanReporting: true
@@ -72,11 +79,11 @@

Telemetry

- - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
workloadSelector
selector WorkloadSelector -

Optional. Workload selector decides where to apply the Telemetry policy. +

Optional. The selector decides where to apply the Telemetry policy. If not set, the Telemetry policy will be applied to all workloads in the same namespace as the Telemetry policy.

@@ -228,15 +235,15 @@

Tracing

reportSpans
disableSpanReporting bool -

Enables the tracing functionality. When this is set to true, the -sidecar will report spans to a configured backend for all traffic with a trace +

Disables the tracing functionality. When this is set to false (or unset), the +proxy will report spans to a configured backend for all traffic with a trace context that specifies the trace is sampled. Additionally, spans will be generated for traffic without trace contexts based on the -sampler configuration provided. If report_spans is false (or unset), +sampler configuration provided. If disable_span_reporting is true, the sidecar will ignore the incoming trace context, generating no spans for the traffic (the context will be silently forwarded). This is equivalent to disabling tracing for the sidecar.

@@ -246,14 +253,13 @@

Tracing

No
includeIstioTags
excludeMeshTags bool

Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on -the canonical service, meh, and namespace involved in the request. -Default: true

+the canonical service, meh, and namespace involved in the request.

@@ -271,11 +277,12 @@

Tracing

No
maxPathTagLength
maxTagLength uint32 -

Optional. Controls the overall path length allowed in a reported span.

+

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

diff --git a/telemetry/v1alpha1/telemetry.proto b/telemetry/v1alpha1/telemetry.proto index 8c36f86056..5429646a65 100644 --- a/telemetry/v1alpha1/telemetry.proto +++ b/telemetry/v1alpha1/telemetry.proto @@ -33,12 +33,18 @@ package istio.telemetry.v1alpha1; // your Istio installation *without* a workload selector. // // For any namespace, including the root configuration namespace, it is only valid -// to have a single workload selector-less Telemetry resource. In the case of multiples, -// the oldest known resource will be used to the exclusion of any other resources. +// to have a single workload selector-less Telemetry resource. // // For resources with a workload selector, it is only valid to have one resource selecting -// any given workload. If multiple resources with a workload selector select a single resource, -// the oldest known resource will be used to the exclusion of all other resources. +// any given workload. +// +// Workload policies will be evaluated in order, from most specific matches per telemetry +// subdomain (tracing, access logging, and metrics) to least specific matches. The first +// matching policy for the subdomain will be applied. The order of evaluation will be: +// +// 1. Workload-specific policy +// 1. Namespace-specific policy +// 1. Root namespace policy // // WARNING: Support for Telemetry policies is under active development and is *not* // stable or supported by Istio at this time. @@ -47,7 +53,7 @@ package istio.telemetry.v1alpha1; // // Policy to enable random sampling for 10% of all traffic: // ```yaml -// apiVersion: telemetry.istio.io/v1beta1 +// apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry // metadata: // name: mesh-default @@ -56,7 +62,6 @@ package istio.telemetry.v1alpha1; // tracing: // - match: {} # apply to all traffic // config: -// reportSpans: true // percentageSampler: // target: 10.00 // ``` @@ -64,13 +69,13 @@ package istio.telemetry.v1alpha1; // Policy to disable trace reporting for all inbound traffic to the "foo" // workloads that arrives on port 8090: // ```yaml -// apiVersion: telemetry.istio.io/v1beta1 +// apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry // metadata: // name: mesh-default // namespace: istio-system // spec: -// workloadSelector: +// selector: // labels: // service.istio.io/canonical-name: foo // tracing: @@ -79,7 +84,7 @@ package istio.telemetry.v1alpha1; // port: // number: 8090 // config: -// reportSpans: false +// disableSpanReporting: true // ``` // // message Telemetry { - // Optional. Workload selector decides where to apply the Telemetry policy. + // Optional. The selector decides where to apply the Telemetry policy. // If not set, the Telemetry policy will be applied to all workloads in the // same namespace as the Telemetry policy. - istio.type.v1beta1.WorkloadSelector workload_selector = 1; + istio.type.v1beta1.WorkloadSelector selector = 1; // Optional. Tracing defines the per-workload overrides for trace span // reporting. @@ -164,21 +169,20 @@ message Port { // rates and custom tag extraction. message Tracing { - // Enables the tracing functionality. When this is set to `true`, the - // sidecar will report spans to a configured backend for all traffic with a trace + // Disables the tracing functionality. When this is set to `false` (or unset), the + // proxy will report spans to a configured backend for all traffic with a trace // context that specifies the trace is sampled. Additionally, spans will be // generated for traffic without trace contexts based on the - // `sampler` configuration provided. If `report_spans` is `false` (or unset), + // `sampler` configuration provided. If `disable_span_reporting` is `true`, // the sidecar will ignore the incoming trace context, generating no spans for // the traffic (the context will be silently forwarded). This is equivalent to // disabling tracing for the sidecar. - bool report_spans = 2; + bool disable_span_reporting = 2; // Controls whether or not Istio-specific tags will be generated for each // span created by the sidecar proxies. These tags include information on // the canonical service, meh, and namespace involved in the request. - // Default: true - bool include_istio_tags = 3; + bool exclude_mesh_tags = 3; // CustomTag defines a tag to be added to a trace span that is based on // an operator-supplied value. This value can either be a hard-coded value, @@ -263,7 +267,8 @@ message Tracing { map custom_tags = 4; // Optional. Controls the overall path length allowed in a reported span. - uint32 max_path_tag_length = 5; + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 5; // Required. oneof sampler { From 349a3d25c521d1e923ff41a92f997f8d7c01ab52 Mon Sep 17 00:00:00 2001 From: Douglas Reid Date: Tue, 16 Mar 2021 10:42:55 -0700 Subject: [PATCH 09/15] Add back providers, remove match, simplify Trace API --- kubernetes/customresourcedefinitions.gen.yaml | 112 +- mesh/v1alpha1/config.pb.go | 6643 +++++++++++------ mesh/v1alpha1/config.proto | 158 +- mesh/v1alpha1/istio.mesh.v1alpha1.gen.json | 252 +- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 475 +- mesh/v1alpha1/proxy.pb.go | 276 +- mesh/v1alpha1/proxy.proto | 3 +- python/istio_api/mesh/v1alpha1/config_pb2.py | 510 +- python/istio_api/mesh/v1alpha1/proxy_pb2.py | 27 +- .../telemetry/v1alpha1/telemetry_pb2.py | 488 +- telemetry/v1alpha1/telemetry.pb.go | 3052 ++------ telemetry/v1alpha1/telemetry.pb.html | 488 +- telemetry/v1alpha1/telemetry.proto | 215 +- telemetry/v1alpha1/telemetry_deepcopy.gen.go | 142 +- telemetry/v1alpha1/telemetry_json.gen.go | 74 +- 15 files changed, 6951 insertions(+), 5964 deletions(-) diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index 340fe65a0d..bbcf371e38 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -5886,30 +5886,7 @@ spec: properties: config: description: Customization of the default behavior for tracing. - oneOf: - - not: - anyOf: - - required: - - constantSampler - - required: - - percentageSampler - - required: - - constantSampler - - required: - - percentageSampler properties: - constantSampler: - description: A sampler that makes uniform decisions for - all Sidecar traffic. - properties: - decision: - description: Controls the behavior of the sampler. - enum: - - DECISION_UNSPECIFIED - - NEVER - - ALWAYS - type: string - type: object customTags: additionalProperties: oneOf: @@ -5921,16 +5898,12 @@ spec: - environment - required: - header - - required: - - metadata - required: - literal - required: - environment - required: - header - - required: - - metadata properties: environment: description: Environment adds the value of an environment @@ -5969,80 +5942,27 @@ spec: format: string type: string type: object - metadata: - description: Metadata adds the value of a metadata - field to each span. - properties: - defaultValue: - description: Optional. - format: string - type: string - key: - description: Defines the path used to retrieve - the tag value. - properties: - key: - description: Required. - format: string - type: string - segment: - description: Required. - items: - properties: - key: - description: Key to retrieve the value - in a Struct. - format: string - type: string - type: object - type: array - type: object - kind: - description: Kind of metadata from which to obtain - tag value. - enum: - - REQUEST - - ROUTE - - CLUSTER - - HOST - type: string - type: object type: object description: Optional. type: object - disableSpanReporting: - description: Disables the tracing functionality. - type: boolean - excludeMeshTags: - type: boolean - maxTagLength: - description: Optional. - type: integer - percentageSampler: - description: A sampler that selects a configurable percentage - of traffic for telemetry generation. - properties: - target: - format: double - type: number - type: object - type: object - match: - description: Defines the conditions under which the associated - configuration applies. - properties: - port: - description: Optional. - properties: - number: - type: integer - type: object - trafficDirection: + providers: description: Optional. + items: + properties: + name: + description: Required. + format: string + type: string + type: object + type: array + randomSamplingPercentage: + format: double + type: number + spanReporting: + description: Controls trace reporting. enum: - - ALL_DIRECTIONS - - OUTBOUND - - INBOUND + - REPORT_SPANS + - DO_NOT_REPORT_SPANS type: string type: object type: object diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 91a33a4d9e..fb4db206c3 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -206,6 +206,55 @@ func (MeshConfig_OutboundTrafficPolicy_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptor_b5c7ece76d5d5022, []int{0, 0, 0} } +// TraceContext selects the context propagation headers used for +// distributed tracing. +type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext int32 + +const ( + // $hide_from_docs + // Unspecified context. Should not be used for now, but added to reserve + // the 0 enum value if TraceContext is used outside of a repeated field. + MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_UNSPECIFIED MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 0 + // Use W3C Trace Context propagation using the `traceparent` HTTP header. + // See the + // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. + MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_W3C_TRACE_CONTEXT MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 1 + // Use gRPC binary context propagation using the `grpc-trace-bin` http header. + MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_GRPC_BIN MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 2 + // Use Cloud Trace context propagation using the + // `X-Cloud-Trace-Context` http header. + MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_CLOUD_TRACE_CONTEXT MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 3 + // Use multi-header B3 context propagation using the `X-B3-TraceId`, + // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See + // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) + // for details. + MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_B3 MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext = 4 +) + +var MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "W3C_TRACE_CONTEXT", + 2: "GRPC_BIN", + 3: "CLOUD_TRACE_CONTEXT", + 4: "B3", +} + +var MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_value = map[string]int32{ + "UNSPECIFIED": 0, + "W3C_TRACE_CONTEXT": 1, + "GRPC_BIN": 2, + "CLOUD_TRACE_CONTEXT": 3, + "B3": 4, +} + +func (x MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) String() string { + return proto.EnumName(MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_name, int32(x)) +} + +func (MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 6, 0} +} + // MeshConfig defines mesh-wide settings for the Istio service mesh. type MeshConfig struct { // Port on which Envoy should listen for incoming connections from @@ -455,6 +504,8 @@ type MeshConfig struct { // Defines a list of extension providers that extend Istio's functionality. For example, the AuthorizationPolicy // can be used with an extension provider to delegate the authorization decision to a custom authorization system. ExtensionProviders []*MeshConfig_ExtensionProvider `protobuf:"bytes,57,rep,name=extension_providers,json=extensionProviders,proto3" json:"extensionProviders,omitempty"` + // Name of the default tracing provider. This should match the name of a provider configured in `extension_providers`. + DefaultTracingProvider string `protobuf:"bytes,60,opt,name=default_tracing_provider,json=defaultTracingProvider,proto3" json:"defaultTracingProvider,omitempty"` // A list of Kubernetes selectors that specify the set of namespaces that Istio considers when // computing configuration updates for sidecars. This can be used to reduce Istio's computational load // by limiting the number of entities (including services, pods, and endpoints) that are watched and processed. @@ -781,6 +832,13 @@ func (m *MeshConfig) GetExtensionProviders() []*MeshConfig_ExtensionProvider { return nil } +func (m *MeshConfig) GetDefaultTracingProvider() string { + if m != nil { + return m.DefaultTracingProvider + } + return "" +} + func (m *MeshConfig) GetDiscoverySelectors() []*v1.LabelSelector { if m != nil { return m.DiscoverySelectors @@ -1214,6 +1272,11 @@ type MeshConfig_ExtensionProvider struct { // Types that are valid to be assigned to Provider: // *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp // *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc + // *MeshConfig_ExtensionProvider_Zipkin + // *MeshConfig_ExtensionProvider_Lightstep + // *MeshConfig_ExtensionProvider_Datadog + // *MeshConfig_ExtensionProvider_Stackdriver + // *MeshConfig_ExtensionProvider_Opencensus Provider isMeshConfig_ExtensionProvider_Provider `protobuf_oneof:"provider"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1265,9 +1328,29 @@ type MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp struct { type MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc struct { EnvoyExtAuthzGrpc *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider `protobuf:"bytes,3,opt,name=envoy_ext_authz_grpc,json=envoyExtAuthzGrpc,proto3,oneof" json:"envoyExtAuthzGrpc,omitempty"` } +type MeshConfig_ExtensionProvider_Zipkin struct { + Zipkin *MeshConfig_ExtensionProvider_ZipkinTracingProvider `protobuf:"bytes,4,opt,name=zipkin,proto3,oneof" json:"zipkin,omitempty"` +} +type MeshConfig_ExtensionProvider_Lightstep struct { + Lightstep *MeshConfig_ExtensionProvider_LightstepTracingProvider `protobuf:"bytes,5,opt,name=lightstep,proto3,oneof" json:"lightstep,omitempty"` +} +type MeshConfig_ExtensionProvider_Datadog struct { + Datadog *MeshConfig_ExtensionProvider_DatadogTracingProvider `protobuf:"bytes,6,opt,name=datadog,proto3,oneof" json:"datadog,omitempty"` +} +type MeshConfig_ExtensionProvider_Stackdriver struct { + Stackdriver *MeshConfig_ExtensionProvider_StackdriverProvider `protobuf:"bytes,7,opt,name=stackdriver,proto3,oneof" json:"stackdriver,omitempty"` +} +type MeshConfig_ExtensionProvider_Opencensus struct { + Opencensus *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider `protobuf:"bytes,8,opt,name=opencensus,proto3,oneof" json:"opencensus,omitempty"` +} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) isMeshConfig_ExtensionProvider_Provider() {} func (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Zipkin) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Lightstep) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Datadog) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Stackdriver) isMeshConfig_ExtensionProvider_Provider() {} +func (*MeshConfig_ExtensionProvider_Opencensus) isMeshConfig_ExtensionProvider_Provider() {} func (m *MeshConfig_ExtensionProvider) GetProvider() isMeshConfig_ExtensionProvider_Provider { if m != nil { @@ -1297,11 +1380,51 @@ func (m *MeshConfig_ExtensionProvider) GetEnvoyExtAuthzGrpc() *MeshConfig_Extens return nil } +func (m *MeshConfig_ExtensionProvider) GetZipkin() *MeshConfig_ExtensionProvider_ZipkinTracingProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Zipkin); ok { + return x.Zipkin + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetLightstep() *MeshConfig_ExtensionProvider_LightstepTracingProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Lightstep); ok { + return x.Lightstep + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetDatadog() *MeshConfig_ExtensionProvider_DatadogTracingProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Datadog); ok { + return x.Datadog + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetStackdriver() *MeshConfig_ExtensionProvider_StackdriverProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Stackdriver); ok { + return x.Stackdriver + } + return nil +} + +func (m *MeshConfig_ExtensionProvider) GetOpencensus() *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider { + if x, ok := m.GetProvider().(*MeshConfig_ExtensionProvider_Opencensus); ok { + return x.Opencensus + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*MeshConfig_ExtensionProvider) XXX_OneofWrappers() []interface{} { return []interface{}{ (*MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp)(nil), (*MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc)(nil), + (*MeshConfig_ExtensionProvider_Zipkin)(nil), + (*MeshConfig_ExtensionProvider_Lightstep)(nil), + (*MeshConfig_ExtensionProvider_Datadog)(nil), + (*MeshConfig_ExtensionProvider_Stackdriver)(nil), + (*MeshConfig_ExtensionProvider_Opencensus)(nil), } } @@ -1529,37 +1652,42 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ge return "" } -// ConfigSource describes information about a configuration store inside a -// mesh. A single control plane instance can interact with one or more data -// sources. -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. +// Defines configuration for a Zipkin tracer. +type MeshConfig_ExtensionProvider_ZipkinTracingProvider struct { + // Address of the Zipkin service (e.g. _zipkin:9411_). 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 + // 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,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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + ExcludeMeshTags bool `protobuf:"varint,3,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"excludeMeshTags,omitempty"` + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,4,opt,name=max_tag_length,json=maxTagLength,proto3" json:"maxTagLength,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ConfigSource) Reset() { *m = ConfigSource{} } -func (m *ConfigSource) String() string { return proto.CompactTextString(m) } -func (*ConfigSource) ProtoMessage() {} -func (*ConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{1} +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) Reset() { + *m = MeshConfig_ExtensionProvider_ZipkinTracingProvider{} } -func (m *ConfigSource) XXX_Unmarshal(b []byte) error { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_ZipkinTracingProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 2} +} +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) + return xxx_messageInfo_MeshConfig_ExtensionProvider_ZipkinTracingProvider.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1569,82 +1697,84 @@ func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSource.Merge(m, src) +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_ZipkinTracingProvider.Merge(m, src) } -func (m *ConfigSource) XXX_Size() int { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) XXX_Size() int { return m.Size() } -func (m *ConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigSource.DiscardUnknown(m) +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_ZipkinTracingProvider.DiscardUnknown(m) } -var xxx_messageInfo_ConfigSource proto.InternalMessageInfo +var xxx_messageInfo_MeshConfig_ExtensionProvider_ZipkinTracingProvider proto.InternalMessageInfo -func (m *ConfigSource) GetAddress() string { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetAddress() string { if m != nil { return m.Address } return "" } -func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetTlsSettings() *v1alpha3.ClientTLSSettings { if m != nil { return m.TlsSettings } return nil } -func (m *ConfigSource) GetSubscribedResources() []Resource { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetExcludeMeshTags() bool { if m != nil { - return m.SubscribedResources + return m.ExcludeMeshTags } - return nil + return false } -// 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 -// } -// ``` -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"` +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) GetMaxTagLength() uint32 { + if m != nil { + return m.MaxTagLength + } + return 0 +} + +// Defines configuration for a Lightstep tracer. +type MeshConfig_ExtensionProvider_LightstepTracingProvider 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"` + // 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,3,opt,name=tls_settings,json=tlsSettings,proto3" json:"tlsSettings,omitempty"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + ExcludeMeshTags bool `protobuf:"varint,4,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"excludeMeshTags,omitempty"` + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,5,opt,name=max_tag_length,json=maxTagLength,proto3" json:"maxTagLength,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *Certificate) Reset() { *m = Certificate{} } -func (m *Certificate) String() string { return proto.CompactTextString(m) } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_b5c7ece76d5d5022, []int{2} +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) Reset() { + *m = MeshConfig_ExtensionProvider_LightstepTracingProvider{} } -func (m *Certificate) XXX_Unmarshal(b []byte) error { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_LightstepTracingProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 3} +} +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + return xxx_messageInfo_MeshConfig_ExtensionProvider_LightstepTracingProvider.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1654,584 +1784,751 @@ func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Certificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certificate.Merge(m, src) +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_LightstepTracingProvider.Merge(m, src) } -func (m *Certificate) XXX_Size() int { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) XXX_Size() int { return m.Size() } -func (m *Certificate) XXX_DiscardUnknown() { - xxx_messageInfo_Certificate.DiscardUnknown(m) +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_LightstepTracingProvider.DiscardUnknown(m) } -var xxx_messageInfo_Certificate proto.InternalMessageInfo +var xxx_messageInfo_MeshConfig_ExtensionProvider_LightstepTracingProvider proto.InternalMessageInfo -func (m *Certificate) GetSecretName() string { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) GetAddress() string { if m != nil { - return m.SecretName + return m.Address } return "" } -func (m *Certificate) GetDnsNames() []string { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) GetAccessToken() string { if m != nil { - return m.DnsNames + return m.AccessToken + } + return "" +} + +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) GetTlsSettings() *v1alpha3.ClientTLSSettings { + if m != nil { + return m.TlsSettings } return nil } -func init() { - proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) - proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) - proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") - proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") - proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") - proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") - proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") - proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") - proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") - proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") - proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") - proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") - proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) GetExcludeMeshTags() bool { + if m != nil { + return m.ExcludeMeshTags + } + return false } -func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) GetMaxTagLength() uint32 { + if m != nil { + return m.MaxTagLength + } + return 0 +} -var fileDescriptor_b5c7ece76d5d5022 = []byte{ - // 2465 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x72, 0x1b, 0xc7, - 0xb9, 0x26, 0xc8, 0xb1, 0x34, 0x6c, 0x12, 0xc4, 0xb0, 0x49, 0x4a, 0x23, 0xc8, 0xa2, 0x28, 0xda, - 0x92, 0x68, 0x1d, 0x1f, 0xc0, 0xa4, 0x7c, 0x91, 0xed, 0xaa, 0x53, 0x87, 0x04, 0x20, 0x91, 0x30, - 0x44, 0xf0, 0x34, 0x41, 0xf9, 0xf6, 0xd0, 0xd5, 0x9c, 0x69, 0x00, 0x73, 0x38, 0x98, 0x9e, 0x74, - 0xf7, 0x50, 0xa4, 0xab, 0xb2, 0x82, 0x2c, 0x21, 0x6b, 0x48, 0x16, 0x90, 0x15, 0xa4, 0x2a, 0x2f, - 0x79, 0xc8, 0x02, 0x52, 0x7e, 0xc9, 0x12, 0xf2, 0x9a, 0xea, 0xcb, 0x00, 0x20, 0x89, 0x18, 0x76, - 0x2a, 0x95, 0x37, 0xcc, 0xd7, 0xff, 0xff, 0x75, 0xf7, 0xdf, 0xff, 0x15, 0xa0, 0x3c, 0xa0, 0xa2, - 0x5f, 0x3d, 0xdf, 0x26, 0x71, 0xda, 0x27, 0xdb, 0xd5, 0x80, 0x25, 0xdd, 0xa8, 0x57, 0x49, 0x39, - 0x93, 0x0c, 0xae, 0x44, 0x42, 0x46, 0xac, 0xa2, 0x24, 0x2a, 0xb9, 0x44, 0x79, 0xbd, 0xc7, 0x58, - 0x2f, 0xa6, 0x55, 0x2d, 0x72, 0x9a, 0x75, 0xab, 0x61, 0xc6, 0x89, 0x8c, 0x58, 0x62, 0x94, 0x6e, - 0xae, 0xbf, 0xe5, 0x24, 0x4d, 0x29, 0x17, 0x76, 0xfd, 0xde, 0xd5, 0x0d, 0x53, 0xce, 0x2e, 0x2e, - 0xed, 0xd2, 0xb3, 0x84, 0xca, 0xb7, 0x8c, 0x9f, 0x45, 0x49, 0x2f, 0x17, 0x78, 0x5e, 0x0d, 0xa9, - 0x90, 0x51, 0xa2, 0x77, 0xc0, 0x3c, 0x8b, 0xa9, 0x95, 0xfd, 0xf8, 0xec, 0x85, 0xa8, 0x44, 0xac, - 0x4a, 0xd2, 0x68, 0x40, 0x82, 0x7e, 0x94, 0x50, 0x7e, 0x59, 0x4d, 0xcf, 0x7a, 0x0a, 0x10, 0xd5, - 0x01, 0x95, 0xa4, 0x7a, 0xbe, 0x5d, 0xed, 0xd1, 0x84, 0x72, 0x22, 0x69, 0x68, 0xb4, 0x36, 0xff, - 0xb0, 0x05, 0xc0, 0x6b, 0x2a, 0xfa, 0x35, 0x7d, 0x4d, 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0xa8, 0xff, 0x7c, - 0x6a, 0xaa, 0x59, 0x33, 0xaa, 0x47, 0x43, 0xcd, 0xd7, 0x4a, 0x11, 0x7e, 0x0f, 0xde, 0x3d, 0xa7, - 0x3c, 0xea, 0x5e, 0x8e, 0x27, 0x08, 0x4c, 0x24, 0x0e, 0xe2, 0x88, 0x26, 0xd2, 0xff, 0x74, 0x2a, - 0xf1, 0x3d, 0xa3, 0x3f, 0x66, 0xe5, 0x5d, 0x59, 0xd3, 0xca, 0x70, 0x07, 0xcc, 0x06, 0xc4, 0xff, - 0x4c, 0x53, 0x6c, 0x4e, 0x4d, 0x36, 0xbb, 0x68, 0x36, 0x20, 0xf0, 0x14, 0xac, 0xd0, 0x0b, 0x49, - 0x13, 0xa1, 0x82, 0x38, 0xe5, 0xec, 0x3c, 0x0a, 0x29, 0x17, 0xfe, 0xe7, 0xda, 0x86, 0x53, 0x0b, - 0x66, 0x23, 0x57, 0x3d, 0xb2, 0x9a, 0x08, 0xd2, 0xeb, 0x90, 0x80, 0x21, 0x58, 0x09, 0x23, 0x11, - 0xb0, 0x73, 0xca, 0x2f, 0x87, 0xcd, 0x83, 0xf0, 0xbf, 0xd4, 0x7b, 0x3c, 0xaf, 0x98, 0xe6, 0xb5, - 0x32, 0xde, 0xbc, 0x56, 0xd2, 0xb3, 0x9e, 0x02, 0x44, 0x45, 0x35, 0xaf, 0x95, 0xf3, 0xed, 0x4a, - 0x8b, 0x9c, 0xd2, 0x38, 0xef, 0x30, 0x10, 0x1c, 0xf2, 0xe5, 0x90, 0x28, 0xff, 0xae, 0x00, 0xd6, - 0x26, 0x56, 0x23, 0x78, 0x08, 0x1c, 0xdd, 0x16, 0x15, 0x74, 0x14, 0x7e, 0xf1, 0x2f, 0x95, 0xb4, - 0x8a, 0xee, 0x8d, 0x34, 0xcf, 0x66, 0x1d, 0x38, 0xba, 0x25, 0x5a, 0x06, 0x45, 0xd4, 0x78, 0x75, - 0x70, 0xdc, 0x41, 0xdf, 0xe2, 0xf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0xff, 0xdb, 0xea, 0x95, 0x7f, 0x84, 0x4f, 0x6f, 0xe9, - 0xc2, 0xff, 0xfc, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x2a, 0x5a, 0x58, 0x9a, 0x16, 0x00, - 0x00, +// Defines configuration for a Datadog tracer. +type MeshConfig_ExtensionProvider_DatadogTracingProvider struct { + // Address of the Datadog Agent. + 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 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,2,opt,name=tls_settings,json=tlsSettings,proto3" json:"tlsSettings,omitempty"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + ExcludeMeshTags bool `protobuf:"varint,3,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"excludeMeshTags,omitempty"` + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,4,opt,name=max_tag_length,json=maxTagLength,proto3" json:"maxTagLength,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MeshConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) Reset() { + *m = MeshConfig_ExtensionProvider_DatadogTracingProvider{} +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_DatadogTracingProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 4} +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_DatadogTracingProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return dAtA[:n], nil +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_DatadogTracingProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_DatadogTracingProvider.DiscardUnknown(m) } -func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var xxx_messageInfo_MeshConfig_ExtensionProvider_DatadogTracingProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) GetAddress() string { + if m != nil { + return m.Address + } + return "" } -func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) GetTlsSettings() *v1alpha3.ClientTLSSettings { + if m != nil { + return m.TlsSettings } - if len(m.DiscoverySelectors) > 0 { - for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xda - } + return nil +} + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) GetExcludeMeshTags() bool { + if m != nil { + return m.ExcludeMeshTags } - if len(m.CaCertificates) > 0 { - for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xd2 - } + return false +} + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) GetMaxTagLength() uint32 { + if m != nil { + return m.MaxTagLength } - if len(m.ExtensionProviders) > 0 { - for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xca + return 0 +} + +// Defines configuration for Stackdriver. +type MeshConfig_ExtensionProvider_StackdriverProvider 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 `protobuf:"bytes,3,opt,name=max_number_of_annotations,json=maxNumberOfAnnotations,proto3" json:"maxNumberOfAnnotations,omitempty"` + // The global default max number of message events per span. + // default is 200. + // $hide_from_docs + MaxNumberOfMessageEvents *types.Int64Value `protobuf:"bytes,4,opt,name=max_number_of_message_events,json=maxNumberOfMessageEvents,proto3" json:"maxNumberOfMessageEvents,omitempty"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + ExcludeMeshTags bool `protobuf:"varint,5,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"excludeMeshTags,omitempty"` + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,6,opt,name=max_tag_length,json=maxTagLength,proto3" json:"maxTagLength,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Reset() { + *m = MeshConfig_ExtensionProvider_StackdriverProvider{} +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_StackdriverProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_StackdriverProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 5} +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.DisableEnvoyListenerLog { - i-- - if m.DisableEnvoyListenerLog { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xc0 +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_MeshConfig_ExtensionProvider_StackdriverProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetDebug() bool { + if m != nil { + return m.Debug } - if m.Ca != nil { - { - size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xba + return false +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfAttributes() *types.Int64Value { + if m != nil { + return m.MaxNumberOfAttributes } - if m.VerifyCertificateAtClient != nil { - { - size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xb2 + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfAnnotations() *types.Int64Value { + if m != nil { + return m.MaxNumberOfAnnotations } - if len(m.IngressSelector) > 0 { - i -= len(m.IngressSelector) - copy(dAtA[i:], m.IngressSelector) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0xa2 + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxNumberOfMessageEvents() *types.Int64Value { + if m != nil { + return m.MaxNumberOfMessageEvents } - if m.EnablePrometheusMerge != nil { - { - size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x9a + return nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetExcludeMeshTags() bool { + if m != nil { + return m.ExcludeMeshTags } - if len(m.ServiceSettings) > 0 { - for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x92 - } + return false +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) GetMaxTagLength() uint32 { + if m != nil { + return m.MaxTagLength } - if m.ThriftConfig != nil { - { - size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + return 0 +} + +// Defines configuration for an OpenCensus tracer writing to an OpenCensus backend. +type MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider struct { + // gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or + // unix:path). See [gRPC naming + // docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for + // details. + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // 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,2,opt,name=tls_settings,json=tlsSettings,proto3" json:"tlsSettings,omitempty"` + // Specifies the set of context propagation headers used for distributed + // tracing. Default is `["W3C_TRACE_CONTEXT"]`. If multiple values are specified, + // the proxy will attempt to read each header for each request and will + // write all headers. + Context []MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext `protobuf:"varint,3,rep,packed,name=context,proto3,enum=istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext" json:"context,omitempty"` + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + ExcludeMeshTags bool `protobuf:"varint,4,opt,name=exclude_mesh_tags,json=excludeMeshTags,proto3" json:"excludeMeshTags,omitempty"` + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + MaxTagLength uint32 `protobuf:"varint,5,opt,name=max_tag_length,json=maxTagLength,proto3" json:"maxTagLength,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Reset() { + *m = MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider{} +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) String() string { + return proto.CompactTextString(m) +} +func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) ProtoMessage() {} +func (*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{0, 5, 6} +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x3 - i-- - dAtA[i] = 0x8a + return b[:n], nil } - if len(m.Certificates) > 0 { - for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xfa - } +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider.Merge(m, src) +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) XXX_Size() int { + return m.Size() +} +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) XXX_DiscardUnknown() { + xxx_messageInfo_MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider proto.InternalMessageInfo + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetAddress() string { + if m != nil { + return m.Address } - if len(m.TrustDomainAliases) > 0 { - for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TrustDomainAliases[iNdEx]) - copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xf2 - } + return "" +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetTlsSettings() *v1alpha3.ClientTLSSettings { + if m != nil { + return m.TlsSettings } - if len(m.OutboundClusterStatName) > 0 { - i -= len(m.OutboundClusterStatName) - copy(dAtA[i:], m.OutboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xea + return nil +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetContext() []MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext { + if m != nil { + return m.Context } - if len(m.InboundClusterStatName) > 0 { - i -= len(m.InboundClusterStatName) - copy(dAtA[i:], m.InboundClusterStatName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xe2 + return nil +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetExcludeMeshTags() bool { + if m != nil { + return m.ExcludeMeshTags } - if m.EnableAutoMtls != nil { - { - size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xda - } - if m.ProtocolDetectionTimeout != nil { - { - size, err := m.ProtocolDetectionTimeout.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xd2 - } - if m.H2UpgradePolicy != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.H2UpgradePolicy)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc8 - } - if m.EnableEnvoyAccessLogService { - i-- - if m.EnableEnvoyAccessLogService { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc0 + return false +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) GetMaxTagLength() uint32 { + if m != nil { + return m.MaxTagLength } - if m.DnsRefreshRate != nil { - { - size, err := m.DnsRefreshRate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) + return 0 +} + +// ConfigSource describes information about a configuration store inside a +// mesh. A single control plane instance can interact with one or more data +// sources. +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 `protobuf:"varint,3,rep,packed,name=subscribed_resources,json=subscribedResources,proto3,enum=istio.mesh.v1alpha1.Resource" json:"subscribedResources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigSource) Reset() { *m = ConfigSource{} } +func (m *ConfigSource) String() string { return proto.CompactTextString(m) } +func (*ConfigSource) ProtoMessage() {} +func (*ConfigSource) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{1} +} +func (m *ConfigSource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xa2 + return b[:n], nil } - if m.LocalityLbSetting != nil { - { - size, err := m.LocalityLbSetting.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x9a +} +func (m *ConfigSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSource.Merge(m, src) +} +func (m *ConfigSource) XXX_Size() int { + return m.Size() +} +func (m *ConfigSource) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSource.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigSource proto.InternalMessageInfo + +func (m *ConfigSource) GetAddress() string { + if m != nil { + return m.Address } - if len(m.RootNamespace) > 0 { - i -= len(m.RootNamespace) - copy(dAtA[i:], m.RootNamespace) - i = encodeVarintConfig(dAtA, i, uint64(len(m.RootNamespace))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x92 + return "" +} + +func (m *ConfigSource) GetTlsSettings() *v1alpha3.ClientTLSSettings { + if m != nil { + return m.TlsSettings } - if len(m.DefaultDestinationRuleExportTo) > 0 { - for iNdEx := len(m.DefaultDestinationRuleExportTo) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DefaultDestinationRuleExportTo[iNdEx]) - copy(dAtA[i:], m.DefaultDestinationRuleExportTo[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultDestinationRuleExportTo[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x8a - } + return nil +} + +func (m *ConfigSource) GetSubscribedResources() []Resource { + if m != nil { + return m.SubscribedResources } - if len(m.DefaultVirtualServiceExportTo) > 0 { - for iNdEx := len(m.DefaultVirtualServiceExportTo) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DefaultVirtualServiceExportTo[iNdEx]) - copy(dAtA[i:], m.DefaultVirtualServiceExportTo[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultVirtualServiceExportTo[iNdEx]))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x82 + return nil +} + +// 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 +// } +// ``` +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:"-"` +} + +func (m *Certificate) Reset() { *m = Certificate{} } +func (m *Certificate) String() string { return proto.CompactTextString(m) } +func (*Certificate) ProtoMessage() {} +func (*Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_b5c7ece76d5d5022, []int{2} +} +func (m *Certificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if len(m.DefaultServiceExportTo) > 0 { - for iNdEx := len(m.DefaultServiceExportTo) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DefaultServiceExportTo[iNdEx]) - copy(dAtA[i:], m.DefaultServiceExportTo[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultServiceExportTo[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xfa - } +} +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) +} +func (m *Certificate) XXX_Size() int { + return m.Size() +} +func (m *Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_Certificate proto.InternalMessageInfo + +func (m *Certificate) GetSecretName() string { + if m != nil { + return m.SecretName } - if m.TcpKeepalive != nil { - { - size, err := m.TcpKeepalive.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintConfig(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe2 + return "" +} + +func (m *Certificate) GetDnsNames() []string { + if m != nil { + return m.DnsNames } - if m.AccessLogEncoding != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.AccessLogEncoding)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd8 + return nil +} + +func init() { + proto.RegisterEnum("istio.mesh.v1alpha1.Resource", Resource_name, Resource_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_IngressControllerMode", MeshConfig_IngressControllerMode_name, MeshConfig_IngressControllerMode_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AuthPolicy", MeshConfig_AuthPolicy_name, MeshConfig_AuthPolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_AccessLogEncoding", MeshConfig_AccessLogEncoding_name, MeshConfig_AccessLogEncoding_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_H2UpgradePolicy", MeshConfig_H2UpgradePolicy_name, MeshConfig_H2UpgradePolicy_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode", MeshConfig_OutboundTrafficPolicy_Mode_name, MeshConfig_OutboundTrafficPolicy_Mode_value) + proto.RegisterEnum("istio.mesh.v1alpha1.MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext", MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_name, MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext_value) + proto.RegisterType((*MeshConfig)(nil), "istio.mesh.v1alpha1.MeshConfig") + proto.RegisterType((*MeshConfig_OutboundTrafficPolicy)(nil), "istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy") + proto.RegisterType((*MeshConfig_CertificateData)(nil), "istio.mesh.v1alpha1.MeshConfig.CertificateData") + proto.RegisterType((*MeshConfig_ThriftConfig)(nil), "istio.mesh.v1alpha1.MeshConfig.ThriftConfig") + proto.RegisterType((*MeshConfig_ServiceSettings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings") + proto.RegisterType((*MeshConfig_ServiceSettings_Settings)(nil), "istio.mesh.v1alpha1.MeshConfig.ServiceSettings.Settings") + proto.RegisterType((*MeshConfig_CA)(nil), "istio.mesh.v1alpha1.MeshConfig.CA") + proto.RegisterType((*MeshConfig_ExtensionProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_ZipkinTracingProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_LightstepTracingProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_DatadogTracingProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_StackdriverProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider") + proto.RegisterType((*MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider)(nil), "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider") + proto.RegisterType((*ConfigSource)(nil), "istio.mesh.v1alpha1.ConfigSource") + proto.RegisterType((*Certificate)(nil), "istio.mesh.v1alpha1.Certificate") +} + +func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptor_b5c7ece76d5d5022) } + +var fileDescriptor_b5c7ece76d5d5022 = []byte{ + // 2942 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4f, 0x73, 0x1b, 0xc7, + 0xb1, 0x27, 0x48, 0x48, 0x5c, 0x0e, 0x00, 0x72, 0x39, 0xfc, 0xa3, 0x15, 0x64, 0x51, 0x14, 0x6d, + 0x49, 0xb4, 0x9e, 0x1f, 0x68, 0x51, 0xb6, 0x2c, 0xdb, 0xaf, 0x5e, 0x3d, 0x10, 0x80, 0x44, 0xc2, + 0x10, 0xc1, 0x37, 0x04, 0xe5, 0x7f, 0x95, 0x9a, 0x1a, 0xee, 0x0e, 0x80, 0x35, 0x17, 0x3b, 0xc8, + 0xcc, 0x2c, 0x45, 0xaa, 0x2a, 0xf7, 0x54, 0xe5, 0x23, 0xe4, 0x33, 0x24, 0xdf, 0x20, 0xf7, 0x54, + 0xe5, 0x92, 0x43, 0x72, 0x4f, 0xf9, 0x23, 0xe4, 0x92, 0xaa, 0x5c, 0x92, 0x9a, 0x3f, 0x0b, 0x80, + 0x24, 0x2c, 0x8a, 0x29, 0xc7, 0x55, 0xb9, 0x61, 0x7b, 0xba, 0x7f, 0x3d, 0xd3, 0xd3, 0xdd, 0xd3, + 0xdd, 0x00, 0xc5, 0x1e, 0x15, 0xdd, 0x8d, 0xe3, 0x47, 0x24, 0xea, 0x77, 0xc9, 0xa3, 0x0d, 0x9f, + 0xc5, 0xed, 0xb0, 0x53, 0xea, 0x73, 0x26, 0x19, 0x5c, 0x08, 0x85, 0x0c, 0x59, 0x49, 0x71, 0x94, + 0x52, 0x8e, 0xe2, 0x4a, 0x87, 0xb1, 0x4e, 0x44, 0x37, 0x34, 0xcb, 0x61, 0xd2, 0xde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0x95, 0x36, 0x42, 0x51, 0xfa, 0xbf, 0x83, 0x99, 0x15, + 0xe9, 0x6e, 0xed, 0xcc, 0x5e, 0x51, 0x5e, 0x04, 0x02, 0x27, 0x81, 0xc0, 0xaa, 0xd0, 0x43, 0xf3, + 0xe2, 0x02, 0xe0, 0xb2, 0x45, 0x50, 0x2b, 0xfa, 0x2d, 0xc5, 0x3d, 0x96, 0xc4, 0x12, 0x41, 0x2d, + 0x28, 0x28, 0x3e, 0x7a, 0x2a, 0xb0, 0x20, 0xf8, 0xbb, 0x57, 0x12, 0x15, 0x25, 0xe5, 0xbd, 0x74, + 0xbc, 0x1b, 0x70, 0x12, 0xc6, 0x38, 0xfd, 0x77, 0x13, 0x2d, 0xa6, 0x36, 0xb1, 0x16, 0x3c, 0x24, + 0xd2, 0xef, 0x22, 0x6f, 0xf4, 0x0b, 0xab, 0xb0, 0xa2, 0xb1, 0xe4, 0x21, 0x15, 0x68, 0xe9, 0xc2, + 0x8a, 0xea, 0x56, 0xd7, 0xfe, 0x90, 0x01, 0xf9, 0xd1, 0x29, 0xff, 0x4f, 0x99, 0x9d, 0xf6, 0xc0, + 0xa2, 0x48, 0x0e, 0x85, 0xcf, 0xc3, 0x43, 0x1a, 0x60, 0x4e, 0xd3, 0x7f, 0x24, 0x4c, 0xaa, 0xba, + 0x3d, 0x36, 0x55, 0x21, 0xcb, 0x85, 0x16, 0x86, 0xa2, 0x29, 0x4d, 0xac, 0x7d, 0x01, 0x72, 0x23, + 0x63, 0x19, 0x55, 0x82, 0x0b, 0xea, 0x73, 0x6a, 0x27, 0xac, 0xe6, 0x3c, 0xc0, 0x90, 0xf4, 0x50, + 0xf5, 0x16, 0x98, 0x09, 0x62, 0x61, 0x86, 0xdf, 0x76, 0xf0, 0xe0, 0x04, 0xb1, 0xd0, 0x73, 0xef, + 0x87, 0xab, 0xc0, 0x49, 0x91, 0xe1, 0x22, 0x70, 0xd3, 0xf9, 0x4f, 0x3a, 0x35, 0x72, 0x27, 0xb6, + 0xd6, 0x7f, 0xff, 0xfd, 0x4a, 0xe6, 0x8f, 0xdf, 0xaf, 0x64, 0xfe, 0xf2, 0xfd, 0x4a, 0xe6, 0x9b, + 0xa2, 0xd9, 0xaf, 0xf9, 0x13, 0x78, 0xe3, 0xcc, 0xdf, 0xca, 0x87, 0xd7, 0xf5, 0xbb, 0xf4, 0xf8, + 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x34, 0x44, 0x63, 0x2a, 0xdf, 0x1e, 0x00, 0x00, +} + +func (m *MeshConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.TrustDomain) > 0 { - i -= len(m.TrustDomain) - copy(dAtA[i:], m.TrustDomain) - i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomain))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 + return dAtA[:n], nil +} + +func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.AccessLogFormat) > 0 { - i -= len(m.AccessLogFormat) - copy(dAtA[i:], m.AccessLogFormat) - i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogFormat))) + if len(m.DefaultTracingProvider) > 0 { + i -= len(m.DefaultTracingProvider) + copy(dAtA[i:], m.DefaultTracingProvider) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultTracingProvider))) i-- - dAtA[i] = 0x1 + dAtA[i] = 0x3 i-- - dAtA[i] = 0xc2 + dAtA[i] = 0xe2 } - if len(m.ConfigSources) > 0 { - for iNdEx := len(m.ConfigSources) - 1; iNdEx >= 0; iNdEx-- { + if len(m.DiscoverySelectors) > 0 { + for iNdEx := len(m.DiscoverySelectors) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ConfigSources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DiscoverySelectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2239,14 +2536,58 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 + dAtA[i] = 0x3 i-- - dAtA[i] = 0xb2 + dAtA[i] = 0xda } } - if m.OutboundTrafficPolicy != nil { + if len(m.CaCertificates) > 0 { + for iNdEx := len(m.CaCertificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CaCertificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd2 + } + } + if len(m.ExtensionProviders) > 0 { + for iNdEx := len(m.ExtensionProviders) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ExtensionProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xca + } + } + if m.DisableEnvoyListenerLog { + i-- + if m.DisableEnvoyListenerLog { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc0 + } + if m.Ca != nil { { - size, err := m.OutboundTrafficPolicy.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Ca.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2254,13 +2595,13 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 + dAtA[i] = 0x3 i-- - dAtA[i] = 0x8a + dAtA[i] = 0xba } - if m.DefaultConfig != nil { + if m.VerifyCertificateAtClient != nil { { - size, err := m.DefaultConfig.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.VerifyCertificateAtClient.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2268,47 +2609,52 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x72 - } - if len(m.AccessLogFile) > 0 { - i -= len(m.AccessLogFile) - copy(dAtA[i:], m.AccessLogFile) - i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogFile))) + dAtA[i] = 0x3 i-- - dAtA[i] = 0x6a + dAtA[i] = 0xb2 } - if m.EnableTracing { + if len(m.IngressSelector) > 0 { + i -= len(m.IngressSelector) + copy(dAtA[i:], m.IngressSelector) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressSelector))) i-- - if m.EnableTracing { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x3 i-- - dAtA[i] = 0x60 + dAtA[i] = 0xa2 } - if m.IngressControllerMode != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.IngressControllerMode)) + if m.EnablePrometheusMerge != nil { + { + size, err := m.EnablePrometheusMerge.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x48 - } - if len(m.IngressService) > 0 { - i -= len(m.IngressService) - copy(dAtA[i:], m.IngressService) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressService))) + dAtA[i] = 0x3 i-- - dAtA[i] = 0x42 + dAtA[i] = 0x9a } - if len(m.IngressClass) > 0 { - i -= len(m.IngressClass) - copy(dAtA[i:], m.IngressClass) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressClass))) - i-- - dAtA[i] = 0x3a + if len(m.ServiceSettings) > 0 { + for iNdEx := len(m.ServiceSettings) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ServiceSettings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x92 + } } - if m.ConnectTimeout != nil { + if m.ThriftConfig != nil { { - size, err := m.ConnectTimeout.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ThriftConfig.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2316,144 +2662,58 @@ func (m *MeshConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 - } - if m.ProxyHttpPort != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.ProxyHttpPort)) + dAtA[i] = 0x3 i-- - dAtA[i] = 0x28 + dAtA[i] = 0x8a } - if m.ProxyListenPort != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.ProxyListenPort)) - i-- - dAtA[i] = 0x20 + if len(m.Certificates) > 0 { + for iNdEx := len(m.Certificates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Certificates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_OutboundTrafficPolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.TrustDomainAliases) > 0 { + for iNdEx := len(m.TrustDomainAliases) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TrustDomainAliases[iNdEx]) + copy(dAtA[i:], m.TrustDomainAliases[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomainAliases[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } } - return dAtA[:n], nil -} - -func (m *MeshConfig_OutboundTrafficPolicy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_OutboundTrafficPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.Mode != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.Mode)) + if len(m.OutboundClusterStatName) > 0 { + i -= len(m.OutboundClusterStatName) + copy(dAtA[i:], m.OutboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.OutboundClusterStatName))) i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_CertificateData) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig_CertificateData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_CertificateData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if m.CertificateData != nil { - { - size := m.CertificateData.Size() - i -= size - if _, err := m.CertificateData.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_CertificateData_Pem) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_CertificateData_Pem) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i -= len(m.Pem) - copy(dAtA[i:], m.Pem) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Pem))) - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} -func (m *MeshConfig_CertificateData_SpiffeBundleUrl) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_CertificateData_SpiffeBundleUrl) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i -= len(m.SpiffeBundleUrl) - copy(dAtA[i:], m.SpiffeBundleUrl) - i = encodeVarintConfig(dAtA, i, uint64(len(m.SpiffeBundleUrl))) - i-- - dAtA[i] = 0x12 - return len(dAtA) - i, nil -} -func (m *MeshConfig_ThriftConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea } - return dAtA[:n], nil -} - -func (m *MeshConfig_ThriftConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ThriftConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + if len(m.InboundClusterStatName) > 0 { + i -= len(m.InboundClusterStatName) + copy(dAtA[i:], m.InboundClusterStatName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.InboundClusterStatName))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 } - if m.RateLimitTimeout != nil { + if m.EnableAutoMtls != nil { { - size, err := m.RateLimitTimeout.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.EnableAutoMtls.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2461,54 +2721,13 @@ func (m *MeshConfig_ThriftConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.RateLimitUrl) > 0 { - i -= len(m.RateLimitUrl) - copy(dAtA[i:], m.RateLimitUrl) - i = encodeVarintConfig(dAtA, i, uint64(len(m.RateLimitUrl))) + dAtA[i] = 0x2 i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ServiceSettings) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig_ServiceSettings) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ServiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) - } - if len(m.Hosts) > 0 { - for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Hosts[iNdEx]) - copy(dAtA[i:], m.Hosts[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Hosts[iNdEx]))) - i-- - dAtA[i] = 0x12 - } + dAtA[i] = 0xda } - if m.Settings != nil { + if m.ProtocolDetectionTimeout != nil { { - size, err := m.Settings.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ProtocolDetectionTimeout.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2516,85 +2735,32 @@ func (m *MeshConfig_ServiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ServiceSettings_Settings) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig_ServiceSettings_Settings) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ServiceSettings_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 } - if m.ClusterLocal { + if m.H2UpgradePolicy != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.H2UpgradePolicy)) i-- - if m.ClusterLocal { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x2 i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_CA) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeshConfig_CA) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_CA) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + dAtA[i] = 0xc8 } - if m.IstiodSide { + if m.EnableEnvoyAccessLogService { i-- - if m.IstiodSide { + if m.EnableEnvoyAccessLogService { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x20 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc0 } - if m.RequestTimeout != nil { + if m.DnsRefreshRate != nil { { - size, err := m.RequestTimeout.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DnsRefreshRate.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2602,11 +2768,13 @@ func (m *MeshConfig_CA) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - if m.TlsSettings != nil { + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + if m.LocalityLbSetting != nil { { - size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.LocalityLbSetting.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2614,71 +2782,110 @@ func (m *MeshConfig_CA) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + if len(m.RootNamespace) > 0 { + i -= len(m.RootNamespace) + copy(dAtA[i:], m.RootNamespace) + i = encodeVarintConfig(dAtA, i, uint64(len(m.RootNamespace))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ExtensionProvider) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.DefaultDestinationRuleExportTo) > 0 { + for iNdEx := len(m.DefaultDestinationRuleExportTo) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DefaultDestinationRuleExportTo[iNdEx]) + copy(dAtA[i:], m.DefaultDestinationRuleExportTo[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultDestinationRuleExportTo[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } } - return dAtA[:n], nil -} - -func (m *MeshConfig_ExtensionProvider) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i -= len(m.XXX_unrecognized) - copy(dAtA[i:], m.XXX_unrecognized) + if len(m.DefaultVirtualServiceExportTo) > 0 { + for iNdEx := len(m.DefaultVirtualServiceExportTo) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DefaultVirtualServiceExportTo[iNdEx]) + copy(dAtA[i:], m.DefaultVirtualServiceExportTo[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultVirtualServiceExportTo[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x82 + } } - if m.Provider != nil { + if len(m.DefaultServiceExportTo) > 0 { + for iNdEx := len(m.DefaultServiceExportTo) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DefaultServiceExportTo[iNdEx]) + copy(dAtA[i:], m.DefaultServiceExportTo[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DefaultServiceExportTo[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa + } + } + if m.TcpKeepalive != nil { { - size := m.Provider.Size() - i -= size - if _, err := m.Provider.MarshalTo(dAtA[i:]); err != nil { + size, err := m.TcpKeepalive.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { return 0, err } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Name))) + if m.AccessLogEncoding != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.AccessLogEncoding)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd8 } - return len(dAtA) - i, nil -} - -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvoyExtAuthzHttp != nil { + if len(m.TrustDomain) > 0 { + i -= len(m.TrustDomain) + copy(dAtA[i:], m.TrustDomain) + i = encodeVarintConfig(dAtA, i, uint64(len(m.TrustDomain))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd2 + } + if len(m.AccessLogFormat) > 0 { + i -= len(m.AccessLogFormat) + copy(dAtA[i:], m.AccessLogFormat) + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogFormat))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + if len(m.ConfigSources) > 0 { + for iNdEx := len(m.ConfigSources) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ConfigSources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + } + if m.OutboundTrafficPolicy != nil { { - size, err := m.EnvoyExtAuthzHttp.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OutboundTrafficPolicy.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2686,20 +2893,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) MarshalToSizedBuffer(dA i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } - return len(dAtA) - i, nil -} -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.EnvoyExtAuthzGrpc != nil { + if m.DefaultConfig != nil { { - size, err := m.EnvoyExtAuthzGrpc.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DefaultConfig.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2707,11 +2907,70 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalToSizedBuffer(dA i = encodeVarintConfig(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x72 + } + if len(m.AccessLogFile) > 0 { + i -= len(m.AccessLogFile) + copy(dAtA[i:], m.AccessLogFile) + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessLogFile))) + i-- + dAtA[i] = 0x6a + } + if m.EnableTracing { + i-- + if m.EnableTracing { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if m.IngressControllerMode != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.IngressControllerMode)) + i-- + dAtA[i] = 0x48 + } + if len(m.IngressService) > 0 { + i -= len(m.IngressService) + copy(dAtA[i:], m.IngressService) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressService))) + i-- + dAtA[i] = 0x42 + } + if len(m.IngressClass) > 0 { + i -= len(m.IngressClass) + copy(dAtA[i:], m.IngressClass) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IngressClass))) + i-- + dAtA[i] = 0x3a + } + if m.ConnectTimeout != nil { + { + size, err := m.ConnectTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.ProxyHttpPort != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.ProxyHttpPort)) + i-- + dAtA[i] = 0x28 + } + if m.ProxyListenPort != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.ProxyListenPort)) + i-- + dAtA[i] = 0x20 } return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Marshal() (dAtA []byte, err error) { + +func (m *MeshConfig_OutboundTrafficPolicy) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2721,12 +2980,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Ma return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_OutboundTrafficPolicy) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_OutboundTrafficPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2735,73 +2994,125 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Ma i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.HeadersToDownstreamOnDeny) > 0 { - for iNdEx := len(m.HeadersToDownstreamOnDeny) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.HeadersToDownstreamOnDeny[iNdEx]) - copy(dAtA[i:], m.HeadersToDownstreamOnDeny[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.HeadersToDownstreamOnDeny[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.HeadersToUpstreamOnAllow) > 0 { - for iNdEx := len(m.HeadersToUpstreamOnAllow) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.HeadersToUpstreamOnAllow[iNdEx]) - copy(dAtA[i:], m.HeadersToUpstreamOnAllow[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.HeadersToUpstreamOnAllow[iNdEx]))) - i-- - dAtA[i] = 0x3a - } + if m.Mode != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.Mode)) + i-- + dAtA[i] = 0x8 } - if len(m.IncludeHeadersInCheck) > 0 { - for iNdEx := len(m.IncludeHeadersInCheck) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.IncludeHeadersInCheck[iNdEx]) - copy(dAtA[i:], m.IncludeHeadersInCheck[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.IncludeHeadersInCheck[iNdEx]))) - i-- - dAtA[i] = 0x32 - } + return len(dAtA) - i, nil +} + +func (m *MeshConfig_CertificateData) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.StatusOnError) > 0 { - i -= len(m.StatusOnError) - copy(dAtA[i:], m.StatusOnError) - i = encodeVarintConfig(dAtA, i, uint64(len(m.StatusOnError))) - i-- - dAtA[i] = 0x2a + return dAtA[:n], nil +} + +func (m *MeshConfig_CertificateData) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_CertificateData) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if m.FailOpen { - i-- - if m.FailOpen { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.CertificateData != nil { + { + size := m.CertificateData.Size() + i -= size + if _, err := m.CertificateData.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } } - i-- - dAtA[i] = 0x20 } - if len(m.PathPrefix) > 0 { - i -= len(m.PathPrefix) - copy(dAtA[i:], m.PathPrefix) - i = encodeVarintConfig(dAtA, i, uint64(len(m.PathPrefix))) - i-- - dAtA[i] = 0x1a + return len(dAtA) - i, nil +} + +func (m *MeshConfig_CertificateData_Pem) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_CertificateData_Pem) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.Pem) + copy(dAtA[i:], m.Pem) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Pem))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} +func (m *MeshConfig_CertificateData_SpiffeBundleUrl) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_CertificateData_SpiffeBundleUrl) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.SpiffeBundleUrl) + copy(dAtA[i:], m.SpiffeBundleUrl) + i = encodeVarintConfig(dAtA, i, uint64(len(m.SpiffeBundleUrl))) + i-- + dAtA[i] = 0x12 + return len(dAtA) - i, nil +} +func (m *MeshConfig_ThriftConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.Port != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.Port)) + return dAtA[:n], nil +} + +func (m *MeshConfig_ThriftConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ThriftConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.RateLimitTimeout != nil { + { + size, err := m.RateLimitTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.Service) > 0 { - i -= len(m.Service) - copy(dAtA[i:], m.Service) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) + if len(m.RateLimitUrl) > 0 { + i -= len(m.RateLimitUrl) + copy(dAtA[i:], m.RateLimitUrl) + i = encodeVarintConfig(dAtA, i, uint64(len(m.RateLimitUrl))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Marshal() (dAtA []byte, err error) { +func (m *MeshConfig_ServiceSettings) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2811,12 +3122,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ma return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_ServiceSettings) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_ServiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2825,39 +3136,68 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Ma i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.StatusOnError) > 0 { - i -= len(m.StatusOnError) - copy(dAtA[i:], m.StatusOnError) - i = encodeVarintConfig(dAtA, i, uint64(len(m.StatusOnError))) + if len(m.Hosts) > 0 { + for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Hosts[iNdEx]) + copy(dAtA[i:], m.Hosts[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Hosts[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.Settings != nil { + { + size, err := m.Settings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x22 + dAtA[i] = 0xa } - if m.FailOpen { + return len(dAtA) - i, nil +} + +func (m *MeshConfig_ServiceSettings_Settings) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MeshConfig_ServiceSettings_Settings) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ServiceSettings_Settings) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ClusterLocal { i-- - if m.FailOpen { + if m.ClusterLocal { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x18 - } - if m.Port != 0 { - i = encodeVarintConfig(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x10 - } - if len(m.Service) > 0 { - i -= len(m.Service) - copy(dAtA[i:], m.Service) - i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) - i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ConfigSource) Marshal() (dAtA []byte, err error) { +func (m *MeshConfig_CA) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2867,12 +3207,12 @@ func (m *ConfigSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_CA) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_CA) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2881,21 +3221,25 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.SubscribedResources) > 0 { - dAtA20 := make([]byte, len(m.SubscribedResources)*10) - var j19 int - for _, num := range m.SubscribedResources { - for num >= 1<<7 { - dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j19++ + if m.IstiodSide { + i-- + if m.IstiodSide { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.RequestTimeout != nil { + { + size, err := m.RequestTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA20[j19] = uint8(num) - j19++ + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } - i -= j19 - copy(dAtA[i:], dAtA20[:j19]) - i = encodeVarintConfig(dAtA, i, uint64(j19)) i-- dAtA[i] = 0x1a } @@ -2921,7 +3265,7 @@ func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Certificate) Marshal() (dAtA []byte, err error) { +func (m *MeshConfig_ExtensionProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2931,12 +3275,12 @@ func (m *Certificate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MeshConfig_ExtensionProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2945,556 +3289,2159 @@ func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.DnsNames) > 0 { - for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.DnsNames[iNdEx]) - copy(dAtA[i:], m.DnsNames[iNdEx]) - i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) + if m.Provider != nil { + { + size := m.Provider.Size() + i -= size + if _, err := m.Provider.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { - offset -= sovConfig(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ProxyListenPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyListenPort)) - } - if m.ProxyHttpPort != 0 { - n += 1 + sovConfig(uint64(m.ProxyHttpPort)) - } - if m.ConnectTimeout != nil { - l = m.ConnectTimeout.Size() - n += 1 + l + sovConfig(uint64(l)) - } - l = len(m.IngressClass) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - l = len(m.IngressService) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.IngressControllerMode != 0 { - n += 1 + sovConfig(uint64(m.IngressControllerMode)) - } - if m.EnableTracing { - n += 2 + +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.EnvoyExtAuthzHttp != nil { + { + size, err := m.EnvoyExtAuthzHttp.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - l = len(m.AccessLogFile) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.EnvoyExtAuthzGrpc != nil { + { + size, err := m.EnvoyExtAuthzGrpc.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.DefaultConfig != nil { - l = m.DefaultConfig.Size() - n += 1 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Zipkin) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Zipkin != nil { + { + size, err := m.Zipkin.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if m.OutboundTrafficPolicy != nil { - l = m.OutboundTrafficPolicy.Size() - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Lightstep) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Lightstep != nil { + { + size, err := m.Lightstep.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if len(m.ConfigSources) > 0 { - for _, e := range m.ConfigSources { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Datadog) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Datadog) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Datadog != nil { + { + size, err := m.Datadog.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x32 } - l = len(m.AccessLogFormat) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Stackdriver) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Stackdriver != nil { + { + size, err := m.Stackdriver.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a } - l = len(m.TrustDomain) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_Opencensus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Opencensus != nil { + { + size, err := m.Opencensus.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 } - if m.AccessLogEncoding != 0 { - n += 2 + sovConfig(uint64(m.AccessLogEncoding)) + return len(dAtA) - i, nil +} +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.TcpKeepalive != nil { - l = m.TcpKeepalive.Size() - n += 2 + l + sovConfig(uint64(l)) + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.DefaultServiceExportTo) > 0 { - for _, s := range m.DefaultServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if len(m.HeadersToDownstreamOnDeny) > 0 { + for iNdEx := len(m.HeadersToDownstreamOnDeny) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.HeadersToDownstreamOnDeny[iNdEx]) + copy(dAtA[i:], m.HeadersToDownstreamOnDeny[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.HeadersToDownstreamOnDeny[iNdEx]))) + i-- + dAtA[i] = 0x42 } } - if len(m.DefaultVirtualServiceExportTo) > 0 { - for _, s := range m.DefaultVirtualServiceExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if len(m.HeadersToUpstreamOnAllow) > 0 { + for iNdEx := len(m.HeadersToUpstreamOnAllow) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.HeadersToUpstreamOnAllow[iNdEx]) + copy(dAtA[i:], m.HeadersToUpstreamOnAllow[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.HeadersToUpstreamOnAllow[iNdEx]))) + i-- + dAtA[i] = 0x3a } } - if len(m.DefaultDestinationRuleExportTo) > 0 { - for _, s := range m.DefaultDestinationRuleExportTo { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) + if len(m.IncludeHeadersInCheck) > 0 { + for iNdEx := len(m.IncludeHeadersInCheck) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.IncludeHeadersInCheck[iNdEx]) + copy(dAtA[i:], m.IncludeHeadersInCheck[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.IncludeHeadersInCheck[iNdEx]))) + i-- + dAtA[i] = 0x32 } } - l = len(m.RootNamespace) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) - } - if m.LocalityLbSetting != nil { - l = m.LocalityLbSetting.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.DnsRefreshRate != nil { - l = m.DnsRefreshRate.Size() - n += 2 + l + sovConfig(uint64(l)) - } - if m.EnableEnvoyAccessLogService { - n += 3 - } - if m.H2UpgradePolicy != 0 { - n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) + if len(m.StatusOnError) > 0 { + i -= len(m.StatusOnError) + copy(dAtA[i:], m.StatusOnError) + i = encodeVarintConfig(dAtA, i, uint64(len(m.StatusOnError))) + i-- + dAtA[i] = 0x2a } - if m.ProtocolDetectionTimeout != nil { - l = m.ProtocolDetectionTimeout.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.FailOpen { + i-- + if m.FailOpen { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 } - if m.EnableAutoMtls != nil { - l = m.EnableAutoMtls.Size() - n += 2 + l + sovConfig(uint64(l)) + if len(m.PathPrefix) > 0 { + i -= len(m.PathPrefix) + copy(dAtA[i:], m.PathPrefix) + i = encodeVarintConfig(dAtA, i, uint64(len(m.PathPrefix))) + i-- + dAtA[i] = 0x1a } - l = len(m.InboundClusterStatName) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + if m.Port != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 } - l = len(m.OutboundClusterStatName) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + if len(m.Service) > 0 { + i -= len(m.Service) + copy(dAtA[i:], m.Service) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) + i-- + dAtA[i] = 0xa } - if len(m.TrustDomainAliases) > 0 { - for _, s := range m.TrustDomainAliases { - l = len(s) - n += 2 + l + sovConfig(uint64(l)) - } + return len(dAtA) - i, nil +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Certificates) > 0 { - for _, e := range m.Certificates { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) - } + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if m.ThriftConfig != nil { - l = m.ThriftConfig.Size() - n += 2 + l + sovConfig(uint64(l)) + if len(m.StatusOnError) > 0 { + i -= len(m.StatusOnError) + copy(dAtA[i:], m.StatusOnError) + i = encodeVarintConfig(dAtA, i, uint64(len(m.StatusOnError))) + i-- + dAtA[i] = 0x22 } - if len(m.ServiceSettings) > 0 { - for _, e := range m.ServiceSettings { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.FailOpen { + i-- + if m.FailOpen { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if m.EnablePrometheusMerge != nil { - l = m.EnablePrometheusMerge.Size() - n += 2 + l + sovConfig(uint64(l)) - } - l = len(m.IngressSelector) - if l > 0 { - n += 2 + l + sovConfig(uint64(l)) + if m.Port != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 } - if m.VerifyCertificateAtClient != nil { - l = m.VerifyCertificateAtClient.Size() - n += 2 + l + sovConfig(uint64(l)) + if len(m.Service) > 0 { + i -= len(m.Service) + copy(dAtA[i:], m.Service) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Service))) + i-- + dAtA[i] = 0xa } - if m.Ca != nil { - l = m.Ca.Size() - n += 2 + l + sovConfig(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.DisableEnvoyListenerLog { - n += 3 + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.ExtensionProviders) > 0 { - for _, e := range m.ExtensionProviders { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) - } + if m.MaxTagLength != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.MaxTagLength)) + i-- + dAtA[i] = 0x20 } - if len(m.CaCertificates) > 0 { - for _, e := range m.CaCertificates { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.ExcludeMeshTags { + i-- + if m.ExcludeMeshTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if len(m.DiscoverySelectors) > 0 { - for _, e := range m.DiscoverySelectors { - l = e.Size() - n += 2 + l + sovConfig(uint64(l)) + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MeshConfig_OutboundTrafficPolicy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Mode != 0 { - n += 1 + sovConfig(uint64(m.Mode)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MeshConfig_CertificateData) Size() (n int) { - if m == nil { - return 0 - } +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.CertificateData != nil { - n += m.CertificateData.Size() - } if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - return n -} - -func (m *MeshConfig_CertificateData_Pem) Size() (n int) { - if m == nil { - return 0 + if m.MaxTagLength != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.MaxTagLength)) + i-- + dAtA[i] = 0x28 } - var l int - _ = l - l = len(m.Pem) - n += 1 + l + sovConfig(uint64(l)) - return n -} -func (m *MeshConfig_CertificateData_SpiffeBundleUrl) Size() (n int) { - if m == nil { - return 0 + if m.ExcludeMeshTags { + i-- + if m.ExcludeMeshTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 } - var l int - _ = l - l = len(m.SpiffeBundleUrl) - n += 1 + l + sovConfig(uint64(l)) - return n -} -func (m *MeshConfig_ThriftConfig) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RateLimitUrl) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.RateLimitTimeout != nil { - l = m.RateLimitTimeout.Size() - n += 1 + l + sovConfig(uint64(l)) + if len(m.AccessToken) > 0 { + i -= len(m.AccessToken) + copy(dAtA[i:], m.AccessToken) + i = encodeVarintConfig(dAtA, i, uint64(len(m.AccessToken))) + i-- + dAtA[i] = 0x12 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MeshConfig_ServiceSettings) Size() (n int) { - if m == nil { - return 0 +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Settings != nil { - l = m.Settings.Size() - n += 1 + l + sovConfig(uint64(l)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.Hosts) > 0 { - for _, s := range m.Hosts { - l = len(s) - n += 1 + l + sovConfig(uint64(l)) + if m.MaxTagLength != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.MaxTagLength)) + i-- + dAtA[i] = 0x20 + } + if m.ExcludeMeshTags { + i-- + if m.ExcludeMeshTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MeshConfig_ServiceSettings_Settings) Size() (n int) { - if m == nil { - return 0 +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.ClusterLocal { - n += 2 - } if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - return n -} - -func (m *MeshConfig_CA) Size() (n int) { - if m == nil { - return 0 + if m.MaxTagLength != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.MaxTagLength)) + i-- + dAtA[i] = 0x30 } - var l int - _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if m.ExcludeMeshTags { + i-- + if m.ExcludeMeshTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 } - if m.TlsSettings != nil { - l = m.TlsSettings.Size() - n += 1 + l + sovConfig(uint64(l)) + if m.MaxNumberOfMessageEvents != nil { + { + size, err := m.MaxNumberOfMessageEvents.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if m.RequestTimeout != nil { - l = m.RequestTimeout.Size() - n += 1 + l + sovConfig(uint64(l)) + if m.MaxNumberOfAnnotations != nil { + { + size, err := m.MaxNumberOfAnnotations.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.IstiodSide { - n += 2 + if m.MaxNumberOfAttributes != nil { + { + size, err := m.MaxNumberOfAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if m.Debug { + i-- + if m.Debug { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) - } - if m.Provider != nil { - n += m.Provider.Size() - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnvoyExtAuthzHttp != nil { - l = m.EnvoyExtAuthzHttp.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.EnvoyExtAuthzGrpc != nil { - l = m.EnvoyExtAuthzGrpc.Size() - n += 1 + l + sovConfig(uint64(l)) - } - return n -} -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Size() (n int) { - if m == nil { - return 0 + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - var l int - _ = l - l = len(m.Service) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if m.MaxTagLength != 0 { + i = encodeVarintConfig(dAtA, i, uint64(m.MaxTagLength)) + i-- + dAtA[i] = 0x28 } - if m.Port != 0 { - n += 1 + sovConfig(uint64(m.Port)) + if m.ExcludeMeshTags { + i-- + if m.ExcludeMeshTags { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 } - l = len(m.PathPrefix) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if len(m.Context) > 0 { + dAtA31 := make([]byte, len(m.Context)*10) + var j30 int + for _, num := range m.Context { + for num >= 1<<7 { + dAtA31[j30] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j30++ + } + dAtA31[j30] = uint8(num) + j30++ + } + i -= j30 + copy(dAtA[i:], dAtA31[:j30]) + i = encodeVarintConfig(dAtA, i, uint64(j30)) + i-- + dAtA[i] = 0x1a } - if m.FailOpen { - n += 2 + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - l = len(m.StatusOnError) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa } - if len(m.IncludeHeadersInCheck) > 0 { - for _, s := range m.IncludeHeadersInCheck { - l = len(s) - n += 1 + l + sovConfig(uint64(l)) - } + return len(dAtA) - i, nil +} + +func (m *ConfigSource) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.HeadersToUpstreamOnAllow) > 0 { - for _, s := range m.HeadersToUpstreamOnAllow { - l = len(s) - n += 1 + l + sovConfig(uint64(l)) + return dAtA[:n], nil +} + +func (m *ConfigSource) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.SubscribedResources) > 0 { + dAtA34 := make([]byte, len(m.SubscribedResources)*10) + var j33 int + for _, num := range m.SubscribedResources { + for num >= 1<<7 { + dAtA34[j33] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j33++ + } + dAtA34[j33] = uint8(num) + j33++ } + i -= j33 + copy(dAtA[i:], dAtA34[:j33]) + i = encodeVarintConfig(dAtA, i, uint64(j33)) + i-- + dAtA[i] = 0x1a } - if len(m.HeadersToDownstreamOnDeny) > 0 { - for _, s := range m.HeadersToDownstreamOnDeny { - l = len(s) - n += 1 + l + sovConfig(uint64(l)) + if m.TlsSettings != nil { + { + size, err := m.TlsSettings.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintConfig(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintConfig(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Certificate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Certificate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - return n + if len(m.DnsNames) > 0 { + for iNdEx := len(m.DnsNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DnsNames[iNdEx]) + copy(dAtA[i:], m.DnsNames[iNdEx]) + i = encodeVarintConfig(dAtA, i, uint64(len(m.DnsNames[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.SecretName) > 0 { + i -= len(m.SecretName) + copy(dAtA[i:], m.SecretName) + i = encodeVarintConfig(dAtA, i, uint64(len(m.SecretName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Size() (n int) { +func encodeVarintConfig(dAtA []byte, offset int, v uint64) int { + offset -= sovConfig(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MeshConfig) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Service) - if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + if m.ProxyListenPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyListenPort)) } - if m.Port != 0 { - n += 1 + sovConfig(uint64(m.Port)) + if m.ProxyHttpPort != 0 { + n += 1 + sovConfig(uint64(m.ProxyHttpPort)) } - if m.FailOpen { - n += 2 + if m.ConnectTimeout != nil { + l = m.ConnectTimeout.Size() + n += 1 + l + sovConfig(uint64(l)) } - l = len(m.StatusOnError) + l = len(m.IngressClass) if l > 0 { n += 1 + l + sovConfig(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + l = len(m.IngressService) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) } - return n -} - -func (m *ConfigSource) Size() (n int) { - if m == nil { - return 0 + if m.IngressControllerMode != 0 { + n += 1 + sovConfig(uint64(m.IngressControllerMode)) } - var l int - _ = l - l = len(m.Address) + if m.EnableTracing { + n += 2 + } + l = len(m.AccessLogFile) if l > 0 { n += 1 + l + sovConfig(uint64(l)) } - if m.TlsSettings != nil { - l = m.TlsSettings.Size() + if m.DefaultConfig != nil { + l = m.DefaultConfig.Size() n += 1 + l + sovConfig(uint64(l)) } - if len(m.SubscribedResources) > 0 { - l = 0 - for _, e := range m.SubscribedResources { - l += sovConfig(uint64(e)) - } - n += 1 + sovConfig(uint64(l)) + l + if m.OutboundTrafficPolicy != nil { + l = m.OutboundTrafficPolicy.Size() + n += 2 + l + sovConfig(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if len(m.ConfigSources) > 0 { + for _, e := range m.ConfigSources { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } } - return n -} - -func (m *Certificate) Size() (n int) { - if m == nil { - return 0 + l = len(m.AccessLogFormat) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) } - var l int - _ = l - l = len(m.SecretName) + l = len(m.TrustDomain) if l > 0 { - n += 1 + l + sovConfig(uint64(l)) + n += 2 + l + sovConfig(uint64(l)) } - if len(m.DnsNames) > 0 { - for _, s := range m.DnsNames { + if m.AccessLogEncoding != 0 { + n += 2 + sovConfig(uint64(m.AccessLogEncoding)) + } + if m.TcpKeepalive != nil { + l = m.TcpKeepalive.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.DefaultServiceExportTo) > 0 { + for _, s := range m.DefaultServiceExportTo { l = len(s) - n += 1 + l + sovConfig(uint64(l)) + n += 2 + l + sovConfig(uint64(l)) } } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + if len(m.DefaultVirtualServiceExportTo) > 0 { + for _, s := range m.DefaultVirtualServiceExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } } - return n -} - -func sovConfig(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozConfig(x uint64) (n int) { - return sovConfig(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *MeshConfig) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx + if len(m.DefaultDestinationRuleExportTo) > 0 { + for _, s := range m.DefaultDestinationRuleExportTo { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + l = len(m.RootNamespace) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if m.LocalityLbSetting != nil { + l = m.LocalityLbSetting.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.DnsRefreshRate != nil { + l = m.DnsRefreshRate.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.EnableEnvoyAccessLogService { + n += 3 + } + if m.H2UpgradePolicy != 0 { + n += 2 + sovConfig(uint64(m.H2UpgradePolicy)) + } + if m.ProtocolDetectionTimeout != nil { + l = m.ProtocolDetectionTimeout.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.EnableAutoMtls != nil { + l = m.EnableAutoMtls.Size() + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.InboundClusterStatName) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.OutboundClusterStatName) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.TrustDomainAliases) > 0 { + for _, s := range m.TrustDomainAliases { + l = len(s) + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.Certificates) > 0 { + for _, e := range m.Certificates { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if m.ThriftConfig != nil { + l = m.ThriftConfig.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if len(m.ServiceSettings) > 0 { + for _, e := range m.ServiceSettings { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if m.EnablePrometheusMerge != nil { + l = m.EnablePrometheusMerge.Size() + n += 2 + l + sovConfig(uint64(l)) + } + l = len(m.IngressSelector) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if m.VerifyCertificateAtClient != nil { + l = m.VerifyCertificateAtClient.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.Ca != nil { + l = m.Ca.Size() + n += 2 + l + sovConfig(uint64(l)) + } + if m.DisableEnvoyListenerLog { + n += 3 + } + if len(m.ExtensionProviders) > 0 { + for _, e := range m.ExtensionProviders { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.CaCertificates) > 0 { + for _, e := range m.CaCertificates { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + if len(m.DiscoverySelectors) > 0 { + for _, e := range m.DiscoverySelectors { + l = e.Size() + n += 2 + l + sovConfig(uint64(l)) + } + } + l = len(m.DefaultTracingProvider) + if l > 0 { + n += 2 + l + sovConfig(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_OutboundTrafficPolicy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Mode != 0 { + n += 1 + sovConfig(uint64(m.Mode)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_CertificateData) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CertificateData != nil { + n += m.CertificateData.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_CertificateData_Pem) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Pem) + n += 1 + l + sovConfig(uint64(l)) + return n +} +func (m *MeshConfig_CertificateData_SpiffeBundleUrl) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SpiffeBundleUrl) + n += 1 + l + sovConfig(uint64(l)) + return n +} +func (m *MeshConfig_ThriftConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RateLimitUrl) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.RateLimitTimeout != nil { + l = m.RateLimitTimeout.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ServiceSettings) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Settings != nil { + l = m.Settings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.Hosts) > 0 { + for _, s := range m.Hosts { + l = len(s) + n += 1 + l + sovConfig(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ServiceSettings_Settings) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ClusterLocal { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_CA) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.RequestTimeout != nil { + l = m.RequestTimeout.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.IstiodSide { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.Provider != nil { + n += m.Provider.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EnvoyExtAuthzHttp != nil { + l = m.EnvoyExtAuthzHttp.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EnvoyExtAuthzGrpc != nil { + l = m.EnvoyExtAuthzGrpc.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Zipkin) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Zipkin != nil { + l = m.Zipkin.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Lightstep) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Lightstep != nil { + l = m.Lightstep.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Datadog) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Datadog != nil { + l = m.Datadog.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Stackdriver) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Stackdriver != nil { + l = m.Stackdriver.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_Opencensus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Opencensus != nil { + l = m.Opencensus.Size() + n += 1 + l + sovConfig(uint64(l)) + } + return n +} +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Service) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.Port != 0 { + n += 1 + sovConfig(uint64(m.Port)) + } + l = len(m.PathPrefix) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.FailOpen { + n += 2 + } + l = len(m.StatusOnError) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.IncludeHeadersInCheck) > 0 { + for _, s := range m.IncludeHeadersInCheck { + l = len(s) + n += 1 + l + sovConfig(uint64(l)) + } + } + if len(m.HeadersToUpstreamOnAllow) > 0 { + for _, s := range m.HeadersToUpstreamOnAllow { + l = len(s) + n += 1 + l + sovConfig(uint64(l)) + } + } + if len(m.HeadersToDownstreamOnDeny) > 0 { + for _, s := range m.HeadersToDownstreamOnDeny { + l = len(s) + n += 1 + l + sovConfig(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Service) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.Port != 0 { + n += 1 + sovConfig(uint64(m.Port)) + } + if m.FailOpen { + n += 2 + } + l = len(m.StatusOnError) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.ExcludeMeshTags { + n += 2 + } + if m.MaxTagLength != 0 { + n += 1 + sovConfig(uint64(m.MaxTagLength)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + l = len(m.AccessToken) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.ExcludeMeshTags { + n += 2 + } + if m.MaxTagLength != 0 { + n += 1 + sovConfig(uint64(m.MaxTagLength)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.ExcludeMeshTags { + n += 2 + } + if m.MaxTagLength != 0 { + n += 1 + sovConfig(uint64(m.MaxTagLength)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Debug { + n += 2 + } + if m.MaxNumberOfAttributes != nil { + l = m.MaxNumberOfAttributes.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxNumberOfAnnotations != nil { + l = m.MaxNumberOfAnnotations.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.MaxNumberOfMessageEvents != nil { + l = m.MaxNumberOfMessageEvents.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if m.ExcludeMeshTags { + n += 2 + } + if m.MaxTagLength != 0 { + n += 1 + sovConfig(uint64(m.MaxTagLength)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.Context) > 0 { + l = 0 + for _, e := range m.Context { + l += sovConfig(uint64(e)) + } + n += 1 + sovConfig(uint64(l)) + l + } + if m.ExcludeMeshTags { + n += 2 + } + if m.MaxTagLength != 0 { + n += 1 + sovConfig(uint64(m.MaxTagLength)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ConfigSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if m.TlsSettings != nil { + l = m.TlsSettings.Size() + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.SubscribedResources) > 0 { + l = 0 + for _, e := range m.SubscribedResources { + l += sovConfig(uint64(e)) + } + n += 1 + sovConfig(uint64(l)) + l + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Certificate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecretName) + if l > 0 { + n += 1 + l + sovConfig(uint64(l)) + } + if len(m.DnsNames) > 0 { + for _, s := range m.DnsNames { + l = len(s) + n += 1 + l + sovConfig(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovConfig(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozConfig(x uint64) (n int) { + return sovConfig(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MeshConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig } - if iNdEx >= l { + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MeshConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MeshConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) + } + m.ProxyListenPort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProxyListenPort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) + } + m.ProxyHttpPort = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProxyHttpPort |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ConnectTimeout == nil { + m.ConnectTimeout = &types.Duration{} + } + if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IngressClass = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IngressService = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) + } + m.IngressControllerMode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableTracing = bool(v != 0) + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessLogFile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DefaultConfig == nil { + m.DefaultConfig = &ProxyConfig{} + } + if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutboundTrafficPolicy == nil { + m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} + } + if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) + if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TrustDomain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 27: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) + } + m.AccessLogEncoding = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 28: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TcpKeepalive == nil { + m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} + } + if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 31: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 32: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 33: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RootNamespace = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 35: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.LocalityLbSetting == nil { + m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MeshConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MeshConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: + if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 36: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DnsRefreshRate == nil { + m.DnsRefreshRate = &types.Duration{} + } + if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 40: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenPort", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) } - m.ProxyListenPort = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3504,16 +5451,17 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProxyListenPort |= int32(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 5: + m.EnableEnvoyAccessLogService = bool(v != 0) + case 41: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProxyHttpPort", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) } - m.ProxyHttpPort = 0 + m.H2UpgradePolicy = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3523,14 +5471,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProxyHttpPort |= int32(b&0x7F) << shift + m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift if b < 0x80 { break } } - case 6: + case 42: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3557,16 +5505,52 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ConnectTimeout == nil { - m.ConnectTimeout = &types.Duration{} + if m.ProtocolDetectionTimeout == nil { + m.ProtocolDetectionTimeout = &types.Duration{} } - if err := m.ConnectTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: + case 43: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressClass", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EnableAutoMtls == nil { + m.EnableAutoMtls = &types.BoolValue{} + } + if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 44: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3594,11 +5578,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressClass = string(dAtA[iNdEx:postIndex]) + m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 45: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressService", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3626,13 +5610,13 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressService = string(dAtA[iNdEx:postIndex]) + m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressControllerMode", wireType) + case 46: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) } - m.IngressControllerMode = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3642,16 +5626,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.IngressControllerMode |= MeshConfig_IngressControllerMode(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableTracing", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig } - var v int + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 47: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3661,17 +5658,101 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.EnableTracing = bool(v != 0) - case 13: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Certificates = append(m.Certificates, &Certificate{}) + if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 49: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFile", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ThriftConfig == nil { + m.ThriftConfig = &MeshConfig_ThriftConfig{} + } + if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 50: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) + if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 51: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3681,29 +5762,33 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.AccessLogFile = string(dAtA[iNdEx:postIndex]) + if m.EnablePrometheusMerge == nil { + m.EnablePrometheusMerge = &types.BoolValue{} + } + if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 14: + case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultConfig", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3713,31 +5798,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.DefaultConfig == nil { - m.DefaultConfig = &ProxyConfig{} - } - if err := m.DefaultConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.IngressSelector = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 17: + case 54: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundTrafficPolicy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3764,16 +5845,16 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.OutboundTrafficPolicy == nil { - m.OutboundTrafficPolicy = &MeshConfig_OutboundTrafficPolicy{} + if m.VerifyCertificateAtClient == nil { + m.VerifyCertificateAtClient = &types.BoolValue{} } - if err := m.OutboundTrafficPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 22: + case 55: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConfigSources", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3800,16 +5881,18 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ConfigSources = append(m.ConfigSources, &ConfigSource{}) - if err := m.ConfigSources[len(m.ConfigSources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Ca == nil { + m.Ca = &MeshConfig_CA{} + } + if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 24: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogFormat", wireType) + case 56: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3819,29 +5902,17 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccessLogFormat = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 26: + m.DisableEnvoyListenerLog = bool(v != 0) + case 57: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomain", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3851,29 +5922,31 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.TrustDomain = string(dAtA[iNdEx:postIndex]) + m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) + if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 27: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessLogEncoding", wireType) + case 58: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) } - m.AccessLogEncoding = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3883,14 +5956,29 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.AccessLogEncoding |= MeshConfig_AccessLogEncoding(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 28: + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) + if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 59: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TcpKeepalive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3917,16 +6005,14 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TcpKeepalive == nil { - m.TcpKeepalive = &v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive{} - } - if err := m.TcpKeepalive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) + if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 31: + case 60: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultServiceExportTo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefaultTracingProvider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3954,13 +6040,64 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DefaultServiceExportTo = append(m.DefaultServiceExportTo, string(dAtA[iNdEx:postIndex])) + m.DefaultTracingProvider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 32: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultVirtualServiceExportTo", wireType) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - var stringLen uint64 + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + } + m.Mode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -3970,27 +6107,65 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.DefaultVirtualServiceExportTo = append(m.DefaultVirtualServiceExportTo, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 33: + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefaultDestinationRuleExportTo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4018,11 +6193,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DefaultDestinationRuleExportTo = append(m.DefaultDestinationRuleExportTo, string(dAtA[iNdEx:postIndex])) + m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 34: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RootNamespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4050,13 +6225,64 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RootNamespace = string(dAtA[iNdEx:postIndex]) + m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex - case 35: + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LocalityLbSetting", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4066,31 +6292,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.LocalityLbSetting == nil { - m.LocalityLbSetting = &v1alpha3.LocalityLoadBalancerSetting{} - } - if err := m.LocalityLbSetting.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 36: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DnsRefreshRate", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4117,55 +6339,67 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DnsRefreshRate == nil { - m.DnsRefreshRate = &types.Duration{} + if m.RateLimitTimeout == nil { + m.RateLimitTimeout = &types.Duration{} } - if err := m.DnsRefreshRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 40: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableEnvoyAccessLogService", wireType) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig } - m.EnableEnvoyAccessLogService = bool(v != 0) - case 41: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field H2UpgradePolicy", wireType) + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - m.H2UpgradePolicy = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.H2UpgradePolicy |= MeshConfig_H2UpgradePolicy(b&0x7F) << shift - if b < 0x80 { - break - } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - case 42: + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProtocolDetectionTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4192,18 +6426,18 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ProtocolDetectionTimeout == nil { - m.ProtocolDetectionTimeout = &types.Duration{} + if m.Settings == nil { + m.Settings = &MeshConfig_ServiceSettings_Settings{} } - if err := m.ProtocolDetectionTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 43: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoMtls", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4213,33 +6447,80 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.EnableAutoMtls == nil { - m.EnableAutoMtls = &types.BoolValue{} - } - if err := m.EnableAutoMtls.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 44: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InboundClusterStatName", wireType) + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthConfig + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Settings: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4249,27 +6530,66 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig + m.ClusterLocal = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.InboundClusterStatName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 45: + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CA: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutboundClusterStatName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4297,13 +6617,13 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OutboundClusterStatName = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 46: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TrustDomainAliases", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4313,27 +6633,31 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.TrustDomainAliases = append(m.TrustDomainAliases, string(dAtA[iNdEx:postIndex])) + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} + } + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 47: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Certificates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4360,16 +6684,18 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Certificates = append(m.Certificates, &Certificate{}) - if err := m.Certificates[len(m.Certificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.RequestTimeout == nil { + m.RequestTimeout = &types.Duration{} + } + if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 49: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThriftConfig", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4379,33 +6705,68 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig + m.IstiodSide = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.ThriftConfig == nil { - m.ThriftConfig = &MeshConfig_ThriftConfig{} + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig } - if err := m.ThriftConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 50: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceSettings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4415,29 +6776,27 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceSettings = append(m.ServiceSettings, &MeshConfig_ServiceSettings{}) - if err := m.ServiceSettings[len(m.ServiceSettings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 51: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnablePrometheusMerge", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4464,18 +6823,17 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.EnablePrometheusMerge == nil { - m.EnablePrometheusMerge = &types.BoolValue{} - } - if err := m.EnablePrometheusMerge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} iNdEx = postIndex - case 52: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IngressSelector", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4485,27 +6843,30 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.IngressSelector = string(dAtA[iNdEx:postIndex]) + v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} iNdEx = postIndex - case 54: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VerifyCertificateAtClient", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Zipkin", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4532,16 +6893,15 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.VerifyCertificateAtClient == nil { - m.VerifyCertificateAtClient = &types.BoolValue{} - } - if err := m.VerifyCertificateAtClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_ZipkinTracingProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_Zipkin{v} iNdEx = postIndex - case 55: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ca", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Lightstep", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4568,36 +6928,15 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Ca == nil { - m.Ca = &MeshConfig_CA{} - } - if err := m.Ca.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_LightstepTracingProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_Lightstep{v} iNdEx = postIndex - case 56: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableEnvoyListenerLog", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DisableEnvoyListenerLog = bool(v != 0) - case 57: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExtensionProviders", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Datadog", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4624,14 +6963,15 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExtensionProviders = append(m.ExtensionProviders, &MeshConfig_ExtensionProvider{}) - if err := m.ExtensionProviders[len(m.ExtensionProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_DatadogTracingProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_Datadog{v} iNdEx = postIndex - case 58: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CaCertificates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Stackdriver", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4658,14 +6998,15 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CaCertificates = append(m.CaCertificates, &MeshConfig_CertificateData{}) - if err := m.CaCertificates[len(m.CaCertificates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_StackdriverProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_Stackdriver{v} iNdEx = postIndex - case 59: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DiscoverySelectors", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Opencensus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4692,10 +7033,11 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DiscoverySelectors = append(m.DiscoverySelectors, &v1.LabelSelector{}) - if err := m.DiscoverySelectors[len(m.DiscoverySelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Provider = &MeshConfig_ExtensionProvider_Opencensus{v} iNdEx = postIndex default: iNdEx = preIndex @@ -4719,7 +7061,7 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4742,17 +7084,17 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: OutboundTrafficPolicy: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: OutboundTrafficPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) } - m.Mode = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4762,67 +7104,29 @@ func (m *MeshConfig_OutboundTrafficPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= MeshConfig_OutboundTrafficPolicy_Mode(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CertificateData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CertificateData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pem", wireType) + m.Service = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) } - var stringLen uint64 + m.Port = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4832,27 +7136,14 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Port |= uint32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CertificateData = &MeshConfig_CertificateData_Pem{string(dAtA[iNdEx:postIndex])} - iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SpiffeBundleUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4880,62 +7171,31 @@ func (m *MeshConfig_CertificateData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CertificateData = &MeshConfig_CertificateData_SpiffeBundleUrl{string(dAtA[iNdEx:postIndex])} + m.PathPrefix = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ThriftConfig: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ThriftConfig: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.FailOpen = bool(v != 0) + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitUrl", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4963,13 +7223,13 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RateLimitUrl = string(dAtA[iNdEx:postIndex]) + m.StatusOnError = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateLimitTimeout", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -4979,84 +7239,29 @@ func (m *MeshConfig_ThriftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateLimitTimeout == nil { - m.RateLimitTimeout = &types.Duration{} - } - if err := m.RateLimitTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipConfig(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthConfig - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceSettings: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceSettings: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Settings", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5066,31 +7271,27 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Settings == nil { - m.Settings = &MeshConfig_ServiceSettings_Settings{} - } - if err := m.Settings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 2: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5118,7 +7319,7 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) + m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -5142,7 +7343,7 @@ func (m *MeshConfig_ServiceSettings) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5165,15 +7366,66 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Settings: wiretype end group for non-group") + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Settings: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Service = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterLocal", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -5190,7 +7442,39 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { break } } - m.ClusterLocal = bool(v != 0) + m.FailOpen = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StatusOnError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5213,7 +7497,7 @@ func (m *MeshConfig_ServiceSettings_Settings) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_ZipkinTracingProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5236,10 +7520,10 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CA: wiretype end group for non-group") + return fmt.Errorf("proto: ZipkinTracingProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CA: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ZipkinTracingProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5311,10 +7595,10 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestTimeout", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5324,33 +7608,17 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestTimeout == nil { - m.RequestTimeout = &types.Duration{} - } - if err := m.RequestTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.ExcludeMeshTags = bool(v != 0) case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IstiodSide", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) } - var v int + m.MaxTagLength = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5360,12 +7628,11 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.MaxTagLength |= uint32(b&0x7F) << shift if b < 0x80 { break } } - m.IstiodSide = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5388,7 +7655,7 @@ func (m *MeshConfig_CA) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_LightstepTracingProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5411,15 +7678,15 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExtensionProvider: wiretype end group for non-group") + return fmt.Errorf("proto: LightstepTracingProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExtensionProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LightstepTracingProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5447,13 +7714,13 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzHttp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5463,30 +7730,27 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzHttp{v} + m.AccessToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EnvoyExtAuthzGrpc", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5513,12 +7777,52 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} + } + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Provider = &MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{v} iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ExcludeMeshTags = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) + } + m.MaxTagLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTagLength |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5541,7 +7845,7 @@ func (m *MeshConfig_ExtensionProvider) Unmarshal(dAtA []byte) error { } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_DatadogTracingProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5564,15 +7868,15 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: wiretype end group for non-group") + return fmt.Errorf("proto: DatadogTracingProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationHttpProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DatadogTracingProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5600,13 +7904,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } - m.Port = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5616,16 +7920,53 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} + } + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - var stringLen uint64 + m.ExcludeMeshTags = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) + } + m.MaxTagLength = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5635,27 +7976,65 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.MaxTagLength |= uint32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig + default: + iNdEx = preIndex + skippy, err := skipConfig(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthConfig } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.PathPrefix = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MeshConfig_ExtensionProvider_StackdriverProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StackdriverProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StackdriverProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -5672,12 +8051,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un break } } - m.FailOpen = bool(v != 0) - case 5: + m.Debug = bool(v != 0) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxNumberOfAttributes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5687,29 +8066,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) + if m.MaxNumberOfAttributes == nil { + m.MaxNumberOfAttributes = &types.Int64Value{} + } + if err := m.MaxNumberOfAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 6: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeHeadersInCheck", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxNumberOfAnnotations", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5719,29 +8102,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.IncludeHeadersInCheck = append(m.IncludeHeadersInCheck, string(dAtA[iNdEx:postIndex])) + if m.MaxNumberOfAnnotations == nil { + m.MaxNumberOfAnnotations = &types.Int64Value{} + } + if err := m.MaxNumberOfAnnotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 7: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToUpstreamOnAllow", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MaxNumberOfMessageEvents", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5751,29 +8138,33 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthConfig } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthConfig } if postIndex > l { return io.ErrUnexpectedEOF } - m.HeadersToUpstreamOnAllow = append(m.HeadersToUpstreamOnAllow, string(dAtA[iNdEx:postIndex])) + if m.MaxNumberOfMessageEvents == nil { + m.MaxNumberOfMessageEvents = &types.Int64Value{} + } + if err := m.MaxNumberOfMessageEvents.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HeadersToDownstreamOnDeny", wireType) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5783,24 +8174,31 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig + m.ExcludeMeshTags = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.MaxTagLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTagLength |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } } - m.HeadersToDownstreamOnDeny = append(m.HeadersToDownstreamOnDeny, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -5823,7 +8221,7 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationHttpProvider) Un } return nil } -func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Unmarshal(dAtA []byte) error { +func (m *MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5846,15 +8244,15 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: wiretype end group for non-group") + return fmt.Errorf("proto: OpenCensusAgentTracingProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EnvoyExternalAuthorizationGrpcProvider: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: OpenCensusAgentTracingProvider: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5882,13 +8280,13 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un if postIndex > l { return io.ErrUnexpectedEOF } - m.Service = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TlsSettings", wireType) } - m.Port = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5898,14 +8296,100 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - m.Port |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TlsSettings == nil { + m.TlsSettings = &v1alpha3.ClientTLSSettings{} + } + if err := m.TlsSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 3: + if wireType == 0 { + var v MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Context = append(m.Context, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthConfig + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthConfig + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + if elementCount != 0 && len(m.Context) == 0 { + m.Context = make([]MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext, 0, elementCount) + } + for iNdEx < postIndex { + var v MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= MeshConfig_ExtensionProvider_OpenCensusAgentTracingProvider_TraceContext(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Context = append(m.Context, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) + } + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailOpen", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExcludeMeshTags", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -5922,12 +8406,12 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un break } } - m.FailOpen = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StatusOnError", wireType) + m.ExcludeMeshTags = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTagLength", wireType) } - var stringLen uint64 + m.MaxTagLength = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowConfig @@ -5937,24 +8421,11 @@ func (m *MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider) Un } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.MaxTagLength |= uint32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthConfig - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthConfig - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StatusOnError = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 4096253598..c31d41f1cf 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -473,6 +473,16 @@ message MeshConfig { EnvoyExternalAuthorizationHttpProvider envoy_ext_authz_http = 2; // Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API. EnvoyExternalAuthorizationGrpcProvider envoy_ext_authz_grpc = 3; + // Configures a tracing provider that uses the Zipkin API. + ZipkinTracingProvider zipkin = 4; + // Configures a Lightstep tracing provider. + LightstepTracingProvider lightstep = 5; + // Configures a Datadog tracing provider. + DatadogTracingProvider datadog = 6; + // Configures a Stackdriver provider. + StackdriverProvider stackdriver = 7; + // Configures an OpenCensusAgent tracing provider. + OpenCensusAgentTracingProvider opencensus = 8; } message EnvoyExternalAuthorizationHttpProvider { @@ -544,12 +554,158 @@ message MeshConfig { // The default status is "403" (HTTP Forbidden). string status_on_error = 4; } + + // Defines configuration for a Zipkin tracer. + message ZipkinTracingProvider { + // Address of the Zipkin service (e.g. _zipkin:9411_). + string address = 1; + + // 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`. + istio.networking.v1alpha3.ClientTLSSettings tls_settings = 2; + + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + bool exclude_mesh_tags = 3; + + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 4; + } + + // Defines configuration for a Lightstep tracer. + message LightstepTracingProvider { + // Address of the Lightstep Satellite pool. + string address = 1; + + // The Lightstep access token. + string access_token = 2; + + // 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`. + istio.networking.v1alpha3.ClientTLSSettings tls_settings = 3; + + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + bool exclude_mesh_tags = 4; + + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 5; + } + + // Defines configuration for a Datadog tracer. + message DatadogTracingProvider { + // Address of the Datadog Agent. + string address = 1; + + // 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`. + istio.networking.v1alpha3.ClientTLSSettings tls_settings = 2; + + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + bool exclude_mesh_tags = 3; + + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 4; + } + + // Defines configuration for Stackdriver. + message StackdriverProvider { + // debug enables trace output to stdout. + // $hide_from_docs + bool debug = 1; + // The global default max number of attributes per span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_number_of_attributes = 2; + // The global default max number of annotation events per span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_number_of_annotations = 3; + // The global default max number of message events per span. + // default is 200. + // $hide_from_docs + google.protobuf.Int64Value max_number_of_message_events = 4; + + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + bool exclude_mesh_tags = 5; + + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 6; + } + + // Defines configuration for an OpenCensus tracer writing to an OpenCensus backend. + message OpenCensusAgentTracingProvider { + // gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or + // unix:path). See [gRPC naming + // docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for + // details. + string address = 1; + + // 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`. + istio.networking.v1alpha3.ClientTLSSettings tls_settings = 2; + + // TraceContext selects the context propagation headers used for + // distributed tracing. + enum TraceContext { + // $hide_from_docs + // Unspecified context. Should not be used for now, but added to reserve + // the 0 enum value if TraceContext is used outside of a repeated field. + UNSPECIFIED = 0; + // Use W3C Trace Context propagation using the `traceparent` HTTP header. + // See the + // [Trace Context documentation](https://www.w3.org/TR/trace-context/) for details. + W3C_TRACE_CONTEXT = 1; + // Use gRPC binary context propagation using the `grpc-trace-bin` http header. + GRPC_BIN = 2; + // Use Cloud Trace context propagation using the + // `X-Cloud-Trace-Context` http header. + CLOUD_TRACE_CONTEXT = 3; + // Use multi-header B3 context propagation using the `X-B3-TraceId`, + // `X-B3-SpanId`, and `X-B3-Sampled` HTTP headers. See + // [B3 header propagation README](https://github.com/openzipkin/b3-propagation) + // for details. + B3 = 4; + } + + // Specifies the set of context propagation headers used for distributed + // tracing. Default is `["W3C_TRACE_CONTEXT"]`. If multiple values are specified, + // the proxy will attempt to read each header for each request and will + // write all headers. + repeated TraceContext context = 3; + + // Controls whether or not Istio-specific tags will be generated for each + // span created by the sidecar proxies. These tags include information on + // the canonical service, mesh, and namespace involved in the request. + bool exclude_mesh_tags = 4; + + // Optional. Controls the overall path length allowed in a reported span. + // NOTE: currently only controls max length of the path tag. + uint32 max_tag_length = 5; + } } // Defines a list of extension providers that extend Istio's functionality. For example, the AuthorizationPolicy // can be used with an extension provider to delegate the authorization decision to a custom authorization system. repeated ExtensionProvider extension_providers = 57; + // Name of the default tracing provider. This should match the name of a provider configured in `extension_providers`. + string default_tracing_provider = 60; + // A list of Kubernetes selectors that specify the set of namespaces that Istio considers when // computing configuration updates for sidecars. This can be used to reduce Istio's computational load // by limiting the number of entities (including services, pods, and endpoints) that are watched and processed. @@ -574,7 +730,7 @@ message MeshConfig { repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector discovery_selectors = 59; // $hide_from_docs - // Next available field number: 60 + // Next available field number: 61 reserved 1; reserved "mixer_check_server"; reserved 2; diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json index 5e6c04d598..9566f40fed 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.gen.json @@ -198,6 +198,11 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider" } }, + "defaultTracingProvider": { + "description": "Name of the default tracing provider. This should match the name of a provider configured in `extension_providers`.", + "type": "string", + "format": "string" + }, "discoverySelectors": { "description": "A list of Kubernetes selectors that specify the set of namespaces that Istio considers when computing configuration updates for sidecars. This can be used to reduce Istio's computational load by limiting the number of entities (including services, pods, and endpoints) that are watched and processed. If omitted, Istio will use the default behavior of processing all namespaces in the cluster. Elements in the list are disjunctive (OR semantics), i.e. a namespace will be included if it matches any selector. The following example selects any namespace with either labels `env: prod` and `region: us-east1`, or with label `app` equal to `cassandra` or `spark`. ```yaml discoverySelectors: - matchLabels: env: prod region: us-east1 - matchExpressions: - key: app operator: In values: - cassandra - spark ``` Refer to the [kubernetes selector docs](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) for additional detail on selector semantics.", "type": "array", @@ -312,7 +317,8 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.ProxyConfig.InboundInterceptionMode" }, "tracing": { - "$ref": "#/components/schemas/istio.mesh.v1alpha1.Tracing" + "$ref": "#/components/schemas/istio.mesh.v1alpha1.Tracing", + "deprecated": true }, "sds": { "$ref": "#/components/schemas/istio.mesh.v1alpha1.SDS" @@ -577,6 +583,56 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } + }, + { + "required": [ + "zipkin" + ], + "properties": { + "zipkin": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider" + } + } + }, + { + "required": [ + "lightstep" + ], + "properties": { + "lightstep": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider" + } + } + }, + { + "required": [ + "datadog" + ], + "properties": { + "datadog": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider" + } + } + }, + { + "required": [ + "stackdriver" + ], + "properties": { + "stackdriver": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" + } + } + }, + { + "required": [ + "opencensus" + ], + "properties": { + "opencensus": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider" + } + } } ] } @@ -600,6 +656,56 @@ "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider" } } + }, + { + "required": [ + "zipkin" + ], + "properties": { + "zipkin": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider" + } + } + }, + { + "required": [ + "lightstep" + ], + "properties": { + "lightstep": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider" + } + } + }, + { + "required": [ + "datadog" + ], + "properties": { + "datadog": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider" + } + } + }, + { + "required": [ + "stackdriver" + ], + "properties": { + "stackdriver": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider" + } + } + }, + { + "required": [ + "opencensus" + ], + "properties": { + "opencensus": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider" + } + } } ] }, @@ -702,6 +808,150 @@ } } }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider": { + "description": "Defines configuration for a Zipkin tracer.", + "type": "object", + "properties": { + "address": { + "description": "Address of the Zipkin service (e.g. _zipkin:9411_).", + "type": "string", + "format": "string" + }, + "tlsSettings": { + "$ref": "#/components/schemas/istio.networking.v1alpha3.ClientTLSSettings" + }, + "excludeMeshTags": { + "description": "Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on the canonical service, mesh, and namespace involved in the request.", + "type": "boolean" + }, + "maxTagLength": { + "description": "Optional. Controls the overall path length allowed in a reported span. NOTE: currently only controls max length of the path tag.", + "type": "integer" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider": { + "description": "Defines configuration for a Lightstep tracer.", + "type": "object", + "properties": { + "address": { + "description": "Address of the Lightstep Satellite pool.", + "type": "string", + "format": "string" + }, + "tlsSettings": { + "$ref": "#/components/schemas/istio.networking.v1alpha3.ClientTLSSettings" + }, + "excludeMeshTags": { + "description": "Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on the canonical service, mesh, and namespace involved in the request.", + "type": "boolean" + }, + "maxTagLength": { + "description": "Optional. Controls the overall path length allowed in a reported span. NOTE: currently only controls max length of the path tag.", + "type": "integer" + }, + "accessToken": { + "description": "The Lightstep access token.", + "type": "string", + "format": "string" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider": { + "description": "Defines configuration for a Datadog tracer.", + "type": "object", + "properties": { + "address": { + "description": "Address of the Datadog Agent.", + "type": "string", + "format": "string" + }, + "tlsSettings": { + "$ref": "#/components/schemas/istio.networking.v1alpha3.ClientTLSSettings" + }, + "excludeMeshTags": { + "description": "Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on the canonical service, mesh, and namespace involved in the request.", + "type": "boolean" + }, + "maxTagLength": { + "description": "Optional. Controls the overall path length allowed in a reported span. NOTE: currently only controls max length of the path tag.", + "type": "integer" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider": { + "description": "Defines configuration for Stackdriver.", + "type": "object", + "properties": { + "excludeMeshTags": { + "description": "Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on the canonical service, mesh, and namespace involved in the request.", + "type": "boolean" + }, + "maxTagLength": { + "description": "Optional. Controls the overall path length allowed in a reported span. NOTE: currently only controls max length of the path tag.", + "type": "integer" + }, + "debug": { + "description": "debug enables trace output to stdout. $hide_from_docs", + "type": "boolean" + }, + "maxNumberOfAttributes": { + "description": "The global default max number of attributes per span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxNumberOfAnnotations": { + "description": "The global default max number of annotation events per span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + }, + "maxNumberOfMessageEvents": { + "description": "The global default max number of message events per span. default is 200. $hide_from_docs", + "type": "integer", + "nullable": true + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider": { + "description": "Defines configuration for an OpenCensus tracer writing to an OpenCensus backend.", + "type": "object", + "properties": { + "context": { + "description": "Specifies the set of context propagation headers used for distributed tracing. Default is `[\"W3C_TRACE_CONTEXT\"]`. If multiple values are specified, the proxy will attempt to read each header for each request and will write all headers.", + "type": "array", + "items": { + "$ref": "#/components/schemas/istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.TraceContext" + } + }, + "address": { + "description": "gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or unix:path). See [gRPC naming docs](https://github.com/grpc/grpc/blob/master/doc/naming.md) for details.", + "type": "string", + "format": "string" + }, + "tlsSettings": { + "$ref": "#/components/schemas/istio.networking.v1alpha3.ClientTLSSettings" + }, + "excludeMeshTags": { + "description": "Controls whether or not Istio-specific tags will be generated for each span created by the sidecar proxies. These tags include information on the canonical service, mesh, and namespace involved in the request.", + "type": "boolean" + }, + "maxTagLength": { + "description": "Optional. Controls the overall path length allowed in a reported span. NOTE: currently only controls max length of the path tag.", + "type": "integer" + } + } + }, + "istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.TraceContext": { + "description": "TraceContext selects the context propagation headers used for distributed tracing.", + "type": "string", + "enum": [ + "UNSPECIFIED", + "W3C_TRACE_CONTEXT", + "GRPC_BIN", + "CLOUD_TRACE_CONTEXT", + "B3" + ] + }, "istio.mesh.v1alpha1.Resource": { "description": "Resource describes the source of configuration", "type": "string", diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 69c3cc48b3..6fc53cd13e 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -5,7 +5,7 @@ layout: protoc-gen-docs generator: protoc-gen-docs weight: 20 -number_of_entries: 34 +number_of_entries: 40 ---

Configuration affecting the service mesh as a whole.

@@ -592,6 +592,17 @@

MeshConfig

Defines a list of extension providers that extend Istio’s functionality. For example, the AuthorizationPolicy can be used with an extension provider to delegate the authorization decision to a custom authorization system.

+
+No +
defaultTracingProviderstring +

Name of the default tracing provider. This should match the name of a provider configured in extension_providers.

+
No @@ -961,6 +972,61 @@

MeshConfig.ExtensionProvider

Configures an external authorizer that implements the Envoy ext_authz filter authorization check service using the gRPC API.

+
+No +
zipkinZipkinTracingProvider (oneof) +

Configures a tracing provider that uses the Zipkin API.

+ +
+No +
lightstepLightstepTracingProvider (oneof) +

Configures a Lightstep tracing provider.

+ +
+No +
datadogDatadogTracingProvider (oneof) +

Configures a Datadog tracing provider.

+ +
+No +
stackdriverStackdriverProvider (oneof) +

Configures a Stackdriver provider.

+ +
+No +
opencensusOpenCensusAgentTracingProvider (oneof) +

Configures an OpenCensusAgent tracing provider.

+
No @@ -1199,6 +1265,340 @@

Mes

Sets the HTTP status that is returned to the client when there is a network error to the authorization service. The default status is “403” (HTTP Forbidden).

+

+No +
+ +

MeshConfig.ExtensionProvider.ZipkinTracingProvider

+
+

Defines configuration for a Zipkin tracer.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
addressstring +

Address of the Zipkin service (e.g. zipkin:9411).

+ +
+No +
tlsSettingsClientTLSSettings +

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.

+ +
+No +
excludeMeshTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, mesh, and namespace involved in the request.

+ +
+No +
maxTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

+ +
+No +
+
+

MeshConfig.ExtensionProvider.LightstepTracingProvider

+
+

Defines configuration for a Lightstep tracer.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
addressstring +

Address of the Lightstep Satellite pool.

+ +
+No +
accessTokenstring +

The Lightstep access token.

+ +
+No +
tlsSettingsClientTLSSettings +

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.

+ +
+No +
excludeMeshTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, mesh, and namespace involved in the request.

+ +
+No +
maxTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

+ +
+No +
+
+

MeshConfig.ExtensionProvider.DatadogTracingProvider

+
+

Defines configuration for a Datadog tracer.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
addressstring +

Address of the Datadog Agent.

+ +
+No +
tlsSettingsClientTLSSettings +

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.

+ +
+No +
excludeMeshTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, mesh, and namespace involved in the request.

+ +
+No +
maxTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

+ +
+No +
+
+

MeshConfig.ExtensionProvider.StackdriverProvider

+
+

Defines configuration for Stackdriver.

+ + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescriptionRequired
excludeMeshTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, mesh, and namespace involved in the request.

+ +
+No +
maxTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

+ +
+No +
+
+

MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider

+
+

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + +
FieldTypeDescriptionRequired
addressstring +

gRPC address for the OpenCensus agent (e.g. dns://authority/host:port or +unix:path). See gRPC naming +docs for +details.

+ +
+No +
tlsSettingsClientTLSSettings +

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.

+ +
+No +
contextTraceContext[] +

Specifies the set of context propagation headers used for distributed +tracing. Default is ["W3C_TRACE_CONTEXT"]. If multiple values are specified, +the proxy will attempt to read each header for each request and will +write all headers.

+ +
+No +
excludeMeshTagsbool +

Controls whether or not Istio-specific tags will be generated for each +span created by the sidecar proxies. These tags include information on +the canonical service, mesh, and namespace involved in the request.

+ +
+No +
maxTagLengthuint32 +

Optional. Controls the overall path length allowed in a reported span. +NOTE: currently only controls max length of the path tag.

+
No @@ -1582,17 +1982,6 @@

ProxyConfig

The mode used to redirect inbound traffic to Envoy.

-
-No -
tracingTracing -

Tracing configuration to be used by the proxy.

-
No @@ -1783,6 +2172,18 @@

ProxyConfig

Address of the Zipkin service (e.g. zipkin:9411). DEPRECATED: Use tracing instead.

+
+No +
tracingTracing +

Tracing configuration to be used by the proxy. +DEPRECATED: Use extension_providers instead.

+
No @@ -2308,6 +2709,56 @@

MeshConfig.OutboundTrafficPolicy.

outbound traffic to unknown destinations will be allowed, in case there are no services or ServiceEntries for the destination port

+

+
+

MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.TraceContext

+
+

TraceContext selects the context propagation headers used for +distributed tracing.

+ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mesh/v1alpha1/proxy.pb.go b/mesh/v1alpha1/proxy.pb.go index 71810f8c8f..d6c8c38f6a 100644 --- a/mesh/v1alpha1/proxy.pb.go +++ b/mesh/v1alpha1/proxy.pb.go @@ -1174,7 +1174,8 @@ type ProxyConfig struct { // The mode used to redirect inbound traffic to Envoy. InterceptionMode ProxyConfig_InboundInterceptionMode `protobuf:"varint,18,opt,name=interception_mode,json=interceptionMode,proto3,enum=istio.mesh.v1alpha1.ProxyConfig_InboundInterceptionMode" json:"interceptionMode,omitempty"` // Tracing configuration to be used by the proxy. - Tracing *Tracing `protobuf:"bytes,19,opt,name=tracing,proto3" json:"tracing,omitempty"` + // DEPRECATED: Use [extension_providers][istio.mesh.v1alpha1.MeshConfig.extension_providers] instead. + Tracing *Tracing `protobuf:"bytes,19,opt,name=tracing,proto3" json:"tracing,omitempty"` // Deprecated: Do not use. // 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 @@ -1419,6 +1420,7 @@ func (m *ProxyConfig) GetInterceptionMode() ProxyConfig_InboundInterceptionMode return ProxyConfig_REDIRECT } +// Deprecated: Do not use. func (m *ProxyConfig) GetTracing() *Tracing { if m != nil { return m.Tracing @@ -1682,143 +1684,143 @@ func init() { func init() { proto.RegisterFile("mesh/v1alpha1/proxy.proto", fileDescriptor_5efecd978cf3d28d) } var fileDescriptor_5efecd978cf3d28d = []byte{ - // 2169 bytes of a gzipped FileDescriptorProto + // 2170 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x52, 0x1b, 0xc9, - 0xf5, 0x47, 0x02, 0x03, 0x3a, 0x7c, 0x89, 0xc6, 0xd8, 0x63, 0xf9, 0x8b, 0xc5, 0xfb, 0xdf, 0x3f, - 0x76, 0x76, 0x45, 0xad, 0x49, 0xb9, 0x9c, 0x54, 0x36, 0x65, 0x21, 0x89,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6c, 0xec, 0x15, 0x6d, 0x6e, 0x71, 0xa1, 0xd0, 0x36, 0xac, + 0x92, 0x33, 0x12, 0x84, 0xa4, 0x1b, 0x84, 0x81, 0x1a, 0xe2, 0x1f, 0x39, 0xa3, 0xce, 0xe2, 0xe8, + 0x23, 0xc5, 0x71, 0xe7, 0x09, 0x67, 0x14, 0xf9, 0x70, 0x4f, 0xdf, 0x4c, 0x82, 0x87, 0x38, 0x0e, + 0x09, 0xa3, 0x98, 0x24, 0x6a, 0x80, 0x63, 0x1e, 0x06, 0xde, 0xd0, 0x59, 0x32, 0x09, 0xf9, 0xf4, + 0xc6, 0x84, 0xac, 0x24, 0x6a, 0x40, 0x99, 0x0a, 0x3c, 0xb3, 0xbb, 0x2d, 0x43, 0x70, 0xef, 0xa4, + 0x5a, 0x2d, 0x2d, 0xa5, 0x11, 0xd6, 0xae, 0x77, 0x2d, 0x6d, 0x13, 0xd3, 0x68, 0xef, 0x05, 0x21, + 0x75, 0x96, 0xed, 0xae, 0x59, 0x8f, 0x4d, 0x88, 0xbd, 0x20, 0xa4, 0x7a, 0xb9, 0x7a, 0x27, 0xb1, + 0x2e, 0xa7, 0x59, 0x0b, 0xb8, 0x62, 0x97, 0xab, 0xed, 0x4d, 0x12, 0xd1, 0xb4, 0x01, 0xfc, 0xce, + 0xa4, 0x8f, 0x97, 0x08, 0x41, 0x99, 0x37, 0x74, 0x8a, 0x1f, 0xee, 0x0d, 0x76, 0x9e, 0xdb, 0xde, + 0x60, 0x1c, 0x8f, 0x2a, 0xf0, 0xd0, 0xee, 0x6b, 0x97, 0x73, 0x25, 0x95, 0x20, 0x31, 0x56, 0x34, + 0x8a, 0x43, 0xa2, 0xa8, 0x4d, 0xb7, 0x55, 0x33, 0xc3, 0x92, 0x01, 0xed, 0x66, 0x98, 0x4e, 0x0a, + 0x31, 0xe9, 0x47, 0x61, 0x35, 0x60, 0x8a, 0x0a, 0x8f, 0xc6, 0xe6, 0x11, 0x13, 0x71, 0x9f, 0x3a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 0xd1, 0xb3, 0x5f, 0xc1, 0xed, 0x9b, 0x6e, 0x57, 0x34, 0x0f, 0x33, 0xcd, 0xa3, 0x66, 0xbd, + 0x38, 0x85, 0x96, 0x01, 0x0e, 0x8f, 0x3b, 0xc7, 0x95, 0x03, 0xdc, 0x39, 0x68, 0x9b, 0xc7, 0xe1, + 0x5c, 0xa3, 0xb9, 0x5f, 0x77, 0x1b, 0x9d, 0xe2, 0x3f, 0xe7, 0x76, 0xb7, 0xfe, 0xfa, 0xee, 0x51, + 0xee, 0x6f, 0xef, 0x1e, 0xe5, 0xfe, 0xfe, 0xee, 0x51, 0xee, 0xa4, 0x64, 0xa7, 0x19, 0xf0, 0x6d, + 0x12, 0x07, 0xdb, 0x57, 0xfe, 0xf4, 0xeb, 0xce, 0x9a, 0x58, 0xdf, 0xf9, 0x4f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x22, 0x38, 0xa8, 0x6e, 0x0c, 0x14, 0x00, 0x00, } func (m *Tracing) Marshal() (dAtA []byte, err error) { diff --git a/mesh/v1alpha1/proxy.proto b/mesh/v1alpha1/proxy.proto index 46e67f9779..59c8b9dafb 100644 --- a/mesh/v1alpha1/proxy.proto +++ b/mesh/v1alpha1/proxy.proto @@ -394,7 +394,8 @@ message ProxyConfig { InboundInterceptionMode interception_mode = 18; // Tracing configuration to be used by the proxy. - Tracing tracing = 19; + // DEPRECATED: Use [extension_providers][istio.mesh.v1alpha1.MeshConfig.extension_providers] instead. + Tracing tracing = 19 [deprecated=true]; // Secret Discovery Service(SDS) configuration to be used by the proxy. SDS sds = 21; diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index f2f855ef43..98943de526 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -26,7 +26,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xba(\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xe7\x06\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnErrorB\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a\x34k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto\"\xff\x38\n\nMeshConfig\x12*\n\x11proxy_listen_port\x18\x04 \x01(\x05R\x0fproxyListenPort\x12&\n\x0fproxy_http_port\x18\x05 \x01(\x05R\rproxyHttpPort\x12\x42\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x63onnectTimeout\x12W\n\x1aprotocol_detection_timeout\x18* \x01(\x0b\x32\x19.google.protobuf.DurationR\x18protocolDetectionTimeout\x12o\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive\x12#\n\ringress_class\x18\x07 \x01(\tR\x0cingressClass\x12\'\n\x0fingress_service\x18\x08 \x01(\tR\x0eingressService\x12m\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerModeR\x15ingressControllerMode\x12)\n\x10ingress_selector\x18\x34 \x01(\tR\x0fingressSelector\x12%\n\x0e\x65nable_tracing\x18\x0c \x01(\x08R\renableTracing\x12&\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\tR\raccessLogFile\x12*\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\tR\x0f\x61\x63\x63\x65ssLogFormat\x12\x61\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncodingR\x11\x61\x63\x63\x65ssLogEncoding\x12\x44\n\x1f\x65nable_envoy_access_log_service\x18( \x01(\x08R\x1b\x65nableEnvoyAccessLogService\x12;\n\x1a\x64isable_envoy_listener_log\x18\x38 \x01(\x08R\x17\x64isableEnvoyListenerLog\x12G\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfigR\rdefaultConfig\x12m\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyR\x15outboundTrafficPolicy\x12H\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSourceR\rconfigSources\x12\x44\n\x10\x65nable_auto_mtls\x18+ \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x0e\x65nableAutoMtls\x12!\n\x0ctrust_domain\x18\x1a \x01(\tR\x0btrustDomain\x12\x30\n\x14trust_domain_aliases\x18. \x03(\tR\x12trustDomainAliases\x12X\n\x0f\x63\x61_certificates\x18: \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.CertificateDataR\x0e\x63\x61\x43\x65rtificates\x12\x39\n\x19\x64\x65\x66\x61ult_service_export_to\x18\x1f \x03(\tR\x16\x64\x65\x66\x61ultServiceExportTo\x12H\n!default_virtual_service_export_to\x18 \x03(\tR\x1d\x64\x65\x66\x61ultVirtualServiceExportTo\x12J\n\"default_destination_rule_export_to\x18! \x03(\tR\x1e\x64\x65\x66\x61ultDestinationRuleExportTo\x12%\n\x0eroot_namespace\x18\" \x01(\tR\rrootNamespace\x12\x66\n\x13locality_lb_setting\x18# \x01(\x0b\x32\x36.istio.networking.v1alpha3.LocalityLoadBalancerSettingR\x11localityLbSetting\x12\x43\n\x10\x64ns_refresh_rate\x18$ \x01(\x0b\x32\x19.google.protobuf.DurationR\x0e\x64nsRefreshRate\x12[\n\x11h2_upgrade_policy\x18) \x01(\x0e\x32/.istio.mesh.v1alpha1.MeshConfig.H2UpgradePolicyR\x0fh2UpgradePolicy\x12\x39\n\x19inbound_cluster_stat_name\x18, \x01(\tR\x16inboundClusterStatName\x12;\n\x1aoutbound_cluster_stat_name\x18- \x01(\tR\x17outboundClusterStatName\x12\x44\n\x0c\x63\x65rtificates\x18/ \x03(\x0b\x32 .istio.mesh.v1alpha1.CertificateR\x0c\x63\x65rtificates\x12Q\n\rthrift_config\x18\x31 \x01(\x0b\x32,.istio.mesh.v1alpha1.MeshConfig.ThriftConfigR\x0cthriftConfig\x12Z\n\x10service_settings\x18\x32 \x03(\x0b\x32/.istio.mesh.v1alpha1.MeshConfig.ServiceSettingsR\x0fserviceSettings\x12R\n\x17\x65nable_prometheus_merge\x18\x33 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x15\x65nablePrometheusMerge\x12[\n\x1cverify_certificate_at_client\x18\x36 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x19verifyCertificateAtClient\x12\x32\n\x02\x63\x61\x18\x37 \x01(\x0b\x32\".istio.mesh.v1alpha1.MeshConfig.CAR\x02\x63\x61\x12\x62\n\x13\x65xtension_providers\x18\x39 \x03(\x0b\x32\x31.istio.mesh.v1alpha1.MeshConfig.ExtensionProviderR\x12\x65xtensionProviders\x12\x38\n\x18\x64\x65\x66\x61ult_tracing_provider\x18< \x01(\tR\x16\x64\x65\x66\x61ultTracingProvider\x12\x64\n\x13\x64iscovery_selectors\x18; \x03(\x0b\x32\x33.k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorR\x12\x64iscoverySelectors\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12N\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeR\x04mode\"D\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\"\x04\x08\x02\x10\x02*\x14VIRTUAL_SERVICE_ONLY\x1ag\n\x0f\x43\x65rtificateData\x12\x12\n\x03pem\x18\x01 \x01(\tH\x00R\x03pem\x12,\n\x11spiffe_bundle_url\x18\x02 \x01(\tH\x00R\x0fspiffeBundleUrlB\x12\n\x10\x63\x65rtificate_data\x1a}\n\x0cThriftConfig\x12$\n\x0erate_limit_url\x18\x01 \x01(\tR\x0crateLimitUrl\x12G\n\x12rate_limit_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x10rateLimitTimeout\x1a\xae\x01\n\x0fServiceSettings\x12T\n\x08settings\x18\x01 \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.ServiceSettings.SettingsR\x08settings\x12\x14\n\x05hosts\x18\x02 \x03(\tR\x05hosts\x1a/\n\x08Settings\x12#\n\rcluster_local\x18\x01 \x01(\x08R\x0c\x63lusterLocal\x1a\xd4\x01\n\x02\x43\x41\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12\x42\n\x0frequest_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0erequestTimeout\x12\x1f\n\x0bistiod_side\x18\x04 \x01(\x08R\nistiodSide\x1a\xf2\x16\n\x11\x45xtensionProvider\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x8b\x01\n\x14\x65nvoy_ext_authz_http\x18\x02 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProviderH\x00R\x11\x65nvoyExtAuthzHttp\x12\x8b\x01\n\x14\x65nvoy_ext_authz_grpc\x18\x03 \x01(\x0b\x32X.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProviderH\x00R\x11\x65nvoyExtAuthzGrpc\x12\x61\n\x06zipkin\x18\x04 \x01(\x0b\x32G.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProviderH\x00R\x06zipkin\x12j\n\tlightstep\x18\x05 \x01(\x0b\x32J.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProviderH\x00R\tlightstep\x12\x64\n\x07\x64\x61tadog\x18\x06 \x01(\x0b\x32H.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProviderH\x00R\x07\x64\x61tadog\x12i\n\x0bstackdriver\x18\x07 \x01(\x0b\x32\x45.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProviderH\x00R\x0bstackdriver\x12r\n\nopencensus\x18\x08 \x01(\x0b\x32P.istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProviderH\x00R\nopencensus\x1a\xf7\x02\n&EnvoyExternalAuthorizationHttpProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1f\n\x0bpath_prefix\x18\x03 \x01(\tR\npathPrefix\x12\x1b\n\tfail_open\x18\x04 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x05 \x01(\tR\rstatusOnError\x12\x37\n\x18include_headers_in_check\x18\x06 \x03(\tR\x15includeHeadersInCheck\x12>\n\x1cheaders_to_upstream_on_allow\x18\x07 \x03(\tR\x18headersToUpstreamOnAllow\x12@\n\x1dheaders_to_downstream_on_deny\x18\x08 \x03(\tR\x19headersToDownstreamOnDeny\x1a\x9b\x01\n&EnvoyExternalAuthorizationGrpcProvider\x12\x18\n\x07service\x18\x01 \x01(\tR\x07service\x12\x12\n\x04port\x18\x02 \x01(\rR\x04port\x12\x1b\n\tfail_open\x18\x03 \x01(\x08R\x08\x66\x61ilOpen\x12&\n\x0fstatus_on_error\x18\x04 \x01(\tR\rstatusOnError\x1a\xd4\x01\n\x15ZipkinTracingProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12*\n\x11\x65xclude_mesh_tags\x18\x03 \x01(\x08R\x0f\x65xcludeMeshTags\x12$\n\x0emax_tag_length\x18\x04 \x01(\rR\x0cmaxTagLength\x1a\xfa\x01\n\x18LightstepTracingProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x12O\n\x0ctls_settings\x18\x03 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12*\n\x11\x65xclude_mesh_tags\x18\x04 \x01(\x08R\x0f\x65xcludeMeshTags\x12$\n\x0emax_tag_length\x18\x05 \x01(\rR\x0cmaxTagLength\x1a\xd5\x01\n\x16\x44\x61tadogTracingProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12*\n\x11\x65xclude_mesh_tags\x18\x03 \x01(\x08R\x0f\x65xcludeMeshTags\x12$\n\x0emax_tag_length\x18\x04 \x01(\rR\x0cmaxTagLength\x1a\x88\x03\n\x13StackdriverProvider\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12T\n\x18max_number_of_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxNumberOfAttributes\x12V\n\x19max_number_of_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x16maxNumberOfAnnotations\x12[\n\x1cmax_number_of_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x18maxNumberOfMessageEvents\x12*\n\x11\x65xclude_mesh_tags\x18\x05 \x01(\x08R\x0f\x65xcludeMeshTags\x12$\n\x0emax_tag_length\x18\x06 \x01(\rR\x0cmaxTagLength\x1a\xbd\x03\n\x1eOpenCensusAgentTracingProvider\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12w\n\x07\x63ontext\x18\x03 \x03(\x0e\x32].istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.TraceContextR\x07\x63ontext\x12*\n\x11\x65xclude_mesh_tags\x18\x04 \x01(\x08R\x0f\x65xcludeMeshTags\x12$\n\x0emax_tag_length\x18\x05 \x01(\rR\x0cmaxTagLength\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x42\n\n\x08provider\"J\n\x15IngressControllerMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x12\n\n\x06STRICT\x10\x03\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\"2\n\x0fH2UpgradePolicy\x12\x12\n\x0e\x44O_NOT_UPGRADE\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x30\x10\x31J\x04\x08\x19\x10\x1aJ\x04\x08\x1e\x10\x1fJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1d\x10\x1eJ\x04\x08\x35\x10\x36J\x04\x08%\x10&J\x04\x08&\x10\'J\x04\x08\'\x10(R\x12mixer_check_serverR\x13mixer_report_serverR\x15\x64isable_policy_checksR\x1a\x64isable_mixer_http_reportsR\x16policy_check_fail_openR%sidecar_to_telemetry_session_affinityR\x0b\x61uth_policyR\x11rds_refresh_delayR\rmixer_addressR\x1f\x65nable_client_side_policy_checkR\x0csds_uds_pathR\x11sds_refresh_delayR\x16\x65nable_sds_token_mountR\x12sds_use_k8s_sa_jwtR\x1atermination_drain_durationR\x14\x64isable_report_batchR\x18report_batch_max_entriesR\x15report_batch_max_time\"\xcb\x01\n\x0c\x43onfigSource\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12P\n\x14subscribed_resources\x18\x03 \x03(\x0e\x32\x1d.istio.mesh.v1alpha1.ResourceR\x13subscribedResources\"K\n\x0b\x43\x65rtificate\x12\x1f\n\x0bsecret_name\x18\x01 \x01(\tR\nsecretName\x12\x1b\n\tdns_names\x18\x02 \x03(\tR\x08\x64nsNames* \n\x08Resource\x12\x14\n\x10SERVICE_REGISTRY\x10\x00\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,k8s_dot_io_dot_apimachinery_dot_pkg_dot_apis_dot_meta_dot_v1_dot_generated__pb2.DESCRIPTOR,]) @@ -43,8 +43,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=5704, - serialized_end=5736, + serialized_start=7821, + serialized_end=7853, ) _sym_db.RegisterEnumDescriptor(_RESOURCE) @@ -69,11 +69,45 @@ ], containing_type=None, serialized_options=None, - serialized_start=3113, - serialized_end=3181, + serialized_start=3171, + serialized_end=3239, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER_TRACECONTEXT = _descriptor.EnumDescriptor( + name='TraceContext', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.TraceContext', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='W3C_TRACE_CONTEXT', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GRPC_BIN', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLOUD_TRACE_CONTEXT', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='B3', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=6683, + serialized_end=6784, +) +_sym_db.RegisterEnumDescriptor(_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER_TRACECONTEXT) + _MESHCONFIG_INGRESSCONTROLLERMODE = _descriptor.EnumDescriptor( name='IngressControllerMode', full_name='istio.mesh.v1alpha1.MeshConfig.IngressControllerMode', @@ -99,8 +133,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4681, - serialized_end=4755, + serialized_start=6798, + serialized_end=6872, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -121,8 +155,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4757, - serialized_end=4795, + serialized_start=6874, + serialized_end=6912, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -143,8 +177,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4797, - serialized_end=4836, + serialized_start=6914, + serialized_end=6953, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -165,8 +199,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4838, - serialized_end=4888, + serialized_start=6955, + serialized_end=7005, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_H2UPGRADEPOLICY) @@ -198,8 +232,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3008, - serialized_end=3181, + serialized_start=3066, + serialized_end=3239, ) _MESHCONFIG_CERTIFICATEDATA = _descriptor.Descriptor( @@ -238,8 +272,8 @@ name='certificate_data', full_name='istio.mesh.v1alpha1.MeshConfig.CertificateData.certificate_data', index=0, containing_type=None, fields=[]), ], - serialized_start=3183, - serialized_end=3286, + serialized_start=3241, + serialized_end=3344, ) _MESHCONFIG_THRIFTCONFIG = _descriptor.Descriptor( @@ -275,8 +309,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3288, - serialized_end=3413, + serialized_start=3346, + serialized_end=3471, ) _MESHCONFIG_SERVICESETTINGS_SETTINGS = _descriptor.Descriptor( @@ -305,8 +339,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3543, - serialized_end=3590, + serialized_start=3601, + serialized_end=3648, ) _MESHCONFIG_SERVICESETTINGS = _descriptor.Descriptor( @@ -342,8 +376,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3416, - serialized_end=3590, + serialized_start=3474, + serialized_end=3648, ) _MESHCONFIG_CA = _descriptor.Descriptor( @@ -393,8 +427,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3593, - serialized_end=3805, + serialized_start=3651, + serialized_end=3863, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER = _descriptor.Descriptor( @@ -472,8 +506,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4134, - serialized_end=4509, + serialized_start=4724, + serialized_end=5099, ) _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER = _descriptor.Descriptor( @@ -523,8 +557,292 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4512, - serialized_end=4667, + serialized_start=5102, + serialized_end=5257, +) + +_MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER = _descriptor.Descriptor( + name='ZipkinTracingProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tls_settings', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider.tls_settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='tlsSettings', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='exclude_mesh_tags', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider.exclude_mesh_tags', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_tag_length', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider.max_tag_length', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5260, + serialized_end=5472, +) + +_MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER = _descriptor.Descriptor( + name='LightstepTracingProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='access_token', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider.access_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='accessToken', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tls_settings', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider.tls_settings', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='tlsSettings', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='exclude_mesh_tags', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider.exclude_mesh_tags', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_tag_length', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider.max_tag_length', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5475, + serialized_end=5725, +) + +_MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER = _descriptor.Descriptor( + name='DatadogTracingProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tls_settings', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider.tls_settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='tlsSettings', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='exclude_mesh_tags', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider.exclude_mesh_tags', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_tag_length', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider.max_tag_length', index=3, + number=4, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5728, + serialized_end=5941, +) + +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER = _descriptor.Descriptor( + name='StackdriverProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='debug', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.debug', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='debug', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_number_of_attributes', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_number_of_attributes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxNumberOfAttributes', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_number_of_annotations', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_number_of_annotations', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxNumberOfAnnotations', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_number_of_message_events', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_number_of_message_events', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxNumberOfMessageEvents', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='exclude_mesh_tags', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.exclude_mesh_tags', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_tag_length', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider.max_tag_length', index=5, + number=6, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5944, + serialized_end=6336, +) + +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER = _descriptor.Descriptor( + name='OpenCensusAgentTracingProvider', + full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tls_settings', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.tls_settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='tlsSettings', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='context', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.context', index=2, + number=3, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='context', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='exclude_mesh_tags', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.exclude_mesh_tags', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_tag_length', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider.max_tag_length', index=4, + number=5, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER_TRACECONTEXT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6339, + serialized_end=6784, ) _MESHCONFIG_EXTENSIONPROVIDER = _descriptor.Descriptor( @@ -555,10 +873,45 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='envoyExtAuthzGrpc', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='zipkin', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.zipkin', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='zipkin', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='lightstep', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.lightstep', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='lightstep', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='datadog', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.datadog', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='datadog', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='stackdriver', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.stackdriver', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='stackdriver', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='opencensus', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.opencensus', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='opencensus', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, ], + nested_types=[_MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER, ], enum_types=[ ], serialized_options=None, @@ -570,8 +923,8 @@ name='provider', full_name='istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.provider', index=0, containing_type=None, fields=[]), ], - serialized_start=3808, - serialized_end=4679, + serialized_start=3866, + serialized_end=6796, ) _MESHCONFIG = _descriptor.Descriptor( @@ -848,7 +1201,14 @@ is_extension=False, extension_scope=None, serialized_options=None, json_name='extensionProviders', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='discovery_selectors', full_name='istio.mesh.v1alpha1.MeshConfig.discovery_selectors', index=38, + name='default_tracing_provider', full_name='istio.mesh.v1alpha1.MeshConfig.default_tracing_provider', index=38, + number=60, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='defaultTracingProvider', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='discovery_selectors', full_name='istio.mesh.v1alpha1.MeshConfig.discovery_selectors', index=39, number=59, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -871,7 +1231,7 @@ oneofs=[ ], serialized_start=241, - serialized_end=5419, + serialized_end=7536, ) @@ -915,8 +1275,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5422, - serialized_end=5625, + serialized_start=7539, + serialized_end=7742, ) @@ -953,8 +1313,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5627, - serialized_end=5702, + serialized_start=7744, + serialized_end=7819, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -977,8 +1337,27 @@ _MESHCONFIG_CA.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER.fields_by_name['tls_settings'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CLIENTTLSSETTINGS +_MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER.fields_by_name['tls_settings'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CLIENTTLSSETTINGS +_MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER.fields_by_name['tls_settings'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CLIENTTLSSETTINGS +_MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_number_of_attributes'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_number_of_annotations'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.fields_by_name['max_number_of_message_events'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER.fields_by_name['tls_settings'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CLIENTTLSSETTINGS +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER.fields_by_name['context'].enum_type = _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER_TRACECONTEXT +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER.containing_type = _MESHCONFIG_EXTENSIONPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER_TRACECONTEXT.containing_type = _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONHTTPPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ENVOYEXTERNALAUTHORIZATIONGRPCPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].message_type = _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER _MESHCONFIG_EXTENSIONPROVIDER.containing_type = _MESHCONFIG _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_http']) @@ -986,6 +1365,21 @@ _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc']) _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['envoy_ext_authz_grpc'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['zipkin'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['lightstep'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['datadog'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['stackdriver'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] +_MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'].fields.append( + _MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus']) +_MESHCONFIG_EXTENSIONPROVIDER.fields_by_name['opencensus'].containing_oneof = _MESHCONFIG_EXTENSIONPROVIDER.oneofs_by_name['provider'] _MESHCONFIG.fields_by_name['connect_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['protocol_detection_timeout'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _MESHCONFIG.fields_by_name['tcp_keepalive'].message_type = networking_dot_v1alpha3_dot_destination__rule__pb2._CONNECTIONPOOLSETTINGS_TCPSETTINGS_TCPKEEPALIVE @@ -1078,6 +1472,41 @@ # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) }) , + + 'ZipkinTracingProvider' : _reflection.GeneratedProtocolMessageType('ZipkinTracingProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_ZIPKINTRACINGPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.ZipkinTracingProvider) + }) + , + + 'LightstepTracingProvider' : _reflection.GeneratedProtocolMessageType('LightstepTracingProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_LIGHTSTEPTRACINGPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.LightstepTracingProvider) + }) + , + + 'DatadogTracingProvider' : _reflection.GeneratedProtocolMessageType('DatadogTracingProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_DATADOGTRACINGPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.DatadogTracingProvider) + }) + , + + 'StackdriverProvider' : _reflection.GeneratedProtocolMessageType('StackdriverProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_STACKDRIVERPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.StackdriverProvider) + }) + , + + 'OpenCensusAgentTracingProvider' : _reflection.GeneratedProtocolMessageType('OpenCensusAgentTracingProvider', (_message.Message,), { + 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER_OPENCENSUSAGENTTRACINGPROVIDER, + '__module__' : 'mesh.v1alpha1.config_pb2' + # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider) + }) + , 'DESCRIPTOR' : _MESHCONFIG_EXTENSIONPROVIDER, '__module__' : 'mesh.v1alpha1.config_pb2' # @@protoc_insertion_point(class_scope:istio.mesh.v1alpha1.MeshConfig.ExtensionProvider) @@ -1097,6 +1526,11 @@ _sym_db.RegisterMessage(MeshConfig.ExtensionProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationHttpProvider) _sym_db.RegisterMessage(MeshConfig.ExtensionProvider.EnvoyExternalAuthorizationGrpcProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.ZipkinTracingProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.LightstepTracingProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.DatadogTracingProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.StackdriverProvider) +_sym_db.RegisterMessage(MeshConfig.ExtensionProvider.OpenCensusAgentTracingProvider) ConfigSource = _reflection.GeneratedProtocolMessageType('ConfigSource', (_message.Message,), { 'DESCRIPTOR' : _CONFIGSOURCE, diff --git a/python/istio_api/mesh/v1alpha1/proxy_pb2.py b/python/istio_api/mesh/v1alpha1/proxy_pb2.py index dc76982be3..4e9a79b55b 100644 --- a/python/istio_api/mesh/v1alpha1/proxy_pb2.py +++ b/python/istio_api/mesh/v1alpha1/proxy_pb2.py @@ -25,7 +25,7 @@ package='istio.mesh.v1alpha1', syntax='proto3', serialized_options=_b('Z\032istio.io/api/mesh/v1alpha1'), - serialized_pb=_b('\n\x19mesh/v1alpha1/proxy.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a(networking/v1alpha3/workload_group.proto\"\xa5\x0e\n\x07Tracing\x12=\n\x06zipkin\x18\x01 \x01(\x0b\x32#.istio.mesh.v1alpha1.Tracing.ZipkinH\x00R\x06zipkin\x12\x46\n\tlightstep\x18\x02 \x01(\x0b\x32&.istio.mesh.v1alpha1.Tracing.LightstepH\x00R\tlightstep\x12@\n\x07\x64\x61tadog\x18\x03 \x01(\x0b\x32$.istio.mesh.v1alpha1.Tracing.DatadogH\x00R\x07\x64\x61tadog\x12L\n\x0bstackdriver\x18\x04 \x01(\x0b\x32(.istio.mesh.v1alpha1.Tracing.StackdriverH\x00R\x0bstackdriver\x12Z\n\x11open_census_agent\x18\t \x01(\x0b\x32,.istio.mesh.v1alpha1.Tracing.OpenCensusAgentH\x00R\x0fopenCensusAgent\x12M\n\x0b\x63ustom_tags\x18\x05 \x03(\x0b\x32,.istio.mesh.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x06 \x01(\rR\x10maxPathTagLength\x12\x1a\n\x08sampling\x18\x07 \x01(\x01R\x08sampling\x12O\n\x0ctls_settings\x18\x08 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x1a\"\n\x06Zipkin\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1aH\n\tLightstep\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x1a#\n\x07\x44\x61tadog\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xae\x02\n\x0bStackdriver\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12T\n\x18max_number_of_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxNumberOfAttributes\x12V\n\x19max_number_of_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x16maxNumberOfAnnotations\x12[\n\x1cmax_number_of_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x18maxNumberOfMessageEvents\x1a\xe7\x01\n\x0fOpenCensusAgent\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12S\n\x07\x63ontext\x18\x02 \x03(\x0e\x32\x39.istio.mesh.v1alpha1.Tracing.OpenCensusAgent.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\xe9\x01\n\tCustomTag\x12@\n\x07literal\x18\x01 \x01(\x0b\x32$.istio.mesh.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12L\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32(.istio.mesh.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12\x44\n\x06header\x18\x03 \x01(\x0b\x32*.istio.mesh.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x65\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b\x32&.istio.mesh.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\x08\n\x06tracer\"F\n\x03SDS\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\x12%\n\x0fk8s_sa_jwt_path\x18\x02 \x01(\tR\x0ck8sSaJwtPath\"\xbc\x02\n\x08Topology\x12.\n\x13num_trusted_proxies\x18\x01 \x01(\rR\x11numTrustedProxies\x12u\n\x1b\x66orward_client_cert_details\x18\x02 \x01(\x0e\x32\x36.istio.mesh.v1alpha1.Topology.ForwardClientCertDetailsR\x18\x66orwardClientCertDetails\"\x88\x01\n\x18\x46orwardClientCertDetails\x12\r\n\tUNDEFINED\x10\x00\x12\x0c\n\x08SANITIZE\x10\x01\x12\x10\n\x0c\x46ORWARD_ONLY\x10\x02\x12\x12\n\x0e\x41PPEND_FORWARD\x10\x03\x12\x10\n\x0cSANITIZE_SET\x10\x04\x12\x17\n\x13\x41LWAYS_FORWARD_ONLY\x10\x05\"\xb0\x12\n\x0bProxyConfig\x12\x1f\n\x0b\x63onfig_path\x18\x01 \x01(\tR\nconfigPath\x12\x1f\n\x0b\x62inary_path\x18\x02 \x01(\tR\nbinaryPath\x12\'\n\x0fservice_cluster\x18\x03 \x01(\tR\x0eserviceCluster\x12@\n\x0e\x64rain_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\rdrainDuration\x12S\n\x18parent_shutdown_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x16parentShutdownDuration\x12+\n\x11\x64iscovery_address\x18\x06 \x01(\tR\x10\x64iscoveryAddress\x12U\n\x17\x64iscovery_refresh_delay\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01R\x15\x64iscoveryRefreshDelay\x12)\n\x0ezipkin_address\x18\x08 \x01(\tB\x02\x18\x01R\rzipkinAddress\x12,\n\x12statsd_udp_address\x18\n \x01(\tR\x10statsdUdpAddress\x12\x45\n\x1d\x65nvoy_metrics_service_address\x18\x14 \x01(\tB\x02\x18\x01R\x1a\x65nvoyMetricsServiceAddress\x12(\n\x10proxy_admin_port\x18\x0b \x01(\x05R\x0eproxyAdminPort\x12/\n\x11\x61vailability_zone\x18\x0c \x01(\tB\x02\x18\x01R\x10\x61vailabilityZone\x12\x64\n\x19\x63ontrol_plane_auth_policy\x18\r \x01(\x0e\x32).istio.mesh.v1alpha1.AuthenticationPolicyR\x16\x63ontrolPlaneAuthPolicy\x12,\n\x12\x63ustom_config_file\x18\x0e \x01(\tR\x10\x63ustomConfigFile\x12(\n\x10stat_name_length\x18\x0f \x01(\x05R\x0estatNameLength\x12=\n\x0b\x63oncurrency\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x0b\x63oncurrency\x12\x41\n\x1dproxy_bootstrap_template_path\x18\x11 \x01(\tR\x1aproxyBootstrapTemplatePath\x12\x65\n\x11interception_mode\x18\x12 \x01(\x0e\x32\x38.istio.mesh.v1alpha1.ProxyConfig.InboundInterceptionModeR\x10interceptionMode\x12\x36\n\x07tracing\x18\x13 \x01(\x0b\x32\x1c.istio.mesh.v1alpha1.TracingR\x07tracing\x12*\n\x03sds\x18\x15 \x01(\x0b\x32\x18.istio.mesh.v1alpha1.SDSR\x03sds\x12[\n\x18\x65nvoy_access_log_service\x18\x16 \x01(\x0b\x32\".istio.mesh.v1alpha1.RemoteServiceR\x15\x65nvoyAccessLogService\x12V\n\x15\x65nvoy_metrics_service\x18\x17 \x01(\x0b\x32\".istio.mesh.v1alpha1.RemoteServiceR\x13\x65nvoyMetricsService\x12Z\n\x0eproxy_metadata\x18\x18 \x03(\x0b\x32\x33.istio.mesh.v1alpha1.ProxyConfig.ProxyMetadataEntryR\rproxyMetadata\x12\x1f\n\x0bstatus_port\x18\x1a \x01(\x05R\nstatusPort\x12&\n\x0f\x65xtra_stat_tags\x18\x1b \x03(\tR\rextraStatTags\x12H\n\x10gateway_topology\x18\x1c \x01(\x0b\x32\x1d.istio.mesh.v1alpha1.TopologyR\x0fgatewayTopology\x12W\n\x1atermination_drain_duration\x18\x1d \x01(\x0b\x32\x19.google.protobuf.DurationR\x18terminationDrainDuration\x12\x17\n\x07mesh_id\x18\x1e \x01(\tR\x06meshId\x12R\n\x0freadiness_probe\x18\x1f \x01(\x0b\x32).istio.networking.v1alpha3.ReadinessProbeR\x0ereadinessProbe\x12\x62\n\x13proxy_stats_matcher\x18 \x01(\x0b\x32\x32.istio.mesh.v1alpha1.ProxyConfig.ProxyStatsMatcherR\x11proxyStatsMatcher\x12h\n#hold_application_until_proxy_starts\x18! \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x1fholdApplicationUntilProxyStarts\x12.\n\x13\x63\x61_certificates_pem\x18\" \x03(\tR\x11\x63\x61\x43\x65rtificatesPem\x1a@\n\x12ProxyMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x9e\x01\n\x11ProxyStatsMatcher\x12-\n\x12inclusion_prefixes\x18\x01 \x03(\tR\x11inclusionPrefixes\x12-\n\x12inclusion_suffixes\x18\x02 \x03(\tR\x11inclusionSuffixes\x12+\n\x11inclusion_regexps\x18\x03 \x03(\tR\x10inclusionRegexps\"3\n\x17InboundInterceptionMode\x12\x0c\n\x08REDIRECT\x10\x00\x12\n\n\x06TPROXY\x10\x01J\x04\x08\t\x10\nR\x0f\x63onnect_timeout\"\xeb\x01\n\rRemoteService\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12o\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive*>\n\x14\x41uthenticationPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\x12\x0c\n\x07INHERIT\x10\xe8\x07\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x19mesh/v1alpha1/proxy.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a*networking/v1alpha3/destination_rule.proto\x1a(networking/v1alpha3/workload_group.proto\"\xa5\x0e\n\x07Tracing\x12=\n\x06zipkin\x18\x01 \x01(\x0b\x32#.istio.mesh.v1alpha1.Tracing.ZipkinH\x00R\x06zipkin\x12\x46\n\tlightstep\x18\x02 \x01(\x0b\x32&.istio.mesh.v1alpha1.Tracing.LightstepH\x00R\tlightstep\x12@\n\x07\x64\x61tadog\x18\x03 \x01(\x0b\x32$.istio.mesh.v1alpha1.Tracing.DatadogH\x00R\x07\x64\x61tadog\x12L\n\x0bstackdriver\x18\x04 \x01(\x0b\x32(.istio.mesh.v1alpha1.Tracing.StackdriverH\x00R\x0bstackdriver\x12Z\n\x11open_census_agent\x18\t \x01(\x0b\x32,.istio.mesh.v1alpha1.Tracing.OpenCensusAgentH\x00R\x0fopenCensusAgent\x12M\n\x0b\x63ustom_tags\x18\x05 \x03(\x0b\x32,.istio.mesh.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12-\n\x13max_path_tag_length\x18\x06 \x01(\rR\x10maxPathTagLength\x12\x1a\n\x08sampling\x18\x07 \x01(\x01R\x08sampling\x12O\n\x0ctls_settings\x18\x08 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x1a\"\n\x06Zipkin\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1aH\n\tLightstep\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12!\n\x0c\x61\x63\x63\x65ss_token\x18\x02 \x01(\tR\x0b\x61\x63\x63\x65ssToken\x1a#\n\x07\x44\x61tadog\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x1a\xae\x02\n\x0bStackdriver\x12\x14\n\x05\x64\x65\x62ug\x18\x01 \x01(\x08R\x05\x64\x65\x62ug\x12T\n\x18max_number_of_attributes\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x15maxNumberOfAttributes\x12V\n\x19max_number_of_annotations\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x16maxNumberOfAnnotations\x12[\n\x1cmax_number_of_message_events\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueR\x18maxNumberOfMessageEvents\x1a\xe7\x01\n\x0fOpenCensusAgent\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12S\n\x07\x63ontext\x18\x02 \x03(\x0e\x32\x39.istio.mesh.v1alpha1.Tracing.OpenCensusAgent.TraceContextR\x07\x63ontext\"e\n\x0cTraceContext\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x15\n\x11W3C_TRACE_CONTEXT\x10\x01\x12\x0c\n\x08GRPC_BIN\x10\x02\x12\x17\n\x13\x43LOUD_TRACE_CONTEXT\x10\x03\x12\x06\n\x02\x42\x33\x10\x04\x1a\xe9\x01\n\tCustomTag\x12@\n\x07literal\x18\x01 \x01(\x0b\x32$.istio.mesh.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12L\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32(.istio.mesh.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12\x44\n\x06header\x18\x03 \x01(\x0b\x32*.istio.mesh.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x65\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b\x32&.istio.mesh.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\x08\n\x06tracer\"F\n\x03SDS\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\x12%\n\x0fk8s_sa_jwt_path\x18\x02 \x01(\tR\x0ck8sSaJwtPath\"\xbc\x02\n\x08Topology\x12.\n\x13num_trusted_proxies\x18\x01 \x01(\rR\x11numTrustedProxies\x12u\n\x1b\x66orward_client_cert_details\x18\x02 \x01(\x0e\x32\x36.istio.mesh.v1alpha1.Topology.ForwardClientCertDetailsR\x18\x66orwardClientCertDetails\"\x88\x01\n\x18\x46orwardClientCertDetails\x12\r\n\tUNDEFINED\x10\x00\x12\x0c\n\x08SANITIZE\x10\x01\x12\x10\n\x0c\x46ORWARD_ONLY\x10\x02\x12\x12\n\x0e\x41PPEND_FORWARD\x10\x03\x12\x10\n\x0cSANITIZE_SET\x10\x04\x12\x17\n\x13\x41LWAYS_FORWARD_ONLY\x10\x05\"\xb4\x12\n\x0bProxyConfig\x12\x1f\n\x0b\x63onfig_path\x18\x01 \x01(\tR\nconfigPath\x12\x1f\n\x0b\x62inary_path\x18\x02 \x01(\tR\nbinaryPath\x12\'\n\x0fservice_cluster\x18\x03 \x01(\tR\x0eserviceCluster\x12@\n\x0e\x64rain_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\rdrainDuration\x12S\n\x18parent_shutdown_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x16parentShutdownDuration\x12+\n\x11\x64iscovery_address\x18\x06 \x01(\tR\x10\x64iscoveryAddress\x12U\n\x17\x64iscovery_refresh_delay\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01R\x15\x64iscoveryRefreshDelay\x12)\n\x0ezipkin_address\x18\x08 \x01(\tB\x02\x18\x01R\rzipkinAddress\x12,\n\x12statsd_udp_address\x18\n \x01(\tR\x10statsdUdpAddress\x12\x45\n\x1d\x65nvoy_metrics_service_address\x18\x14 \x01(\tB\x02\x18\x01R\x1a\x65nvoyMetricsServiceAddress\x12(\n\x10proxy_admin_port\x18\x0b \x01(\x05R\x0eproxyAdminPort\x12/\n\x11\x61vailability_zone\x18\x0c \x01(\tB\x02\x18\x01R\x10\x61vailabilityZone\x12\x64\n\x19\x63ontrol_plane_auth_policy\x18\r \x01(\x0e\x32).istio.mesh.v1alpha1.AuthenticationPolicyR\x16\x63ontrolPlaneAuthPolicy\x12,\n\x12\x63ustom_config_file\x18\x0e \x01(\tR\x10\x63ustomConfigFile\x12(\n\x10stat_name_length\x18\x0f \x01(\x05R\x0estatNameLength\x12=\n\x0b\x63oncurrency\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x0b\x63oncurrency\x12\x41\n\x1dproxy_bootstrap_template_path\x18\x11 \x01(\tR\x1aproxyBootstrapTemplatePath\x12\x65\n\x11interception_mode\x18\x12 \x01(\x0e\x32\x38.istio.mesh.v1alpha1.ProxyConfig.InboundInterceptionModeR\x10interceptionMode\x12:\n\x07tracing\x18\x13 \x01(\x0b\x32\x1c.istio.mesh.v1alpha1.TracingB\x02\x18\x01R\x07tracing\x12*\n\x03sds\x18\x15 \x01(\x0b\x32\x18.istio.mesh.v1alpha1.SDSR\x03sds\x12[\n\x18\x65nvoy_access_log_service\x18\x16 \x01(\x0b\x32\".istio.mesh.v1alpha1.RemoteServiceR\x15\x65nvoyAccessLogService\x12V\n\x15\x65nvoy_metrics_service\x18\x17 \x01(\x0b\x32\".istio.mesh.v1alpha1.RemoteServiceR\x13\x65nvoyMetricsService\x12Z\n\x0eproxy_metadata\x18\x18 \x03(\x0b\x32\x33.istio.mesh.v1alpha1.ProxyConfig.ProxyMetadataEntryR\rproxyMetadata\x12\x1f\n\x0bstatus_port\x18\x1a \x01(\x05R\nstatusPort\x12&\n\x0f\x65xtra_stat_tags\x18\x1b \x03(\tR\rextraStatTags\x12H\n\x10gateway_topology\x18\x1c \x01(\x0b\x32\x1d.istio.mesh.v1alpha1.TopologyR\x0fgatewayTopology\x12W\n\x1atermination_drain_duration\x18\x1d \x01(\x0b\x32\x19.google.protobuf.DurationR\x18terminationDrainDuration\x12\x17\n\x07mesh_id\x18\x1e \x01(\tR\x06meshId\x12R\n\x0freadiness_probe\x18\x1f \x01(\x0b\x32).istio.networking.v1alpha3.ReadinessProbeR\x0ereadinessProbe\x12\x62\n\x13proxy_stats_matcher\x18 \x01(\x0b\x32\x32.istio.mesh.v1alpha1.ProxyConfig.ProxyStatsMatcherR\x11proxyStatsMatcher\x12h\n#hold_application_until_proxy_starts\x18! \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x1fholdApplicationUntilProxyStarts\x12.\n\x13\x63\x61_certificates_pem\x18\" \x03(\tR\x11\x63\x61\x43\x65rtificatesPem\x1a@\n\x12ProxyMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x9e\x01\n\x11ProxyStatsMatcher\x12-\n\x12inclusion_prefixes\x18\x01 \x03(\tR\x11inclusionPrefixes\x12-\n\x12inclusion_suffixes\x18\x02 \x03(\tR\x11inclusionSuffixes\x12+\n\x11inclusion_regexps\x18\x03 \x03(\tR\x10inclusionRegexps\"3\n\x17InboundInterceptionMode\x12\x0c\n\x08REDIRECT\x10\x00\x12\n\n\x06TPROXY\x10\x01J\x04\x08\t\x10\nR\x0f\x63onnect_timeout\"\xeb\x01\n\rRemoteService\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12O\n\x0ctls_settings\x18\x02 \x01(\x0b\x32,.istio.networking.v1alpha3.ClientTLSSettingsR\x0btlsSettings\x12o\n\rtcp_keepalive\x18\x03 \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepaliveR\x0ctcpKeepalive*>\n\x14\x41uthenticationPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\x12\x0c\n\x07INHERIT\x10\xe8\x07\x42\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_workload__group__pb2.DESCRIPTOR,]) @@ -50,8 +50,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=5016, - serialized_end=5078, + serialized_start=5020, + serialized_end=5082, ) _sym_db.RegisterEnumDescriptor(_AUTHENTICATIONPOLICY) @@ -150,8 +150,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4702, - serialized_end=4753, + serialized_start=4706, + serialized_end=4757, ) _sym_db.RegisterEnumDescriptor(_PROXYCONFIG_INBOUNDINTERCEPTIONMODE) @@ -730,8 +730,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4475, - serialized_end=4539, + serialized_start=4479, + serialized_end=4543, ) _PROXYCONFIG_PROXYSTATSMATCHER = _descriptor.Descriptor( @@ -774,8 +774,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4542, - serialized_end=4700, + serialized_start=4546, + serialized_end=4704, ) _PROXYCONFIG = _descriptor.Descriptor( @@ -917,7 +917,7 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='tracing', file=DESCRIPTOR), + serialized_options=_b('\030\001'), json_name='tracing', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='sds', full_name='istio.mesh.v1alpha1.ProxyConfig.sds', index=19, number=21, type=11, cpp_type=10, label=1, @@ -1023,7 +1023,7 @@ oneofs=[ ], serialized_start=2424, - serialized_end=4776, + serialized_end=4780, ) @@ -1067,8 +1067,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4779, - serialized_end=5014, + serialized_start=4783, + serialized_end=5018, ) _TRACING_ZIPKIN.containing_type = _TRACING @@ -1291,4 +1291,5 @@ _PROXYCONFIG.fields_by_name['zipkin_address']._options = None _PROXYCONFIG.fields_by_name['envoy_metrics_service_address']._options = None _PROXYCONFIG.fields_by_name['availability_zone']._options = None +_PROXYCONFIG.fields_by_name['tracing']._options = None # @@protoc_insertion_point(module_scope) diff --git a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py index 269423d648..ef4cccf454 100644 --- a/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py +++ b/python/istio_api/telemetry/v1alpha1/telemetry_pb2.py @@ -21,93 +21,33 @@ package='istio.telemetry.v1alpha1', syntax='proto3', serialized_options=_b('Z\037istio.io/api/telemetry/v1alpha1'), - serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x8e\x01\n\tTelemetry\x12@\n\x08selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x08selector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"\x8c\x01\n\x0bTracingRule\x12\x42\n\x05match\x18\x01 \x01(\x0b\x32,.istio.telemetry.v1alpha1.TelemetryRuleMatchR\x05match\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"\xf7\x01\n\x12TelemetryRuleMatch\x12j\n\x11traffic_direction\x18\x01 \x01(\x0e\x32=.istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirectionR\x10trafficDirection\x12\x32\n\x04port\x18\x03 \x01(\x0b\x32\x1e.istio.telemetry.v1alpha1.PortR\x04port\"A\n\x10TrafficDirection\x12\x12\n\x0e\x41LL_DIRECTIONS\x10\x00\x12\x0c\n\x08OUTBOUND\x10\x01\x12\x0b\n\x07INBOUND\x10\x02\"\x1e\n\x04Port\x12\x16\n\x06number\x18\x01 \x01(\rR\x06number\"\x8b\x0b\n\x07Tracing\x12\x34\n\x16\x64isable_span_reporting\x18\x02 \x01(\x08R\x14\x64isableSpanReporting\x12*\n\x11\x65xclude_mesh_tags\x18\x03 \x01(\x08R\x0f\x65xcludeMeshTags\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x12$\n\x0emax_tag_length\x18\x05 \x01(\rR\x0cmaxTagLength\x12V\n\x10\x63onstant_sampler\x18\x06 \x01(\x0b\x32).istio.telemetry.v1alpha1.ConstantSamplerH\x00R\x0f\x63onstantSampler\x12\\\n\x12percentage_sampler\x18\x07 \x01(\x0b\x32+.istio.telemetry.v1alpha1.PercentageSamplerH\x00R\x11percentageSampler\x1a\xc2\x02\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06header\x12H\n\x08metadata\x18\x04 \x01(\x0b\x32*.istio.telemetry.v1alpha1.Tracing.MetadataH\x00R\x08metadataB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\xfe\x02\n\x08Metadata\x12\x43\n\x04kind\x18\x01 \x01(\x0e\x32/.istio.telemetry.v1alpha1.Tracing.Metadata.KindR\x04kind\x12@\n\x03key\x18\x02 \x01(\x0b\x32..istio.telemetry.v1alpha1.Tracing.Metadata.KeyR\x03key\x12#\n\rdefault_value\x18\x03 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1a\x8e\x01\n\x03Key\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12T\n\x07segment\x18\x02 \x03(\x0b\x32:.istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegmentR\x07segment\x1a\x1f\n\x0bPathSegment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"5\n\x04Kind\x12\x0b\n\x07REQUEST\x10\x00\x12\t\n\x05ROUTE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x08\n\x04HOST\x10\x03\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\x42\t\n\x07sampler\"\xae\x01\n\x0f\x43onstantSampler\x12V\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32:.istio.telemetry.v1alpha1.ConstantSampler.ConstantDecisionR\x08\x64\x65\x63ision\"C\n\x10\x43onstantDecision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\t\n\x05NEVER\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\"+\n\x11PercentageSampler\x12\x16\n\x06target\x18\x01 \x01(\x01R\x06targetB!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') + serialized_pb=_b('\n\"telemetry/v1alpha1/telemetry.proto\x12\x18istio.telemetry.v1alpha1\x1a\x1btype/v1beta1/selector.proto\"\x8e\x01\n\tTelemetry\x12@\n\x08selector\x18\x01 \x01(\x0b\x32$.istio.type.v1beta1.WorkloadSelectorR\x08selector\x12?\n\x07tracing\x18\x02 \x03(\x0b\x32%.istio.telemetry.v1alpha1.TracingRuleR\x07tracing\"H\n\x0bTracingRule\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32!.istio.telemetry.v1alpha1.TracingR\x06\x63onfig\"!\n\x0bProviderRef\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x8e\x07\n\x07Tracing\x12\x43\n\tproviders\x18\x01 \x03(\x0b\x32%.istio.telemetry.v1alpha1.ProviderRefR\tproviders\x12<\n\x1arandom_sampling_percentage\x18\x02 \x01(\x01R\x18randomSamplingPercentage\x12V\n\x0espan_reporting\x18\x03 \x01(\x0e\x32/.istio.telemetry.v1alpha1.Tracing.SpanReportingR\rspanReporting\x12R\n\x0b\x63ustom_tags\x18\x04 \x03(\x0b\x32\x31.istio.telemetry.v1alpha1.Tracing.CustomTagsEntryR\ncustomTags\x1a\xf8\x01\n\tCustomTag\x12\x45\n\x07literal\x18\x01 \x01(\x0b\x32).istio.telemetry.v1alpha1.Tracing.LiteralH\x00R\x07literal\x12Q\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32-.istio.telemetry.v1alpha1.Tracing.EnvironmentH\x00R\x0b\x65nvironment\x12I\n\x06header\x18\x03 \x01(\x0b\x32/.istio.telemetry.v1alpha1.Tracing.RequestHeaderH\x00R\x06headerB\x06\n\x04type\x1a\x1f\n\x07Literal\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x1a\x46\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aH\n\rRequestHeader\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rdefault_value\x18\x02 \x01(\tR\x0c\x64\x65\x66\x61ultValue\x1aj\n\x0f\x43ustomTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32+.istio.telemetry.v1alpha1.Tracing.CustomTagR\x05value:\x02\x38\x01\":\n\rSpanReporting\x12\x10\n\x0cREPORT_SPANS\x10\x00\x12\x17\n\x13\x44O_NOT_REPORT_SPANS\x10\x01\x42!Z\x1fistio.io/api/telemetry/v1alpha1b\x06proto3') , dependencies=[type_dot_v1beta1_dot_selector__pb2.DESCRIPTOR,]) -_TELEMETRYRULEMATCH_TRAFFICDIRECTION = _descriptor.EnumDescriptor( - name='TrafficDirection', - full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.TrafficDirection', +_TRACING_SPANREPORTING = _descriptor.EnumDescriptor( + name='SpanReporting', + full_name='istio.telemetry.v1alpha1.Tracing.SpanReporting', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( - name='ALL_DIRECTIONS', index=0, number=0, + name='REPORT_SPANS', index=0, number=0, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='OUTBOUND', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INBOUND', index=2, number=2, + name='DO_NOT_REPORT_SPANS', index=1, number=1, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, - serialized_start=564, - serialized_end=629, + serialized_start=1200, + serialized_end=1258, ) -_sym_db.RegisterEnumDescriptor(_TELEMETRYRULEMATCH_TRAFFICDIRECTION) - -_TRACING_METADATA_KIND = _descriptor.EnumDescriptor( - name='Kind', - full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Kind', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='REQUEST', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROUTE', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLUSTER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOST', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=1911, - serialized_end=1964, -) -_sym_db.RegisterEnumDescriptor(_TRACING_METADATA_KIND) - -_CONSTANTSAMPLER_CONSTANTDECISION = _descriptor.EnumDescriptor( - name='ConstantDecision', - full_name='istio.telemetry.v1alpha1.ConstantSampler.ConstantDecision', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='DECISION_UNSPECIFIED', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEVER', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALWAYS', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=2193, - serialized_end=2260, -) -_sym_db.RegisterEnumDescriptor(_CONSTANTSAMPLER_CONSTANTDECISION) +_sym_db.RegisterEnumDescriptor(_TRACING_SPANREPORTING) _TELEMETRY = _descriptor.Descriptor( @@ -156,14 +96,7 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='match', full_name='istio.telemetry.v1alpha1.TracingRule.match', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='match', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='config', full_name='istio.telemetry.v1alpha1.TracingRule.config', index=1, + name='config', full_name='istio.telemetry.v1alpha1.TracingRule.config', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -181,64 +114,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=239, - serialized_end=379, + serialized_start=238, + serialized_end=310, ) -_TELEMETRYRULEMATCH = _descriptor.Descriptor( - name='TelemetryRuleMatch', - full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch', +_PROVIDERREF = _descriptor.Descriptor( + name='ProviderRef', + full_name='istio.telemetry.v1alpha1.ProviderRef', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='traffic_direction', full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.traffic_direction', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='trafficDirection', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='port', full_name='istio.telemetry.v1alpha1.TelemetryRuleMatch.port', index=1, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='port', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TELEMETRYRULEMATCH_TRAFFICDIRECTION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=382, - serialized_end=629, -) - - -_PORT = _descriptor.Descriptor( - name='Port', - full_name='istio.telemetry.v1alpha1.Port', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='number', full_name='istio.telemetry.v1alpha1.Port.number', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, + name='name', full_name='istio.telemetry.v1alpha1.ProviderRef.name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='number', file=DESCRIPTOR), + serialized_options=None, json_name='name', file=DESCRIPTOR), ], extensions=[ ], @@ -251,8 +145,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=631, - serialized_end=661, + serialized_start=312, + serialized_end=345, ) @@ -284,13 +178,6 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='header', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='metadata', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.metadata', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='metadata', file=DESCRIPTOR), ], extensions=[ ], @@ -306,8 +193,8 @@ name='type', full_name='istio.telemetry.v1alpha1.Tracing.CustomTag.type', index=0, containing_type=None, fields=[]), ], - serialized_start=1078, - serialized_end=1400, + serialized_start=663, + serialized_end=911, ) _TRACING_LITERAL = _descriptor.Descriptor( @@ -336,8 +223,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1402, - serialized_end=1433, + serialized_start=913, + serialized_end=944, ) _TRACING_ENVIRONMENT = _descriptor.Descriptor( @@ -373,8 +260,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1435, - serialized_end=1505, + serialized_start=946, + serialized_end=1016, ) _TRACING_REQUESTHEADER = _descriptor.Descriptor( @@ -410,120 +297,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1507, - serialized_end=1579, -) - -_TRACING_METADATA_KEY_PATHSEGMENT = _descriptor.Descriptor( - name='PathSegment', - full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='key', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1878, - serialized_end=1909, -) - -_TRACING_METADATA_KEY = _descriptor.Descriptor( - name='Key', - full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='key', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='segment', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.Key.segment', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='segment', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_TRACING_METADATA_KEY_PATHSEGMENT, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1767, - serialized_end=1909, -) - -_TRACING_METADATA = _descriptor.Descriptor( - name='Metadata', - full_name='istio.telemetry.v1alpha1.Tracing.Metadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='kind', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.kind', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='kind', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='key', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.key', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='key', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='default_value', full_name='istio.telemetry.v1alpha1.Tracing.Metadata.default_value', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='defaultValue', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_TRACING_METADATA_KEY, ], - enum_types=[ - _TRACING_METADATA_KIND, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1582, - serialized_end=1964, + serialized_start=1018, + serialized_end=1090, ) _TRACING_CUSTOMTAGSENTRY = _descriptor.Descriptor( @@ -559,8 +334,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1966, - serialized_end=2072, + serialized_start=1092, + serialized_end=1198, ) _TRACING = _descriptor.Descriptor( @@ -571,118 +346,39 @@ containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='disable_span_reporting', full_name='istio.telemetry.v1alpha1.Tracing.disable_span_reporting', index=0, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='disableSpanReporting', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='exclude_mesh_tags', full_name='istio.telemetry.v1alpha1.Tracing.exclude_mesh_tags', index=1, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='excludeMeshTags', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='custom_tags', full_name='istio.telemetry.v1alpha1.Tracing.custom_tags', index=2, - number=4, type=11, cpp_type=10, label=3, + name='providers', full_name='istio.telemetry.v1alpha1.Tracing.providers', index=0, + number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='customTags', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_tag_length', full_name='istio.telemetry.v1alpha1.Tracing.max_tag_length', index=3, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='maxTagLength', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='constant_sampler', full_name='istio.telemetry.v1alpha1.Tracing.constant_sampler', index=4, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='constantSampler', file=DESCRIPTOR), + serialized_options=None, json_name='providers', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percentage_sampler', full_name='istio.telemetry.v1alpha1.Tracing.percentage_sampler', index=5, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, + name='random_sampling_percentage', full_name='istio.telemetry.v1alpha1.Tracing.random_sampling_percentage', index=1, + number=2, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='percentageSampler', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_TRACING_CUSTOMTAG, _TRACING_LITERAL, _TRACING_ENVIRONMENT, _TRACING_REQUESTHEADER, _TRACING_METADATA, _TRACING_CUSTOMTAGSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='sampler', full_name='istio.telemetry.v1alpha1.Tracing.sampler', - index=0, containing_type=None, fields=[]), - ], - serialized_start=664, - serialized_end=2083, -) - - -_CONSTANTSAMPLER = _descriptor.Descriptor( - name='ConstantSampler', - full_name='istio.telemetry.v1alpha1.ConstantSampler', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ + serialized_options=None, json_name='randomSamplingPercentage', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='decision', full_name='istio.telemetry.v1alpha1.ConstantSampler.decision', index=0, - number=1, type=14, cpp_type=8, label=1, + name='span_reporting', full_name='istio.telemetry.v1alpha1.Tracing.span_reporting', index=2, + number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='decision', file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONSTANTSAMPLER_CONSTANTDECISION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2086, - serialized_end=2260, -) - - -_PERCENTAGESAMPLER = _descriptor.Descriptor( - name='PercentageSampler', - full_name='istio.telemetry.v1alpha1.PercentageSampler', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ + serialized_options=None, json_name='spanReporting', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target', full_name='istio.telemetry.v1alpha1.PercentageSampler.target', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), + name='custom_tags', full_name='istio.telemetry.v1alpha1.Tracing.custom_tags', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='target', file=DESCRIPTOR), + serialized_options=None, json_name='customTags', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_TRACING_CUSTOMTAG, _TRACING_LITERAL, _TRACING_ENVIRONMENT, _TRACING_REQUESTHEADER, _TRACING_CUSTOMTAGSENTRY, ], enum_types=[ + _TRACING_SPANREPORTING, ], serialized_options=None, is_extendable=False, @@ -690,21 +386,16 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2262, - serialized_end=2305, + serialized_start=348, + serialized_end=1258, ) _TELEMETRY.fields_by_name['selector'].message_type = type_dot_v1beta1_dot_selector__pb2._WORKLOADSELECTOR _TELEMETRY.fields_by_name['tracing'].message_type = _TRACINGRULE -_TRACINGRULE.fields_by_name['match'].message_type = _TELEMETRYRULEMATCH _TRACINGRULE.fields_by_name['config'].message_type = _TRACING -_TELEMETRYRULEMATCH.fields_by_name['traffic_direction'].enum_type = _TELEMETRYRULEMATCH_TRAFFICDIRECTION -_TELEMETRYRULEMATCH.fields_by_name['port'].message_type = _PORT -_TELEMETRYRULEMATCH_TRAFFICDIRECTION.containing_type = _TELEMETRYRULEMATCH _TRACING_CUSTOMTAG.fields_by_name['literal'].message_type = _TRACING_LITERAL _TRACING_CUSTOMTAG.fields_by_name['environment'].message_type = _TRACING_ENVIRONMENT _TRACING_CUSTOMTAG.fields_by_name['header'].message_type = _TRACING_REQUESTHEADER -_TRACING_CUSTOMTAG.fields_by_name['metadata'].message_type = _TRACING_METADATA _TRACING_CUSTOMTAG.containing_type = _TRACING _TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( _TRACING_CUSTOMTAG.fields_by_name['literal']) @@ -715,39 +406,19 @@ _TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( _TRACING_CUSTOMTAG.fields_by_name['header']) _TRACING_CUSTOMTAG.fields_by_name['header'].containing_oneof = _TRACING_CUSTOMTAG.oneofs_by_name['type'] -_TRACING_CUSTOMTAG.oneofs_by_name['type'].fields.append( - _TRACING_CUSTOMTAG.fields_by_name['metadata']) -_TRACING_CUSTOMTAG.fields_by_name['metadata'].containing_oneof = _TRACING_CUSTOMTAG.oneofs_by_name['type'] _TRACING_LITERAL.containing_type = _TRACING _TRACING_ENVIRONMENT.containing_type = _TRACING _TRACING_REQUESTHEADER.containing_type = _TRACING -_TRACING_METADATA_KEY_PATHSEGMENT.containing_type = _TRACING_METADATA_KEY -_TRACING_METADATA_KEY.fields_by_name['segment'].message_type = _TRACING_METADATA_KEY_PATHSEGMENT -_TRACING_METADATA_KEY.containing_type = _TRACING_METADATA -_TRACING_METADATA.fields_by_name['kind'].enum_type = _TRACING_METADATA_KIND -_TRACING_METADATA.fields_by_name['key'].message_type = _TRACING_METADATA_KEY -_TRACING_METADATA.containing_type = _TRACING -_TRACING_METADATA_KIND.containing_type = _TRACING_METADATA _TRACING_CUSTOMTAGSENTRY.fields_by_name['value'].message_type = _TRACING_CUSTOMTAG _TRACING_CUSTOMTAGSENTRY.containing_type = _TRACING +_TRACING.fields_by_name['providers'].message_type = _PROVIDERREF +_TRACING.fields_by_name['span_reporting'].enum_type = _TRACING_SPANREPORTING _TRACING.fields_by_name['custom_tags'].message_type = _TRACING_CUSTOMTAGSENTRY -_TRACING.fields_by_name['constant_sampler'].message_type = _CONSTANTSAMPLER -_TRACING.fields_by_name['percentage_sampler'].message_type = _PERCENTAGESAMPLER -_TRACING.oneofs_by_name['sampler'].fields.append( - _TRACING.fields_by_name['constant_sampler']) -_TRACING.fields_by_name['constant_sampler'].containing_oneof = _TRACING.oneofs_by_name['sampler'] -_TRACING.oneofs_by_name['sampler'].fields.append( - _TRACING.fields_by_name['percentage_sampler']) -_TRACING.fields_by_name['percentage_sampler'].containing_oneof = _TRACING.oneofs_by_name['sampler'] -_CONSTANTSAMPLER.fields_by_name['decision'].enum_type = _CONSTANTSAMPLER_CONSTANTDECISION -_CONSTANTSAMPLER_CONSTANTDECISION.containing_type = _CONSTANTSAMPLER +_TRACING_SPANREPORTING.containing_type = _TRACING DESCRIPTOR.message_types_by_name['Telemetry'] = _TELEMETRY DESCRIPTOR.message_types_by_name['TracingRule'] = _TRACINGRULE -DESCRIPTOR.message_types_by_name['TelemetryRuleMatch'] = _TELEMETRYRULEMATCH -DESCRIPTOR.message_types_by_name['Port'] = _PORT +DESCRIPTOR.message_types_by_name['ProviderRef'] = _PROVIDERREF DESCRIPTOR.message_types_by_name['Tracing'] = _TRACING -DESCRIPTOR.message_types_by_name['ConstantSampler'] = _CONSTANTSAMPLER -DESCRIPTOR.message_types_by_name['PercentageSampler'] = _PERCENTAGESAMPLER _sym_db.RegisterFileDescriptor(DESCRIPTOR) Telemetry = _reflection.GeneratedProtocolMessageType('Telemetry', (_message.Message,), { @@ -764,19 +435,12 @@ }) _sym_db.RegisterMessage(TracingRule) -TelemetryRuleMatch = _reflection.GeneratedProtocolMessageType('TelemetryRuleMatch', (_message.Message,), { - 'DESCRIPTOR' : _TELEMETRYRULEMATCH, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.TelemetryRuleMatch) - }) -_sym_db.RegisterMessage(TelemetryRuleMatch) - -Port = _reflection.GeneratedProtocolMessageType('Port', (_message.Message,), { - 'DESCRIPTOR' : _PORT, +ProviderRef = _reflection.GeneratedProtocolMessageType('ProviderRef', (_message.Message,), { + 'DESCRIPTOR' : _PROVIDERREF, '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Port) + # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.ProviderRef) }) -_sym_db.RegisterMessage(Port) +_sym_db.RegisterMessage(ProviderRef) Tracing = _reflection.GeneratedProtocolMessageType('Tracing', (_message.Message,), { @@ -808,27 +472,6 @@ }) , - 'Metadata' : _reflection.GeneratedProtocolMessageType('Metadata', (_message.Message,), { - - 'Key' : _reflection.GeneratedProtocolMessageType('Key', (_message.Message,), { - - 'PathSegment' : _reflection.GeneratedProtocolMessageType('PathSegment', (_message.Message,), { - 'DESCRIPTOR' : _TRACING_METADATA_KEY_PATHSEGMENT, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata.Key.PathSegment) - }) - , - 'DESCRIPTOR' : _TRACING_METADATA_KEY, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata.Key) - }) - , - 'DESCRIPTOR' : _TRACING_METADATA, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.Tracing.Metadata) - }) - , - 'CustomTagsEntry' : _reflection.GeneratedProtocolMessageType('CustomTagsEntry', (_message.Message,), { 'DESCRIPTOR' : _TRACING_CUSTOMTAGSENTRY, '__module__' : 'telemetry.v1alpha1.telemetry_pb2' @@ -844,25 +487,8 @@ _sym_db.RegisterMessage(Tracing.Literal) _sym_db.RegisterMessage(Tracing.Environment) _sym_db.RegisterMessage(Tracing.RequestHeader) -_sym_db.RegisterMessage(Tracing.Metadata) -_sym_db.RegisterMessage(Tracing.Metadata.Key) -_sym_db.RegisterMessage(Tracing.Metadata.Key.PathSegment) _sym_db.RegisterMessage(Tracing.CustomTagsEntry) -ConstantSampler = _reflection.GeneratedProtocolMessageType('ConstantSampler', (_message.Message,), { - 'DESCRIPTOR' : _CONSTANTSAMPLER, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.ConstantSampler) - }) -_sym_db.RegisterMessage(ConstantSampler) - -PercentageSampler = _reflection.GeneratedProtocolMessageType('PercentageSampler', (_message.Message,), { - 'DESCRIPTOR' : _PERCENTAGESAMPLER, - '__module__' : 'telemetry.v1alpha1.telemetry_pb2' - # @@protoc_insertion_point(class_scope:istio.telemetry.v1alpha1.PercentageSampler) - }) -_sym_db.RegisterMessage(PercentageSampler) - DESCRIPTOR._options = None _TRACING_CUSTOMTAGSENTRY._options = None diff --git a/telemetry/v1alpha1/telemetry.pb.go b/telemetry/v1alpha1/telemetry.pb.go index 0bd12faa77..7ee38eff63 100644 --- a/telemetry/v1alpha1/telemetry.pb.go +++ b/telemetry/v1alpha1/telemetry.pb.go @@ -24,111 +24,32 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// TrafficDirection selects for traffic relative to the local -// proxy. -type TelemetryRuleMatch_TrafficDirection int32 +// List options for reporting of trace spans by selecting proxies. +type Tracing_SpanReporting int32 const ( - // (Default) Match all traffic, regardless of direction. - TelemetryRuleMatch_ALL_DIRECTIONS TelemetryRuleMatch_TrafficDirection = 0 - // Match outbound traffic leaving the proxy. Use this to select "client-side" - // traffic in telemetry reporting. - // Note: Use OUTBOUND for gateways (even including ingress) - TelemetryRuleMatch_OUTBOUND TelemetryRuleMatch_TrafficDirection = 1 - // Match incoming traffic for the proxy. Use this to select "server-side" - // traffic in telemetry reporting. - TelemetryRuleMatch_INBOUND TelemetryRuleMatch_TrafficDirection = 2 + // Report all spans to the configured tracing provider. + Tracing_REPORT_SPANS Tracing_SpanReporting = 0 + // Do not report spans. Tracing headers will still be forwarded. + Tracing_DO_NOT_REPORT_SPANS Tracing_SpanReporting = 1 ) -var TelemetryRuleMatch_TrafficDirection_name = map[int32]string{ - 0: "ALL_DIRECTIONS", - 1: "OUTBOUND", - 2: "INBOUND", +var Tracing_SpanReporting_name = map[int32]string{ + 0: "REPORT_SPANS", + 1: "DO_NOT_REPORT_SPANS", } -var TelemetryRuleMatch_TrafficDirection_value = map[string]int32{ - "ALL_DIRECTIONS": 0, - "OUTBOUND": 1, - "INBOUND": 2, +var Tracing_SpanReporting_value = map[string]int32{ + "REPORT_SPANS": 0, + "DO_NOT_REPORT_SPANS": 1, } -func (x TelemetryRuleMatch_TrafficDirection) String() string { - return proto.EnumName(TelemetryRuleMatch_TrafficDirection_name, int32(x)) +func (x Tracing_SpanReporting) String() string { + return proto.EnumName(Tracing_SpanReporting_name, int32(x)) } -func (TelemetryRuleMatch_TrafficDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{2, 0} -} - -type Tracing_Metadata_Kind int32 - -const ( - // Represents dynamic metadata associated with the request - Tracing_Metadata_REQUEST Tracing_Metadata_Kind = 0 - // Represents metadata from the route. - Tracing_Metadata_ROUTE Tracing_Metadata_Kind = 1 - // Represents metadata from the upstream cluster. - Tracing_Metadata_CLUSTER Tracing_Metadata_Kind = 2 - // Represents metadata from the upstream host. - Tracing_Metadata_HOST Tracing_Metadata_Kind = 3 -) - -var Tracing_Metadata_Kind_name = map[int32]string{ - 0: "REQUEST", - 1: "ROUTE", - 2: "CLUSTER", - 3: "HOST", -} - -var Tracing_Metadata_Kind_value = map[string]int32{ - "REQUEST": 0, - "ROUTE": 1, - "CLUSTER": 2, - "HOST": 3, -} - -func (x Tracing_Metadata_Kind) String() string { - return proto.EnumName(Tracing_Metadata_Kind_name, int32(x)) -} - -func (Tracing_Metadata_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{4, 4, 0} -} - -// ConstantDecision controls the behavior of the ConstantSampler. -type ConstantSampler_ConstantDecision int32 - -const ( - // Equivalent to NEVER_SAMPLE. - ConstantSampler_DECISION_UNSPECIFIED ConstantSampler_ConstantDecision = 0 - // Ignore all sidecar traffic for the purposes of telemetry generation. - // For tracing, this means that the sidecar will never generate trace spans - // for traffic without an existing trace context. - ConstantSampler_NEVER ConstantSampler_ConstantDecision = 1 - // Consider all sidecar traffic for the purposes of telemetry generation. - // For tracing, this will generate trace spans for traffic without an - // existing trace context. - ConstantSampler_ALWAYS ConstantSampler_ConstantDecision = 2 -) - -var ConstantSampler_ConstantDecision_name = map[int32]string{ - 0: "DECISION_UNSPECIFIED", - 1: "NEVER", - 2: "ALWAYS", -} - -var ConstantSampler_ConstantDecision_value = map[string]int32{ - "DECISION_UNSPECIFIED": 0, - "NEVER": 1, - "ALWAYS": 2, -} - -func (x ConstantSampler_ConstantDecision) String() string { - return proto.EnumName(ConstantSampler_ConstantDecision_name, int32(x)) -} - -func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_991c84745e2b7651, []int{5, 0} +func (Tracing_SpanReporting) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_991c84745e2b7651, []int{3, 0} } // Telemetry defines the telemetry generation policies for workloads within a mesh. @@ -156,7 +77,7 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // // Examples: // -// Policy to enable random sampling for 10% of all traffic: +// Policy to enable random sampling for 10% of traffic: // ```yaml // apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry @@ -165,14 +86,27 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // namespace: istio-system // spec: // tracing: -// - match: {} # apply to all traffic -// config: -// percentageSampler: -// target: 10.00 +// - config: +// randomSamplingPercentage: 10.00 +// ``` +// +// Policy to disable trace reporting for the "foo" workload: +// ```yaml +// apiVersion: telemetry.istio.io/v1alpha1 +// kind: Telemetry +// metadata: +// name: foo-tracing +// namespace: bar +// spec: +// selector: +// labels: +// service.istio.io/canonical-name: foo +// tracing: +// - config: +// spanReporting: DO_NOT_REPORT_SPANS // ``` // -// Policy to disable trace reporting for all inbound traffic to the "foo" -// workloads that arrives on port 8090: +// Policy to select the alternate zipkin provider for trace reporting: // ```yaml // apiVersion: telemetry.istio.io/v1alpha1 // kind: Telemetry @@ -184,12 +118,9 @@ func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int) { // labels: // service.istio.io/canonical-name: foo // tracing: -// - match: -// trafficDirection: INBOUND -// port: -// number: 8090 -// config: -// disableSpanReporting: true +// - config: +// providers: +// - name: "zipkin-alternate" // ``` // //
NameDescription
W3C_TRACE_CONTEXT +

Use W3C Trace Context propagation using the traceparent HTTP header. +See the +Trace Context documentation for details.

+ +
GRPC_BIN +

Use gRPC binary context propagation using the grpc-trace-bin http header.

+ +
CLOUD_TRACE_CONTEXT +

Use Cloud Trace context propagation using the +X-Cloud-Trace-Context http header.

+ +
B3 +

Use multi-header B3 context propagation using the X-B3-TraceId, +X-B3-SpanId, and X-B3-Sampled HTTP headers. See +B3 header propagation README +for details.

+