update dependencies

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-12-22 16:48:26 +08:00
parent 4a11a50544
commit fe6c5de00f
2857 changed files with 252134 additions and 115656 deletions

View File

@@ -117,9 +117,24 @@ func (Tls_AuthHeader) EnumDescriptor() ([]byte, []int) {
// AttributeManifest describes a set of Attributes produced by some component
// of an Istio deployment.
//
// <!-- crd generation tags
// +cue-gen:attributemanifest:schema:istio.policy.v1beta1.AttributeManifest
// +cue-gen:attributemanifest:groupName:config.istio.io
// +cue-gen:attributemanifest:version:v1alpha2
// +cue-gen:attributemanifest:storageVersion
// +cue-gen:attributemanifest:annotations:helm.sh/resource-policy=keep
// +cue-gen:attributemanifest:labels:app=mixer,chart=istio,heritage=Tiller,istio=core,package=istio.io.mixer,release=istio
// +cue-gen:attributemanifest:subresource:status
// +cue-gen:attributemanifest:scope:Namespaced
// +cue-gen:attributemanifest:resource:categories=istio-io,policy-istio-io
// +cue-gen:attributemanifest:preserveUnknownFields:false
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=AttributeManifest
// +kubetype-gen:AttributeManifest:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -307,9 +322,24 @@ func (m *AttributeManifest_AttributeInfo) GetValueType() ValueType {
// - RequestCountByService
// ```
//
// <!-- crd generation tags
// +cue-gen:rule:schema:istio.policy.v1beta1.Rule
// +cue-gen:rule:groupName:config.istio.io
// +cue-gen:rule:version:v1alpha2
// +cue-gen:rule:storageVersion
// +cue-gen:rule:annotations:helm.sh/resource-policy=keep
// +cue-gen:rule:labels:app=mixer,chart=istio,heritage=Tiller,istio=core,package=istio.io.mixer,release=istio
// +cue-gen:rule:subresource:status
// +cue-gen:rule:scope:Namespaced
// +cue-gen:rule:resource:categories=istio-io,policy-istio-io
// +cue-gen:rule:preserveUnknownFields:false
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Rule
// +kubetype-gen:Rule:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -584,9 +614,23 @@ func (m *Action) GetName() string {
// destination_ip: destination.ip
// ```
//
// <!-- crd generation tags
// +cue-gen:instance:schema:istio.policy.v1beta1.Instance
// +cue-gen:instance:groupName:config.istio.io
// +cue-gen:instance:version:v1alpha2
// +cue-gen:instance:storageVersion
// +cue-gen:instance:annotations:helm.sh/resource-policy=keep
// +cue-gen:instance:labels:app=mixer,chart=istio,heritage=Tiller,istio=mixer-instance,package=instance,release=istio
// +cue-gen:instance:subresource:status
// +cue-gen:instance:scope:Namespaced
// +cue-gen:instance:resource:categories=istio-io,policy-istio-io
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Instance
// +kubetype-gen:Instance:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -747,9 +791,23 @@ func (m *Instance) GetAttributeBindings() map[string]string {
// ---
// ```
//
// <!-- crd generation tags
// +cue-gen:handler:schema:istio.policy.v1beta1.Handler
// +cue-gen:handler:groupName:config.istio.io
// +cue-gen:handler:version:v1alpha2
// +cue-gen:handler:storageVersion
// +cue-gen:handler:annotations:helm.sh/resource-policy=keep
// +cue-gen:handler:labels:app=mixer,chart=istio,heritage=Tiller,istio=mixer-handler,package=handler,release=istio
// +cue-gen:handler:subresource:status
// +cue-gen:handler:scope:Namespaced
// +cue-gen:handler:resource:categories=istio-io,policy-istio-io
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Handler
// +kubetype-gen:Handler:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->

View File

@@ -27,9 +27,24 @@ option go_package="istio.io/api/policy/v1beta1";
// AttributeManifest describes a set of Attributes produced by some component
// of an Istio deployment.
//
// <!-- crd generation tags
// +cue-gen:attributemanifest:schema:istio.policy.v1beta1.AttributeManifest
// +cue-gen:attributemanifest:groupName:config.istio.io
// +cue-gen:attributemanifest:version:v1alpha2
// +cue-gen:attributemanifest:storageVersion
// +cue-gen:attributemanifest:annotations:helm.sh/resource-policy=keep
// +cue-gen:attributemanifest:labels:app=mixer,chart=istio,heritage=Tiller,istio=core,package=istio.io.mixer,release=istio
// +cue-gen:attributemanifest:subresource:status
// +cue-gen:attributemanifest:scope:Namespaced
// +cue-gen:attributemanifest:resource:categories=istio-io,policy-istio-io
// +cue-gen:attributemanifest:preserveUnknownFields:false
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=AttributeManifest
// +kubetype-gen:AttributeManifest:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -119,9 +134,24 @@ message AttributeManifest {
// - RequestCountByService
// ```
//
// <!-- crd generation tags
// +cue-gen:rule:schema:istio.policy.v1beta1.Rule
// +cue-gen:rule:groupName:config.istio.io
// +cue-gen:rule:version:v1alpha2
// +cue-gen:rule:storageVersion
// +cue-gen:rule:annotations:helm.sh/resource-policy=keep
// +cue-gen:rule:labels:app=mixer,chart=istio,heritage=Tiller,istio=core,package=istio.io.mixer,release=istio
// +cue-gen:rule:subresource:status
// +cue-gen:rule:scope:Namespaced
// +cue-gen:rule:resource:categories=istio-io,policy-istio-io
// +cue-gen:rule:preserveUnknownFields:false
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Rule
// +kubetype-gen:Rule:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -244,9 +274,23 @@ message Action {
// destination_ip: destination.ip
// ```
//
// <!-- crd generation tags
// +cue-gen:instance:schema:istio.policy.v1beta1.Instance
// +cue-gen:instance:groupName:config.istio.io
// +cue-gen:instance:version:v1alpha2
// +cue-gen:instance:storageVersion
// +cue-gen:instance:annotations:helm.sh/resource-policy=keep
// +cue-gen:instance:labels:app=mixer,chart=istio,heritage=Tiller,istio=mixer-instance,package=instance,release=istio
// +cue-gen:instance:subresource:status
// +cue-gen:instance:scope:Namespaced
// +cue-gen:instance:resource:categories=istio-io,policy-istio-io
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Instance
// +kubetype-gen:Instance:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->
@@ -344,9 +388,23 @@ message Instance {
// ---
// ```
//
// <!-- crd generation tags
// +cue-gen:handler:schema:istio.policy.v1beta1.Handler
// +cue-gen:handler:groupName:config.istio.io
// +cue-gen:handler:version:v1alpha2
// +cue-gen:handler:storageVersion
// +cue-gen:handler:annotations:helm.sh/resource-policy=keep
// +cue-gen:handler:labels:app=mixer,chart=istio,heritage=Tiller,istio=mixer-handler,package=handler,release=istio
// +cue-gen:handler:subresource:status
// +cue-gen:handler:scope:Namespaced
// +cue-gen:handler:resource:categories=istio-io,policy-istio-io
// -->
//
// <!-- go code generation tags
// +kubetype-gen
// +kubetype-gen:groupVersion=config.istio.io/v1alpha2
// +kubetype-gen:kubeType=Handler
// +kubetype-gen:Handler:tag=kubetype-gen:lowerCaseScheme
// +genclient
// +k8s:deepcopy-gen=true
// -->

View File

@@ -286,7 +286,9 @@ func init() {
proto.RegisterMapType((map[string]string)(nil), "istio.policy.v1beta1.DirectHttpResponse.HeadersEntry")
}
func init() { proto.RegisterFile("policy/v1beta1/http_response.proto", fileDescriptor_dffd274153c8a074) }
func init() {
proto.RegisterFile("policy/v1beta1/http_response.proto", fileDescriptor_dffd274153c8a074)
}
var fileDescriptor_dffd274153c8a074 = []byte{
// 1042 bytes of a gzipped FileDescriptorProto

View File

@@ -16,6 +16,252 @@
}
}
},
"istio.policy.v1beta1.Value": {
"description": "An instance field of type Value denotes that the expression for the field is of dynamic type and can evaluate to any [ValueType][istio.policy.v1beta1.ValueType] enum values. For example, when authoring an instance configuration for a template that has a field `data` of type `istio.policy.v1beta1.Value`, both of the following expressions are valid `data: source.ip | ip(\"0.0.0.0\")`, `data: request.id | \"\"`; the resulting type is either ValueType.IP_ADDRESS or ValueType.STRING for the two cases respectively.",
"type": "object",
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"stringValue"
],
"properties": {
"stringValue": {
"description": "Used for values of type STRING",
"type": "string",
"format": "string"
}
}
},
{
"required": [
"int64Value"
],
"properties": {
"int64Value": {
"description": "Used for values of type INT64",
"type": "integer",
"format": "int64"
}
}
},
{
"required": [
"doubleValue"
],
"properties": {
"doubleValue": {
"description": "Used for values of type DOUBLE",
"type": "number",
"format": "double"
}
}
},
{
"required": [
"boolValue"
],
"properties": {
"boolValue": {
"description": "Used for values of type BOOL",
"type": "boolean"
}
}
},
{
"required": [
"ipAddressValue"
],
"properties": {
"ipAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.IPAddress"
}
}
},
{
"required": [
"timestampValue"
],
"properties": {
"timestampValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.TimeStamp"
}
}
},
{
"required": [
"durationValue"
],
"properties": {
"durationValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Duration"
}
}
},
{
"required": [
"emailAddressValue"
],
"properties": {
"emailAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.EmailAddress"
}
}
},
{
"required": [
"dnsNameValue"
],
"properties": {
"dnsNameValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.DNSName"
}
}
},
{
"required": [
"uriValue"
],
"properties": {
"uriValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Uri"
}
}
},
{
"required": [
"stringMapValue"
],
"properties": {
"stringMapValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.StringMap"
}
}
}
]
}
},
{
"required": [
"stringValue"
],
"properties": {
"stringValue": {
"description": "Used for values of type STRING",
"type": "string",
"format": "string"
}
}
},
{
"required": [
"int64Value"
],
"properties": {
"int64Value": {
"description": "Used for values of type INT64",
"type": "integer",
"format": "int64"
}
}
},
{
"required": [
"doubleValue"
],
"properties": {
"doubleValue": {
"description": "Used for values of type DOUBLE",
"type": "number",
"format": "double"
}
}
},
{
"required": [
"boolValue"
],
"properties": {
"boolValue": {
"description": "Used for values of type BOOL",
"type": "boolean"
}
}
},
{
"required": [
"ipAddressValue"
],
"properties": {
"ipAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.IPAddress"
}
}
},
{
"required": [
"timestampValue"
],
"properties": {
"timestampValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.TimeStamp"
}
}
},
{
"required": [
"durationValue"
],
"properties": {
"durationValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Duration"
}
}
},
{
"required": [
"emailAddressValue"
],
"properties": {
"emailAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.EmailAddress"
}
}
},
{
"required": [
"dnsNameValue"
],
"properties": {
"dnsNameValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.DNSName"
}
}
},
{
"required": [
"uriValue"
],
"properties": {
"uriValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Uri"
}
}
},
{
"required": [
"stringMapValue"
],
"properties": {
"stringMapValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.StringMap"
}
}
}
]
},
"istio.policy.v1beta1.AttributeManifest": {
"description": "AttributeManifest describes a set of Attributes produced by some component of an Istio deployment.",
"type": "object",
@@ -256,6 +502,32 @@
"description": "Authentication allows the operator to specify the authentication of connections to out-of-process infrastructure backend.",
"type": "object",
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"tls"
],
"properties": {
"tls": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Tls"
}
}
},
{
"required": [
"mutual"
],
"properties": {
"mutual": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Mutual"
}
}
}
]
}
},
{
"required": [
"tls"
@@ -355,6 +627,34 @@
"allOf": [
{
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"tokenPath"
],
"properties": {
"tokenPath": {
"description": "The path to the file holding the auth token (password, jwt token, api key, etc).",
"type": "string",
"format": "string"
}
}
},
{
"required": [
"oauth"
],
"properties": {
"oauth": {
"$ref": "#/components/schemas/istio.policy.v1beta1.OAuth"
}
}
}
]
}
},
{
"required": [
"tokenPath"
@@ -381,6 +681,34 @@
},
{
"oneOf": [
{
"not": {
"anyOf": [
{
"required": [
"authHeader"
],
"properties": {
"authHeader": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Tls.AuthHeader"
}
}
},
{
"required": [
"customHeader"
],
"properties": {
"customHeader": {
"description": "Customized header key to hold access token, e.g. x-api-key. Token will be passed as what it is.",
"type": "string",
"format": "string"
}
}
}
]
}
},
{
"required": [
"authHeader"
@@ -563,129 +891,6 @@
"NetworkAuthenticationRequired"
]
},
"istio.policy.v1beta1.Value": {
"description": "An instance field of type Value denotes that the expression for the field is of dynamic type and can evaluate to any [ValueType][istio.policy.v1beta1.ValueType] enum values. For example, when authoring an instance configuration for a template that has a field `data` of type `istio.policy.v1beta1.Value`, both of the following expressions are valid `data: source.ip | ip(\"0.0.0.0\")`, `data: request.id | \"\"`; the resulting type is either ValueType.IP_ADDRESS or ValueType.STRING for the two cases respectively.",
"type": "object",
"oneOf": [
{
"required": [
"stringValue"
],
"properties": {
"stringValue": {
"description": "Used for values of type STRING",
"type": "string",
"format": "string"
}
}
},
{
"required": [
"int64Value"
],
"properties": {
"int64Value": {
"description": "Used for values of type INT64",
"type": "integer",
"format": "int64"
}
}
},
{
"required": [
"doubleValue"
],
"properties": {
"doubleValue": {
"description": "Used for values of type DOUBLE",
"type": "number",
"format": "double"
}
}
},
{
"required": [
"boolValue"
],
"properties": {
"boolValue": {
"description": "Used for values of type BOOL",
"type": "boolean"
}
}
},
{
"required": [
"ipAddressValue"
],
"properties": {
"ipAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.IPAddress"
}
}
},
{
"required": [
"timestampValue"
],
"properties": {
"timestampValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.TimeStamp"
}
}
},
{
"required": [
"durationValue"
],
"properties": {
"durationValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Duration"
}
}
},
{
"required": [
"emailAddressValue"
],
"properties": {
"emailAddressValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.EmailAddress"
}
}
},
{
"required": [
"dnsNameValue"
],
"properties": {
"dnsNameValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.DNSName"
}
}
},
{
"required": [
"uriValue"
],
"properties": {
"uriValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.Uri"
}
}
},
{
"required": [
"stringMapValue"
],
"properties": {
"stringMapValue": {
"$ref": "#/components/schemas/istio.policy.v1beta1.StringMap"
}
}
}
]
},
"istio.policy.v1beta1.IPAddress": {
"description": "An instance field of type IPAddress denotes that the expression for the field must evaluate to [ValueType.IP_ADDRESS][istio.policy.v1beta1.ValueType.IP_ADDRESS]",
"type": "object",

File diff suppressed because it is too large Load Diff

View File

@@ -14,6 +14,8 @@
syntax = "proto3";
// $schema: istio.policy.v1beta1.Rule
// $schema: istio.policy.v1beta1.AttributeManifest
// $title: Rules
// $description: Describes the rules used to configure Mixer's policy and telemetry features.
// $location: https://istio.io/docs/reference/config/policy-and-telemetry/istio.policy.v1beta1.html