diff --git a/go.mod b/go.mod
index 5a7132e856..3bf885b34a 100644
--- a/go.mod
+++ b/go.mod
@@ -14,7 +14,7 @@ require (
github.com/google/go-cmp v0.5.9
github.com/google/go-containerregistry v0.13.0
github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20221030203717-1711cefd7eec
- github.com/google/go-licenses v0.0.0-20210816172045-3099c18c36e1
+ github.com/google/go-licenses v1.6.0
github.com/grafeas/grafeas v0.2.2-0.20220620154915-0ec8596e37d3
github.com/hashicorp/errwrap v1.1.0
github.com/hashicorp/go-hclog v1.4.0
@@ -42,7 +42,7 @@ require (
github.com/sigstore/rekor v0.12.1-0.20220915152154-4bb6f441c1b2
github.com/sigstore/sigstore v1.5.1
github.com/spiffe/go-spiffe/v2 v2.1.2
- github.com/stretchr/testify v1.8.1
+ github.com/stretchr/testify v1.8.3
github.com/tektoncd/pipeline v0.44.0
github.com/tektoncd/plumbing v0.0.0-20221102182345-5dbcfda657d7
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
@@ -52,8 +52,8 @@ require (
gocloud.dev/docstore/mongodocstore v0.28.0
gocloud.dev/pubsub/kafkapubsub v0.28.0
golang.org/x/crypto v0.14.0
- google.golang.org/grpc v1.53.0
- google.golang.org/protobuf v1.28.1
+ google.golang.org/grpc v1.56.3
+ google.golang.org/protobuf v1.30.0
gopkg.in/square/go-jose.v2 v2.6.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.25.4
@@ -67,13 +67,12 @@ require (
require (
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
4d63.com/gochecknoglobals v0.2.1 // indirect
- bitbucket.org/creachadair/shell v0.0.7 // indirect
- cloud.google.com/go v0.107.0 // indirect
- cloud.google.com/go/compute v1.15.1 // indirect
+ cloud.google.com/go v0.110.0 // indirect
+ cloud.google.com/go/compute v1.19.1 // indirect
cloud.google.com/go/firestore v1.9.0 // indirect
- cloud.google.com/go/iam v0.8.0 // indirect
- cloud.google.com/go/kms v1.8.0 // indirect
- cloud.google.com/go/longrunning v0.3.0 // indirect
+ cloud.google.com/go/iam v0.13.0 // indirect
+ cloud.google.com/go/kms v1.10.1 // indirect
+ cloud.google.com/go/longrunning v0.4.1 // indirect
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect
contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect
github.com/Abirdcfly/dupword v0.0.9 // indirect
@@ -115,7 +114,7 @@ require (
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/ashanbrown/forbidigo v1.3.0 // indirect
github.com/ashanbrown/makezero v1.1.1 // indirect
- github.com/aws/aws-sdk-go v1.44.180 // indirect
+ github.com/aws/aws-sdk-go v1.44.217 // indirect
github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect
github.com/aws/aws-sdk-go-v2/config v1.18.8 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.8 // indirect
@@ -134,7 +133,6 @@ require (
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20221004211355-a250ad2ca1e3 // indirect
github.com/benbjohnson/clock v1.1.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
- github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/bkielbasa/cyclop v1.2.0 // indirect
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
@@ -146,7 +144,6 @@ require (
github.com/breml/errchkjson v0.3.0 // indirect
github.com/butuzov/ireturn v0.1.1 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
- github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/charithe/durationcheck v0.0.9 // indirect
@@ -154,14 +151,9 @@ require (
github.com/chrismellard/docker-credential-acr-env v0.0.0-20221002210726-e883f69e0206 // indirect
github.com/clbanning/mxj/v2 v2.5.6 // indirect
github.com/cloudevents/sdk-go/v2 v2.13.0 // indirect
- github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe // indirect
- github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b // indirect
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
github.com/containerd/stargz-snapshotter/estargz v0.12.1 // indirect
github.com/coreos/go-oidc/v3 v3.5.0 // indirect
- github.com/coreos/go-semver v0.3.0 // indirect
- github.com/coreos/go-systemd/v22 v22.5.0 // indirect
- github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
github.com/cyberphone/json-canonicalization v0.0.0-20210823021906-dc406ceaf94b // indirect
github.com/daixiang0/gci v0.9.0 // indirect
@@ -172,14 +164,11 @@ require (
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/docker v20.10.21+incompatible // indirect
github.com/docker/docker-credential-helpers v0.7.0 // indirect
- github.com/dustin/go-humanize v1.0.0 // indirect
github.com/eapache/go-resiliency v1.3.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
- github.com/envoyproxy/go-control-plane v0.10.3 // indirect
- github.com/envoyproxy/protoc-gen-validate v0.9.1 // indirect
github.com/esimonov/ifshort v1.0.4 // indirect
github.com/ettle/strcase v0.1.1 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
@@ -188,7 +177,6 @@ require (
github.com/fatih/structtag v1.2.0 // indirect
github.com/firefart/nonamedreturns v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
- github.com/fullstorydev/grpcurl v1.8.7 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
github.com/go-chi/chi v4.1.2+incompatible // indirect
github.com/go-critic/go-critic v0.6.5 // indirect
@@ -196,7 +184,6 @@ require (
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
- github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/errors v0.20.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
@@ -221,12 +208,9 @@ require (
github.com/gobwas/glob v0.2.3 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
- github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
- github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
- github.com/golang/glog v1.0.0 // indirect
+ github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
- github.com/golang/mock v1.6.0 // indirect
- github.com/golang/protobuf v1.5.2 // indirect
+ github.com/golang/protobuf v1.5.3 // indirect
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe // indirect
@@ -236,29 +220,25 @@ require (
github.com/golangci/misspell v0.4.0 // indirect
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect
- github.com/google/btree v1.1.2 // indirect
- github.com/google/certificate-transparency-go v1.1.3 // indirect
+ github.com/google/certificate-transparency-go v1.1.6 // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20221017135236-9b4fdd506cdd // indirect
github.com/google/go-github/v45 v45.2.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148 // indirect
- github.com/google/trillian v1.5.0 // indirect
+ github.com/google/s2a-go v0.1.3 // indirect
+ github.com/google/trillian v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/wire v0.5.0 // indirect
- github.com/googleapis/enterprise-certificate-proxy v0.2.1 // indirect
- github.com/googleapis/gax-go/v2 v2.7.0 // indirect
+ github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
+ github.com/googleapis/gax-go/v2 v2.8.0 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28 // indirect
- github.com/gorilla/websocket v1.5.0 // indirect
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
github.com/gostaticanalysis/comment v1.4.2 // indirect
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
- github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
- github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
@@ -267,7 +247,7 @@ require (
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/imdario/mergo v0.3.13 // indirect
- github.com/inconshreveable/mousetrap v1.0.1 // indirect
+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
@@ -277,11 +257,9 @@ require (
github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b // indirect
github.com/jellydator/ttlcache/v2 v2.11.1 // indirect
github.com/jgautheron/goconst v1.5.1 // indirect
- github.com/jhump/protoreflect v1.14.0 // indirect
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
- github.com/jonboulle/clockwork v0.3.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/julz/importas v0.1.0 // indirect
@@ -336,10 +314,10 @@ require (
github.com/pierrec/lz4/v4 v4.1.17 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/polyfloyd/go-errorlint v1.0.6 // indirect
- github.com/prometheus/client_golang v1.13.1 // indirect
- github.com/prometheus/client_model v0.3.0 // indirect
- github.com/prometheus/common v0.37.0 // indirect
- github.com/prometheus/procfs v0.8.0 // indirect
+ github.com/prometheus/client_golang v1.15.1 // indirect
+ github.com/prometheus/client_model v0.4.0 // indirect
+ github.com/prometheus/common v0.42.0 // indirect
+ github.com/prometheus/procfs v0.9.0 // indirect
github.com/prometheus/statsd_exporter v0.21.0 // indirect
github.com/quasilyte/go-ruleguard v0.3.18 // indirect
github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f // indirect
@@ -347,7 +325,6 @@ require (
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
- github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryancurrah/gomodguard v1.3.0 // indirect
github.com/ryanrolds/sqlclosecheck v0.4.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
@@ -357,7 +334,7 @@ require (
github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 // indirect
github.com/securego/gosec/v2 v2.14.0 // indirect
github.com/segmentio/ksuid v1.0.4 // indirect
- github.com/sergi/go-diff v1.2.0 // indirect
+ github.com/sergi/go-diff v1.3.1 // indirect
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
github.com/shibumi/go-pathspec v1.3.0 // indirect
github.com/sigstore/fulcio v0.6.0 // indirect
@@ -366,12 +343,11 @@ require (
github.com/sivchari/nosnakecase v1.7.0 // indirect
github.com/sivchari/tenv v1.7.1 // indirect
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
- github.com/soheilhy/cmux v0.1.5 // indirect
github.com/sonatard/noctx v0.0.1 // indirect
github.com/sourcegraph/go-diff v0.7.0 // indirect
github.com/spf13/afero v1.9.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
- github.com/spf13/cobra v1.6.1 // indirect
+ github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.13.0 // indirect
@@ -390,13 +366,11 @@ require (
github.com/timakin/bodyclose v0.0.0-20221125081123-e39cf3fc478e // indirect
github.com/timonwong/loggercheck v0.9.3 // indirect
github.com/tjfoc/gmsm v1.3.2 // indirect
- github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect
github.com/tomarrell/wrapcheck/v2 v2.8.0 // indirect
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
- github.com/transparency-dev/merkle v0.0.1 // indirect
+ github.com/transparency-dev/merkle v0.0.2 // indirect
github.com/ultraware/funlen v0.0.3 // indirect
github.com/ultraware/whitespace v0.0.5 // indirect
- github.com/urfave/cli v1.22.7 // indirect
github.com/uudashr/gocognit v1.0.6 // indirect
github.com/vbatts/tar-split v0.11.2 // indirect
github.com/xanzy/go-gitlab v0.73.1 // indirect
@@ -404,56 +378,34 @@ require (
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // indirect
- github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
github.com/yagipy/maintidx v1.0.0 // indirect
github.com/yeya24/promlinter v0.2.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
github.com/zeebo/errs v1.3.0 // indirect
gitlab.com/bosi/decorder v0.2.3 // indirect
- go.etcd.io/bbolt v1.3.6 // indirect
- go.etcd.io/etcd/api/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/client/pkg/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/client/v2 v2.306.0-alpha.0 // indirect
- go.etcd.io/etcd/client/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/etcdctl/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/etcdutl/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/pkg/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/raft/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/server/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/tests/v3 v3.6.0-alpha.0 // indirect
- go.etcd.io/etcd/v3 v3.6.0-alpha.0 // indirect
go.mongodb.org/mongo-driver v1.11.0 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0 // indirect
- go.opentelemetry.io/otel v1.11.1 // indirect
- go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.1 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.1 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.1 // indirect
- go.opentelemetry.io/otel/sdk v1.11.1 // indirect
- go.opentelemetry.io/otel/trace v1.11.1 // indirect
- go.opentelemetry.io/proto/otlp v0.19.0 // indirect
go.uber.org/automaxprocs v1.5.1 // indirect
+ go.uber.org/goleak v1.2.1 // indirect
go.uber.org/multierr v1.8.0 // indirect
- golang.org/x/exp v0.0.0-20221031165847-c99f073a8326 // indirect
+ golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a // indirect
- golang.org/x/mod v0.8.0 // indirect
+ golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.17.0 // indirect
- golang.org/x/oauth2 v0.4.0 // indirect
- golang.org/x/sync v0.1.0 // indirect
+ golang.org/x/oauth2 v0.7.0 // indirect
+ golang.org/x/sync v0.2.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
- golang.org/x/time v0.2.0 // indirect
- golang.org/x/tools v0.6.0 // indirect
+ golang.org/x/time v0.3.0 // indirect
+ golang.org/x/tools v0.8.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
- google.golang.org/api v0.107.0 // indirect
+ google.golang.org/api v0.121.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
- google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
- gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
+ google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
- gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
@@ -461,7 +413,7 @@ require (
honnef.co/go/tools v0.4.0 // indirect
k8s.io/apiextensions-apiserver v0.25.2 // indirect
k8s.io/gengo v0.0.0-20220613173612-397b4ae3bce7 // indirect
- k8s.io/klog/v2 v2.80.1 // indirect
+ k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85 // indirect
mvdan.cc/gofumpt v0.4.0 // indirect
diff --git a/go.sum b/go.sum
index 9b7cb436e0..b15b0cd712 100644
--- a/go.sum
+++ b/go.sum
@@ -3,15 +3,10 @@
4d63.com/gochecknoglobals v0.2.1 h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc=
4d63.com/gochecknoglobals v0.2.1/go.mod h1:KRE8wtJB3CXCsb1xy421JfTHIIbmT3U5ruxw2Qu8fSU=
bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8=
-bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8=
bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM=
-bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M=
-bitbucket.org/creachadair/shell v0.0.7 h1:Z96pB6DkSb7F3Y3BBnJeOZH2gazyMTWlvecSD4vDqfk=
-bitbucket.org/creachadair/shell v0.0.7/go.mod h1:oqtXSSvSYr4624lnnabXHaBsYW6RD80caLi2b3hJk0U=
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
-cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts=
cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
@@ -40,14 +35,14 @@ cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+Y
cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4=
cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc=
cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA=
-cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U=
cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A=
cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc=
cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU=
cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA=
cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM=
-cloud.google.com/go v0.107.0 h1:qkj22L7bgkl6vIeZDlOY2po43Mx/TIa2Wsa7VR+PEww=
cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I=
+cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys=
+cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY=
cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4=
cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw=
cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o=
@@ -94,7 +89,6 @@ cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvf
cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
-cloud.google.com/go/bigquery v1.17.0/go.mod h1:pUlbH9kNOnp6ayShsqKLB6w49z14ILAaq0hrjh93Ajw=
cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA=
cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw=
cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY=
@@ -127,8 +121,8 @@ cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOt
cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE=
-cloud.google.com/go/compute v1.15.1 h1:7UGq3QknM33pw5xATlpzeoomNxsacIVvTqTTvbfajmE=
-cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA=
+cloud.google.com/go/compute v1.19.1 h1:am86mquDUgjGNWxiGn+5PGLbmgiWXlE/yNWpIpNvuXY=
+cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE=
cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=
cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=
cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=
@@ -163,7 +157,6 @@ cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4c
cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA=
cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
-cloud.google.com/go/datastore v1.5.0/go.mod h1:RGUNM0FFAVkYA94BLTxoXBgfIyY1Riq67TwaBXH0lwc=
cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo=
cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ=
cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g=
@@ -213,13 +206,13 @@ cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZ
cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc=
cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM=
cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o=
-cloud.google.com/go/iam v0.1.1/go.mod h1:CKqrcnI/suGpybEHxZ7BMehL0oA4LpdyJdUlTl9jVMw=
cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY=
+cloud.google.com/go/iam v0.4.0/go.mod h1:cbaZxyScUhxl7ZAkNWiALgihfP75wS/fUsVNaa1r3vA=
cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc=
cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc=
cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg=
-cloud.google.com/go/iam v0.8.0 h1:E2osAkZzxI/+8pZcxVLcDtAQx/u+hZXVryUaYQ5O0Kk=
-cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE=
+cloud.google.com/go/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k=
+cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0=
cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc=
cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A=
cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM=
@@ -229,8 +222,8 @@ cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0
cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg=
cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0=
cloud.google.com/go/kms v1.7.0/go.mod h1:k2UdVoNIHLJi/Rnng6dN0vlq7lS3jHSDiZasft+gmYE=
-cloud.google.com/go/kms v1.8.0 h1:VrJLOsMRzW7IqTTYn+OYupqF3iKSE060Nrn+PECrYjg=
-cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg=
+cloud.google.com/go/kms v1.10.1 h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g=
+cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI=
cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic=
cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI=
cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE=
@@ -238,8 +231,9 @@ cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEy
cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8=
cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08=
cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE=
-cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs=
cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc=
+cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM=
+cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo=
cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE=
cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM=
cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4=
@@ -292,9 +286,8 @@ cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2k
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
-cloud.google.com/go/pubsub v1.11.0-beta.schemas/go.mod h1:llNLsvx+RnsZJoY481TzC1XcdB2hWdR6gSWM5O4vgfs=
cloud.google.com/go/pubsub v1.27.0/go.mod h1:BgkDyjrFNV8c7txDxPrlQkM/XtbJQVEeAWmt56lVVf8=
-cloud.google.com/go/pubsub v1.27.1 h1:q+J/Nfr6Qx4RQeu3rJcnN48SNC0qzlYzSeqkPq93VHs=
+cloud.google.com/go/pubsub v1.30.0 h1:vCge8m7aUKBJYOgrZp7EsNDf6QMd2CAlXZqWTn3yq6s=
cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4=
cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o=
cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk=
@@ -349,9 +342,6 @@ cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5
cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU=
cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4=
cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw=
-cloud.google.com/go/spanner v1.17.0/go.mod h1:+17t2ixFwRG4lWRwE+5kipDR9Ef07Jkmc8z0IbMDKUs=
-cloud.google.com/go/spanner v1.18.0/go.mod h1:LvAjUXPeJRGNuGpikMULjhLj/t9cRvdc+fxRoLiugXA=
-cloud.google.com/go/spanner v1.31.0/go.mod h1:ztDJVUZgEA2xc7HjSNQG+d+2L0bOSsw876/5Hnr78U8=
cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM=
cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ=
cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0=
@@ -362,7 +352,6 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
-cloud.google.com/go/storage v1.15.0/go.mod h1:mjjQMoxxyGH7Jr8K5qrx6N2O0AHsczI61sMNn03GIZI=
cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y=
cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc=
cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s=
@@ -410,22 +399,14 @@ cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoIS
cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M=
cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8=
-code.gitea.io/sdk/gitea v0.11.3/go.mod h1:z3uwDV/b9Ls47NGukYM9XhnHtqPh/J+t40lsUrR6JDY=
code.gitea.io/sdk/gitea v0.15.1 h1:WJreC7YYuxbn0UDaPuWIe/mtiNKTvLN8MLkaw71yx/M=
-contrib.go.opencensus.io/exporter/aws v0.0.0-20181029163544-2befc13012d0/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA=
contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA=
-contrib.go.opencensus.io/exporter/ocagent v0.5.0/go.mod h1:ImxhfLRpxoYiSq891pBrLVhN+qmP8BTVvdH2YLs7Gl0=
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI=
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY=
contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs=
contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0=
-contrib.go.opencensus.io/exporter/stackdriver v0.12.1/go.mod h1:iwB6wGarfphGGe/e5CWqyUk/cLzKnWsOKPVW3no6OTw=
-contrib.go.opencensus.io/exporter/stackdriver v0.13.5/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc=
-contrib.go.opencensus.io/exporter/stackdriver v0.13.12/go.mod h1:mmxnWlrvrFdpiOHOhxBaVi1rkc0WOqhgfknj4Yg0SeQ=
contrib.go.opencensus.io/exporter/stackdriver v0.13.14/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc=
-contrib.go.opencensus.io/integrations/ocsql v0.1.4/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE=
contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE=
-contrib.go.opencensus.io/resource v0.1.1/go.mod h1:F361eGI91LCmW1I/Saf+rX0+OFcigGlFvXwEGEnkRLA=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/Abirdcfly/dupword v0.0.9 h1:MxprGjKq3yDBICXDgEEsyGirIXfMYXkLNT/agPsE1tk=
github.com/Abirdcfly/dupword v0.0.9/go.mod h1:PzmHVLLZ27MvHSzV7eFmMXSFArWXZPZmfuuziuUrf2g=
@@ -436,12 +417,8 @@ github.com/Antonboom/errname v0.1.7 h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwka
github.com/Antonboom/errname v0.1.7/go.mod h1:g0ONh16msHIPgJSGsecu1G/dcF2hlYR/0SddnIAGavU=
github.com/Antonboom/nilnil v0.1.1 h1:PHhrh5ANKFWRBh7TdYmyyq2gyT2lotnvFvvFbylF81Q=
github.com/Antonboom/nilnil v0.1.1/go.mod h1:L1jBqoWM7AOeTD+tSquifKSesRHs4ZdaxvZR+xdJEaI=
-github.com/Azure/azure-amqp-common-go/v2 v2.1.0/go.mod h1:R8rea+gJRuJR6QxTir/XuEd+YuKoUiazDC/N96FiDEU=
github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas=
-github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4=
github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v29.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v30.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
@@ -462,15 +439,12 @@ github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.0/go.mod h1:9V2j0jn
github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1/go.mod h1:9V2j0jn9jDEkCkv8w/bKTNppX/d0FVA1ud77xCIP4KA=
github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.1.3/go.mod h1:Eo6WMP/iw9sp06+v8y030eReUwX6sULn5i3fxCDWPag=
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1/go.mod h1:c6WvOhtmjNUWbLfOG1qxM/q0SPvQNSVJvolm+C52dIU=
-github.com/Azure/azure-service-bus-go v0.9.1/go.mod h1:yzBx6/BUGfjfeqbRZny9AQIbIe3AcV9WZbAdpkoXOa0=
-github.com/Azure/azure-storage-blob-go v0.8.0/go.mod h1:lPI3aLPpuLTeUwh1sViKXFxwl2B6teiRqI0deQUvsw0=
github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg=
github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest v12.0.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs=
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw=
@@ -520,18 +494,11 @@ github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rW
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts=
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0=
-github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20191009163259-e802c2cb94ae/go.mod h1:mjwGPas4yKduTyubHvD1Atl9r1rUq8DfVy+gkVvZ+oo=
github.com/GoogleCloudPlatform/cloudsql-proxy v1.33.1/go.mod h1:n3KDPrdaY2p9Nr0B1allAdjYArwIpXQcitNbsS/Qiok=
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
-github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
-github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
-github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
-github.com/Masterminds/semver/v3 v3.1.0/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
-github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
-github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
@@ -585,7 +552,6 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs=
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs=
-github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -639,15 +605,8 @@ github.com/aliyun/credentials-go v1.2.3/go.mod h1:/KowD1cfGSLrLsH28Jr8W+xwoId0yw
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
-github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ=
-github.com/apache/beam v2.28.0+incompatible/go.mod h1:/8NX3Qi8vGstDLLaeaU7+lzVEu/ACaQhYjeefzQ0y1o=
-github.com/apache/beam/sdks/v2 v2.0.0-20211012030016-ef4364519c94/go.mod h1:/kOom7hCyHVzAC/Z7HbZywkZZv6ywF+wb4CvgDVdcB8=
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
-github.com/apex/log v1.1.4/go.mod h1:AlpoD9aScyQfJDVHmLMEcx4oU6LqzkWp4Mg9GdAcEvQ=
-github.com/apex/logs v0.0.4/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo=
-github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy8kCu4PNA+aP7WUV72eXWJeP9/r3/K9aLE=
-github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
@@ -672,20 +631,14 @@ github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvx
github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
-github.com/aws/aws-sdk-go v1.19.18/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.19.45/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.25.11/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.128/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.151/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
-github.com/aws/aws-sdk-go v1.44.180 h1:VLZuAHI9fa/3WME5JjpVjcPCNfpGHVMiHx8sLHWhMgI=
-github.com/aws/aws-sdk-go v1.44.180/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
+github.com/aws/aws-sdk-go v1.44.217 h1:FcWC56MRl+k756aH3qeMQTylSdeJ58WN0iFz3fkyRz0=
+github.com/aws/aws-sdk-go v1.44.217/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/aws/aws-sdk-go-v2 v1.16.16/go.mod h1:SwiyXi/1zTUZ6KIAmLK5V5ll8SiURNUYOqTerZPaF9k=
github.com/aws/aws-sdk-go-v2 v1.17.1/go.mod h1:JLnGeGONAyi2lWXI1p0PCIOIy333JMVK1U7Hf0aRFLw=
@@ -755,7 +708,6 @@ github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8=
github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20221004211355-a250ad2ca1e3 h1:Ted/bR1N6ltMrASdwRhX1BrGYSFg3aeGMlK8GlgkGh4=
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20221004211355-a250ad2ca1e3/go.mod h1:m06KtrZgOloUaePAQMv+Ha8kRmTnKdozTHZrweepIrw=
-github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I=
github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A=
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
@@ -765,7 +717,6 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
-github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA=
github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
@@ -773,7 +724,6 @@ github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJm
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
github.com/bkielbasa/cyclop v1.2.0 h1:7Jmnh0yL2DjKfw28p86YTd/B4lRGcNuu12sKE35sM7A=
github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI=
-github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb/go.mod h1:PkYb9DJNAwrSvRx5DYA+gUcOIgTGVMNkfSCbZM8cWpI=
github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
@@ -802,24 +752,18 @@ github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0Bsq
github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE=
github.com/butuzov/ireturn v0.1.1 h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY=
github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc=
-github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGrrHhcQw=
-github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e/go.mod h1:9IOqJGCPMSc6E5ydlp5NIonxObaeu/Iub/X03EKPVYo=
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
-github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A=
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M=
github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs=
github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
-github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4=
github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
-github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.4.1 h1:iKLQ0xPNFxR/2hzXZMrBo8f1j86j5WHzznCCQxV/b8g=
github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
-github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054 h1:uH66TXeswKn5PW5zdZ39xEwfS9an067BirqA+P4QaLI=
github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
@@ -860,23 +804,16 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
-github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe h1:QQ3GSy+MqSHxm/d8nCtnAiZdYFd45cYZPs8vOOIYKfk=
-github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b h1:ACGZRIr7HsgBKHsueQ1yM4WaVaXh21ynwqsF8M8tXhA=
-github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
-github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5 h1:xD/lrqdvwsc+O2bjSSi3YqY73Ke3LAiSCx49aCesA0E=
github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo=
-github.com/cockroachdb/errors v1.2.4 h1:Lap807SXTH5tri2TivECb/4abUkMZC9zRoLarvcKDqs=
github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA=
-github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f h1:o/kfcElHqOiXqcou5a3rIlMc7oJbMQkeLk0VQJ7zgqY=
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI=
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
github.com/codahale/rfc6979 v0.0.0-20141003034818-6a90f24967eb h1:EDmT6Q9Zs+SbUoc7Ik9EfrFqcylYqgPZ9ANSbTAntnE=
@@ -994,7 +931,6 @@ github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHo
github.com/coreos/go-oidc/v3 v3.5.0 h1:VxKtbccHZxs8juq7RdJntSqtXFtde9YpNpGn0yqgEHw=
github.com/coreos/go-oidc/v3 v3.5.0/go.mod h1:ecXRtV4romGPeO6ieExAsUK9cb/3fp9hXNz1tlv8PIM=
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
-github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=
github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
@@ -1005,15 +941,12 @@ github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/go-systemd/v22 v22.4.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
-github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
-github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
-github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -1033,7 +966,6 @@ github.com/daixiang0/gci v0.9.0 h1:t8XZ0vK6l0pwPoOmoGyqW2NwQlvbpAQNVvu/GRBgykM=
github.com/daixiang0/gci v0.9.0/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c=
github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U=
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
-github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -1049,7 +981,6 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8
github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs=
github.com/digitalocean/godo v1.88.0/go.mod h1:NRpFznZFvhHjBoqZAaOD3khVzsJ3EibzKqFL4R60dmA=
-github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8=
github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U=
github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E=
@@ -1083,7 +1014,6 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNE
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM=
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
-github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs=
github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs=
@@ -1115,17 +1045,12 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.m
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ=
github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE=
-github.com/envoyproxy/go-control-plane v0.10.3 h1:xdCVXxEe0Y3FQith+0cj2irwZudqGYvecuLB1HtdexY=
github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
-github.com/envoyproxy/protoc-gen-validate v0.3.0-java/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo=
github.com/envoyproxy/protoc-gen-validate v0.6.13/go.mod h1:qEySVqXrEugbHKvmhI8ZqtQi75/RHSSRNpffvB4I6Bw=
-github.com/envoyproxy/protoc-gen-validate v0.9.1 h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY=
-github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w=
github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA=
github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0=
-github.com/etcd-io/gofail v0.0.0-20190801230047-ad7f989257ca/go.mod h1:49H/RkXP8pKaZy4h0d+NW16rSLhyVBt4o6VLJbmOqDE=
github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw=
github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY=
github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ=
@@ -1156,8 +1081,6 @@ github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
-github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
-github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
@@ -1171,16 +1094,10 @@ github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmV
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
-github.com/fullstorydev/grpcurl v1.8.0/go.mod h1:Mn2jWbdMrQGJQ8UD62uNyMumT2acsZUCkZIqFxsQf1o=
-github.com/fullstorydev/grpcurl v1.8.1/go.mod h1:3BWhvHZwNO7iLXaQlojdg5NA6SxUDePli4ecpK1N7gw=
-github.com/fullstorydev/grpcurl v1.8.6/go.mod h1:WhP7fRQdhxz2TkL97u+TCb505sxfH78W1usyoB3tepw=
-github.com/fullstorydev/grpcurl v1.8.7 h1:xJWosq3BQovQ4QrdPO72OrPiWuGgEsxY8ldYsJbPrqI=
-github.com/fullstorydev/grpcurl v1.8.7/go.mod h1:pVtM4qe3CMoLaIzYS8uvTuDj2jVYmXqMUkZeijnXp/E=
github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY=
github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg=
-github.com/getsentry/raven-go v0.2.0 h1:no+xWJRb5ZI7eE8TWgIq1jLulQiIoLG0IfYxv5JYMGs=
github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
@@ -1286,13 +1203,10 @@ github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GO
github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
github.com/go-playground/validator/v10 v10.11.0 h1:0W+xRM511GY47Yy3bZUbJVitCNg2BOGlCyvTqsp/xIw=
github.com/go-playground/validator/v10 v10.11.0/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU=
-github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8=
github.com/go-rod/rod v0.112.3 h1:xbSaA9trZ8v/+eJRGOM6exK1RCsLPwwnzA78vpES0gk=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
-github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
-github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
@@ -1375,13 +1289,13 @@ github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
-github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
-github.com/golang-jwt/jwt/v4 v4.4.3 h1:Hxl6lhQFj4AnOX6MLrsCb/+7tCj7DxP7VA+2rDIq5AU=
github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
+github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg=
+github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0=
github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI=
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
@@ -1399,7 +1313,6 @@ github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
-github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -1417,8 +1330,9 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
-github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
+github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.2/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
@@ -1450,13 +1364,8 @@ github.com/google/addlicense v1.1.1/go.mod h1:Sm/DHu7Jk+T5miFHHehdIjbi4M5+dJDRS3
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA=
-github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU=
-github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
-github.com/google/certificate-transparency-go v1.0.21/go.mod h1:QeJfpSbVSfYc7RgB3gJFj9cbuQMMchQxrWXz8Ruopmg=
-github.com/google/certificate-transparency-go v1.1.2-0.20210422104406-9f33727a7a18/go.mod h1:6CKh9dscIRoqc2kC6YUFICHZMT9NrClyPrRVFrdw1QQ=
-github.com/google/certificate-transparency-go v1.1.2-0.20210512142713-bed466244fa6/go.mod h1:aF2dp7Dh81mY8Y/zpzyXps4fQW5zQbDu2CxfpJB6NkI=
-github.com/google/certificate-transparency-go v1.1.3 h1:WEb38wcTe0EuAvg7USzgklnOjjnlMaahYO3faaqnCn8=
-github.com/google/certificate-transparency-go v1.1.3/go.mod h1:S9FT/VzOUzhOGG0iLrzDs+f5Ml/zm7IYY/w+IlHz01M=
+github.com/google/certificate-transparency-go v1.1.6 h1:SW5K3sr7ptST/pIvNkSVWMiJqemRmkjJPPT0jzXdOOY=
+github.com/google/certificate-transparency-go v1.1.6/go.mod h1:0OJjOsOk+wj6aYQgP7FU0ioQ0AJUmnWPFMqTjQeazPQ=
github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ=
github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0=
github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E=
@@ -1484,20 +1393,16 @@ github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20221030203717-
github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20221030203717-1711cefd7eec/go.mod h1:7QLaBZxN+nMCx82XO5R7qPHq0m61liEg8yca68zymHo=
github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20221017135236-9b4fdd506cdd h1:+nq85YWt99EkBpsKV+ABoAzxM7My/uOKHModpV/mwgs=
github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20221017135236-9b4fdd506cdd/go.mod h1:k/wl/uGzWEl8kLqUOWSnKe9QL/10YKnuwHMNZHnXhfY=
-github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
github.com/google/go-github/v45 v45.2.0 h1:5oRLszbrkvxDDqBCNj2hjDZMKmvexaZ1xw/FCD+K3FI=
github.com/google/go-github/v45 v45.2.0/go.mod h1:FObaZJEDSTa/WGCzZ2Z3eoCDXWJKMenWWTrd8jrta28=
github.com/google/go-licenses v0.0.0-20200602185517-f29a4c695c3d/go.mod h1:g1VOUGKZYIqe8lDq2mL7plhAWXqrEaGUs7eIjthN1sk=
-github.com/google/go-licenses v0.0.0-20210329231322-ce1d9163b77d/go.mod h1:+TYOmkVoJOpwnS0wfdsJCV9CoD5nJYsHoFk/0CrTK4M=
-github.com/google/go-licenses v0.0.0-20210816172045-3099c18c36e1 h1:ZK63Yns/0Y8hE5y50WuSsfFWNPmpYDQ9tzh/J2vWV8c=
-github.com/google/go-licenses v0.0.0-20210816172045-3099c18c36e1/go.mod h1:WkPB6PtjnM1pF4qeK8RcFmk7z+TIsrPYOng7OPlFDiw=
+github.com/google/go-licenses v1.6.0 h1:MM+VCXf0slYkpWO0mECvdYDVCxZXIQNal5wqUIXEZ/A=
+github.com/google/go-licenses v1.6.0/go.mod h1:Z8jgz2isEhdenOqd/00pq7I4y4k1xVVQJv415otjclo=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
-github.com/google/go-replayers/grpcreplay v0.1.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE=
github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE=
github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk=
-github.com/google/go-replayers/httpreplay v0.1.0/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no=
github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY=
github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -1505,7 +1410,6 @@ github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702/go.mod h1:qsqn2hxC+vURpyBRygGUuinTO42MFRLcsmQ/P8v94+M=
-github.com/google/licenseclassifier v0.0.0-20210325184830-bb04aff29e72/go.mod h1:qsqn2hxC+vURpyBRygGUuinTO42MFRLcsmQ/P8v94+M=
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148 h1:TJsAqW6zLRMDTyGmc9TPosfn9OyVlHs8Hrn3pY6ONSY=
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148/go.mod h1:rq9F0RSpNKlrefnf6ZYMHKUnEJBCNzf6AcCXMYBeYvE=
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
@@ -1536,29 +1440,24 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg=
github.com/google/pprof v0.0.0-20221102093814-76f304f74e5e/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
-github.com/google/rpmpack v0.0.0-20191226140753-aa36bfddb3a0/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg=
+github.com/google/s2a-go v0.1.3 h1:FAgZmpLl/SXurPEZyCMPBIiiYeTbqfjlbdnCNTAkbGE=
+github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A=
github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
-github.com/google/trillian v1.3.14-0.20210409160123-c5ea3abd4a41/go.mod h1:1dPv0CUjNQVFEDuAUFhZql16pw/VlPgaX8qj+g5pVzQ=
-github.com/google/trillian v1.3.14-0.20210511103300-67b5f349eefa/go.mod h1:s4jO3Ai4NSvxucdvqUHON0bCqJyoya32eNw6XJwsmNc=
-github.com/google/trillian v1.4.1/go.mod h1:43IVCsGXxP5mZK9yFkTQdQrMQm/wryNBV2GNEdqzVz8=
-github.com/google/trillian v1.5.0 h1:I5pIN18bKlXtlj1Tk919rQ3mWBU2BzNNR6JhLISGMB4=
-github.com/google/trillian v1.5.0/go.mod h1:2/gAIc+G1MUcErOPc+cSwHAQHZlGy+RYHjVGnhUQ3e8=
-github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/trillian v1.5.2 h1:roGP6G8aaAch7vP08+oitPkvmZzxjTfIkguozqJ04Ok=
+github.com/google/trillian v1.5.2/go.mod h1:H8vOoa2dxd3xCdMzOOwt9kIz/3MSoJhcqLJGG8iRwbg=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/wire v0.3.0/go.mod h1:i1DMg/Lu8Sz5yYl25iOdmc5CT5qusaa+zmRWs16741s=
github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8=
github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU=
github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg=
-github.com/googleapis/enterprise-certificate-proxy v0.2.1 h1:RY7tHKZcRlk788d5WSo/e83gOyyy742E8GSs771ySpg=
-github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k=
-github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY=
+github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k=
+github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
@@ -1568,8 +1467,9 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99
github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c=
github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo=
github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY=
-github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ=
github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8=
+github.com/googleapis/gax-go/v2 v2.8.0 h1:UBtEZqx1bjXtOQ5BVTkuYghXrr3N4V123VKJK67vJZc=
+github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU=
github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA=
@@ -1579,11 +1479,8 @@ github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41
github.com/gophercloud/gophercloud v1.0.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
-github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU=
github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28 h1:9alfqbrhuD+9fLZ4iaAVwhlp5PEhmnBt7yvK2Oy5C1U=
github.com/gordonklaus/ineffassign v0.0.0-20230107090616-13ace0543b28/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0=
-github.com/goreleaser/goreleaser v0.134.0/go.mod h1:ZT6Y2rSYa6NxQzIsdfWWNWAlYGXGbreo66NmE+3X3WQ=
-github.com/goreleaser/nfpm v1.2.1/go.mod h1:TtWrABZozuLOttX2uDlYyECfQX7x5XYkVxhjYcR6G9w=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ=
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
@@ -1596,7 +1493,6 @@ github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
-github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE=
github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw=
@@ -1619,22 +1515,17 @@ github.com/grafeas/grafeas v0.2.2-0.20220620154915-0ec8596e37d3/go.mod h1:OnUgIw
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
-github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI=
-github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw=
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y=
-github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
-github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
-github.com/grpc-ecosystem/grpc-gateway v1.9.2/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw=
-github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.1/go.mod h1:G+WkljZi4mflcqVxYSgvt8MNctRQHjEH8ubKtt1Ka3w=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2 h1:gDLXvp5S9izjldquuoAhDzccbskOL6tDC5jMSyx3zxE=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2/go.mod h1:7pdNwVWBBHGiCxa9lAszqCJMbfTISJ7oMftp8+UGV08=
github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok=
github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc=
github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
@@ -1675,7 +1566,6 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9
github.com/hashicorp/go-plugin v1.4.8 h1:CHGwpxYDOttQOY7HOWgETU9dyVjOXzniXDqJcYJE1zM=
github.com/hashicorp/go-plugin v1.4.8/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
-github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ=
github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
@@ -1732,19 +1622,15 @@ github.com/honeycombio/beeline-go v1.10.0 h1:cUDe555oqvw8oD76BQJ8alk7FP0JZ/M/zXp
github.com/honeycombio/libhoney-go v1.16.0 h1:kPpqoz6vbOzgp7jC6SR7SkNj7rua7rgxvznI6M3KdHc=
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c/go.mod h1:lADxMC39cJJqL93Duh1xhAs4I2Zs8mKS89XWXFGp9cs=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
-github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo=
-github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4=
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w=
github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w=
-github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
-github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
@@ -1753,8 +1639,9 @@ github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK
github.com/in-toto/in-toto-golang v0.3.4-0.20220709202702-fa494aaa0add h1:DAh7mHiRT7wc6kKepYdCpH16ElPciMPQWJaJ7H3l/ng=
github.com/in-toto/in-toto-golang v0.3.4-0.20220709202702-fa494aaa0add/go.mod h1:DQI8vlV6h6qSY/tCOoYKtxjWrkyiNpJ3WTV/WoBllmQ=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
-github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
+github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
+github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
github.com/ionos-cloud/sdk-go/v6 v6.1.3/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME=
@@ -1798,7 +1685,6 @@ github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0f
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
-github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=
@@ -1826,16 +1712,7 @@ github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJS
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM=
github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4=
-github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
-github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
-github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ=
-github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4=
-github.com/jhump/protoreflect v1.8.2/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg=
-github.com/jhump/protoreflect v1.10.3/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg=
-github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E=
-github.com/jhump/protoreflect v1.12.0/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI=
github.com/jhump/protoreflect v1.14.0 h1:MBbQK392K3u8NTLbKOCIi3XdI+y+c6yt5oMq0X3xviw=
-github.com/jhump/protoreflect v1.14.0/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI=
github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs=
github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c=
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=
@@ -1852,11 +1729,8 @@ github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52Cu
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
-github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
-github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
-github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
@@ -1869,7 +1743,6 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
-github.com/juju/ratelimit v1.0.1/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSgWNm/qk=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY=
@@ -1940,17 +1813,14 @@ github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt
github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf h1:ndns1qx/5dL43g16EQkPV/i8+b3l5bYQwLeoSBe7tS8=
github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf/go.mod h1:aGkAgvWY/IUcVFfuly53REpfv5edu25oij+qHRFaraA=
-github.com/letsencrypt/pkcs11key/v4 v4.0.0/go.mod h1:EFUvBDay26dErnNb70Nd0/VW3tJiIbETBPTl9ATXQag=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
-github.com/linkedin/goavro v2.1.0+incompatible/go.mod h1:bBCwI2eGYpUI/4820s67MElg9tdeLbINjLjiM2xZFYM=
github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8=
github.com/linode/linodego v1.9.3/go.mod h1:h6AuFR/JpqwwM/vkj7s8KV3iGN8/jxn+zc437F8SZ8w=
github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo=
@@ -1984,7 +1854,6 @@ github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
-github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
@@ -1992,7 +1861,6 @@ github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
-github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
@@ -2006,16 +1874,12 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
-github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o=
github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o=
-github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
-github.com/mattn/go-sqlite3 v1.14.10/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
-github.com/mattn/go-zglob v0.0.1/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
@@ -2025,7 +1889,6 @@ github.com/mbilski/exhaustivestruct v1.2.0 h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwg
github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc=
github.com/mgechev/revive v1.2.5 h1:UF9AR8pOAuwNmhXj2odp4mxv9Nx2qUIwVz8ZsU+Mbec=
github.com/mgechev/revive v1.2.5/go.mod h1:nFOXent79jMTISAfOAasKfy0Z2Ejq0WX7Qn/KAdYopI=
-github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U=
github.com/microsoft/go-mssqldb v0.17.0/go.mod h1:OkoNGhGEs8EZqchVTtochlXruEhEOaO4S0d2sB5aeGQ=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
@@ -2033,7 +1896,6 @@ github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKju
github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME=
github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME=
-github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/miekg/pkcs11 v1.0.3-0.20190429190417-a667d056470f/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU=
@@ -2041,7 +1903,6 @@ github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WT
github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
-github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw=
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
@@ -2061,8 +1922,6 @@ github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A=
-github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
-github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
@@ -2085,7 +1944,6 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
-github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
github.com/montanaflynn/stats v0.6.6 h1:Duep6KMIDpY4Yo11iFsvyqJDyfzLF9+sndUKT+v64GQ=
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
@@ -2100,8 +1958,6 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
-github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo=
-github.com/mwitkow/go-proto-validators v0.2.0/go.mod h1:ZfA1hW+UH/2ZHOWvQ3HnQaU0DtnpXu850MZiy+YUgcc=
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=
github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE=
@@ -2116,10 +1972,8 @@ github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 h1:4kuARK6Y6Fx
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8=
github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
-github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI=
github.com/nishanths/exhaustive v0.9.5 h1:TzssWan6orBiLYVqewCG8faud9qlFntJE30ACpzmGME=
github.com/nishanths/exhaustive v0.9.5/go.mod h1:IbwrGdVMizvDcIxPYGVdQn5BqWJaOwpCvg4RGb8r/TA=
-github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3/go.mod h1:nt3d53pc1VYcphSCIaYAJtnPYnr3Zyn8fMq2wvPGPso=
github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk=
github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c=
github.com/nunnatsa/ginkgolinter v0.8.1 h1:/y4o/0hV+ruUHj4xXh89xlFjoaitnI4LnkpuYs02q1c=
@@ -2134,7 +1988,6 @@ github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DV
github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
-github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
@@ -2257,7 +2110,6 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA=
github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg=
-github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/polyfloyd/go-errorlint v1.0.6 h1:ZevdyEGxDoHAMQUVvdTT06hnYuKULe8TQkOmIYx6s1c=
@@ -2276,15 +2128,13 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og=
github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
-github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
-github.com/prometheus/client_golang v1.10.0/go.mod h1:WJM3cc3yu7XKBKa/I8WeZm+V3eltZnBwfENSU7mdogU=
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
-github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
-github.com/prometheus/client_golang v1.13.1 h1:3gMjIY2+/hzmqhtUC/aQNYldJA6DtH3CgQvwS+02K1c=
github.com/prometheus/client_golang v1.13.1/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
+github.com/prometheus/client_golang v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI=
+github.com/prometheus/client_golang v1.15.1/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk=
github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
@@ -2292,8 +2142,9 @@ github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4=
github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w=
+github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY=
+github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU=
github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
@@ -2303,15 +2154,15 @@ github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+
github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA=
github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4=
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
-github.com/prometheus/common v0.18.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE=
-github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE=
github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA=
+github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM=
+github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc=
github.com/prometheus/common/assets v0.1.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI=
github.com/prometheus/common/assets v0.2.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
@@ -2330,17 +2181,14 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O
github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo=
github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4=
+github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI=
+github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY=
github.com/prometheus/prometheus v0.40.5/go.mod h1:bxgdmtoSNLmmIVPGmeTJ3OiP67VmuY4yalE4ZP6L/j8=
-github.com/prometheus/prometheus v2.5.0+incompatible/go.mod h1:oAIUtOny2rjMX0OWN5vPR5/q/twIROJvdqnQKDdil/s=
github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8=
github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ=
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
-github.com/pseudomuto/protoc-gen-doc v1.4.1/go.mod h1:exDTOVwqpp30eV/EDPFLZy3Pwr2sn6hBC1WIYH/UbIg=
-github.com/pseudomuto/protoc-gen-doc v1.5.1/go.mod h1:XpMKYg6zkcpgfpCfQ8GcWBDRtRxOmMR5w7pz4Xo+dYM=
-github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q=
github.com/quasilyte/go-ruleguard v0.3.1-0.20210203134552-1b5a410e1cc8/go.mod h1:KsAh3x0e7Fkpgs+Q9pNLS5XpFSvYCEVl5gP9Pp1xp30=
github.com/quasilyte/go-ruleguard v0.3.18 h1:sd+abO1PEI9fkYennwzHn9kl3nqP6M5vE7FiOzZ+5CE=
github.com/quasilyte/go-ruleguard v0.3.18/go.mod h1:lOIzcYlgxrQ2sGJ735EHXmf/e9MJ516j16K/Ifcttvs=
@@ -2363,7 +2211,6 @@ github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqn
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
-github.com/rogpeppe/fastuuid v1.1.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
@@ -2372,7 +2219,6 @@ github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
-github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
@@ -2381,7 +2227,6 @@ github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThC
github.com/rs/zerolog v1.28.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
-github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryancurrah/gomodguard v1.3.0 h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw=
github.com/ryancurrah/gomodguard v1.3.0/go.mod h1:ggBxb3luypPEzqVtq33ee7YSN35V28XeGnid8dnni50=
@@ -2400,7 +2245,6 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM
github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ=
github.com/sashamelentyev/usestdlibvars v1.21.1 h1:GQGlReyL9Ek8DdJmwtwhHbhwHnuPfsKaprpjnrPcjxc=
github.com/sashamelentyev/usestdlibvars v1.21.1/go.mod h1:MPI52Qq99iO9sFZZcKJ2y/bx6BNjs+/2bw3PCggIbew=
-github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I=
github.com/sassoftware/go-rpmutils v0.1.1/go.mod h1:euhXULoBpvAxqrBHEyJS4Tsu3hHxUmQWNymxoJbzgUY=
github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 h1:sUNzanSKA9z/h8xXl+ZJoxIYZL0Qx306MmxqRrvUgr0=
github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74/go.mod h1:YlB8wFIZmFLZ1JllNBfSURzz52fBxbliNgYALk1UDmk=
@@ -2418,9 +2262,9 @@ github.com/securego/gosec/v2 v2.14.0/go.mod h1:Ff03zEi5NwSOfXj9nFpBfhbWTtROCkg9N
github.com/segmentio/ksuid v1.0.4 h1:sBo2BdShXjmcugAMwjugoGUdUV0pcxY5mW4xKRn3v4c=
github.com/segmentio/ksuid v1.0.4/go.mod h1:/XUiZBD3kVx5SmUOl55voK5yeAbBNNIed+2O73XgrPE=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
-github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
-github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
+github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs=
github.com/shibumi/go-pathspec v1.3.0 h1:QUyMZhFo0Md5B8zV8x2tesohbb5kfbpTi9rBnKh5dkI=
@@ -2464,15 +2308,10 @@ github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ys
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
-github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=
github.com/smartystreets/assertions v1.1.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo=
-github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM=
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
-github.com/smartystreets/gunit v1.0.0/go.mod h1:qwPWnhz6pn0NnRBP++URONOVyNkPyr4SauJk4cUOwJs=
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
-github.com/soheilhy/cmux v0.1.5-0.20210205191134-5ec6847320e5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0=
-github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js=
github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0=
github.com/sonatard/noctx v0.0.1 h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY=
github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI=
@@ -2494,12 +2333,11 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
-github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI=
github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
-github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
-github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
-github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
+github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
+github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
+github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
@@ -2536,7 +2374,6 @@ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoH
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
-github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
@@ -2548,8 +2385,9 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
-github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
+github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=
github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
@@ -2588,32 +2426,23 @@ github.com/timonwong/loggercheck v0.9.3 h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JK
github.com/timonwong/loggercheck v0.9.3/go.mod h1:wUqnk9yAOIKtGA39l1KLE9Iz0QiTocu/YZoOf+OzFdw=
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 h1:e/5i7d4oYZ+C1wj2THlRK+oAhjeS/TRQwMfkIuet3w0=
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399/go.mod h1:LdwHTNJT99C5fTAzDz0ud328OgXz+gierycbcIx2fRs=
-github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0=
-github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0=
-github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao=
-github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4=
github.com/tjfoc/gmsm v1.3.2 h1:7JVkAn5bvUJ7HtU08iW6UiD+UTmJTIToHCfeFzkcCxM=
github.com/tjfoc/gmsm v1.3.2/go.mod h1:HaUcFuY0auTiaHB9MHFGCPx5IaLhTUd2atbCFBQXn9w=
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA=
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tomarrell/wrapcheck/v2 v2.8.0 h1:qDzbir0xmoE+aNxGCPrn+rUSxAX+nG6vREgbbXAR81I=
github.com/tomarrell/wrapcheck/v2 v2.8.0/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg=
-github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4=
github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw=
github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw=
-github.com/transparency-dev/merkle v0.0.1 h1:T9/9gYB8uZl7VOJIhdwjALeRWlxUxSfDEysjfmx+L9E=
-github.com/transparency-dev/merkle v0.0.1/go.mod h1:B8FIw5LTq6DaULoHsVFRzYIUDkl8yuSwCdZnOZGKL/A=
+github.com/transparency-dev/merkle v0.0.2 h1:Q9nBoQcZcgPamMkGn7ghV8XiTZ/kRxn1yCG81+twTK4=
+github.com/transparency-dev/merkle v0.0.2/go.mod h1:pqSy+OXefQ1EDUVmAJ8MUhHB9TXGuzVAT58PqBoHz1A=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
-github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
-github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=
github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
github.com/ultraware/whitespace v0.0.5 h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI=
@@ -2623,8 +2452,6 @@ github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijb
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
-github.com/urfave/cli v1.22.7 h1:aXiFAgRugfJ27UFDsGJ9DB2FvTC73hlVXFSqq5bo9eU=
-github.com/urfave/cli v1.22.7/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
github.com/urfave/cli/v2 v2.11.0/go.mod h1:f8iq5LtQ/bLxafbdBSLPPNsgaW0l/2fYYEHhAyPlwvo=
github.com/uudashr/gocognit v1.0.6 h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y=
@@ -2645,7 +2472,6 @@ github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAh
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI=
-github.com/xanzy/go-gitlab v0.31.0/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug=
github.com/xanzy/go-gitlab v0.73.1 h1:UMagqUZLJdjss1SovIC+kJCH4k2AZWXl58gJd38Y/hI=
github.com/xanzy/go-gitlab v0.73.1/go.mod h1:d/a0vswScO7Agg1CZNz15Ic6SSvBG9vfw8egL99t4kA=
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
@@ -2664,7 +2490,6 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:
github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs=
github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos=
-github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
@@ -2699,59 +2524,16 @@ gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzC
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
-go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU=
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=
go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg=
-go.etcd.io/etcd/api/v3 v3.5.0-alpha.0/go.mod h1:mPcW6aZJukV6Aa81LSKpBjQXTWlXB5r74ymPoSWa3Sw=
go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
-go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A=
-go.etcd.io/etcd/api/v3 v3.6.0-alpha.0 h1:se+XckWlVTTfwjZSsAZJ2zGPzmIMq3j7fKBCmHoB9UA=
-go.etcd.io/etcd/api/v3 v3.6.0-alpha.0/go.mod h1:z13pg39zewDLZeXIKeM0xELOeFKcqjLocfwl5M820+w=
go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
-go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
-go.etcd.io/etcd/client/pkg/v3 v3.6.0-alpha.0 h1:2UyRzFWbZZzgu/xzxoRukgixvafiJtGyxO+3IKUyJ6c=
-go.etcd.io/etcd/client/pkg/v3 v3.6.0-alpha.0/go.mod h1:Vl/FkH40bHqmBFwhr8WVKtV47neyts36zl1voccRq8s=
-go.etcd.io/etcd/client/v2 v2.305.0-alpha.0/go.mod h1:kdV+xzCJ3luEBSIeQyB/OEKkWKd8Zkux4sbDeANrosU=
go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
-go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU=
-go.etcd.io/etcd/client/v2 v2.306.0-alpha.0 h1:9VRJ698EFIMfjOQtcjKMM7CWXOIxp9R4I8JA1mk+WT4=
-go.etcd.io/etcd/client/v2 v2.306.0-alpha.0/go.mod h1:eW78BCfOzS1HJgTNzDrb2E6xV1p6kqlpLpKkz7ErzCs=
-go.etcd.io/etcd/client/v3 v3.5.0-alpha.0/go.mod h1:wKt7jgDgf/OfKiYmCq5WFGxOFAkVMLxiiXgLDFhECr8=
go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0=
-go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY=
-go.etcd.io/etcd/client/v3 v3.6.0-alpha.0 h1:hHaJ8CvTPJ9iv7xPz3G0gxt3csEqJW8evgty/kYICwo=
-go.etcd.io/etcd/client/v3 v3.6.0-alpha.0/go.mod h1:a9JuChoQBDnw7WclHYBYCtTOIC12Wwj+Fw0LX4TI/Gs=
-go.etcd.io/etcd/etcdctl/v3 v3.5.0-alpha.0/go.mod h1:YPwSaBciV5G6Gpt435AasAG3ROetZsKNUzibRa/++oo=
-go.etcd.io/etcd/etcdctl/v3 v3.5.4/go.mod h1:SMZep1Aj7sUmMSBCHTjkZL/Yw36Vx5Ux61fKbopbb5U=
-go.etcd.io/etcd/etcdctl/v3 v3.6.0-alpha.0 h1:3J+c4Av+pF7dBMAnxZVMrfCCMTaBz4CGJ8En3sZMNME=
-go.etcd.io/etcd/etcdctl/v3 v3.6.0-alpha.0/go.mod h1:0ugckElRKx3OrV15/WAylLv2Ji67QxXKTh9lytkOh8s=
-go.etcd.io/etcd/etcdutl/v3 v3.5.4/go.mod h1:eK9eZfI/BxDQCztpuaJ1E/ufYpMw2Y16dPX1azGWrBU=
-go.etcd.io/etcd/etcdutl/v3 v3.6.0-alpha.0 h1:DZwDkrq/z5nHxXtovJMk9fyR6Nc+pwCJt25ptlFta24=
-go.etcd.io/etcd/etcdutl/v3 v3.6.0-alpha.0/go.mod h1:0ILo94EKC+jgp/IMfxePlfJD1OVtMVfgTQ/xM8+joOA=
-go.etcd.io/etcd/pkg/v3 v3.5.0-alpha.0/go.mod h1:tV31atvwzcybuqejDoY3oaNRTtlD2l/Ot78Pc9w7DMY=
go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE=
-go.etcd.io/etcd/pkg/v3 v3.5.4/go.mod h1:OI+TtO+Aa3nhQSppMbwE4ld3uF1/fqqwbpfndbbrEe0=
-go.etcd.io/etcd/pkg/v3 v3.6.0-alpha.0 h1:cV/VsaYde/tcc2G9aHN5DQwx6CtUsWSEW4UqYzXuyyk=
-go.etcd.io/etcd/pkg/v3 v3.6.0-alpha.0/go.mod h1:tXqWms0MpOJAS6L0B9nhFqZr0C/WEYzj/OtN90G8xzo=
-go.etcd.io/etcd/raft/v3 v3.5.0-alpha.0/go.mod h1:FAwse6Zlm5v4tEWZaTjmNhe17Int4Oxbu7+2r0DiD3w=
go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc=
-go.etcd.io/etcd/raft/v3 v3.5.4/go.mod h1:SCuunjYvZFC0fBX0vxMSPjuZmpcSk+XaAcMrD6Do03w=
-go.etcd.io/etcd/raft/v3 v3.6.0-alpha.0 h1:BQ6CnNP4pIpy5rusFlTBxAacDgPXhuiHFwoTsBNsVpI=
-go.etcd.io/etcd/raft/v3 v3.6.0-alpha.0/go.mod h1:/kZdrBXlc5fUgYXfIEQ0B5sb7ejXPKbtF4jWzF1exiQ=
-go.etcd.io/etcd/server/v3 v3.5.0-alpha.0/go.mod h1:tsKetYpt980ZTpzl/gb+UOJj9RkIyCb1u4wjzMg90BQ=
go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4=
-go.etcd.io/etcd/server/v3 v3.5.4/go.mod h1:S5/YTU15KxymM5l3T6b09sNOHPXqGYIZStpuuGbb65c=
-go.etcd.io/etcd/server/v3 v3.6.0-alpha.0 h1:BQUVqBqNFZZyrRbfydrRLzq9hYvCcRj97SsX1YwD7CA=
-go.etcd.io/etcd/server/v3 v3.6.0-alpha.0/go.mod h1:3QM2rLq3B3hSXmVEvgVt3vEEbG/AumSs0Is7EgrlKzU=
-go.etcd.io/etcd/tests/v3 v3.5.0-alpha.0/go.mod h1:HnrHxjyCuZ8YDt8PYVyQQ5d1ZQfzJVEtQWllr5Vp/30=
-go.etcd.io/etcd/tests/v3 v3.5.4/go.mod h1:ymig8LjkI1zqAxxMsl+nntzG21dND2hh0UQXl9BaJP8=
-go.etcd.io/etcd/tests/v3 v3.6.0-alpha.0 h1:3qrZ3p/E7CxdV1kKtAU75hHOcUoXcSTwC7ELKWyzMJo=
-go.etcd.io/etcd/tests/v3 v3.6.0-alpha.0/go.mod h1:hFQkP/cTsZIXXvUv+BsGHZ3TK+76XZMi5GToYA94iac=
-go.etcd.io/etcd/v3 v3.5.0-alpha.0/go.mod h1:JZ79d3LV6NUfPjUxXrpiFAYcjhT+06qqw+i28snx8To=
-go.etcd.io/etcd/v3 v3.5.4/go.mod h1:c6jK4IfuWwJU26FD9SeI4cAtvlfu9Iacaxu0vRses1k=
-go.etcd.io/etcd/v3 v3.6.0-alpha.0 h1:c4c3xHs9tG097KtpLfBQJSD6c70xgEZbwkoj3gF6As4=
-go.etcd.io/etcd/v3 v3.6.0-alpha.0/go.mod h1:9ERPHHuSr8Ho66trD/4f3+vSeqI/hk4loUSFUwj6Zcg=
go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg=
go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng=
go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY=
@@ -2773,9 +2555,7 @@ go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc=
-go.opentelemetry.io/contrib v1.6.0/go.mod h1:FlyPNX9s4U6MCsWEc5YAK4KzKNHFDsjrDUZijJiXvy8=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0 h1:Ky1MObd188aGbgb5OgNnwGuEEwI9MVIcc7rBW6zk5Ak=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE=
@@ -2784,20 +2564,17 @@ go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzox
go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs=
go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ=
go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ=
-go.opentelemetry.io/otel v1.11.1 h1:4WLLAmcfkmDk2ukNXJyq3/kiz/3UzCaYq6PskJsaou4=
go.opentelemetry.io/otel v1.11.1/go.mod h1:1nNhXBbWSD0nsL38H6btgnFN2k4i0sNLHNNMZMSbUGE=
+go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM=
go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM=
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4=
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40=
-go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.1 h1:X2GndnMCsUPh6CiY2a+frAbNsXaPLbB0soHRYhAZ5Ig=
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.1/go.mod h1:i8vjiSzbiUC7wOQplijSXMYUpNM93DtlS5CbUT+C6oQ=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.1/go.mod h1:YJ/JbY5ag/tSQFXzH3mtDmHqzF3aFn3DI/aB1n7pt4w=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.1 h1:MEQNafcNCB0uQIti/oHgU7CZpUMYQ7qigBwMVKycHvc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.1/go.mod h1:19O5I2U5iys38SsmT2uDJja/300woyzE1KPIQxEUBUc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.1/go.mod h1:UJJXJj0rltNIemDMwkOJyggsvyMG9QHfJeFH0HS5JjM=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.1 h1:LYyG/f1W/jzAix16jbksJfMQFpOH/Ma6T639pVPMgfI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.1/go.mod h1:QrRRQiY3kzAoYPNLP0W/Ikg0gR6V3LMc+ODSxr7yyvg=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.1/go.mod h1:DAKwdo06hFLc0U88O10x4xnb5sc7dDRDqRuiN+io8JE=
@@ -2809,7 +2586,6 @@ go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa
go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc=
go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs=
go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E=
-go.opentelemetry.io/otel/sdk v1.11.1 h1:F7KmQgoHljhUuJyA+9BiU+EkJfyX5nVVF4wyzWZpKxs=
go.opentelemetry.io/otel/sdk v1.11.1/go.mod h1:/l3FE4SupHJ12TduVjUkZtlfFqDCQJlOlithYrdktys=
go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE=
go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE=
@@ -2817,13 +2593,12 @@ go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16g
go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk=
go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE=
go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0=
-go.opentelemetry.io/otel/trace v1.11.1 h1:ofxdnzsNrGBYXbP7t7zpUK281+go5rF7dvdIZXF8gdQ=
go.opentelemetry.io/otel/trace v1.11.1/go.mod h1:f/Q9G7vzk5u91PhbmKbg1Qn0rzH1LJ4vbPHFGkTPtOk=
+go.opentelemetry.io/otel/trace v1.14.0 h1:wp2Mmvj41tDsyAJXiWDWpfNsOiIyd38fy85pyKcFq/M=
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ=
go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
-go.opentelemetry.io/proto/otlp v0.19.0 h1:IVN6GR+mhC4s5yfcTbmzHYODqvWAp3ZedA2SJPI1Nnw=
go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
@@ -2838,8 +2613,9 @@ go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
-go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk=
go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo=
+go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
+go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
@@ -2850,13 +2626,10 @@ go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9E
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
-go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ=
go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
-go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
-gocloud.dev v0.19.0/go.mod h1:SmKwiR8YwIMMJvQBKLsC3fHNyMwXLw3PMDO+VVteJMI=
gocloud.dev v0.28.0 h1:PjL1f9zu8epY1pFCIHdrQnJRZzRcDyAr18hNTkXIKlQ=
gocloud.dev v0.28.0/go.mod h1:nzSs01FpRYyIb/OqXLNNa+NMPZG9CdTUY/pGLgSpIN0=
gocloud.dev/docstore/mongodocstore v0.28.0 h1:l38wJ3P6JW7z0iV/h7JcfT6yy7JqkphteXiWx2CeTxI=
@@ -2864,7 +2637,6 @@ gocloud.dev/docstore/mongodocstore v0.28.0/go.mod h1:t7OT6cDBp5wvfzAJtoR/gh2243Q
gocloud.dev/pubsub/kafkapubsub v0.28.0 h1:NblPXIwgVcDuJtKiEn7xCCY+3VEpSKvHOJJiSDt8sM0=
gocloud.dev/pubsub/kafkapubsub v0.28.0/go.mod h1:1GtxnTsb3tl2OaLjfoVUn1WzTFr5ZdJ9yhXyeZVi1zI=
golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -2873,7 +2645,6 @@ golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnf
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
-golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
@@ -2881,7 +2652,6 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
-golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191117063200-497ca9f6d64f/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20191219195013-becbf705a915/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
@@ -2906,9 +2676,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
+golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
@@ -2927,9 +2696,9 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
-golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
-golang.org/x/exp v0.0.0-20221031165847-c99f073a8326 h1:QfTh0HpN6hlw6D3vu8DAwC8pBIwikq0AI1evdm+FksE=
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
+golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
+golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a h1:Jw5wfR+h9mnIYH+OtGT2im5wV1YGGDora5vTv/aa5bE=
@@ -2965,14 +2734,13 @@ golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
-golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
+golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181108082009-03003ca0c849/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -3003,7 +2771,6 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
@@ -3027,7 +2794,6 @@ golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLd
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8=
golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
-golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
@@ -3045,7 +2811,6 @@ golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220421235706-1d1ef9303861/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
@@ -3066,9 +2831,7 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -3079,13 +2842,11 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
@@ -3100,8 +2861,8 @@ golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri
golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
golang.org/x/oauth2 v0.2.0/go.mod h1:Cwn6afJ8jrQwYMxQDTpISoXmXW9I6qF6vDeuuoX3Ibs=
golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk=
-golang.org/x/oauth2 v0.4.0 h1:NF0gk8LVPg1Ml7SSbGyySuoxdsXitj7TvgvuRxIMc/M=
-golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec=
+golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g=
+golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -3119,8 +2880,9 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220923202941-7f9b1623fab7/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
+golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -3147,7 +2909,6 @@ golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190620070143-6f217b454f45/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -3184,7 +2945,6 @@ golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200509044756-6aff5f38e54f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -3204,7 +2964,6 @@ golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -3218,13 +2977,11 @@ golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210412220455-f1c623a9e750/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -3327,11 +3084,11 @@ golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxb
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20220411224347-583f2d630306/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.2.0 h1:52I/1L54xyEQAYdtcSuxtiT84KGYTBGXwayxmIpNJhE=
golang.org/x/time v0.2.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
+golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -3369,7 +3126,6 @@ golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
@@ -3399,18 +3155,15 @@ golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWc
golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200509030707-2212a7e161a5/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200624225443-88f3c62a19ff/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200717024301-6ddee64345a6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
@@ -3421,7 +3174,6 @@ golang.org/x/tools v0.0.0-20200831203904-5a2aa26beb65/go.mod h1:Cj7w3i3Rnn0Xh82u
golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
-golang.org/x/tools v0.0.0-20201014170642-d1624618ad65/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
@@ -3450,8 +3202,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
-golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=
-golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
+golang.org/x/tools v0.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y=
+golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4=
golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -3468,12 +3220,9 @@ gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCY
google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk=
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.5.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.6.0/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4=
google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
@@ -3493,7 +3242,6 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
-google.golang.org/api v0.45.0/go.mod h1:ISLIJCedJolbZvDfAk+Ctuq5hf+aJ33WgtUsfyFoLXA=
google.golang.org/api v0.46.0/go.mod h1:ceL4oozhkAiTID8XMmJBsIxID/9wMXJVVFXPg4ylg3I=
google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
@@ -3504,10 +3252,8 @@ google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqiv
google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI=
google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E=
-google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU=
google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I=
google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo=
-google.golang.org/api v0.64.0/go.mod h1:931CdxA8Rm4t6zqTFGSsgwbAEZ2+GMYurbndwSimebM=
google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g=
google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA=
google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8=
@@ -3528,31 +3274,25 @@ google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91
google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70=
google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo=
google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0=
-google.golang.org/api v0.107.0 h1:I2SlFjD8ZWabaIFOfeEDg3pf0BHJDh6iYQ1ic3Yu/UU=
-google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY=
+google.golang.org/api v0.121.0 h1:8Oopoo8Vavxx6gt+sgs8s8/X60WBAtKQq6JqnkF+xow=
+google.golang.org/api v0.121.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
-google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk=
-google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
-google.golang.org/genproto v0.0.0-20190620144150-6af8c5fc6601/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
@@ -3594,14 +3334,8 @@ google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6D
google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210325141258-5636347f2b14/go.mod h1:f2Bd7+2PlaVKmvKQ52aspJZXIDaRQBVdOOBfJ5i8OEs=
google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
-google.golang.org/genproto v0.0.0-20210331142528-b7513248f0ba/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
-google.golang.org/genproto v0.0.0-20210406143921-e86de6bf7a46/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
-google.golang.org/genproto v0.0.0-20210413151531-c14fb6ef47c3/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
-google.golang.org/genproto v0.0.0-20210420162539-3c870d7478d2/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
-google.golang.org/genproto v0.0.0-20210427215850-f767ed18ee4d/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
google.golang.org/genproto v0.0.0-20210429181445-86c259c2b4ab/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
google.golang.org/genproto v0.0.0-20210517163617-5e0236093d7a/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
@@ -3622,15 +3356,12 @@ google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEc
google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211018162055-cf77aa76bad2/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211223182754-3ac035c7e7cb/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20220111164026-67b88f271998/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
@@ -3643,8 +3374,6 @@ google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX
google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220422154200-b37d22cd5731/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220426171045-31bebdecfb46/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
@@ -3681,10 +3410,9 @@ google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZV
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w=
-google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
+google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A=
+google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU=
google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
-google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
@@ -3704,7 +3432,6 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
@@ -3731,10 +3458,9 @@ google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD
google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww=
-google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc=
-google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
+google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc=
+google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
-google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
@@ -3745,13 +3471,13 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
-google.golang.org/protobuf v1.25.1-0.20200805231151-a709e31e5d12/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
+google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/alexcesaro/statsd.v2 v2.0.0 h1:FXkZSCZIH17vLCO5sO2UucTHsH9pc+17F6pl3JVCwMc=
@@ -3763,8 +3489,6 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
-gopkg.in/cheggaaa/pb.v1 v1.0.28 h1:n1tBJnnK2r7g9OW2btFH91V92STTUevLXYFb8gy9EMk=
-gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o=
@@ -3779,8 +3503,6 @@ gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/linkedin/goavro.v1 v1.0.5/go.mod h1:Aw5GdAbizjOEl0kAMHV9iHmA8reZzW/OKuJAl4Hb9F0=
-gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8=
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
@@ -3889,8 +3611,9 @@ k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/klog/v2 v2.80.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
-k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=
k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
+k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
+k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o=
k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM=
k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
@@ -3919,7 +3642,6 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jC
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w=
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d/go.mod h1:IeHQjmn6TOD+e4Z3RFiZMMsLVL+A96Nvptar8Fj71is=
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
-pack.ag/amqp v0.11.2/go.mod h1:4/cbmt4EJXSKlG6LCfWHoqmN0uFdy5i/+YFz+fTfhV4=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
diff --git a/vendor/bitbucket.org/creachadair/shell/LICENSE b/vendor/bitbucket.org/creachadair/shell/LICENSE
deleted file mode 100644
index 10d72735ff..0000000000
--- a/vendor/bitbucket.org/creachadair/shell/LICENSE
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2015, Michael J. Fromberger
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/bitbucket.org/creachadair/shell/README.md b/vendor/bitbucket.org/creachadair/shell/README.md
deleted file mode 100644
index 73282bed38..0000000000
--- a/vendor/bitbucket.org/creachadair/shell/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# shell
-
-http://godoc.org/bitbucket.org/creachadair/shell
-
-The `shell` package implements basic shell command-line splitting.
-
-
diff --git a/vendor/bitbucket.org/creachadair/shell/bitbucket-pipelines.yml b/vendor/bitbucket.org/creachadair/shell/bitbucket-pipelines.yml
deleted file mode 100644
index 8acd906c1b..0000000000
--- a/vendor/bitbucket.org/creachadair/shell/bitbucket-pipelines.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-definitions:
- steps:
- - step: &Verify
- script:
- - PACKAGE_PATH="${GOPATH}/src/bitbucket.org/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}"
- - mkdir -pv "${PACKAGE_PATH}"
- - tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${PACKAGE_PATH}"
- - cd "${PACKAGE_PATH}"
- - go version # log the version of Go we are using in this step
- - export GO111MODULE=on # enable modules inside $GOPATH
- - go get -v ./...
- - go build -v ./...
- - go test -v -race -cpu=1,4 ./...
- - go vet -v ./...
-
-pipelines:
- default: # run on each push
- - step:
- image: golang:1.16
- <<: *Verify
- - step:
- image: golang:1.17
- <<: *Verify
diff --git a/vendor/bitbucket.org/creachadair/shell/shell.go b/vendor/bitbucket.org/creachadair/shell/shell.go
deleted file mode 100644
index e4f8650f2f..0000000000
--- a/vendor/bitbucket.org/creachadair/shell/shell.go
+++ /dev/null
@@ -1,325 +0,0 @@
-// Package shell supports splitting and joining of shell command strings.
-//
-// The Split function divides a string into whitespace-separated fields,
-// respecting single and double quotation marks as defined by the Shell Command
-// Language section of IEEE Std 1003.1 2013. The Quote function quotes
-// characters that would otherwise be subject to shell evaluation, and the Join
-// function concatenates quoted strings with spaces between them.
-//
-// The relationship between Split and Join is that given
-//
-// fields, ok := Split(Join(ss))
-//
-// the following relationship will hold:
-//
-// fields == ss && ok
-//
-package shell
-
-import (
- "bufio"
- "bytes"
- "io"
- "strings"
-)
-
-// These characters must be quoted to escape special meaning. This list
-// doesn't include the single quote.
-const mustQuote = "|&;<>()$`\\\"\t\n"
-
-// These characters should be quoted to escape special meaning, since in some
-// contexts they are special (e.g., "x=y" in command position, "*" for globs).
-const shouldQuote = `*?[#~=%`
-
-// These are the separator characters in unquoted text.
-const spaces = " \t\n"
-
-const allQuote = mustQuote + shouldQuote + spaces
-
-type state int
-
-const (
- stNone state = iota
- stBreak
- stBreakQ
- stWord
- stWordQ
- stSingle
- stDouble
- stDoubleQ
-)
-
-type class int
-
-const (
- clOther class = iota
- clBreak
- clNewline
- clQuote
- clSingle
- clDouble
-)
-
-type action int
-
-const (
- drop action = iota
- push
- xpush
- emit
-)
-
-// N.B. Benchmarking shows that array lookup is substantially faster than map
-// lookup here, but it requires caution when changing the state machine. In
-// particular:
-//
-// 1. The state and action values must be small integers.
-// 2. The update table must completely cover the state values.
-// 3. Each action slice must completely cover the action values.
-//
-var update = [...][]struct {
- state
- action
-}{
- stNone: {},
- stBreak: {
- clBreak: {stBreak, drop},
- clNewline: {stBreak, drop},
- clQuote: {stBreakQ, drop},
- clSingle: {stSingle, drop},
- clDouble: {stDouble, drop},
- clOther: {stWord, push},
- },
- stBreakQ: {
- clBreak: {stWord, push},
- clNewline: {stBreak, drop},
- clQuote: {stWord, push},
- clSingle: {stWord, push},
- clDouble: {stWord, push},
- clOther: {stWord, push},
- },
- stWord: {
- clBreak: {stBreak, emit},
- clNewline: {stBreak, emit},
- clQuote: {stWordQ, drop},
- clSingle: {stSingle, drop},
- clDouble: {stDouble, drop},
- clOther: {stWord, push},
- },
- stWordQ: {
- clBreak: {stWord, push},
- clNewline: {stWord, drop},
- clQuote: {stWord, push},
- clSingle: {stWord, push},
- clDouble: {stWord, push},
- clOther: {stWord, push},
- },
- stSingle: {
- clBreak: {stSingle, push},
- clNewline: {stSingle, push},
- clQuote: {stSingle, push},
- clSingle: {stWord, drop},
- clDouble: {stSingle, push},
- clOther: {stSingle, push},
- },
- stDouble: {
- clBreak: {stDouble, push},
- clNewline: {stDouble, push},
- clQuote: {stDoubleQ, drop},
- clSingle: {stDouble, push},
- clDouble: {stWord, drop},
- clOther: {stDouble, push},
- },
- stDoubleQ: {
- clBreak: {stDouble, xpush},
- clNewline: {stDouble, drop},
- clQuote: {stDouble, push},
- clSingle: {stDouble, xpush},
- clDouble: {stDouble, push},
- clOther: {stDouble, xpush},
- },
-}
-
-var classOf = [256]class{
- ' ': clBreak,
- '\t': clBreak,
- '\n': clNewline,
- '\\': clQuote,
- '\'': clSingle,
- '"': clDouble,
-}
-
-// A Scanner partitions input from a reader into tokens divided on space, tab,
-// and newline characters. Single and double quotation marks are handled as
-// described in http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02.
-type Scanner struct {
- buf *bufio.Reader
- cur bytes.Buffer
- st state
- err error
-}
-
-// NewScanner returns a Scanner that reads input from r.
-func NewScanner(r io.Reader) *Scanner {
- return &Scanner{
- buf: bufio.NewReader(r),
- st: stBreak,
- }
-}
-
-// Next advances the scanner and reports whether there are any further tokens
-// to be consumed.
-func (s *Scanner) Next() bool {
- if s.err != nil {
- return false
- }
- s.cur.Reset()
- for {
- c, err := s.buf.ReadByte()
- s.err = err
- if err == io.EOF {
- break
- } else if err != nil {
- return false
- }
- next := update[s.st][classOf[c]]
- s.st = next.state
- switch next.action {
- case push:
- s.cur.WriteByte(c)
- case xpush:
- s.cur.Write([]byte{'\\', c})
- case emit:
- return true // s.cur has a complete token
- case drop:
- continue
- default:
- panic("unknown action")
- }
- }
- return s.st != stBreak
-}
-
-// Text returns the text of the current token, or "" if there is none.
-func (s *Scanner) Text() string { return s.cur.String() }
-
-// Err returns the error, if any, that resulted from the most recent action.
-func (s *Scanner) Err() error { return s.err }
-
-// Complete reports whether the current token is complete, meaning that it is
-// unquoted or its quotes were balanced.
-func (s *Scanner) Complete() bool { return s.st == stBreak || s.st == stWord }
-
-// Rest returns an io.Reader for the remainder of the unconsumed input in s.
-// After calling this method, Next will always return false. The remainder
-// does not include the text of the current token at the time Rest is called.
-func (s *Scanner) Rest() io.Reader {
- s.st = stNone
- s.cur.Reset()
- s.err = io.EOF
- return s.buf
-}
-
-// Each calls f for each token in the scanner until the input is exhausted, f
-// returns false, or an error occurs.
-func (s *Scanner) Each(f func(tok string) bool) error {
- for s.Next() {
- if !f(s.Text()) {
- return nil
- }
- }
- if err := s.Err(); err != io.EOF {
- return err
- }
- return nil
-}
-
-// Split returns the remaining tokens in s, not including the current token if
-// there is one. Any tokens already consumed are still returned, even if there
-// is an error.
-func (s *Scanner) Split() []string {
- var tokens []string
- for s.Next() {
- tokens = append(tokens, s.Text())
- }
- return tokens
-}
-
-// Split partitions s into tokens divided on space, tab, and newline characters
-// using a *Scanner. Leading and trailing whitespace are ignored.
-//
-// The Boolean flag reports whether the final token is "valid", meaning there
-// were no unclosed quotations in the string.
-func Split(s string) ([]string, bool) {
- sc := NewScanner(strings.NewReader(s))
- ss := sc.Split()
- return ss, sc.Complete()
-}
-
-func quotable(s string) (hasQ, hasOther bool) {
- const (
- quote = 1
- other = 2
- all = quote + other
- )
- var v uint
- for i := 0; i < len(s) && v < all; i++ {
- if s[i] == '\'' {
- v |= quote
- } else if strings.IndexByte(allQuote, s[i]) >= 0 {
- v |= other
- }
- }
- return v"e != 0, v&other != 0
-}
-
-// Quote returns a copy of s in which shell metacharacters are quoted to
-// protect them from evaluation.
-func Quote(s string) string {
- var buf bytes.Buffer
- return quote(s, &buf)
-}
-
-// quote implements quotation, using the provided buffer as scratch space. The
-// existing contents of the buffer are clobbered.
-func quote(s string, buf *bytes.Buffer) string {
- if s == "" {
- return "''"
- }
- hasQ, hasOther := quotable(s)
- if !hasQ && !hasOther {
- return s // fast path: nothing needs quotation
- }
-
- buf.Reset()
- inq := false
- for i := 0; i < len(s); i++ {
- ch := s[i]
- if ch == '\'' {
- if inq {
- buf.WriteByte('\'')
- inq = false
- }
- buf.WriteByte('\\')
- } else if !inq && hasOther {
- buf.WriteByte('\'')
- inq = true
- }
- buf.WriteByte(ch)
- }
- if inq {
- buf.WriteByte('\'')
- }
- return buf.String()
-}
-
-// Join quotes each element of ss with Quote and concatenates the resulting
-// strings separated by spaces.
-func Join(ss []string) string {
- quoted := make([]string, len(ss))
- var buf bytes.Buffer
- for i, s := range ss {
- quoted[i] = quote(s, &buf)
- }
- return strings.Join(quoted, " ")
-}
diff --git a/vendor/cloud.google.com/go/compute/internal/version.go b/vendor/cloud.google.com/go/compute/internal/version.go
index 7dd6a0aa86..a5b020992b 100644
--- a/vendor/cloud.google.com/go/compute/internal/version.go
+++ b/vendor/cloud.google.com/go/compute/internal/version.go
@@ -15,4 +15,4 @@
package internal
// Version is the current tagged release of the library.
-const Version = "1.15.1"
+const Version = "1.19.1"
diff --git a/vendor/cloud.google.com/go/iam/CHANGES.md b/vendor/cloud.google.com/go/iam/CHANGES.md
index ced217827b..40ae15de52 100644
--- a/vendor/cloud.google.com/go/iam/CHANGES.md
+++ b/vendor/cloud.google.com/go/iam/CHANGES.md
@@ -1,5 +1,40 @@
# Changes
+## [0.13.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.12.0...iam/v0.13.0) (2023-03-15)
+
+
+### Features
+
+* **iam:** Update iam and longrunning deps ([91a1f78](https://github.com/googleapis/google-cloud-go/commit/91a1f784a109da70f63b96414bba8a9b4254cddd))
+
+## [0.12.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.11.0...iam/v0.12.0) (2023-02-17)
+
+
+### Features
+
+* **iam:** Migrate to new stubs ([a61ddcd](https://github.com/googleapis/google-cloud-go/commit/a61ddcd3041c7af4a15109dc4431f9b327c497fb))
+
+## [0.11.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.10.0...iam/v0.11.0) (2023-02-16)
+
+
+### Features
+
+* **iam:** Start generating proto stubs ([970d763](https://github.com/googleapis/google-cloud-go/commit/970d763531b54b2bc75d7ff26a20b6e05150cab8))
+
+## [0.10.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.9.0...iam/v0.10.0) (2023-01-04)
+
+
+### Features
+
+* **iam:** Add REST client ([06a54a1](https://github.com/googleapis/google-cloud-go/commit/06a54a16a5866cce966547c51e203b9e09a25bc0))
+
+## [0.9.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.8.0...iam/v0.9.0) (2022-12-15)
+
+
+### Features
+
+* **iam:** Rewrite iam sigs and update proto import ([#7137](https://github.com/googleapis/google-cloud-go/issues/7137)) ([ad67fa3](https://github.com/googleapis/google-cloud-go/commit/ad67fa36c263c161226f7fecbab5221592374dca))
+
## [0.8.0](https://github.com/googleapis/google-cloud-go/compare/iam/v0.7.0...iam/v0.8.0) (2022-12-05)
diff --git a/vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go b/vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go
index 2793098aab..21079f65c3 100644
--- a/vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go
+++ b/vendor/cloud.google.com/go/iam/apiv1/iampb/iam_policy.pb.go
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v3.21.9
// source: google/iam/v1/iam_policy.proto
package iampb
diff --git a/vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go b/vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go
index 835f217199..e8a2aca9c7 100644
--- a/vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go
+++ b/vendor/cloud.google.com/go/iam/apiv1/iampb/options.pb.go
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v3.21.9
// source: google/iam/v1/options.proto
package iampb
diff --git a/vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go b/vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go
index ec7777a768..e521db60fa 100644
--- a/vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go
+++ b/vendor/cloud.google.com/go/iam/apiv1/iampb/policy.pb.go
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v3.21.9
// source: google/iam/v1/policy.proto
package iampb
diff --git a/vendor/cloud.google.com/go/iam/iam.go b/vendor/cloud.google.com/go/iam/iam.go
index 0a06ea2e84..f004a7afbc 100644
--- a/vendor/cloud.google.com/go/iam/iam.go
+++ b/vendor/cloud.google.com/go/iam/iam.go
@@ -26,8 +26,8 @@ import (
"fmt"
"time"
+ pb "cloud.google.com/go/iam/apiv1/iampb"
gax "github.com/googleapis/gax-go/v2"
- pb "google.golang.org/genproto/googleapis/iam/v1"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
diff --git a/vendor/cloud.google.com/go/internal/.repo-metadata-full.json b/vendor/cloud.google.com/go/internal/.repo-metadata-full.json
index ac3f773f8d..2dd0e18146 100644
--- a/vendor/cloud.google.com/go/internal/.repo-metadata-full.json
+++ b/vendor/cloud.google.com/go/internal/.repo-metadata-full.json
@@ -287,6 +287,15 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
+ "cloud.google.com/go/bigquery/datapolicies/apiv1": {
+ "distribution_name": "cloud.google.com/go/bigquery/datapolicies/apiv1",
+ "description": "BigQuery Data Policy API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/bigquery/latest/datapolicies/apiv1",
+ "release_level": "beta",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/bigquery/datapolicies/apiv1beta1": {
"distribution_name": "cloud.google.com/go/bigquery/datapolicies/apiv1beta1",
"description": "BigQuery Data Policy API",
@@ -539,6 +548,15 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
+ "cloud.google.com/go/datacatalog/lineage/apiv1": {
+ "distribution_name": "cloud.google.com/go/datacatalog/lineage/apiv1",
+ "description": "Data Lineage API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/datacatalog/latest/lineage/apiv1",
+ "release_level": "beta",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/dataflow/apiv1beta3": {
"distribution_name": "cloud.google.com/go/dataflow/apiv1beta3",
"description": "Dataflow API",
@@ -701,6 +719,15 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
+ "cloud.google.com/go/discoveryengine/apiv1beta": {
+ "distribution_name": "cloud.google.com/go/discoveryengine/apiv1beta",
+ "description": "Discovery Engine API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/discoveryengine/latest/apiv1beta",
+ "release_level": "beta",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/dlp/apiv2": {
"distribution_name": "cloud.google.com/go/dlp/apiv2",
"description": "Cloud Data Loss Prevention (DLP) API",
@@ -935,6 +962,15 @@
"release_level": "ga",
"library_type": "CORE"
},
+ "cloud.google.com/go/iam/apiv1": {
+ "distribution_name": "cloud.google.com/go/iam/apiv1",
+ "description": "IAM Meta API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1",
+ "release_level": "beta",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/iam/apiv2": {
"distribution_name": "cloud.google.com/go/iam/apiv2",
"description": "Identity and Access Management (IAM) API",
@@ -1061,6 +1097,15 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
+ "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha": {
+ "distribution_name": "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha",
+ "description": "Maps Platform Datasets API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/maps/latest/mapsplatformdatasets/apiv1alpha",
+ "release_level": "alpha",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/maps/routing/apiv2": {
"distribution_name": "cloud.google.com/go/maps/routing/apiv2",
"description": "Routes API",
@@ -1880,6 +1925,15 @@
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
+ "cloud.google.com/go/vmwareengine/apiv1": {
+ "distribution_name": "cloud.google.com/go/vmwareengine/apiv1",
+ "description": "VMware Engine API",
+ "language": "Go",
+ "client_library_type": "generated",
+ "docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vmwareengine/latest/apiv1",
+ "release_level": "beta",
+ "library_type": "GAPIC_AUTO"
+ },
"cloud.google.com/go/vpcaccess/apiv1": {
"distribution_name": "cloud.google.com/go/vpcaccess/apiv1",
"description": "Serverless VPC Access API",
diff --git a/vendor/cloud.google.com/go/internal/README.md b/vendor/cloud.google.com/go/internal/README.md
index 8857c8f6fe..c1dc6bdff4 100644
--- a/vendor/cloud.google.com/go/internal/README.md
+++ b/vendor/cloud.google.com/go/internal/README.md
@@ -15,4 +15,29 @@ One day, we may want to create individual `.repo-metadata.json` files next to
each package, which is the pattern followed by some other languages. External
tools would then talk to pkg.go.dev or some other service to get the overall
list of packages and use the `.repo-metadata.json` files to get the additional
-metadata required. For now, `.repo-metadata-full.json` includes everything.
\ No newline at end of file
+metadata required. For now, `.repo-metadata-full.json` includes everything.
+
+## cloudbuild.yaml
+
+To kick off a build locally run from the repo root:
+
+```bash
+gcloud builds submit --project=cloud-devrel-kokoro-resources --config=internal/cloudbuild.yaml
+```
+
+### Updating OwlBot SHA
+
+You may want to manually update the which version of the post processor will be
+used -- to do this you need to update the SHA in the OwlBot lock file. Start by
+running the following commands:
+
+```bash
+docker pull gcr.io/cloud-devrel-public-resources/owlbot-go:latest
+docker inspect --format='{{index .RepoDigests 0}}' gcr.io/cloud-devrel-public-resources/owlbot-go:latest
+```
+
+This will give you a SHA. You can use this value to update the value in
+`.github/.OwlBot.lock.yaml`.
+
+*Note*: OwlBot will eventually open a pull request to update this value if it
+discovers a new version of the container.
diff --git a/vendor/cloud.google.com/go/internal/cloudbuild.yaml b/vendor/cloud.google.com/go/internal/cloudbuild.yaml
new file mode 100644
index 0000000000..71281cec24
--- /dev/null
+++ b/vendor/cloud.google.com/go/internal/cloudbuild.yaml
@@ -0,0 +1,25 @@
+# Copyright 2023 Google LLC
+#
+# 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.
+
+# note: /workspace is a special directory in the docker image where all the files in this folder
+# get placed on your behalf
+
+timeout: 7200s # 2 hours
+steps:
+- name: gcr.io/cloud-builders/docker
+ args: ['build', '-t', 'gcr.io/cloud-devrel-public-resources/owlbot-go', '-f', 'postprocessor/Dockerfile', '.']
+ dir: internal
+
+images:
+- gcr.io/cloud-devrel-public-resources/owlbot-go:latest
diff --git a/vendor/cloud.google.com/go/kms/apiv1/doc.go b/vendor/cloud.google.com/go/kms/apiv1/doc.go
index 8c0d7430d4..0fb3ebff16 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/doc.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/doc.go
@@ -20,6 +20,11 @@
// Manages keys and performs cryptographic operations in a central cloud
// service, for direct use by other cloud resources and applications.
//
+// # General documentation
+//
+// For information about setting deadlines, reusing contexts, and more
+// please visit https://pkg.go.dev/cloud.google.com/go.
+//
// # Example usage
//
// To get started with this package, create a client.
@@ -80,9 +85,6 @@
// Individual methods on the client use the ctx given to them.
//
// To close the open connection, use the Close() method.
-//
-// For information about setting deadlines, reusing contexts, and more
-// please visit https://pkg.go.dev/cloud.google.com/go.
package kms // import "cloud.google.com/go/kms/apiv1"
import (
diff --git a/vendor/cloud.google.com/go/kms/apiv1/ekm_client.go b/vendor/cloud.google.com/go/kms/apiv1/ekm_client.go
index 8cc29e7097..21f79c7f27 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/ekm_client.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/ekm_client.go
@@ -26,6 +26,7 @@ import (
"net/url"
"time"
+ iampb "cloud.google.com/go/iam/apiv1/iampb"
kmspb "cloud.google.com/go/kms/apiv1/kmspb"
gax "github.com/googleapis/gax-go/v2"
"google.golang.org/api/googleapi"
@@ -35,7 +36,6 @@ import (
gtransport "google.golang.org/api/transport/grpc"
httptransport "google.golang.org/api/transport/http"
locationpb "google.golang.org/genproto/googleapis/cloud/location"
- iampb "google.golang.org/genproto/googleapis/iam/v1"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
@@ -51,6 +51,8 @@ type EkmCallOptions struct {
GetEkmConnection []gax.CallOption
CreateEkmConnection []gax.CallOption
UpdateEkmConnection []gax.CallOption
+ GetEkmConfig []gax.CallOption
+ UpdateEkmConfig []gax.CallOption
GetLocation []gax.CallOption
ListLocations []gax.CallOption
GetIamPolicy []gax.CallOption
@@ -120,6 +122,8 @@ func defaultEkmCallOptions() *EkmCallOptions {
})
}),
},
+ GetEkmConfig: []gax.CallOption{},
+ UpdateEkmConfig: []gax.CallOption{},
GetLocation: []gax.CallOption{},
ListLocations: []gax.CallOption{},
GetIamPolicy: []gax.CallOption{},
@@ -174,6 +178,8 @@ func defaultEkmRESTCallOptions() *EkmCallOptions {
http.StatusGatewayTimeout)
}),
},
+ GetEkmConfig: []gax.CallOption{},
+ UpdateEkmConfig: []gax.CallOption{},
GetLocation: []gax.CallOption{},
ListLocations: []gax.CallOption{},
GetIamPolicy: []gax.CallOption{},
@@ -191,6 +197,8 @@ type internalEkmClient interface {
GetEkmConnection(context.Context, *kmspb.GetEkmConnectionRequest, ...gax.CallOption) (*kmspb.EkmConnection, error)
CreateEkmConnection(context.Context, *kmspb.CreateEkmConnectionRequest, ...gax.CallOption) (*kmspb.EkmConnection, error)
UpdateEkmConnection(context.Context, *kmspb.UpdateEkmConnectionRequest, ...gax.CallOption) (*kmspb.EkmConnection, error)
+ GetEkmConfig(context.Context, *kmspb.GetEkmConfigRequest, ...gax.CallOption) (*kmspb.EkmConfig, error)
+ UpdateEkmConfig(context.Context, *kmspb.UpdateEkmConfigRequest, ...gax.CallOption) (*kmspb.EkmConfig, error)
GetLocation(context.Context, *locationpb.GetLocationRequest, ...gax.CallOption) (*locationpb.Location, error)
ListLocations(context.Context, *locationpb.ListLocationsRequest, ...gax.CallOption) *LocationIterator
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest, ...gax.CallOption) (*iampb.Policy, error)
@@ -260,6 +268,18 @@ func (c *EkmClient) UpdateEkmConnection(ctx context.Context, req *kmspb.UpdateEk
return c.internalClient.UpdateEkmConnection(ctx, req, opts...)
}
+// GetEkmConfig returns the EkmConfig singleton resource
+// for a given project and location.
+func (c *EkmClient) GetEkmConfig(ctx context.Context, req *kmspb.GetEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ return c.internalClient.GetEkmConfig(ctx, req, opts...)
+}
+
+// UpdateEkmConfig updates the EkmConfig singleton resource
+// for a given project and location.
+func (c *EkmClient) UpdateEkmConfig(ctx context.Context, req *kmspb.UpdateEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ return c.internalClient.UpdateEkmConfig(ctx, req, opts...)
+}
+
// GetLocation gets information about a location.
func (c *EkmClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {
return c.internalClient.GetLocation(ctx, req, opts...)
@@ -572,6 +592,40 @@ func (c *ekmGRPCClient) UpdateEkmConnection(ctx context.Context, req *kmspb.Upda
return resp, nil
}
+func (c *ekmGRPCClient) GetEkmConfig(ctx context.Context, req *kmspb.GetEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName())))
+
+ ctx = insertMetadata(ctx, c.xGoogMetadata, md)
+ opts = append((*c.CallOptions).GetEkmConfig[0:len((*c.CallOptions).GetEkmConfig):len((*c.CallOptions).GetEkmConfig)], opts...)
+ var resp *kmspb.EkmConfig
+ err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {
+ var err error
+ resp, err = c.ekmClient.GetEkmConfig(ctx, req, settings.GRPC...)
+ return err
+ }, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return resp, nil
+}
+
+func (c *ekmGRPCClient) UpdateEkmConfig(ctx context.Context, req *kmspb.UpdateEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "ekm_config.name", url.QueryEscape(req.GetEkmConfig().GetName())))
+
+ ctx = insertMetadata(ctx, c.xGoogMetadata, md)
+ opts = append((*c.CallOptions).UpdateEkmConfig[0:len((*c.CallOptions).UpdateEkmConfig):len((*c.CallOptions).UpdateEkmConfig)], opts...)
+ var resp *kmspb.EkmConfig
+ err := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {
+ var err error
+ resp, err = c.ekmClient.UpdateEkmConfig(ctx, req, settings.GRPC...)
+ return err
+ }, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return resp, nil
+}
+
func (c *ekmGRPCClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {
md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName())))
@@ -977,6 +1031,138 @@ func (c *ekmRESTClient) UpdateEkmConnection(ctx context.Context, req *kmspb.Upda
return resp, nil
}
+// GetEkmConfig returns the EkmConfig singleton resource
+// for a given project and location.
+func (c *ekmRESTClient) GetEkmConfig(ctx context.Context, req *kmspb.GetEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ baseUrl, err := url.Parse(c.endpoint)
+ if err != nil {
+ return nil, err
+ }
+ baseUrl.Path += fmt.Sprintf("/v1/%v", req.GetName())
+
+ params := url.Values{}
+ params.Add("$alt", "json;enum-encoding=int")
+
+ baseUrl.RawQuery = params.Encode()
+
+ // Build HTTP headers from client and context metadata.
+ md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "name", url.QueryEscape(req.GetName())))
+
+ headers := buildHeaders(ctx, c.xGoogMetadata, md, metadata.Pairs("Content-Type", "application/json"))
+ opts = append((*c.CallOptions).GetEkmConfig[0:len((*c.CallOptions).GetEkmConfig):len((*c.CallOptions).GetEkmConfig)], opts...)
+ unm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}
+ resp := &kmspb.EkmConfig{}
+ e := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {
+ if settings.Path != "" {
+ baseUrl.Path = settings.Path
+ }
+ httpReq, err := http.NewRequest("GET", baseUrl.String(), nil)
+ if err != nil {
+ return err
+ }
+ httpReq = httpReq.WithContext(ctx)
+ httpReq.Header = headers
+
+ httpRsp, err := c.httpClient.Do(httpReq)
+ if err != nil {
+ return err
+ }
+ defer httpRsp.Body.Close()
+
+ if err = googleapi.CheckResponse(httpRsp); err != nil {
+ return err
+ }
+
+ buf, err := ioutil.ReadAll(httpRsp.Body)
+ if err != nil {
+ return err
+ }
+
+ if err := unm.Unmarshal(buf, resp); err != nil {
+ return maybeUnknownEnum(err)
+ }
+
+ return nil
+ }, opts...)
+ if e != nil {
+ return nil, e
+ }
+ return resp, nil
+}
+
+// UpdateEkmConfig updates the EkmConfig singleton resource
+// for a given project and location.
+func (c *ekmRESTClient) UpdateEkmConfig(ctx context.Context, req *kmspb.UpdateEkmConfigRequest, opts ...gax.CallOption) (*kmspb.EkmConfig, error) {
+ m := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}
+ body := req.GetEkmConfig()
+ jsonReq, err := m.Marshal(body)
+ if err != nil {
+ return nil, err
+ }
+
+ baseUrl, err := url.Parse(c.endpoint)
+ if err != nil {
+ return nil, err
+ }
+ baseUrl.Path += fmt.Sprintf("/v1/%v", req.GetEkmConfig().GetName())
+
+ params := url.Values{}
+ params.Add("$alt", "json;enum-encoding=int")
+ if req.GetUpdateMask() != nil {
+ updateMask, err := protojson.Marshal(req.GetUpdateMask())
+ if err != nil {
+ return nil, err
+ }
+ params.Add("updateMask", string(updateMask))
+ }
+
+ baseUrl.RawQuery = params.Encode()
+
+ // Build HTTP headers from client and context metadata.
+ md := metadata.Pairs("x-goog-request-params", fmt.Sprintf("%s=%v", "ekm_config.name", url.QueryEscape(req.GetEkmConfig().GetName())))
+
+ headers := buildHeaders(ctx, c.xGoogMetadata, md, metadata.Pairs("Content-Type", "application/json"))
+ opts = append((*c.CallOptions).UpdateEkmConfig[0:len((*c.CallOptions).UpdateEkmConfig):len((*c.CallOptions).UpdateEkmConfig)], opts...)
+ unm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}
+ resp := &kmspb.EkmConfig{}
+ e := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {
+ if settings.Path != "" {
+ baseUrl.Path = settings.Path
+ }
+ httpReq, err := http.NewRequest("PATCH", baseUrl.String(), bytes.NewReader(jsonReq))
+ if err != nil {
+ return err
+ }
+ httpReq = httpReq.WithContext(ctx)
+ httpReq.Header = headers
+
+ httpRsp, err := c.httpClient.Do(httpReq)
+ if err != nil {
+ return err
+ }
+ defer httpRsp.Body.Close()
+
+ if err = googleapi.CheckResponse(httpRsp); err != nil {
+ return err
+ }
+
+ buf, err := ioutil.ReadAll(httpRsp.Body)
+ if err != nil {
+ return err
+ }
+
+ if err := unm.Unmarshal(buf, resp); err != nil {
+ return maybeUnknownEnum(err)
+ }
+
+ return nil
+ }, opts...)
+ if e != nil {
+ return nil, e
+ }
+ return resp, nil
+}
+
// GetLocation gets information about a location.
func (c *ekmRESTClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {
baseUrl, err := url.Parse(c.endpoint)
diff --git a/vendor/cloud.google.com/go/kms/apiv1/gapic_metadata.json b/vendor/cloud.google.com/go/kms/apiv1/gapic_metadata.json
deleted file mode 100644
index a45d004129..0000000000
--- a/vendor/cloud.google.com/go/kms/apiv1/gapic_metadata.json
+++ /dev/null
@@ -1,437 +0,0 @@
-{
- "schema": "1.0",
- "comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
- "language": "go",
- "protoPackage": "google.cloud.kms.v1",
- "libraryPackage": "cloud.google.com/go/kms/apiv1",
- "services": {
- "EkmService": {
- "clients": {
- "grpc": {
- "libraryClient": "EkmClient",
- "rpcs": {
- "CreateEkmConnection": {
- "methods": [
- "CreateEkmConnection"
- ]
- },
- "GetEkmConnection": {
- "methods": [
- "GetEkmConnection"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "GetIamPolicy"
- ]
- },
- "GetLocation": {
- "methods": [
- "GetLocation"
- ]
- },
- "ListEkmConnections": {
- "methods": [
- "ListEkmConnections"
- ]
- },
- "ListLocations": {
- "methods": [
- "ListLocations"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "SetIamPolicy"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "TestIamPermissions"
- ]
- },
- "UpdateEkmConnection": {
- "methods": [
- "UpdateEkmConnection"
- ]
- }
- }
- },
- "rest": {
- "libraryClient": "EkmClient",
- "rpcs": {
- "CreateEkmConnection": {
- "methods": [
- "CreateEkmConnection"
- ]
- },
- "GetEkmConnection": {
- "methods": [
- "GetEkmConnection"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "GetIamPolicy"
- ]
- },
- "GetLocation": {
- "methods": [
- "GetLocation"
- ]
- },
- "ListEkmConnections": {
- "methods": [
- "ListEkmConnections"
- ]
- },
- "ListLocations": {
- "methods": [
- "ListLocations"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "SetIamPolicy"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "TestIamPermissions"
- ]
- },
- "UpdateEkmConnection": {
- "methods": [
- "UpdateEkmConnection"
- ]
- }
- }
- }
- }
- },
- "KeyManagementService": {
- "clients": {
- "grpc": {
- "libraryClient": "KeyManagementClient",
- "rpcs": {
- "AsymmetricDecrypt": {
- "methods": [
- "AsymmetricDecrypt"
- ]
- },
- "AsymmetricSign": {
- "methods": [
- "AsymmetricSign"
- ]
- },
- "CreateCryptoKey": {
- "methods": [
- "CreateCryptoKey"
- ]
- },
- "CreateCryptoKeyVersion": {
- "methods": [
- "CreateCryptoKeyVersion"
- ]
- },
- "CreateImportJob": {
- "methods": [
- "CreateImportJob"
- ]
- },
- "CreateKeyRing": {
- "methods": [
- "CreateKeyRing"
- ]
- },
- "Decrypt": {
- "methods": [
- "Decrypt"
- ]
- },
- "DestroyCryptoKeyVersion": {
- "methods": [
- "DestroyCryptoKeyVersion"
- ]
- },
- "Encrypt": {
- "methods": [
- "Encrypt"
- ]
- },
- "GenerateRandomBytes": {
- "methods": [
- "GenerateRandomBytes"
- ]
- },
- "GetCryptoKey": {
- "methods": [
- "GetCryptoKey"
- ]
- },
- "GetCryptoKeyVersion": {
- "methods": [
- "GetCryptoKeyVersion"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "GetIamPolicy"
- ]
- },
- "GetImportJob": {
- "methods": [
- "GetImportJob"
- ]
- },
- "GetKeyRing": {
- "methods": [
- "GetKeyRing"
- ]
- },
- "GetLocation": {
- "methods": [
- "GetLocation"
- ]
- },
- "GetPublicKey": {
- "methods": [
- "GetPublicKey"
- ]
- },
- "ImportCryptoKeyVersion": {
- "methods": [
- "ImportCryptoKeyVersion"
- ]
- },
- "ListCryptoKeyVersions": {
- "methods": [
- "ListCryptoKeyVersions"
- ]
- },
- "ListCryptoKeys": {
- "methods": [
- "ListCryptoKeys"
- ]
- },
- "ListImportJobs": {
- "methods": [
- "ListImportJobs"
- ]
- },
- "ListKeyRings": {
- "methods": [
- "ListKeyRings"
- ]
- },
- "ListLocations": {
- "methods": [
- "ListLocations"
- ]
- },
- "MacSign": {
- "methods": [
- "MacSign"
- ]
- },
- "MacVerify": {
- "methods": [
- "MacVerify"
- ]
- },
- "RestoreCryptoKeyVersion": {
- "methods": [
- "RestoreCryptoKeyVersion"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "SetIamPolicy"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "TestIamPermissions"
- ]
- },
- "UpdateCryptoKey": {
- "methods": [
- "UpdateCryptoKey"
- ]
- },
- "UpdateCryptoKeyPrimaryVersion": {
- "methods": [
- "UpdateCryptoKeyPrimaryVersion"
- ]
- },
- "UpdateCryptoKeyVersion": {
- "methods": [
- "UpdateCryptoKeyVersion"
- ]
- }
- }
- },
- "rest": {
- "libraryClient": "KeyManagementClient",
- "rpcs": {
- "AsymmetricDecrypt": {
- "methods": [
- "AsymmetricDecrypt"
- ]
- },
- "AsymmetricSign": {
- "methods": [
- "AsymmetricSign"
- ]
- },
- "CreateCryptoKey": {
- "methods": [
- "CreateCryptoKey"
- ]
- },
- "CreateCryptoKeyVersion": {
- "methods": [
- "CreateCryptoKeyVersion"
- ]
- },
- "CreateImportJob": {
- "methods": [
- "CreateImportJob"
- ]
- },
- "CreateKeyRing": {
- "methods": [
- "CreateKeyRing"
- ]
- },
- "Decrypt": {
- "methods": [
- "Decrypt"
- ]
- },
- "DestroyCryptoKeyVersion": {
- "methods": [
- "DestroyCryptoKeyVersion"
- ]
- },
- "Encrypt": {
- "methods": [
- "Encrypt"
- ]
- },
- "GenerateRandomBytes": {
- "methods": [
- "GenerateRandomBytes"
- ]
- },
- "GetCryptoKey": {
- "methods": [
- "GetCryptoKey"
- ]
- },
- "GetCryptoKeyVersion": {
- "methods": [
- "GetCryptoKeyVersion"
- ]
- },
- "GetIamPolicy": {
- "methods": [
- "GetIamPolicy"
- ]
- },
- "GetImportJob": {
- "methods": [
- "GetImportJob"
- ]
- },
- "GetKeyRing": {
- "methods": [
- "GetKeyRing"
- ]
- },
- "GetLocation": {
- "methods": [
- "GetLocation"
- ]
- },
- "GetPublicKey": {
- "methods": [
- "GetPublicKey"
- ]
- },
- "ImportCryptoKeyVersion": {
- "methods": [
- "ImportCryptoKeyVersion"
- ]
- },
- "ListCryptoKeyVersions": {
- "methods": [
- "ListCryptoKeyVersions"
- ]
- },
- "ListCryptoKeys": {
- "methods": [
- "ListCryptoKeys"
- ]
- },
- "ListImportJobs": {
- "methods": [
- "ListImportJobs"
- ]
- },
- "ListKeyRings": {
- "methods": [
- "ListKeyRings"
- ]
- },
- "ListLocations": {
- "methods": [
- "ListLocations"
- ]
- },
- "MacSign": {
- "methods": [
- "MacSign"
- ]
- },
- "MacVerify": {
- "methods": [
- "MacVerify"
- ]
- },
- "RestoreCryptoKeyVersion": {
- "methods": [
- "RestoreCryptoKeyVersion"
- ]
- },
- "SetIamPolicy": {
- "methods": [
- "SetIamPolicy"
- ]
- },
- "TestIamPermissions": {
- "methods": [
- "TestIamPermissions"
- ]
- },
- "UpdateCryptoKey": {
- "methods": [
- "UpdateCryptoKey"
- ]
- },
- "UpdateCryptoKeyPrimaryVersion": {
- "methods": [
- "UpdateCryptoKeyPrimaryVersion"
- ]
- },
- "UpdateCryptoKeyVersion": {
- "methods": [
- "UpdateCryptoKeyVersion"
- ]
- }
- }
- }
- }
- }
- }
-}
diff --git a/vendor/cloud.google.com/go/kms/apiv1/iam.go b/vendor/cloud.google.com/go/kms/apiv1/iam.go
index 9fb2a6ab3b..a86b08a6c0 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/iam.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/iam.go
@@ -16,7 +16,7 @@ package kms
import (
"cloud.google.com/go/iam"
- kmspb "google.golang.org/genproto/googleapis/cloud/kms/v1"
+ "cloud.google.com/go/kms/apiv1/kmspb"
)
// KeyRingIAM returns a handle to inspect and change permissions of a KeyRing.
diff --git a/vendor/cloud.google.com/go/kms/apiv1/key_management_client.go b/vendor/cloud.google.com/go/kms/apiv1/key_management_client.go
index a3471fd1c4..b98565b2b9 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/key_management_client.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/key_management_client.go
@@ -26,6 +26,7 @@ import (
"net/url"
"time"
+ iampb "cloud.google.com/go/iam/apiv1/iampb"
kmspb "cloud.google.com/go/kms/apiv1/kmspb"
gax "github.com/googleapis/gax-go/v2"
"google.golang.org/api/googleapi"
@@ -35,7 +36,6 @@ import (
gtransport "google.golang.org/api/transport/grpc"
httptransport "google.golang.org/api/transport/http"
locationpb "google.golang.org/genproto/googleapis/cloud/location"
- iampb "google.golang.org/genproto/googleapis/iam/v1"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
diff --git a/vendor/cloud.google.com/go/kms/apiv1/kmspb/ekm_service.pb.go b/vendor/cloud.google.com/go/kms/apiv1/kmspb/ekm_service.pb.go
index 2cf0cd4f4f..0faa8f04a3 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/kmspb/ekm_service.pb.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/kmspb/ekm_service.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc-gen-go v1.28.1
+// protoc v3.21.12
// source: google/cloud/kms/v1/ekm_service.proto
package kmspb
@@ -42,6 +42,85 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
+// [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode]
+// describes who can perform control plane cryptographic operations using this
+// [EkmConnection][google.cloud.kms.v1.EkmConnection].
+type EkmConnection_KeyManagementMode int32
+
+const (
+ // Not specified.
+ EkmConnection_KEY_MANAGEMENT_MODE_UNSPECIFIED EkmConnection_KeyManagementMode = 0
+ // EKM-side key management operations on
+ // [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection] must be initiated from
+ // the EKM directly and cannot be performed from Cloud KMS. This means that:
+ // * When creating a
+ // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] associated with
+ // this
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection], the caller must
+ // supply the key path of pre-existing external key material that will be
+ // linked to the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
+ // * Destruction of external key material cannot be requested via the
+ // Cloud KMS API and must be performed directly in the EKM.
+ // * Automatic rotation of key material is not supported.
+ EkmConnection_MANUAL EkmConnection_KeyManagementMode = 1
+ // All [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection] use EKM-side key
+ // management operations initiated from Cloud KMS. This means that:
+ // * When a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
+ // associated with this [EkmConnection][google.cloud.kms.v1.EkmConnection]
+ // is
+ // created, the EKM automatically generates new key material and a new
+ // key path. The caller cannot supply the key path of pre-existing
+ // external key material.
+ // * Destruction of external key material associated with this
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection] can be requested by
+ // calling [DestroyCryptoKeyVersion][EkmService.DestroyCryptoKeyVersion].
+ // * Automatic rotation of key material is supported.
+ EkmConnection_CLOUD_KMS EkmConnection_KeyManagementMode = 2
+)
+
+// Enum value maps for EkmConnection_KeyManagementMode.
+var (
+ EkmConnection_KeyManagementMode_name = map[int32]string{
+ 0: "KEY_MANAGEMENT_MODE_UNSPECIFIED",
+ 1: "MANUAL",
+ 2: "CLOUD_KMS",
+ }
+ EkmConnection_KeyManagementMode_value = map[string]int32{
+ "KEY_MANAGEMENT_MODE_UNSPECIFIED": 0,
+ "MANUAL": 1,
+ "CLOUD_KMS": 2,
+ }
+)
+
+func (x EkmConnection_KeyManagementMode) Enum() *EkmConnection_KeyManagementMode {
+ p := new(EkmConnection_KeyManagementMode)
+ *p = x
+ return p
+}
+
+func (x EkmConnection_KeyManagementMode) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (EkmConnection_KeyManagementMode) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_cloud_kms_v1_ekm_service_proto_enumTypes[0].Descriptor()
+}
+
+func (EkmConnection_KeyManagementMode) Type() protoreflect.EnumType {
+ return &file_google_cloud_kms_v1_ekm_service_proto_enumTypes[0]
+}
+
+func (x EkmConnection_KeyManagementMode) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use EkmConnection_KeyManagementMode.Descriptor instead.
+func (EkmConnection_KeyManagementMode) EnumDescriptor() ([]byte, []int) {
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{8, 0}
+}
+
// Request message for
// [EkmService.ListEkmConnections][google.cloud.kms.v1.EkmService.ListEkmConnections].
type ListEkmConnectionsRequest struct {
@@ -397,6 +476,116 @@ func (x *UpdateEkmConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
return nil
}
+// Request message for
+// [EkmService.GetEkmConfig][google.cloud.kms.v1.EkmService.GetEkmConfig].
+type GetEkmConfigRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Required. The [name][google.cloud.kms.v1.EkmConfig.name] of the
+ // [EkmConfig][google.cloud.kms.v1.EkmConfig] to get.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+}
+
+func (x *GetEkmConfigRequest) Reset() {
+ *x = GetEkmConfigRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetEkmConfigRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetEkmConfigRequest) ProtoMessage() {}
+
+func (x *GetEkmConfigRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetEkmConfigRequest.ProtoReflect.Descriptor instead.
+func (*GetEkmConfigRequest) Descriptor() ([]byte, []int) {
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *GetEkmConfigRequest) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+// Request message for
+// [EkmService.UpdateEkmConfig][google.cloud.kms.v1.EkmService.UpdateEkmConfig].
+type UpdateEkmConfigRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Required. [EkmConfig][google.cloud.kms.v1.EkmConfig] with updated values.
+ EkmConfig *EkmConfig `protobuf:"bytes,1,opt,name=ekm_config,json=ekmConfig,proto3" json:"ekm_config,omitempty"`
+ // Required. List of fields to be updated in this request.
+ UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
+}
+
+func (x *UpdateEkmConfigRequest) Reset() {
+ *x = UpdateEkmConfigRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdateEkmConfigRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateEkmConfigRequest) ProtoMessage() {}
+
+func (x *UpdateEkmConfigRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdateEkmConfigRequest.ProtoReflect.Descriptor instead.
+func (*UpdateEkmConfigRequest) Descriptor() ([]byte, []int) {
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *UpdateEkmConfigRequest) GetEkmConfig() *EkmConfig {
+ if x != nil {
+ return x.EkmConfig
+ }
+ return nil
+}
+
+func (x *UpdateEkmConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
+ if x != nil {
+ return x.UpdateMask
+ }
+ return nil
+}
+
// A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509
// certificate used to authenticate HTTPS connections to EKM replicas.
type Certificate struct {
@@ -434,7 +623,7 @@ type Certificate struct {
func (x *Certificate) Reset() {
*x = Certificate{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[5]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -447,7 +636,7 @@ func (x *Certificate) String() string {
func (*Certificate) ProtoMessage() {}
func (x *Certificate) ProtoReflect() protoreflect.Message {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[5]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -460,7 +649,7 @@ func (x *Certificate) ProtoReflect() protoreflect.Message {
// Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) Descriptor() ([]byte, []int) {
- return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{5}
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{7}
}
func (x *Certificate) GetRawDer() []byte {
@@ -556,12 +745,22 @@ type EkmConnection struct {
// Optional. Etag of the currently stored
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
+ // Optional. Describes who can perform control plane operations on the EKM. If
+ // unset, this defaults to
+ // [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL].
+ KeyManagementMode EkmConnection_KeyManagementMode `protobuf:"varint,6,opt,name=key_management_mode,json=keyManagementMode,proto3,enum=google.cloud.kms.v1.EkmConnection_KeyManagementMode" json:"key_management_mode,omitempty"`
+ // Optional. Identifies the EKM Crypto Space that this
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This
+ // field is required if
+ // [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is
+ // [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS].
+ CryptoSpacePath string `protobuf:"bytes,7,opt,name=crypto_space_path,json=cryptoSpacePath,proto3" json:"crypto_space_path,omitempty"`
}
func (x *EkmConnection) Reset() {
*x = EkmConnection{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[6]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -574,7 +773,7 @@ func (x *EkmConnection) String() string {
func (*EkmConnection) ProtoMessage() {}
func (x *EkmConnection) ProtoReflect() protoreflect.Message {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[6]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -587,7 +786,7 @@ func (x *EkmConnection) ProtoReflect() protoreflect.Message {
// Deprecated: Use EkmConnection.ProtoReflect.Descriptor instead.
func (*EkmConnection) Descriptor() ([]byte, []int) {
- return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{6}
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{8}
}
func (x *EkmConnection) GetName() string {
@@ -618,6 +817,88 @@ func (x *EkmConnection) GetEtag() string {
return ""
}
+func (x *EkmConnection) GetKeyManagementMode() EkmConnection_KeyManagementMode {
+ if x != nil {
+ return x.KeyManagementMode
+ }
+ return EkmConnection_KEY_MANAGEMENT_MODE_UNSPECIFIED
+}
+
+func (x *EkmConnection) GetCryptoSpacePath() string {
+ if x != nil {
+ return x.CryptoSpacePath
+ }
+ return ""
+}
+
+// An [EkmConfig][google.cloud.kms.v1.EkmConfig] is a singleton resource that
+// represents configuration parameters that apply to all
+// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
+// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
+// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
+// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC] in a given
+// project and location.
+type EkmConfig struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Output only. The resource name for the
+ // [EkmConfig][google.cloud.kms.v1.EkmConfig] in the format
+ // `projects/*/locations/*/ekmConfig`.
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // Optional. Resource name of the default
+ // [EkmConnection][google.cloud.kms.v1.EkmConnection]. Setting this field to
+ // the empty string removes the default.
+ DefaultEkmConnection string `protobuf:"bytes,2,opt,name=default_ekm_connection,json=defaultEkmConnection,proto3" json:"default_ekm_connection,omitempty"`
+}
+
+func (x *EkmConfig) Reset() {
+ *x = EkmConfig{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EkmConfig) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EkmConfig) ProtoMessage() {}
+
+func (x *EkmConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EkmConfig.ProtoReflect.Descriptor instead.
+func (*EkmConfig) Descriptor() ([]byte, []int) {
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *EkmConfig) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *EkmConfig) GetDefaultEkmConnection() string {
+ if x != nil {
+ return x.DefaultEkmConnection
+ }
+ return ""
+}
+
// A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver]
// represents an EKM replica that can be reached within an
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
@@ -648,7 +929,7 @@ type EkmConnection_ServiceResolver struct {
func (x *EkmConnection_ServiceResolver) Reset() {
*x = EkmConnection_ServiceResolver{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[7]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -661,7 +942,7 @@ func (x *EkmConnection_ServiceResolver) String() string {
func (*EkmConnection_ServiceResolver) ProtoMessage() {}
func (x *EkmConnection_ServiceResolver) ProtoReflect() protoreflect.Message {
- mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[7]
+ mi := &file_google_cloud_kms_v1_ekm_service_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -674,7 +955,7 @@ func (x *EkmConnection_ServiceResolver) ProtoReflect() protoreflect.Message {
// Deprecated: Use EkmConnection_ServiceResolver.ProtoReflect.Descriptor instead.
func (*EkmConnection_ServiceResolver) Descriptor() ([]byte, []int) {
- return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{6, 0}
+ return file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP(), []int{8, 0}
}
func (x *EkmConnection_ServiceResolver) GetServiceDirectoryService() string {
@@ -779,152 +1060,218 @@ var file_google_cloud_kms_v1_ekm_service_proto_rawDesc = []byte{
0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xba, 0x03, 0x0a, 0x0b,
- 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x72,
- 0x61, 0x77, 0x5f, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41,
- 0x02, 0x52, 0x06, 0x72, 0x61, 0x77, 0x44, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72,
- 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06,
- 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x69, 0x73, 0x73,
- 0x75, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65,
- 0x63, 0x74, 0x12, 0x46, 0x0a, 0x1d, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61,
- 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a,
- 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69,
- 0x76, 0x65, 0x44, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0f, 0x6e, 0x6f,
- 0x74, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
- 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x6e, 0x6f,
- 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65,
- 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75,
- 0x6d, 0x62, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x12, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x5f, 0x66,
- 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x46, 0x69, 0x6e,
- 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x22, 0x81, 0x05, 0x0a, 0x0d, 0x45, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5f, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
- 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f,
- 0x6c, 0x76, 0x65, 0x72, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
- 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x1a,
- 0xa5, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c,
- 0x76, 0x65, 0x72, 0x12, 0x6b, 0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64,
- 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x12, 0x2c, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e,
- 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1f,
- 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x56, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
- 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x54, 0x0a, 0x13, 0x47,
+ 0x65, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b,
+ 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
+ 0x6d, 0x2f, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0a,
+ 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
+ 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
+ 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
+ 0x73, 0x6b, 0x22, 0xba, 0x03, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
+ 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x72, 0x61, 0x77, 0x44, 0x65, 0x72,
+ 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a,
+ 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
+ 0x41, 0x03, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x75,
+ 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
+ 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x1d, 0x73, 0x75, 0x62,
+ 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x44, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65,
+ 0x73, 0x12, 0x47, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x74,
+ 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x6e, 0x6f,
+ 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
+ 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x6e, 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x54, 0x69, 0x6d,
+ 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73,
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x12, 0x73,
+ 0x68, 0x61, 0x32, 0x35, 0x36, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e,
+ 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x73, 0x68,
+ 0x61, 0x32, 0x35, 0x36, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x22,
+ 0xf2, 0x06, 0x0a, 0x0d, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
+ 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
+ 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5f, 0x0a, 0x11,
+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b,
+ 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x52, 0x10, 0x73, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x73, 0x12, 0x17, 0x0a,
+ 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
+ 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x69, 0x0a, 0x13, 0x6b, 0x65, 0x79, 0x5f, 0x6d, 0x61,
+ 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
+ 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11,
+ 0x6b, 0x65, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64,
+ 0x65, 0x12, 0x2f, 0x0a, 0x11, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x73, 0x70, 0x61, 0x63,
+ 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
+ 0x01, 0x52, 0x0f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x53, 0x70, 0x61, 0x63, 0x65, 0x50, 0x61,
+ 0x74, 0x68, 0x1a, 0xa5, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65,
+ 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x12, 0x6b, 0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41,
+ 0x29, 0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x6f, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x17, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f,
+ 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
+ 0x01, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x12, 0x1f, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72,
+ 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b,
+ 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
+ 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65,
+ 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x11, 0x4b, 0x65,
+ 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12,
+ 0x23, 0x0a, 0x1f, 0x4b, 0x45, 0x59, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, 0x4e,
+ 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01,
+ 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x4b, 0x4d, 0x53, 0x10, 0x02, 0x3a,
+ 0x73, 0xea, 0x41, 0x70, 0x0a, 0x25, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6b,
+ 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f,
+ 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xe4, 0x01, 0x0a, 0x09, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66,
+ 0x69, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x64,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d, 0xe0, 0x41, 0x01,
+ 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6b, 0x6d,
+ 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x64, 0x65, 0x66, 0x61,
+ 0x75, 0x6c, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x3a, 0x59, 0xea, 0x41, 0x56, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45,
+ 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x31, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x7d, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x8e, 0x0a, 0x0a, 0x0a,
+ 0x45, 0x6b, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x12, 0x4c,
+ 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
+ 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
+ 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x2f,
+ 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
+ 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x41,
+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x45,
+ 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e,
- 0x76, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x03,
- 0xe0, 0x41, 0x02, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69,
- 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x73, 0xea, 0x41, 0x70, 0x0a, 0x25, 0x63, 0x6c,
- 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
- 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x65, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x65, 0x6b, 0x6d,
- 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x32, 0xb1, 0x07, 0x0a,
- 0x0a, 0x45, 0x6b, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x12,
- 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
- 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
- 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31,
- 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
- 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
- 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xda,
- 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74,
- 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73,
- 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76,
- 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
- 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
- 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e,
- 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0xe0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31,
+ 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
+ 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0xe0, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e,
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31,
- 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76,
- 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
- 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x22, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
- 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x65, 0x6b, 0x6d,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0e, 0x65, 0x6b, 0x6d,
- 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x27, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2c, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xe2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e,
+ 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x74,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x22, 0x32, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
+ 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x65, 0x6b, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0e, 0x65, 0x6b, 0x6d, 0x5f,
+ 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x27, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x2c, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2c, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xe2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45,
+ 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e,
+ 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73,
- 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e,
- 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d,
- 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x76, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x32, 0x41, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
- 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x6b, 0x6d, 0x43,
- 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0e, 0x65,
- 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x1a,
- 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2c, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x1a, 0x74, 0xca, 0x41, 0x17, 0x63,
- 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
- 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x57, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f,
- 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70,
- 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
- 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
- 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73,
- 0x42, 0x92, 0x02, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x45, 0x6b,
- 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
- 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6b, 0x6d, 0x73,
- 0x2f, 0x76, 0x31, 0x3b, 0x6b, 0x6d, 0x73, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31,
- 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
- 0x4b, 0x6d, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x41, 0x7c, 0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x12, 0x51, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6e, 0x61, 0x6d, 0x65,
- 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
- 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x22, 0x76, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x32, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x6e,
+ 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
+ 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0e, 0x65, 0x6b,
+ 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x1a, 0x65,
+ 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2c, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x94, 0x01, 0x0a, 0x0c, 0x47, 0x65,
+ 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31,
+ 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
+ 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76,
+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
+ 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65,
+ 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0xc3, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
+ 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
+ 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x22, 0x63, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
+ 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x6b, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x7d, 0x3a, 0x0a, 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xda, 0x41, 0x16,
+ 0x65, 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x1a, 0x74, 0xca, 0x41, 0x17, 0x63, 0x6c, 0x6f, 0x75, 0x64,
+ 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
+ 0x6f, 0x6d, 0xd2, 0x41, 0x57, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66,
+ 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
+ 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x42, 0x85, 0x02, 0x0a,
+ 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
+ 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x45, 0x6b, 0x6d, 0x53, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f,
+ 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
+ 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6b, 0x6d, 0x73, 0x70, 0x62,
+ 0x3b, 0x6b, 0x6d, 0x73, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31, 0xca,
+ 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4b,
+ 0x6d, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x41, 0x7c, 0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x12, 0x51, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
+ 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
+ 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
+ 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -939,42 +1286,54 @@ func file_google_cloud_kms_v1_ekm_service_proto_rawDescGZIP() []byte {
return file_google_cloud_kms_v1_ekm_service_proto_rawDescData
}
-var file_google_cloud_kms_v1_ekm_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
+var file_google_cloud_kms_v1_ekm_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_google_cloud_kms_v1_ekm_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_google_cloud_kms_v1_ekm_service_proto_goTypes = []interface{}{
- (*ListEkmConnectionsRequest)(nil), // 0: google.cloud.kms.v1.ListEkmConnectionsRequest
- (*ListEkmConnectionsResponse)(nil), // 1: google.cloud.kms.v1.ListEkmConnectionsResponse
- (*GetEkmConnectionRequest)(nil), // 2: google.cloud.kms.v1.GetEkmConnectionRequest
- (*CreateEkmConnectionRequest)(nil), // 3: google.cloud.kms.v1.CreateEkmConnectionRequest
- (*UpdateEkmConnectionRequest)(nil), // 4: google.cloud.kms.v1.UpdateEkmConnectionRequest
- (*Certificate)(nil), // 5: google.cloud.kms.v1.Certificate
- (*EkmConnection)(nil), // 6: google.cloud.kms.v1.EkmConnection
- (*EkmConnection_ServiceResolver)(nil), // 7: google.cloud.kms.v1.EkmConnection.ServiceResolver
- (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
- (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
+ (EkmConnection_KeyManagementMode)(0), // 0: google.cloud.kms.v1.EkmConnection.KeyManagementMode
+ (*ListEkmConnectionsRequest)(nil), // 1: google.cloud.kms.v1.ListEkmConnectionsRequest
+ (*ListEkmConnectionsResponse)(nil), // 2: google.cloud.kms.v1.ListEkmConnectionsResponse
+ (*GetEkmConnectionRequest)(nil), // 3: google.cloud.kms.v1.GetEkmConnectionRequest
+ (*CreateEkmConnectionRequest)(nil), // 4: google.cloud.kms.v1.CreateEkmConnectionRequest
+ (*UpdateEkmConnectionRequest)(nil), // 5: google.cloud.kms.v1.UpdateEkmConnectionRequest
+ (*GetEkmConfigRequest)(nil), // 6: google.cloud.kms.v1.GetEkmConfigRequest
+ (*UpdateEkmConfigRequest)(nil), // 7: google.cloud.kms.v1.UpdateEkmConfigRequest
+ (*Certificate)(nil), // 8: google.cloud.kms.v1.Certificate
+ (*EkmConnection)(nil), // 9: google.cloud.kms.v1.EkmConnection
+ (*EkmConfig)(nil), // 10: google.cloud.kms.v1.EkmConfig
+ (*EkmConnection_ServiceResolver)(nil), // 11: google.cloud.kms.v1.EkmConnection.ServiceResolver
+ (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask
+ (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
}
var file_google_cloud_kms_v1_ekm_service_proto_depIdxs = []int32{
- 6, // 0: google.cloud.kms.v1.ListEkmConnectionsResponse.ekm_connections:type_name -> google.cloud.kms.v1.EkmConnection
- 6, // 1: google.cloud.kms.v1.CreateEkmConnectionRequest.ekm_connection:type_name -> google.cloud.kms.v1.EkmConnection
- 6, // 2: google.cloud.kms.v1.UpdateEkmConnectionRequest.ekm_connection:type_name -> google.cloud.kms.v1.EkmConnection
- 8, // 3: google.cloud.kms.v1.UpdateEkmConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
- 9, // 4: google.cloud.kms.v1.Certificate.not_before_time:type_name -> google.protobuf.Timestamp
- 9, // 5: google.cloud.kms.v1.Certificate.not_after_time:type_name -> google.protobuf.Timestamp
- 9, // 6: google.cloud.kms.v1.EkmConnection.create_time:type_name -> google.protobuf.Timestamp
- 7, // 7: google.cloud.kms.v1.EkmConnection.service_resolvers:type_name -> google.cloud.kms.v1.EkmConnection.ServiceResolver
- 5, // 8: google.cloud.kms.v1.EkmConnection.ServiceResolver.server_certificates:type_name -> google.cloud.kms.v1.Certificate
- 0, // 9: google.cloud.kms.v1.EkmService.ListEkmConnections:input_type -> google.cloud.kms.v1.ListEkmConnectionsRequest
- 2, // 10: google.cloud.kms.v1.EkmService.GetEkmConnection:input_type -> google.cloud.kms.v1.GetEkmConnectionRequest
- 3, // 11: google.cloud.kms.v1.EkmService.CreateEkmConnection:input_type -> google.cloud.kms.v1.CreateEkmConnectionRequest
- 4, // 12: google.cloud.kms.v1.EkmService.UpdateEkmConnection:input_type -> google.cloud.kms.v1.UpdateEkmConnectionRequest
- 1, // 13: google.cloud.kms.v1.EkmService.ListEkmConnections:output_type -> google.cloud.kms.v1.ListEkmConnectionsResponse
- 6, // 14: google.cloud.kms.v1.EkmService.GetEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
- 6, // 15: google.cloud.kms.v1.EkmService.CreateEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
- 6, // 16: google.cloud.kms.v1.EkmService.UpdateEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
- 13, // [13:17] is the sub-list for method output_type
- 9, // [9:13] is the sub-list for method input_type
- 9, // [9:9] is the sub-list for extension type_name
- 9, // [9:9] is the sub-list for extension extendee
- 0, // [0:9] is the sub-list for field type_name
+ 9, // 0: google.cloud.kms.v1.ListEkmConnectionsResponse.ekm_connections:type_name -> google.cloud.kms.v1.EkmConnection
+ 9, // 1: google.cloud.kms.v1.CreateEkmConnectionRequest.ekm_connection:type_name -> google.cloud.kms.v1.EkmConnection
+ 9, // 2: google.cloud.kms.v1.UpdateEkmConnectionRequest.ekm_connection:type_name -> google.cloud.kms.v1.EkmConnection
+ 12, // 3: google.cloud.kms.v1.UpdateEkmConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 10, // 4: google.cloud.kms.v1.UpdateEkmConfigRequest.ekm_config:type_name -> google.cloud.kms.v1.EkmConfig
+ 12, // 5: google.cloud.kms.v1.UpdateEkmConfigRequest.update_mask:type_name -> google.protobuf.FieldMask
+ 13, // 6: google.cloud.kms.v1.Certificate.not_before_time:type_name -> google.protobuf.Timestamp
+ 13, // 7: google.cloud.kms.v1.Certificate.not_after_time:type_name -> google.protobuf.Timestamp
+ 13, // 8: google.cloud.kms.v1.EkmConnection.create_time:type_name -> google.protobuf.Timestamp
+ 11, // 9: google.cloud.kms.v1.EkmConnection.service_resolvers:type_name -> google.cloud.kms.v1.EkmConnection.ServiceResolver
+ 0, // 10: google.cloud.kms.v1.EkmConnection.key_management_mode:type_name -> google.cloud.kms.v1.EkmConnection.KeyManagementMode
+ 8, // 11: google.cloud.kms.v1.EkmConnection.ServiceResolver.server_certificates:type_name -> google.cloud.kms.v1.Certificate
+ 1, // 12: google.cloud.kms.v1.EkmService.ListEkmConnections:input_type -> google.cloud.kms.v1.ListEkmConnectionsRequest
+ 3, // 13: google.cloud.kms.v1.EkmService.GetEkmConnection:input_type -> google.cloud.kms.v1.GetEkmConnectionRequest
+ 4, // 14: google.cloud.kms.v1.EkmService.CreateEkmConnection:input_type -> google.cloud.kms.v1.CreateEkmConnectionRequest
+ 5, // 15: google.cloud.kms.v1.EkmService.UpdateEkmConnection:input_type -> google.cloud.kms.v1.UpdateEkmConnectionRequest
+ 6, // 16: google.cloud.kms.v1.EkmService.GetEkmConfig:input_type -> google.cloud.kms.v1.GetEkmConfigRequest
+ 7, // 17: google.cloud.kms.v1.EkmService.UpdateEkmConfig:input_type -> google.cloud.kms.v1.UpdateEkmConfigRequest
+ 2, // 18: google.cloud.kms.v1.EkmService.ListEkmConnections:output_type -> google.cloud.kms.v1.ListEkmConnectionsResponse
+ 9, // 19: google.cloud.kms.v1.EkmService.GetEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
+ 9, // 20: google.cloud.kms.v1.EkmService.CreateEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
+ 9, // 21: google.cloud.kms.v1.EkmService.UpdateEkmConnection:output_type -> google.cloud.kms.v1.EkmConnection
+ 10, // 22: google.cloud.kms.v1.EkmService.GetEkmConfig:output_type -> google.cloud.kms.v1.EkmConfig
+ 10, // 23: google.cloud.kms.v1.EkmService.UpdateEkmConfig:output_type -> google.cloud.kms.v1.EkmConfig
+ 18, // [18:24] is the sub-list for method output_type
+ 12, // [12:18] is the sub-list for method input_type
+ 12, // [12:12] is the sub-list for extension type_name
+ 12, // [12:12] is the sub-list for extension extendee
+ 0, // [0:12] is the sub-list for field type_name
}
func init() { file_google_cloud_kms_v1_ekm_service_proto_init() }
@@ -1044,7 +1403,7 @@ func file_google_cloud_kms_v1_ekm_service_proto_init() {
}
}
file_google_cloud_kms_v1_ekm_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Certificate); i {
+ switch v := v.(*GetEkmConfigRequest); i {
case 0:
return &v.state
case 1:
@@ -1056,7 +1415,7 @@ func file_google_cloud_kms_v1_ekm_service_proto_init() {
}
}
file_google_cloud_kms_v1_ekm_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EkmConnection); i {
+ switch v := v.(*UpdateEkmConfigRequest); i {
case 0:
return &v.state
case 1:
@@ -1068,6 +1427,42 @@ func file_google_cloud_kms_v1_ekm_service_proto_init() {
}
}
file_google_cloud_kms_v1_ekm_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Certificate); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_cloud_kms_v1_ekm_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EkmConnection); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_cloud_kms_v1_ekm_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EkmConfig); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_cloud_kms_v1_ekm_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EkmConnection_ServiceResolver); i {
case 0:
return &v.state
@@ -1085,13 +1480,14 @@ func file_google_cloud_kms_v1_ekm_service_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_cloud_kms_v1_ekm_service_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 8,
+ NumEnums: 1,
+ NumMessages: 11,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_google_cloud_kms_v1_ekm_service_proto_goTypes,
DependencyIndexes: file_google_cloud_kms_v1_ekm_service_proto_depIdxs,
+ EnumInfos: file_google_cloud_kms_v1_ekm_service_proto_enumTypes,
MessageInfos: file_google_cloud_kms_v1_ekm_service_proto_msgTypes,
}.Build()
File_google_cloud_kms_v1_ekm_service_proto = out.File
@@ -1122,6 +1518,12 @@ type EkmServiceClient interface {
CreateEkmConnection(ctx context.Context, in *CreateEkmConnectionRequest, opts ...grpc.CallOption) (*EkmConnection, error)
// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
UpdateEkmConnection(ctx context.Context, in *UpdateEkmConnectionRequest, opts ...grpc.CallOption) (*EkmConnection, error)
+ // Returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource
+ // for a given project and location.
+ GetEkmConfig(ctx context.Context, in *GetEkmConfigRequest, opts ...grpc.CallOption) (*EkmConfig, error)
+ // Updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource
+ // for a given project and location.
+ UpdateEkmConfig(ctx context.Context, in *UpdateEkmConfigRequest, opts ...grpc.CallOption) (*EkmConfig, error)
}
type ekmServiceClient struct {
@@ -1168,6 +1570,24 @@ func (c *ekmServiceClient) UpdateEkmConnection(ctx context.Context, in *UpdateEk
return out, nil
}
+func (c *ekmServiceClient) GetEkmConfig(ctx context.Context, in *GetEkmConfigRequest, opts ...grpc.CallOption) (*EkmConfig, error) {
+ out := new(EkmConfig)
+ err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.EkmService/GetEkmConfig", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *ekmServiceClient) UpdateEkmConfig(ctx context.Context, in *UpdateEkmConfigRequest, opts ...grpc.CallOption) (*EkmConfig, error) {
+ out := new(EkmConfig)
+ err := c.cc.Invoke(ctx, "/google.cloud.kms.v1.EkmService/UpdateEkmConfig", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
// EkmServiceServer is the server API for EkmService service.
type EkmServiceServer interface {
// Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
@@ -1180,6 +1600,12 @@ type EkmServiceServer interface {
CreateEkmConnection(context.Context, *CreateEkmConnectionRequest) (*EkmConnection, error)
// Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.
UpdateEkmConnection(context.Context, *UpdateEkmConnectionRequest) (*EkmConnection, error)
+ // Returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource
+ // for a given project and location.
+ GetEkmConfig(context.Context, *GetEkmConfigRequest) (*EkmConfig, error)
+ // Updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource
+ // for a given project and location.
+ UpdateEkmConfig(context.Context, *UpdateEkmConfigRequest) (*EkmConfig, error)
}
// UnimplementedEkmServiceServer can be embedded to have forward compatible implementations.
@@ -1198,6 +1624,12 @@ func (*UnimplementedEkmServiceServer) CreateEkmConnection(context.Context, *Crea
func (*UnimplementedEkmServiceServer) UpdateEkmConnection(context.Context, *UpdateEkmConnectionRequest) (*EkmConnection, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateEkmConnection not implemented")
}
+func (*UnimplementedEkmServiceServer) GetEkmConfig(context.Context, *GetEkmConfigRequest) (*EkmConfig, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetEkmConfig not implemented")
+}
+func (*UnimplementedEkmServiceServer) UpdateEkmConfig(context.Context, *UpdateEkmConfigRequest) (*EkmConfig, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateEkmConfig not implemented")
+}
func RegisterEkmServiceServer(s *grpc.Server, srv EkmServiceServer) {
s.RegisterService(&_EkmService_serviceDesc, srv)
@@ -1275,6 +1707,42 @@ func _EkmService_UpdateEkmConnection_Handler(srv interface{}, ctx context.Contex
return interceptor(ctx, in, info, handler)
}
+func _EkmService_GetEkmConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetEkmConfigRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(EkmServiceServer).GetEkmConfig(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/google.cloud.kms.v1.EkmService/GetEkmConfig",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(EkmServiceServer).GetEkmConfig(ctx, req.(*GetEkmConfigRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _EkmService_UpdateEkmConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(UpdateEkmConfigRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(EkmServiceServer).UpdateEkmConfig(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/google.cloud.kms.v1.EkmService/UpdateEkmConfig",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(EkmServiceServer).UpdateEkmConfig(ctx, req.(*UpdateEkmConfigRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
var _EkmService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.kms.v1.EkmService",
HandlerType: (*EkmServiceServer)(nil),
@@ -1295,6 +1763,14 @@ var _EkmService_serviceDesc = grpc.ServiceDesc{
MethodName: "UpdateEkmConnection",
Handler: _EkmService_UpdateEkmConnection_Handler,
},
+ {
+ MethodName: "GetEkmConfig",
+ Handler: _EkmService_GetEkmConfig_Handler,
+ },
+ {
+ MethodName: "UpdateEkmConfig",
+ Handler: _EkmService_UpdateEkmConfig_Handler,
+ },
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/kms/v1/ekm_service.proto",
diff --git a/vendor/cloud.google.com/go/kms/apiv1/kmspb/resources.pb.go b/vendor/cloud.google.com/go/kms/apiv1/kmspb/resources.pb.go
index 83b3568c94..7e04d4f49a 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/kmspb/resources.pb.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/kmspb/resources.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc-gen-go v1.28.1
+// protoc v3.21.12
// source: google/cloud/kms/v1/resources.proto
package kmspb
@@ -325,11 +325,17 @@ const (
// RSAES-OAEP 4096 bit key with a SHA1 digest.
CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA1 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 39
// ECDSA on the NIST P-256 curve with a SHA256 digest.
+ // Other hash functions can also be used:
+ // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
CryptoKeyVersion_EC_SIGN_P256_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 12
// ECDSA on the NIST P-384 curve with a SHA384 digest.
+ // Other hash functions can also be used:
+ // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
CryptoKeyVersion_EC_SIGN_P384_SHA384 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 13
// ECDSA on the non-NIST secp256k1 curve. This curve is only supported for
// HSM protection level.
+ // Other hash functions can also be used:
+ // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
CryptoKeyVersion_EC_SIGN_SECP256K1_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 31
// HMAC-SHA256 signing with a 256 bit key.
CryptoKeyVersion_HMAC_SHA256 CryptoKeyVersion_CryptoKeyVersionAlgorithm = 32
@@ -484,19 +490,36 @@ const (
// Additional details can be found in
// [CryptoKeyVersion.import_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.import_failure_reason].
CryptoKeyVersion_IMPORT_FAILED CryptoKeyVersion_CryptoKeyVersionState = 7
+ // This version was not generated successfully. It may not be used, enabled,
+ // disabled, or destroyed. Additional details can be found in
+ // [CryptoKeyVersion.generation_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.generation_failure_reason].
+ CryptoKeyVersion_GENERATION_FAILED CryptoKeyVersion_CryptoKeyVersionState = 8
+ // This version was destroyed, and it may not be used or enabled again.
+ // Cloud KMS is waiting for the corresponding key material residing in an
+ // external key manager to be destroyed.
+ CryptoKeyVersion_PENDING_EXTERNAL_DESTRUCTION CryptoKeyVersion_CryptoKeyVersionState = 9
+ // This version was destroyed, and it may not be used or enabled again.
+ // However, Cloud KMS could not confirm that the corresponding key material
+ // residing in an external key manager was destroyed. Additional details can
+ // be found in
+ // [CryptoKeyVersion.external_destruction_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.external_destruction_failure_reason].
+ CryptoKeyVersion_EXTERNAL_DESTRUCTION_FAILED CryptoKeyVersion_CryptoKeyVersionState = 10
)
// Enum value maps for CryptoKeyVersion_CryptoKeyVersionState.
var (
CryptoKeyVersion_CryptoKeyVersionState_name = map[int32]string{
- 0: "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED",
- 5: "PENDING_GENERATION",
- 1: "ENABLED",
- 2: "DISABLED",
- 3: "DESTROYED",
- 4: "DESTROY_SCHEDULED",
- 6: "PENDING_IMPORT",
- 7: "IMPORT_FAILED",
+ 0: "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED",
+ 5: "PENDING_GENERATION",
+ 1: "ENABLED",
+ 2: "DISABLED",
+ 3: "DESTROYED",
+ 4: "DESTROY_SCHEDULED",
+ 6: "PENDING_IMPORT",
+ 7: "IMPORT_FAILED",
+ 8: "GENERATION_FAILED",
+ 9: "PENDING_EXTERNAL_DESTRUCTION",
+ 10: "EXTERNAL_DESTRUCTION_FAILED",
}
CryptoKeyVersion_CryptoKeyVersionState_value = map[string]int32{
"CRYPTO_KEY_VERSION_STATE_UNSPECIFIED": 0,
@@ -507,6 +530,9 @@ var (
"DESTROY_SCHEDULED": 4,
"PENDING_IMPORT": 6,
"IMPORT_FAILED": 7,
+ "GENERATION_FAILED": 8,
+ "PENDING_EXTERNAL_DESTRUCTION": 9,
+ "EXTERNAL_DESTRUCTION_FAILED": 10,
}
)
@@ -875,7 +901,6 @@ type CryptoKey struct {
// Controls the rate of automatic rotation.
//
// Types that are assignable to RotationSchedule:
- //
// *CryptoKey_RotationPeriod
RotationSchedule isCryptoKey_RotationSchedule `protobuf_oneof:"rotation_schedule"`
// A template describing settings for new
@@ -1261,6 +1286,15 @@ type CryptoKeyVersion struct {
// if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
// [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED].
ImportFailureReason string `protobuf:"bytes,16,opt,name=import_failure_reason,json=importFailureReason,proto3" json:"import_failure_reason,omitempty"`
+ // Output only. The root cause of the most recent generation failure. Only
+ // present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+ // [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED].
+ GenerationFailureReason string `protobuf:"bytes,19,opt,name=generation_failure_reason,json=generationFailureReason,proto3" json:"generation_failure_reason,omitempty"`
+ // Output only. The root cause of the most recent external destruction
+ // failure. Only present if
+ // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is
+ // [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED].
+ ExternalDestructionFailureReason string `protobuf:"bytes,20,opt,name=external_destruction_failure_reason,json=externalDestructionFailureReason,proto3" json:"external_destruction_failure_reason,omitempty"`
// ExternalProtectionLevelOptions stores a group of additional fields for
// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
// are specific to the
@@ -1390,6 +1424,20 @@ func (x *CryptoKeyVersion) GetImportFailureReason() string {
return ""
}
+func (x *CryptoKeyVersion) GetGenerationFailureReason() string {
+ if x != nil {
+ return x.GenerationFailureReason
+ }
+ return ""
+}
+
+func (x *CryptoKeyVersion) GetExternalDestructionFailureReason() string {
+ if x != nil {
+ return x.ExternalDestructionFailureReason
+ }
+ return ""
+}
+
func (x *CryptoKeyVersion) GetExternalProtectionLevelOptions() *ExternalProtectionLevelOptions {
if x != nil {
return x.ExternalProtectionLevelOptions
@@ -2032,7 +2080,7 @@ var file_google_cloud_kms_v1_resources_proto_rawDesc = []byte{
0x12, 0x18, 0x0a, 0x14, 0x43, 0x41, 0x56, 0x49, 0x55, 0x4d, 0x5f, 0x56, 0x31, 0x5f, 0x43, 0x4f,
0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x41,
0x56, 0x49, 0x55, 0x4d, 0x5f, 0x56, 0x32, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53,
- 0x45, 0x44, 0x10, 0x04, 0x22, 0x9f, 0x12, 0x0a, 0x10, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b,
+ 0x45, 0x44, 0x10, 0x04, 0x22, 0x8e, 0x14, 0x0a, 0x10, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b,
0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x51, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
@@ -2084,232 +2132,246 @@ var file_google_cloud_kms_v1_resources_proto_rawDesc = []byte{
0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x15, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f,
0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x10,
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x69, 0x6d, 0x70, 0x6f, 0x72,
- 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x7e,
- 0x0a, 0x21, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e,
- 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x1e,
- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30,
- 0x0a, 0x11, 0x72, 0x65, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69,
- 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10,
- 0x72, 0x65, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65,
- 0x22, 0xe7, 0x06, 0x0a, 0x19, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x2c,
- 0x0a, 0x28, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x56, 0x45, 0x52,
- 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x5f, 0x55,
- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b,
- 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43,
- 0x5f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x1c, 0x0a,
- 0x18, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x32, 0x30,
- 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52,
- 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x33, 0x30, 0x37, 0x32,
- 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x53, 0x41,
- 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53,
- 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x53, 0x41, 0x5f, 0x53,
- 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41,
- 0x35, 0x31, 0x32, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41,
- 0x32, 0x35, 0x36, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41,
- 0x32, 0x35, 0x36, 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41,
- 0x32, 0x35, 0x36, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41,
- 0x35, 0x31, 0x32, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x32, 0x30, 0x34, 0x38,
- 0x10, 0x1c, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52,
- 0x41, 0x57, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x10, 0x1d, 0x12,
- 0x1b, 0x0a, 0x17, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x41, 0x57, 0x5f,
- 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x10, 0x1e, 0x12, 0x20, 0x0a, 0x1c,
- 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50,
- 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x08, 0x12, 0x20,
- 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41,
- 0x45, 0x50, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x09,
- 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f,
- 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36,
- 0x10, 0x0a, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50,
- 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x35,
- 0x31, 0x32, 0x10, 0x11, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52,
- 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48,
- 0x41, 0x31, 0x10, 0x25, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52,
- 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48,
- 0x41, 0x31, 0x10, 0x26, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52,
- 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48,
- 0x41, 0x31, 0x10, 0x27, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x43, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f,
- 0x50, 0x32, 0x35, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x0c, 0x12, 0x17, 0x0a,
- 0x13, 0x45, 0x43, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x33, 0x38, 0x34, 0x5f, 0x53, 0x48,
- 0x41, 0x33, 0x38, 0x34, 0x10, 0x0d, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x43, 0x5f, 0x53, 0x49, 0x47,
- 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x32, 0x35, 0x36, 0x4b, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x32,
- 0x35, 0x36, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41, 0x43, 0x5f, 0x53, 0x48, 0x41,
- 0x32, 0x35, 0x36, 0x10, 0x20, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x4d, 0x41, 0x43, 0x5f, 0x53, 0x48,
- 0x41, 0x31, 0x10, 0x21, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41, 0x43, 0x5f, 0x53, 0x48, 0x41,
- 0x33, 0x38, 0x34, 0x10, 0x22, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41, 0x43, 0x5f, 0x53, 0x48,
- 0x41, 0x35, 0x31, 0x32, 0x10, 0x23, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41, 0x43, 0x5f, 0x53,
- 0x48, 0x41, 0x32, 0x32, 0x34, 0x10, 0x24, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x54, 0x45, 0x52,
- 0x4e, 0x41, 0x4c, 0x5f, 0x53, 0x59, 0x4d, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x45, 0x4e,
- 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x12, 0x22, 0xc1, 0x01, 0x0a, 0x15, 0x43,
- 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53,
- 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x5f, 0x4b,
- 0x45, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16,
- 0x0a, 0x12, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41,
- 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45,
- 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10,
- 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59, 0x45, 0x44, 0x10, 0x03,
- 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59, 0x5f, 0x53, 0x43, 0x48, 0x45,
- 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x45, 0x4e, 0x44, 0x49,
- 0x4e, 0x47, 0x5f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x49,
- 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x22, 0x49,
- 0x0a, 0x14, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f,
- 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x45,
- 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
- 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x3a, 0xaa, 0x01, 0xea, 0x41, 0xa6, 0x01,
- 0x0a, 0x28, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f,
- 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x7a, 0x70, 0x72, 0x6f, 0x6a,
- 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
- 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6b, 0x65,
- 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65,
- 0x79, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x7d, 0x2f,
- 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xce, 0x03, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69,
- 0x63, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x70, 0x65, 0x6d, 0x12, 0x5d, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69,
- 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e,
- 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f,
- 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x72, 0x63,
- 0x33, 0x32, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36,
- 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x70, 0x65, 0x6d, 0x43, 0x72, 0x63, 0x33, 0x32,
- 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b,
- 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0xae, 0x01, 0xea, 0x41, 0xaa, 0x01, 0x0a, 0x21, 0x63,
- 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
- 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
- 0x12, 0x84, 0x01, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
- 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69,
- 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63,
- 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74,
- 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79,
- 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
- 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x75,
- 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0xd4, 0x09, 0x0a, 0x09, 0x49, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58,
- 0x0a, 0x0d, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
- 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x68,
- 0x6f, 0x64, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x69, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x57, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
- 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05,
- 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65,
- 0x6c, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f,
- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x67, 0x65, 0x6e,
- 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x65, 0x78, 0x70,
- 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
- 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x11, 0x65,
- 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
- 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f,
- 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61,
- 0x74, 0x65, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x50,
- 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70,
- 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x53, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65,
- 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73,
- 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03,
- 0x52, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x25, 0x0a,
- 0x11, 0x57, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
- 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x70, 0x65, 0x6d, 0x22, 0xe5, 0x01, 0x0a, 0x0c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d,
- 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f,
- 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50,
- 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32,
- 0x35, 0x36, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50,
- 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32,
- 0x35, 0x36, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50,
- 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f, 0x41, 0x45, 0x53,
- 0x5f, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41,
- 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f, 0x41,
- 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f,
- 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36,
- 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34,
- 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x06, 0x22, 0x63, 0x0a, 0x0e,
- 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20,
- 0x0a, 0x1c, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41,
- 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
- 0x12, 0x16, 0x0a, 0x12, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x45, 0x4e, 0x45,
- 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49,
- 0x56, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10,
- 0x03, 0x3a, 0x7b, 0xea, 0x41, 0x78, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
- 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x53, 0x70, 0x72, 0x6f, 0x6a, 0x65,
+ 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3f,
+ 0x0a, 0x19, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69,
+ 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28,
+ 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x17, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12,
+ 0x52, 0x0a, 0x23, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74,
+ 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f,
+ 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
+ 0x03, 0x52, 0x20, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x72,
+ 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61,
+ 0x73, 0x6f, 0x6e, 0x12, 0x7e, 0x0a, 0x21, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
+ 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c,
+ 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d,
+ 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f,
+ 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x52, 0x1e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f,
+ 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x72, 0x65, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f,
+ 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
+ 0xe0, 0x41, 0x03, 0x52, 0x10, 0x72, 0x65, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6c, 0x69,
+ 0x67, 0x69, 0x62, 0x6c, 0x65, 0x22, 0xe7, 0x06, 0x0a, 0x19, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f,
+ 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69,
+ 0x74, 0x68, 0x6d, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x5f, 0x4b, 0x45,
+ 0x59, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49,
+ 0x54, 0x48, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
+ 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x59, 0x4d, 0x4d,
+ 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e,
+ 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50,
+ 0x53, 0x53, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x02,
+ 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53,
+ 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x1c,
+ 0x0a, 0x18, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x34,
+ 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18,
+ 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x34, 0x30, 0x39,
+ 0x36, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x0f, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53,
+ 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x32, 0x30, 0x34,
+ 0x38, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53,
+ 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x33, 0x30, 0x37,
+ 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53,
+ 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39,
+ 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53,
+ 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39,
+ 0x36, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x53,
+ 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31,
+ 0x5f, 0x32, 0x30, 0x34, 0x38, 0x10, 0x1c, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x53, 0x41, 0x5f, 0x53,
+ 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x33, 0x30,
+ 0x37, 0x32, 0x10, 0x1d, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x53, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e,
+ 0x5f, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x10,
+ 0x1e, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54,
+ 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35,
+ 0x36, 0x10, 0x08, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59,
+ 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41,
+ 0x32, 0x35, 0x36, 0x10, 0x09, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44, 0x45, 0x43,
+ 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53,
+ 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x0a, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x44,
+ 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36,
+ 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x11, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41,
+ 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x32, 0x30,
+ 0x34, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x25, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41,
+ 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x33, 0x30,
+ 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x26, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41,
+ 0x5f, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30,
+ 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x27, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x43, 0x5f,
+ 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x32, 0x35, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36,
+ 0x10, 0x0c, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x43, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x50, 0x33,
+ 0x38, 0x34, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x0d, 0x12, 0x1c, 0x0a, 0x18, 0x45,
+ 0x43, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x32, 0x35, 0x36, 0x4b, 0x31,
+ 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41,
+ 0x43, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x20, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x4d,
+ 0x41, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x21, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d, 0x41,
+ 0x43, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x22, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x4d,
+ 0x41, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x23, 0x12, 0x0f, 0x0a, 0x0b, 0x48,
+ 0x4d, 0x41, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x32, 0x34, 0x10, 0x24, 0x12, 0x21, 0x0a, 0x1d,
+ 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x53, 0x59, 0x4d, 0x4d, 0x45, 0x54, 0x52,
+ 0x49, 0x43, 0x5f, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x12, 0x22,
+ 0x9b, 0x02, 0x0a, 0x15, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x52, 0x59,
+ 0x50, 0x54, 0x4f, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
+ 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
+ 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x47,
+ 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x45,
+ 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41,
+ 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f,
+ 0x59, 0x45, 0x44, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59,
+ 0x5f, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e,
+ 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x06,
+ 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45,
+ 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f,
+ 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x45,
+ 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x44,
+ 0x45, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x1f, 0x0a, 0x1b,
+ 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x52, 0x55, 0x43,
+ 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x22, 0x49, 0x0a,
+ 0x14, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
+ 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x5f,
+ 0x4b, 0x45, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57,
+ 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08,
+ 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x3a, 0xaa, 0x01, 0xea, 0x41, 0xa6, 0x01, 0x0a,
+ 0x28, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b,
+ 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x7a, 0x70, 0x72, 0x6f, 0x6a, 0x65,
0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79,
- 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62,
- 0x73, 0x2f, 0x7b, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x7d, 0x22, 0x81,
- 0x01, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6b, 0x65,
- 0x79, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x17, 0x65,
- 0x6b, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65,
- 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6b,
- 0x6d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x50, 0x61,
- 0x74, 0x68, 0x2a, 0x6a, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54,
- 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
- 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4f, 0x46, 0x54, 0x57,
- 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x48, 0x53, 0x4d, 0x10, 0x02, 0x12, 0x0c,
- 0x0a, 0x08, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c,
- 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x56, 0x50, 0x43, 0x10, 0x04, 0x42, 0x95,
- 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
- 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4b, 0x6d, 0x73, 0x52,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
- 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6b, 0x6d, 0x73,
- 0x2f, 0x76, 0x31, 0x3b, 0x6b, 0x6d, 0x73, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31,
- 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
- 0x4b, 0x6d, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79,
+ 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x7d, 0x2f, 0x63,
+ 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
+ 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xce, 0x03, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
+ 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x03, 0x70, 0x65, 0x6d, 0x12, 0x5d, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43,
+ 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
+ 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
+ 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72,
+ 0x69, 0x74, 0x68, 0x6d, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x65, 0x6d, 0x5f, 0x63, 0x72, 0x63, 0x33,
+ 0x32, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34,
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x70, 0x65, 0x6d, 0x43, 0x72, 0x63, 0x33, 0x32, 0x63,
+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d,
+ 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0xae, 0x01, 0xea, 0x41, 0xaa, 0x01, 0x0a, 0x21, 0x63, 0x6c,
+ 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
+ 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12,
+ 0x84, 0x01, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
+ 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
+ 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e,
+ 0x67, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
+ 0x5f, 0x6b, 0x65, 0x79, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f,
+ 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x75, 0x62,
+ 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0xd4, 0x09, 0x0a, 0x09, 0x49, 0x6d, 0x70, 0x6f, 0x72,
+ 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a,
+ 0x0d, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
+ 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72,
+ 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f,
+ 0x64, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x69, 0x6d, 0x70, 0x6f, 0x72,
+ 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x57, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
+ 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52,
+ 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c,
+ 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
+ 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x74,
+ 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65,
+ 0x72, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69,
+ 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+ 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
+ 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x11, 0x65, 0x78,
+ 0x70, 0x69, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x45, 0x76,
+ 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70,
+ 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62,
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
+ 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f,
+ 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x2e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x50, 0x75,
+ 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70, 0x75,
+ 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x53, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73,
+ 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e,
+ 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41,
+ 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
+ 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x25, 0x0a, 0x11,
+ 0x57, 0x72, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
+ 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
+ 0x70, 0x65, 0x6d, 0x22, 0xe5, 0x01, 0x0a, 0x0c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65,
+ 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x4d,
+ 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
+ 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f,
+ 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35,
+ 0x36, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f,
+ 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35,
+ 0x36, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f,
+ 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f, 0x41, 0x45, 0x53, 0x5f,
+ 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45,
+ 0x50, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x5f, 0x41, 0x45,
+ 0x53, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f, 0x4f,
+ 0x41, 0x45, 0x50, 0x5f, 0x33, 0x30, 0x37, 0x32, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10,
+ 0x05, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x53, 0x41, 0x5f, 0x4f, 0x41, 0x45, 0x50, 0x5f, 0x34, 0x30,
+ 0x39, 0x36, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x06, 0x22, 0x63, 0x0a, 0x0e, 0x49,
+ 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a,
+ 0x1c, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54,
+ 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
+ 0x16, 0x0a, 0x12, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52,
+ 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56,
+ 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03,
+ 0x3a, 0x7b, 0xea, 0x41, 0x78, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49,
+ 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x53, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
+ 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x5f,
+ 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4a, 0x6f, 0x62, 0x73,
+ 0x2f, 0x7b, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x7d, 0x22, 0x81, 0x01,
+ 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79,
+ 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65,
+ 0x72, 0x6e, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x17, 0x65, 0x6b,
+ 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79,
+ 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6b, 0x6d,
+ 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x74,
+ 0x68, 0x2a, 0x6a, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49,
+ 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4f, 0x46, 0x54, 0x57, 0x41,
+ 0x52, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x48, 0x53, 0x4d, 0x10, 0x02, 0x12, 0x0c, 0x0a,
+ 0x08, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x45,
+ 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x56, 0x50, 0x43, 0x10, 0x04, 0x42, 0x88, 0x01,
+ 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
+ 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4b, 0x6d, 0x73, 0x52, 0x65,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29,
+ 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x2f, 0x67, 0x6f, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6b, 0x6d,
+ 0x73, 0x70, 0x62, 0x3b, 0x6b, 0x6d, 0x73, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e,
+ 0x56, 0x31, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
+ 0x64, 0x5c, 0x4b, 0x6d, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/vendor/cloud.google.com/go/kms/apiv1/kmspb/service.pb.go b/vendor/cloud.google.com/go/kms/apiv1/kmspb/service.pb.go
index d345c167da..5fd6c559d7 100644
--- a/vendor/cloud.google.com/go/kms/apiv1/kmspb/service.pb.go
+++ b/vendor/cloud.google.com/go/kms/apiv1/kmspb/service.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -14,8 +14,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc-gen-go v1.28.1
+// protoc v3.21.12
// source: google/cloud/kms/v1/service.proto
package kmspb
@@ -1285,16 +1285,14 @@ type ImportCryptoKeyVersionRequest struct {
//
// this field must contain the concatenation of:
//
- //
- // - An ephemeral AES-256 wrapping key wrapped with the
- // [public_key][google.cloud.kms.v1.ImportJob.public_key] using
- // RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an empty
- // label.
- //
- // - The formatted key to be imported, wrapped with the ephemeral AES-256
- // key using AES-KWP (RFC 5649).
- //
- //
+ // - An ephemeral AES-256 wrapping key wrapped with the
+ // [public_key][google.cloud.kms.v1.ImportJob.public_key] using
+ // RSAES-OAEP with SHA-1/SHA-256, MGF1 with SHA-1/SHA-256, and an empty
+ // label.
+ //
+ // - The formatted key to be imported, wrapped with the ephemeral AES-256
+ // key using AES-KWP (RFC 5649).
+ //
//
//
// This format is the same as the format produced by PKCS#11 mechanism
@@ -1314,7 +1312,6 @@ type ImportCryptoKeyVersionRequest struct {
// instead.
//
// Types that are assignable to WrappedKeyMaterial:
- //
// *ImportCryptoKeyVersionRequest_RsaAesWrappedKey
WrappedKeyMaterial isImportCryptoKeyVersionRequest_WrappedKeyMaterial `protobuf_oneof:"wrapped_key_material"`
}
@@ -3350,7 +3347,6 @@ type Digest struct {
// Required. The message digest.
//
// Types that are assignable to Digest:
- //
// *Digest_Sha256
// *Digest_Sha384
// *Digest_Sha512
@@ -4384,16 +4380,15 @@ var file_google_cloud_kms_v1_service_proto_rawDesc = []byte{
0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70,
0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
- 0x64, 0x6b, 0x6d, 0x73, 0x42, 0x8c, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31,
- 0x42, 0x08, 0x4b, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
- 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
- 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x76, 0x31,
- 0x3b, 0x6b, 0x6d, 0x73, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13,
- 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4b, 0x6d, 0x73,
- 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x64, 0x6b, 0x6d, 0x73, 0x42, 0x7f, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x6d, 0x73, 0x2e, 0x76, 0x31, 0x42,
+ 0x08, 0x4b, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f,
+ 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
+ 0x2f, 0x6b, 0x6d, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6b, 0x6d, 0x73, 0x70, 0x62,
+ 0x3b, 0x6b, 0x6d, 0x73, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x6d, 0x73, 0x2e, 0x56, 0x31, 0xca,
+ 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4b,
+ 0x6d, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/vendor/cloud.google.com/go/kms/internal/version.go b/vendor/cloud.google.com/go/kms/internal/version.go
index 0ad9373b3b..c728774073 100644
--- a/vendor/cloud.google.com/go/kms/internal/version.go
+++ b/vendor/cloud.google.com/go/kms/internal/version.go
@@ -15,4 +15,4 @@
package internal
// Version is the current tagged release of the library.
-const Version = "1.8.0"
+const Version = "1.10.1"
diff --git a/vendor/cloud.google.com/go/longrunning/autogen/longrunningpb/operations.pb.go b/vendor/cloud.google.com/go/longrunning/autogen/longrunningpb/operations.pb.go
index 6f3ae542be..18f7147604 100644
--- a/vendor/cloud.google.com/go/longrunning/autogen/longrunningpb/operations.pb.go
+++ b/vendor/cloud.google.com/go/longrunning/autogen/longrunningpb/operations.pb.go
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v3.21.12
// source: google/longrunning/operations.proto
package longrunningpb
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/credentials/processcreds/provider.go b/vendor/github.com/aws/aws-sdk-go/aws/credentials/processcreds/provider.go
index e624836002..18694f07f7 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/credentials/processcreds/provider.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/credentials/processcreds/provider.go
@@ -226,12 +226,24 @@ func NewCredentialsCommand(command *exec.Cmd, options ...func(*ProcessProvider))
return credentials.NewCredentials(p)
}
-type credentialProcessResponse struct {
- Version int
- AccessKeyID string `json:"AccessKeyId"`
+// A CredentialProcessResponse is the AWS credentials format that must be
+// returned when executing an external credential_process.
+type CredentialProcessResponse struct {
+ // As of this writing, the Version key must be set to 1. This might
+ // increment over time as the structure evolves.
+ Version int
+
+ // The access key ID that identifies the temporary security credentials.
+ AccessKeyID string `json:"AccessKeyId"`
+
+ // The secret access key that can be used to sign requests.
SecretAccessKey string
- SessionToken string
- Expiration *time.Time
+
+ // The token that users must pass to the service API to use the temporary credentials.
+ SessionToken string
+
+ // The date on which the current credentials expire.
+ Expiration *time.Time
}
// Retrieve executes the 'credential_process' and returns the credentials.
@@ -242,7 +254,7 @@ func (p *ProcessProvider) Retrieve() (credentials.Value, error) {
}
// Serialize and validate response
- resp := &credentialProcessResponse{}
+ resp := &CredentialProcessResponse{}
if err = json.Unmarshal(out, resp); err != nil {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderParse,
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
index 7635f10de8..3e396bb3ee 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
@@ -27,6 +27,7 @@ const (
ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore).
ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney).
ApSoutheast3RegionID = "ap-southeast-3" // Asia Pacific (Jakarta).
+ ApSoutheast4RegionID = "ap-southeast-4" // Asia Pacific (Melbourne).
CaCentral1RegionID = "ca-central-1" // Canada (Central).
EuCentral1RegionID = "eu-central-1" // Europe (Frankfurt).
EuCentral2RegionID = "eu-central-2" // Europe (Zurich).
@@ -172,6 +173,9 @@ var awsPartition = partition{
"ap-southeast-3": region{
Description: "Asia Pacific (Jakarta)",
},
+ "ap-southeast-4": region{
+ Description: "Asia Pacific (Melbourne)",
+ },
"ca-central-1": region{
Description: "Canada (Central)",
},
@@ -261,6 +265,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -432,6 +439,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -935,6 +945,15 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -1168,6 +1187,14 @@ var awsPartition = partition{
Region: "ap-southeast-3",
},
},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{
+ Hostname: "api.ecr.ap-southeast-4.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ap-southeast-4",
+ },
+ },
endpointKey{
Region: "ca-central-1",
}: endpoint{
@@ -1733,9 +1760,15 @@ var awsPartition = partition{
},
"api.mediatailor": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -1751,6 +1784,9 @@ var awsPartition = partition{
endpointKey{
Region: "us-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ }: endpoint{},
endpointKey{
Region: "us-west-2",
}: endpoint{},
@@ -2087,6 +2123,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -2278,6 +2317,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -2484,6 +2526,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -2560,6 +2605,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -2913,6 +2961,15 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -3176,6 +3233,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
@@ -3541,6 +3601,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -3716,6 +3779,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -4006,12 +4072,47 @@ var awsPartition = partition{
},
"cases": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "ca-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "fips-us-east-1",
+ }: endpoint{
+
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-west-2",
+ }: endpoint{
+
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-east-1",
+ Variant: fipsVariant,
+ }: endpoint{},
endpointKey{
Region: "us-west-2",
}: endpoint{},
+ endpointKey{
+ Region: "us-west-2",
+ Variant: fipsVariant,
+ }: endpoint{},
},
},
"cassandra": service{
@@ -4279,6 +4380,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -4467,6 +4571,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -4748,6 +4855,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -4858,6 +4968,76 @@ var awsPartition = partition{
},
},
},
+ "cloudtrail-data": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "ca-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-north-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "me-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "sa-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-2",
+ }: endpoint{},
+ },
+ },
"codeartifact": service{
Endpoints: serviceEndpoints{
endpointKey{
@@ -4951,6 +5131,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -5062,12 +5245,18 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -5113,6 +5302,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -5225,6 +5417,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -6277,6 +6472,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -6426,6 +6624,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ca-central-1",
+ }: endpoint{},
endpointKey{
Region: "eu-west-2",
}: endpoint{},
@@ -7116,6 +7317,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -7137,12 +7341,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -7428,6 +7638,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -7592,18 +7805,27 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -7668,6 +7890,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -8011,6 +8236,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -8032,12 +8260,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8176,6 +8410,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -8330,6 +8567,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -8339,6 +8579,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -8351,12 +8594,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8501,6 +8750,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -8688,6 +8940,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -8851,6 +9106,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -8866,12 +9124,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8996,6 +9260,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -9301,6 +9568,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com",
},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "elasticfilesystem-fips.ap-south-2.amazonaws.com",
+ },
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -9373,6 +9649,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com",
},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "elasticfilesystem-fips.eu-south-2.amazonaws.com",
+ },
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -9454,6 +9739,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "fips-ap-south-2",
+ }: endpoint{
+ Hostname: "elasticfilesystem-fips.ap-south-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ap-south-2",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "fips-ap-southeast-1",
}: endpoint{
@@ -9526,6 +9820,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "fips-eu-south-2",
+ }: endpoint{
+ Hostname: "elasticfilesystem-fips.eu-south-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "eu-south-2",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "fips-eu-west-1",
}: endpoint{
@@ -9718,6 +10021,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -9866,6 +10172,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -10421,6 +10730,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -10572,6 +10884,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -10789,6 +11104,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -10804,12 +11122,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -10975,6 +11299,9 @@ var awsPartition = partition{
}: endpoint{
Hostname: "fms-fips.ap-southeast-2.amazonaws.com",
},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -11203,6 +11530,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -11585,6 +11915,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -12075,6 +12408,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -12360,6 +12696,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -12384,6 +12723,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -12976,6 +13318,156 @@ var awsPartition = partition{
}: endpoint{},
},
},
+ "internetmonitor": service{
+ Defaults: endpointDefaults{
+ defaultKey{}: endpoint{
+ DNSSuffix: "api.aws",
+ },
+ defaultKey{
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "{service}-fips.{region}.{dnsSuffix}",
+ DNSSuffix: "api.aws",
+ },
+ },
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{
+ Hostname: "internetmonitor.af-south-1.api.aws",
+ },
+ endpointKey{
+ Region: "ap-east-1",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-east-1.api.aws",
+ },
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-northeast-1.api.aws",
+ },
+ endpointKey{
+ Region: "ap-northeast-2",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-northeast-2.api.aws",
+ },
+ endpointKey{
+ Region: "ap-northeast-3",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-northeast-3.api.aws",
+ },
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-south-1.api.aws",
+ },
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-south-2.api.aws",
+ },
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-southeast-1.api.aws",
+ },
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-southeast-2.api.aws",
+ },
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-southeast-3.api.aws",
+ },
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{
+ Hostname: "internetmonitor.ap-southeast-4.api.aws",
+ },
+ endpointKey{
+ Region: "ca-central-1",
+ }: endpoint{
+ Hostname: "internetmonitor.ca-central-1.api.aws",
+ },
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-central-1.api.aws",
+ },
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-central-2.api.aws",
+ },
+ endpointKey{
+ Region: "eu-north-1",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-north-1.api.aws",
+ },
+ endpointKey{
+ Region: "eu-south-1",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-south-1.api.aws",
+ },
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-south-2.api.aws",
+ },
+ endpointKey{
+ Region: "eu-west-1",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-west-1.api.aws",
+ },
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-west-2.api.aws",
+ },
+ endpointKey{
+ Region: "eu-west-3",
+ }: endpoint{
+ Hostname: "internetmonitor.eu-west-3.api.aws",
+ },
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{
+ Hostname: "internetmonitor.me-central-1.api.aws",
+ },
+ endpointKey{
+ Region: "me-south-1",
+ }: endpoint{
+ Hostname: "internetmonitor.me-south-1.api.aws",
+ },
+ endpointKey{
+ Region: "sa-east-1",
+ }: endpoint{
+ Hostname: "internetmonitor.sa-east-1.api.aws",
+ },
+ endpointKey{
+ Region: "us-east-1",
+ }: endpoint{
+ Hostname: "internetmonitor.us-east-1.api.aws",
+ },
+ endpointKey{
+ Region: "us-east-2",
+ }: endpoint{
+ Hostname: "internetmonitor.us-east-2.api.aws",
+ },
+ endpointKey{
+ Region: "us-west-1",
+ }: endpoint{
+ Hostname: "internetmonitor.us-west-1.api.aws",
+ },
+ endpointKey{
+ Region: "us-west-2",
+ }: endpoint{
+ Hostname: "internetmonitor.us-west-2.api.aws",
+ },
+ },
+ },
"iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
@@ -13872,6 +14364,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -13946,6 +14441,9 @@ var awsPartition = partition{
},
"kendra": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
@@ -14040,6 +14538,11 @@ var awsPartition = partition{
}: endpoint{
Hostname: "kendra-ranking.ap-east-1.api.aws",
},
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{
+ Hostname: "kendra-ranking.ap-northeast-1.api.aws",
+ },
endpointKey{
Region: "ap-northeast-2",
}: endpoint{
@@ -14050,6 +14553,11 @@ var awsPartition = partition{
}: endpoint{
Hostname: "kendra-ranking.ap-northeast-3.api.aws",
},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{
+ Hostname: "kendra-ranking.ap-south-1.api.aws",
+ },
endpointKey{
Region: "ap-south-2",
}: endpoint{
@@ -14071,14 +14579,14 @@ var awsPartition = partition{
Hostname: "kendra-ranking.ap-southeast-3.api.aws",
},
endpointKey{
- Region: "ca-central-1",
+ Region: "ap-southeast-4",
}: endpoint{
- Hostname: "kendra-ranking.ca-central-1.api.aws",
+ Hostname: "kendra-ranking.ap-southeast-4.api.aws",
},
endpointKey{
- Region: "eu-central-1",
+ Region: "ca-central-1",
}: endpoint{
- Hostname: "kendra-ranking.eu-central-1.api.aws",
+ Hostname: "kendra-ranking.ca-central-1.api.aws",
},
endpointKey{
Region: "eu-central-2",
@@ -14105,11 +14613,6 @@ var awsPartition = partition{
}: endpoint{
Hostname: "kendra-ranking.eu-west-1.api.aws",
},
- endpointKey{
- Region: "eu-west-2",
- }: endpoint{
- Hostname: "kendra-ranking.eu-west-2.api.aws",
- },
endpointKey{
Region: "eu-west-3",
}: endpoint{
@@ -14184,6 +14687,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -14344,6 +14850,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -14607,6 +15116,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "kms-fips.ap-southeast-4.amazonaws.com",
+ },
endpointKey{
Region: "ap-southeast-4-fips",
}: endpoint{
@@ -14932,6 +15450,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -15125,6 +15646,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "lambda.ap-southeast-3.api.aws",
},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ Variant: dualStackVariant,
+ }: endpoint{
+ Hostname: "lambda.ap-southeast-4.api.aws",
+ },
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -15781,6 +16311,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -15965,6 +16498,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-2",
+ }: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
@@ -16005,6 +16541,18 @@ var awsPartition = partition{
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "fips-us-east-2",
+ }: endpoint{
+
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-west-1",
+ }: endpoint{
+
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "fips-us-west-2",
}: endpoint{
@@ -16021,6 +16569,20 @@ var awsPartition = partition{
Region: "us-east-1",
Variant: fipsVariant,
}: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ Variant: fipsVariant,
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ Variant: fipsVariant,
+ }: endpoint{},
endpointKey{
Region: "us-west-2",
}: endpoint{},
@@ -16860,6 +17422,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -17339,6 +17904,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -17844,6 +18412,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -17956,6 +18527,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -18576,6 +19150,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -19349,9 +19926,6 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
- endpointKey{
- Region: "api",
- }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -19416,6 +19990,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -19573,6 +20150,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -19730,6 +20310,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -20131,6 +20714,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -20668,6 +21254,11 @@ var awsPartition = partition{
}: endpoint{
Hostname: "resource-explorer-2.ap-southeast-2.api.aws",
},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{
+ Hostname: "resource-explorer-2.ap-southeast-4.api.aws",
+ },
endpointKey{
Region: "ca-central-1",
}: endpoint{
@@ -20750,6 +21341,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-2",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-1",
}: endpoint{},
@@ -20759,18 +21353,27 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -21500,6 +22103,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ Variant: dualStackVariant,
+ }: endpoint{
+ Hostname: "s3.dualstack.ap-southeast-4.amazonaws.com",
+ },
endpointKey{
Region: "aws-global",
}: endpoint{
@@ -22589,6 +23201,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -23202,6 +23817,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -24359,6 +24977,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -24507,6 +25128,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -24652,6 +25276,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -24831,12 +25458,72 @@ var awsPartition = partition{
},
"ssm-sap": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "ca-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-central-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-north-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-3",
+ }: endpoint{},
+ endpointKey{
+ Region: "me-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "sa-east-1",
+ }: endpoint{},
endpointKey{
Region: "us-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-2",
+ }: endpoint{},
},
},
"sso": service{
@@ -24941,6 +25628,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -25101,12 +25791,18 @@ var awsPartition = partition{
endpointKey{
Region: "eu-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-central-2",
+ }: endpoint{},
endpointKey{
Region: "eu-north-1",
}: endpoint{},
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -25248,6 +25944,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -25340,6 +26039,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "aws-global",
}: endpoint{
@@ -25516,6 +26218,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -25658,6 +26363,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -25800,6 +26508,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -28246,6 +28957,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-4",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -29254,6 +29968,31 @@ var awscnPartition = partition{
},
},
},
+ "internetmonitor": service{
+ Defaults: endpointDefaults{
+ defaultKey{}: endpoint{
+ DNSSuffix: "api.amazonwebservices.com.cn",
+ },
+ defaultKey{
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "{service}-fips.{region}.{dnsSuffix}",
+ DNSSuffix: "api.amazonwebservices.com.cn",
+ },
+ },
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "cn-north-1",
+ }: endpoint{
+ Hostname: "internetmonitor.cn-north-1.api.amazonwebservices.com.cn",
+ },
+ endpointKey{
+ Region: "cn-northwest-1",
+ }: endpoint{
+ Hostname: "internetmonitor.cn-northwest-1.api.amazonwebservices.com.cn",
+ },
+ },
+ },
"iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
@@ -29628,6 +30367,16 @@ var awscnPartition = partition{
}: endpoint{},
},
},
+ "rolesanywhere": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "cn-north-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "cn-northwest-1",
+ }: endpoint{},
+ },
+ },
"route53": service{
PartitionEndpoint: "aws-cn-global",
IsRegionalized: boxedFalse,
@@ -29830,6 +30579,21 @@ var awscnPartition = partition{
},
},
},
+ "servicequotas": service{
+ Defaults: endpointDefaults{
+ defaultKey{}: endpoint{
+ Protocols: []string{"https"},
+ },
+ },
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "cn-north-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "cn-northwest-1",
+ }: endpoint{},
+ },
+ },
"sms": service{
Endpoints: serviceEndpoints{
endpointKey{
@@ -30516,6 +31280,9 @@ var awsusgovPartition = partition{
},
},
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
@@ -30979,6 +31746,21 @@ var awsusgovPartition = partition{
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "clouddirectory.us-gov-west-1.amazonaws.com",
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "clouddirectory.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"cloudformation": service{
@@ -30991,6 +31773,24 @@ var awsusgovPartition = partition{
Region: "us-gov-east-1",
},
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "cloudformation.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-east-1-fips",
+ }: endpoint{
+ Hostname: "cloudformation.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{
@@ -30999,6 +31799,24 @@ var awsusgovPartition = partition{
Region: "us-gov-west-1",
},
},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "cloudformation.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "cloudformation.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"cloudhsm": service{
@@ -31317,6 +32135,26 @@ var awsusgovPartition = partition{
},
},
},
+ "compute-optimizer": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{
+ Hostname: "compute-optimizer-fips.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{
+ Hostname: "compute-optimizer-fips.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ },
+ },
"config": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{},
@@ -31472,9 +32310,24 @@ var awsusgovPartition = partition{
},
"databrew": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "fips-us-gov-west-1",
+ }: endpoint{
+ Hostname: "databrew.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "databrew.us-gov-west-1.amazonaws.com",
+ },
},
},
"datasync": service{
@@ -31921,6 +32774,24 @@ var awsusgovPartition = partition{
Region: "us-gov-east-1",
},
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "elasticbeanstalk.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-east-1-fips",
+ }: endpoint{
+ Hostname: "elasticbeanstalk.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{
@@ -31929,6 +32800,24 @@ var awsusgovPartition = partition{
Region: "us-gov-west-1",
},
},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "elasticbeanstalk.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "elasticbeanstalk.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"elasticfilesystem": service{
@@ -32095,6 +32984,16 @@ var awsusgovPartition = partition{
},
},
},
+ "emr-containers": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{},
+ },
+ },
"es": service{
Endpoints: serviceEndpoints{
endpointKey{
@@ -32366,21 +33265,43 @@ var awsusgovPartition = partition{
"glacier": service{
Endpoints: serviceEndpoints{
endpointKey{
- Region: "us-gov-east-1",
+ Region: "fips-us-gov-east-1",
}: endpoint{
Hostname: "glacier.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
+ Deprecated: boxedTrue,
},
endpointKey{
- Region: "us-gov-west-1",
+ Region: "fips-us-gov-west-1",
}: endpoint{
- Hostname: "glacier.us-gov-west-1.amazonaws.com",
- Protocols: []string{"http", "https"},
+ Hostname: "glacier.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "glacier.us-gov-east-1.amazonaws.com",
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{
+ Protocols: []string{"http", "https"},
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "glacier.us-gov-west-1.amazonaws.com",
+ Protocols: []string{"http", "https"},
},
},
},
@@ -32451,36 +33372,38 @@ var awsusgovPartition = partition{
endpointKey{
Region: "fips-us-gov-east-1",
}: endpoint{
- Hostname: "greengrass-fips.us-gov-east-1.amazonaws.com",
+ Hostname: "greengrass.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
Deprecated: boxedTrue,
},
endpointKey{
- Region: "us-gov-east-1",
+ Region: "fips-us-gov-west-1",
}: endpoint{
- Hostname: "greengrass.us-gov-east-1.amazonaws.com",
+ Hostname: "greengrass.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
- Region: "us-gov-east-1",
+ Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
endpointKey{
Region: "us-gov-east-1",
Variant: fipsVariant,
}: endpoint{
- Hostname: "greengrass-fips.us-gov-east-1.amazonaws.com",
- CredentialScope: credentialScope{
- Region: "us-gov-east-1",
- },
+ Hostname: "greengrass.us-gov-east-1.amazonaws.com",
},
endpointKey{
Region: "us-gov-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
}: endpoint{
Hostname: "greengrass.us-gov-west-1.amazonaws.com",
- CredentialScope: credentialScope{
- Region: "us-gov-west-1",
- },
},
},
},
@@ -32679,6 +33602,21 @@ var awsusgovPartition = partition{
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "ingest.timestream.us-gov-west-1.amazonaws.com",
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "ingest.timestream.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"inspector": service{
@@ -32721,6 +33659,41 @@ var awsusgovPartition = partition{
},
},
},
+ "inspector2": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{},
+ },
+ },
+ "internetmonitor": service{
+ Defaults: endpointDefaults{
+ defaultKey{}: endpoint{
+ DNSSuffix: "api.aws",
+ },
+ defaultKey{
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "{service}-fips.{region}.{dnsSuffix}",
+ DNSSuffix: "api.aws",
+ },
+ },
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{
+ Hostname: "internetmonitor.us-gov-east-1.api.aws",
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{
+ Hostname: "internetmonitor.us-gov-west-1.api.aws",
+ },
+ },
+ },
"iot": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{
@@ -32949,6 +33922,24 @@ var awsusgovPartition = partition{
},
"kinesis": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "fips-us-gov-east-1",
+ }: endpoint{
+ Hostname: "kinesis.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-gov-west-1",
+ }: endpoint{
+ Hostname: "kinesis.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-east-1",
}: endpoint{
@@ -32957,6 +33948,15 @@ var awsusgovPartition = partition{
Region: "us-gov-east-1",
},
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "kinesis.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{
@@ -32965,6 +33965,15 @@ var awsusgovPartition = partition{
Region: "us-gov-west-1",
},
},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "kinesis.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
},
},
"kinesisanalytics": service{
@@ -33208,12 +34217,22 @@ var awsusgovPartition = partition{
"mediaconvert": service{
Endpoints: serviceEndpoints{
endpointKey{
- Region: "us-gov-west-1",
+ Region: "fips-us-gov-west-1",
}: endpoint{
Hostname: "mediaconvert.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "mediaconvert.us-gov-west-1.amazonaws.com",
},
},
},
@@ -33538,20 +34557,40 @@ var awsusgovPartition = partition{
"outposts": service{
Endpoints: serviceEndpoints{
endpointKey{
- Region: "us-gov-east-1",
+ Region: "fips-us-gov-east-1",
}: endpoint{
Hostname: "outposts.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
+ Deprecated: boxedTrue,
},
endpointKey{
- Region: "us-gov-west-1",
+ Region: "fips-us-gov-west-1",
}: endpoint{
Hostname: "outposts.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "outposts.us-gov-east-1.amazonaws.com",
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "outposts.us-gov-west-1.amazonaws.com",
},
},
},
@@ -33676,6 +34715,24 @@ var awsusgovPartition = partition{
Region: "us-gov-east-1",
},
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "ram.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-east-1-fips",
+ }: endpoint{
+ Hostname: "ram.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{
@@ -33684,6 +34741,24 @@ var awsusgovPartition = partition{
Region: "us-gov-west-1",
},
},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "ram.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "ram.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"rbin": service{
@@ -34030,6 +35105,9 @@ var awsusgovPartition = partition{
},
},
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
endpointKey{
Region: "us-gov-west-1",
}: endpoint{},
@@ -34374,21 +35452,45 @@ var awsusgovPartition = partition{
Endpoints: serviceEndpoints{
endpointKey{
Region: "us-gov-east-1",
+ }: endpoint{
+ Protocols: []string{"https"},
+ },
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
}: endpoint{
Hostname: "serverlessrepo.us-gov-east-1.amazonaws.com",
Protocols: []string{"https"},
+ },
+ endpointKey{
+ Region: "us-gov-east-1-fips",
+ }: endpoint{
+ Hostname: "serverlessrepo.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
+ Deprecated: boxedTrue,
},
endpointKey{
Region: "us-gov-west-1",
+ }: endpoint{
+ Protocols: []string{"https"},
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
}: endpoint{
Hostname: "serverlessrepo.us-gov-west-1.amazonaws.com",
Protocols: []string{"https"},
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "serverlessrepo.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
},
},
},
@@ -35065,6 +36167,24 @@ var awsusgovPartition = partition{
Region: "us-gov-east-1",
},
},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "swf.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-east-1-fips",
+ }: endpoint{
+ Hostname: "swf.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "us-gov-west-1",
}: endpoint{
@@ -35073,6 +36193,24 @@ var awsusgovPartition = partition{
Region: "us-gov-west-1",
},
},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "swf.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
+ endpointKey{
+ Region: "us-gov-west-1-fips",
+ }: endpoint{
+ Hostname: "swf.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
},
},
"synthetics": service{
@@ -36154,6 +37292,9 @@ var awsisoPartition = partition{
endpointKey{
Region: "us-iso-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-iso-west-1",
+ }: endpoint{},
},
},
"snowball": service{
@@ -36439,6 +37580,13 @@ var awsisobPartition = partition{
}: endpoint{},
},
},
+ "dlm": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "us-isob-east-1",
+ }: endpoint{},
+ },
+ },
"dms": service{
Defaults: endpointDefaults{
defaultKey{}: endpoint{},
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go
index 5659396dda..e9ac366d09 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/version.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.44.180"
+const SDKVersion = "1.44.217"
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go
index 4f933f2a1c..9c1ccde54a 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_error.go
@@ -22,7 +22,7 @@ const (
// UnmarshalTypedError provides unmarshaling errors API response errors
// for both typed and untyped errors.
type UnmarshalTypedError struct {
- exceptions map[string]func(protocol.ResponseMetadata) error
+ exceptions map[string]func(protocol.ResponseMetadata) error
queryExceptions map[string]func(protocol.ResponseMetadata, string) error
}
@@ -30,11 +30,13 @@ type UnmarshalTypedError struct {
// set of exception names to the error unmarshalers
func NewUnmarshalTypedError(exceptions map[string]func(protocol.ResponseMetadata) error) *UnmarshalTypedError {
return &UnmarshalTypedError{
- exceptions: exceptions,
+ exceptions: exceptions,
queryExceptions: map[string]func(protocol.ResponseMetadata, string) error{},
}
}
+// NewUnmarshalTypedErrorWithOptions works similar to NewUnmarshalTypedError applying options to the UnmarshalTypedError
+// before returning it
func NewUnmarshalTypedErrorWithOptions(exceptions map[string]func(protocol.ResponseMetadata) error, optFns ...func(*UnmarshalTypedError)) *UnmarshalTypedError {
unmarshaledError := NewUnmarshalTypedError(exceptions)
for _, fn := range optFns {
@@ -43,6 +45,11 @@ func NewUnmarshalTypedErrorWithOptions(exceptions map[string]func(protocol.Respo
return unmarshaledError
}
+// WithQueryCompatibility is a helper function to construct a functional option for use with NewUnmarshalTypedErrorWithOptions.
+// The queryExceptions given act as an override for unmarshalling errors when query compatible error codes are found.
+// See also [awsQueryCompatible trait]
+//
+// [awsQueryCompatible trait]: https://smithy.io/2.0/aws/protocols/aws-query-protocol.html#aws-protocols-awsquerycompatible-trait
func WithQueryCompatibility(queryExceptions map[string]func(protocol.ResponseMetadata, string) error) func(*UnmarshalTypedError) {
return func(typedError *UnmarshalTypedError) {
typedError.queryExceptions = queryExceptions
diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go
index c7727107eb..2539e6f019 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go
@@ -773,8 +773,13 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
// relationship between two or more DynamoDB tables with the same table name
// in the provided Regions.
//
-// This operation only applies to Version 2017.11.29 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
-// of global tables.
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
//
// If you want to add a new replica table to a global table, each of the following
// conditions must be true:
@@ -1363,6 +1368,9 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
// If the specified table does not exist, DynamoDB returns a ResourceNotFoundException.
// If table is already in the DELETING state, no error is returned.
//
+// This operation only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// of global tables.
+//
// DynamoDB might continue to accept data read and write operations, such as
// GetItem and PutItem, on a table in the DELETING state until the table deletion
// is complete.
@@ -1708,7 +1716,7 @@ func (c *DynamoDB) DescribeContributorInsightsRequest(input *DescribeContributor
// DescribeContributorInsights API operation for Amazon DynamoDB.
//
-// Returns information about contributor insights, for a given table or global
+// Returns information about contributor insights for a given table or global
// secondary index.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -1792,7 +1800,10 @@ func (c *DynamoDB) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req
// DescribeEndpoints API operation for Amazon DynamoDB.
//
-// Returns the regional endpoint information.
+// Returns the regional endpoint information. This action must be included in
+// your VPC endpoint policies, or access to the DescribeEndpoints API will be
+// denied. For more information on policy permissions, please see Internetwork
+// traffic privacy (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/inter-network-traffic-privacy.html#inter-network-traffic-DescribeEndpoints).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -2063,10 +2074,13 @@ func (c *DynamoDB) DescribeGlobalTableRequest(input *DescribeGlobalTableInput) (
//
// Returns information about the specified global table.
//
-// This operation only applies to Version 2017.11.29 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
-// of global tables. If you are using global tables Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
-// you can use DescribeTable (https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html)
-// instead.
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -2175,8 +2189,13 @@ func (c *DynamoDB) DescribeGlobalTableSettingsRequest(input *DescribeGlobalTable
//
// Describes Region-specific settings for a global table.
//
-// This operation only applies to Version 2017.11.29 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
-// of global tables.
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -2635,6 +2654,9 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request
// table, when it was created, the primary key schema, and any indexes on the
// table.
//
+// This operation only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// of global tables.
+//
// If you issue a DescribeTable request immediately after a CreateTable request,
// DynamoDB might return a ResourceNotFoundException. This is because DescribeTable
// uses an eventually consistent query, and the metadata for your table might
@@ -2724,7 +2746,7 @@ func (c *DynamoDB) DescribeTableReplicaAutoScalingRequest(input *DescribeTableRe
//
// Describes auto scaling settings across replicas of the global table at once.
//
-// This operation only applies to Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// This operation only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
// of global tables.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -3192,7 +3214,8 @@ func (c *DynamoDB) ExecuteStatementRequest(input *ExecuteStatementInput) (req *r
// A single SELECT statement response can return up to the maximum number of
// items (if using the Limit parameter) or a maximum of 1 MB of data (and then
// apply any filtering to the results using WHERE clause). If LastEvaluatedKey
-// is present in the response, you need to paginate the result set.
+// is present in the response, you need to paginate the result set. If NextToken
+// is present, you need to paginate the result set and include NextToken.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -3396,7 +3419,7 @@ func (c *DynamoDB) ExecuteTransactionRequest(input *ExecuteTransactionInput) (re
// as DynamoDB is automatically scaling the table. Throughput exceeds the
// current capacity for one or more global secondary indexes. DynamoDB is
// automatically scaling your index so please try again shortly. This message
-// is returned when when writes get throttled on an On-Demand GSI as DynamoDB
+// is returned when writes get throttled on an On-Demand GSI as DynamoDB
// is automatically scaling the GSI.
//
// - Validation Error: Code: ValidationError Messages: One or more parameter
@@ -3414,6 +3437,47 @@ func (c *DynamoDB) ExecuteTransactionRequest(input *ExecuteTransactionInput) (re
// - TransactionInProgressException
// The transaction with the given request token is already in progress.
//
+// Recommended Settings
+//
+// This is a general recommendation for handling the TransactionInProgressException.
+// These settings help ensure that the client retries will trigger completion
+// of the ongoing TransactWriteItems request.
+//
+// - Set clientExecutionTimeout to a value that allows at least one retry
+// to be processed after 5 seconds have elapsed since the first attempt for
+// the TransactWriteItems operation.
+//
+// - Set socketTimeout to a value a little lower than the requestTimeout
+// setting.
+//
+// - requestTimeout should be set based on the time taken for the individual
+// retries of a single HTTP request for your use case, but setting it to
+// 1 second or higher should work well to reduce chances of retries and TransactionInProgressException
+// errors.
+//
+// - Use exponential backoff when retrying and tune backoff if needed.
+//
+// Assuming default retry policy (https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97),
+// example timeout settings based on the guidelines above are as follows:
+//
+// Example timeline:
+//
+// - 0-1000 first attempt
+//
+// - 1000-1500 first sleep/delay (default retry policy uses 500 ms as base
+// delay for 4xx errors)
+//
+// - 1500-2500 second attempt
+//
+// - 2500-3500 second sleep/delay (500 * 2, exponential backoff)
+//
+// - 3500-4500 third attempt
+//
+// - 4500-6500 third sleep/delay (500 * 2^2)
+//
+// - 6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
+// have elapsed since the first attempt reached TC)
+//
// - IdempotentParameterMismatchException
// DynamoDB rejected the request because you retried a request with a different
// payload but with an idempotent token that was already used.
@@ -4274,8 +4338,13 @@ func (c *DynamoDB) ListGlobalTablesRequest(input *ListGlobalTablesInput) (req *r
//
// Lists all global tables that have a replica in the specified Region.
//
-// This operation only applies to Version 2017.11.29 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
-// of global tables.
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -5871,7 +5940,7 @@ func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *r
//
// - There is a user error, such as an invalid data format.
//
-// - The aggregate size of the items in the transaction cannot exceed 4 MB.
+// - The aggregate size of the items in the transaction exceeded 4 MB.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -5958,7 +6027,7 @@ func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *r
// as DynamoDB is automatically scaling the table. Throughput exceeds the
// current capacity for one or more global secondary indexes. DynamoDB is
// automatically scaling your index so please try again shortly. This message
-// is returned when when writes get throttled on an On-Demand GSI as DynamoDB
+// is returned when writes get throttled on an On-Demand GSI as DynamoDB
// is automatically scaling the GSI.
//
// - Validation Error: Code: ValidationError Messages: One or more parameter
@@ -6219,7 +6288,7 @@ func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (re
// as DynamoDB is automatically scaling the table. Throughput exceeds the
// current capacity for one or more global secondary indexes. DynamoDB is
// automatically scaling your index so please try again shortly. This message
-// is returned when when writes get throttled on an On-Demand GSI as DynamoDB
+// is returned when writes get throttled on an On-Demand GSI as DynamoDB
// is automatically scaling the GSI.
//
// - Validation Error: Code: ValidationError Messages: One or more parameter
@@ -6237,6 +6306,47 @@ func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (re
// - TransactionInProgressException
// The transaction with the given request token is already in progress.
//
+// Recommended Settings
+//
+// This is a general recommendation for handling the TransactionInProgressException.
+// These settings help ensure that the client retries will trigger completion
+// of the ongoing TransactWriteItems request.
+//
+// - Set clientExecutionTimeout to a value that allows at least one retry
+// to be processed after 5 seconds have elapsed since the first attempt for
+// the TransactWriteItems operation.
+//
+// - Set socketTimeout to a value a little lower than the requestTimeout
+// setting.
+//
+// - requestTimeout should be set based on the time taken for the individual
+// retries of a single HTTP request for your use case, but setting it to
+// 1 second or higher should work well to reduce chances of retries and TransactionInProgressException
+// errors.
+//
+// - Use exponential backoff when retrying and tune backoff if needed.
+//
+// Assuming default retry policy (https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97),
+// example timeout settings based on the guidelines above are as follows:
+//
+// Example timeline:
+//
+// - 0-1000 first attempt
+//
+// - 1000-1500 first sleep/delay (default retry policy uses 500 ms as base
+// delay for 4xx errors)
+//
+// - 1500-2500 second attempt
+//
+// - 2500-3500 second sleep/delay (500 * 2, exponential backoff)
+//
+// - 3500-4500 third attempt
+//
+// - 4500-6500 third sleep/delay (500 * 2^2)
+//
+// - 6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
+// have elapsed since the first attempt reached TC)
+//
// - IdempotentParameterMismatchException
// DynamoDB rejected the request because you retried a request with a different
// payload but with an idempotent token that was already used.
@@ -6700,6 +6810,19 @@ func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req
// schema, have DynamoDB Streams enabled, and have the same provisioned and
// maximum write capacity units.
//
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
+//
+// This operation only applies to Version 2017.11.29 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. If you are using global tables Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// you can use DescribeTable (https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html)
+// instead.
+//
// Although you can use UpdateGlobalTable to add replicas and remove replicas
// in a single request, for simplicity we recommend that you issue separate
// requests for adding or removing replicas.
@@ -6833,6 +6956,14 @@ func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSett
//
// Updates settings for a global table.
//
+// This operation only applies to Version 2017.11.29 (Legacy) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html)
+// of global tables. We recommend using Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// when creating new global tables, as it provides greater flexibility, higher
+// efficiency and consumes less write capacity than 2017.11.29 (Legacy). To
+// determine which version you are using, see Determining the version (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html).
+// To update existing global tables from version 2017.11.29 (Legacy) to version
+// 2019.11.21 (Current), see Updating global tables (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html).
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -7107,6 +7238,9 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
// Modifies the provisioned throughput settings, global secondary indexes, or
// DynamoDB Streams settings for a given table.
//
+// This operation only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// of global tables.
+//
// You can only perform one of the following operations at once:
//
// - Modify the provisioned throughput settings of the table.
@@ -7226,7 +7360,7 @@ func (c *DynamoDB) UpdateTableReplicaAutoScalingRequest(input *UpdateTableReplic
//
// Updates auto scaling settings on your global tables at once.
//
-// This operation only applies to Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+// This operation only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
// of global tables.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -9717,14 +9851,20 @@ type ConditionCheck struct {
_ struct{} `type:"structure"`
// A condition that must be satisfied in order for a conditional update to succeed.
+ // For more information, see Condition expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html)
+ // in the Amazon DynamoDB Developer Guide.
//
// ConditionExpression is a required field
ConditionExpression *string `type:"string" required:"true"`
- // One or more substitution tokens for attribute names in an expression.
+ // One or more substitution tokens for attribute names in an expression. For
+ // more information, see Expression attribute names (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html)
+ // in the Amazon DynamoDB Developer Guide.
ExpressionAttributeNames map[string]*string `type:"map"`
- // One or more values that can be substituted in an expression.
+ // One or more values that can be substituted in an expression. For more information,
+ // see Condition expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html)
+ // in the Amazon DynamoDB Developer Guide.
ExpressionAttributeValues map[string]*AttributeValue `type:"map"`
// The primary key of the item to be checked. Each element consists of an attribute
@@ -10615,6 +10755,10 @@ type CreateTableInput struct {
// workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand).
BillingMode *string `type:"string" enum:"BillingMode"`
+ // Indicates whether deletion protection is to be enabled (true) or disabled
+ // (false) on the table.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
// One or more global secondary indexes (the maximum is 20) to be created on
// the table. Each global secondary index in the array includes the following:
//
@@ -10860,6 +11004,12 @@ func (s *CreateTableInput) SetBillingMode(v string) *CreateTableInput {
return s
}
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *CreateTableInput) SetDeletionProtectionEnabled(v bool) *CreateTableInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value.
func (s *CreateTableInput) SetGlobalSecondaryIndexes(v []*GlobalSecondaryIndex) *CreateTableInput {
s.GlobalSecondaryIndexes = v
@@ -11332,7 +11482,7 @@ type DeleteItemInput struct {
// A map of attribute names to AttributeValue objects, representing the primary
// key of the item to delete.
//
- // For the primary key, you must provide all of the attributes. For example,
+ // For the primary key, you must provide all of the key attributes. For example,
// with a simple primary key, you only need to provide a value for the partition
// key. For a composite primary key, you must provide values for both the partition
// key and the sort key.
@@ -11493,7 +11643,7 @@ type DeleteItemOutput struct {
// includes the total provisioned throughput consumed, along with statistics
// for the table and any indexes involved in the operation. ConsumedCapacity
// is only returned if the ReturnConsumedCapacity parameter was specified. For
- // more information, see Provisioned Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
+ // more information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
// in the Amazon DynamoDB Developer Guide.
ConsumedCapacity *ConsumedCapacity `type:"structure"`
@@ -14647,7 +14797,7 @@ type GetItemOutput struct {
// the total provisioned throughput consumed, along with statistics for the
// table and any indexes involved in the operation. ConsumedCapacity is only
// returned if the ReturnConsumedCapacity parameter was specified. For more
- // information, see Read/Write Capacity Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
+ // information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads)
// in the Amazon DynamoDB Developer Guide.
ConsumedCapacity *ConsumedCapacity `type:"structure"`
@@ -19024,7 +19174,7 @@ type PutItemOutput struct {
// the total provisioned throughput consumed, along with statistics for the
// table and any indexes involved in the operation. ConsumedCapacity is only
// returned if the ReturnConsumedCapacity parameter was specified. For more
- // information, see Read/Write Capacity Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
+ // information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
// in the Amazon DynamoDB Developer Guide.
ConsumedCapacity *ConsumedCapacity `type:"structure"`
@@ -19382,7 +19532,8 @@ type QueryInput struct {
// to specifying ALL_ATTRIBUTES.
//
// * COUNT - Returns the number of matching items, rather than the matching
- // items themselves.
+ // items themselves. Note that this uses the same quantity of read capacity
+ // units as getting the items, and is subject to the same item size calculations.
//
// * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in ProjectionExpression.
// This return value is equivalent to specifying ProjectionExpression without
@@ -21938,7 +22089,8 @@ type ScanInput struct {
// to specifying ALL_ATTRIBUTES.
//
// * COUNT - Returns the number of matching items, rather than the matching
- // items themselves.
+ // items themselves. Note that this uses the same quantity of read capacity
+ // units as getting the items, and is subject to the same item size calculations.
//
// * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in ProjectionExpression.
// This return value is equivalent to specifying ProjectionExpression without
@@ -22144,7 +22296,7 @@ type ScanOutput struct {
// the total provisioned throughput consumed, along with statistics for the
// table and any indexes involved in the operation. ConsumedCapacity is only
// returned if the ReturnConsumedCapacity parameter was specified. For more
- // information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
+ // information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads)
// in the Amazon DynamoDB Developer Guide.
ConsumedCapacity *ConsumedCapacity `type:"structure"`
@@ -22844,6 +22996,10 @@ type TableDescription struct {
// format.
CreationDateTime *time.Time `type:"timestamp"`
+ // Indicates whether deletion protection is enabled (true) or disabled (false)
+ // on the table.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
// The global secondary indexes, if any, on the table. Each index is scoped
// to a given partition key value. Each element is composed of:
//
@@ -23078,6 +23234,12 @@ func (s *TableDescription) SetCreationDateTime(v time.Time) *TableDescription {
return s
}
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *TableDescription) SetDeletionProtectionEnabled(v bool) *TableDescription {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value.
func (s *TableDescription) SetGlobalSecondaryIndexes(v []*GlobalSecondaryIndexDescription) *TableDescription {
s.GlobalSecondaryIndexes = v
@@ -23870,7 +24032,7 @@ type TransactWriteItemsInput struct {
//
// Although multiple identical calls using the same client request token produce
// the same result on the server (no side effects), the responses to the calls
- // might not be the same. If the ReturnConsumedCapacity> parameter is set, then
+ // might not be the same. If the ReturnConsumedCapacity parameter is set, then
// the initial TransactWriteItems call returns the amount of write capacity
// units consumed in making the changes. Subsequent TransactWriteItems calls
// with the same client token return the number of read capacity units consumed
@@ -24103,7 +24265,7 @@ func (s *TransactWriteItemsOutput) SetItemCollectionMetrics(v map[string][]*Item
// as DynamoDB is automatically scaling the table. Throughput exceeds the
// current capacity for one or more global secondary indexes. DynamoDB is
// automatically scaling your index so please try again shortly. This message
-// is returned when when writes get throttled on an On-Demand GSI as DynamoDB
+// is returned when writes get throttled on an On-Demand GSI as DynamoDB
// is automatically scaling the GSI.
//
// - Validation Error: Code: ValidationError Messages: One or more parameter
@@ -24248,6 +24410,47 @@ func (s *TransactionConflictException) RequestID() string {
}
// The transaction with the given request token is already in progress.
+//
+// # Recommended Settings
+//
+// This is a general recommendation for handling the TransactionInProgressException.
+// These settings help ensure that the client retries will trigger completion
+// of the ongoing TransactWriteItems request.
+//
+// - Set clientExecutionTimeout to a value that allows at least one retry
+// to be processed after 5 seconds have elapsed since the first attempt for
+// the TransactWriteItems operation.
+//
+// - Set socketTimeout to a value a little lower than the requestTimeout
+// setting.
+//
+// - requestTimeout should be set based on the time taken for the individual
+// retries of a single HTTP request for your use case, but setting it to
+// 1 second or higher should work well to reduce chances of retries and TransactionInProgressException
+// errors.
+//
+// - Use exponential backoff when retrying and tune backoff if needed.
+//
+// Assuming default retry policy (https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97),
+// example timeout settings based on the guidelines above are as follows:
+//
+// Example timeline:
+//
+// - 0-1000 first attempt
+//
+// - 1000-1500 first sleep/delay (default retry policy uses 500 ms as base
+// delay for 4xx errors)
+//
+// - 1500-2500 second attempt
+//
+// - 2500-3500 second sleep/delay (500 * 2, exponential backoff)
+//
+// - 3500-4500 third attempt
+//
+// - 4500-6500 third sleep/delay (500 * 2^2)
+//
+// - 6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
+// have elapsed since the first attempt reached TC)
type TransactionInProgressException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -25224,7 +25427,8 @@ type UpdateItemInput struct {
ReturnItemCollectionMetrics *string `type:"string" enum:"ReturnItemCollectionMetrics"`
// Use ReturnValues if you want to get the item attributes as they appear before
- // or after they are updated. For UpdateItem, the valid values are:
+ // or after they are successfully updated. For UpdateItem, the valid values
+ // are:
//
// * NONE - If ReturnValues is not specified, or if its value is NONE, then
// nothing is returned. (This setting is the default for ReturnValues.)
@@ -25429,15 +25633,16 @@ type UpdateItemOutput struct {
// A map of attribute values as they appear before or after the UpdateItem operation,
// as determined by the ReturnValues parameter.
//
- // The Attributes map is only present if ReturnValues was specified as something
- // other than NONE in the request. Each element represents one attribute.
+ // The Attributes map is only present if the update was successful and ReturnValues
+ // was specified as something other than NONE in the request. Each element represents
+ // one attribute.
Attributes map[string]*AttributeValue `type:"map"`
// The capacity units consumed by the UpdateItem operation. The data returned
// includes the total provisioned throughput consumed, along with statistics
// for the table and any indexes involved in the operation. ConsumedCapacity
// is only returned if the ReturnConsumedCapacity parameter was specified. For
- // more information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
+ // more information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads)
// in the Amazon DynamoDB Developer Guide.
ConsumedCapacity *ConsumedCapacity `type:"structure"`
@@ -25626,6 +25831,10 @@ type UpdateTableInput struct {
// workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand).
BillingMode *string `type:"string" enum:"BillingMode"`
+ // Indicates whether deletion protection is to be enabled (true) or disabled
+ // (false) on the table.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
// An array of one or more global secondary indexes for the table. For each
// index in the array, you can request one action:
//
@@ -25648,7 +25857,7 @@ type UpdateTableInput struct {
// A list of replica update actions (create, delete, or update) for the table.
//
- // This property only applies to Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
+ // This property only applies to Version 2019.11.21 (Current) (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html)
// of global tables.
ReplicaUpdates []*ReplicationGroupUpdate `min:"1" type:"list"`
@@ -25761,6 +25970,12 @@ func (s *UpdateTableInput) SetBillingMode(v string) *UpdateTableInput {
return s
}
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *UpdateTableInput) SetDeletionProtectionEnabled(v bool) *UpdateTableInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
// SetGlobalSecondaryIndexUpdates sets the GlobalSecondaryIndexUpdates field's value.
func (s *UpdateTableInput) SetGlobalSecondaryIndexUpdates(v []*GlobalSecondaryIndexUpdate) *UpdateTableInput {
s.GlobalSecondaryIndexUpdates = v
diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go
index 9f7baf88f6..d3af3262eb 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/errors.go
@@ -283,7 +283,7 @@ const (
// as DynamoDB is automatically scaling the table. Throughput exceeds the
// current capacity for one or more global secondary indexes. DynamoDB is
// automatically scaling your index so please try again shortly. This message
- // is returned when when writes get throttled on an On-Demand GSI as DynamoDB
+ // is returned when writes get throttled on an On-Demand GSI as DynamoDB
// is automatically scaling the GSI.
//
// * Validation Error: Code: ValidationError Messages: One or more parameter
@@ -309,6 +309,47 @@ const (
// "TransactionInProgressException".
//
// The transaction with the given request token is already in progress.
+ //
+ // Recommended Settings
+ //
+ // This is a general recommendation for handling the TransactionInProgressException.
+ // These settings help ensure that the client retries will trigger completion
+ // of the ongoing TransactWriteItems request.
+ //
+ // * Set clientExecutionTimeout to a value that allows at least one retry
+ // to be processed after 5 seconds have elapsed since the first attempt for
+ // the TransactWriteItems operation.
+ //
+ // * Set socketTimeout to a value a little lower than the requestTimeout
+ // setting.
+ //
+ // * requestTimeout should be set based on the time taken for the individual
+ // retries of a single HTTP request for your use case, but setting it to
+ // 1 second or higher should work well to reduce chances of retries and TransactionInProgressException
+ // errors.
+ //
+ // * Use exponential backoff when retrying and tune backoff if needed.
+ //
+ // Assuming default retry policy (https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97),
+ // example timeout settings based on the guidelines above are as follows:
+ //
+ // Example timeline:
+ //
+ // * 0-1000 first attempt
+ //
+ // * 1000-1500 first sleep/delay (default retry policy uses 500 ms as base
+ // delay for 4xx errors)
+ //
+ // * 1500-2500 second attempt
+ //
+ // * 2500-3500 second sleep/delay (500 * 2, exponential backoff)
+ //
+ // * 3500-4500 third attempt
+ //
+ // * 4500-6500 third sleep/delay (500 * 2^2)
+ //
+ // * 6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
+ // have elapsed since the first attempt reached TC)
ErrCodeTransactionInProgressException = "TransactionInProgressException"
)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go
index c0706bec93..63729d0a78 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go
@@ -56,12 +56,11 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
// AssumeRole API operation for AWS Security Token Service.
//
// Returns a set of temporary security credentials that you can use to access
-// Amazon Web Services resources that you might not normally have access to.
-// These temporary credentials consist of an access key ID, a secret access
-// key, and a security token. Typically, you use AssumeRole within your account
-// or for cross-account access. For a comparison of AssumeRole with other API
-// operations that produce temporary credentials, see Requesting Temporary Security
-// Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html)
+// Amazon Web Services resources. These temporary credentials consist of an
+// access key ID, a secret access key, and a security token. Typically, you
+// use AssumeRole within your account or for cross-account access. For a comparison
+// of AssumeRole with other API operations that produce temporary credentials,
+// see Requesting Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html)
// and Comparing the Amazon Web Services STS API operations (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison)
// in the IAM User Guide.
//
@@ -1103,13 +1102,15 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
// # Permissions
//
// You can use the temporary credentials created by GetFederationToken in any
-// Amazon Web Services service except the following:
+// Amazon Web Services service with the following exceptions:
//
// - You cannot call any IAM operations using the CLI or the Amazon Web Services
-// API.
+// API. This limitation does not apply to console sessions.
//
// - You cannot call any STS operations except GetCallerIdentity.
//
+// You can use temporary credentials for single sign-on (SSO) to the console.
+//
// You must pass an inline or managed session policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policy Amazon
diff --git a/vendor/github.com/bgentry/speakeasy/.gitignore b/vendor/github.com/bgentry/speakeasy/.gitignore
deleted file mode 100644
index 9e1311461e..0000000000
--- a/vendor/github.com/bgentry/speakeasy/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-example/example
-example/example.exe
diff --git a/vendor/github.com/bgentry/speakeasy/LICENSE b/vendor/github.com/bgentry/speakeasy/LICENSE
deleted file mode 100644
index 37d60fc354..0000000000
--- a/vendor/github.com/bgentry/speakeasy/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-MIT License
-
-Copyright (c) 2017 Blake Gentry
-
-This license applies to the non-Windows portions of this library. The Windows
-portion maintains its own Apache 2.0 license.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/github.com/bgentry/speakeasy/LICENSE_WINDOWS b/vendor/github.com/bgentry/speakeasy/LICENSE_WINDOWS
deleted file mode 100644
index ff177f6124..0000000000
--- a/vendor/github.com/bgentry/speakeasy/LICENSE_WINDOWS
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
-2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
-3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
-4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
-5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
-6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
-8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
-Copyright [2013] [the CloudFoundry 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.
diff --git a/vendor/github.com/bgentry/speakeasy/Readme.md b/vendor/github.com/bgentry/speakeasy/Readme.md
deleted file mode 100644
index fceda7518c..0000000000
--- a/vendor/github.com/bgentry/speakeasy/Readme.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Speakeasy
-
-This package provides cross-platform Go (#golang) helpers for taking user input
-from the terminal while not echoing the input back (similar to `getpasswd`). The
-package uses syscalls to avoid any dependence on cgo, and is therefore
-compatible with cross-compiling.
-
-[![GoDoc](https://godoc.org/github.com/bgentry/speakeasy?status.png)][godoc]
-
-## Unicode
-
-Multi-byte unicode characters work successfully on Mac OS X. On Windows,
-however, this may be problematic (as is UTF in general on Windows). Other
-platforms have not been tested.
-
-## License
-
-The code herein was not written by me, but was compiled from two separate open
-source packages. Unix portions were imported from [gopass][gopass], while
-Windows portions were imported from the [CloudFoundry Go CLI][cf-cli]'s
-[Windows terminal helpers][cf-ui-windows].
-
-The [license for the windows portion](./LICENSE_WINDOWS) has been copied exactly
-from the source (though I attempted to fill in the correct owner in the
-boilerplate copyright notice).
-
-[cf-cli]: https://github.com/cloudfoundry/cli "CloudFoundry Go CLI"
-[cf-ui-windows]: https://github.com/cloudfoundry/cli/blob/master/src/cf/terminal/ui_windows.go "CloudFoundry Go CLI Windows input helpers"
-[godoc]: https://godoc.org/github.com/bgentry/speakeasy "speakeasy on Godoc.org"
-[gopass]: https://code.google.com/p/gopass "gopass"
diff --git a/vendor/github.com/bgentry/speakeasy/speakeasy.go b/vendor/github.com/bgentry/speakeasy/speakeasy.go
deleted file mode 100644
index 71c1dd1b96..0000000000
--- a/vendor/github.com/bgentry/speakeasy/speakeasy.go
+++ /dev/null
@@ -1,49 +0,0 @@
-package speakeasy
-
-import (
- "fmt"
- "io"
- "os"
- "strings"
-)
-
-// Ask the user to enter a password with input hidden. prompt is a string to
-// display before the user's input. Returns the provided password, or an error
-// if the command failed.
-func Ask(prompt string) (password string, err error) {
- return FAsk(os.Stdout, prompt)
-}
-
-// FAsk is the same as Ask, except it is possible to specify the file to write
-// the prompt to. If 'nil' is passed as the writer, no prompt will be written.
-func FAsk(wr io.Writer, prompt string) (password string, err error) {
- if wr != nil && prompt != "" {
- fmt.Fprint(wr, prompt) // Display the prompt.
- }
- password, err = getPassword()
-
- // Carriage return after the user input.
- if wr != nil {
- fmt.Fprintln(wr, "")
- }
- return
-}
-
-func readline() (value string, err error) {
- var valb []byte
- var n int
- b := make([]byte, 1)
- for {
- // read one byte at a time so we don't accidentally read extra bytes
- n, err = os.Stdin.Read(b)
- if err != nil && err != io.EOF {
- return "", err
- }
- if n == 0 || b[0] == '\n' {
- break
- }
- valb = append(valb, b[0])
- }
-
- return strings.TrimSuffix(string(valb), "\r"), nil
-}
diff --git a/vendor/github.com/bgentry/speakeasy/speakeasy_unix.go b/vendor/github.com/bgentry/speakeasy/speakeasy_unix.go
deleted file mode 100644
index d99fda1919..0000000000
--- a/vendor/github.com/bgentry/speakeasy/speakeasy_unix.go
+++ /dev/null
@@ -1,93 +0,0 @@
-// based on https://code.google.com/p/gopass
-// Author: johnsiilver@gmail.com (John Doak)
-//
-// Original code is based on code by RogerV in the golang-nuts thread:
-// https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247
-
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-
-package speakeasy
-
-import (
- "fmt"
- "os"
- "os/signal"
- "strings"
- "syscall"
-)
-
-const sttyArg0 = "/bin/stty"
-
-var (
- sttyArgvEOff = []string{"stty", "-echo"}
- sttyArgvEOn = []string{"stty", "echo"}
-)
-
-// getPassword gets input hidden from the terminal from a user. This is
-// accomplished by turning off terminal echo, reading input from the user and
-// finally turning on terminal echo.
-func getPassword() (password string, err error) {
- sig := make(chan os.Signal, 10)
- brk := make(chan bool)
-
- // File descriptors for stdin, stdout, and stderr.
- fd := []uintptr{os.Stdin.Fd(), os.Stdout.Fd(), os.Stderr.Fd()}
-
- // Setup notifications of termination signals to channel sig, create a process to
- // watch for these signals so we can turn back on echo if need be.
- signal.Notify(sig, syscall.SIGHUP, syscall.SIGINT, syscall.SIGKILL, syscall.SIGQUIT,
- syscall.SIGTERM)
- go catchSignal(fd, sig, brk)
-
- // Turn off the terminal echo.
- pid, err := echoOff(fd)
- if err != nil {
- return "", err
- }
-
- // Turn on the terminal echo and stop listening for signals.
- defer signal.Stop(sig)
- defer close(brk)
- defer echoOn(fd)
-
- syscall.Wait4(pid, nil, 0, nil)
-
- line, err := readline()
- if err == nil {
- password = strings.TrimSpace(line)
- } else {
- err = fmt.Errorf("failed during password entry: %s", err)
- }
-
- return password, err
-}
-
-// echoOff turns off the terminal echo.
-func echoOff(fd []uintptr) (int, error) {
- pid, err := syscall.ForkExec(sttyArg0, sttyArgvEOff, &syscall.ProcAttr{Dir: "", Files: fd})
- if err != nil {
- return 0, fmt.Errorf("failed turning off console echo for password entry:\n\t%s", err)
- }
- return pid, nil
-}
-
-// echoOn turns back on the terminal echo.
-func echoOn(fd []uintptr) {
- // Turn on the terminal echo.
- pid, e := syscall.ForkExec(sttyArg0, sttyArgvEOn, &syscall.ProcAttr{Dir: "", Files: fd})
- if e == nil {
- syscall.Wait4(pid, nil, 0, nil)
- }
-}
-
-// catchSignal tries to catch SIGKILL, SIGQUIT and SIGINT so that we can turn
-// terminal echo back on before the program ends. Otherwise the user is left
-// with echo off on their terminal.
-func catchSignal(fd []uintptr, sig chan os.Signal, brk chan bool) {
- select {
- case <-sig:
- echoOn(fd)
- os.Exit(-1)
- case <-brk:
- }
-}
diff --git a/vendor/github.com/bgentry/speakeasy/speakeasy_windows.go b/vendor/github.com/bgentry/speakeasy/speakeasy_windows.go
deleted file mode 100644
index c2093a8091..0000000000
--- a/vendor/github.com/bgentry/speakeasy/speakeasy_windows.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// +build windows
-
-package speakeasy
-
-import (
- "syscall"
-)
-
-// SetConsoleMode function can be used to change value of ENABLE_ECHO_INPUT:
-// http://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx
-const ENABLE_ECHO_INPUT = 0x0004
-
-func getPassword() (password string, err error) {
- var oldMode uint32
-
- err = syscall.GetConsoleMode(syscall.Stdin, &oldMode)
- if err != nil {
- return
- }
-
- var newMode uint32 = (oldMode &^ ENABLE_ECHO_INPUT)
-
- err = setConsoleMode(syscall.Stdin, newMode)
- defer setConsoleMode(syscall.Stdin, oldMode)
- if err != nil {
- return
- }
-
- return readline()
-}
-
-func setConsoleMode(console syscall.Handle, mode uint32) (err error) {
- dll := syscall.MustLoadDLL("kernel32")
- proc := dll.MustFindProc("SetConsoleMode")
- r, _, err := proc.Call(uintptr(console), uintptr(mode))
-
- if r == 0 {
- return err
- }
- return nil
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/.gitignore b/vendor/github.com/cenkalti/backoff/v4/.gitignore
deleted file mode 100644
index 50d95c548b..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/.gitignore
+++ /dev/null
@@ -1,25 +0,0 @@
-# Compiled Object files, Static and Dynamic libs (Shared Objects)
-*.o
-*.a
-*.so
-
-# Folders
-_obj
-_test
-
-# Architecture specific extensions/prefixes
-*.[568vq]
-[568vq].out
-
-*.cgo1.go
-*.cgo2.c
-_cgo_defun.c
-_cgo_gotypes.go
-_cgo_export.*
-
-_testmain.go
-
-*.exe
-
-# IDEs
-.idea/
diff --git a/vendor/github.com/cenkalti/backoff/v4/.travis.yml b/vendor/github.com/cenkalti/backoff/v4/.travis.yml
deleted file mode 100644
index c79105c2fb..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/.travis.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-language: go
-go:
- - 1.13
- - 1.x
- - tip
-before_install:
- - go get github.com/mattn/goveralls
- - go get golang.org/x/tools/cmd/cover
-script:
- - $HOME/gopath/bin/goveralls -service=travis-ci
diff --git a/vendor/github.com/cenkalti/backoff/v4/LICENSE b/vendor/github.com/cenkalti/backoff/v4/LICENSE
deleted file mode 100644
index 89b8179965..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Cenk Altı
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/github.com/cenkalti/backoff/v4/README.md b/vendor/github.com/cenkalti/backoff/v4/README.md
deleted file mode 100644
index 16abdfc084..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/README.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Build Status][travis image]][travis] [![Coverage Status][coveralls image]][coveralls]
-
-This is a Go port of the exponential backoff algorithm from [Google's HTTP Client Library for Java][google-http-java-client].
-
-[Exponential backoff][exponential backoff wiki]
-is an algorithm that uses feedback to multiplicatively decrease the rate of some process,
-in order to gradually find an acceptable rate.
-The retries exponentially increase and stop increasing when a certain threshold is met.
-
-## Usage
-
-Import path is `github.com/cenkalti/backoff/v4`. Please note the version part at the end.
-
-Use https://pkg.go.dev/github.com/cenkalti/backoff/v4 to view the documentation.
-
-## Contributing
-
-* I would like to keep this library as small as possible.
-* Please don't send a PR without opening an issue and discussing it first.
-* If proposed change is not a common use case, I will probably not accept it.
-
-[godoc]: https://pkg.go.dev/github.com/cenkalti/backoff/v4
-[godoc image]: https://godoc.org/github.com/cenkalti/backoff?status.png
-[travis]: https://travis-ci.org/cenkalti/backoff
-[travis image]: https://travis-ci.org/cenkalti/backoff.png?branch=master
-[coveralls]: https://coveralls.io/github/cenkalti/backoff?branch=master
-[coveralls image]: https://coveralls.io/repos/github/cenkalti/backoff/badge.svg?branch=master
-
-[google-http-java-client]: https://github.com/google/google-http-java-client/blob/da1aa993e90285ec18579f1553339b00e19b3ab5/google-http-client/src/main/java/com/google/api/client/util/ExponentialBackOff.java
-[exponential backoff wiki]: http://en.wikipedia.org/wiki/Exponential_backoff
-
-[advanced example]: https://pkg.go.dev/github.com/cenkalti/backoff/v4?tab=doc#pkg-examples
diff --git a/vendor/github.com/cenkalti/backoff/v4/backoff.go b/vendor/github.com/cenkalti/backoff/v4/backoff.go
deleted file mode 100644
index 3676ee405d..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/backoff.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Package backoff implements backoff algorithms for retrying operations.
-//
-// Use Retry function for retrying operations that may fail.
-// If Retry does not meet your needs,
-// copy/paste the function into your project and modify as you wish.
-//
-// There is also Ticker type similar to time.Ticker.
-// You can use it if you need to work with channels.
-//
-// See Examples section below for usage examples.
-package backoff
-
-import "time"
-
-// BackOff is a backoff policy for retrying an operation.
-type BackOff interface {
- // NextBackOff returns the duration to wait before retrying the operation,
- // or backoff. Stop to indicate that no more retries should be made.
- //
- // Example usage:
- //
- // duration := backoff.NextBackOff();
- // if (duration == backoff.Stop) {
- // // Do not retry operation.
- // } else {
- // // Sleep for duration and retry operation.
- // }
- //
- NextBackOff() time.Duration
-
- // Reset to initial state.
- Reset()
-}
-
-// Stop indicates that no more retries should be made for use in NextBackOff().
-const Stop time.Duration = -1
-
-// ZeroBackOff is a fixed backoff policy whose backoff time is always zero,
-// meaning that the operation is retried immediately without waiting, indefinitely.
-type ZeroBackOff struct{}
-
-func (b *ZeroBackOff) Reset() {}
-
-func (b *ZeroBackOff) NextBackOff() time.Duration { return 0 }
-
-// StopBackOff is a fixed backoff policy that always returns backoff.Stop for
-// NextBackOff(), meaning that the operation should never be retried.
-type StopBackOff struct{}
-
-func (b *StopBackOff) Reset() {}
-
-func (b *StopBackOff) NextBackOff() time.Duration { return Stop }
-
-// ConstantBackOff is a backoff policy that always returns the same backoff delay.
-// This is in contrast to an exponential backoff policy,
-// which returns a delay that grows longer as you call NextBackOff() over and over again.
-type ConstantBackOff struct {
- Interval time.Duration
-}
-
-func (b *ConstantBackOff) Reset() {}
-func (b *ConstantBackOff) NextBackOff() time.Duration { return b.Interval }
-
-func NewConstantBackOff(d time.Duration) *ConstantBackOff {
- return &ConstantBackOff{Interval: d}
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/context.go b/vendor/github.com/cenkalti/backoff/v4/context.go
deleted file mode 100644
index 48482330eb..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/context.go
+++ /dev/null
@@ -1,62 +0,0 @@
-package backoff
-
-import (
- "context"
- "time"
-)
-
-// BackOffContext is a backoff policy that stops retrying after the context
-// is canceled.
-type BackOffContext interface { // nolint: golint
- BackOff
- Context() context.Context
-}
-
-type backOffContext struct {
- BackOff
- ctx context.Context
-}
-
-// WithContext returns a BackOffContext with context ctx
-//
-// ctx must not be nil
-func WithContext(b BackOff, ctx context.Context) BackOffContext { // nolint: golint
- if ctx == nil {
- panic("nil context")
- }
-
- if b, ok := b.(*backOffContext); ok {
- return &backOffContext{
- BackOff: b.BackOff,
- ctx: ctx,
- }
- }
-
- return &backOffContext{
- BackOff: b,
- ctx: ctx,
- }
-}
-
-func getContext(b BackOff) context.Context {
- if cb, ok := b.(BackOffContext); ok {
- return cb.Context()
- }
- if tb, ok := b.(*backOffTries); ok {
- return getContext(tb.delegate)
- }
- return context.Background()
-}
-
-func (b *backOffContext) Context() context.Context {
- return b.ctx
-}
-
-func (b *backOffContext) NextBackOff() time.Duration {
- select {
- case <-b.ctx.Done():
- return Stop
- default:
- return b.BackOff.NextBackOff()
- }
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/exponential.go b/vendor/github.com/cenkalti/backoff/v4/exponential.go
deleted file mode 100644
index 2c56c1e718..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/exponential.go
+++ /dev/null
@@ -1,161 +0,0 @@
-package backoff
-
-import (
- "math/rand"
- "time"
-)
-
-/*
-ExponentialBackOff is a backoff implementation that increases the backoff
-period for each retry attempt using a randomization function that grows exponentially.
-
-NextBackOff() is calculated using the following formula:
-
- randomized interval =
- RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor])
-
-In other words NextBackOff() will range between the randomization factor
-percentage below and above the retry interval.
-
-For example, given the following parameters:
-
- RetryInterval = 2
- RandomizationFactor = 0.5
- Multiplier = 2
-
-the actual backoff period used in the next retry attempt will range between 1 and 3 seconds,
-multiplied by the exponential, that is, between 2 and 6 seconds.
-
-Note: MaxInterval caps the RetryInterval and not the randomized interval.
-
-If the time elapsed since an ExponentialBackOff instance is created goes past the
-MaxElapsedTime, then the method NextBackOff() starts returning backoff.Stop.
-
-The elapsed time can be reset by calling Reset().
-
-Example: Given the following default arguments, for 10 tries the sequence will be,
-and assuming we go over the MaxElapsedTime on the 10th try:
-
- Request # RetryInterval (seconds) Randomized Interval (seconds)
-
- 1 0.5 [0.25, 0.75]
- 2 0.75 [0.375, 1.125]
- 3 1.125 [0.562, 1.687]
- 4 1.687 [0.8435, 2.53]
- 5 2.53 [1.265, 3.795]
- 6 3.795 [1.897, 5.692]
- 7 5.692 [2.846, 8.538]
- 8 8.538 [4.269, 12.807]
- 9 12.807 [6.403, 19.210]
- 10 19.210 backoff.Stop
-
-Note: Implementation is not thread-safe.
-*/
-type ExponentialBackOff struct {
- InitialInterval time.Duration
- RandomizationFactor float64
- Multiplier float64
- MaxInterval time.Duration
- // After MaxElapsedTime the ExponentialBackOff returns Stop.
- // It never stops if MaxElapsedTime == 0.
- MaxElapsedTime time.Duration
- Stop time.Duration
- Clock Clock
-
- currentInterval time.Duration
- startTime time.Time
-}
-
-// Clock is an interface that returns current time for BackOff.
-type Clock interface {
- Now() time.Time
-}
-
-// Default values for ExponentialBackOff.
-const (
- DefaultInitialInterval = 500 * time.Millisecond
- DefaultRandomizationFactor = 0.5
- DefaultMultiplier = 1.5
- DefaultMaxInterval = 60 * time.Second
- DefaultMaxElapsedTime = 15 * time.Minute
-)
-
-// NewExponentialBackOff creates an instance of ExponentialBackOff using default values.
-func NewExponentialBackOff() *ExponentialBackOff {
- b := &ExponentialBackOff{
- InitialInterval: DefaultInitialInterval,
- RandomizationFactor: DefaultRandomizationFactor,
- Multiplier: DefaultMultiplier,
- MaxInterval: DefaultMaxInterval,
- MaxElapsedTime: DefaultMaxElapsedTime,
- Stop: Stop,
- Clock: SystemClock,
- }
- b.Reset()
- return b
-}
-
-type systemClock struct{}
-
-func (t systemClock) Now() time.Time {
- return time.Now()
-}
-
-// SystemClock implements Clock interface that uses time.Now().
-var SystemClock = systemClock{}
-
-// Reset the interval back to the initial retry interval and restarts the timer.
-// Reset must be called before using b.
-func (b *ExponentialBackOff) Reset() {
- b.currentInterval = b.InitialInterval
- b.startTime = b.Clock.Now()
-}
-
-// NextBackOff calculates the next backoff interval using the formula:
-// Randomized interval = RetryInterval * (1 ± RandomizationFactor)
-func (b *ExponentialBackOff) NextBackOff() time.Duration {
- // Make sure we have not gone over the maximum elapsed time.
- elapsed := b.GetElapsedTime()
- next := getRandomValueFromInterval(b.RandomizationFactor, rand.Float64(), b.currentInterval)
- b.incrementCurrentInterval()
- if b.MaxElapsedTime != 0 && elapsed+next > b.MaxElapsedTime {
- return b.Stop
- }
- return next
-}
-
-// GetElapsedTime returns the elapsed time since an ExponentialBackOff instance
-// is created and is reset when Reset() is called.
-//
-// The elapsed time is computed using time.Now().UnixNano(). It is
-// safe to call even while the backoff policy is used by a running
-// ticker.
-func (b *ExponentialBackOff) GetElapsedTime() time.Duration {
- return b.Clock.Now().Sub(b.startTime)
-}
-
-// Increments the current interval by multiplying it with the multiplier.
-func (b *ExponentialBackOff) incrementCurrentInterval() {
- // Check for overflow, if overflow is detected set the current interval to the max interval.
- if float64(b.currentInterval) >= float64(b.MaxInterval)/b.Multiplier {
- b.currentInterval = b.MaxInterval
- } else {
- b.currentInterval = time.Duration(float64(b.currentInterval) * b.Multiplier)
- }
-}
-
-// Returns a random value from the following interval:
-// [currentInterval - randomizationFactor * currentInterval, currentInterval + randomizationFactor * currentInterval].
-func getRandomValueFromInterval(randomizationFactor, random float64, currentInterval time.Duration) time.Duration {
- if randomizationFactor == 0 {
- return currentInterval // make sure no randomness is used when randomizationFactor is 0.
- }
- var delta = randomizationFactor * float64(currentInterval)
- var minInterval = float64(currentInterval) - delta
- var maxInterval = float64(currentInterval) + delta
-
- // Get a random value from the range [minInterval, maxInterval].
- // The formula used below has a +1 because if the minInterval is 1 and the maxInterval is 3 then
- // we want a 33% chance for selecting either 1, 2 or 3.
- return time.Duration(minInterval + (random * (maxInterval - minInterval + 1)))
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/retry.go b/vendor/github.com/cenkalti/backoff/v4/retry.go
deleted file mode 100644
index 1ce2507ebc..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/retry.go
+++ /dev/null
@@ -1,112 +0,0 @@
-package backoff
-
-import (
- "errors"
- "time"
-)
-
-// An Operation is executing by Retry() or RetryNotify().
-// The operation will be retried using a backoff policy if it returns an error.
-type Operation func() error
-
-// Notify is a notify-on-error function. It receives an operation error and
-// backoff delay if the operation failed (with an error).
-//
-// NOTE that if the backoff policy stated to stop retrying,
-// the notify function isn't called.
-type Notify func(error, time.Duration)
-
-// Retry the operation o until it does not return error or BackOff stops.
-// o is guaranteed to be run at least once.
-//
-// If o returns a *PermanentError, the operation is not retried, and the
-// wrapped error is returned.
-//
-// Retry sleeps the goroutine for the duration returned by BackOff after a
-// failed operation returns.
-func Retry(o Operation, b BackOff) error {
- return RetryNotify(o, b, nil)
-}
-
-// RetryNotify calls notify function with the error and wait duration
-// for each failed attempt before sleep.
-func RetryNotify(operation Operation, b BackOff, notify Notify) error {
- return RetryNotifyWithTimer(operation, b, notify, nil)
-}
-
-// RetryNotifyWithTimer calls notify function with the error and wait duration using the given Timer
-// for each failed attempt before sleep.
-// A default timer that uses system timer is used when nil is passed.
-func RetryNotifyWithTimer(operation Operation, b BackOff, notify Notify, t Timer) error {
- var err error
- var next time.Duration
- if t == nil {
- t = &defaultTimer{}
- }
-
- defer func() {
- t.Stop()
- }()
-
- ctx := getContext(b)
-
- b.Reset()
- for {
- if err = operation(); err == nil {
- return nil
- }
-
- var permanent *PermanentError
- if errors.As(err, &permanent) {
- return permanent.Err
- }
-
- if next = b.NextBackOff(); next == Stop {
- if cerr := ctx.Err(); cerr != nil {
- return cerr
- }
-
- return err
- }
-
- if notify != nil {
- notify(err, next)
- }
-
- t.Start(next)
-
- select {
- case <-ctx.Done():
- return ctx.Err()
- case <-t.C():
- }
- }
-}
-
-// PermanentError signals that the operation should not be retried.
-type PermanentError struct {
- Err error
-}
-
-func (e *PermanentError) Error() string {
- return e.Err.Error()
-}
-
-func (e *PermanentError) Unwrap() error {
- return e.Err
-}
-
-func (e *PermanentError) Is(target error) bool {
- _, ok := target.(*PermanentError)
- return ok
-}
-
-// Permanent wraps the given err in a *PermanentError.
-func Permanent(err error) error {
- if err == nil {
- return nil
- }
- return &PermanentError{
- Err: err,
- }
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/ticker.go b/vendor/github.com/cenkalti/backoff/v4/ticker.go
deleted file mode 100644
index df9d68bce5..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/ticker.go
+++ /dev/null
@@ -1,97 +0,0 @@
-package backoff
-
-import (
- "context"
- "sync"
- "time"
-)
-
-// Ticker holds a channel that delivers `ticks' of a clock at times reported by a BackOff.
-//
-// Ticks will continue to arrive when the previous operation is still running,
-// so operations that take a while to fail could run in quick succession.
-type Ticker struct {
- C <-chan time.Time
- c chan time.Time
- b BackOff
- ctx context.Context
- timer Timer
- stop chan struct{}
- stopOnce sync.Once
-}
-
-// NewTicker returns a new Ticker containing a channel that will send
-// the time at times specified by the BackOff argument. Ticker is
-// guaranteed to tick at least once. The channel is closed when Stop
-// method is called or BackOff stops. It is not safe to manipulate the
-// provided backoff policy (notably calling NextBackOff or Reset)
-// while the ticker is running.
-func NewTicker(b BackOff) *Ticker {
- return NewTickerWithTimer(b, &defaultTimer{})
-}
-
-// NewTickerWithTimer returns a new Ticker with a custom timer.
-// A default timer that uses system timer is used when nil is passed.
-func NewTickerWithTimer(b BackOff, timer Timer) *Ticker {
- if timer == nil {
- timer = &defaultTimer{}
- }
- c := make(chan time.Time)
- t := &Ticker{
- C: c,
- c: c,
- b: b,
- ctx: getContext(b),
- timer: timer,
- stop: make(chan struct{}),
- }
- t.b.Reset()
- go t.run()
- return t
-}
-
-// Stop turns off a ticker. After Stop, no more ticks will be sent.
-func (t *Ticker) Stop() {
- t.stopOnce.Do(func() { close(t.stop) })
-}
-
-func (t *Ticker) run() {
- c := t.c
- defer close(c)
-
- // Ticker is guaranteed to tick at least once.
- afterC := t.send(time.Now())
-
- for {
- if afterC == nil {
- return
- }
-
- select {
- case tick := <-afterC:
- afterC = t.send(tick)
- case <-t.stop:
- t.c = nil // Prevent future ticks from being sent to the channel.
- return
- case <-t.ctx.Done():
- return
- }
- }
-}
-
-func (t *Ticker) send(tick time.Time) <-chan time.Time {
- select {
- case t.c <- tick:
- case <-t.stop:
- return nil
- }
-
- next := t.b.NextBackOff()
- if next == Stop {
- t.Stop()
- return nil
- }
-
- t.timer.Start(next)
- return t.timer.C()
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/timer.go b/vendor/github.com/cenkalti/backoff/v4/timer.go
deleted file mode 100644
index 8120d0213c..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/timer.go
+++ /dev/null
@@ -1,35 +0,0 @@
-package backoff
-
-import "time"
-
-type Timer interface {
- Start(duration time.Duration)
- Stop()
- C() <-chan time.Time
-}
-
-// defaultTimer implements Timer interface using time.Timer
-type defaultTimer struct {
- timer *time.Timer
-}
-
-// C returns the timers channel which receives the current time when the timer fires.
-func (t *defaultTimer) C() <-chan time.Time {
- return t.timer.C
-}
-
-// Start starts the timer to fire after the given duration
-func (t *defaultTimer) Start(duration time.Duration) {
- if t.timer == nil {
- t.timer = time.NewTimer(duration)
- } else {
- t.timer.Reset(duration)
- }
-}
-
-// Stop is called when the timer is not used anymore and resources may be freed.
-func (t *defaultTimer) Stop() {
- if t.timer != nil {
- t.timer.Stop()
- }
-}
diff --git a/vendor/github.com/cenkalti/backoff/v4/tries.go b/vendor/github.com/cenkalti/backoff/v4/tries.go
deleted file mode 100644
index 28d58ca37c..0000000000
--- a/vendor/github.com/cenkalti/backoff/v4/tries.go
+++ /dev/null
@@ -1,38 +0,0 @@
-package backoff
-
-import "time"
-
-/*
-WithMaxRetries creates a wrapper around another BackOff, which will
-return Stop if NextBackOff() has been called too many times since
-the last time Reset() was called
-
-Note: Implementation is not thread-safe.
-*/
-func WithMaxRetries(b BackOff, max uint64) BackOff {
- return &backOffTries{delegate: b, maxTries: max}
-}
-
-type backOffTries struct {
- delegate BackOff
- maxTries uint64
- numTries uint64
-}
-
-func (b *backOffTries) NextBackOff() time.Duration {
- if b.maxTries == 0 {
- return Stop
- }
- if b.maxTries > 0 {
- if b.maxTries <= b.numTries {
- return Stop
- }
- b.numTries++
- }
- return b.delegate.NextBackOff()
-}
-
-func (b *backOffTries) Reset() {
- b.numTries = 0
- b.delegate.Reset()
-}
diff --git a/vendor/github.com/cncf/udpa/go/LICENSE b/vendor/github.com/cncf/udpa/go/LICENSE
deleted file mode 100644
index 261eeb9e9f..0000000000
--- a/vendor/github.com/cncf/udpa/go/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
diff --git a/vendor/github.com/cncf/udpa/go/udpa/type/v1/typed_struct.go b/vendor/github.com/cncf/udpa/go/udpa/type/v1/typed_struct.go
deleted file mode 100644
index 9ecf5cc71e..0000000000
--- a/vendor/github.com/cncf/udpa/go/udpa/type/v1/typed_struct.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: udpa/type/v1/typed_struct.proto
-
-package udpa_type_v1
-
-import xdsudpatypepb "github.com/cncf/xds/go/udpa/type/v1" // Note this is cncf/xds
-
-type TypedStruct = xdsudpatypepb.TypedStruct
\ No newline at end of file
diff --git a/vendor/github.com/cncf/xds/go/LICENSE b/vendor/github.com/cncf/xds/go/LICENSE
deleted file mode 100644
index 261eeb9e9f..0000000000
--- a/vendor/github.com/cncf/xds/go/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.go b/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.go
deleted file mode 100644
index 46fb820cfb..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.go
+++ /dev/null
@@ -1,415 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/annotations/migrate.proto
-
-package annotations
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type MigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
-}
-
-func (x *MigrateAnnotation) Reset() {
- *x = MigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MigrateAnnotation) ProtoMessage() {}
-
-func (x *MigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*MigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_migrate_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *MigrateAnnotation) GetRename() string {
- if x != nil {
- return x.Rename
- }
- return ""
-}
-
-type FieldMigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
- OneofPromotion string `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"`
-}
-
-func (x *FieldMigrateAnnotation) Reset() {
- *x = FieldMigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FieldMigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FieldMigrateAnnotation) ProtoMessage() {}
-
-func (x *FieldMigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FieldMigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*FieldMigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_migrate_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *FieldMigrateAnnotation) GetRename() string {
- if x != nil {
- return x.Rename
- }
- return ""
-}
-
-func (x *FieldMigrateAnnotation) GetOneofPromotion() string {
- if x != nil {
- return x.OneofPromotion
- }
- return ""
-}
-
-type FileMigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- MoveToPackage string `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"`
-}
-
-func (x *FileMigrateAnnotation) Reset() {
- *x = FileMigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FileMigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FileMigrateAnnotation) ProtoMessage() {}
-
-func (x *FileMigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_migrate_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FileMigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*FileMigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_migrate_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *FileMigrateAnnotation) GetMoveToPackage() string {
- if x != nil {
- return x.MoveToPackage
- }
- return ""
-}
-
-var file_udpa_annotations_migrate_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 171962766,
- Name: "udpa.annotations.message_migrate",
- Tag: "bytes,171962766,opt,name=message_migrate",
- Filename: "udpa/annotations/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldMigrateAnnotation)(nil),
- Field: 171962766,
- Name: "udpa.annotations.field_migrate",
- Tag: "bytes,171962766,opt,name=field_migrate",
- Filename: "udpa/annotations/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 171962766,
- Name: "udpa.annotations.enum_migrate",
- Tag: "bytes,171962766,opt,name=enum_migrate",
- Filename: "udpa/annotations/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 171962766,
- Name: "udpa.annotations.enum_value_migrate",
- Tag: "bytes,171962766,opt,name=enum_value_migrate",
- Filename: "udpa/annotations/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.FileOptions)(nil),
- ExtensionType: (*FileMigrateAnnotation)(nil),
- Field: 171962766,
- Name: "udpa.annotations.file_migrate",
- Tag: "bytes,171962766,opt,name=file_migrate",
- Filename: "udpa/annotations/migrate.proto",
- },
-}
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional udpa.annotations.MigrateAnnotation message_migrate = 171962766;
- E_MessageMigrate = &file_udpa_annotations_migrate_proto_extTypes[0]
-)
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional udpa.annotations.FieldMigrateAnnotation field_migrate = 171962766;
- E_FieldMigrate = &file_udpa_annotations_migrate_proto_extTypes[1]
-)
-
-// Extension fields to descriptorpb.EnumOptions.
-var (
- // optional udpa.annotations.MigrateAnnotation enum_migrate = 171962766;
- E_EnumMigrate = &file_udpa_annotations_migrate_proto_extTypes[2]
-)
-
-// Extension fields to descriptorpb.EnumValueOptions.
-var (
- // optional udpa.annotations.MigrateAnnotation enum_value_migrate = 171962766;
- E_EnumValueMigrate = &file_udpa_annotations_migrate_proto_extTypes[3]
-)
-
-// Extension fields to descriptorpb.FileOptions.
-var (
- // optional udpa.annotations.FileMigrateAnnotation file_migrate = 171962766;
- E_FileMigrate = &file_udpa_annotations_migrate_proto_extTypes[4]
-)
-
-var File_udpa_annotations_migrate_proto protoreflect.FileDescriptor
-
-var file_udpa_annotations_migrate_proto_rawDesc = []byte{
- 0x0a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x11, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d,
- 0x65, 0x22, 0x59, 0x0a, 0x16, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74,
- 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72,
- 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x70, 0x72, 0x6f,
- 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x6e,
- 0x65, 0x6f, 0x66, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x15,
- 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x74, 0x6f,
- 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
- 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x3a, 0x70, 0x0a,
- 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
- 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x8e, 0xe3, 0xff, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x75, 0x64, 0x70,
- 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x69,
- 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a,
- 0x6f, 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
- 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x8e, 0xe3, 0xff, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
- 0x3a, 0x67, 0x0a, 0x0c, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
- 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x8e,
- 0xe3, 0xff, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
- 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65, 0x6e,
- 0x75, 0x6d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x77, 0x0a, 0x12, 0x65, 0x6e, 0x75,
- 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12,
- 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x8e, 0xe3, 0xff, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x75, 0x64,
- 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d,
- 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x10, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61,
- 0x74, 0x65, 0x3a, 0x6b, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61,
- 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x8e, 0xe3, 0xff, 0x51, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x75, 0x64, 0x70, 0x61,
- 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x6c,
- 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x42,
- 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
- 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_udpa_annotations_migrate_proto_rawDescOnce sync.Once
- file_udpa_annotations_migrate_proto_rawDescData = file_udpa_annotations_migrate_proto_rawDesc
-)
-
-func file_udpa_annotations_migrate_proto_rawDescGZIP() []byte {
- file_udpa_annotations_migrate_proto_rawDescOnce.Do(func() {
- file_udpa_annotations_migrate_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_migrate_proto_rawDescData)
- })
- return file_udpa_annotations_migrate_proto_rawDescData
-}
-
-var file_udpa_annotations_migrate_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_udpa_annotations_migrate_proto_goTypes = []interface{}{
- (*MigrateAnnotation)(nil), // 0: udpa.annotations.MigrateAnnotation
- (*FieldMigrateAnnotation)(nil), // 1: udpa.annotations.FieldMigrateAnnotation
- (*FileMigrateAnnotation)(nil), // 2: udpa.annotations.FileMigrateAnnotation
- (*descriptorpb.MessageOptions)(nil), // 3: google.protobuf.MessageOptions
- (*descriptorpb.FieldOptions)(nil), // 4: google.protobuf.FieldOptions
- (*descriptorpb.EnumOptions)(nil), // 5: google.protobuf.EnumOptions
- (*descriptorpb.EnumValueOptions)(nil), // 6: google.protobuf.EnumValueOptions
- (*descriptorpb.FileOptions)(nil), // 7: google.protobuf.FileOptions
-}
-var file_udpa_annotations_migrate_proto_depIdxs = []int32{
- 3, // 0: udpa.annotations.message_migrate:extendee -> google.protobuf.MessageOptions
- 4, // 1: udpa.annotations.field_migrate:extendee -> google.protobuf.FieldOptions
- 5, // 2: udpa.annotations.enum_migrate:extendee -> google.protobuf.EnumOptions
- 6, // 3: udpa.annotations.enum_value_migrate:extendee -> google.protobuf.EnumValueOptions
- 7, // 4: udpa.annotations.file_migrate:extendee -> google.protobuf.FileOptions
- 0, // 5: udpa.annotations.message_migrate:type_name -> udpa.annotations.MigrateAnnotation
- 1, // 6: udpa.annotations.field_migrate:type_name -> udpa.annotations.FieldMigrateAnnotation
- 0, // 7: udpa.annotations.enum_migrate:type_name -> udpa.annotations.MigrateAnnotation
- 0, // 8: udpa.annotations.enum_value_migrate:type_name -> udpa.annotations.MigrateAnnotation
- 2, // 9: udpa.annotations.file_migrate:type_name -> udpa.annotations.FileMigrateAnnotation
- 10, // [10:10] is the sub-list for method output_type
- 10, // [10:10] is the sub-list for method input_type
- 5, // [5:10] is the sub-list for extension type_name
- 0, // [0:5] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_udpa_annotations_migrate_proto_init() }
-func file_udpa_annotations_migrate_proto_init() {
- if File_udpa_annotations_migrate_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_udpa_annotations_migrate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_udpa_annotations_migrate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldMigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_udpa_annotations_migrate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileMigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_annotations_migrate_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 5,
- NumServices: 0,
- },
- GoTypes: file_udpa_annotations_migrate_proto_goTypes,
- DependencyIndexes: file_udpa_annotations_migrate_proto_depIdxs,
- MessageInfos: file_udpa_annotations_migrate_proto_msgTypes,
- ExtensionInfos: file_udpa_annotations_migrate_proto_extTypes,
- }.Build()
- File_udpa_annotations_migrate_proto = out.File
- file_udpa_annotations_migrate_proto_rawDesc = nil
- file_udpa_annotations_migrate_proto_goTypes = nil
- file_udpa_annotations_migrate_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.validate.go
deleted file mode 100644
index 1b72b067f6..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/migrate.pb.validate.go
+++ /dev/null
@@ -1,243 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/annotations/migrate.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on MigrateAnnotation with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *MigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Rename
-
- return nil
-}
-
-// MigrateAnnotationValidationError is the validation error returned by
-// MigrateAnnotation.Validate if the designated constraints aren't met.
-type MigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MigrateAnnotationValidationError) ErrorName() string {
- return "MigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e MigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MigrateAnnotationValidationError{}
-
-// Validate checks the field values on FieldMigrateAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FieldMigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Rename
-
- // no validation rules for OneofPromotion
-
- return nil
-}
-
-// FieldMigrateAnnotationValidationError is the validation error returned by
-// FieldMigrateAnnotation.Validate if the designated constraints aren't met.
-type FieldMigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FieldMigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FieldMigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FieldMigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FieldMigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FieldMigrateAnnotationValidationError) ErrorName() string {
- return "FieldMigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FieldMigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFieldMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FieldMigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FieldMigrateAnnotationValidationError{}
-
-// Validate checks the field values on FileMigrateAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FileMigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for MoveToPackage
-
- return nil
-}
-
-// FileMigrateAnnotationValidationError is the validation error returned by
-// FileMigrateAnnotation.Validate if the designated constraints aren't met.
-type FileMigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FileMigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FileMigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FileMigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FileMigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FileMigrateAnnotationValidationError) ErrorName() string {
- return "FileMigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FileMigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFileMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FileMigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FileMigrateAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.go b/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.go
deleted file mode 100644
index e061f58433..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.go
+++ /dev/null
@@ -1,201 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/annotations/security.proto
-
-package annotations
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type FieldSecurityAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ConfigureForUntrustedDownstream bool `protobuf:"varint,1,opt,name=configure_for_untrusted_downstream,json=configureForUntrustedDownstream,proto3" json:"configure_for_untrusted_downstream,omitempty"`
- ConfigureForUntrustedUpstream bool `protobuf:"varint,2,opt,name=configure_for_untrusted_upstream,json=configureForUntrustedUpstream,proto3" json:"configure_for_untrusted_upstream,omitempty"`
-}
-
-func (x *FieldSecurityAnnotation) Reset() {
- *x = FieldSecurityAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_security_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FieldSecurityAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FieldSecurityAnnotation) ProtoMessage() {}
-
-func (x *FieldSecurityAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_security_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FieldSecurityAnnotation.ProtoReflect.Descriptor instead.
-func (*FieldSecurityAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_security_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *FieldSecurityAnnotation) GetConfigureForUntrustedDownstream() bool {
- if x != nil {
- return x.ConfigureForUntrustedDownstream
- }
- return false
-}
-
-func (x *FieldSecurityAnnotation) GetConfigureForUntrustedUpstream() bool {
- if x != nil {
- return x.ConfigureForUntrustedUpstream
- }
- return false
-}
-
-var file_udpa_annotations_security_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldSecurityAnnotation)(nil),
- Field: 11122993,
- Name: "udpa.annotations.security",
- Tag: "bytes,11122993,opt,name=security",
- Filename: "udpa/annotations/security.proto",
- },
-}
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional udpa.annotations.FieldSecurityAnnotation security = 11122993;
- E_Security = &file_udpa_annotations_security_proto_extTypes[0]
-)
-
-var File_udpa_annotations_security_proto protoreflect.FileDescriptor
-
-var file_udpa_annotations_security_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65,
- 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x4b, 0x0a, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6f,
- 0x72, 0x5f, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x77, 0x6e,
- 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x6e, 0x74, 0x72, 0x75, 0x73,
- 0x74, 0x65, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x47, 0x0a,
- 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x75,
- 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
- 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x70,
- 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x3a, 0x67, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
- 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0xb1, 0xf2, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x75, 0x64, 0x70,
- 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x42,
- 0x2c, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
- 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_udpa_annotations_security_proto_rawDescOnce sync.Once
- file_udpa_annotations_security_proto_rawDescData = file_udpa_annotations_security_proto_rawDesc
-)
-
-func file_udpa_annotations_security_proto_rawDescGZIP() []byte {
- file_udpa_annotations_security_proto_rawDescOnce.Do(func() {
- file_udpa_annotations_security_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_security_proto_rawDescData)
- })
- return file_udpa_annotations_security_proto_rawDescData
-}
-
-var file_udpa_annotations_security_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_udpa_annotations_security_proto_goTypes = []interface{}{
- (*FieldSecurityAnnotation)(nil), // 0: udpa.annotations.FieldSecurityAnnotation
- (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
-}
-var file_udpa_annotations_security_proto_depIdxs = []int32{
- 1, // 0: udpa.annotations.security:extendee -> google.protobuf.FieldOptions
- 0, // 1: udpa.annotations.security:type_name -> udpa.annotations.FieldSecurityAnnotation
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 1, // [1:2] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_udpa_annotations_security_proto_init() }
-func file_udpa_annotations_security_proto_init() {
- if File_udpa_annotations_security_proto != nil {
- return
- }
- file_udpa_annotations_status_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_udpa_annotations_security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldSecurityAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_annotations_security_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_udpa_annotations_security_proto_goTypes,
- DependencyIndexes: file_udpa_annotations_security_proto_depIdxs,
- MessageInfos: file_udpa_annotations_security_proto_msgTypes,
- ExtensionInfos: file_udpa_annotations_security_proto_extTypes,
- }.Build()
- File_udpa_annotations_security_proto = out.File
- file_udpa_annotations_security_proto_rawDesc = nil
- file_udpa_annotations_security_proto_goTypes = nil
- file_udpa_annotations_security_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.validate.go
deleted file mode 100644
index 64058ccdd1..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/security.pb.validate.go
+++ /dev/null
@@ -1,105 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/annotations/security.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on FieldSecurityAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FieldSecurityAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for ConfigureForUntrustedDownstream
-
- // no validation rules for ConfigureForUntrustedUpstream
-
- return nil
-}
-
-// FieldSecurityAnnotationValidationError is the validation error returned by
-// FieldSecurityAnnotation.Validate if the designated constraints aren't met.
-type FieldSecurityAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FieldSecurityAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FieldSecurityAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FieldSecurityAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FieldSecurityAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FieldSecurityAnnotationValidationError) ErrorName() string {
- return "FieldSecurityAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FieldSecurityAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFieldSecurityAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FieldSecurityAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FieldSecurityAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.go b/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.go
deleted file mode 100644
index 0334e8f45f..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.go
+++ /dev/null
@@ -1,98 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/annotations/sensitive.proto
-
-package annotations
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-var file_udpa_annotations_sensitive_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 76569463,
- Name: "udpa.annotations.sensitive",
- Tag: "varint,76569463,opt,name=sensitive",
- Filename: "udpa/annotations/sensitive.proto",
- },
-}
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional bool sensitive = 76569463;
- E_Sensitive = &file_udpa_annotations_sensitive_proto_extTypes[0]
-)
-
-var File_udpa_annotations_sensitive_proto protoreflect.FileDescriptor
-
-var file_udpa_annotations_sensitive_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3e, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74,
- 0x69, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xf7, 0xb6, 0xc1, 0x24, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x6e,
- 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x42, 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f,
- 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var file_udpa_annotations_sensitive_proto_goTypes = []interface{}{
- (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions
-}
-var file_udpa_annotations_sensitive_proto_depIdxs = []int32{
- 0, // 0: udpa.annotations.sensitive:extendee -> google.protobuf.FieldOptions
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_udpa_annotations_sensitive_proto_init() }
-func file_udpa_annotations_sensitive_proto_init() {
- if File_udpa_annotations_sensitive_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_annotations_sensitive_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 0,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_udpa_annotations_sensitive_proto_goTypes,
- DependencyIndexes: file_udpa_annotations_sensitive_proto_depIdxs,
- ExtensionInfos: file_udpa_annotations_sensitive_proto_extTypes,
- }.Build()
- File_udpa_annotations_sensitive_proto = out.File
- file_udpa_annotations_sensitive_proto_rawDesc = nil
- file_udpa_annotations_sensitive_proto_goTypes = nil
- file_udpa_annotations_sensitive_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.validate.go
deleted file mode 100644
index dd4fea9b26..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/sensitive.pb.validate.go
+++ /dev/null
@@ -1,34 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/annotations/sensitive.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.go b/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.go
deleted file mode 100644
index 3f239dd06f..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.go
+++ /dev/null
@@ -1,258 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/annotations/status.proto
-
-package annotations
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type PackageVersionStatus int32
-
-const (
- PackageVersionStatus_UNKNOWN PackageVersionStatus = 0
- PackageVersionStatus_FROZEN PackageVersionStatus = 1
- PackageVersionStatus_ACTIVE PackageVersionStatus = 2
- PackageVersionStatus_NEXT_MAJOR_VERSION_CANDIDATE PackageVersionStatus = 3
-)
-
-// Enum value maps for PackageVersionStatus.
-var (
- PackageVersionStatus_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "FROZEN",
- 2: "ACTIVE",
- 3: "NEXT_MAJOR_VERSION_CANDIDATE",
- }
- PackageVersionStatus_value = map[string]int32{
- "UNKNOWN": 0,
- "FROZEN": 1,
- "ACTIVE": 2,
- "NEXT_MAJOR_VERSION_CANDIDATE": 3,
- }
-)
-
-func (x PackageVersionStatus) Enum() *PackageVersionStatus {
- p := new(PackageVersionStatus)
- *p = x
- return p
-}
-
-func (x PackageVersionStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (PackageVersionStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_udpa_annotations_status_proto_enumTypes[0].Descriptor()
-}
-
-func (PackageVersionStatus) Type() protoreflect.EnumType {
- return &file_udpa_annotations_status_proto_enumTypes[0]
-}
-
-func (x PackageVersionStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use PackageVersionStatus.Descriptor instead.
-func (PackageVersionStatus) EnumDescriptor() ([]byte, []int) {
- return file_udpa_annotations_status_proto_rawDescGZIP(), []int{0}
-}
-
-type StatusAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
- PackageVersionStatus PackageVersionStatus `protobuf:"varint,2,opt,name=package_version_status,json=packageVersionStatus,proto3,enum=udpa.annotations.PackageVersionStatus" json:"package_version_status,omitempty"`
-}
-
-func (x *StatusAnnotation) Reset() {
- *x = StatusAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_status_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *StatusAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*StatusAnnotation) ProtoMessage() {}
-
-func (x *StatusAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_status_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use StatusAnnotation.ProtoReflect.Descriptor instead.
-func (*StatusAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_status_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *StatusAnnotation) GetWorkInProgress() bool {
- if x != nil {
- return x.WorkInProgress
- }
- return false
-}
-
-func (x *StatusAnnotation) GetPackageVersionStatus() PackageVersionStatus {
- if x != nil {
- return x.PackageVersionStatus
- }
- return PackageVersionStatus_UNKNOWN
-}
-
-var file_udpa_annotations_status_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FileOptions)(nil),
- ExtensionType: (*StatusAnnotation)(nil),
- Field: 222707719,
- Name: "udpa.annotations.file_status",
- Tag: "bytes,222707719,opt,name=file_status",
- Filename: "udpa/annotations/status.proto",
- },
-}
-
-// Extension fields to descriptorpb.FileOptions.
-var (
- // optional udpa.annotations.StatusAnnotation file_status = 222707719;
- E_FileStatus = &file_udpa_annotations_status_proto_extTypes[0]
-)
-
-var File_udpa_annotations_status_proto protoreflect.FileDescriptor
-
-var file_udpa_annotations_status_proto_rawDesc = []byte{
- 0x0a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b,
- 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
- 0x73, 0x73, 0x12, 0x5c, 0x0a, 0x16, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x14, 0x70, 0x61, 0x63, 0x6b,
- 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2a, 0x5d, 0x0a, 0x14, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
- 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52, 0x4f, 0x5a, 0x45, 0x4e, 0x10,
- 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a,
- 0x1c, 0x4e, 0x45, 0x58, 0x54, 0x5f, 0x4d, 0x41, 0x4a, 0x4f, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x53,
- 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x3a,
- 0x64, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x87, 0x80, 0x99,
- 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
-}
-
-var (
- file_udpa_annotations_status_proto_rawDescOnce sync.Once
- file_udpa_annotations_status_proto_rawDescData = file_udpa_annotations_status_proto_rawDesc
-)
-
-func file_udpa_annotations_status_proto_rawDescGZIP() []byte {
- file_udpa_annotations_status_proto_rawDescOnce.Do(func() {
- file_udpa_annotations_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_status_proto_rawDescData)
- })
- return file_udpa_annotations_status_proto_rawDescData
-}
-
-var file_udpa_annotations_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_udpa_annotations_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_udpa_annotations_status_proto_goTypes = []interface{}{
- (PackageVersionStatus)(0), // 0: udpa.annotations.PackageVersionStatus
- (*StatusAnnotation)(nil), // 1: udpa.annotations.StatusAnnotation
- (*descriptorpb.FileOptions)(nil), // 2: google.protobuf.FileOptions
-}
-var file_udpa_annotations_status_proto_depIdxs = []int32{
- 0, // 0: udpa.annotations.StatusAnnotation.package_version_status:type_name -> udpa.annotations.PackageVersionStatus
- 2, // 1: udpa.annotations.file_status:extendee -> google.protobuf.FileOptions
- 1, // 2: udpa.annotations.file_status:type_name -> udpa.annotations.StatusAnnotation
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 2, // [2:3] is the sub-list for extension type_name
- 1, // [1:2] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_udpa_annotations_status_proto_init() }
-func file_udpa_annotations_status_proto_init() {
- if File_udpa_annotations_status_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_udpa_annotations_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StatusAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_annotations_status_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_udpa_annotations_status_proto_goTypes,
- DependencyIndexes: file_udpa_annotations_status_proto_depIdxs,
- EnumInfos: file_udpa_annotations_status_proto_enumTypes,
- MessageInfos: file_udpa_annotations_status_proto_msgTypes,
- ExtensionInfos: file_udpa_annotations_status_proto_extTypes,
- }.Build()
- File_udpa_annotations_status_proto = out.File
- file_udpa_annotations_status_proto_rawDesc = nil
- file_udpa_annotations_status_proto_goTypes = nil
- file_udpa_annotations_status_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.validate.go
deleted file mode 100644
index 9af17c92f7..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/status.pb.validate.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/annotations/status.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on StatusAnnotation with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *StatusAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for WorkInProgress
-
- // no validation rules for PackageVersionStatus
-
- return nil
-}
-
-// StatusAnnotationValidationError is the validation error returned by
-// StatusAnnotation.Validate if the designated constraints aren't met.
-type StatusAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e StatusAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e StatusAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e StatusAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e StatusAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e StatusAnnotationValidationError) ErrorName() string { return "StatusAnnotationValidationError" }
-
-// Error satisfies the builtin error interface
-func (e StatusAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sStatusAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = StatusAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = StatusAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.go b/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.go
deleted file mode 100644
index 49ced5fb7d..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.go
+++ /dev/null
@@ -1,183 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/annotations/versioning.proto
-
-package annotations
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type VersioningAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- PreviousMessageType string `protobuf:"bytes,1,opt,name=previous_message_type,json=previousMessageType,proto3" json:"previous_message_type,omitempty"`
-}
-
-func (x *VersioningAnnotation) Reset() {
- *x = VersioningAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_annotations_versioning_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *VersioningAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VersioningAnnotation) ProtoMessage() {}
-
-func (x *VersioningAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_annotations_versioning_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VersioningAnnotation.ProtoReflect.Descriptor instead.
-func (*VersioningAnnotation) Descriptor() ([]byte, []int) {
- return file_udpa_annotations_versioning_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *VersioningAnnotation) GetPreviousMessageType() string {
- if x != nil {
- return x.PreviousMessageType
- }
- return ""
-}
-
-var file_udpa_annotations_versioning_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*VersioningAnnotation)(nil),
- Field: 7881811,
- Name: "udpa.annotations.versioning",
- Tag: "bytes,7881811,opt,name=versioning",
- Filename: "udpa/annotations/versioning.proto",
- },
-}
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional udpa.annotations.VersioningAnnotation versioning = 7881811;
- E_Versioning = &file_udpa_annotations_versioning_proto_extTypes[0]
-)
-
-var File_udpa_annotations_versioning_proto protoreflect.FileDescriptor
-
-var file_udpa_annotations_versioning_proto_rawDesc = []byte{
- 0x0a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x32, 0x0a, 0x15, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
- 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
- 0x79, 0x70, 0x65, 0x3a, 0x6a, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
- 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xd3, 0x88, 0xe1, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x75, 0x64,
- 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x42,
- 0x24, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
- 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_udpa_annotations_versioning_proto_rawDescOnce sync.Once
- file_udpa_annotations_versioning_proto_rawDescData = file_udpa_annotations_versioning_proto_rawDesc
-)
-
-func file_udpa_annotations_versioning_proto_rawDescGZIP() []byte {
- file_udpa_annotations_versioning_proto_rawDescOnce.Do(func() {
- file_udpa_annotations_versioning_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_annotations_versioning_proto_rawDescData)
- })
- return file_udpa_annotations_versioning_proto_rawDescData
-}
-
-var file_udpa_annotations_versioning_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_udpa_annotations_versioning_proto_goTypes = []interface{}{
- (*VersioningAnnotation)(nil), // 0: udpa.annotations.VersioningAnnotation
- (*descriptorpb.MessageOptions)(nil), // 1: google.protobuf.MessageOptions
-}
-var file_udpa_annotations_versioning_proto_depIdxs = []int32{
- 1, // 0: udpa.annotations.versioning:extendee -> google.protobuf.MessageOptions
- 0, // 1: udpa.annotations.versioning:type_name -> udpa.annotations.VersioningAnnotation
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 1, // [1:2] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_udpa_annotations_versioning_proto_init() }
-func file_udpa_annotations_versioning_proto_init() {
- if File_udpa_annotations_versioning_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_udpa_annotations_versioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*VersioningAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_annotations_versioning_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_udpa_annotations_versioning_proto_goTypes,
- DependencyIndexes: file_udpa_annotations_versioning_proto_depIdxs,
- MessageInfos: file_udpa_annotations_versioning_proto_msgTypes,
- ExtensionInfos: file_udpa_annotations_versioning_proto_extTypes,
- }.Build()
- File_udpa_annotations_versioning_proto = out.File
- file_udpa_annotations_versioning_proto_rawDesc = nil
- file_udpa_annotations_versioning_proto_goTypes = nil
- file_udpa_annotations_versioning_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.validate.go
deleted file mode 100644
index e88144cc1e..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.validate.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/annotations/versioning.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on VersioningAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *VersioningAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for PreviousMessageType
-
- return nil
-}
-
-// VersioningAnnotationValidationError is the validation error returned by
-// VersioningAnnotation.Validate if the designated constraints aren't met.
-type VersioningAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e VersioningAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e VersioningAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e VersioningAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e VersioningAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e VersioningAnnotationValidationError) ErrorName() string {
- return "VersioningAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e VersioningAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sVersioningAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = VersioningAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = VersioningAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.go b/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.go
deleted file mode 100644
index 4658058614..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.go
+++ /dev/null
@@ -1,169 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: udpa/type/v1/typed_struct.proto
-
-package v1
-
-import (
- proto "github.com/golang/protobuf/proto"
- _struct "github.com/golang/protobuf/ptypes/struct"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type TypedStruct struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
- Value *_struct.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
-}
-
-func (x *TypedStruct) Reset() {
- *x = TypedStruct{}
- if protoimpl.UnsafeEnabled {
- mi := &file_udpa_type_v1_typed_struct_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TypedStruct) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TypedStruct) ProtoMessage() {}
-
-func (x *TypedStruct) ProtoReflect() protoreflect.Message {
- mi := &file_udpa_type_v1_typed_struct_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TypedStruct.ProtoReflect.Descriptor instead.
-func (*TypedStruct) Descriptor() ([]byte, []int) {
- return file_udpa_type_v1_typed_struct_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TypedStruct) GetTypeUrl() string {
- if x != nil {
- return x.TypeUrl
- }
- return ""
-}
-
-func (x *TypedStruct) GetValue() *_struct.Struct {
- if x != nil {
- return x.Value
- }
- return nil
-}
-
-var File_udpa_type_v1_typed_struct_proto protoreflect.FileDescriptor
-
-var file_udpa_type_v1_typed_struct_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74,
- 0x79, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x0c, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x1a,
- 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a,
- 0x0b, 0x54, 0x79, 0x70, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08,
- 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x57, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x54, 0x79, 0x70, 0x65, 0x64, 0x53, 0x74, 0x72,
- 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f,
- 0x67, 0x6f, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_udpa_type_v1_typed_struct_proto_rawDescOnce sync.Once
- file_udpa_type_v1_typed_struct_proto_rawDescData = file_udpa_type_v1_typed_struct_proto_rawDesc
-)
-
-func file_udpa_type_v1_typed_struct_proto_rawDescGZIP() []byte {
- file_udpa_type_v1_typed_struct_proto_rawDescOnce.Do(func() {
- file_udpa_type_v1_typed_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_udpa_type_v1_typed_struct_proto_rawDescData)
- })
- return file_udpa_type_v1_typed_struct_proto_rawDescData
-}
-
-var file_udpa_type_v1_typed_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_udpa_type_v1_typed_struct_proto_goTypes = []interface{}{
- (*TypedStruct)(nil), // 0: udpa.type.v1.TypedStruct
- (*_struct.Struct)(nil), // 1: google.protobuf.Struct
-}
-var file_udpa_type_v1_typed_struct_proto_depIdxs = []int32{
- 1, // 0: udpa.type.v1.TypedStruct.value:type_name -> google.protobuf.Struct
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_udpa_type_v1_typed_struct_proto_init() }
-func file_udpa_type_v1_typed_struct_proto_init() {
- if File_udpa_type_v1_typed_struct_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_udpa_type_v1_typed_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TypedStruct); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_udpa_type_v1_typed_struct_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_udpa_type_v1_typed_struct_proto_goTypes,
- DependencyIndexes: file_udpa_type_v1_typed_struct_proto_depIdxs,
- MessageInfos: file_udpa_type_v1_typed_struct_proto_msgTypes,
- }.Build()
- File_udpa_type_v1_typed_struct_proto = out.File
- file_udpa_type_v1_typed_struct_proto_rawDesc = nil
- file_udpa_type_v1_typed_struct_proto_goTypes = nil
- file_udpa_type_v1_typed_struct_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.validate.go b/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.validate.go
deleted file mode 100644
index aaede261fa..0000000000
--- a/vendor/github.com/cncf/xds/go/udpa/type/v1/typed_struct.pb.validate.go
+++ /dev/null
@@ -1,111 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: udpa/type/v1/typed_struct.proto
-
-package v1
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on TypedStruct with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *TypedStruct) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for TypeUrl
-
- if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TypedStructValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// TypedStructValidationError is the validation error returned by
-// TypedStruct.Validate if the designated constraints aren't met.
-type TypedStructValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TypedStructValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TypedStructValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TypedStructValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TypedStructValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TypedStructValidationError) ErrorName() string { return "TypedStructValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TypedStructValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTypedStruct.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TypedStructValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TypedStructValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.go
deleted file mode 100644
index e29c098b5e..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.go
+++ /dev/null
@@ -1,417 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/annotations/v3/migrate.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type MigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
-}
-
-func (x *MigrateAnnotation) Reset() {
- *x = MigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MigrateAnnotation) ProtoMessage() {}
-
-func (x *MigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*MigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *MigrateAnnotation) GetRename() string {
- if x != nil {
- return x.Rename
- }
- return ""
-}
-
-type FieldMigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
- OneofPromotion string `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"`
-}
-
-func (x *FieldMigrateAnnotation) Reset() {
- *x = FieldMigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FieldMigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FieldMigrateAnnotation) ProtoMessage() {}
-
-func (x *FieldMigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FieldMigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*FieldMigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *FieldMigrateAnnotation) GetRename() string {
- if x != nil {
- return x.Rename
- }
- return ""
-}
-
-func (x *FieldMigrateAnnotation) GetOneofPromotion() string {
- if x != nil {
- return x.OneofPromotion
- }
- return ""
-}
-
-type FileMigrateAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- MoveToPackage string `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"`
-}
-
-func (x *FileMigrateAnnotation) Reset() {
- *x = FileMigrateAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FileMigrateAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FileMigrateAnnotation) ProtoMessage() {}
-
-func (x *FileMigrateAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_migrate_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FileMigrateAnnotation.ProtoReflect.Descriptor instead.
-func (*FileMigrateAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *FileMigrateAnnotation) GetMoveToPackage() string {
- if x != nil {
- return x.MoveToPackage
- }
- return ""
-}
-
-var file_xds_annotations_v3_migrate_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 112948430,
- Name: "xds.annotations.v3.message_migrate",
- Tag: "bytes,112948430,opt,name=message_migrate",
- Filename: "xds/annotations/v3/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldMigrateAnnotation)(nil),
- Field: 112948430,
- Name: "xds.annotations.v3.field_migrate",
- Tag: "bytes,112948430,opt,name=field_migrate",
- Filename: "xds/annotations/v3/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 112948430,
- Name: "xds.annotations.v3.enum_migrate",
- Tag: "bytes,112948430,opt,name=enum_migrate",
- Filename: "xds/annotations/v3/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
- ExtensionType: (*MigrateAnnotation)(nil),
- Field: 112948430,
- Name: "xds.annotations.v3.enum_value_migrate",
- Tag: "bytes,112948430,opt,name=enum_value_migrate",
- Filename: "xds/annotations/v3/migrate.proto",
- },
- {
- ExtendedType: (*descriptorpb.FileOptions)(nil),
- ExtensionType: (*FileMigrateAnnotation)(nil),
- Field: 112948430,
- Name: "xds.annotations.v3.file_migrate",
- Tag: "bytes,112948430,opt,name=file_migrate",
- Filename: "xds/annotations/v3/migrate.proto",
- },
-}
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional xds.annotations.v3.MigrateAnnotation message_migrate = 112948430;
- E_MessageMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[0]
-)
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional xds.annotations.v3.FieldMigrateAnnotation field_migrate = 112948430;
- E_FieldMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[1]
-)
-
-// Extension fields to descriptorpb.EnumOptions.
-var (
- // optional xds.annotations.v3.MigrateAnnotation enum_migrate = 112948430;
- E_EnumMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[2]
-)
-
-// Extension fields to descriptorpb.EnumValueOptions.
-var (
- // optional xds.annotations.v3.MigrateAnnotation enum_value_migrate = 112948430;
- E_EnumValueMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[3]
-)
-
-// Extension fields to descriptorpb.FileOptions.
-var (
- // optional xds.annotations.v3.FileMigrateAnnotation file_migrate = 112948430;
- E_FileMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[4]
-)
-
-var File_xds_annotations_v3_migrate_proto protoreflect.FileDescriptor
-
-var file_xds_annotations_v3_migrate_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x12, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x11, 0x4d, 0x69, 0x67, 0x72,
- 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a,
- 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
- 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x16, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69,
- 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0e, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e,
- 0x22, 0x3f, 0x0a, 0x15, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x6f, 0x76,
- 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
- 0x65, 0x3a, 0x72, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x69, 0x67,
- 0x72, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xce, 0xe9, 0xed, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x69,
- 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x71, 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
- 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xce, 0xe9, 0xed, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
- 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x69, 0x0a, 0x0c, 0x65, 0x6e, 0x75, 0x6d,
- 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xce, 0xe9, 0xed, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x25, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x4d, 0x69, 0x67, 0x72,
- 0x61, 0x74, 0x65, 0x3a, 0x79, 0x0a, 0x12, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xce, 0xe9, 0xed,
- 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
- 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x65, 0x6e,
- 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x6d,
- 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xce, 0xe9, 0xed,
- 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4d,
- 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x42, 0x2b, 0x5a,
- 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66,
- 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
-}
-
-var (
- file_xds_annotations_v3_migrate_proto_rawDescOnce sync.Once
- file_xds_annotations_v3_migrate_proto_rawDescData = file_xds_annotations_v3_migrate_proto_rawDesc
-)
-
-func file_xds_annotations_v3_migrate_proto_rawDescGZIP() []byte {
- file_xds_annotations_v3_migrate_proto_rawDescOnce.Do(func() {
- file_xds_annotations_v3_migrate_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_annotations_v3_migrate_proto_rawDescData)
- })
- return file_xds_annotations_v3_migrate_proto_rawDescData
-}
-
-var file_xds_annotations_v3_migrate_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_xds_annotations_v3_migrate_proto_goTypes = []interface{}{
- (*MigrateAnnotation)(nil), // 0: xds.annotations.v3.MigrateAnnotation
- (*FieldMigrateAnnotation)(nil), // 1: xds.annotations.v3.FieldMigrateAnnotation
- (*FileMigrateAnnotation)(nil), // 2: xds.annotations.v3.FileMigrateAnnotation
- (*descriptorpb.MessageOptions)(nil), // 3: google.protobuf.MessageOptions
- (*descriptorpb.FieldOptions)(nil), // 4: google.protobuf.FieldOptions
- (*descriptorpb.EnumOptions)(nil), // 5: google.protobuf.EnumOptions
- (*descriptorpb.EnumValueOptions)(nil), // 6: google.protobuf.EnumValueOptions
- (*descriptorpb.FileOptions)(nil), // 7: google.protobuf.FileOptions
-}
-var file_xds_annotations_v3_migrate_proto_depIdxs = []int32{
- 3, // 0: xds.annotations.v3.message_migrate:extendee -> google.protobuf.MessageOptions
- 4, // 1: xds.annotations.v3.field_migrate:extendee -> google.protobuf.FieldOptions
- 5, // 2: xds.annotations.v3.enum_migrate:extendee -> google.protobuf.EnumOptions
- 6, // 3: xds.annotations.v3.enum_value_migrate:extendee -> google.protobuf.EnumValueOptions
- 7, // 4: xds.annotations.v3.file_migrate:extendee -> google.protobuf.FileOptions
- 0, // 5: xds.annotations.v3.message_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
- 1, // 6: xds.annotations.v3.field_migrate:type_name -> xds.annotations.v3.FieldMigrateAnnotation
- 0, // 7: xds.annotations.v3.enum_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
- 0, // 8: xds.annotations.v3.enum_value_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
- 2, // 9: xds.annotations.v3.file_migrate:type_name -> xds.annotations.v3.FileMigrateAnnotation
- 10, // [10:10] is the sub-list for method output_type
- 10, // [10:10] is the sub-list for method input_type
- 5, // [5:10] is the sub-list for extension type_name
- 0, // [0:5] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_annotations_v3_migrate_proto_init() }
-func file_xds_annotations_v3_migrate_proto_init() {
- if File_xds_annotations_v3_migrate_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_annotations_v3_migrate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_annotations_v3_migrate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldMigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_annotations_v3_migrate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileMigrateAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_annotations_v3_migrate_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 5,
- NumServices: 0,
- },
- GoTypes: file_xds_annotations_v3_migrate_proto_goTypes,
- DependencyIndexes: file_xds_annotations_v3_migrate_proto_depIdxs,
- MessageInfos: file_xds_annotations_v3_migrate_proto_msgTypes,
- ExtensionInfos: file_xds_annotations_v3_migrate_proto_extTypes,
- }.Build()
- File_xds_annotations_v3_migrate_proto = out.File
- file_xds_annotations_v3_migrate_proto_rawDesc = nil
- file_xds_annotations_v3_migrate_proto_goTypes = nil
- file_xds_annotations_v3_migrate_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.validate.go
deleted file mode 100644
index c74f35897e..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/migrate.pb.validate.go
+++ /dev/null
@@ -1,243 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/annotations/v3/migrate.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on MigrateAnnotation with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *MigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Rename
-
- return nil
-}
-
-// MigrateAnnotationValidationError is the validation error returned by
-// MigrateAnnotation.Validate if the designated constraints aren't met.
-type MigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MigrateAnnotationValidationError) ErrorName() string {
- return "MigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e MigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MigrateAnnotationValidationError{}
-
-// Validate checks the field values on FieldMigrateAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FieldMigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Rename
-
- // no validation rules for OneofPromotion
-
- return nil
-}
-
-// FieldMigrateAnnotationValidationError is the validation error returned by
-// FieldMigrateAnnotation.Validate if the designated constraints aren't met.
-type FieldMigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FieldMigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FieldMigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FieldMigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FieldMigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FieldMigrateAnnotationValidationError) ErrorName() string {
- return "FieldMigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FieldMigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFieldMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FieldMigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FieldMigrateAnnotationValidationError{}
-
-// Validate checks the field values on FileMigrateAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FileMigrateAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for MoveToPackage
-
- return nil
-}
-
-// FileMigrateAnnotationValidationError is the validation error returned by
-// FileMigrateAnnotation.Validate if the designated constraints aren't met.
-type FileMigrateAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FileMigrateAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FileMigrateAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FileMigrateAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FileMigrateAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FileMigrateAnnotationValidationError) ErrorName() string {
- return "FileMigrateAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FileMigrateAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFileMigrateAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FileMigrateAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FileMigrateAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.go
deleted file mode 100644
index c716366bb1..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.go
+++ /dev/null
@@ -1,202 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/annotations/v3/security.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type FieldSecurityAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ConfigureForUntrustedDownstream bool `protobuf:"varint,1,opt,name=configure_for_untrusted_downstream,json=configureForUntrustedDownstream,proto3" json:"configure_for_untrusted_downstream,omitempty"`
- ConfigureForUntrustedUpstream bool `protobuf:"varint,2,opt,name=configure_for_untrusted_upstream,json=configureForUntrustedUpstream,proto3" json:"configure_for_untrusted_upstream,omitempty"`
-}
-
-func (x *FieldSecurityAnnotation) Reset() {
- *x = FieldSecurityAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_security_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FieldSecurityAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FieldSecurityAnnotation) ProtoMessage() {}
-
-func (x *FieldSecurityAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_security_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FieldSecurityAnnotation.ProtoReflect.Descriptor instead.
-func (*FieldSecurityAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_security_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *FieldSecurityAnnotation) GetConfigureForUntrustedDownstream() bool {
- if x != nil {
- return x.ConfigureForUntrustedDownstream
- }
- return false
-}
-
-func (x *FieldSecurityAnnotation) GetConfigureForUntrustedUpstream() bool {
- if x != nil {
- return x.ConfigureForUntrustedUpstream
- }
- return false
-}
-
-var file_xds_annotations_v3_security_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldSecurityAnnotation)(nil),
- Field: 99044135,
- Name: "xds.annotations.v3.security",
- Tag: "bytes,99044135,opt,name=security",
- Filename: "xds/annotations/v3/security.proto",
- },
-}
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional xds.annotations.v3.FieldSecurityAnnotation security = 99044135;
- E_Security = &file_xds_annotations_v3_security_proto_extTypes[0]
-)
-
-var File_xds_annotations_v3_security_proto protoreflect.FileDescriptor
-
-var file_xds_annotations_v3_security_proto_rawDesc = []byte{
- 0x0a, 0x21, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x1f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72,
- 0x55, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x12, 0x47, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65,
- 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75,
- 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x6e, 0x74, 0x72, 0x75,
- 0x73, 0x74, 0x65, 0x64, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x3a, 0x69, 0x0a, 0x08,
- 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa7, 0x96, 0x9d, 0x2f, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x2b, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72,
- 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73,
- 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x42, 0x33, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67,
- 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_annotations_v3_security_proto_rawDescOnce sync.Once
- file_xds_annotations_v3_security_proto_rawDescData = file_xds_annotations_v3_security_proto_rawDesc
-)
-
-func file_xds_annotations_v3_security_proto_rawDescGZIP() []byte {
- file_xds_annotations_v3_security_proto_rawDescOnce.Do(func() {
- file_xds_annotations_v3_security_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_annotations_v3_security_proto_rawDescData)
- })
- return file_xds_annotations_v3_security_proto_rawDescData
-}
-
-var file_xds_annotations_v3_security_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_annotations_v3_security_proto_goTypes = []interface{}{
- (*FieldSecurityAnnotation)(nil), // 0: xds.annotations.v3.FieldSecurityAnnotation
- (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
-}
-var file_xds_annotations_v3_security_proto_depIdxs = []int32{
- 1, // 0: xds.annotations.v3.security:extendee -> google.protobuf.FieldOptions
- 0, // 1: xds.annotations.v3.security:type_name -> xds.annotations.v3.FieldSecurityAnnotation
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 1, // [1:2] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_annotations_v3_security_proto_init() }
-func file_xds_annotations_v3_security_proto_init() {
- if File_xds_annotations_v3_security_proto != nil {
- return
- }
- file_xds_annotations_v3_status_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_annotations_v3_security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldSecurityAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_annotations_v3_security_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_xds_annotations_v3_security_proto_goTypes,
- DependencyIndexes: file_xds_annotations_v3_security_proto_depIdxs,
- MessageInfos: file_xds_annotations_v3_security_proto_msgTypes,
- ExtensionInfos: file_xds_annotations_v3_security_proto_extTypes,
- }.Build()
- File_xds_annotations_v3_security_proto = out.File
- file_xds_annotations_v3_security_proto_rawDesc = nil
- file_xds_annotations_v3_security_proto_goTypes = nil
- file_xds_annotations_v3_security_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.validate.go
deleted file mode 100644
index 3bee0479fd..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/security.pb.validate.go
+++ /dev/null
@@ -1,105 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/annotations/v3/security.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on FieldSecurityAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FieldSecurityAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for ConfigureForUntrustedDownstream
-
- // no validation rules for ConfigureForUntrustedUpstream
-
- return nil
-}
-
-// FieldSecurityAnnotationValidationError is the validation error returned by
-// FieldSecurityAnnotation.Validate if the designated constraints aren't met.
-type FieldSecurityAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FieldSecurityAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FieldSecurityAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FieldSecurityAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FieldSecurityAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FieldSecurityAnnotationValidationError) ErrorName() string {
- return "FieldSecurityAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FieldSecurityAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFieldSecurityAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FieldSecurityAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FieldSecurityAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.go
deleted file mode 100644
index 2aa60b9624..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.go
+++ /dev/null
@@ -1,98 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/annotations/v3/sensitive.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-var file_xds_annotations_v3_sensitive_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 61008053,
- Name: "xds.annotations.v3.sensitive",
- Tag: "varint,61008053,opt,name=sensitive",
- Filename: "xds/annotations/v3/sensitive.proto",
- },
-}
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional bool sensitive = 61008053;
- E_Sensitive = &file_xds_annotations_v3_sensitive_proto_extTypes[0]
-)
-
-var File_xds_annotations_v3_sensitive_proto protoreflect.FileDescriptor
-
-var file_xds_annotations_v3_sensitive_proto_rawDesc = []byte{
- 0x0a, 0x22, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3e, 0x0a, 0x09, 0x73, 0x65,
- 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xb5, 0xd1, 0x8b, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64,
- 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var file_xds_annotations_v3_sensitive_proto_goTypes = []interface{}{
- (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions
-}
-var file_xds_annotations_v3_sensitive_proto_depIdxs = []int32{
- 0, // 0: xds.annotations.v3.sensitive:extendee -> google.protobuf.FieldOptions
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_annotations_v3_sensitive_proto_init() }
-func file_xds_annotations_v3_sensitive_proto_init() {
- if File_xds_annotations_v3_sensitive_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_annotations_v3_sensitive_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 0,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_xds_annotations_v3_sensitive_proto_goTypes,
- DependencyIndexes: file_xds_annotations_v3_sensitive_proto_depIdxs,
- ExtensionInfos: file_xds_annotations_v3_sensitive_proto_extTypes,
- }.Build()
- File_xds_annotations_v3_sensitive_proto = out.File
- file_xds_annotations_v3_sensitive_proto_rawDesc = nil
- file_xds_annotations_v3_sensitive_proto_goTypes = nil
- file_xds_annotations_v3_sensitive_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.validate.go
deleted file mode 100644
index 7f368572a5..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/sensitive.pb.validate.go
+++ /dev/null
@@ -1,34 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/annotations/v3/sensitive.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.go
deleted file mode 100644
index 3a2015e626..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.go
+++ /dev/null
@@ -1,500 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/annotations/v3/status.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type PackageVersionStatus int32
-
-const (
- PackageVersionStatus_UNKNOWN PackageVersionStatus = 0
- PackageVersionStatus_FROZEN PackageVersionStatus = 1
- PackageVersionStatus_ACTIVE PackageVersionStatus = 2
- PackageVersionStatus_NEXT_MAJOR_VERSION_CANDIDATE PackageVersionStatus = 3
-)
-
-// Enum value maps for PackageVersionStatus.
-var (
- PackageVersionStatus_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "FROZEN",
- 2: "ACTIVE",
- 3: "NEXT_MAJOR_VERSION_CANDIDATE",
- }
- PackageVersionStatus_value = map[string]int32{
- "UNKNOWN": 0,
- "FROZEN": 1,
- "ACTIVE": 2,
- "NEXT_MAJOR_VERSION_CANDIDATE": 3,
- }
-)
-
-func (x PackageVersionStatus) Enum() *PackageVersionStatus {
- p := new(PackageVersionStatus)
- *p = x
- return p
-}
-
-func (x PackageVersionStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (PackageVersionStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_xds_annotations_v3_status_proto_enumTypes[0].Descriptor()
-}
-
-func (PackageVersionStatus) Type() protoreflect.EnumType {
- return &file_xds_annotations_v3_status_proto_enumTypes[0]
-}
-
-func (x PackageVersionStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use PackageVersionStatus.Descriptor instead.
-func (PackageVersionStatus) EnumDescriptor() ([]byte, []int) {
- return file_xds_annotations_v3_status_proto_rawDescGZIP(), []int{0}
-}
-
-type FileStatusAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
-}
-
-func (x *FileStatusAnnotation) Reset() {
- *x = FileStatusAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FileStatusAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FileStatusAnnotation) ProtoMessage() {}
-
-func (x *FileStatusAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FileStatusAnnotation.ProtoReflect.Descriptor instead.
-func (*FileStatusAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_status_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *FileStatusAnnotation) GetWorkInProgress() bool {
- if x != nil {
- return x.WorkInProgress
- }
- return false
-}
-
-type MessageStatusAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
-}
-
-func (x *MessageStatusAnnotation) Reset() {
- *x = MessageStatusAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MessageStatusAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MessageStatusAnnotation) ProtoMessage() {}
-
-func (x *MessageStatusAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MessageStatusAnnotation.ProtoReflect.Descriptor instead.
-func (*MessageStatusAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_status_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *MessageStatusAnnotation) GetWorkInProgress() bool {
- if x != nil {
- return x.WorkInProgress
- }
- return false
-}
-
-type FieldStatusAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
-}
-
-func (x *FieldStatusAnnotation) Reset() {
- *x = FieldStatusAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FieldStatusAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FieldStatusAnnotation) ProtoMessage() {}
-
-func (x *FieldStatusAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FieldStatusAnnotation.ProtoReflect.Descriptor instead.
-func (*FieldStatusAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_status_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *FieldStatusAnnotation) GetWorkInProgress() bool {
- if x != nil {
- return x.WorkInProgress
- }
- return false
-}
-
-type StatusAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
- PackageVersionStatus PackageVersionStatus `protobuf:"varint,2,opt,name=package_version_status,json=packageVersionStatus,proto3,enum=xds.annotations.v3.PackageVersionStatus" json:"package_version_status,omitempty"`
-}
-
-func (x *StatusAnnotation) Reset() {
- *x = StatusAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *StatusAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*StatusAnnotation) ProtoMessage() {}
-
-func (x *StatusAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_status_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use StatusAnnotation.ProtoReflect.Descriptor instead.
-func (*StatusAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_status_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *StatusAnnotation) GetWorkInProgress() bool {
- if x != nil {
- return x.WorkInProgress
- }
- return false
-}
-
-func (x *StatusAnnotation) GetPackageVersionStatus() PackageVersionStatus {
- if x != nil {
- return x.PackageVersionStatus
- }
- return PackageVersionStatus_UNKNOWN
-}
-
-var file_xds_annotations_v3_status_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FileOptions)(nil),
- ExtensionType: (*FileStatusAnnotation)(nil),
- Field: 226829418,
- Name: "xds.annotations.v3.file_status",
- Tag: "bytes,226829418,opt,name=file_status",
- Filename: "xds/annotations/v3/status.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*MessageStatusAnnotation)(nil),
- Field: 226829418,
- Name: "xds.annotations.v3.message_status",
- Tag: "bytes,226829418,opt,name=message_status",
- Filename: "xds/annotations/v3/status.proto",
- },
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldStatusAnnotation)(nil),
- Field: 226829418,
- Name: "xds.annotations.v3.field_status",
- Tag: "bytes,226829418,opt,name=field_status",
- Filename: "xds/annotations/v3/status.proto",
- },
-}
-
-// Extension fields to descriptorpb.FileOptions.
-var (
- // optional xds.annotations.v3.FileStatusAnnotation file_status = 226829418;
- E_FileStatus = &file_xds_annotations_v3_status_proto_extTypes[0]
-)
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional xds.annotations.v3.MessageStatusAnnotation message_status = 226829418;
- E_MessageStatus = &file_xds_annotations_v3_status_proto_extTypes[1]
-)
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional xds.annotations.v3.FieldStatusAnnotation field_status = 226829418;
- E_FieldStatus = &file_xds_annotations_v3_status_proto_extTypes[2]
-)
-
-var File_xds_annotations_v3_status_proto protoreflect.FileDescriptor
-
-var file_xds_annotations_v3_status_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x12, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x14, 0x46, 0x69, 0x6c, 0x65, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72,
- 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x49,
- 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x43, 0x0a, 0x17, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x5f,
- 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e,
- 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x41,
- 0x0a, 0x15, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x5f,
- 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
- 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69,
- 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
- 0x12, 0x5e, 0x0a, 0x16, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x28, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x14, 0x70, 0x61, 0x63, 0x6b,
- 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2a, 0x5d, 0x0a, 0x14, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
- 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52, 0x4f, 0x5a, 0x45, 0x4e, 0x10,
- 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a,
- 0x1c, 0x4e, 0x45, 0x58, 0x54, 0x5f, 0x4d, 0x41, 0x4a, 0x4f, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x53,
- 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x3a,
- 0x6a, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xea, 0xc8, 0x94,
- 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x76, 0x0a, 0x0e, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xea,
- 0xc8, 0x94, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x3a, 0x6e, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xea, 0xc8, 0x94, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33,
- 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
- 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64,
- 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_annotations_v3_status_proto_rawDescOnce sync.Once
- file_xds_annotations_v3_status_proto_rawDescData = file_xds_annotations_v3_status_proto_rawDesc
-)
-
-func file_xds_annotations_v3_status_proto_rawDescGZIP() []byte {
- file_xds_annotations_v3_status_proto_rawDescOnce.Do(func() {
- file_xds_annotations_v3_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_annotations_v3_status_proto_rawDescData)
- })
- return file_xds_annotations_v3_status_proto_rawDescData
-}
-
-var file_xds_annotations_v3_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_xds_annotations_v3_status_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_xds_annotations_v3_status_proto_goTypes = []interface{}{
- (PackageVersionStatus)(0), // 0: xds.annotations.v3.PackageVersionStatus
- (*FileStatusAnnotation)(nil), // 1: xds.annotations.v3.FileStatusAnnotation
- (*MessageStatusAnnotation)(nil), // 2: xds.annotations.v3.MessageStatusAnnotation
- (*FieldStatusAnnotation)(nil), // 3: xds.annotations.v3.FieldStatusAnnotation
- (*StatusAnnotation)(nil), // 4: xds.annotations.v3.StatusAnnotation
- (*descriptorpb.FileOptions)(nil), // 5: google.protobuf.FileOptions
- (*descriptorpb.MessageOptions)(nil), // 6: google.protobuf.MessageOptions
- (*descriptorpb.FieldOptions)(nil), // 7: google.protobuf.FieldOptions
-}
-var file_xds_annotations_v3_status_proto_depIdxs = []int32{
- 0, // 0: xds.annotations.v3.StatusAnnotation.package_version_status:type_name -> xds.annotations.v3.PackageVersionStatus
- 5, // 1: xds.annotations.v3.file_status:extendee -> google.protobuf.FileOptions
- 6, // 2: xds.annotations.v3.message_status:extendee -> google.protobuf.MessageOptions
- 7, // 3: xds.annotations.v3.field_status:extendee -> google.protobuf.FieldOptions
- 1, // 4: xds.annotations.v3.file_status:type_name -> xds.annotations.v3.FileStatusAnnotation
- 2, // 5: xds.annotations.v3.message_status:type_name -> xds.annotations.v3.MessageStatusAnnotation
- 3, // 6: xds.annotations.v3.field_status:type_name -> xds.annotations.v3.FieldStatusAnnotation
- 7, // [7:7] is the sub-list for method output_type
- 7, // [7:7] is the sub-list for method input_type
- 4, // [4:7] is the sub-list for extension type_name
- 1, // [1:4] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_annotations_v3_status_proto_init() }
-func file_xds_annotations_v3_status_proto_init() {
- if File_xds_annotations_v3_status_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_annotations_v3_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FileStatusAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_annotations_v3_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageStatusAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_annotations_v3_status_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldStatusAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_annotations_v3_status_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StatusAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_annotations_v3_status_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 4,
- NumExtensions: 3,
- NumServices: 0,
- },
- GoTypes: file_xds_annotations_v3_status_proto_goTypes,
- DependencyIndexes: file_xds_annotations_v3_status_proto_depIdxs,
- EnumInfos: file_xds_annotations_v3_status_proto_enumTypes,
- MessageInfos: file_xds_annotations_v3_status_proto_msgTypes,
- ExtensionInfos: file_xds_annotations_v3_status_proto_extTypes,
- }.Build()
- File_xds_annotations_v3_status_proto = out.File
- file_xds_annotations_v3_status_proto_rawDesc = nil
- file_xds_annotations_v3_status_proto_goTypes = nil
- file_xds_annotations_v3_status_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.validate.go
deleted file mode 100644
index a8ebf097df..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/status.pb.validate.go
+++ /dev/null
@@ -1,310 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/annotations/v3/status.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on FileStatusAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FileStatusAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for WorkInProgress
-
- return nil
-}
-
-// FileStatusAnnotationValidationError is the validation error returned by
-// FileStatusAnnotation.Validate if the designated constraints aren't met.
-type FileStatusAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FileStatusAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FileStatusAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FileStatusAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FileStatusAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FileStatusAnnotationValidationError) ErrorName() string {
- return "FileStatusAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FileStatusAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFileStatusAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FileStatusAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FileStatusAnnotationValidationError{}
-
-// Validate checks the field values on MessageStatusAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *MessageStatusAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for WorkInProgress
-
- return nil
-}
-
-// MessageStatusAnnotationValidationError is the validation error returned by
-// MessageStatusAnnotation.Validate if the designated constraints aren't met.
-type MessageStatusAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MessageStatusAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MessageStatusAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MessageStatusAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MessageStatusAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MessageStatusAnnotationValidationError) ErrorName() string {
- return "MessageStatusAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e MessageStatusAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMessageStatusAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MessageStatusAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MessageStatusAnnotationValidationError{}
-
-// Validate checks the field values on FieldStatusAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *FieldStatusAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for WorkInProgress
-
- return nil
-}
-
-// FieldStatusAnnotationValidationError is the validation error returned by
-// FieldStatusAnnotation.Validate if the designated constraints aren't met.
-type FieldStatusAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FieldStatusAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FieldStatusAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FieldStatusAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FieldStatusAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FieldStatusAnnotationValidationError) ErrorName() string {
- return "FieldStatusAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e FieldStatusAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFieldStatusAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FieldStatusAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FieldStatusAnnotationValidationError{}
-
-// Validate checks the field values on StatusAnnotation with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *StatusAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for WorkInProgress
-
- // no validation rules for PackageVersionStatus
-
- return nil
-}
-
-// StatusAnnotationValidationError is the validation error returned by
-// StatusAnnotation.Validate if the designated constraints aren't met.
-type StatusAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e StatusAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e StatusAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e StatusAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e StatusAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e StatusAnnotationValidationError) ErrorName() string { return "StatusAnnotationValidationError" }
-
-// Error satisfies the builtin error interface
-func (e StatusAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sStatusAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = StatusAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = StatusAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.go
deleted file mode 100644
index c789b4c041..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.go
+++ /dev/null
@@ -1,184 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/annotations/v3/versioning.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type VersioningAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- PreviousMessageType string `protobuf:"bytes,1,opt,name=previous_message_type,json=previousMessageType,proto3" json:"previous_message_type,omitempty"`
-}
-
-func (x *VersioningAnnotation) Reset() {
- *x = VersioningAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_annotations_v3_versioning_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *VersioningAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VersioningAnnotation) ProtoMessage() {}
-
-func (x *VersioningAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_xds_annotations_v3_versioning_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VersioningAnnotation.ProtoReflect.Descriptor instead.
-func (*VersioningAnnotation) Descriptor() ([]byte, []int) {
- return file_xds_annotations_v3_versioning_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *VersioningAnnotation) GetPreviousMessageType() string {
- if x != nil {
- return x.PreviousMessageType
- }
- return ""
-}
-
-var file_xds_annotations_v3_versioning_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*VersioningAnnotation)(nil),
- Field: 92389011,
- Name: "xds.annotations.v3.versioning",
- Tag: "bytes,92389011,opt,name=versioning",
- Filename: "xds/annotations/v3/versioning.proto",
- },
-}
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional xds.annotations.v3.VersioningAnnotation versioning = 92389011;
- E_Versioning = &file_xds_annotations_v3_versioning_proto_extTypes[0]
-)
-
-var File_xds_annotations_v3_versioning_proto protoreflect.FileDescriptor
-
-var file_xds_annotations_v3_versioning_proto_rawDesc = []byte{
- 0x0a, 0x23, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x14, 0x56,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x6c, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x93, 0xfd, 0x86, 0x2c, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x28, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f,
- 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_annotations_v3_versioning_proto_rawDescOnce sync.Once
- file_xds_annotations_v3_versioning_proto_rawDescData = file_xds_annotations_v3_versioning_proto_rawDesc
-)
-
-func file_xds_annotations_v3_versioning_proto_rawDescGZIP() []byte {
- file_xds_annotations_v3_versioning_proto_rawDescOnce.Do(func() {
- file_xds_annotations_v3_versioning_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_annotations_v3_versioning_proto_rawDescData)
- })
- return file_xds_annotations_v3_versioning_proto_rawDescData
-}
-
-var file_xds_annotations_v3_versioning_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_annotations_v3_versioning_proto_goTypes = []interface{}{
- (*VersioningAnnotation)(nil), // 0: xds.annotations.v3.VersioningAnnotation
- (*descriptorpb.MessageOptions)(nil), // 1: google.protobuf.MessageOptions
-}
-var file_xds_annotations_v3_versioning_proto_depIdxs = []int32{
- 1, // 0: xds.annotations.v3.versioning:extendee -> google.protobuf.MessageOptions
- 0, // 1: xds.annotations.v3.versioning:type_name -> xds.annotations.v3.VersioningAnnotation
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 1, // [1:2] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_annotations_v3_versioning_proto_init() }
-func file_xds_annotations_v3_versioning_proto_init() {
- if File_xds_annotations_v3_versioning_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_annotations_v3_versioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*VersioningAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_annotations_v3_versioning_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_xds_annotations_v3_versioning_proto_goTypes,
- DependencyIndexes: file_xds_annotations_v3_versioning_proto_depIdxs,
- MessageInfos: file_xds_annotations_v3_versioning_proto_msgTypes,
- ExtensionInfos: file_xds_annotations_v3_versioning_proto_extTypes,
- }.Build()
- File_xds_annotations_v3_versioning_proto = out.File
- file_xds_annotations_v3_versioning_proto_rawDesc = nil
- file_xds_annotations_v3_versioning_proto_goTypes = nil
- file_xds_annotations_v3_versioning_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.validate.go
deleted file mode 100644
index 80c53b21cc..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/annotations/v3/versioning.pb.validate.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/annotations/v3/versioning.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on VersioningAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *VersioningAnnotation) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for PreviousMessageType
-
- return nil
-}
-
-// VersioningAnnotationValidationError is the validation error returned by
-// VersioningAnnotation.Validate if the designated constraints aren't met.
-type VersioningAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e VersioningAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e VersioningAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e VersioningAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e VersioningAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e VersioningAnnotationValidationError) ErrorName() string {
- return "VersioningAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e VersioningAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sVersioningAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = VersioningAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = VersioningAnnotationValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.go
deleted file mode 100644
index b4c8ce1cc1..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.go
+++ /dev/null
@@ -1,158 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/authority.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type Authority struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
-}
-
-func (x *Authority) Reset() {
- *x = Authority{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_authority_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Authority) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Authority) ProtoMessage() {}
-
-func (x *Authority) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_authority_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Authority.ProtoReflect.Descriptor instead.
-func (*Authority) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_authority_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Authority) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-var File_xds_core_v3_authority_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_authority_proto_rawDesc = []byte{
- 0x0a, 0x1b, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78,
- 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74,
- 0x79, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x56,
- 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f,
- 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6,
- 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_authority_proto_rawDescOnce sync.Once
- file_xds_core_v3_authority_proto_rawDescData = file_xds_core_v3_authority_proto_rawDesc
-)
-
-func file_xds_core_v3_authority_proto_rawDescGZIP() []byte {
- file_xds_core_v3_authority_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_authority_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_authority_proto_rawDescData)
- })
- return file_xds_core_v3_authority_proto_rawDescData
-}
-
-var file_xds_core_v3_authority_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_core_v3_authority_proto_goTypes = []interface{}{
- (*Authority)(nil), // 0: xds.core.v3.Authority
-}
-var file_xds_core_v3_authority_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_authority_proto_init() }
-func file_xds_core_v3_authority_proto_init() {
- if File_xds_core_v3_authority_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_authority_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Authority); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_authority_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_authority_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_authority_proto_depIdxs,
- MessageInfos: file_xds_core_v3_authority_proto_msgTypes,
- }.Build()
- File_xds_core_v3_authority_proto = out.File
- file_xds_core_v3_authority_proto_rawDesc = nil
- file_xds_core_v3_authority_proto_goTypes = nil
- file_xds_core_v3_authority_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.validate.go
deleted file mode 100644
index 06b55362da..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/authority.pb.validate.go
+++ /dev/null
@@ -1,105 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/authority.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on Authority with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Authority) Validate() error {
- if m == nil {
- return nil
- }
-
- if utf8.RuneCountInString(m.GetName()) < 1 {
- return AuthorityValidationError{
- field: "Name",
- reason: "value length must be at least 1 runes",
- }
- }
-
- return nil
-}
-
-// AuthorityValidationError is the validation error returned by
-// Authority.Validate if the designated constraints aren't met.
-type AuthorityValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AuthorityValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AuthorityValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AuthorityValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AuthorityValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AuthorityValidationError) ErrorName() string { return "AuthorityValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AuthorityValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAuthority.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AuthorityValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AuthorityValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.go
deleted file mode 100644
index 482db87f6f..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.go
+++ /dev/null
@@ -1,177 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/cidr.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type CidrRange struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
- PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
-}
-
-func (x *CidrRange) Reset() {
- *x = CidrRange{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_cidr_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CidrRange) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CidrRange) ProtoMessage() {}
-
-func (x *CidrRange) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_cidr_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.
-func (*CidrRange) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_cidr_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *CidrRange) GetAddressPrefix() string {
- if x != nil {
- return x.AddressPrefix
- }
- return ""
-}
-
-func (x *CidrRange) GetPrefixLen() *wrappers.UInt32Value {
- if x != nil {
- return x.PrefixLen
- }
- return nil
-}
-
-var File_xds_core_v3_cidr_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_cidr_proto_rawDesc = []byte{
- 0x0a, 0x16, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x69,
- 0x64, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0x82, 0x01, 0x0a, 0x09, 0x43, 0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2e, 0x0a,
- 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0d,
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x45, 0x0a,
- 0x0a, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18, 0x80, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x66, 0x69,
- 0x78, 0x4c, 0x65, 0x6e, 0x42, 0x56, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0e,
- 0x43, 0x69, 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
- 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63,
- 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72,
- 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_cidr_proto_rawDescOnce sync.Once
- file_xds_core_v3_cidr_proto_rawDescData = file_xds_core_v3_cidr_proto_rawDesc
-)
-
-func file_xds_core_v3_cidr_proto_rawDescGZIP() []byte {
- file_xds_core_v3_cidr_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_cidr_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_cidr_proto_rawDescData)
- })
- return file_xds_core_v3_cidr_proto_rawDescData
-}
-
-var file_xds_core_v3_cidr_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_core_v3_cidr_proto_goTypes = []interface{}{
- (*CidrRange)(nil), // 0: xds.core.v3.CidrRange
- (*wrappers.UInt32Value)(nil), // 1: google.protobuf.UInt32Value
-}
-var file_xds_core_v3_cidr_proto_depIdxs = []int32{
- 1, // 0: xds.core.v3.CidrRange.prefix_len:type_name -> google.protobuf.UInt32Value
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_cidr_proto_init() }
-func file_xds_core_v3_cidr_proto_init() {
- if File_xds_core_v3_cidr_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_cidr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CidrRange); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_cidr_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_cidr_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_cidr_proto_depIdxs,
- MessageInfos: file_xds_core_v3_cidr_proto_msgTypes,
- }.Build()
- File_xds_core_v3_cidr_proto = out.File
- file_xds_core_v3_cidr_proto_rawDesc = nil
- file_xds_core_v3_cidr_proto_goTypes = nil
- file_xds_core_v3_cidr_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.validate.go
deleted file mode 100644
index eb48b32ba2..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/cidr.pb.validate.go
+++ /dev/null
@@ -1,116 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/cidr.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on CidrRange with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *CidrRange) Validate() error {
- if m == nil {
- return nil
- }
-
- if utf8.RuneCountInString(m.GetAddressPrefix()) < 1 {
- return CidrRangeValidationError{
- field: "AddressPrefix",
- reason: "value length must be at least 1 runes",
- }
- }
-
- if wrapper := m.GetPrefixLen(); wrapper != nil {
-
- if wrapper.GetValue() > 128 {
- return CidrRangeValidationError{
- field: "PrefixLen",
- reason: "value must be less than or equal to 128",
- }
- }
-
- }
-
- return nil
-}
-
-// CidrRangeValidationError is the validation error returned by
-// CidrRange.Validate if the designated constraints aren't met.
-type CidrRangeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CidrRangeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CidrRangeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CidrRangeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CidrRangeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CidrRangeValidationError) ErrorName() string { return "CidrRangeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CidrRangeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCidrRange.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CidrRangeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CidrRangeValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.go
deleted file mode 100644
index f325e11f60..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.go
+++ /dev/null
@@ -1,301 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/collection_entry.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- any "github.com/golang/protobuf/ptypes/any"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type CollectionEntry struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to ResourceSpecifier:
- // *CollectionEntry_Locator
- // *CollectionEntry_InlineEntry_
- ResourceSpecifier isCollectionEntry_ResourceSpecifier `protobuf_oneof:"resource_specifier"`
-}
-
-func (x *CollectionEntry) Reset() {
- *x = CollectionEntry{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_collection_entry_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CollectionEntry) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CollectionEntry) ProtoMessage() {}
-
-func (x *CollectionEntry) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_collection_entry_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CollectionEntry.ProtoReflect.Descriptor instead.
-func (*CollectionEntry) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_collection_entry_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *CollectionEntry) GetResourceSpecifier() isCollectionEntry_ResourceSpecifier {
- if m != nil {
- return m.ResourceSpecifier
- }
- return nil
-}
-
-func (x *CollectionEntry) GetLocator() *ResourceLocator {
- if x, ok := x.GetResourceSpecifier().(*CollectionEntry_Locator); ok {
- return x.Locator
- }
- return nil
-}
-
-func (x *CollectionEntry) GetInlineEntry() *CollectionEntry_InlineEntry {
- if x, ok := x.GetResourceSpecifier().(*CollectionEntry_InlineEntry_); ok {
- return x.InlineEntry
- }
- return nil
-}
-
-type isCollectionEntry_ResourceSpecifier interface {
- isCollectionEntry_ResourceSpecifier()
-}
-
-type CollectionEntry_Locator struct {
- Locator *ResourceLocator `protobuf:"bytes,1,opt,name=locator,proto3,oneof"`
-}
-
-type CollectionEntry_InlineEntry_ struct {
- InlineEntry *CollectionEntry_InlineEntry `protobuf:"bytes,2,opt,name=inline_entry,json=inlineEntry,proto3,oneof"`
-}
-
-func (*CollectionEntry_Locator) isCollectionEntry_ResourceSpecifier() {}
-
-func (*CollectionEntry_InlineEntry_) isCollectionEntry_ResourceSpecifier() {}
-
-type CollectionEntry_InlineEntry struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
- Resource *any.Any `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
-}
-
-func (x *CollectionEntry_InlineEntry) Reset() {
- *x = CollectionEntry_InlineEntry{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_collection_entry_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CollectionEntry_InlineEntry) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CollectionEntry_InlineEntry) ProtoMessage() {}
-
-func (x *CollectionEntry_InlineEntry) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_collection_entry_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CollectionEntry_InlineEntry.ProtoReflect.Descriptor instead.
-func (*CollectionEntry_InlineEntry) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_collection_entry_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *CollectionEntry_InlineEntry) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *CollectionEntry_InlineEntry) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
-}
-
-func (x *CollectionEntry_InlineEntry) GetResource() *any.Any {
- if x != nil {
- return x.Resource
- }
- return nil
-}
-
-var File_xds_core_v3_collection_entry_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_collection_entry_proto_rawDesc = []byte{
- 0x0a, 0x22, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f,
- 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x78, 0x64,
- 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33,
- 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x78,
- 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x02, 0x0a, 0x0f, 0x43,
- 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x38,
- 0x0a, 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1c, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52,
- 0x07, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x4d, 0x0a, 0x0c, 0x69, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6c,
- 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x6c,
- 0x69, 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0x8b, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0xfa, 0x42, 0x19, 0x72, 0x17, 0x32, 0x15, 0x5e, 0x5b,
- 0x30, 0x2d, 0x39, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 0x5f, 0x5c, 0x2d, 0x5c, 0x2e, 0x7e, 0x3a,
- 0x5d, 0x2b, 0x24, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x19, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01,
- 0x42, 0x5c, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78,
- 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x14, 0x43, 0x6f, 0x6c, 0x6c,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
- 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_collection_entry_proto_rawDescOnce sync.Once
- file_xds_core_v3_collection_entry_proto_rawDescData = file_xds_core_v3_collection_entry_proto_rawDesc
-)
-
-func file_xds_core_v3_collection_entry_proto_rawDescGZIP() []byte {
- file_xds_core_v3_collection_entry_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_collection_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_collection_entry_proto_rawDescData)
- })
- return file_xds_core_v3_collection_entry_proto_rawDescData
-}
-
-var file_xds_core_v3_collection_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_core_v3_collection_entry_proto_goTypes = []interface{}{
- (*CollectionEntry)(nil), // 0: xds.core.v3.CollectionEntry
- (*CollectionEntry_InlineEntry)(nil), // 1: xds.core.v3.CollectionEntry.InlineEntry
- (*ResourceLocator)(nil), // 2: xds.core.v3.ResourceLocator
- (*any.Any)(nil), // 3: google.protobuf.Any
-}
-var file_xds_core_v3_collection_entry_proto_depIdxs = []int32{
- 2, // 0: xds.core.v3.CollectionEntry.locator:type_name -> xds.core.v3.ResourceLocator
- 1, // 1: xds.core.v3.CollectionEntry.inline_entry:type_name -> xds.core.v3.CollectionEntry.InlineEntry
- 3, // 2: xds.core.v3.CollectionEntry.InlineEntry.resource:type_name -> google.protobuf.Any
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_collection_entry_proto_init() }
-func file_xds_core_v3_collection_entry_proto_init() {
- if File_xds_core_v3_collection_entry_proto != nil {
- return
- }
- file_xds_core_v3_resource_locator_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_collection_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CollectionEntry); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_core_v3_collection_entry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CollectionEntry_InlineEntry); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_core_v3_collection_entry_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*CollectionEntry_Locator)(nil),
- (*CollectionEntry_InlineEntry_)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_collection_entry_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_collection_entry_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_collection_entry_proto_depIdxs,
- MessageInfos: file_xds_core_v3_collection_entry_proto_msgTypes,
- }.Build()
- File_xds_core_v3_collection_entry_proto = out.File
- file_xds_core_v3_collection_entry_proto_rawDesc = nil
- file_xds_core_v3_collection_entry_proto_goTypes = nil
- file_xds_core_v3_collection_entry_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.validate.go
deleted file mode 100644
index a812625302..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/collection_entry.pb.validate.go
+++ /dev/null
@@ -1,222 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/collection_entry.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on CollectionEntry with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *CollectionEntry) Validate() error {
- if m == nil {
- return nil
- }
-
- switch m.ResourceSpecifier.(type) {
-
- case *CollectionEntry_Locator:
-
- if v, ok := interface{}(m.GetLocator()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CollectionEntryValidationError{
- field: "Locator",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *CollectionEntry_InlineEntry_:
-
- if v, ok := interface{}(m.GetInlineEntry()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CollectionEntryValidationError{
- field: "InlineEntry",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return CollectionEntryValidationError{
- field: "ResourceSpecifier",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// CollectionEntryValidationError is the validation error returned by
-// CollectionEntry.Validate if the designated constraints aren't met.
-type CollectionEntryValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CollectionEntryValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CollectionEntryValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CollectionEntryValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CollectionEntryValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CollectionEntryValidationError) ErrorName() string { return "CollectionEntryValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CollectionEntryValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCollectionEntry.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CollectionEntryValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CollectionEntryValidationError{}
-
-// Validate checks the field values on CollectionEntry_InlineEntry with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *CollectionEntry_InlineEntry) Validate() error {
- if m == nil {
- return nil
- }
-
- if !_CollectionEntry_InlineEntry_Name_Pattern.MatchString(m.GetName()) {
- return CollectionEntry_InlineEntryValidationError{
- field: "Name",
- reason: "value does not match regex pattern \"^[0-9a-zA-Z_\\\\-\\\\.~:]+$\"",
- }
- }
-
- // no validation rules for Version
-
- if v, ok := interface{}(m.GetResource()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CollectionEntry_InlineEntryValidationError{
- field: "Resource",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// CollectionEntry_InlineEntryValidationError is the validation error returned
-// by CollectionEntry_InlineEntry.Validate if the designated constraints
-// aren't met.
-type CollectionEntry_InlineEntryValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CollectionEntry_InlineEntryValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CollectionEntry_InlineEntryValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CollectionEntry_InlineEntryValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CollectionEntry_InlineEntryValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CollectionEntry_InlineEntryValidationError) ErrorName() string {
- return "CollectionEntry_InlineEntryValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CollectionEntry_InlineEntryValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCollectionEntry_InlineEntry.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CollectionEntry_InlineEntryValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CollectionEntry_InlineEntryValidationError{}
-
-var _CollectionEntry_InlineEntry_Name_Pattern = regexp.MustCompile("^[0-9a-zA-Z_\\-\\.~:]+$")
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.go
deleted file mode 100644
index 7473f9099d..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.go
+++ /dev/null
@@ -1,165 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/context_params.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type ContextParams struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
-}
-
-func (x *ContextParams) Reset() {
- *x = ContextParams{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_context_params_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ContextParams) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ContextParams) ProtoMessage() {}
-
-func (x *ContextParams) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_context_params_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ContextParams.ProtoReflect.Descriptor instead.
-func (*ContextParams) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_context_params_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ContextParams) GetParams() map[string]string {
- if x != nil {
- return x.Params
- }
- return nil
-}
-
-var File_xds_core_v3_context_params_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_context_params_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f,
- 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a,
- 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0x8a, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61,
- 0x6d, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
- 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x50,
- 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61,
- 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x5a, 0x0a,
- 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
- 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x67,
- 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78,
- 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
- 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
-}
-
-var (
- file_xds_core_v3_context_params_proto_rawDescOnce sync.Once
- file_xds_core_v3_context_params_proto_rawDescData = file_xds_core_v3_context_params_proto_rawDesc
-)
-
-func file_xds_core_v3_context_params_proto_rawDescGZIP() []byte {
- file_xds_core_v3_context_params_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_context_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_context_params_proto_rawDescData)
- })
- return file_xds_core_v3_context_params_proto_rawDescData
-}
-
-var file_xds_core_v3_context_params_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_core_v3_context_params_proto_goTypes = []interface{}{
- (*ContextParams)(nil), // 0: xds.core.v3.ContextParams
- nil, // 1: xds.core.v3.ContextParams.ParamsEntry
-}
-var file_xds_core_v3_context_params_proto_depIdxs = []int32{
- 1, // 0: xds.core.v3.ContextParams.params:type_name -> xds.core.v3.ContextParams.ParamsEntry
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_context_params_proto_init() }
-func file_xds_core_v3_context_params_proto_init() {
- if File_xds_core_v3_context_params_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_context_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContextParams); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_context_params_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_context_params_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_context_params_proto_depIdxs,
- MessageInfos: file_xds_core_v3_context_params_proto_msgTypes,
- }.Build()
- File_xds_core_v3_context_params_proto = out.File
- file_xds_core_v3_context_params_proto_rawDesc = nil
- file_xds_core_v3_context_params_proto_goTypes = nil
- file_xds_core_v3_context_params_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.validate.go
deleted file mode 100644
index 31277a6284..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/context_params.pb.validate.go
+++ /dev/null
@@ -1,101 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/context_params.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on ContextParams with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *ContextParams) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Params
-
- return nil
-}
-
-// ContextParamsValidationError is the validation error returned by
-// ContextParams.Validate if the designated constraints aren't met.
-type ContextParamsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ContextParamsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ContextParamsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ContextParamsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ContextParamsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ContextParamsValidationError) ErrorName() string { return "ContextParamsValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ContextParamsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sContextParams.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ContextParamsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ContextParamsValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.go
deleted file mode 100644
index 4b801ee08b..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.go
+++ /dev/null
@@ -1,172 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/extension.proto
-
-package v3
-
-import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- any "github.com/golang/protobuf/ptypes/any"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type TypedExtensionConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- TypedConfig *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
-}
-
-func (x *TypedExtensionConfig) Reset() {
- *x = TypedExtensionConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_extension_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TypedExtensionConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TypedExtensionConfig) ProtoMessage() {}
-
-func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_extension_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.
-func (*TypedExtensionConfig) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_extension_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TypedExtensionConfig) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *TypedExtensionConfig) GetTypedConfig() *any.Any {
- if x != nil {
- return x.TypedConfig
- }
- return nil
-}
-
-var File_xds_core_v3_extension_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_extension_proto_rawDesc = []byte{
- 0x0a, 0x1b, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78,
- 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76,
- 0x0a, 0x14, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0xa2, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x4e, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
- 0x42, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
- 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_extension_proto_rawDescOnce sync.Once
- file_xds_core_v3_extension_proto_rawDescData = file_xds_core_v3_extension_proto_rawDesc
-)
-
-func file_xds_core_v3_extension_proto_rawDescGZIP() []byte {
- file_xds_core_v3_extension_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_extension_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_extension_proto_rawDescData)
- })
- return file_xds_core_v3_extension_proto_rawDescData
-}
-
-var file_xds_core_v3_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_core_v3_extension_proto_goTypes = []interface{}{
- (*TypedExtensionConfig)(nil), // 0: xds.core.v3.TypedExtensionConfig
- (*any.Any)(nil), // 1: google.protobuf.Any
-}
-var file_xds_core_v3_extension_proto_depIdxs = []int32{
- 1, // 0: xds.core.v3.TypedExtensionConfig.typed_config:type_name -> google.protobuf.Any
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_extension_proto_init() }
-func file_xds_core_v3_extension_proto_init() {
- if File_xds_core_v3_extension_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_extension_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TypedExtensionConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_extension_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_extension_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_extension_proto_depIdxs,
- MessageInfos: file_xds_core_v3_extension_proto_msgTypes,
- }.Build()
- File_xds_core_v3_extension_proto = out.File
- file_xds_core_v3_extension_proto_rawDesc = nil
- file_xds_core_v3_extension_proto_goTypes = nil
- file_xds_core_v3_extension_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.validate.go
deleted file mode 100644
index 2acbda3c6f..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/extension.pb.validate.go
+++ /dev/null
@@ -1,119 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/extension.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on TypedExtensionConfig with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *TypedExtensionConfig) Validate() error {
- if m == nil {
- return nil
- }
-
- if utf8.RuneCountInString(m.GetName()) < 1 {
- return TypedExtensionConfigValidationError{
- field: "Name",
- reason: "value length must be at least 1 runes",
- }
- }
-
- if m.GetTypedConfig() == nil {
- return TypedExtensionConfigValidationError{
- field: "TypedConfig",
- reason: "value is required",
- }
- }
-
- if a := m.GetTypedConfig(); a != nil {
-
- }
-
- return nil
-}
-
-// TypedExtensionConfigValidationError is the validation error returned by
-// TypedExtensionConfig.Validate if the designated constraints aren't met.
-type TypedExtensionConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TypedExtensionConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TypedExtensionConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TypedExtensionConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TypedExtensionConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TypedExtensionConfigValidationError) ErrorName() string {
- return "TypedExtensionConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e TypedExtensionConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTypedExtensionConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TypedExtensionConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TypedExtensionConfigValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.go
deleted file mode 100644
index 42882efa78..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.go
+++ /dev/null
@@ -1,187 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/resource.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- proto "github.com/golang/protobuf/proto"
- any "github.com/golang/protobuf/ptypes/any"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type Resource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name *ResourceName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
- Resource *any.Any `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
-}
-
-func (x *Resource) Reset() {
- *x = Resource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_resource_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Resource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Resource) ProtoMessage() {}
-
-func (x *Resource) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_resource_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Resource.ProtoReflect.Descriptor instead.
-func (*Resource) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_resource_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Resource) GetName() *ResourceName {
- if x != nil {
- return x.Name
- }
- return nil
-}
-
-func (x *Resource) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
-}
-
-func (x *Resource) GetResource() *any.Any {
- if x != nil {
- return x.Resource
- }
- return nil
-}
-
-var File_xds_core_v3_resource_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_resource_proto_rawDesc = []byte{
- 0x0a, 0x1a, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64,
- 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
- 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08,
- 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x55,
- 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67,
- 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4,
- 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_resource_proto_rawDescOnce sync.Once
- file_xds_core_v3_resource_proto_rawDescData = file_xds_core_v3_resource_proto_rawDesc
-)
-
-func file_xds_core_v3_resource_proto_rawDescGZIP() []byte {
- file_xds_core_v3_resource_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_resource_proto_rawDescData)
- })
- return file_xds_core_v3_resource_proto_rawDescData
-}
-
-var file_xds_core_v3_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_core_v3_resource_proto_goTypes = []interface{}{
- (*Resource)(nil), // 0: xds.core.v3.Resource
- (*ResourceName)(nil), // 1: xds.core.v3.ResourceName
- (*any.Any)(nil), // 2: google.protobuf.Any
-}
-var file_xds_core_v3_resource_proto_depIdxs = []int32{
- 1, // 0: xds.core.v3.Resource.name:type_name -> xds.core.v3.ResourceName
- 2, // 1: xds.core.v3.Resource.resource:type_name -> google.protobuf.Any
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_resource_proto_init() }
-func file_xds_core_v3_resource_proto_init() {
- if File_xds_core_v3_resource_proto != nil {
- return
- }
- file_xds_core_v3_resource_name_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Resource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_resource_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_resource_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_resource_proto_depIdxs,
- MessageInfos: file_xds_core_v3_resource_proto_msgTypes,
- }.Build()
- File_xds_core_v3_resource_proto = out.File
- file_xds_core_v3_resource_proto_rawDesc = nil
- file_xds_core_v3_resource_proto_goTypes = nil
- file_xds_core_v3_resource_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.validate.go
deleted file mode 100644
index 4e49352cc3..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource.pb.validate.go
+++ /dev/null
@@ -1,120 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/resource.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on Resource with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Resource) Validate() error {
- if m == nil {
- return nil
- }
-
- if v, ok := interface{}(m.GetName()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceValidationError{
- field: "Name",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Version
-
- if v, ok := interface{}(m.GetResource()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceValidationError{
- field: "Resource",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// ResourceValidationError is the validation error returned by
-// Resource.Validate if the designated constraints aren't met.
-type ResourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResourceValidationError) ErrorName() string { return "ResourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ResourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResourceValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.go
deleted file mode 100644
index d0cdd8a3d3..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.go
+++ /dev/null
@@ -1,409 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/resource_locator.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type ResourceLocator_Scheme int32
-
-const (
- ResourceLocator_XDSTP ResourceLocator_Scheme = 0
- ResourceLocator_HTTP ResourceLocator_Scheme = 1
- ResourceLocator_FILE ResourceLocator_Scheme = 2
-)
-
-// Enum value maps for ResourceLocator_Scheme.
-var (
- ResourceLocator_Scheme_name = map[int32]string{
- 0: "XDSTP",
- 1: "HTTP",
- 2: "FILE",
- }
- ResourceLocator_Scheme_value = map[string]int32{
- "XDSTP": 0,
- "HTTP": 1,
- "FILE": 2,
- }
-)
-
-func (x ResourceLocator_Scheme) Enum() *ResourceLocator_Scheme {
- p := new(ResourceLocator_Scheme)
- *p = x
- return p
-}
-
-func (x ResourceLocator_Scheme) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ResourceLocator_Scheme) Descriptor() protoreflect.EnumDescriptor {
- return file_xds_core_v3_resource_locator_proto_enumTypes[0].Descriptor()
-}
-
-func (ResourceLocator_Scheme) Type() protoreflect.EnumType {
- return &file_xds_core_v3_resource_locator_proto_enumTypes[0]
-}
-
-func (x ResourceLocator_Scheme) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ResourceLocator_Scheme.Descriptor instead.
-func (ResourceLocator_Scheme) EnumDescriptor() ([]byte, []int) {
- return file_xds_core_v3_resource_locator_proto_rawDescGZIP(), []int{0, 0}
-}
-
-type ResourceLocator struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Scheme ResourceLocator_Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=xds.core.v3.ResourceLocator_Scheme" json:"scheme,omitempty"`
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
- Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
- ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
- // Types that are assignable to ContextParamSpecifier:
- // *ResourceLocator_ExactContext
- ContextParamSpecifier isResourceLocator_ContextParamSpecifier `protobuf_oneof:"context_param_specifier"`
- Directives []*ResourceLocator_Directive `protobuf:"bytes,6,rep,name=directives,proto3" json:"directives,omitempty"`
-}
-
-func (x *ResourceLocator) Reset() {
- *x = ResourceLocator{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_resource_locator_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ResourceLocator) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResourceLocator) ProtoMessage() {}
-
-func (x *ResourceLocator) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_resource_locator_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResourceLocator.ProtoReflect.Descriptor instead.
-func (*ResourceLocator) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_resource_locator_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ResourceLocator) GetScheme() ResourceLocator_Scheme {
- if x != nil {
- return x.Scheme
- }
- return ResourceLocator_XDSTP
-}
-
-func (x *ResourceLocator) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *ResourceLocator) GetAuthority() string {
- if x != nil {
- return x.Authority
- }
- return ""
-}
-
-func (x *ResourceLocator) GetResourceType() string {
- if x != nil {
- return x.ResourceType
- }
- return ""
-}
-
-func (m *ResourceLocator) GetContextParamSpecifier() isResourceLocator_ContextParamSpecifier {
- if m != nil {
- return m.ContextParamSpecifier
- }
- return nil
-}
-
-func (x *ResourceLocator) GetExactContext() *ContextParams {
- if x, ok := x.GetContextParamSpecifier().(*ResourceLocator_ExactContext); ok {
- return x.ExactContext
- }
- return nil
-}
-
-func (x *ResourceLocator) GetDirectives() []*ResourceLocator_Directive {
- if x != nil {
- return x.Directives
- }
- return nil
-}
-
-type isResourceLocator_ContextParamSpecifier interface {
- isResourceLocator_ContextParamSpecifier()
-}
-
-type ResourceLocator_ExactContext struct {
- ExactContext *ContextParams `protobuf:"bytes,5,opt,name=exact_context,json=exactContext,proto3,oneof"`
-}
-
-func (*ResourceLocator_ExactContext) isResourceLocator_ContextParamSpecifier() {}
-
-type ResourceLocator_Directive struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Directive:
- // *ResourceLocator_Directive_Alt
- // *ResourceLocator_Directive_Entry
- Directive isResourceLocator_Directive_Directive `protobuf_oneof:"directive"`
-}
-
-func (x *ResourceLocator_Directive) Reset() {
- *x = ResourceLocator_Directive{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_resource_locator_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ResourceLocator_Directive) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResourceLocator_Directive) ProtoMessage() {}
-
-func (x *ResourceLocator_Directive) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_resource_locator_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResourceLocator_Directive.ProtoReflect.Descriptor instead.
-func (*ResourceLocator_Directive) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_resource_locator_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (m *ResourceLocator_Directive) GetDirective() isResourceLocator_Directive_Directive {
- if m != nil {
- return m.Directive
- }
- return nil
-}
-
-func (x *ResourceLocator_Directive) GetAlt() *ResourceLocator {
- if x, ok := x.GetDirective().(*ResourceLocator_Directive_Alt); ok {
- return x.Alt
- }
- return nil
-}
-
-func (x *ResourceLocator_Directive) GetEntry() string {
- if x, ok := x.GetDirective().(*ResourceLocator_Directive_Entry); ok {
- return x.Entry
- }
- return ""
-}
-
-type isResourceLocator_Directive_Directive interface {
- isResourceLocator_Directive_Directive()
-}
-
-type ResourceLocator_Directive_Alt struct {
- Alt *ResourceLocator `protobuf:"bytes,1,opt,name=alt,proto3,oneof"`
-}
-
-type ResourceLocator_Directive_Entry struct {
- Entry string `protobuf:"bytes,2,opt,name=entry,proto3,oneof"`
-}
-
-func (*ResourceLocator_Directive_Alt) isResourceLocator_Directive_Directive() {}
-
-func (*ResourceLocator_Directive_Entry) isResourceLocator_Directive_Directive() {}
-
-var File_xds_core_v3_resource_locator_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_resource_locator_proto_rawDesc = []byte{
- 0x0a, 0x22, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f,
- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x04,
- 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f,
- 0x72, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x23, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e,
- 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01,
- 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
- 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x0d, 0x65, 0x78, 0x61, 0x63, 0x74, 0x5f, 0x63, 0x6f,
- 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
- 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x78, 0x61, 0x63, 0x74,
- 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x64, 0x69, 0x72, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x52, 0x0a, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x1a,
- 0x88, 0x01, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x30, 0x0a,
- 0x03, 0x61, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x74, 0x12,
- 0x37, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1f,
- 0xfa, 0x42, 0x1c, 0x72, 0x1a, 0x10, 0x01, 0x32, 0x16, 0x5e, 0x5b, 0x30, 0x2d, 0x39, 0x61, 0x2d,
- 0x7a, 0x41, 0x2d, 0x5a, 0x5f, 0x5c, 0x2d, 0x5c, 0x2e, 0x2f, 0x7e, 0x3a, 0x5d, 0x2b, 0x24, 0x48,
- 0x00, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x10, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x27, 0x0a, 0x06, 0x53, 0x63,
- 0x68, 0x65, 0x6d, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x58, 0x44, 0x53, 0x54, 0x50, 0x10, 0x00, 0x12,
- 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c,
- 0x45, 0x10, 0x02, 0x42, 0x19, 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70,
- 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x5c,
- 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
- 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63,
- 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72,
- 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_resource_locator_proto_rawDescOnce sync.Once
- file_xds_core_v3_resource_locator_proto_rawDescData = file_xds_core_v3_resource_locator_proto_rawDesc
-)
-
-func file_xds_core_v3_resource_locator_proto_rawDescGZIP() []byte {
- file_xds_core_v3_resource_locator_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_resource_locator_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_resource_locator_proto_rawDescData)
- })
- return file_xds_core_v3_resource_locator_proto_rawDescData
-}
-
-var file_xds_core_v3_resource_locator_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_xds_core_v3_resource_locator_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_core_v3_resource_locator_proto_goTypes = []interface{}{
- (ResourceLocator_Scheme)(0), // 0: xds.core.v3.ResourceLocator.Scheme
- (*ResourceLocator)(nil), // 1: xds.core.v3.ResourceLocator
- (*ResourceLocator_Directive)(nil), // 2: xds.core.v3.ResourceLocator.Directive
- (*ContextParams)(nil), // 3: xds.core.v3.ContextParams
-}
-var file_xds_core_v3_resource_locator_proto_depIdxs = []int32{
- 0, // 0: xds.core.v3.ResourceLocator.scheme:type_name -> xds.core.v3.ResourceLocator.Scheme
- 3, // 1: xds.core.v3.ResourceLocator.exact_context:type_name -> xds.core.v3.ContextParams
- 2, // 2: xds.core.v3.ResourceLocator.directives:type_name -> xds.core.v3.ResourceLocator.Directive
- 1, // 3: xds.core.v3.ResourceLocator.Directive.alt:type_name -> xds.core.v3.ResourceLocator
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_resource_locator_proto_init() }
-func file_xds_core_v3_resource_locator_proto_init() {
- if File_xds_core_v3_resource_locator_proto != nil {
- return
- }
- file_xds_core_v3_context_params_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_resource_locator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ResourceLocator); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_core_v3_resource_locator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ResourceLocator_Directive); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_core_v3_resource_locator_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*ResourceLocator_ExactContext)(nil),
- }
- file_xds_core_v3_resource_locator_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*ResourceLocator_Directive_Alt)(nil),
- (*ResourceLocator_Directive_Entry)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_resource_locator_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_resource_locator_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_resource_locator_proto_depIdxs,
- EnumInfos: file_xds_core_v3_resource_locator_proto_enumTypes,
- MessageInfos: file_xds_core_v3_resource_locator_proto_msgTypes,
- }.Build()
- File_xds_core_v3_resource_locator_proto = out.File
- file_xds_core_v3_resource_locator_proto_rawDesc = nil
- file_xds_core_v3_resource_locator_proto_goTypes = nil
- file_xds_core_v3_resource_locator_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.validate.go
deleted file mode 100644
index ff91eecd7c..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_locator.pb.validate.go
+++ /dev/null
@@ -1,255 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/resource_locator.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on ResourceLocator with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *ResourceLocator) Validate() error {
- if m == nil {
- return nil
- }
-
- if _, ok := ResourceLocator_Scheme_name[int32(m.GetScheme())]; !ok {
- return ResourceLocatorValidationError{
- field: "Scheme",
- reason: "value must be one of the defined enum values",
- }
- }
-
- // no validation rules for Id
-
- // no validation rules for Authority
-
- if utf8.RuneCountInString(m.GetResourceType()) < 1 {
- return ResourceLocatorValidationError{
- field: "ResourceType",
- reason: "value length must be at least 1 runes",
- }
- }
-
- for idx, item := range m.GetDirectives() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceLocatorValidationError{
- field: fmt.Sprintf("Directives[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- switch m.ContextParamSpecifier.(type) {
-
- case *ResourceLocator_ExactContext:
-
- if v, ok := interface{}(m.GetExactContext()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceLocatorValidationError{
- field: "ExactContext",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// ResourceLocatorValidationError is the validation error returned by
-// ResourceLocator.Validate if the designated constraints aren't met.
-type ResourceLocatorValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResourceLocatorValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResourceLocatorValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResourceLocatorValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResourceLocatorValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResourceLocatorValidationError) ErrorName() string { return "ResourceLocatorValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ResourceLocatorValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResourceLocator.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResourceLocatorValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResourceLocatorValidationError{}
-
-// Validate checks the field values on ResourceLocator_Directive with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *ResourceLocator_Directive) Validate() error {
- if m == nil {
- return nil
- }
-
- switch m.Directive.(type) {
-
- case *ResourceLocator_Directive_Alt:
-
- if v, ok := interface{}(m.GetAlt()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceLocator_DirectiveValidationError{
- field: "Alt",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *ResourceLocator_Directive_Entry:
-
- if utf8.RuneCountInString(m.GetEntry()) < 1 {
- return ResourceLocator_DirectiveValidationError{
- field: "Entry",
- reason: "value length must be at least 1 runes",
- }
- }
-
- if !_ResourceLocator_Directive_Entry_Pattern.MatchString(m.GetEntry()) {
- return ResourceLocator_DirectiveValidationError{
- field: "Entry",
- reason: "value does not match regex pattern \"^[0-9a-zA-Z_\\\\-\\\\./~:]+$\"",
- }
- }
-
- default:
- return ResourceLocator_DirectiveValidationError{
- field: "Directive",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// ResourceLocator_DirectiveValidationError is the validation error returned by
-// ResourceLocator_Directive.Validate if the designated constraints aren't met.
-type ResourceLocator_DirectiveValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResourceLocator_DirectiveValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResourceLocator_DirectiveValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResourceLocator_DirectiveValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResourceLocator_DirectiveValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResourceLocator_DirectiveValidationError) ErrorName() string {
- return "ResourceLocator_DirectiveValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ResourceLocator_DirectiveValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResourceLocator_Directive.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResourceLocator_DirectiveValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResourceLocator_DirectiveValidationError{}
-
-var _ResourceLocator_Directive_Entry_Pattern = regexp.MustCompile("^[0-9a-zA-Z_\\-\\./~:]+$")
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.go
deleted file mode 100644
index 0ef98bb7c6..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.go
+++ /dev/null
@@ -1,195 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/core/v3/resource_name.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type ResourceName struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
- ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
- Context *ContextParams `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
-}
-
-func (x *ResourceName) Reset() {
- *x = ResourceName{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_core_v3_resource_name_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ResourceName) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResourceName) ProtoMessage() {}
-
-func (x *ResourceName) ProtoReflect() protoreflect.Message {
- mi := &file_xds_core_v3_resource_name_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResourceName.ProtoReflect.Descriptor instead.
-func (*ResourceName) Descriptor() ([]byte, []int) {
- return file_xds_core_v3_resource_name_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ResourceName) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *ResourceName) GetAuthority() string {
- if x != nil {
- return x.Authority
- }
- return ""
-}
-
-func (x *ResourceName) GetResourceType() string {
- if x != nil {
- return x.ResourceType
- }
- return ""
-}
-
-func (x *ResourceName) GetContext() *ContextParams {
- if x != nil {
- return x.Context
- }
- return nil
-}
-
-var File_xds_core_v3_resource_name_proto protoreflect.FileDescriptor
-
-var file_xds_core_v3_resource_name_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1f,
- 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x20, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e,
- 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x52,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x0d, 0x72, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
- 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61,
- 0x72, 0x61, 0x6d, 0x73, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x59, 0x0a,
- 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64,
- 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33,
- 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_core_v3_resource_name_proto_rawDescOnce sync.Once
- file_xds_core_v3_resource_name_proto_rawDescData = file_xds_core_v3_resource_name_proto_rawDesc
-)
-
-func file_xds_core_v3_resource_name_proto_rawDescGZIP() []byte {
- file_xds_core_v3_resource_name_proto_rawDescOnce.Do(func() {
- file_xds_core_v3_resource_name_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_core_v3_resource_name_proto_rawDescData)
- })
- return file_xds_core_v3_resource_name_proto_rawDescData
-}
-
-var file_xds_core_v3_resource_name_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_core_v3_resource_name_proto_goTypes = []interface{}{
- (*ResourceName)(nil), // 0: xds.core.v3.ResourceName
- (*ContextParams)(nil), // 1: xds.core.v3.ContextParams
-}
-var file_xds_core_v3_resource_name_proto_depIdxs = []int32{
- 1, // 0: xds.core.v3.ResourceName.context:type_name -> xds.core.v3.ContextParams
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_core_v3_resource_name_proto_init() }
-func file_xds_core_v3_resource_name_proto_init() {
- if File_xds_core_v3_resource_name_proto != nil {
- return
- }
- file_xds_core_v3_context_params_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_core_v3_resource_name_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ResourceName); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_core_v3_resource_name_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_core_v3_resource_name_proto_goTypes,
- DependencyIndexes: file_xds_core_v3_resource_name_proto_depIdxs,
- MessageInfos: file_xds_core_v3_resource_name_proto_msgTypes,
- }.Build()
- File_xds_core_v3_resource_name_proto = out.File
- file_xds_core_v3_resource_name_proto_rawDesc = nil
- file_xds_core_v3_resource_name_proto_goTypes = nil
- file_xds_core_v3_resource_name_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.validate.go
deleted file mode 100644
index db525b9780..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/core/v3/resource_name.pb.validate.go
+++ /dev/null
@@ -1,120 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/core/v3/resource_name.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on ResourceName with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *ResourceName) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Id
-
- // no validation rules for Authority
-
- if utf8.RuneCountInString(m.GetResourceType()) < 1 {
- return ResourceNameValidationError{
- field: "ResourceType",
- reason: "value length must be at least 1 runes",
- }
- }
-
- if v, ok := interface{}(m.GetContext()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ResourceNameValidationError{
- field: "Context",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// ResourceNameValidationError is the validation error returned by
-// ResourceName.Validate if the designated constraints aren't met.
-type ResourceNameValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResourceNameValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResourceNameValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResourceNameValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResourceNameValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResourceNameValidationError) ErrorName() string { return "ResourceNameValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ResourceNameValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResourceName.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResourceNameValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResourceNameValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.go b/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.go
deleted file mode 100644
index 3536641675..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.go
+++ /dev/null
@@ -1,236 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/data/orca/v3/orca_load_report.proto
-
-package v3
-
-import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type OrcaLoadReport struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- CpuUtilization float64 `protobuf:"fixed64,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"`
- MemUtilization float64 `protobuf:"fixed64,2,opt,name=mem_utilization,json=memUtilization,proto3" json:"mem_utilization,omitempty"`
- // Deprecated: Do not use.
- Rps uint64 `protobuf:"varint,3,opt,name=rps,proto3" json:"rps,omitempty"`
- RequestCost map[string]float64 `protobuf:"bytes,4,rep,name=request_cost,json=requestCost,proto3" json:"request_cost,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- Utilization map[string]float64 `protobuf:"bytes,5,rep,name=utilization,proto3" json:"utilization,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- RpsFractional float64 `protobuf:"fixed64,6,opt,name=rps_fractional,json=rpsFractional,proto3" json:"rps_fractional,omitempty"`
-}
-
-func (x *OrcaLoadReport) Reset() {
- *x = OrcaLoadReport{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *OrcaLoadReport) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*OrcaLoadReport) ProtoMessage() {}
-
-func (x *OrcaLoadReport) ProtoReflect() protoreflect.Message {
- mi := &file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use OrcaLoadReport.ProtoReflect.Descriptor instead.
-func (*OrcaLoadReport) Descriptor() ([]byte, []int) {
- return file_xds_data_orca_v3_orca_load_report_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *OrcaLoadReport) GetCpuUtilization() float64 {
- if x != nil {
- return x.CpuUtilization
- }
- return 0
-}
-
-func (x *OrcaLoadReport) GetMemUtilization() float64 {
- if x != nil {
- return x.MemUtilization
- }
- return 0
-}
-
-// Deprecated: Do not use.
-func (x *OrcaLoadReport) GetRps() uint64 {
- if x != nil {
- return x.Rps
- }
- return 0
-}
-
-func (x *OrcaLoadReport) GetRequestCost() map[string]float64 {
- if x != nil {
- return x.RequestCost
- }
- return nil
-}
-
-func (x *OrcaLoadReport) GetUtilization() map[string]float64 {
- if x != nil {
- return x.Utilization
- }
- return nil
-}
-
-func (x *OrcaLoadReport) GetRpsFractional() float64 {
- if x != nil {
- return x.RpsFractional
- }
- return 0
-}
-
-var File_xds_data_orca_v3_orca_load_report_proto protoreflect.FileDescriptor
-
-var file_xds_data_orca_v3_orca_load_report_proto_rawDesc = []byte{
- 0x0a, 0x27, 0x78, 0x64, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x63, 0x61, 0x2f,
- 0x76, 0x33, 0x2f, 0x6f, 0x72, 0x63, 0x61, 0x5f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x70,
- 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x64, 0x73, 0x2e, 0x64,
- 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x04, 0x0a, 0x0e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61,
- 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x70, 0x75, 0x5f, 0x75,
- 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01,
- 0x42, 0x1c, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x52, 0x0e,
- 0x63, 0x70, 0x75, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45,
- 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x1c, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x19, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0xf0, 0x3f, 0x52, 0x0e, 0x6d, 0x65, 0x6d, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x03, 0x72, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x03, 0x72, 0x70, 0x73, 0x12, 0x54, 0x0a, 0x0c, 0x72,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63,
- 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70,
- 0x6f, 0x72, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x73,
- 0x74, 0x12, 0x7b, 0x0a, 0x0b, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64, 0x61, 0x74,
- 0x61, 0x2e, 0x6f, 0x72, 0x63, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f,
- 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x26, 0xfa, 0x42, 0x10, 0x9a, 0x01,
- 0x0d, 0x2a, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x42,
- 0x10, 0x9a, 0x01, 0x0d, 0x2a, 0x0b, 0x12, 0x09, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
- 0x3f, 0x52, 0x0b, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35,
- 0x0a, 0x0e, 0x72, 0x70, 0x73, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x29, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x0d, 0x72, 0x70, 0x73, 0x46, 0x72, 0x61, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x1a, 0x3e, 0x0a, 0x10, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x43, 0x6f, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x5d, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x63,
- 0x61, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x4f, 0x72, 0x63, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65,
- 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73,
- 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x63,
- 0x61, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_data_orca_v3_orca_load_report_proto_rawDescOnce sync.Once
- file_xds_data_orca_v3_orca_load_report_proto_rawDescData = file_xds_data_orca_v3_orca_load_report_proto_rawDesc
-)
-
-func file_xds_data_orca_v3_orca_load_report_proto_rawDescGZIP() []byte {
- file_xds_data_orca_v3_orca_load_report_proto_rawDescOnce.Do(func() {
- file_xds_data_orca_v3_orca_load_report_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_data_orca_v3_orca_load_report_proto_rawDescData)
- })
- return file_xds_data_orca_v3_orca_load_report_proto_rawDescData
-}
-
-var file_xds_data_orca_v3_orca_load_report_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_xds_data_orca_v3_orca_load_report_proto_goTypes = []interface{}{
- (*OrcaLoadReport)(nil), // 0: xds.data.orca.v3.OrcaLoadReport
- nil, // 1: xds.data.orca.v3.OrcaLoadReport.RequestCostEntry
- nil, // 2: xds.data.orca.v3.OrcaLoadReport.UtilizationEntry
-}
-var file_xds_data_orca_v3_orca_load_report_proto_depIdxs = []int32{
- 1, // 0: xds.data.orca.v3.OrcaLoadReport.request_cost:type_name -> xds.data.orca.v3.OrcaLoadReport.RequestCostEntry
- 2, // 1: xds.data.orca.v3.OrcaLoadReport.utilization:type_name -> xds.data.orca.v3.OrcaLoadReport.UtilizationEntry
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_xds_data_orca_v3_orca_load_report_proto_init() }
-func file_xds_data_orca_v3_orca_load_report_proto_init() {
- if File_xds_data_orca_v3_orca_load_report_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_data_orca_v3_orca_load_report_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrcaLoadReport); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_data_orca_v3_orca_load_report_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_data_orca_v3_orca_load_report_proto_goTypes,
- DependencyIndexes: file_xds_data_orca_v3_orca_load_report_proto_depIdxs,
- MessageInfos: file_xds_data_orca_v3_orca_load_report_proto_msgTypes,
- }.Build()
- File_xds_data_orca_v3_orca_load_report_proto = out.File
- file_xds_data_orca_v3_orca_load_report_proto_rawDesc = nil
- file_xds_data_orca_v3_orca_load_report_proto_goTypes = nil
- file_xds_data_orca_v3_orca_load_report_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.validate.go
deleted file mode 100644
index 19750a09a9..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/data/orca/v3/orca_load_report.pb.validate.go
+++ /dev/null
@@ -1,138 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/data/orca/v3/orca_load_report.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on OrcaLoadReport with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *OrcaLoadReport) Validate() error {
- if m == nil {
- return nil
- }
-
- if val := m.GetCpuUtilization(); val < 0 || val > 1 {
- return OrcaLoadReportValidationError{
- field: "CpuUtilization",
- reason: "value must be inside range [0, 1]",
- }
- }
-
- if val := m.GetMemUtilization(); val < 0 || val > 1 {
- return OrcaLoadReportValidationError{
- field: "MemUtilization",
- reason: "value must be inside range [0, 1]",
- }
- }
-
- // no validation rules for Rps
-
- // no validation rules for RequestCost
-
- for key, val := range m.GetUtilization() {
- _ = val
-
- // no validation rules for Utilization[key]
-
- if val := val; val < 0 || val > 1 {
- return OrcaLoadReportValidationError{
- field: fmt.Sprintf("Utilization[%v]", key),
- reason: "value must be inside range [0, 1]",
- }
- }
-
- }
-
- if m.GetRpsFractional() < 0 {
- return OrcaLoadReportValidationError{
- field: "RpsFractional",
- reason: "value must be greater than or equal to 0",
- }
- }
-
- return nil
-}
-
-// OrcaLoadReportValidationError is the validation error returned by
-// OrcaLoadReport.Validate if the designated constraints aren't met.
-type OrcaLoadReportValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e OrcaLoadReportValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e OrcaLoadReportValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e OrcaLoadReportValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e OrcaLoadReportValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e OrcaLoadReportValidationError) ErrorName() string { return "OrcaLoadReportValidationError" }
-
-// Error satisfies the builtin error interface
-func (e OrcaLoadReportValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sOrcaLoadReport.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = OrcaLoadReportValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = OrcaLoadReportValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.go
deleted file mode 100644
index 24b19ac0ae..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.go
+++ /dev/null
@@ -1,167 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/cel.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- v3 "github.com/cncf/xds/go/xds/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type CelMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ExprMatch *v3.CelExpression `protobuf:"bytes,1,opt,name=expr_match,json=exprMatch,proto3" json:"expr_match,omitempty"`
-}
-
-func (x *CelMatcher) Reset() {
- *x = CelMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_cel_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CelMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CelMatcher) ProtoMessage() {}
-
-func (x *CelMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_cel_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CelMatcher.ProtoReflect.Descriptor instead.
-func (*CelMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_cel_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *CelMatcher) GetExprMatch() *v3.CelExpression {
- if x != nil {
- return x.ExprMatch
- }
- return nil
-}
-
-var File_xds_type_matcher_v3_cel_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_cel_proto_rawDesc = []byte{
- 0x0a, 0x1d, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f,
- 0x76, 0x33, 0x2f, 0x63, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x0a, 0x43, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79,
- 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
- 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x65,
- 0x78, 0x70, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x60, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x43, 0x65, 0x6c, 0x50,
- 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
- 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78,
- 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f,
- 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_cel_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_cel_proto_rawDescData = file_xds_type_matcher_v3_cel_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_cel_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_cel_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_cel_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_cel_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_cel_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_cel_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_type_matcher_v3_cel_proto_goTypes = []interface{}{
- (*CelMatcher)(nil), // 0: xds.type.matcher.v3.CelMatcher
- (*v3.CelExpression)(nil), // 1: xds.type.v3.CelExpression
-}
-var file_xds_type_matcher_v3_cel_proto_depIdxs = []int32{
- 1, // 0: xds.type.matcher.v3.CelMatcher.expr_match:type_name -> xds.type.v3.CelExpression
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_cel_proto_init() }
-func file_xds_type_matcher_v3_cel_proto_init() {
- if File_xds_type_matcher_v3_cel_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_cel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CelMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_cel_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_cel_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_cel_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_cel_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_cel_proto = out.File
- file_xds_type_matcher_v3_cel_proto_rawDesc = nil
- file_xds_type_matcher_v3_cel_proto_goTypes = nil
- file_xds_type_matcher_v3_cel_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.validate.go
deleted file mode 100644
index c079a2a9d7..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/cel.pb.validate.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/cel.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on CelMatcher with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *CelMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if m.GetExprMatch() == nil {
- return CelMatcherValidationError{
- field: "ExprMatch",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetExprMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CelMatcherValidationError{
- field: "ExprMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// CelMatcherValidationError is the validation error returned by
-// CelMatcher.Validate if the designated constraints aren't met.
-type CelMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CelMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CelMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CelMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CelMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CelMatcherValidationError) ErrorName() string { return "CelMatcherValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CelMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCelMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CelMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CelMatcherValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.go
deleted file mode 100644
index 38d9f57b2e..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.go
+++ /dev/null
@@ -1,247 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/domain.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type ServerNameMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- DomainMatchers []*ServerNameMatcher_DomainMatcher `protobuf:"bytes,1,rep,name=domain_matchers,json=domainMatchers,proto3" json:"domain_matchers,omitempty"`
-}
-
-func (x *ServerNameMatcher) Reset() {
- *x = ServerNameMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ServerNameMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ServerNameMatcher) ProtoMessage() {}
-
-func (x *ServerNameMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ServerNameMatcher.ProtoReflect.Descriptor instead.
-func (*ServerNameMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_domain_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ServerNameMatcher) GetDomainMatchers() []*ServerNameMatcher_DomainMatcher {
- if x != nil {
- return x.DomainMatchers
- }
- return nil
-}
-
-type ServerNameMatcher_DomainMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
-}
-
-func (x *ServerNameMatcher_DomainMatcher) Reset() {
- *x = ServerNameMatcher_DomainMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ServerNameMatcher_DomainMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ServerNameMatcher_DomainMatcher) ProtoMessage() {}
-
-func (x *ServerNameMatcher_DomainMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ServerNameMatcher_DomainMatcher.ProtoReflect.Descriptor instead.
-func (*ServerNameMatcher_DomainMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_domain_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *ServerNameMatcher_DomainMatcher) GetDomains() []string {
- if x != nil {
- return x.Domains
- }
- return nil
-}
-
-func (x *ServerNameMatcher_DomainMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-var File_xds_type_matcher_v3_domain_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_domain_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79,
- 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e,
- 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x0f, 0x64, 0x6f,
- 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
- 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x44, 0x6f, 0x6d, 0x61,
- 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 0x69,
- 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x1a, 0x74, 0x0a, 0x0d, 0x44, 0x6f, 0x6d,
- 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x07, 0x64, 0x6f,
- 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x3f,
- 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f,
- 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42,
- 0x6e, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76,
- 0x33, 0x42, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73,
- 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_domain_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_domain_proto_rawDescData = file_xds_type_matcher_v3_domain_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_domain_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_domain_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_domain_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_domain_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_type_matcher_v3_domain_proto_goTypes = []interface{}{
- (*ServerNameMatcher)(nil), // 0: xds.type.matcher.v3.ServerNameMatcher
- (*ServerNameMatcher_DomainMatcher)(nil), // 1: xds.type.matcher.v3.ServerNameMatcher.DomainMatcher
- (*Matcher_OnMatch)(nil), // 2: xds.type.matcher.v3.Matcher.OnMatch
-}
-var file_xds_type_matcher_v3_domain_proto_depIdxs = []int32{
- 1, // 0: xds.type.matcher.v3.ServerNameMatcher.domain_matchers:type_name -> xds.type.matcher.v3.ServerNameMatcher.DomainMatcher
- 2, // 1: xds.type.matcher.v3.ServerNameMatcher.DomainMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_domain_proto_init() }
-func file_xds_type_matcher_v3_domain_proto_init() {
- if File_xds_type_matcher_v3_domain_proto != nil {
- return
- }
- file_xds_type_matcher_v3_matcher_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ServerNameMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_domain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ServerNameMatcher_DomainMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_domain_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_domain_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_domain_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_domain_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_domain_proto = out.File
- file_xds_type_matcher_v3_domain_proto_rawDesc = nil
- file_xds_type_matcher_v3_domain_proto_goTypes = nil
- file_xds_type_matcher_v3_domain_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.validate.go
deleted file mode 100644
index de964c6345..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/domain.pb.validate.go
+++ /dev/null
@@ -1,201 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/domain.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on ServerNameMatcher with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *ServerNameMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- for idx, item := range m.GetDomainMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerNameMatcherValidationError{
- field: fmt.Sprintf("DomainMatchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// ServerNameMatcherValidationError is the validation error returned by
-// ServerNameMatcher.Validate if the designated constraints aren't met.
-type ServerNameMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ServerNameMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ServerNameMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ServerNameMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ServerNameMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ServerNameMatcherValidationError) ErrorName() string {
- return "ServerNameMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ServerNameMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sServerNameMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ServerNameMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ServerNameMatcherValidationError{}
-
-// Validate checks the field values on ServerNameMatcher_DomainMatcher with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *ServerNameMatcher_DomainMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetDomains()) < 1 {
- return ServerNameMatcher_DomainMatcherValidationError{
- field: "Domains",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerNameMatcher_DomainMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// ServerNameMatcher_DomainMatcherValidationError is the validation error
-// returned by ServerNameMatcher_DomainMatcher.Validate if the designated
-// constraints aren't met.
-type ServerNameMatcher_DomainMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ServerNameMatcher_DomainMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ServerNameMatcher_DomainMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ServerNameMatcher_DomainMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ServerNameMatcher_DomainMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ServerNameMatcher_DomainMatcherValidationError) ErrorName() string {
- return "ServerNameMatcher_DomainMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ServerNameMatcher_DomainMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sServerNameMatcher_DomainMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ServerNameMatcher_DomainMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ServerNameMatcher_DomainMatcherValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.go
deleted file mode 100644
index c2b50933e2..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.go
+++ /dev/null
@@ -1,148 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/http_inputs.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type HttpAttributesCelMatchInput struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *HttpAttributesCelMatchInput) Reset() {
- *x = HttpAttributesCelMatchInput{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_http_inputs_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HttpAttributesCelMatchInput) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HttpAttributesCelMatchInput) ProtoMessage() {}
-
-func (x *HttpAttributesCelMatchInput) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_http_inputs_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HttpAttributesCelMatchInput.ProtoReflect.Descriptor instead.
-func (*HttpAttributesCelMatchInput) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_http_inputs_proto_rawDescGZIP(), []int{0}
-}
-
-var File_xds_type_matcher_v3_http_inputs_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_http_inputs_proto_rawDesc = []byte{
- 0x0a, 0x25, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74,
- 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70,
- 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64,
- 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33,
- 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a,
- 0x1b, 0x48, 0x74, 0x74, 0x70, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43,
- 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x67, 0x0a, 0x1e,
- 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0f,
- 0x48, 0x74, 0x74, 0x70, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
- 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79,
- 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4,
- 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_http_inputs_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_http_inputs_proto_rawDescData = file_xds_type_matcher_v3_http_inputs_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_http_inputs_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_http_inputs_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_http_inputs_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_http_inputs_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_http_inputs_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_http_inputs_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_type_matcher_v3_http_inputs_proto_goTypes = []interface{}{
- (*HttpAttributesCelMatchInput)(nil), // 0: xds.type.matcher.v3.HttpAttributesCelMatchInput
-}
-var file_xds_type_matcher_v3_http_inputs_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_http_inputs_proto_init() }
-func file_xds_type_matcher_v3_http_inputs_proto_init() {
- if File_xds_type_matcher_v3_http_inputs_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_http_inputs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HttpAttributesCelMatchInput); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_http_inputs_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_http_inputs_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_http_inputs_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_http_inputs_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_http_inputs_proto = out.File
- file_xds_type_matcher_v3_http_inputs_proto_rawDesc = nil
- file_xds_type_matcher_v3_http_inputs_proto_goTypes = nil
- file_xds_type_matcher_v3_http_inputs_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.validate.go
deleted file mode 100644
index 1760d8f9d7..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/http_inputs.pb.validate.go
+++ /dev/null
@@ -1,102 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/http_inputs.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on HttpAttributesCelMatchInput with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *HttpAttributesCelMatchInput) Validate() error {
- if m == nil {
- return nil
- }
-
- return nil
-}
-
-// HttpAttributesCelMatchInputValidationError is the validation error returned
-// by HttpAttributesCelMatchInput.Validate if the designated constraints
-// aren't met.
-type HttpAttributesCelMatchInputValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HttpAttributesCelMatchInputValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HttpAttributesCelMatchInputValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HttpAttributesCelMatchInputValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HttpAttributesCelMatchInputValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HttpAttributesCelMatchInputValidationError) ErrorName() string {
- return "HttpAttributesCelMatchInputValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HttpAttributesCelMatchInputValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttpAttributesCelMatchInput.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HttpAttributesCelMatchInputValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HttpAttributesCelMatchInputValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.go
deleted file mode 100644
index 1a38ba2b42..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.go
+++ /dev/null
@@ -1,261 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/ip.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- v3 "github.com/cncf/xds/go/xds/core/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type IPMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RangeMatchers []*IPMatcher_IPRangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
-}
-
-func (x *IPMatcher) Reset() {
- *x = IPMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_ip_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *IPMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*IPMatcher) ProtoMessage() {}
-
-func (x *IPMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_ip_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use IPMatcher.ProtoReflect.Descriptor instead.
-func (*IPMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_ip_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *IPMatcher) GetRangeMatchers() []*IPMatcher_IPRangeMatcher {
- if x != nil {
- return x.RangeMatchers
- }
- return nil
-}
-
-type IPMatcher_IPRangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ranges []*v3.CidrRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
- Exclusive bool `protobuf:"varint,3,opt,name=exclusive,proto3" json:"exclusive,omitempty"`
-}
-
-func (x *IPMatcher_IPRangeMatcher) Reset() {
- *x = IPMatcher_IPRangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_ip_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *IPMatcher_IPRangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*IPMatcher_IPRangeMatcher) ProtoMessage() {}
-
-func (x *IPMatcher_IPRangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_ip_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use IPMatcher_IPRangeMatcher.ProtoReflect.Descriptor instead.
-func (*IPMatcher_IPRangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_ip_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *IPMatcher_IPRangeMatcher) GetRanges() []*v3.CidrRange {
- if x != nil {
- return x.Ranges
- }
- return nil
-}
-
-func (x *IPMatcher_IPRangeMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-func (x *IPMatcher_IPRangeMatcher) GetExclusive() bool {
- if x != nil {
- return x.Exclusive
- }
- return false
-}
-
-var File_xds_type_matcher_v3_ip_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_ip_proto_rawDesc = []byte{
- 0x0a, 0x1c, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13,
- 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x78, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
- 0x33, 0x2f, 0x63, 0x69, 0x64, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x78, 0x64,
- 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76,
- 0x33, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x09, 0x49, 0x50, 0x4d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0e, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x50, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x49,
- 0x50, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d, 0x72,
- 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x1a, 0xa9, 0x01, 0x0a,
- 0x0e, 0x49, 0x50, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
- 0x38, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x16, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x69,
- 0x64, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08,
- 0x01, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e, 0x5f,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76,
- 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78,
- 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65,
- 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x42, 0x66, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x49, 0x50, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64,
- 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_ip_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_ip_proto_rawDescData = file_xds_type_matcher_v3_ip_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_ip_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_ip_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_ip_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_ip_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_ip_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_ip_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_type_matcher_v3_ip_proto_goTypes = []interface{}{
- (*IPMatcher)(nil), // 0: xds.type.matcher.v3.IPMatcher
- (*IPMatcher_IPRangeMatcher)(nil), // 1: xds.type.matcher.v3.IPMatcher.IPRangeMatcher
- (*v3.CidrRange)(nil), // 2: xds.core.v3.CidrRange
- (*Matcher_OnMatch)(nil), // 3: xds.type.matcher.v3.Matcher.OnMatch
-}
-var file_xds_type_matcher_v3_ip_proto_depIdxs = []int32{
- 1, // 0: xds.type.matcher.v3.IPMatcher.range_matchers:type_name -> xds.type.matcher.v3.IPMatcher.IPRangeMatcher
- 2, // 1: xds.type.matcher.v3.IPMatcher.IPRangeMatcher.ranges:type_name -> xds.core.v3.CidrRange
- 3, // 2: xds.type.matcher.v3.IPMatcher.IPRangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_ip_proto_init() }
-func file_xds_type_matcher_v3_ip_proto_init() {
- if File_xds_type_matcher_v3_ip_proto != nil {
- return
- }
- file_xds_type_matcher_v3_matcher_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_ip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IPMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_ip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IPMatcher_IPRangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_ip_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_ip_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_ip_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_ip_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_ip_proto = out.File
- file_xds_type_matcher_v3_ip_proto_rawDesc = nil
- file_xds_type_matcher_v3_ip_proto_goTypes = nil
- file_xds_type_matcher_v3_ip_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.validate.go
deleted file mode 100644
index 44c4372744..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/ip.pb.validate.go
+++ /dev/null
@@ -1,214 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/ip.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on IPMatcher with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *IPMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- for idx, item := range m.GetRangeMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return IPMatcherValidationError{
- field: fmt.Sprintf("RangeMatchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// IPMatcherValidationError is the validation error returned by
-// IPMatcher.Validate if the designated constraints aren't met.
-type IPMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e IPMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e IPMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e IPMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e IPMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e IPMatcherValidationError) ErrorName() string { return "IPMatcherValidationError" }
-
-// Error satisfies the builtin error interface
-func (e IPMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sIPMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = IPMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = IPMatcherValidationError{}
-
-// Validate checks the field values on IPMatcher_IPRangeMatcher with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *IPMatcher_IPRangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetRanges()) < 1 {
- return IPMatcher_IPRangeMatcherValidationError{
- field: "Ranges",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetRanges() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return IPMatcher_IPRangeMatcherValidationError{
- field: fmt.Sprintf("Ranges[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return IPMatcher_IPRangeMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Exclusive
-
- return nil
-}
-
-// IPMatcher_IPRangeMatcherValidationError is the validation error returned by
-// IPMatcher_IPRangeMatcher.Validate if the designated constraints aren't met.
-type IPMatcher_IPRangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e IPMatcher_IPRangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e IPMatcher_IPRangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e IPMatcher_IPRangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e IPMatcher_IPRangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e IPMatcher_IPRangeMatcherValidationError) ErrorName() string {
- return "IPMatcher_IPRangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e IPMatcher_IPRangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sIPMatcher_IPRangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = IPMatcher_IPRangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = IPMatcher_IPRangeMatcherValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.go
deleted file mode 100644
index 6b912e5086..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.go
+++ /dev/null
@@ -1,1060 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/matcher.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- v3 "github.com/cncf/xds/go/xds/core/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type Matcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to MatcherType:
- // *Matcher_MatcherList_
- // *Matcher_MatcherTree_
- MatcherType isMatcher_MatcherType `protobuf_oneof:"matcher_type"`
- OnNoMatch *Matcher_OnMatch `protobuf:"bytes,3,opt,name=on_no_match,json=onNoMatch,proto3" json:"on_no_match,omitempty"`
-}
-
-func (x *Matcher) Reset() {
- *x = Matcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher) ProtoMessage() {}
-
-func (x *Matcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher.ProtoReflect.Descriptor instead.
-func (*Matcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *Matcher) GetMatcherType() isMatcher_MatcherType {
- if m != nil {
- return m.MatcherType
- }
- return nil
-}
-
-func (x *Matcher) GetMatcherList() *Matcher_MatcherList {
- if x, ok := x.GetMatcherType().(*Matcher_MatcherList_); ok {
- return x.MatcherList
- }
- return nil
-}
-
-func (x *Matcher) GetMatcherTree() *Matcher_MatcherTree {
- if x, ok := x.GetMatcherType().(*Matcher_MatcherTree_); ok {
- return x.MatcherTree
- }
- return nil
-}
-
-func (x *Matcher) GetOnNoMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnNoMatch
- }
- return nil
-}
-
-type isMatcher_MatcherType interface {
- isMatcher_MatcherType()
-}
-
-type Matcher_MatcherList_ struct {
- MatcherList *Matcher_MatcherList `protobuf:"bytes,1,opt,name=matcher_list,json=matcherList,proto3,oneof"`
-}
-
-type Matcher_MatcherTree_ struct {
- MatcherTree *Matcher_MatcherTree `protobuf:"bytes,2,opt,name=matcher_tree,json=matcherTree,proto3,oneof"`
-}
-
-func (*Matcher_MatcherList_) isMatcher_MatcherType() {}
-
-func (*Matcher_MatcherTree_) isMatcher_MatcherType() {}
-
-type Matcher_OnMatch struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to OnMatch:
- // *Matcher_OnMatch_Matcher
- // *Matcher_OnMatch_Action
- OnMatch isMatcher_OnMatch_OnMatch `protobuf_oneof:"on_match"`
-}
-
-func (x *Matcher_OnMatch) Reset() {
- *x = Matcher_OnMatch{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_OnMatch) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_OnMatch) ProtoMessage() {}
-
-func (x *Matcher_OnMatch) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_OnMatch.ProtoReflect.Descriptor instead.
-func (*Matcher_OnMatch) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (m *Matcher_OnMatch) GetOnMatch() isMatcher_OnMatch_OnMatch {
- if m != nil {
- return m.OnMatch
- }
- return nil
-}
-
-func (x *Matcher_OnMatch) GetMatcher() *Matcher {
- if x, ok := x.GetOnMatch().(*Matcher_OnMatch_Matcher); ok {
- return x.Matcher
- }
- return nil
-}
-
-func (x *Matcher_OnMatch) GetAction() *v3.TypedExtensionConfig {
- if x, ok := x.GetOnMatch().(*Matcher_OnMatch_Action); ok {
- return x.Action
- }
- return nil
-}
-
-type isMatcher_OnMatch_OnMatch interface {
- isMatcher_OnMatch_OnMatch()
-}
-
-type Matcher_OnMatch_Matcher struct {
- Matcher *Matcher `protobuf:"bytes,1,opt,name=matcher,proto3,oneof"`
-}
-
-type Matcher_OnMatch_Action struct {
- Action *v3.TypedExtensionConfig `protobuf:"bytes,2,opt,name=action,proto3,oneof"`
-}
-
-func (*Matcher_OnMatch_Matcher) isMatcher_OnMatch_OnMatch() {}
-
-func (*Matcher_OnMatch_Action) isMatcher_OnMatch_OnMatch() {}
-
-type Matcher_MatcherList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Matchers []*Matcher_MatcherList_FieldMatcher `protobuf:"bytes,1,rep,name=matchers,proto3" json:"matchers,omitempty"`
-}
-
-func (x *Matcher_MatcherList) Reset() {
- *x = Matcher_MatcherList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherList) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherList) ProtoMessage() {}
-
-func (x *Matcher_MatcherList) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherList.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherList) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 1}
-}
-
-func (x *Matcher_MatcherList) GetMatchers() []*Matcher_MatcherList_FieldMatcher {
- if x != nil {
- return x.Matchers
- }
- return nil
-}
-
-type Matcher_MatcherTree struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Input *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
- // Types that are assignable to TreeType:
- // *Matcher_MatcherTree_ExactMatchMap
- // *Matcher_MatcherTree_PrefixMatchMap
- // *Matcher_MatcherTree_CustomMatch
- TreeType isMatcher_MatcherTree_TreeType `protobuf_oneof:"tree_type"`
-}
-
-func (x *Matcher_MatcherTree) Reset() {
- *x = Matcher_MatcherTree{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherTree) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherTree) ProtoMessage() {}
-
-func (x *Matcher_MatcherTree) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherTree.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherTree) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 2}
-}
-
-func (x *Matcher_MatcherTree) GetInput() *v3.TypedExtensionConfig {
- if x != nil {
- return x.Input
- }
- return nil
-}
-
-func (m *Matcher_MatcherTree) GetTreeType() isMatcher_MatcherTree_TreeType {
- if m != nil {
- return m.TreeType
- }
- return nil
-}
-
-func (x *Matcher_MatcherTree) GetExactMatchMap() *Matcher_MatcherTree_MatchMap {
- if x, ok := x.GetTreeType().(*Matcher_MatcherTree_ExactMatchMap); ok {
- return x.ExactMatchMap
- }
- return nil
-}
-
-func (x *Matcher_MatcherTree) GetPrefixMatchMap() *Matcher_MatcherTree_MatchMap {
- if x, ok := x.GetTreeType().(*Matcher_MatcherTree_PrefixMatchMap); ok {
- return x.PrefixMatchMap
- }
- return nil
-}
-
-func (x *Matcher_MatcherTree) GetCustomMatch() *v3.TypedExtensionConfig {
- if x, ok := x.GetTreeType().(*Matcher_MatcherTree_CustomMatch); ok {
- return x.CustomMatch
- }
- return nil
-}
-
-type isMatcher_MatcherTree_TreeType interface {
- isMatcher_MatcherTree_TreeType()
-}
-
-type Matcher_MatcherTree_ExactMatchMap struct {
- ExactMatchMap *Matcher_MatcherTree_MatchMap `protobuf:"bytes,2,opt,name=exact_match_map,json=exactMatchMap,proto3,oneof"`
-}
-
-type Matcher_MatcherTree_PrefixMatchMap struct {
- PrefixMatchMap *Matcher_MatcherTree_MatchMap `protobuf:"bytes,3,opt,name=prefix_match_map,json=prefixMatchMap,proto3,oneof"`
-}
-
-type Matcher_MatcherTree_CustomMatch struct {
- CustomMatch *v3.TypedExtensionConfig `protobuf:"bytes,4,opt,name=custom_match,json=customMatch,proto3,oneof"`
-}
-
-func (*Matcher_MatcherTree_ExactMatchMap) isMatcher_MatcherTree_TreeType() {}
-
-func (*Matcher_MatcherTree_PrefixMatchMap) isMatcher_MatcherTree_TreeType() {}
-
-func (*Matcher_MatcherTree_CustomMatch) isMatcher_MatcherTree_TreeType() {}
-
-type Matcher_MatcherList_Predicate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to MatchType:
- // *Matcher_MatcherList_Predicate_SinglePredicate_
- // *Matcher_MatcherList_Predicate_OrMatcher
- // *Matcher_MatcherList_Predicate_AndMatcher
- // *Matcher_MatcherList_Predicate_NotMatcher
- MatchType isMatcher_MatcherList_Predicate_MatchType `protobuf_oneof:"match_type"`
-}
-
-func (x *Matcher_MatcherList_Predicate) Reset() {
- *x = Matcher_MatcherList_Predicate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherList_Predicate) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherList_Predicate) ProtoMessage() {}
-
-func (x *Matcher_MatcherList_Predicate) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherList_Predicate.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherList_Predicate) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 1, 0}
-}
-
-func (m *Matcher_MatcherList_Predicate) GetMatchType() isMatcher_MatcherList_Predicate_MatchType {
- if m != nil {
- return m.MatchType
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate) GetSinglePredicate() *Matcher_MatcherList_Predicate_SinglePredicate {
- if x, ok := x.GetMatchType().(*Matcher_MatcherList_Predicate_SinglePredicate_); ok {
- return x.SinglePredicate
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate) GetOrMatcher() *Matcher_MatcherList_Predicate_PredicateList {
- if x, ok := x.GetMatchType().(*Matcher_MatcherList_Predicate_OrMatcher); ok {
- return x.OrMatcher
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate) GetAndMatcher() *Matcher_MatcherList_Predicate_PredicateList {
- if x, ok := x.GetMatchType().(*Matcher_MatcherList_Predicate_AndMatcher); ok {
- return x.AndMatcher
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate) GetNotMatcher() *Matcher_MatcherList_Predicate {
- if x, ok := x.GetMatchType().(*Matcher_MatcherList_Predicate_NotMatcher); ok {
- return x.NotMatcher
- }
- return nil
-}
-
-type isMatcher_MatcherList_Predicate_MatchType interface {
- isMatcher_MatcherList_Predicate_MatchType()
-}
-
-type Matcher_MatcherList_Predicate_SinglePredicate_ struct {
- SinglePredicate *Matcher_MatcherList_Predicate_SinglePredicate `protobuf:"bytes,1,opt,name=single_predicate,json=singlePredicate,proto3,oneof"`
-}
-
-type Matcher_MatcherList_Predicate_OrMatcher struct {
- OrMatcher *Matcher_MatcherList_Predicate_PredicateList `protobuf:"bytes,2,opt,name=or_matcher,json=orMatcher,proto3,oneof"`
-}
-
-type Matcher_MatcherList_Predicate_AndMatcher struct {
- AndMatcher *Matcher_MatcherList_Predicate_PredicateList `protobuf:"bytes,3,opt,name=and_matcher,json=andMatcher,proto3,oneof"`
-}
-
-type Matcher_MatcherList_Predicate_NotMatcher struct {
- NotMatcher *Matcher_MatcherList_Predicate `protobuf:"bytes,4,opt,name=not_matcher,json=notMatcher,proto3,oneof"`
-}
-
-func (*Matcher_MatcherList_Predicate_SinglePredicate_) isMatcher_MatcherList_Predicate_MatchType() {}
-
-func (*Matcher_MatcherList_Predicate_OrMatcher) isMatcher_MatcherList_Predicate_MatchType() {}
-
-func (*Matcher_MatcherList_Predicate_AndMatcher) isMatcher_MatcherList_Predicate_MatchType() {}
-
-func (*Matcher_MatcherList_Predicate_NotMatcher) isMatcher_MatcherList_Predicate_MatchType() {}
-
-type Matcher_MatcherList_FieldMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Predicate *Matcher_MatcherList_Predicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
-}
-
-func (x *Matcher_MatcherList_FieldMatcher) Reset() {
- *x = Matcher_MatcherList_FieldMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherList_FieldMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherList_FieldMatcher) ProtoMessage() {}
-
-func (x *Matcher_MatcherList_FieldMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherList_FieldMatcher.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherList_FieldMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 1, 1}
-}
-
-func (x *Matcher_MatcherList_FieldMatcher) GetPredicate() *Matcher_MatcherList_Predicate {
- if x != nil {
- return x.Predicate
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_FieldMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-type Matcher_MatcherList_Predicate_SinglePredicate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Input *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
- // Types that are assignable to Matcher:
- // *Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch
- // *Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch
- Matcher isMatcher_MatcherList_Predicate_SinglePredicate_Matcher `protobuf_oneof:"matcher"`
-}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) Reset() {
- *x = Matcher_MatcherList_Predicate_SinglePredicate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherList_Predicate_SinglePredicate) ProtoMessage() {}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherList_Predicate_SinglePredicate.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherList_Predicate_SinglePredicate) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 1, 0, 0}
-}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetInput() *v3.TypedExtensionConfig {
- if x != nil {
- return x.Input
- }
- return nil
-}
-
-func (m *Matcher_MatcherList_Predicate_SinglePredicate) GetMatcher() isMatcher_MatcherList_Predicate_SinglePredicate_Matcher {
- if m != nil {
- return m.Matcher
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetValueMatch() *StringMatcher {
- if x, ok := x.GetMatcher().(*Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch); ok {
- return x.ValueMatch
- }
- return nil
-}
-
-func (x *Matcher_MatcherList_Predicate_SinglePredicate) GetCustomMatch() *v3.TypedExtensionConfig {
- if x, ok := x.GetMatcher().(*Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch); ok {
- return x.CustomMatch
- }
- return nil
-}
-
-type isMatcher_MatcherList_Predicate_SinglePredicate_Matcher interface {
- isMatcher_MatcherList_Predicate_SinglePredicate_Matcher()
-}
-
-type Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch struct {
- ValueMatch *StringMatcher `protobuf:"bytes,2,opt,name=value_match,json=valueMatch,proto3,oneof"`
-}
-
-type Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch struct {
- CustomMatch *v3.TypedExtensionConfig `protobuf:"bytes,3,opt,name=custom_match,json=customMatch,proto3,oneof"`
-}
-
-func (*Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch) isMatcher_MatcherList_Predicate_SinglePredicate_Matcher() {
-}
-
-func (*Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch) isMatcher_MatcherList_Predicate_SinglePredicate_Matcher() {
-}
-
-type Matcher_MatcherList_Predicate_PredicateList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Predicate []*Matcher_MatcherList_Predicate `protobuf:"bytes,1,rep,name=predicate,proto3" json:"predicate,omitempty"`
-}
-
-func (x *Matcher_MatcherList_Predicate_PredicateList) Reset() {
- *x = Matcher_MatcherList_Predicate_PredicateList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherList_Predicate_PredicateList) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherList_Predicate_PredicateList) ProtoMessage() {}
-
-func (x *Matcher_MatcherList_Predicate_PredicateList) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherList_Predicate_PredicateList.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherList_Predicate_PredicateList) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 1, 0, 1}
-}
-
-func (x *Matcher_MatcherList_Predicate_PredicateList) GetPredicate() []*Matcher_MatcherList_Predicate {
- if x != nil {
- return x.Predicate
- }
- return nil
-}
-
-type Matcher_MatcherTree_MatchMap struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Map map[string]*Matcher_OnMatch `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
-}
-
-func (x *Matcher_MatcherTree_MatchMap) Reset() {
- *x = Matcher_MatcherTree_MatchMap{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Matcher_MatcherTree_MatchMap) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Matcher_MatcherTree_MatchMap) ProtoMessage() {}
-
-func (x *Matcher_MatcherTree_MatchMap) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_matcher_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Matcher_MatcherTree_MatchMap.ProtoReflect.Descriptor instead.
-func (*Matcher_MatcherTree_MatchMap) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_matcher_proto_rawDescGZIP(), []int{0, 2, 0}
-}
-
-func (x *Matcher_MatcherTree_MatchMap) GetMap() map[string]*Matcher_OnMatch {
- if x != nil {
- return x.Map
- }
- return nil
-}
-
-var File_xds_type_matcher_v3_matcher_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_matcher_proto_rawDesc = []byte{
- 0x0a, 0x21, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x78, 0x64, 0x73, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65,
- 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x22, 0x80, 0x10, 0x0a, 0x07, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4d, 0x0a,
- 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52,
- 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x0c,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x54, 0x72, 0x65, 0x65, 0x48, 0x00, 0x52, 0x0b,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x6f,
- 0x6e, 0x5f, 0x6e, 0x6f, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f,
- 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x09, 0x6f, 0x6e, 0x4e, 0x6f, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x1a, 0x91, 0x01, 0x0a, 0x07, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x38, 0x0a,
- 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xb6, 0x08, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5b, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79,
- 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73,
- 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x08, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x73, 0x1a, 0x91, 0x06, 0x0a, 0x09, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65,
- 0x12, 0x6f, 0x0a, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69,
- 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x53,
- 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x48, 0x00,
- 0x52, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74,
- 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x2e,
- 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
- 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x72, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x0b, 0x61, 0x6e, 0x64, 0x5f, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x78, 0x64, 0x73, 0x2e,
- 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e,
- 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x4c,
- 0x69, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x72,
- 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x61,
- 0x6e, 0x64, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x0b, 0x6e, 0x6f, 0x74,
- 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x6e, 0x6f, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x1a, 0xf3, 0x01, 0x0a, 0x0f, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69,
- 0x63, 0x61, 0x74, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
- 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x45, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x78,
- 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e,
- 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x46,
- 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f,
- 0x6d, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x0e, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0x6b, 0x0a, 0x0d, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
- 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5a, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69,
- 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
- 0x61, 0x74, 0x65, 0x42, 0x11, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xb5, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69,
- 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
- 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0xa9,
- 0x04, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x41,
- 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
- 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65,
- 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75,
- 0x74, 0x12, 0x5b, 0x0a, 0x0f, 0x65, 0x78, 0x61, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x54, 0x72, 0x65, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52,
- 0x0d, 0x65, 0x78, 0x61, 0x63, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x61, 0x70, 0x12, 0x5d,
- 0x0a, 0x10, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6d,
- 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x54, 0x72,
- 0x65, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x70,
- 0x72, 0x65, 0x66, 0x69, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x61, 0x70, 0x12, 0x46, 0x0a,
- 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
- 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0xc0, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d,
- 0x61, 0x70, 0x12, 0x56, 0x0a, 0x03, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x3a, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x54, 0x72, 0x65, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d,
- 0x61, 0x70, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0x9a, 0x01, 0x02, 0x08, 0x01, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x1a, 0x5c, 0x0a, 0x08, 0x4d, 0x61,
- 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79,
- 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x10, 0x0a, 0x09, 0x74, 0x72, 0x65, 0x65,
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x3a, 0x08, 0xd2, 0xc6, 0xa4, 0xe1,
- 0x06, 0x02, 0x08, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x42, 0x5c, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x50,
- 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
- 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78,
- 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f,
- 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_matcher_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_matcher_proto_rawDescData = file_xds_type_matcher_v3_matcher_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_matcher_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_matcher_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_matcher_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_matcher_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_matcher_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_matcher_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
-var file_xds_type_matcher_v3_matcher_proto_goTypes = []interface{}{
- (*Matcher)(nil), // 0: xds.type.matcher.v3.Matcher
- (*Matcher_OnMatch)(nil), // 1: xds.type.matcher.v3.Matcher.OnMatch
- (*Matcher_MatcherList)(nil), // 2: xds.type.matcher.v3.Matcher.MatcherList
- (*Matcher_MatcherTree)(nil), // 3: xds.type.matcher.v3.Matcher.MatcherTree
- (*Matcher_MatcherList_Predicate)(nil), // 4: xds.type.matcher.v3.Matcher.MatcherList.Predicate
- (*Matcher_MatcherList_FieldMatcher)(nil), // 5: xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher
- (*Matcher_MatcherList_Predicate_SinglePredicate)(nil), // 6: xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate
- (*Matcher_MatcherList_Predicate_PredicateList)(nil), // 7: xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
- (*Matcher_MatcherTree_MatchMap)(nil), // 8: xds.type.matcher.v3.Matcher.MatcherTree.MatchMap
- nil, // 9: xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry
- (*v3.TypedExtensionConfig)(nil), // 10: xds.core.v3.TypedExtensionConfig
- (*StringMatcher)(nil), // 11: xds.type.matcher.v3.StringMatcher
-}
-var file_xds_type_matcher_v3_matcher_proto_depIdxs = []int32{
- 2, // 0: xds.type.matcher.v3.Matcher.matcher_list:type_name -> xds.type.matcher.v3.Matcher.MatcherList
- 3, // 1: xds.type.matcher.v3.Matcher.matcher_tree:type_name -> xds.type.matcher.v3.Matcher.MatcherTree
- 1, // 2: xds.type.matcher.v3.Matcher.on_no_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 0, // 3: xds.type.matcher.v3.Matcher.OnMatch.matcher:type_name -> xds.type.matcher.v3.Matcher
- 10, // 4: xds.type.matcher.v3.Matcher.OnMatch.action:type_name -> xds.core.v3.TypedExtensionConfig
- 5, // 5: xds.type.matcher.v3.Matcher.MatcherList.matchers:type_name -> xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher
- 10, // 6: xds.type.matcher.v3.Matcher.MatcherTree.input:type_name -> xds.core.v3.TypedExtensionConfig
- 8, // 7: xds.type.matcher.v3.Matcher.MatcherTree.exact_match_map:type_name -> xds.type.matcher.v3.Matcher.MatcherTree.MatchMap
- 8, // 8: xds.type.matcher.v3.Matcher.MatcherTree.prefix_match_map:type_name -> xds.type.matcher.v3.Matcher.MatcherTree.MatchMap
- 10, // 9: xds.type.matcher.v3.Matcher.MatcherTree.custom_match:type_name -> xds.core.v3.TypedExtensionConfig
- 6, // 10: xds.type.matcher.v3.Matcher.MatcherList.Predicate.single_predicate:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate
- 7, // 11: xds.type.matcher.v3.Matcher.MatcherList.Predicate.or_matcher:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
- 7, // 12: xds.type.matcher.v3.Matcher.MatcherList.Predicate.and_matcher:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList
- 4, // 13: xds.type.matcher.v3.Matcher.MatcherList.Predicate.not_matcher:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate
- 4, // 14: xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher.predicate:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate
- 1, // 15: xds.type.matcher.v3.Matcher.MatcherList.FieldMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 10, // 16: xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate.input:type_name -> xds.core.v3.TypedExtensionConfig
- 11, // 17: xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate.value_match:type_name -> xds.type.matcher.v3.StringMatcher
- 10, // 18: xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate.custom_match:type_name -> xds.core.v3.TypedExtensionConfig
- 4, // 19: xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList.predicate:type_name -> xds.type.matcher.v3.Matcher.MatcherList.Predicate
- 9, // 20: xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.map:type_name -> xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry
- 1, // 21: xds.type.matcher.v3.Matcher.MatcherTree.MatchMap.MapEntry.value:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 22, // [22:22] is the sub-list for method output_type
- 22, // [22:22] is the sub-list for method input_type
- 22, // [22:22] is the sub-list for extension type_name
- 22, // [22:22] is the sub-list for extension extendee
- 0, // [0:22] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_matcher_proto_init() }
-func file_xds_type_matcher_v3_matcher_proto_init() {
- if File_xds_type_matcher_v3_matcher_proto != nil {
- return
- }
- file_xds_type_matcher_v3_string_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_matcher_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_OnMatch); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherTree); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherList_Predicate); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherList_FieldMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherList_Predicate_SinglePredicate); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherList_Predicate_PredicateList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Matcher_MatcherTree_MatchMap); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*Matcher_MatcherList_)(nil),
- (*Matcher_MatcherTree_)(nil),
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*Matcher_OnMatch_Matcher)(nil),
- (*Matcher_OnMatch_Action)(nil),
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[3].OneofWrappers = []interface{}{
- (*Matcher_MatcherTree_ExactMatchMap)(nil),
- (*Matcher_MatcherTree_PrefixMatchMap)(nil),
- (*Matcher_MatcherTree_CustomMatch)(nil),
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[4].OneofWrappers = []interface{}{
- (*Matcher_MatcherList_Predicate_SinglePredicate_)(nil),
- (*Matcher_MatcherList_Predicate_OrMatcher)(nil),
- (*Matcher_MatcherList_Predicate_AndMatcher)(nil),
- (*Matcher_MatcherList_Predicate_NotMatcher)(nil),
- }
- file_xds_type_matcher_v3_matcher_proto_msgTypes[6].OneofWrappers = []interface{}{
- (*Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch)(nil),
- (*Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_matcher_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 10,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_matcher_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_matcher_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_matcher_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_matcher_proto = out.File
- file_xds_type_matcher_v3_matcher_proto_rawDesc = nil
- file_xds_type_matcher_v3_matcher_proto_goTypes = nil
- file_xds_type_matcher_v3_matcher_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.validate.go
deleted file mode 100644
index 3175b856b6..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/matcher.pb.validate.go
+++ /dev/null
@@ -1,986 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/matcher.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on Matcher with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Matcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if v, ok := interface{}(m.GetOnNoMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MatcherValidationError{
- field: "OnNoMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.MatcherType.(type) {
-
- case *Matcher_MatcherList_:
-
- if v, ok := interface{}(m.GetMatcherList()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MatcherValidationError{
- field: "MatcherList",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherTree_:
-
- if v, ok := interface{}(m.GetMatcherTree()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MatcherValidationError{
- field: "MatcherTree",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// MatcherValidationError is the validation error returned by Matcher.Validate
-// if the designated constraints aren't met.
-type MatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MatcherValidationError) ErrorName() string { return "MatcherValidationError" }
-
-// Error satisfies the builtin error interface
-func (e MatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MatcherValidationError{}
-
-// Validate checks the field values on Matcher_OnMatch with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *Matcher_OnMatch) Validate() error {
- if m == nil {
- return nil
- }
-
- switch m.OnMatch.(type) {
-
- case *Matcher_OnMatch_Matcher:
-
- if v, ok := interface{}(m.GetMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_OnMatchValidationError{
- field: "Matcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_OnMatch_Action:
-
- if v, ok := interface{}(m.GetAction()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_OnMatchValidationError{
- field: "Action",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return Matcher_OnMatchValidationError{
- field: "OnMatch",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// Matcher_OnMatchValidationError is the validation error returned by
-// Matcher_OnMatch.Validate if the designated constraints aren't met.
-type Matcher_OnMatchValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_OnMatchValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_OnMatchValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_OnMatchValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_OnMatchValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_OnMatchValidationError) ErrorName() string { return "Matcher_OnMatchValidationError" }
-
-// Error satisfies the builtin error interface
-func (e Matcher_OnMatchValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_OnMatch.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_OnMatchValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_OnMatchValidationError{}
-
-// Validate checks the field values on Matcher_MatcherList with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Matcher_MatcherList) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetMatchers()) < 1 {
- return Matcher_MatcherListValidationError{
- field: "Matchers",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherListValidationError{
- field: fmt.Sprintf("Matchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherListValidationError is the validation error returned by
-// Matcher_MatcherList.Validate if the designated constraints aren't met.
-type Matcher_MatcherListValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherListValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherListValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherListValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherListValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherListValidationError) ErrorName() string {
- return "Matcher_MatcherListValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherListValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherList.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherListValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherListValidationError{}
-
-// Validate checks the field values on Matcher_MatcherTree with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Matcher_MatcherTree) Validate() error {
- if m == nil {
- return nil
- }
-
- if m.GetInput() == nil {
- return Matcher_MatcherTreeValidationError{
- field: "Input",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetInput()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherTreeValidationError{
- field: "Input",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.TreeType.(type) {
-
- case *Matcher_MatcherTree_ExactMatchMap:
-
- if v, ok := interface{}(m.GetExactMatchMap()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherTreeValidationError{
- field: "ExactMatchMap",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherTree_PrefixMatchMap:
-
- if v, ok := interface{}(m.GetPrefixMatchMap()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherTreeValidationError{
- field: "PrefixMatchMap",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherTree_CustomMatch:
-
- if v, ok := interface{}(m.GetCustomMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherTreeValidationError{
- field: "CustomMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return Matcher_MatcherTreeValidationError{
- field: "TreeType",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherTreeValidationError is the validation error returned by
-// Matcher_MatcherTree.Validate if the designated constraints aren't met.
-type Matcher_MatcherTreeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherTreeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherTreeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherTreeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherTreeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherTreeValidationError) ErrorName() string {
- return "Matcher_MatcherTreeValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherTreeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherTree.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherTreeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherTreeValidationError{}
-
-// Validate checks the field values on Matcher_MatcherList_Predicate with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Matcher_MatcherList_Predicate) Validate() error {
- if m == nil {
- return nil
- }
-
- switch m.MatchType.(type) {
-
- case *Matcher_MatcherList_Predicate_SinglePredicate_:
-
- if v, ok := interface{}(m.GetSinglePredicate()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_PredicateValidationError{
- field: "SinglePredicate",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherList_Predicate_OrMatcher:
-
- if v, ok := interface{}(m.GetOrMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_PredicateValidationError{
- field: "OrMatcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherList_Predicate_AndMatcher:
-
- if v, ok := interface{}(m.GetAndMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_PredicateValidationError{
- field: "AndMatcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherList_Predicate_NotMatcher:
-
- if v, ok := interface{}(m.GetNotMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_PredicateValidationError{
- field: "NotMatcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return Matcher_MatcherList_PredicateValidationError{
- field: "MatchType",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherList_PredicateValidationError is the validation error
-// returned by Matcher_MatcherList_Predicate.Validate if the designated
-// constraints aren't met.
-type Matcher_MatcherList_PredicateValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherList_PredicateValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherList_PredicateValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherList_PredicateValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherList_PredicateValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherList_PredicateValidationError) ErrorName() string {
- return "Matcher_MatcherList_PredicateValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherList_PredicateValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherList_Predicate.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherList_PredicateValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherList_PredicateValidationError{}
-
-// Validate checks the field values on Matcher_MatcherList_FieldMatcher with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, an error is returned.
-func (m *Matcher_MatcherList_FieldMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if m.GetPredicate() == nil {
- return Matcher_MatcherList_FieldMatcherValidationError{
- field: "Predicate",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetPredicate()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_FieldMatcherValidationError{
- field: "Predicate",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if m.GetOnMatch() == nil {
- return Matcher_MatcherList_FieldMatcherValidationError{
- field: "OnMatch",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_FieldMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// Matcher_MatcherList_FieldMatcherValidationError is the validation error
-// returned by Matcher_MatcherList_FieldMatcher.Validate if the designated
-// constraints aren't met.
-type Matcher_MatcherList_FieldMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherList_FieldMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherList_FieldMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherList_FieldMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherList_FieldMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherList_FieldMatcherValidationError) ErrorName() string {
- return "Matcher_MatcherList_FieldMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherList_FieldMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherList_FieldMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherList_FieldMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherList_FieldMatcherValidationError{}
-
-// Validate checks the field values on
-// Matcher_MatcherList_Predicate_SinglePredicate with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Matcher_MatcherList_Predicate_SinglePredicate) Validate() error {
- if m == nil {
- return nil
- }
-
- if m.GetInput() == nil {
- return Matcher_MatcherList_Predicate_SinglePredicateValidationError{
- field: "Input",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetInput()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_Predicate_SinglePredicateValidationError{
- field: "Input",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.Matcher.(type) {
-
- case *Matcher_MatcherList_Predicate_SinglePredicate_ValueMatch:
-
- if v, ok := interface{}(m.GetValueMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_Predicate_SinglePredicateValidationError{
- field: "ValueMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Matcher_MatcherList_Predicate_SinglePredicate_CustomMatch:
-
- if v, ok := interface{}(m.GetCustomMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_Predicate_SinglePredicateValidationError{
- field: "CustomMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return Matcher_MatcherList_Predicate_SinglePredicateValidationError{
- field: "Matcher",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherList_Predicate_SinglePredicateValidationError is the
-// validation error returned by
-// Matcher_MatcherList_Predicate_SinglePredicate.Validate if the designated
-// constraints aren't met.
-type Matcher_MatcherList_Predicate_SinglePredicateValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) ErrorName() string {
- return "Matcher_MatcherList_Predicate_SinglePredicateValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherList_Predicate_SinglePredicateValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherList_Predicate_SinglePredicate.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherList_Predicate_SinglePredicateValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherList_Predicate_SinglePredicateValidationError{}
-
-// Validate checks the field values on
-// Matcher_MatcherList_Predicate_PredicateList with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Matcher_MatcherList_Predicate_PredicateList) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetPredicate()) < 2 {
- return Matcher_MatcherList_Predicate_PredicateListValidationError{
- field: "Predicate",
- reason: "value must contain at least 2 item(s)",
- }
- }
-
- for idx, item := range m.GetPredicate() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherList_Predicate_PredicateListValidationError{
- field: fmt.Sprintf("Predicate[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherList_Predicate_PredicateListValidationError is the validation
-// error returned by Matcher_MatcherList_Predicate_PredicateList.Validate if
-// the designated constraints aren't met.
-type Matcher_MatcherList_Predicate_PredicateListValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) ErrorName() string {
- return "Matcher_MatcherList_Predicate_PredicateListValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherList_Predicate_PredicateListValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherList_Predicate_PredicateList.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherList_Predicate_PredicateListValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherList_Predicate_PredicateListValidationError{}
-
-// Validate checks the field values on Matcher_MatcherTree_MatchMap with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Matcher_MatcherTree_MatchMap) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetMap()) < 1 {
- return Matcher_MatcherTree_MatchMapValidationError{
- field: "Map",
- reason: "value must contain at least 1 pair(s)",
- }
- }
-
- for key, val := range m.GetMap() {
- _ = val
-
- // no validation rules for Map[key]
-
- if v, ok := interface{}(val).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Matcher_MatcherTree_MatchMapValidationError{
- field: fmt.Sprintf("Map[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// Matcher_MatcherTree_MatchMapValidationError is the validation error returned
-// by Matcher_MatcherTree_MatchMap.Validate if the designated constraints
-// aren't met.
-type Matcher_MatcherTree_MatchMapValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Matcher_MatcherTree_MatchMapValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Matcher_MatcherTree_MatchMapValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Matcher_MatcherTree_MatchMapValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Matcher_MatcherTree_MatchMapValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Matcher_MatcherTree_MatchMapValidationError) ErrorName() string {
- return "Matcher_MatcherTree_MatchMapValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Matcher_MatcherTree_MatchMapValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMatcher_MatcherTree_MatchMap.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Matcher_MatcherTree_MatchMapValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Matcher_MatcherTree_MatchMapValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.go
deleted file mode 100644
index f7e053348c..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.go
+++ /dev/null
@@ -1,544 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/range.proto
-
-package v3
-
-import (
- v3 "github.com/cncf/xds/go/xds/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type Int64RangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RangeMatchers []*Int64RangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
-}
-
-func (x *Int64RangeMatcher) Reset() {
- *x = Int64RangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int64RangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int64RangeMatcher) ProtoMessage() {}
-
-func (x *Int64RangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int64RangeMatcher.ProtoReflect.Descriptor instead.
-func (*Int64RangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Int64RangeMatcher) GetRangeMatchers() []*Int64RangeMatcher_RangeMatcher {
- if x != nil {
- return x.RangeMatchers
- }
- return nil
-}
-
-type Int32RangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RangeMatchers []*Int32RangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
-}
-
-func (x *Int32RangeMatcher) Reset() {
- *x = Int32RangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int32RangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int32RangeMatcher) ProtoMessage() {}
-
-func (x *Int32RangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int32RangeMatcher.ProtoReflect.Descriptor instead.
-func (*Int32RangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Int32RangeMatcher) GetRangeMatchers() []*Int32RangeMatcher_RangeMatcher {
- if x != nil {
- return x.RangeMatchers
- }
- return nil
-}
-
-type DoubleRangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RangeMatchers []*DoubleRangeMatcher_RangeMatcher `protobuf:"bytes,1,rep,name=range_matchers,json=rangeMatchers,proto3" json:"range_matchers,omitempty"`
-}
-
-func (x *DoubleRangeMatcher) Reset() {
- *x = DoubleRangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DoubleRangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DoubleRangeMatcher) ProtoMessage() {}
-
-func (x *DoubleRangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DoubleRangeMatcher.ProtoReflect.Descriptor instead.
-func (*DoubleRangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *DoubleRangeMatcher) GetRangeMatchers() []*DoubleRangeMatcher_RangeMatcher {
- if x != nil {
- return x.RangeMatchers
- }
- return nil
-}
-
-type Int64RangeMatcher_RangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ranges []*v3.Int64Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
-}
-
-func (x *Int64RangeMatcher_RangeMatcher) Reset() {
- *x = Int64RangeMatcher_RangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int64RangeMatcher_RangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int64RangeMatcher_RangeMatcher) ProtoMessage() {}
-
-func (x *Int64RangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int64RangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
-func (*Int64RangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *Int64RangeMatcher_RangeMatcher) GetRanges() []*v3.Int64Range {
- if x != nil {
- return x.Ranges
- }
- return nil
-}
-
-func (x *Int64RangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-type Int32RangeMatcher_RangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ranges []*v3.Int32Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
-}
-
-func (x *Int32RangeMatcher_RangeMatcher) Reset() {
- *x = Int32RangeMatcher_RangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int32RangeMatcher_RangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int32RangeMatcher_RangeMatcher) ProtoMessage() {}
-
-func (x *Int32RangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int32RangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
-func (*Int32RangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{1, 0}
-}
-
-func (x *Int32RangeMatcher_RangeMatcher) GetRanges() []*v3.Int32Range {
- if x != nil {
- return x.Ranges
- }
- return nil
-}
-
-func (x *Int32RangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-type DoubleRangeMatcher_RangeMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ranges []*v3.DoubleRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
- OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
-}
-
-func (x *DoubleRangeMatcher_RangeMatcher) Reset() {
- *x = DoubleRangeMatcher_RangeMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DoubleRangeMatcher_RangeMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DoubleRangeMatcher_RangeMatcher) ProtoMessage() {}
-
-func (x *DoubleRangeMatcher_RangeMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_range_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DoubleRangeMatcher_RangeMatcher.ProtoReflect.Descriptor instead.
-func (*DoubleRangeMatcher_RangeMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_range_proto_rawDescGZIP(), []int{2, 0}
-}
-
-func (x *DoubleRangeMatcher_RangeMatcher) GetRanges() []*v3.DoubleRange {
- if x != nil {
- return x.Ranges
- }
- return nil
-}
-
-func (x *DoubleRangeMatcher_RangeMatcher) GetOnMatch() *Matcher_OnMatch {
- if x != nil {
- return x.OnMatch
- }
- return nil
-}
-
-var File_xds_type_matcher_v3_range_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_range_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65,
- 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x21, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x01, 0x0a, 0x11,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x12, 0x5a, 0x0a, 0x0e, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x78, 0x64, 0x73, 0x2e,
- 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d,
- 0x72, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x1a, 0x8a, 0x01,
- 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x39,
- 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08,
- 0x01, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e, 0x5f,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x64,
- 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76,
- 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0xfc, 0x01, 0x0a, 0x11, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x12, 0x5a, 0x0a, 0x0e, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d, 0x72,
- 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x1a, 0x8a, 0x01, 0x0a,
- 0x0c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x39, 0x0a,
- 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
- 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01,
- 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x64, 0x73,
- 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33,
- 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68,
- 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0xff, 0x01, 0x0a, 0x12, 0x44, 0x6f,
- 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x12, 0x5b, 0x0a, 0x0e, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x44,
- 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d,
- 0x72, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x1a, 0x8b, 0x01,
- 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x3a,
- 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
- 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6f, 0x75,
- 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02,
- 0x08, 0x01, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e,
- 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78,
- 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e,
- 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4f, 0x6e, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x52, 0x07, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x5a, 0x0a, 0x1e, 0x63,
- 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79,
- 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x52,
- 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73,
- 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_range_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_range_proto_rawDescData = file_xds_type_matcher_v3_range_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_range_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_range_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_range_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_range_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_range_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
-var file_xds_type_matcher_v3_range_proto_goTypes = []interface{}{
- (*Int64RangeMatcher)(nil), // 0: xds.type.matcher.v3.Int64RangeMatcher
- (*Int32RangeMatcher)(nil), // 1: xds.type.matcher.v3.Int32RangeMatcher
- (*DoubleRangeMatcher)(nil), // 2: xds.type.matcher.v3.DoubleRangeMatcher
- (*Int64RangeMatcher_RangeMatcher)(nil), // 3: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher
- (*Int32RangeMatcher_RangeMatcher)(nil), // 4: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher
- (*DoubleRangeMatcher_RangeMatcher)(nil), // 5: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher
- (*v3.Int64Range)(nil), // 6: xds.type.v3.Int64Range
- (*Matcher_OnMatch)(nil), // 7: xds.type.matcher.v3.Matcher.OnMatch
- (*v3.Int32Range)(nil), // 8: xds.type.v3.Int32Range
- (*v3.DoubleRange)(nil), // 9: xds.type.v3.DoubleRange
-}
-var file_xds_type_matcher_v3_range_proto_depIdxs = []int32{
- 3, // 0: xds.type.matcher.v3.Int64RangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher
- 4, // 1: xds.type.matcher.v3.Int32RangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher
- 5, // 2: xds.type.matcher.v3.DoubleRangeMatcher.range_matchers:type_name -> xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher
- 6, // 3: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.Int64Range
- 7, // 4: xds.type.matcher.v3.Int64RangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 8, // 5: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.Int32Range
- 7, // 6: xds.type.matcher.v3.Int32RangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 9, // 7: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher.ranges:type_name -> xds.type.v3.DoubleRange
- 7, // 8: xds.type.matcher.v3.DoubleRangeMatcher.RangeMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
- 9, // [9:9] is the sub-list for method output_type
- 9, // [9:9] is the sub-list for method input_type
- 9, // [9:9] is the sub-list for extension type_name
- 9, // [9:9] is the sub-list for extension extendee
- 0, // [0:9] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_range_proto_init() }
-func file_xds_type_matcher_v3_range_proto_init() {
- if File_xds_type_matcher_v3_range_proto != nil {
- return
- }
- file_xds_type_matcher_v3_matcher_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_range_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int64RangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_range_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int32RangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_range_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DoubleRangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_range_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int64RangeMatcher_RangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_range_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int32RangeMatcher_RangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_range_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DoubleRangeMatcher_RangeMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_range_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_range_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_range_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_range_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_range_proto = out.File
- file_xds_type_matcher_v3_range_proto_rawDesc = nil
- file_xds_type_matcher_v3_range_proto_goTypes = nil
- file_xds_type_matcher_v3_range_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.validate.go
deleted file mode 100644
index 00b7a03e8b..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/range.pb.validate.go
+++ /dev/null
@@ -1,580 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/range.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on Int64RangeMatcher with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *Int64RangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- for idx, item := range m.GetRangeMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int64RangeMatcherValidationError{
- field: fmt.Sprintf("RangeMatchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// Int64RangeMatcherValidationError is the validation error returned by
-// Int64RangeMatcher.Validate if the designated constraints aren't met.
-type Int64RangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int64RangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int64RangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int64RangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int64RangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int64RangeMatcherValidationError) ErrorName() string {
- return "Int64RangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Int64RangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt64RangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int64RangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int64RangeMatcherValidationError{}
-
-// Validate checks the field values on Int32RangeMatcher with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *Int32RangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- for idx, item := range m.GetRangeMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int32RangeMatcherValidationError{
- field: fmt.Sprintf("RangeMatchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// Int32RangeMatcherValidationError is the validation error returned by
-// Int32RangeMatcher.Validate if the designated constraints aren't met.
-type Int32RangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int32RangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int32RangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int32RangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int32RangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int32RangeMatcherValidationError) ErrorName() string {
- return "Int32RangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Int32RangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt32RangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int32RangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int32RangeMatcherValidationError{}
-
-// Validate checks the field values on DoubleRangeMatcher with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *DoubleRangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- for idx, item := range m.GetRangeMatchers() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return DoubleRangeMatcherValidationError{
- field: fmt.Sprintf("RangeMatchers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// DoubleRangeMatcherValidationError is the validation error returned by
-// DoubleRangeMatcher.Validate if the designated constraints aren't met.
-type DoubleRangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e DoubleRangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e DoubleRangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e DoubleRangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e DoubleRangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e DoubleRangeMatcherValidationError) ErrorName() string {
- return "DoubleRangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e DoubleRangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sDoubleRangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = DoubleRangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = DoubleRangeMatcherValidationError{}
-
-// Validate checks the field values on Int64RangeMatcher_RangeMatcher with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Int64RangeMatcher_RangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetRanges()) < 1 {
- return Int64RangeMatcher_RangeMatcherValidationError{
- field: "Ranges",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetRanges() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int64RangeMatcher_RangeMatcherValidationError{
- field: fmt.Sprintf("Ranges[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int64RangeMatcher_RangeMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// Int64RangeMatcher_RangeMatcherValidationError is the validation error
-// returned by Int64RangeMatcher_RangeMatcher.Validate if the designated
-// constraints aren't met.
-type Int64RangeMatcher_RangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int64RangeMatcher_RangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int64RangeMatcher_RangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int64RangeMatcher_RangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int64RangeMatcher_RangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int64RangeMatcher_RangeMatcherValidationError) ErrorName() string {
- return "Int64RangeMatcher_RangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Int64RangeMatcher_RangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt64RangeMatcher_RangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int64RangeMatcher_RangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int64RangeMatcher_RangeMatcherValidationError{}
-
-// Validate checks the field values on Int32RangeMatcher_RangeMatcher with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *Int32RangeMatcher_RangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetRanges()) < 1 {
- return Int32RangeMatcher_RangeMatcherValidationError{
- field: "Ranges",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetRanges() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int32RangeMatcher_RangeMatcherValidationError{
- field: fmt.Sprintf("Ranges[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Int32RangeMatcher_RangeMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// Int32RangeMatcher_RangeMatcherValidationError is the validation error
-// returned by Int32RangeMatcher_RangeMatcher.Validate if the designated
-// constraints aren't met.
-type Int32RangeMatcher_RangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int32RangeMatcher_RangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int32RangeMatcher_RangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int32RangeMatcher_RangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int32RangeMatcher_RangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int32RangeMatcher_RangeMatcherValidationError) ErrorName() string {
- return "Int32RangeMatcher_RangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Int32RangeMatcher_RangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt32RangeMatcher_RangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int32RangeMatcher_RangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int32RangeMatcher_RangeMatcherValidationError{}
-
-// Validate checks the field values on DoubleRangeMatcher_RangeMatcher with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *DoubleRangeMatcher_RangeMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetRanges()) < 1 {
- return DoubleRangeMatcher_RangeMatcherValidationError{
- field: "Ranges",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetRanges() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return DoubleRangeMatcher_RangeMatcherValidationError{
- field: fmt.Sprintf("Ranges[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if v, ok := interface{}(m.GetOnMatch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return DoubleRangeMatcher_RangeMatcherValidationError{
- field: "OnMatch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// DoubleRangeMatcher_RangeMatcherValidationError is the validation error
-// returned by DoubleRangeMatcher_RangeMatcher.Validate if the designated
-// constraints aren't met.
-type DoubleRangeMatcher_RangeMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e DoubleRangeMatcher_RangeMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e DoubleRangeMatcher_RangeMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e DoubleRangeMatcher_RangeMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e DoubleRangeMatcher_RangeMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e DoubleRangeMatcher_RangeMatcherValidationError) ErrorName() string {
- return "DoubleRangeMatcher_RangeMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e DoubleRangeMatcher_RangeMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sDoubleRangeMatcher_RangeMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = DoubleRangeMatcher_RangeMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = DoubleRangeMatcher_RangeMatcherValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.go
deleted file mode 100644
index e64d9f5e42..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.go
+++ /dev/null
@@ -1,246 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/regex.proto
-
-package v3
-
-import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type RegexMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to EngineType:
- // *RegexMatcher_GoogleRe2
- EngineType isRegexMatcher_EngineType `protobuf_oneof:"engine_type"`
- Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
-}
-
-func (x *RegexMatcher) Reset() {
- *x = RegexMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_regex_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RegexMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RegexMatcher) ProtoMessage() {}
-
-func (x *RegexMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_regex_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RegexMatcher.ProtoReflect.Descriptor instead.
-func (*RegexMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_regex_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType {
- if m != nil {
- return m.EngineType
- }
- return nil
-}
-
-func (x *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2 {
- if x, ok := x.GetEngineType().(*RegexMatcher_GoogleRe2); ok {
- return x.GoogleRe2
- }
- return nil
-}
-
-func (x *RegexMatcher) GetRegex() string {
- if x != nil {
- return x.Regex
- }
- return ""
-}
-
-type isRegexMatcher_EngineType interface {
- isRegexMatcher_EngineType()
-}
-
-type RegexMatcher_GoogleRe2 struct {
- GoogleRe2 *RegexMatcher_GoogleRE2 `protobuf:"bytes,1,opt,name=google_re2,json=googleRe2,proto3,oneof"`
-}
-
-func (*RegexMatcher_GoogleRe2) isRegexMatcher_EngineType() {}
-
-type RegexMatcher_GoogleRE2 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *RegexMatcher_GoogleRE2) Reset() {
- *x = RegexMatcher_GoogleRE2{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_regex_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RegexMatcher_GoogleRE2) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RegexMatcher_GoogleRE2) ProtoMessage() {}
-
-func (x *RegexMatcher_GoogleRE2) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_regex_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RegexMatcher_GoogleRE2.ProtoReflect.Descriptor instead.
-func (*RegexMatcher_GoogleRE2) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_regex_proto_rawDescGZIP(), []int{0, 0}
-}
-
-var File_xds_type_matcher_v3_regex_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_regex_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0xa6, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x65, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x12, 0x56, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x32, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x65, 0x78,
- 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x52, 0x45,
- 0x32, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x09, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x32, 0x12, 0x1d, 0x0a, 0x05, 0x72, 0x65, 0x67, 0x65,
- 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01,
- 0x52, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x1a, 0x0b, 0x0a, 0x09, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x52, 0x45, 0x32, 0x42, 0x12, 0x0a, 0x0b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x5a, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x52, 0x65, 0x67, 0x65,
- 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f,
- 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_regex_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_regex_proto_rawDescData = file_xds_type_matcher_v3_regex_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_regex_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_regex_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_regex_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_regex_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_regex_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_regex_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_type_matcher_v3_regex_proto_goTypes = []interface{}{
- (*RegexMatcher)(nil), // 0: xds.type.matcher.v3.RegexMatcher
- (*RegexMatcher_GoogleRE2)(nil), // 1: xds.type.matcher.v3.RegexMatcher.GoogleRE2
-}
-var file_xds_type_matcher_v3_regex_proto_depIdxs = []int32{
- 1, // 0: xds.type.matcher.v3.RegexMatcher.google_re2:type_name -> xds.type.matcher.v3.RegexMatcher.GoogleRE2
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_regex_proto_init() }
-func file_xds_type_matcher_v3_regex_proto_init() {
- if File_xds_type_matcher_v3_regex_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_regex_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RegexMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_regex_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RegexMatcher_GoogleRE2); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_type_matcher_v3_regex_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*RegexMatcher_GoogleRe2)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_regex_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_regex_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_regex_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_regex_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_regex_proto = out.File
- file_xds_type_matcher_v3_regex_proto_rawDesc = nil
- file_xds_type_matcher_v3_regex_proto_goTypes = nil
- file_xds_type_matcher_v3_regex_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.validate.go
deleted file mode 100644
index 83d789ee78..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/regex.pb.validate.go
+++ /dev/null
@@ -1,202 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/regex.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on RegexMatcher with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *RegexMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if utf8.RuneCountInString(m.GetRegex()) < 1 {
- return RegexMatcherValidationError{
- field: "Regex",
- reason: "value length must be at least 1 runes",
- }
- }
-
- switch m.EngineType.(type) {
-
- case *RegexMatcher_GoogleRe2:
-
- if m.GetGoogleRe2() == nil {
- return RegexMatcherValidationError{
- field: "GoogleRe2",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetGoogleRe2()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RegexMatcherValidationError{
- field: "GoogleRe2",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return RegexMatcherValidationError{
- field: "EngineType",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// RegexMatcherValidationError is the validation error returned by
-// RegexMatcher.Validate if the designated constraints aren't met.
-type RegexMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RegexMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RegexMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RegexMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RegexMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RegexMatcherValidationError) ErrorName() string { return "RegexMatcherValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RegexMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRegexMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RegexMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RegexMatcherValidationError{}
-
-// Validate checks the field values on RegexMatcher_GoogleRE2 with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, an error is returned.
-func (m *RegexMatcher_GoogleRE2) Validate() error {
- if m == nil {
- return nil
- }
-
- return nil
-}
-
-// RegexMatcher_GoogleRE2ValidationError is the validation error returned by
-// RegexMatcher_GoogleRE2.Validate if the designated constraints aren't met.
-type RegexMatcher_GoogleRE2ValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RegexMatcher_GoogleRE2ValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RegexMatcher_GoogleRE2ValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RegexMatcher_GoogleRE2ValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RegexMatcher_GoogleRE2ValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RegexMatcher_GoogleRE2ValidationError) ErrorName() string {
- return "RegexMatcher_GoogleRE2ValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RegexMatcher_GoogleRE2ValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRegexMatcher_GoogleRE2.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RegexMatcher_GoogleRE2ValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RegexMatcher_GoogleRE2ValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.go
deleted file mode 100644
index 0df9e53266..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.go
+++ /dev/null
@@ -1,334 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/matcher/v3/string.proto
-
-package v3
-
-import (
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type StringMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to MatchPattern:
- // *StringMatcher_Exact
- // *StringMatcher_Prefix
- // *StringMatcher_Suffix
- // *StringMatcher_SafeRegex
- // *StringMatcher_Contains
- MatchPattern isStringMatcher_MatchPattern `protobuf_oneof:"match_pattern"`
- IgnoreCase bool `protobuf:"varint,6,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"`
-}
-
-func (x *StringMatcher) Reset() {
- *x = StringMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_string_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *StringMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*StringMatcher) ProtoMessage() {}
-
-func (x *StringMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_string_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use StringMatcher.ProtoReflect.Descriptor instead.
-func (*StringMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_string_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern {
- if m != nil {
- return m.MatchPattern
- }
- return nil
-}
-
-func (x *StringMatcher) GetExact() string {
- if x, ok := x.GetMatchPattern().(*StringMatcher_Exact); ok {
- return x.Exact
- }
- return ""
-}
-
-func (x *StringMatcher) GetPrefix() string {
- if x, ok := x.GetMatchPattern().(*StringMatcher_Prefix); ok {
- return x.Prefix
- }
- return ""
-}
-
-func (x *StringMatcher) GetSuffix() string {
- if x, ok := x.GetMatchPattern().(*StringMatcher_Suffix); ok {
- return x.Suffix
- }
- return ""
-}
-
-func (x *StringMatcher) GetSafeRegex() *RegexMatcher {
- if x, ok := x.GetMatchPattern().(*StringMatcher_SafeRegex); ok {
- return x.SafeRegex
- }
- return nil
-}
-
-func (x *StringMatcher) GetContains() string {
- if x, ok := x.GetMatchPattern().(*StringMatcher_Contains); ok {
- return x.Contains
- }
- return ""
-}
-
-func (x *StringMatcher) GetIgnoreCase() bool {
- if x != nil {
- return x.IgnoreCase
- }
- return false
-}
-
-type isStringMatcher_MatchPattern interface {
- isStringMatcher_MatchPattern()
-}
-
-type StringMatcher_Exact struct {
- Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
-}
-
-type StringMatcher_Prefix struct {
- Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
-}
-
-type StringMatcher_Suffix struct {
- Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3,oneof"`
-}
-
-type StringMatcher_SafeRegex struct {
- SafeRegex *RegexMatcher `protobuf:"bytes,5,opt,name=safe_regex,json=safeRegex,proto3,oneof"`
-}
-
-type StringMatcher_Contains struct {
- Contains string `protobuf:"bytes,7,opt,name=contains,proto3,oneof"`
-}
-
-func (*StringMatcher_Exact) isStringMatcher_MatchPattern() {}
-
-func (*StringMatcher_Prefix) isStringMatcher_MatchPattern() {}
-
-func (*StringMatcher_Suffix) isStringMatcher_MatchPattern() {}
-
-func (*StringMatcher_SafeRegex) isStringMatcher_MatchPattern() {}
-
-func (*StringMatcher_Contains) isStringMatcher_MatchPattern() {}
-
-type ListStringMatcher struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Patterns []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"`
-}
-
-func (x *ListStringMatcher) Reset() {
- *x = ListStringMatcher{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_matcher_v3_string_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListStringMatcher) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListStringMatcher) ProtoMessage() {}
-
-func (x *ListStringMatcher) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_matcher_v3_string_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListStringMatcher.ProtoReflect.Descriptor instead.
-func (*ListStringMatcher) Descriptor() ([]byte, []int) {
- return file_xds_type_matcher_v3_string_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *ListStringMatcher) GetPatterns() []*StringMatcher {
- if x != nil {
- return x.Patterns
- }
- return nil
-}
-
-var File_xds_type_matcher_v3_string_proto protoreflect.FileDescriptor
-
-var file_xds_type_matcher_v3_string_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x13, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74,
- 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70,
- 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x67,
- 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x22, 0x99, 0x02, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63,
- 0x68, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x78, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x06, 0x70,
- 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
- 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x21,
- 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
- 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69,
- 0x78, 0x12, 0x4c, 0x0a, 0x0a, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x65,
- 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
- 0x10, 0x01, 0x48, 0x00, 0x52, 0x09, 0x73, 0x61, 0x66, 0x65, 0x52, 0x65, 0x67, 0x65, 0x78, 0x12,
- 0x25, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65,
- 0x5f, 0x63, 0x61, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x67, 0x6e,
- 0x6f, 0x72, 0x65, 0x43, 0x61, 0x73, 0x65, 0x42, 0x14, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x5d, 0x0a,
- 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x12, 0x48, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x01,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02,
- 0x08, 0x01, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x42, 0x5b, 0x0a, 0x1e,
- 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0b,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67,
- 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e, 0x63, 0x66, 0x2f, 0x78,
- 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
-}
-
-var (
- file_xds_type_matcher_v3_string_proto_rawDescOnce sync.Once
- file_xds_type_matcher_v3_string_proto_rawDescData = file_xds_type_matcher_v3_string_proto_rawDesc
-)
-
-func file_xds_type_matcher_v3_string_proto_rawDescGZIP() []byte {
- file_xds_type_matcher_v3_string_proto_rawDescOnce.Do(func() {
- file_xds_type_matcher_v3_string_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_matcher_v3_string_proto_rawDescData)
- })
- return file_xds_type_matcher_v3_string_proto_rawDescData
-}
-
-var file_xds_type_matcher_v3_string_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_type_matcher_v3_string_proto_goTypes = []interface{}{
- (*StringMatcher)(nil), // 0: xds.type.matcher.v3.StringMatcher
- (*ListStringMatcher)(nil), // 1: xds.type.matcher.v3.ListStringMatcher
- (*RegexMatcher)(nil), // 2: xds.type.matcher.v3.RegexMatcher
-}
-var file_xds_type_matcher_v3_string_proto_depIdxs = []int32{
- 2, // 0: xds.type.matcher.v3.StringMatcher.safe_regex:type_name -> xds.type.matcher.v3.RegexMatcher
- 0, // 1: xds.type.matcher.v3.ListStringMatcher.patterns:type_name -> xds.type.matcher.v3.StringMatcher
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_matcher_v3_string_proto_init() }
-func file_xds_type_matcher_v3_string_proto_init() {
- if File_xds_type_matcher_v3_string_proto != nil {
- return
- }
- file_xds_type_matcher_v3_regex_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_xds_type_matcher_v3_string_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StringMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_matcher_v3_string_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListStringMatcher); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_type_matcher_v3_string_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*StringMatcher_Exact)(nil),
- (*StringMatcher_Prefix)(nil),
- (*StringMatcher_Suffix)(nil),
- (*StringMatcher_SafeRegex)(nil),
- (*StringMatcher_Contains)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_matcher_v3_string_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_matcher_v3_string_proto_goTypes,
- DependencyIndexes: file_xds_type_matcher_v3_string_proto_depIdxs,
- MessageInfos: file_xds_type_matcher_v3_string_proto_msgTypes,
- }.Build()
- File_xds_type_matcher_v3_string_proto = out.File
- file_xds_type_matcher_v3_string_proto_rawDesc = nil
- file_xds_type_matcher_v3_string_proto_goTypes = nil
- file_xds_type_matcher_v3_string_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.validate.go
deleted file mode 100644
index 4a83a7a4e5..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/matcher/v3/string.pb.validate.go
+++ /dev/null
@@ -1,249 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/matcher/v3/string.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on StringMatcher with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *StringMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for IgnoreCase
-
- switch m.MatchPattern.(type) {
-
- case *StringMatcher_Exact:
- // no validation rules for Exact
-
- case *StringMatcher_Prefix:
-
- if utf8.RuneCountInString(m.GetPrefix()) < 1 {
- return StringMatcherValidationError{
- field: "Prefix",
- reason: "value length must be at least 1 runes",
- }
- }
-
- case *StringMatcher_Suffix:
-
- if utf8.RuneCountInString(m.GetSuffix()) < 1 {
- return StringMatcherValidationError{
- field: "Suffix",
- reason: "value length must be at least 1 runes",
- }
- }
-
- case *StringMatcher_SafeRegex:
-
- if m.GetSafeRegex() == nil {
- return StringMatcherValidationError{
- field: "SafeRegex",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetSafeRegex()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return StringMatcherValidationError{
- field: "SafeRegex",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *StringMatcher_Contains:
-
- if utf8.RuneCountInString(m.GetContains()) < 1 {
- return StringMatcherValidationError{
- field: "Contains",
- reason: "value length must be at least 1 runes",
- }
- }
-
- default:
- return StringMatcherValidationError{
- field: "MatchPattern",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// StringMatcherValidationError is the validation error returned by
-// StringMatcher.Validate if the designated constraints aren't met.
-type StringMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e StringMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e StringMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e StringMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e StringMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e StringMatcherValidationError) ErrorName() string { return "StringMatcherValidationError" }
-
-// Error satisfies the builtin error interface
-func (e StringMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sStringMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = StringMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = StringMatcherValidationError{}
-
-// Validate checks the field values on ListStringMatcher with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *ListStringMatcher) Validate() error {
- if m == nil {
- return nil
- }
-
- if len(m.GetPatterns()) < 1 {
- return ListStringMatcherValidationError{
- field: "Patterns",
- reason: "value must contain at least 1 item(s)",
- }
- }
-
- for idx, item := range m.GetPatterns() {
- _, _ = idx, item
-
- if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListStringMatcherValidationError{
- field: fmt.Sprintf("Patterns[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- return nil
-}
-
-// ListStringMatcherValidationError is the validation error returned by
-// ListStringMatcher.Validate if the designated constraints aren't met.
-type ListStringMatcherValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListStringMatcherValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListStringMatcherValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListStringMatcherValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListStringMatcherValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListStringMatcherValidationError) ErrorName() string {
- return "ListStringMatcherValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ListStringMatcherValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListStringMatcher.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListStringMatcherValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListStringMatcherValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.go b/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.go
deleted file mode 100644
index 0fd975a2e5..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.go
+++ /dev/null
@@ -1,298 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/v3/cel.proto
-
-package v3
-
-import (
- _ "github.com/cncf/xds/go/xds/annotations/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- proto "github.com/golang/protobuf/proto"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- v1alpha1 "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type CelExpression struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to ExprSpecifier:
- // *CelExpression_ParsedExpr
- // *CelExpression_CheckedExpr
- ExprSpecifier isCelExpression_ExprSpecifier `protobuf_oneof:"expr_specifier"`
-}
-
-func (x *CelExpression) Reset() {
- *x = CelExpression{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_cel_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CelExpression) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CelExpression) ProtoMessage() {}
-
-func (x *CelExpression) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_cel_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CelExpression.ProtoReflect.Descriptor instead.
-func (*CelExpression) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_cel_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *CelExpression) GetExprSpecifier() isCelExpression_ExprSpecifier {
- if m != nil {
- return m.ExprSpecifier
- }
- return nil
-}
-
-func (x *CelExpression) GetParsedExpr() *v1alpha1.ParsedExpr {
- if x, ok := x.GetExprSpecifier().(*CelExpression_ParsedExpr); ok {
- return x.ParsedExpr
- }
- return nil
-}
-
-func (x *CelExpression) GetCheckedExpr() *v1alpha1.CheckedExpr {
- if x, ok := x.GetExprSpecifier().(*CelExpression_CheckedExpr); ok {
- return x.CheckedExpr
- }
- return nil
-}
-
-type isCelExpression_ExprSpecifier interface {
- isCelExpression_ExprSpecifier()
-}
-
-type CelExpression_ParsedExpr struct {
- ParsedExpr *v1alpha1.ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"`
-}
-
-type CelExpression_CheckedExpr struct {
- CheckedExpr *v1alpha1.CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"`
-}
-
-func (*CelExpression_ParsedExpr) isCelExpression_ExprSpecifier() {}
-
-func (*CelExpression_CheckedExpr) isCelExpression_ExprSpecifier() {}
-
-type CelExtractString struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ExprExtract *CelExpression `protobuf:"bytes,1,opt,name=expr_extract,json=exprExtract,proto3" json:"expr_extract,omitempty"`
- DefaultValue *wrappers.StringValue `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
-}
-
-func (x *CelExtractString) Reset() {
- *x = CelExtractString{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_cel_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CelExtractString) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CelExtractString) ProtoMessage() {}
-
-func (x *CelExtractString) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_cel_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CelExtractString.ProtoReflect.Descriptor instead.
-func (*CelExtractString) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_cel_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *CelExtractString) GetExprExtract() *CelExpression {
- if x != nil {
- return x.ExprExtract
- }
- return nil
-}
-
-func (x *CelExtractString) GetDefaultValue() *wrappers.StringValue {
- if x != nil {
- return x.DefaultValue
- }
- return nil
-}
-
-var File_xds_type_v3_cel_proto protoreflect.FileDescriptor
-
-var file_xds_type_v3_cel_proto_rawDesc = []byte{
- 0x0a, 0x15, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x65,
- 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70,
- 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
- 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63,
- 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01,
- 0x0a, 0x0d, 0x43, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
- 0x47, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
- 0x50, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x61,
- 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x63, 0x68, 0x65, 0x63,
- 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72,
- 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65,
- 0x64, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64,
- 0x45, 0x78, 0x70, 0x72, 0x42, 0x15, 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x73, 0x70, 0x65,
- 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x9e, 0x01, 0x0a, 0x10,
- 0x43, 0x65, 0x6c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x12, 0x47, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70,
- 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
- 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x65, 0x78,
- 0x70, 0x72, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x50, 0x0a, 0x16,
- 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x43, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
- 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74,
- 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0xd2, 0xc6, 0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_v3_cel_proto_rawDescOnce sync.Once
- file_xds_type_v3_cel_proto_rawDescData = file_xds_type_v3_cel_proto_rawDesc
-)
-
-func file_xds_type_v3_cel_proto_rawDescGZIP() []byte {
- file_xds_type_v3_cel_proto_rawDescOnce.Do(func() {
- file_xds_type_v3_cel_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_v3_cel_proto_rawDescData)
- })
- return file_xds_type_v3_cel_proto_rawDescData
-}
-
-var file_xds_type_v3_cel_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_xds_type_v3_cel_proto_goTypes = []interface{}{
- (*CelExpression)(nil), // 0: xds.type.v3.CelExpression
- (*CelExtractString)(nil), // 1: xds.type.v3.CelExtractString
- (*v1alpha1.ParsedExpr)(nil), // 2: google.api.expr.v1alpha1.ParsedExpr
- (*v1alpha1.CheckedExpr)(nil), // 3: google.api.expr.v1alpha1.CheckedExpr
- (*wrappers.StringValue)(nil), // 4: google.protobuf.StringValue
-}
-var file_xds_type_v3_cel_proto_depIdxs = []int32{
- 2, // 0: xds.type.v3.CelExpression.parsed_expr:type_name -> google.api.expr.v1alpha1.ParsedExpr
- 3, // 1: xds.type.v3.CelExpression.checked_expr:type_name -> google.api.expr.v1alpha1.CheckedExpr
- 0, // 2: xds.type.v3.CelExtractString.expr_extract:type_name -> xds.type.v3.CelExpression
- 4, // 3: xds.type.v3.CelExtractString.default_value:type_name -> google.protobuf.StringValue
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_v3_cel_proto_init() }
-func file_xds_type_v3_cel_proto_init() {
- if File_xds_type_v3_cel_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_v3_cel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CelExpression); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_v3_cel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CelExtractString); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_xds_type_v3_cel_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*CelExpression_ParsedExpr)(nil),
- (*CelExpression_CheckedExpr)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_v3_cel_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_v3_cel_proto_goTypes,
- DependencyIndexes: file_xds_type_v3_cel_proto_depIdxs,
- MessageInfos: file_xds_type_v3_cel_proto_msgTypes,
- }.Build()
- File_xds_type_v3_cel_proto = out.File
- file_xds_type_v3_cel_proto_rawDesc = nil
- file_xds_type_v3_cel_proto_goTypes = nil
- file_xds_type_v3_cel_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.validate.go
deleted file mode 100644
index c28fb4eda3..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/cel.pb.validate.go
+++ /dev/null
@@ -1,225 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/v3/cel.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on CelExpression with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *CelExpression) Validate() error {
- if m == nil {
- return nil
- }
-
- switch m.ExprSpecifier.(type) {
-
- case *CelExpression_ParsedExpr:
-
- if v, ok := interface{}(m.GetParsedExpr()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CelExpressionValidationError{
- field: "ParsedExpr",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *CelExpression_CheckedExpr:
-
- if v, ok := interface{}(m.GetCheckedExpr()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CelExpressionValidationError{
- field: "CheckedExpr",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- return CelExpressionValidationError{
- field: "ExprSpecifier",
- reason: "value is required",
- }
-
- }
-
- return nil
-}
-
-// CelExpressionValidationError is the validation error returned by
-// CelExpression.Validate if the designated constraints aren't met.
-type CelExpressionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CelExpressionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CelExpressionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CelExpressionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CelExpressionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CelExpressionValidationError) ErrorName() string { return "CelExpressionValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CelExpressionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCelExpression.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CelExpressionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CelExpressionValidationError{}
-
-// Validate checks the field values on CelExtractString with the rules defined
-// in the proto definition for this message. If any rules are violated, an
-// error is returned.
-func (m *CelExtractString) Validate() error {
- if m == nil {
- return nil
- }
-
- if m.GetExprExtract() == nil {
- return CelExtractStringValidationError{
- field: "ExprExtract",
- reason: "value is required",
- }
- }
-
- if v, ok := interface{}(m.GetExprExtract()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CelExtractStringValidationError{
- field: "ExprExtract",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if v, ok := interface{}(m.GetDefaultValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CelExtractStringValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// CelExtractStringValidationError is the validation error returned by
-// CelExtractString.Validate if the designated constraints aren't met.
-type CelExtractStringValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CelExtractStringValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CelExtractStringValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CelExtractStringValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CelExtractStringValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CelExtractStringValidationError) ErrorName() string { return "CelExtractStringValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CelExtractStringValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCelExtractString.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CelExtractStringValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CelExtractStringValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.go b/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.go
deleted file mode 100644
index 883cd43bd3..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.go
+++ /dev/null
@@ -1,303 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/v3/range.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type Int64Range struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
- End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
-}
-
-func (x *Int64Range) Reset() {
- *x = Int64Range{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_range_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int64Range) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int64Range) ProtoMessage() {}
-
-func (x *Int64Range) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_range_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int64Range.ProtoReflect.Descriptor instead.
-func (*Int64Range) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_range_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Int64Range) GetStart() int64 {
- if x != nil {
- return x.Start
- }
- return 0
-}
-
-func (x *Int64Range) GetEnd() int64 {
- if x != nil {
- return x.End
- }
- return 0
-}
-
-type Int32Range struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
- End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
-}
-
-func (x *Int32Range) Reset() {
- *x = Int32Range{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_range_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int32Range) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int32Range) ProtoMessage() {}
-
-func (x *Int32Range) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_range_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int32Range.ProtoReflect.Descriptor instead.
-func (*Int32Range) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_range_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Int32Range) GetStart() int32 {
- if x != nil {
- return x.Start
- }
- return 0
-}
-
-func (x *Int32Range) GetEnd() int32 {
- if x != nil {
- return x.End
- }
- return 0
-}
-
-type DoubleRange struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"`
- End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"`
-}
-
-func (x *DoubleRange) Reset() {
- *x = DoubleRange{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_range_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DoubleRange) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DoubleRange) ProtoMessage() {}
-
-func (x *DoubleRange) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_range_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.
-func (*DoubleRange) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_range_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *DoubleRange) GetStart() float64 {
- if x != nil {
- return x.Start
- }
- return 0
-}
-
-func (x *DoubleRange) GetEnd() float64 {
- if x != nil {
- return x.End
- }
- return 0
-}
-
-var File_xds_type_v3_range_proto protoreflect.FileDescriptor
-
-var file_xds_type_v3_range_proto_rawDesc = []byte{
- 0x0a, 0x17, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x61,
- 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x74,
- 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x22, 0x34, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52,
- 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e,
- 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x34, 0x0a, 0x0a,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
- 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65,
- 0x6e, 0x64, 0x22, 0x35, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x61, 0x6e, 0x67,
- 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01,
- 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x42, 0x4a, 0x0a, 0x16, 0x63, 0x6f, 0x6d,
- 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6e,
- 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79,
- 0x70, 0x65, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_v3_range_proto_rawDescOnce sync.Once
- file_xds_type_v3_range_proto_rawDescData = file_xds_type_v3_range_proto_rawDesc
-)
-
-func file_xds_type_v3_range_proto_rawDescGZIP() []byte {
- file_xds_type_v3_range_proto_rawDescOnce.Do(func() {
- file_xds_type_v3_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_v3_range_proto_rawDescData)
- })
- return file_xds_type_v3_range_proto_rawDescData
-}
-
-var file_xds_type_v3_range_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_xds_type_v3_range_proto_goTypes = []interface{}{
- (*Int64Range)(nil), // 0: xds.type.v3.Int64Range
- (*Int32Range)(nil), // 1: xds.type.v3.Int32Range
- (*DoubleRange)(nil), // 2: xds.type.v3.DoubleRange
-}
-var file_xds_type_v3_range_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_v3_range_proto_init() }
-func file_xds_type_v3_range_proto_init() {
- if File_xds_type_v3_range_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_v3_range_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int64Range); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_v3_range_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int32Range); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_xds_type_v3_range_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DoubleRange); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_v3_range_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_v3_range_proto_goTypes,
- DependencyIndexes: file_xds_type_v3_range_proto_depIdxs,
- MessageInfos: file_xds_type_v3_range_proto_msgTypes,
- }.Build()
- File_xds_type_v3_range_proto = out.File
- file_xds_type_v3_range_proto_rawDesc = nil
- file_xds_type_v3_range_proto_goTypes = nil
- file_xds_type_v3_range_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.validate.go
deleted file mode 100644
index 7fd141a483..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/range.pb.validate.go
+++ /dev/null
@@ -1,239 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/v3/range.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on Int64Range with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Int64Range) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Start
-
- // no validation rules for End
-
- return nil
-}
-
-// Int64RangeValidationError is the validation error returned by
-// Int64Range.Validate if the designated constraints aren't met.
-type Int64RangeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int64RangeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int64RangeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int64RangeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int64RangeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int64RangeValidationError) ErrorName() string { return "Int64RangeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e Int64RangeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt64Range.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int64RangeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int64RangeValidationError{}
-
-// Validate checks the field values on Int32Range with the rules defined in the
-// proto definition for this message. If any rules are violated, an error is returned.
-func (m *Int32Range) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Start
-
- // no validation rules for End
-
- return nil
-}
-
-// Int32RangeValidationError is the validation error returned by
-// Int32Range.Validate if the designated constraints aren't met.
-type Int32RangeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Int32RangeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Int32RangeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Int32RangeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Int32RangeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Int32RangeValidationError) ErrorName() string { return "Int32RangeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e Int32RangeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sInt32Range.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Int32RangeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Int32RangeValidationError{}
-
-// Validate checks the field values on DoubleRange with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *DoubleRange) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for Start
-
- // no validation rules for End
-
- return nil
-}
-
-// DoubleRangeValidationError is the validation error returned by
-// DoubleRange.Validate if the designated constraints aren't met.
-type DoubleRangeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e DoubleRangeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e DoubleRangeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e DoubleRangeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e DoubleRangeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e DoubleRangeValidationError) ErrorName() string { return "DoubleRangeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e DoubleRangeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sDoubleRange.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = DoubleRangeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = DoubleRangeValidationError{}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.go b/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.go
deleted file mode 100644
index 47c671498c..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.go
+++ /dev/null
@@ -1,168 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.25.0
-// protoc v3.18.0
-// source: xds/type/v3/typed_struct.proto
-
-package v3
-
-import (
- proto "github.com/golang/protobuf/proto"
- _struct "github.com/golang/protobuf/ptypes/struct"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// This is a compile-time assertion that a sufficiently up-to-date version
-// of the legacy proto package is being used.
-const _ = proto.ProtoPackageIsVersion4
-
-type TypedStruct struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
- Value *_struct.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
-}
-
-func (x *TypedStruct) Reset() {
- *x = TypedStruct{}
- if protoimpl.UnsafeEnabled {
- mi := &file_xds_type_v3_typed_struct_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TypedStruct) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TypedStruct) ProtoMessage() {}
-
-func (x *TypedStruct) ProtoReflect() protoreflect.Message {
- mi := &file_xds_type_v3_typed_struct_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TypedStruct.ProtoReflect.Descriptor instead.
-func (*TypedStruct) Descriptor() ([]byte, []int) {
- return file_xds_type_v3_typed_struct_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TypedStruct) GetTypeUrl() string {
- if x != nil {
- return x.TypeUrl
- }
- return ""
-}
-
-func (x *TypedStruct) GetValue() *_struct.Struct {
- if x != nil {
- return x.Value
- }
- return nil
-}
-
-var File_xds_type_v3_typed_struct_proto protoreflect.FileDescriptor
-
-var file_xds_type_v3_typed_struct_proto_rawDesc = []byte{
- 0x0a, 0x1e, 0x78, 0x64, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x79,
- 0x70, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x0b, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73,
- 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x0b, 0x54,
- 0x79, 0x70, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79,
- 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79,
- 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x42, 0x50, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x78, 0x64, 0x73, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x10,
- 0x54, 0x79, 0x70, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x50, 0x01, 0x5a, 0x22, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
- 0x6e, 0x63, 0x66, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x78, 0x64, 0x73, 0x2f, 0x74,
- 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_xds_type_v3_typed_struct_proto_rawDescOnce sync.Once
- file_xds_type_v3_typed_struct_proto_rawDescData = file_xds_type_v3_typed_struct_proto_rawDesc
-)
-
-func file_xds_type_v3_typed_struct_proto_rawDescGZIP() []byte {
- file_xds_type_v3_typed_struct_proto_rawDescOnce.Do(func() {
- file_xds_type_v3_typed_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_xds_type_v3_typed_struct_proto_rawDescData)
- })
- return file_xds_type_v3_typed_struct_proto_rawDescData
-}
-
-var file_xds_type_v3_typed_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_xds_type_v3_typed_struct_proto_goTypes = []interface{}{
- (*TypedStruct)(nil), // 0: xds.type.v3.TypedStruct
- (*_struct.Struct)(nil), // 1: google.protobuf.Struct
-}
-var file_xds_type_v3_typed_struct_proto_depIdxs = []int32{
- 1, // 0: xds.type.v3.TypedStruct.value:type_name -> google.protobuf.Struct
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_xds_type_v3_typed_struct_proto_init() }
-func file_xds_type_v3_typed_struct_proto_init() {
- if File_xds_type_v3_typed_struct_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_xds_type_v3_typed_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TypedStruct); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_xds_type_v3_typed_struct_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_xds_type_v3_typed_struct_proto_goTypes,
- DependencyIndexes: file_xds_type_v3_typed_struct_proto_depIdxs,
- MessageInfos: file_xds_type_v3_typed_struct_proto_msgTypes,
- }.Build()
- File_xds_type_v3_typed_struct_proto = out.File
- file_xds_type_v3_typed_struct_proto_rawDesc = nil
- file_xds_type_v3_typed_struct_proto_goTypes = nil
- file_xds_type_v3_typed_struct_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.validate.go b/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.validate.go
deleted file mode 100644
index b4af2aa9f3..0000000000
--- a/vendor/github.com/cncf/xds/go/xds/type/v3/typed_struct.pb.validate.go
+++ /dev/null
@@ -1,111 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: xds/type/v3/typed_struct.proto
-
-package v3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
-)
-
-// Validate checks the field values on TypedStruct with the rules defined in
-// the proto definition for this message. If any rules are violated, an error
-// is returned.
-func (m *TypedStruct) Validate() error {
- if m == nil {
- return nil
- }
-
- // no validation rules for TypeUrl
-
- if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TypedStructValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- return nil
-}
-
-// TypedStructValidationError is the validation error returned by
-// TypedStruct.Validate if the designated constraints aren't met.
-type TypedStructValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TypedStructValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TypedStructValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TypedStructValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TypedStructValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TypedStructValidationError) ErrorName() string { return "TypedStructValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TypedStructValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTypedStruct.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TypedStructValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TypedStructValidationError{}
diff --git a/vendor/github.com/coreos/go-semver/NOTICE b/vendor/github.com/coreos/go-semver/NOTICE
deleted file mode 100644
index 23a0ada2fb..0000000000
--- a/vendor/github.com/coreos/go-semver/NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-CoreOS Project
-Copyright 2018 CoreOS, Inc
-
-This product includes software developed at CoreOS, Inc.
-(http://www.coreos.com/).
diff --git a/vendor/github.com/coreos/go-semver/semver/semver.go b/vendor/github.com/coreos/go-semver/semver/semver.go
deleted file mode 100644
index 76cf4852c7..0000000000
--- a/vendor/github.com/coreos/go-semver/semver/semver.go
+++ /dev/null
@@ -1,296 +0,0 @@
-// Copyright 2013-2015 CoreOS, Inc.
-//
-// 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.
-
-// Semantic Versions http://semver.org
-package semver
-
-import (
- "bytes"
- "errors"
- "fmt"
- "regexp"
- "strconv"
- "strings"
-)
-
-type Version struct {
- Major int64
- Minor int64
- Patch int64
- PreRelease PreRelease
- Metadata string
-}
-
-type PreRelease string
-
-func splitOff(input *string, delim string) (val string) {
- parts := strings.SplitN(*input, delim, 2)
-
- if len(parts) == 2 {
- *input = parts[0]
- val = parts[1]
- }
-
- return val
-}
-
-func New(version string) *Version {
- return Must(NewVersion(version))
-}
-
-func NewVersion(version string) (*Version, error) {
- v := Version{}
-
- if err := v.Set(version); err != nil {
- return nil, err
- }
-
- return &v, nil
-}
-
-// Must is a helper for wrapping NewVersion and will panic if err is not nil.
-func Must(v *Version, err error) *Version {
- if err != nil {
- panic(err)
- }
- return v
-}
-
-// Set parses and updates v from the given version string. Implements flag.Value
-func (v *Version) Set(version string) error {
- metadata := splitOff(&version, "+")
- preRelease := PreRelease(splitOff(&version, "-"))
- dotParts := strings.SplitN(version, ".", 3)
-
- if len(dotParts) != 3 {
- return fmt.Errorf("%s is not in dotted-tri format", version)
- }
-
- if err := validateIdentifier(string(preRelease)); err != nil {
- return fmt.Errorf("failed to validate pre-release: %v", err)
- }
-
- if err := validateIdentifier(metadata); err != nil {
- return fmt.Errorf("failed to validate metadata: %v", err)
- }
-
- parsed := make([]int64, 3, 3)
-
- for i, v := range dotParts[:3] {
- val, err := strconv.ParseInt(v, 10, 64)
- parsed[i] = val
- if err != nil {
- return err
- }
- }
-
- v.Metadata = metadata
- v.PreRelease = preRelease
- v.Major = parsed[0]
- v.Minor = parsed[1]
- v.Patch = parsed[2]
- return nil
-}
-
-func (v Version) String() string {
- var buffer bytes.Buffer
-
- fmt.Fprintf(&buffer, "%d.%d.%d", v.Major, v.Minor, v.Patch)
-
- if v.PreRelease != "" {
- fmt.Fprintf(&buffer, "-%s", v.PreRelease)
- }
-
- if v.Metadata != "" {
- fmt.Fprintf(&buffer, "+%s", v.Metadata)
- }
-
- return buffer.String()
-}
-
-func (v *Version) UnmarshalYAML(unmarshal func(interface{}) error) error {
- var data string
- if err := unmarshal(&data); err != nil {
- return err
- }
- return v.Set(data)
-}
-
-func (v Version) MarshalJSON() ([]byte, error) {
- return []byte(`"` + v.String() + `"`), nil
-}
-
-func (v *Version) UnmarshalJSON(data []byte) error {
- l := len(data)
- if l == 0 || string(data) == `""` {
- return nil
- }
- if l < 2 || data[0] != '"' || data[l-1] != '"' {
- return errors.New("invalid semver string")
- }
- return v.Set(string(data[1 : l-1]))
-}
-
-// Compare tests if v is less than, equal to, or greater than versionB,
-// returning -1, 0, or +1 respectively.
-func (v Version) Compare(versionB Version) int {
- if cmp := recursiveCompare(v.Slice(), versionB.Slice()); cmp != 0 {
- return cmp
- }
- return preReleaseCompare(v, versionB)
-}
-
-// Equal tests if v is equal to versionB.
-func (v Version) Equal(versionB Version) bool {
- return v.Compare(versionB) == 0
-}
-
-// LessThan tests if v is less than versionB.
-func (v Version) LessThan(versionB Version) bool {
- return v.Compare(versionB) < 0
-}
-
-// Slice converts the comparable parts of the semver into a slice of integers.
-func (v Version) Slice() []int64 {
- return []int64{v.Major, v.Minor, v.Patch}
-}
-
-func (p PreRelease) Slice() []string {
- preRelease := string(p)
- return strings.Split(preRelease, ".")
-}
-
-func preReleaseCompare(versionA Version, versionB Version) int {
- a := versionA.PreRelease
- b := versionB.PreRelease
-
- /* Handle the case where if two versions are otherwise equal it is the
- * one without a PreRelease that is greater */
- if len(a) == 0 && (len(b) > 0) {
- return 1
- } else if len(b) == 0 && (len(a) > 0) {
- return -1
- }
-
- // If there is a prerelease, check and compare each part.
- return recursivePreReleaseCompare(a.Slice(), b.Slice())
-}
-
-func recursiveCompare(versionA []int64, versionB []int64) int {
- if len(versionA) == 0 {
- return 0
- }
-
- a := versionA[0]
- b := versionB[0]
-
- if a > b {
- return 1
- } else if a < b {
- return -1
- }
-
- return recursiveCompare(versionA[1:], versionB[1:])
-}
-
-func recursivePreReleaseCompare(versionA []string, versionB []string) int {
- // A larger set of pre-release fields has a higher precedence than a smaller set,
- // if all of the preceding identifiers are equal.
- if len(versionA) == 0 {
- if len(versionB) > 0 {
- return -1
- }
- return 0
- } else if len(versionB) == 0 {
- // We're longer than versionB so return 1.
- return 1
- }
-
- a := versionA[0]
- b := versionB[0]
-
- aInt := false
- bInt := false
-
- aI, err := strconv.Atoi(versionA[0])
- if err == nil {
- aInt = true
- }
-
- bI, err := strconv.Atoi(versionB[0])
- if err == nil {
- bInt = true
- }
-
- // Numeric identifiers always have lower precedence than non-numeric identifiers.
- if aInt && !bInt {
- return -1
- } else if !aInt && bInt {
- return 1
- }
-
- // Handle Integer Comparison
- if aInt && bInt {
- if aI > bI {
- return 1
- } else if aI < bI {
- return -1
- }
- }
-
- // Handle String Comparison
- if a > b {
- return 1
- } else if a < b {
- return -1
- }
-
- return recursivePreReleaseCompare(versionA[1:], versionB[1:])
-}
-
-// BumpMajor increments the Major field by 1 and resets all other fields to their default values
-func (v *Version) BumpMajor() {
- v.Major += 1
- v.Minor = 0
- v.Patch = 0
- v.PreRelease = PreRelease("")
- v.Metadata = ""
-}
-
-// BumpMinor increments the Minor field by 1 and resets all other fields to their default values
-func (v *Version) BumpMinor() {
- v.Minor += 1
- v.Patch = 0
- v.PreRelease = PreRelease("")
- v.Metadata = ""
-}
-
-// BumpPatch increments the Patch field by 1 and resets all other fields to their default values
-func (v *Version) BumpPatch() {
- v.Patch += 1
- v.PreRelease = PreRelease("")
- v.Metadata = ""
-}
-
-// validateIdentifier makes sure the provided identifier satisfies semver spec
-func validateIdentifier(id string) error {
- if id != "" && !reIdentifier.MatchString(id) {
- return fmt.Errorf("%s is not a valid semver identifier", id)
- }
- return nil
-}
-
-// reIdentifier is a regular expression used to check that pre-release and metadata
-// identifiers satisfy the spec requirements
-var reIdentifier = regexp.MustCompile(`^[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*$`)
diff --git a/vendor/github.com/coreos/go-semver/semver/sort.go b/vendor/github.com/coreos/go-semver/semver/sort.go
deleted file mode 100644
index e256b41a5d..0000000000
--- a/vendor/github.com/coreos/go-semver/semver/sort.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013-2015 CoreOS, Inc.
-//
-// 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.
-
-package semver
-
-import (
- "sort"
-)
-
-type Versions []*Version
-
-func (s Versions) Len() int {
- return len(s)
-}
-
-func (s Versions) Swap(i, j int) {
- s[i], s[j] = s[j], s[i]
-}
-
-func (s Versions) Less(i, j int) bool {
- return s[i].LessThan(*s[j])
-}
-
-// Sort sorts the given slice of Version
-func Sort(versions []*Version) {
- sort.Sort(Versions(versions))
-}
diff --git a/vendor/github.com/coreos/go-systemd/v22/LICENSE b/vendor/github.com/coreos/go-systemd/v22/LICENSE
deleted file mode 100644
index 37ec93a14f..0000000000
--- a/vendor/github.com/coreos/go-systemd/v22/LICENSE
+++ /dev/null
@@ -1,191 +0,0 @@
-Apache License
-Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-"License" shall mean the terms and conditions for use, reproduction, and
-distribution as defined by Sections 1 through 9 of this document.
-
-"Licensor" shall mean the copyright owner or entity authorized by the copyright
-owner that is granting the License.
-
-"Legal Entity" shall mean the union of the acting entity and all other entities
-that control, are controlled by, or are under common control with that entity.
-For the purposes of this definition, "control" means (i) the power, direct or
-indirect, to cause the direction or management of such entity, whether by
-contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
-outstanding shares, or (iii) beneficial ownership of such entity.
-
-"You" (or "Your") shall mean an individual or Legal Entity exercising
-permissions granted by this License.
-
-"Source" form shall mean the preferred form for making modifications, including
-but not limited to software source code, documentation source, and configuration
-files.
-
-"Object" form shall mean any form resulting from mechanical transformation or
-translation of a Source form, including but not limited to compiled object code,
-generated documentation, and conversions to other media types.
-
-"Work" shall mean the work of authorship, whether in Source or Object form, made
-available under the License, as indicated by a copyright notice that is included
-in or attached to the work (an example is provided in the Appendix below).
-
-"Derivative Works" shall mean any work, whether in Source or Object form, that
-is based on (or derived from) the Work and for which the editorial revisions,
-annotations, elaborations, or other modifications represent, as a whole, an
-original work of authorship. For the purposes of this License, Derivative Works
-shall not include works that remain separable from, or merely link (or bind by
-name) to the interfaces of, the Work and Derivative Works thereof.
-
-"Contribution" shall mean any work of authorship, including the original version
-of the Work and any modifications or additions to that Work or Derivative Works
-thereof, that is intentionally submitted to Licensor for inclusion in the Work
-by the copyright owner or by an individual or Legal Entity authorized to submit
-on behalf of the copyright owner. For the purposes of this definition,
-"submitted" means any form of electronic, verbal, or written communication sent
-to the Licensor or its representatives, including but not limited to
-communication on electronic mailing lists, source code control systems, and
-issue tracking systems that are managed by, or on behalf of, the Licensor for
-the purpose of discussing and improving the Work, but excluding communication
-that is conspicuously marked or otherwise designated in writing by the copyright
-owner as "Not a Contribution."
-
-"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
-of whom a Contribution has been received by Licensor and subsequently
-incorporated within the Work.
-
-2. Grant of Copyright License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable copyright license to reproduce, prepare Derivative Works of,
-publicly display, publicly perform, sublicense, and distribute the Work and such
-Derivative Works in Source or Object form.
-
-3. Grant of Patent License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable (except as stated in this section) patent license to make, have
-made, use, offer to sell, sell, import, and otherwise transfer the Work, where
-such license applies only to those patent claims licensable by such Contributor
-that are necessarily infringed by their Contribution(s) alone or by combination
-of their Contribution(s) with the Work to which such Contribution(s) was
-submitted. If You institute patent litigation against any entity (including a
-cross-claim or counterclaim in a lawsuit) alleging that the Work or a
-Contribution incorporated within the Work constitutes direct or contributory
-patent infringement, then any patent licenses granted to You under this License
-for that Work shall terminate as of the date such litigation is filed.
-
-4. Redistribution.
-
-You may reproduce and distribute copies of the Work or Derivative Works thereof
-in any medium, with or without modifications, and in Source or Object form,
-provided that You meet the following conditions:
-
-You must give any other recipients of the Work or Derivative Works a copy of
-this License; and
-You must cause any modified files to carry prominent notices stating that You
-changed the files; and
-You must retain, in the Source form of any Derivative Works that You distribute,
-all copyright, patent, trademark, and attribution notices from the Source form
-of the Work, excluding those notices that do not pertain to any part of the
-Derivative Works; and
-If the Work includes a "NOTICE" text file as part of its distribution, then any
-Derivative Works that You distribute must include a readable copy of the
-attribution notices contained within such NOTICE file, excluding those notices
-that do not pertain to any part of the Derivative Works, in at least one of the
-following places: within a NOTICE text file distributed as part of the
-Derivative Works; within the Source form or documentation, if provided along
-with the Derivative Works; or, within a display generated by the Derivative
-Works, if and wherever such third-party notices normally appear. The contents of
-the NOTICE file are for informational purposes only and do not modify the
-License. You may add Your own attribution notices within Derivative Works that
-You distribute, alongside or as an addendum to the NOTICE text from the Work,
-provided that such additional attribution notices cannot be construed as
-modifying the License.
-You may add Your own copyright statement to Your modifications and may provide
-additional or different license terms and conditions for use, reproduction, or
-distribution of Your modifications, or for any such Derivative Works as a whole,
-provided Your use, reproduction, and distribution of the Work otherwise complies
-with the conditions stated in this License.
-
-5. Submission of Contributions.
-
-Unless You explicitly state otherwise, any Contribution intentionally submitted
-for inclusion in the Work by You to the Licensor shall be under the terms and
-conditions of this License, without any additional terms or conditions.
-Notwithstanding the above, nothing herein shall supersede or modify the terms of
-any separate license agreement you may have executed with Licensor regarding
-such Contributions.
-
-6. Trademarks.
-
-This License does not grant permission to use the trade names, trademarks,
-service marks, or product names of the Licensor, except as required for
-reasonable and customary use in describing the origin of the Work and
-reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty.
-
-Unless required by applicable law or agreed to in writing, Licensor provides the
-Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
-including, without limitation, any warranties or conditions of TITLE,
-NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
-solely responsible for determining the appropriateness of using or
-redistributing the Work and assume any risks associated with Your exercise of
-permissions under this License.
-
-8. Limitation of Liability.
-
-In no event and under no legal theory, whether in tort (including negligence),
-contract, or otherwise, unless required by applicable law (such as deliberate
-and grossly negligent acts) or agreed to in writing, shall any Contributor be
-liable to You for damages, including any direct, indirect, special, incidental,
-or consequential damages of any character arising as a result of this License or
-out of the use or inability to use the Work (including but not limited to
-damages for loss of goodwill, work stoppage, computer failure or malfunction, or
-any and all other commercial damages or losses), even if such Contributor has
-been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability.
-
-While redistributing the Work or Derivative Works thereof, You may choose to
-offer, and charge a fee for, acceptance of support, warranty, indemnity, or
-other liability obligations and/or rights consistent with this License. However,
-in accepting such obligations, You may act only on Your own behalf and on Your
-sole responsibility, not on behalf of any other Contributor, and only if You
-agree to indemnify, defend, and hold each Contributor harmless for any liability
-incurred by, or claims asserted against, such Contributor by reason of your
-accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-APPENDIX: How to apply the Apache License to your work
-
-To apply the Apache License to your work, attach the following boilerplate
-notice, with the fields enclosed by brackets "[]" replaced with your own
-identifying information. (Don't include the brackets!) The text should be
-enclosed in the appropriate comment syntax for the file format. We also
-recommend that a file or class name and description of purpose be included on
-the same "printed page" as the copyright notice for easier identification within
-third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
diff --git a/vendor/github.com/coreos/go-systemd/v22/NOTICE b/vendor/github.com/coreos/go-systemd/v22/NOTICE
deleted file mode 100644
index 23a0ada2fb..0000000000
--- a/vendor/github.com/coreos/go-systemd/v22/NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-CoreOS Project
-Copyright 2018 CoreOS, Inc
-
-This product includes software developed at CoreOS, Inc.
-(http://www.coreos.com/).
diff --git a/vendor/github.com/coreos/go-systemd/v22/journal/journal.go b/vendor/github.com/coreos/go-systemd/v22/journal/journal.go
deleted file mode 100644
index ac24c7767d..0000000000
--- a/vendor/github.com/coreos/go-systemd/v22/journal/journal.go
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 CoreOS, Inc.
-//
-// 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.
-
-// Package journal provides write bindings to the local systemd journal.
-// It is implemented in pure Go and connects to the journal directly over its
-// unix socket.
-//
-// To read from the journal, see the "sdjournal" package, which wraps the
-// sd-journal a C API.
-//
-// http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
-package journal
-
-import (
- "fmt"
-)
-
-// Priority of a journal message
-type Priority int
-
-const (
- PriEmerg Priority = iota
- PriAlert
- PriCrit
- PriErr
- PriWarning
- PriNotice
- PriInfo
- PriDebug
-)
-
-// Print prints a message to the local systemd journal using Send().
-func Print(priority Priority, format string, a ...interface{}) error {
- return Send(fmt.Sprintf(format, a...), priority, nil)
-}
diff --git a/vendor/github.com/coreos/go-systemd/v22/journal/journal_unix.go b/vendor/github.com/coreos/go-systemd/v22/journal/journal_unix.go
deleted file mode 100644
index c5b23a8196..0000000000
--- a/vendor/github.com/coreos/go-systemd/v22/journal/journal_unix.go
+++ /dev/null
@@ -1,267 +0,0 @@
-// Copyright 2015 CoreOS, Inc.
-//
-// 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.
-
-//go:build !windows
-// +build !windows
-
-// Package journal provides write bindings to the local systemd journal.
-// It is implemented in pure Go and connects to the journal directly over its
-// unix socket.
-//
-// To read from the journal, see the "sdjournal" package, which wraps the
-// sd-journal a C API.
-//
-// http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
-package journal
-
-import (
- "bytes"
- "encoding/binary"
- "errors"
- "fmt"
- "io"
- "io/ioutil"
- "net"
- "os"
- "strconv"
- "strings"
- "sync"
- "sync/atomic"
- "syscall"
- "unsafe"
-)
-
-var (
- // This can be overridden at build-time:
- // https://github.com/golang/go/wiki/GcToolchainTricks#including-build-information-in-the-executable
- journalSocket = "/run/systemd/journal/socket"
-
- // unixConnPtr atomically holds the local unconnected Unix-domain socket.
- // Concrete safe pointer type: *net.UnixConn
- unixConnPtr unsafe.Pointer
- // onceConn ensures that unixConnPtr is initialized exactly once.
- onceConn sync.Once
-)
-
-// Enabled checks whether the local systemd journal is available for logging.
-func Enabled() bool {
- if c := getOrInitConn(); c == nil {
- return false
- }
-
- conn, err := net.Dial("unixgram", journalSocket)
- if err != nil {
- return false
- }
- defer conn.Close()
-
- return true
-}
-
-// StderrIsJournalStream returns whether the process stderr is connected
-// to the Journal's stream transport.
-//
-// This can be used for automatic protocol upgrading described in [Journal Native Protocol].
-//
-// Returns true if JOURNAL_STREAM environment variable is present,
-// and stderr's device and inode numbers match it.
-//
-// Error is returned if unexpected error occurs: e.g. if JOURNAL_STREAM environment variable
-// is present, but malformed, fstat syscall fails, etc.
-//
-// [Journal Native Protocol]: https://systemd.io/JOURNAL_NATIVE_PROTOCOL/#automatic-protocol-upgrading
-func StderrIsJournalStream() (bool, error) {
- return fdIsJournalStream(syscall.Stderr)
-}
-
-// StdoutIsJournalStream returns whether the process stdout is connected
-// to the Journal's stream transport.
-//
-// Returns true if JOURNAL_STREAM environment variable is present,
-// and stdout's device and inode numbers match it.
-//
-// Error is returned if unexpected error occurs: e.g. if JOURNAL_STREAM environment variable
-// is present, but malformed, fstat syscall fails, etc.
-//
-// Most users should probably use [StderrIsJournalStream].
-func StdoutIsJournalStream() (bool, error) {
- return fdIsJournalStream(syscall.Stdout)
-}
-
-func fdIsJournalStream(fd int) (bool, error) {
- journalStream := os.Getenv("JOURNAL_STREAM")
- if journalStream == "" {
- return false, nil
- }
-
- var expectedStat syscall.Stat_t
- _, err := fmt.Sscanf(journalStream, "%d:%d", &expectedStat.Dev, &expectedStat.Ino)
- if err != nil {
- return false, fmt.Errorf("failed to parse JOURNAL_STREAM=%q: %v", journalStream, err)
- }
-
- var stat syscall.Stat_t
- err = syscall.Fstat(fd, &stat)
- if err != nil {
- return false, err
- }
-
- match := stat.Dev == expectedStat.Dev && stat.Ino == expectedStat.Ino
- return match, nil
-}
-
-// Send a message to the local systemd journal. vars is a map of journald
-// fields to values. Fields must be composed of uppercase letters, numbers,
-// and underscores, but must not start with an underscore. Within these
-// restrictions, any arbitrary field name may be used. Some names have special
-// significance: see the journalctl documentation
-// (http://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html)
-// for more details. vars may be nil.
-func Send(message string, priority Priority, vars map[string]string) error {
- conn := getOrInitConn()
- if conn == nil {
- return errors.New("could not initialize socket to journald")
- }
-
- socketAddr := &net.UnixAddr{
- Name: journalSocket,
- Net: "unixgram",
- }
-
- data := new(bytes.Buffer)
- appendVariable(data, "PRIORITY", strconv.Itoa(int(priority)))
- appendVariable(data, "MESSAGE", message)
- for k, v := range vars {
- appendVariable(data, k, v)
- }
-
- _, _, err := conn.WriteMsgUnix(data.Bytes(), nil, socketAddr)
- if err == nil {
- return nil
- }
- if !isSocketSpaceError(err) {
- return err
- }
-
- // Large log entry, send it via tempfile and ancillary-fd.
- file, err := tempFd()
- if err != nil {
- return err
- }
- defer file.Close()
- _, err = io.Copy(file, data)
- if err != nil {
- return err
- }
- rights := syscall.UnixRights(int(file.Fd()))
- _, _, err = conn.WriteMsgUnix([]byte{}, rights, socketAddr)
- if err != nil {
- return err
- }
-
- return nil
-}
-
-// getOrInitConn attempts to get the global `unixConnPtr` socket, initializing if necessary
-func getOrInitConn() *net.UnixConn {
- conn := (*net.UnixConn)(atomic.LoadPointer(&unixConnPtr))
- if conn != nil {
- return conn
- }
- onceConn.Do(initConn)
- return (*net.UnixConn)(atomic.LoadPointer(&unixConnPtr))
-}
-
-func appendVariable(w io.Writer, name, value string) {
- if err := validVarName(name); err != nil {
- fmt.Fprintf(os.Stderr, "variable name %s contains invalid character, ignoring\n", name)
- }
- if strings.ContainsRune(value, '\n') {
- /* When the value contains a newline, we write:
- * - the variable name, followed by a newline
- * - the size (in 64bit little endian format)
- * - the data, followed by a newline
- */
- fmt.Fprintln(w, name)
- binary.Write(w, binary.LittleEndian, uint64(len(value)))
- fmt.Fprintln(w, value)
- } else {
- /* just write the variable and value all on one line */
- fmt.Fprintf(w, "%s=%s\n", name, value)
- }
-}
-
-// validVarName validates a variable name to make sure journald will accept it.
-// The variable name must be in uppercase and consist only of characters,
-// numbers and underscores, and may not begin with an underscore:
-// https://www.freedesktop.org/software/systemd/man/sd_journal_print.html
-func validVarName(name string) error {
- if name == "" {
- return errors.New("Empty variable name")
- } else if name[0] == '_' {
- return errors.New("Variable name begins with an underscore")
- }
-
- for _, c := range name {
- if !(('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_') {
- return errors.New("Variable name contains invalid characters")
- }
- }
- return nil
-}
-
-// isSocketSpaceError checks whether the error is signaling
-// an "overlarge message" condition.
-func isSocketSpaceError(err error) bool {
- opErr, ok := err.(*net.OpError)
- if !ok || opErr == nil {
- return false
- }
-
- sysErr, ok := opErr.Err.(*os.SyscallError)
- if !ok || sysErr == nil {
- return false
- }
-
- return sysErr.Err == syscall.EMSGSIZE || sysErr.Err == syscall.ENOBUFS
-}
-
-// tempFd creates a temporary, unlinked file under `/dev/shm`.
-func tempFd() (*os.File, error) {
- file, err := ioutil.TempFile("/dev/shm/", "journal.XXXXX")
- if err != nil {
- return nil, err
- }
- err = syscall.Unlink(file.Name())
- if err != nil {
- return nil, err
- }
- return file, nil
-}
-
-// initConn initializes the global `unixConnPtr` socket.
-// It is automatically called when needed.
-func initConn() {
- autobind, err := net.ResolveUnixAddr("unixgram", "")
- if err != nil {
- return
- }
-
- sock, err := net.ListenUnixgram("unixgram", autobind)
- if err != nil {
- return
- }
-
- atomic.StorePointer(&unixConnPtr, unsafe.Pointer(sock))
-}
diff --git a/vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go b/vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go
deleted file mode 100644
index 322e41e74c..0000000000
--- a/vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 CoreOS, Inc.
-//
-// 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.
-
-// Package journal provides write bindings to the local systemd journal.
-// It is implemented in pure Go and connects to the journal directly over its
-// unix socket.
-//
-// To read from the journal, see the "sdjournal" package, which wraps the
-// sd-journal a C API.
-//
-// http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
-package journal
-
-import (
- "errors"
-)
-
-func Enabled() bool {
- return false
-}
-
-func Send(message string, priority Priority, vars map[string]string) error {
- return errors.New("could not initialize socket to journald")
-}
-
-func StderrIsJournalStream() (bool, error) {
- return false, nil
-}
-
-func StdoutIsJournalStream() (bool, error) {
- return false, nil
-}
diff --git a/vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md b/vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md
deleted file mode 100644
index 1cade6cef6..0000000000
--- a/vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Brian Goff
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go b/vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go
deleted file mode 100644
index b480056734..0000000000
--- a/vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package md2man
-
-import (
- "github.com/russross/blackfriday/v2"
-)
-
-// Render converts a markdown document into a roff formatted document.
-func Render(doc []byte) []byte {
- renderer := NewRoffRenderer()
-
- return blackfriday.Run(doc,
- []blackfriday.Option{blackfriday.WithRenderer(renderer),
- blackfriday.WithExtensions(renderer.GetExtensions())}...)
-}
diff --git a/vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go b/vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go
deleted file mode 100644
index be2b343606..0000000000
--- a/vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go
+++ /dev/null
@@ -1,336 +0,0 @@
-package md2man
-
-import (
- "fmt"
- "io"
- "os"
- "strings"
-
- "github.com/russross/blackfriday/v2"
-)
-
-// roffRenderer implements the blackfriday.Renderer interface for creating
-// roff format (manpages) from markdown text
-type roffRenderer struct {
- extensions blackfriday.Extensions
- listCounters []int
- firstHeader bool
- firstDD bool
- listDepth int
-}
-
-const (
- titleHeader = ".TH "
- topLevelHeader = "\n\n.SH "
- secondLevelHdr = "\n.SH "
- otherHeader = "\n.SS "
- crTag = "\n"
- emphTag = "\\fI"
- emphCloseTag = "\\fP"
- strongTag = "\\fB"
- strongCloseTag = "\\fP"
- breakTag = "\n.br\n"
- paraTag = "\n.PP\n"
- hruleTag = "\n.ti 0\n\\l'\\n(.lu'\n"
- linkTag = "\n\\[la]"
- linkCloseTag = "\\[ra]"
- codespanTag = "\\fB\\fC"
- codespanCloseTag = "\\fR"
- codeTag = "\n.PP\n.RS\n\n.nf\n"
- codeCloseTag = "\n.fi\n.RE\n"
- quoteTag = "\n.PP\n.RS\n"
- quoteCloseTag = "\n.RE\n"
- listTag = "\n.RS\n"
- listCloseTag = "\n.RE\n"
- dtTag = "\n.TP\n"
- dd2Tag = "\n"
- tableStart = "\n.TS\nallbox;\n"
- tableEnd = ".TE\n"
- tableCellStart = "T{\n"
- tableCellEnd = "\nT}\n"
-)
-
-// NewRoffRenderer creates a new blackfriday Renderer for generating roff documents
-// from markdown
-func NewRoffRenderer() *roffRenderer { // nolint: golint
- var extensions blackfriday.Extensions
-
- extensions |= blackfriday.NoIntraEmphasis
- extensions |= blackfriday.Tables
- extensions |= blackfriday.FencedCode
- extensions |= blackfriday.SpaceHeadings
- extensions |= blackfriday.Footnotes
- extensions |= blackfriday.Titleblock
- extensions |= blackfriday.DefinitionLists
- return &roffRenderer{
- extensions: extensions,
- }
-}
-
-// GetExtensions returns the list of extensions used by this renderer implementation
-func (r *roffRenderer) GetExtensions() blackfriday.Extensions {
- return r.extensions
-}
-
-// RenderHeader handles outputting the header at document start
-func (r *roffRenderer) RenderHeader(w io.Writer, ast *blackfriday.Node) {
- // disable hyphenation
- out(w, ".nh\n")
-}
-
-// RenderFooter handles outputting the footer at the document end; the roff
-// renderer has no footer information
-func (r *roffRenderer) RenderFooter(w io.Writer, ast *blackfriday.Node) {
-}
-
-// RenderNode is called for each node in a markdown document; based on the node
-// type the equivalent roff output is sent to the writer
-func (r *roffRenderer) RenderNode(w io.Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus {
-
- var walkAction = blackfriday.GoToNext
-
- switch node.Type {
- case blackfriday.Text:
- escapeSpecialChars(w, node.Literal)
- case blackfriday.Softbreak:
- out(w, crTag)
- case blackfriday.Hardbreak:
- out(w, breakTag)
- case blackfriday.Emph:
- if entering {
- out(w, emphTag)
- } else {
- out(w, emphCloseTag)
- }
- case blackfriday.Strong:
- if entering {
- out(w, strongTag)
- } else {
- out(w, strongCloseTag)
- }
- case blackfriday.Link:
- if !entering {
- out(w, linkTag+string(node.LinkData.Destination)+linkCloseTag)
- }
- case blackfriday.Image:
- // ignore images
- walkAction = blackfriday.SkipChildren
- case blackfriday.Code:
- out(w, codespanTag)
- escapeSpecialChars(w, node.Literal)
- out(w, codespanCloseTag)
- case blackfriday.Document:
- break
- case blackfriday.Paragraph:
- // roff .PP markers break lists
- if r.listDepth > 0 {
- return blackfriday.GoToNext
- }
- if entering {
- out(w, paraTag)
- } else {
- out(w, crTag)
- }
- case blackfriday.BlockQuote:
- if entering {
- out(w, quoteTag)
- } else {
- out(w, quoteCloseTag)
- }
- case blackfriday.Heading:
- r.handleHeading(w, node, entering)
- case blackfriday.HorizontalRule:
- out(w, hruleTag)
- case blackfriday.List:
- r.handleList(w, node, entering)
- case blackfriday.Item:
- r.handleItem(w, node, entering)
- case blackfriday.CodeBlock:
- out(w, codeTag)
- escapeSpecialChars(w, node.Literal)
- out(w, codeCloseTag)
- case blackfriday.Table:
- r.handleTable(w, node, entering)
- case blackfriday.TableHead:
- case blackfriday.TableBody:
- case blackfriday.TableRow:
- // no action as cell entries do all the nroff formatting
- return blackfriday.GoToNext
- case blackfriday.TableCell:
- r.handleTableCell(w, node, entering)
- case blackfriday.HTMLSpan:
- // ignore other HTML tags
- default:
- fmt.Fprintln(os.Stderr, "WARNING: go-md2man does not handle node type "+node.Type.String())
- }
- return walkAction
-}
-
-func (r *roffRenderer) handleHeading(w io.Writer, node *blackfriday.Node, entering bool) {
- if entering {
- switch node.Level {
- case 1:
- if !r.firstHeader {
- out(w, titleHeader)
- r.firstHeader = true
- break
- }
- out(w, topLevelHeader)
- case 2:
- out(w, secondLevelHdr)
- default:
- out(w, otherHeader)
- }
- }
-}
-
-func (r *roffRenderer) handleList(w io.Writer, node *blackfriday.Node, entering bool) {
- openTag := listTag
- closeTag := listCloseTag
- if node.ListFlags&blackfriday.ListTypeDefinition != 0 {
- // tags for definition lists handled within Item node
- openTag = ""
- closeTag = ""
- }
- if entering {
- r.listDepth++
- if node.ListFlags&blackfriday.ListTypeOrdered != 0 {
- r.listCounters = append(r.listCounters, 1)
- }
- out(w, openTag)
- } else {
- if node.ListFlags&blackfriday.ListTypeOrdered != 0 {
- r.listCounters = r.listCounters[:len(r.listCounters)-1]
- }
- out(w, closeTag)
- r.listDepth--
- }
-}
-
-func (r *roffRenderer) handleItem(w io.Writer, node *blackfriday.Node, entering bool) {
- if entering {
- if node.ListFlags&blackfriday.ListTypeOrdered != 0 {
- out(w, fmt.Sprintf(".IP \"%3d.\" 5\n", r.listCounters[len(r.listCounters)-1]))
- r.listCounters[len(r.listCounters)-1]++
- } else if node.ListFlags&blackfriday.ListTypeTerm != 0 {
- // DT (definition term): line just before DD (see below).
- out(w, dtTag)
- r.firstDD = true
- } else if node.ListFlags&blackfriday.ListTypeDefinition != 0 {
- // DD (definition description): line that starts with ": ".
- //
- // We have to distinguish between the first DD and the
- // subsequent ones, as there should be no vertical
- // whitespace between the DT and the first DD.
- if r.firstDD {
- r.firstDD = false
- } else {
- out(w, dd2Tag)
- }
- } else {
- out(w, ".IP \\(bu 2\n")
- }
- } else {
- out(w, "\n")
- }
-}
-
-func (r *roffRenderer) handleTable(w io.Writer, node *blackfriday.Node, entering bool) {
- if entering {
- out(w, tableStart)
- // call walker to count cells (and rows?) so format section can be produced
- columns := countColumns(node)
- out(w, strings.Repeat("l ", columns)+"\n")
- out(w, strings.Repeat("l ", columns)+".\n")
- } else {
- out(w, tableEnd)
- }
-}
-
-func (r *roffRenderer) handleTableCell(w io.Writer, node *blackfriday.Node, entering bool) {
- if entering {
- var start string
- if node.Prev != nil && node.Prev.Type == blackfriday.TableCell {
- start = "\t"
- }
- if node.IsHeader {
- start += codespanTag
- } else if nodeLiteralSize(node) > 30 {
- start += tableCellStart
- }
- out(w, start)
- } else {
- var end string
- if node.IsHeader {
- end = codespanCloseTag
- } else if nodeLiteralSize(node) > 30 {
- end = tableCellEnd
- }
- if node.Next == nil && end != tableCellEnd {
- // Last cell: need to carriage return if we are at the end of the
- // header row and content isn't wrapped in a "tablecell"
- end += crTag
- }
- out(w, end)
- }
-}
-
-func nodeLiteralSize(node *blackfriday.Node) int {
- total := 0
- for n := node.FirstChild; n != nil; n = n.FirstChild {
- total += len(n.Literal)
- }
- return total
-}
-
-// because roff format requires knowing the column count before outputting any table
-// data we need to walk a table tree and count the columns
-func countColumns(node *blackfriday.Node) int {
- var columns int
-
- node.Walk(func(node *blackfriday.Node, entering bool) blackfriday.WalkStatus {
- switch node.Type {
- case blackfriday.TableRow:
- if !entering {
- return blackfriday.Terminate
- }
- case blackfriday.TableCell:
- if entering {
- columns++
- }
- default:
- }
- return blackfriday.GoToNext
- })
- return columns
-}
-
-func out(w io.Writer, output string) {
- io.WriteString(w, output) // nolint: errcheck
-}
-
-func escapeSpecialChars(w io.Writer, text []byte) {
- for i := 0; i < len(text); i++ {
- // escape initial apostrophe or period
- if len(text) >= 1 && (text[0] == '\'' || text[0] == '.') {
- out(w, "\\&")
- }
-
- // directly copy normal characters
- org := i
-
- for i < len(text) && text[i] != '\\' {
- i++
- }
- if i > org {
- w.Write(text[org:i]) // nolint: errcheck
- }
-
- // escape a character
- if i >= len(text) {
- break
- }
-
- w.Write([]byte{'\\', text[i]}) // nolint: errcheck
- }
-}
diff --git a/vendor/github.com/dustin/go-humanize/.travis.yml b/vendor/github.com/dustin/go-humanize/.travis.yml
deleted file mode 100644
index ba95cdd15c..0000000000
--- a/vendor/github.com/dustin/go-humanize/.travis.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-sudo: false
-language: go
-go:
- - 1.3.x
- - 1.5.x
- - 1.6.x
- - 1.7.x
- - 1.8.x
- - 1.9.x
- - master
-matrix:
- allow_failures:
- - go: master
- fast_finish: true
-install:
- - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
-script:
- - go get -t -v ./...
- - diff -u <(echo -n) <(gofmt -d -s .)
- - go tool vet .
- - go test -v -race ./...
diff --git a/vendor/github.com/dustin/go-humanize/LICENSE b/vendor/github.com/dustin/go-humanize/LICENSE
deleted file mode 100644
index 8d9a94a906..0000000000
--- a/vendor/github.com/dustin/go-humanize/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-Copyright (c) 2005-2008 Dustin Sallings
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
diff --git a/vendor/github.com/dustin/go-humanize/README.markdown b/vendor/github.com/dustin/go-humanize/README.markdown
deleted file mode 100644
index 91b4ae5646..0000000000
--- a/vendor/github.com/dustin/go-humanize/README.markdown
+++ /dev/null
@@ -1,124 +0,0 @@
-# Humane Units [![Build Status](https://travis-ci.org/dustin/go-humanize.svg?branch=master)](https://travis-ci.org/dustin/go-humanize) [![GoDoc](https://godoc.org/github.com/dustin/go-humanize?status.svg)](https://godoc.org/github.com/dustin/go-humanize)
-
-Just a few functions for helping humanize times and sizes.
-
-`go get` it as `github.com/dustin/go-humanize`, import it as
-`"github.com/dustin/go-humanize"`, use it as `humanize`.
-
-See [godoc](https://godoc.org/github.com/dustin/go-humanize) for
-complete documentation.
-
-## Sizes
-
-This lets you take numbers like `82854982` and convert them to useful
-strings like, `83 MB` or `79 MiB` (whichever you prefer).
-
-Example:
-
-```go
-fmt.Printf("That file is %s.", humanize.Bytes(82854982)) // That file is 83 MB.
-```
-
-## Times
-
-This lets you take a `time.Time` and spit it out in relative terms.
-For example, `12 seconds ago` or `3 days from now`.
-
-Example:
-
-```go
-fmt.Printf("This was touched %s.", humanize.Time(someTimeInstance)) // This was touched 7 hours ago.
-```
-
-Thanks to Kyle Lemons for the time implementation from an IRC
-conversation one day. It's pretty neat.
-
-## Ordinals
-
-From a [mailing list discussion][odisc] where a user wanted to be able
-to label ordinals.
-
- 0 -> 0th
- 1 -> 1st
- 2 -> 2nd
- 3 -> 3rd
- 4 -> 4th
- [...]
-
-Example:
-
-```go
-fmt.Printf("You're my %s best friend.", humanize.Ordinal(193)) // You are my 193rd best friend.
-```
-
-## Commas
-
-Want to shove commas into numbers? Be my guest.
-
- 0 -> 0
- 100 -> 100
- 1000 -> 1,000
- 1000000000 -> 1,000,000,000
- -100000 -> -100,000
-
-Example:
-
-```go
-fmt.Printf("You owe $%s.\n", humanize.Comma(6582491)) // You owe $6,582,491.
-```
-
-## Ftoa
-
-Nicer float64 formatter that removes trailing zeros.
-
-```go
-fmt.Printf("%f", 2.24) // 2.240000
-fmt.Printf("%s", humanize.Ftoa(2.24)) // 2.24
-fmt.Printf("%f", 2.0) // 2.000000
-fmt.Printf("%s", humanize.Ftoa(2.0)) // 2
-```
-
-## SI notation
-
-Format numbers with [SI notation][sinotation].
-
-Example:
-
-```go
-humanize.SI(0.00000000223, "M") // 2.23 nM
-```
-
-## English-specific functions
-
-The following functions are in the `humanize/english` subpackage.
-
-### Plurals
-
-Simple English pluralization
-
-```go
-english.PluralWord(1, "object", "") // object
-english.PluralWord(42, "object", "") // objects
-english.PluralWord(2, "bus", "") // buses
-english.PluralWord(99, "locus", "loci") // loci
-
-english.Plural(1, "object", "") // 1 object
-english.Plural(42, "object", "") // 42 objects
-english.Plural(2, "bus", "") // 2 buses
-english.Plural(99, "locus", "loci") // 99 loci
-```
-
-### Word series
-
-Format comma-separated words lists with conjuctions:
-
-```go
-english.WordSeries([]string{"foo"}, "and") // foo
-english.WordSeries([]string{"foo", "bar"}, "and") // foo and bar
-english.WordSeries([]string{"foo", "bar", "baz"}, "and") // foo, bar and baz
-
-english.OxfordWordSeries([]string{"foo", "bar", "baz"}, "and") // foo, bar, and baz
-```
-
-[odisc]: https://groups.google.com/d/topic/golang-nuts/l8NhI74jl-4/discussion
-[sinotation]: http://en.wikipedia.org/wiki/Metric_prefix
diff --git a/vendor/github.com/dustin/go-humanize/big.go b/vendor/github.com/dustin/go-humanize/big.go
deleted file mode 100644
index f49dc337dc..0000000000
--- a/vendor/github.com/dustin/go-humanize/big.go
+++ /dev/null
@@ -1,31 +0,0 @@
-package humanize
-
-import (
- "math/big"
-)
-
-// order of magnitude (to a max order)
-func oomm(n, b *big.Int, maxmag int) (float64, int) {
- mag := 0
- m := &big.Int{}
- for n.Cmp(b) >= 0 {
- n.DivMod(n, b, m)
- mag++
- if mag == maxmag && maxmag >= 0 {
- break
- }
- }
- return float64(n.Int64()) + (float64(m.Int64()) / float64(b.Int64())), mag
-}
-
-// total order of magnitude
-// (same as above, but with no upper limit)
-func oom(n, b *big.Int) (float64, int) {
- mag := 0
- m := &big.Int{}
- for n.Cmp(b) >= 0 {
- n.DivMod(n, b, m)
- mag++
- }
- return float64(n.Int64()) + (float64(m.Int64()) / float64(b.Int64())), mag
-}
diff --git a/vendor/github.com/dustin/go-humanize/bigbytes.go b/vendor/github.com/dustin/go-humanize/bigbytes.go
deleted file mode 100644
index 1a2bf61723..0000000000
--- a/vendor/github.com/dustin/go-humanize/bigbytes.go
+++ /dev/null
@@ -1,173 +0,0 @@
-package humanize
-
-import (
- "fmt"
- "math/big"
- "strings"
- "unicode"
-)
-
-var (
- bigIECExp = big.NewInt(1024)
-
- // BigByte is one byte in bit.Ints
- BigByte = big.NewInt(1)
- // BigKiByte is 1,024 bytes in bit.Ints
- BigKiByte = (&big.Int{}).Mul(BigByte, bigIECExp)
- // BigMiByte is 1,024 k bytes in bit.Ints
- BigMiByte = (&big.Int{}).Mul(BigKiByte, bigIECExp)
- // BigGiByte is 1,024 m bytes in bit.Ints
- BigGiByte = (&big.Int{}).Mul(BigMiByte, bigIECExp)
- // BigTiByte is 1,024 g bytes in bit.Ints
- BigTiByte = (&big.Int{}).Mul(BigGiByte, bigIECExp)
- // BigPiByte is 1,024 t bytes in bit.Ints
- BigPiByte = (&big.Int{}).Mul(BigTiByte, bigIECExp)
- // BigEiByte is 1,024 p bytes in bit.Ints
- BigEiByte = (&big.Int{}).Mul(BigPiByte, bigIECExp)
- // BigZiByte is 1,024 e bytes in bit.Ints
- BigZiByte = (&big.Int{}).Mul(BigEiByte, bigIECExp)
- // BigYiByte is 1,024 z bytes in bit.Ints
- BigYiByte = (&big.Int{}).Mul(BigZiByte, bigIECExp)
-)
-
-var (
- bigSIExp = big.NewInt(1000)
-
- // BigSIByte is one SI byte in big.Ints
- BigSIByte = big.NewInt(1)
- // BigKByte is 1,000 SI bytes in big.Ints
- BigKByte = (&big.Int{}).Mul(BigSIByte, bigSIExp)
- // BigMByte is 1,000 SI k bytes in big.Ints
- BigMByte = (&big.Int{}).Mul(BigKByte, bigSIExp)
- // BigGByte is 1,000 SI m bytes in big.Ints
- BigGByte = (&big.Int{}).Mul(BigMByte, bigSIExp)
- // BigTByte is 1,000 SI g bytes in big.Ints
- BigTByte = (&big.Int{}).Mul(BigGByte, bigSIExp)
- // BigPByte is 1,000 SI t bytes in big.Ints
- BigPByte = (&big.Int{}).Mul(BigTByte, bigSIExp)
- // BigEByte is 1,000 SI p bytes in big.Ints
- BigEByte = (&big.Int{}).Mul(BigPByte, bigSIExp)
- // BigZByte is 1,000 SI e bytes in big.Ints
- BigZByte = (&big.Int{}).Mul(BigEByte, bigSIExp)
- // BigYByte is 1,000 SI z bytes in big.Ints
- BigYByte = (&big.Int{}).Mul(BigZByte, bigSIExp)
-)
-
-var bigBytesSizeTable = map[string]*big.Int{
- "b": BigByte,
- "kib": BigKiByte,
- "kb": BigKByte,
- "mib": BigMiByte,
- "mb": BigMByte,
- "gib": BigGiByte,
- "gb": BigGByte,
- "tib": BigTiByte,
- "tb": BigTByte,
- "pib": BigPiByte,
- "pb": BigPByte,
- "eib": BigEiByte,
- "eb": BigEByte,
- "zib": BigZiByte,
- "zb": BigZByte,
- "yib": BigYiByte,
- "yb": BigYByte,
- // Without suffix
- "": BigByte,
- "ki": BigKiByte,
- "k": BigKByte,
- "mi": BigMiByte,
- "m": BigMByte,
- "gi": BigGiByte,
- "g": BigGByte,
- "ti": BigTiByte,
- "t": BigTByte,
- "pi": BigPiByte,
- "p": BigPByte,
- "ei": BigEiByte,
- "e": BigEByte,
- "z": BigZByte,
- "zi": BigZiByte,
- "y": BigYByte,
- "yi": BigYiByte,
-}
-
-var ten = big.NewInt(10)
-
-func humanateBigBytes(s, base *big.Int, sizes []string) string {
- if s.Cmp(ten) < 0 {
- return fmt.Sprintf("%d B", s)
- }
- c := (&big.Int{}).Set(s)
- val, mag := oomm(c, base, len(sizes)-1)
- suffix := sizes[mag]
- f := "%.0f %s"
- if val < 10 {
- f = "%.1f %s"
- }
-
- return fmt.Sprintf(f, val, suffix)
-
-}
-
-// BigBytes produces a human readable representation of an SI size.
-//
-// See also: ParseBigBytes.
-//
-// BigBytes(82854982) -> 83 MB
-func BigBytes(s *big.Int) string {
- sizes := []string{"B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"}
- return humanateBigBytes(s, bigSIExp, sizes)
-}
-
-// BigIBytes produces a human readable representation of an IEC size.
-//
-// See also: ParseBigBytes.
-//
-// BigIBytes(82854982) -> 79 MiB
-func BigIBytes(s *big.Int) string {
- sizes := []string{"B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"}
- return humanateBigBytes(s, bigIECExp, sizes)
-}
-
-// ParseBigBytes parses a string representation of bytes into the number
-// of bytes it represents.
-//
-// See also: BigBytes, BigIBytes.
-//
-// ParseBigBytes("42 MB") -> 42000000, nil
-// ParseBigBytes("42 mib") -> 44040192, nil
-func ParseBigBytes(s string) (*big.Int, error) {
- lastDigit := 0
- hasComma := false
- for _, r := range s {
- if !(unicode.IsDigit(r) || r == '.' || r == ',') {
- break
- }
- if r == ',' {
- hasComma = true
- }
- lastDigit++
- }
-
- num := s[:lastDigit]
- if hasComma {
- num = strings.Replace(num, ",", "", -1)
- }
-
- val := &big.Rat{}
- _, err := fmt.Sscanf(num, "%f", val)
- if err != nil {
- return nil, err
- }
-
- extra := strings.ToLower(strings.TrimSpace(s[lastDigit:]))
- if m, ok := bigBytesSizeTable[extra]; ok {
- mv := (&big.Rat{}).SetInt(m)
- val.Mul(val, mv)
- rv := &big.Int{}
- rv.Div(val.Num(), val.Denom())
- return rv, nil
- }
-
- return nil, fmt.Errorf("unhandled size name: %v", extra)
-}
diff --git a/vendor/github.com/dustin/go-humanize/bytes.go b/vendor/github.com/dustin/go-humanize/bytes.go
deleted file mode 100644
index 0b498f4885..0000000000
--- a/vendor/github.com/dustin/go-humanize/bytes.go
+++ /dev/null
@@ -1,143 +0,0 @@
-package humanize
-
-import (
- "fmt"
- "math"
- "strconv"
- "strings"
- "unicode"
-)
-
-// IEC Sizes.
-// kibis of bits
-const (
- Byte = 1 << (iota * 10)
- KiByte
- MiByte
- GiByte
- TiByte
- PiByte
- EiByte
-)
-
-// SI Sizes.
-const (
- IByte = 1
- KByte = IByte * 1000
- MByte = KByte * 1000
- GByte = MByte * 1000
- TByte = GByte * 1000
- PByte = TByte * 1000
- EByte = PByte * 1000
-)
-
-var bytesSizeTable = map[string]uint64{
- "b": Byte,
- "kib": KiByte,
- "kb": KByte,
- "mib": MiByte,
- "mb": MByte,
- "gib": GiByte,
- "gb": GByte,
- "tib": TiByte,
- "tb": TByte,
- "pib": PiByte,
- "pb": PByte,
- "eib": EiByte,
- "eb": EByte,
- // Without suffix
- "": Byte,
- "ki": KiByte,
- "k": KByte,
- "mi": MiByte,
- "m": MByte,
- "gi": GiByte,
- "g": GByte,
- "ti": TiByte,
- "t": TByte,
- "pi": PiByte,
- "p": PByte,
- "ei": EiByte,
- "e": EByte,
-}
-
-func logn(n, b float64) float64 {
- return math.Log(n) / math.Log(b)
-}
-
-func humanateBytes(s uint64, base float64, sizes []string) string {
- if s < 10 {
- return fmt.Sprintf("%d B", s)
- }
- e := math.Floor(logn(float64(s), base))
- suffix := sizes[int(e)]
- val := math.Floor(float64(s)/math.Pow(base, e)*10+0.5) / 10
- f := "%.0f %s"
- if val < 10 {
- f = "%.1f %s"
- }
-
- return fmt.Sprintf(f, val, suffix)
-}
-
-// Bytes produces a human readable representation of an SI size.
-//
-// See also: ParseBytes.
-//
-// Bytes(82854982) -> 83 MB
-func Bytes(s uint64) string {
- sizes := []string{"B", "kB", "MB", "GB", "TB", "PB", "EB"}
- return humanateBytes(s, 1000, sizes)
-}
-
-// IBytes produces a human readable representation of an IEC size.
-//
-// See also: ParseBytes.
-//
-// IBytes(82854982) -> 79 MiB
-func IBytes(s uint64) string {
- sizes := []string{"B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"}
- return humanateBytes(s, 1024, sizes)
-}
-
-// ParseBytes parses a string representation of bytes into the number
-// of bytes it represents.
-//
-// See Also: Bytes, IBytes.
-//
-// ParseBytes("42 MB") -> 42000000, nil
-// ParseBytes("42 mib") -> 44040192, nil
-func ParseBytes(s string) (uint64, error) {
- lastDigit := 0
- hasComma := false
- for _, r := range s {
- if !(unicode.IsDigit(r) || r == '.' || r == ',') {
- break
- }
- if r == ',' {
- hasComma = true
- }
- lastDigit++
- }
-
- num := s[:lastDigit]
- if hasComma {
- num = strings.Replace(num, ",", "", -1)
- }
-
- f, err := strconv.ParseFloat(num, 64)
- if err != nil {
- return 0, err
- }
-
- extra := strings.ToLower(strings.TrimSpace(s[lastDigit:]))
- if m, ok := bytesSizeTable[extra]; ok {
- f *= float64(m)
- if f >= math.MaxUint64 {
- return 0, fmt.Errorf("too large: %v", s)
- }
- return uint64(f), nil
- }
-
- return 0, fmt.Errorf("unhandled size name: %v", extra)
-}
diff --git a/vendor/github.com/dustin/go-humanize/comma.go b/vendor/github.com/dustin/go-humanize/comma.go
deleted file mode 100644
index 520ae3e57d..0000000000
--- a/vendor/github.com/dustin/go-humanize/comma.go
+++ /dev/null
@@ -1,116 +0,0 @@
-package humanize
-
-import (
- "bytes"
- "math"
- "math/big"
- "strconv"
- "strings"
-)
-
-// Comma produces a string form of the given number in base 10 with
-// commas after every three orders of magnitude.
-//
-// e.g. Comma(834142) -> 834,142
-func Comma(v int64) string {
- sign := ""
-
- // Min int64 can't be negated to a usable value, so it has to be special cased.
- if v == math.MinInt64 {
- return "-9,223,372,036,854,775,808"
- }
-
- if v < 0 {
- sign = "-"
- v = 0 - v
- }
-
- parts := []string{"", "", "", "", "", "", ""}
- j := len(parts) - 1
-
- for v > 999 {
- parts[j] = strconv.FormatInt(v%1000, 10)
- switch len(parts[j]) {
- case 2:
- parts[j] = "0" + parts[j]
- case 1:
- parts[j] = "00" + parts[j]
- }
- v = v / 1000
- j--
- }
- parts[j] = strconv.Itoa(int(v))
- return sign + strings.Join(parts[j:], ",")
-}
-
-// Commaf produces a string form of the given number in base 10 with
-// commas after every three orders of magnitude.
-//
-// e.g. Commaf(834142.32) -> 834,142.32
-func Commaf(v float64) string {
- buf := &bytes.Buffer{}
- if v < 0 {
- buf.Write([]byte{'-'})
- v = 0 - v
- }
-
- comma := []byte{','}
-
- parts := strings.Split(strconv.FormatFloat(v, 'f', -1, 64), ".")
- pos := 0
- if len(parts[0])%3 != 0 {
- pos += len(parts[0]) % 3
- buf.WriteString(parts[0][:pos])
- buf.Write(comma)
- }
- for ; pos < len(parts[0]); pos += 3 {
- buf.WriteString(parts[0][pos : pos+3])
- buf.Write(comma)
- }
- buf.Truncate(buf.Len() - 1)
-
- if len(parts) > 1 {
- buf.Write([]byte{'.'})
- buf.WriteString(parts[1])
- }
- return buf.String()
-}
-
-// CommafWithDigits works like the Commaf but limits the resulting
-// string to the given number of decimal places.
-//
-// e.g. CommafWithDigits(834142.32, 1) -> 834,142.3
-func CommafWithDigits(f float64, decimals int) string {
- return stripTrailingDigits(Commaf(f), decimals)
-}
-
-// BigComma produces a string form of the given big.Int in base 10
-// with commas after every three orders of magnitude.
-func BigComma(b *big.Int) string {
- sign := ""
- if b.Sign() < 0 {
- sign = "-"
- b.Abs(b)
- }
-
- athousand := big.NewInt(1000)
- c := (&big.Int{}).Set(b)
- _, m := oom(c, athousand)
- parts := make([]string, m+1)
- j := len(parts) - 1
-
- mod := &big.Int{}
- for b.Cmp(athousand) >= 0 {
- b.DivMod(b, athousand, mod)
- parts[j] = strconv.FormatInt(mod.Int64(), 10)
- switch len(parts[j]) {
- case 2:
- parts[j] = "0" + parts[j]
- case 1:
- parts[j] = "00" + parts[j]
- }
- j--
- }
- parts[j] = strconv.Itoa(int(b.Int64()))
- return sign + strings.Join(parts[j:], ",")
-}
diff --git a/vendor/github.com/dustin/go-humanize/commaf.go b/vendor/github.com/dustin/go-humanize/commaf.go
deleted file mode 100644
index 620690dec7..0000000000
--- a/vendor/github.com/dustin/go-humanize/commaf.go
+++ /dev/null
@@ -1,40 +0,0 @@
-// +build go1.6
-
-package humanize
-
-import (
- "bytes"
- "math/big"
- "strings"
-)
-
-// BigCommaf produces a string form of the given big.Float in base 10
-// with commas after every three orders of magnitude.
-func BigCommaf(v *big.Float) string {
- buf := &bytes.Buffer{}
- if v.Sign() < 0 {
- buf.Write([]byte{'-'})
- v.Abs(v)
- }
-
- comma := []byte{','}
-
- parts := strings.Split(v.Text('f', -1), ".")
- pos := 0
- if len(parts[0])%3 != 0 {
- pos += len(parts[0]) % 3
- buf.WriteString(parts[0][:pos])
- buf.Write(comma)
- }
- for ; pos < len(parts[0]); pos += 3 {
- buf.WriteString(parts[0][pos : pos+3])
- buf.Write(comma)
- }
- buf.Truncate(buf.Len() - 1)
-
- if len(parts) > 1 {
- buf.Write([]byte{'.'})
- buf.WriteString(parts[1])
- }
- return buf.String()
-}
diff --git a/vendor/github.com/dustin/go-humanize/ftoa.go b/vendor/github.com/dustin/go-humanize/ftoa.go
deleted file mode 100644
index 1c62b640d4..0000000000
--- a/vendor/github.com/dustin/go-humanize/ftoa.go
+++ /dev/null
@@ -1,46 +0,0 @@
-package humanize
-
-import (
- "strconv"
- "strings"
-)
-
-func stripTrailingZeros(s string) string {
- offset := len(s) - 1
- for offset > 0 {
- if s[offset] == '.' {
- offset--
- break
- }
- if s[offset] != '0' {
- break
- }
- offset--
- }
- return s[:offset+1]
-}
-
-func stripTrailingDigits(s string, digits int) string {
- if i := strings.Index(s, "."); i >= 0 {
- if digits <= 0 {
- return s[:i]
- }
- i++
- if i+digits >= len(s) {
- return s
- }
- return s[:i+digits]
- }
- return s
-}
-
-// Ftoa converts a float to a string with no trailing zeros.
-func Ftoa(num float64) string {
- return stripTrailingZeros(strconv.FormatFloat(num, 'f', 6, 64))
-}
-
-// FtoaWithDigits converts a float to a string but limits the resulting string
-// to the given number of decimal places, and no trailing zeros.
-func FtoaWithDigits(num float64, digits int) string {
- return stripTrailingZeros(stripTrailingDigits(strconv.FormatFloat(num, 'f', 6, 64), digits))
-}
diff --git a/vendor/github.com/dustin/go-humanize/humanize.go b/vendor/github.com/dustin/go-humanize/humanize.go
deleted file mode 100644
index a2c2da31ef..0000000000
--- a/vendor/github.com/dustin/go-humanize/humanize.go
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-Package humanize converts boring ugly numbers to human-friendly strings and back.
-
-Durations can be turned into strings such as "3 days ago", numbers
-representing sizes like 82854982 into useful strings like, "83 MB" or
-"79 MiB" (whichever you prefer).
-*/
-package humanize
diff --git a/vendor/github.com/dustin/go-humanize/number.go b/vendor/github.com/dustin/go-humanize/number.go
deleted file mode 100644
index dec6186599..0000000000
--- a/vendor/github.com/dustin/go-humanize/number.go
+++ /dev/null
@@ -1,192 +0,0 @@
-package humanize
-
-/*
-Slightly adapted from the source to fit go-humanize.
-
-Author: https://github.com/gorhill
-Source: https://gist.github.com/gorhill/5285193
-
-*/
-
-import (
- "math"
- "strconv"
-)
-
-var (
- renderFloatPrecisionMultipliers = [...]float64{
- 1,
- 10,
- 100,
- 1000,
- 10000,
- 100000,
- 1000000,
- 10000000,
- 100000000,
- 1000000000,
- }
-
- renderFloatPrecisionRounders = [...]float64{
- 0.5,
- 0.05,
- 0.005,
- 0.0005,
- 0.00005,
- 0.000005,
- 0.0000005,
- 0.00000005,
- 0.000000005,
- 0.0000000005,
- }
-)
-
-// FormatFloat produces a formatted number as string based on the following user-specified criteria:
-// * thousands separator
-// * decimal separator
-// * decimal precision
-//
-// Usage: s := RenderFloat(format, n)
-// The format parameter tells how to render the number n.
-//
-// See examples: http://play.golang.org/p/LXc1Ddm1lJ
-//
-// Examples of format strings, given n = 12345.6789:
-// "#,###.##" => "12,345.67"
-// "#,###." => "12,345"
-// "#,###" => "12345,678"
-// "#\u202F###,##" => "12 345,68"
-// "#.###,###### => 12.345,678900
-// "" (aka default format) => 12,345.67
-//
-// The highest precision allowed is 9 digits after the decimal symbol.
-// There is also a version for integer number, FormatInteger(),
-// which is convenient for calls within template.
-func FormatFloat(format string, n float64) string {
- // Special cases:
- // NaN = "NaN"
- // +Inf = "+Infinity"
- // -Inf = "-Infinity"
- if math.IsNaN(n) {
- return "NaN"
- }
- if n > math.MaxFloat64 {
- return "Infinity"
- }
- if n < -math.MaxFloat64 {
- return "-Infinity"
- }
-
- // default format
- precision := 2
- decimalStr := "."
- thousandStr := ","
- positiveStr := ""
- negativeStr := "-"
-
- if len(format) > 0 {
- format := []rune(format)
-
- // If there is an explicit format directive,
- // then default values are these:
- precision = 9
- thousandStr = ""
-
- // collect indices of meaningful formatting directives
- formatIndx := []int{}
- for i, char := range format {
- if char != '#' && char != '0' {
- formatIndx = append(formatIndx, i)
- }
- }
-
- if len(formatIndx) > 0 {
- // Directive at index 0:
- // Must be a '+'
- // Raise an error if not the case
- // index: 0123456789
- // +0.000,000
- // +000,000.0
- // +0000.00
- // +0000
- if formatIndx[0] == 0 {
- if format[formatIndx[0]] != '+' {
- panic("RenderFloat(): invalid positive sign directive")
- }
- positiveStr = "+"
- formatIndx = formatIndx[1:]
- }
-
- // Two directives:
- // First is thousands separator
- // Raise an error if not followed by 3-digit
- // 0123456789
- // 0.000,000
- // 000,000.00
- if len(formatIndx) == 2 {
- if (formatIndx[1] - formatIndx[0]) != 4 {
- panic("RenderFloat(): thousands separator directive must be followed by 3 digit-specifiers")
- }
- thousandStr = string(format[formatIndx[0]])
- formatIndx = formatIndx[1:]
- }
-
- // One directive:
- // Directive is decimal separator
- // The number of digit-specifier following the separator indicates wanted precision
- // 0123456789
- // 0.00
- // 000,0000
- if len(formatIndx) == 1 {
- decimalStr = string(format[formatIndx[0]])
- precision = len(format) - formatIndx[0] - 1
- }
- }
- }
-
- // generate sign part
- var signStr string
- if n >= 0.000000001 {
- signStr = positiveStr
- } else if n <= -0.000000001 {
- signStr = negativeStr
- n = -n
- } else {
- signStr = ""
- n = 0.0
- }
-
- // split number into integer and fractional parts
- intf, fracf := math.Modf(n + renderFloatPrecisionRounders[precision])
-
- // generate integer part string
- intStr := strconv.FormatInt(int64(intf), 10)
-
- // add thousand separator if required
- if len(thousandStr) > 0 {
- for i := len(intStr); i > 3; {
- i -= 3
- intStr = intStr[:i] + thousandStr + intStr[i:]
- }
- }
-
- // no fractional part, we can leave now
- if precision == 0 {
- return signStr + intStr
- }
-
- // generate fractional part
- fracStr := strconv.Itoa(int(fracf * renderFloatPrecisionMultipliers[precision]))
- // may need padding
- if len(fracStr) < precision {
- fracStr = "000000000000000"[:precision-len(fracStr)] + fracStr
- }
-
- return signStr + intStr + decimalStr + fracStr
-}
-
-// FormatInteger produces a formatted number as string.
-// See FormatFloat.
-func FormatInteger(format string, n int) string {
- return FormatFloat(format, float64(n))
-}
diff --git a/vendor/github.com/dustin/go-humanize/ordinals.go b/vendor/github.com/dustin/go-humanize/ordinals.go
deleted file mode 100644
index 43d88a8619..0000000000
--- a/vendor/github.com/dustin/go-humanize/ordinals.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package humanize
-
-import "strconv"
-
-// Ordinal gives you the input number in a rank/ordinal format.
-//
-// Ordinal(3) -> 3rd
-func Ordinal(x int) string {
- suffix := "th"
- switch x % 10 {
- case 1:
- if x%100 != 11 {
- suffix = "st"
- }
- case 2:
- if x%100 != 12 {
- suffix = "nd"
- }
- case 3:
- if x%100 != 13 {
- suffix = "rd"
- }
- }
- return strconv.Itoa(x) + suffix
-}
diff --git a/vendor/github.com/dustin/go-humanize/si.go b/vendor/github.com/dustin/go-humanize/si.go
deleted file mode 100644
index ae659e0e49..0000000000
--- a/vendor/github.com/dustin/go-humanize/si.go
+++ /dev/null
@@ -1,123 +0,0 @@
-package humanize
-
-import (
- "errors"
- "math"
- "regexp"
- "strconv"
-)
-
-var siPrefixTable = map[float64]string{
- -24: "y", // yocto
- -21: "z", // zepto
- -18: "a", // atto
- -15: "f", // femto
- -12: "p", // pico
- -9: "n", // nano
- -6: "µ", // micro
- -3: "m", // milli
- 0: "",
- 3: "k", // kilo
- 6: "M", // mega
- 9: "G", // giga
- 12: "T", // tera
- 15: "P", // peta
- 18: "E", // exa
- 21: "Z", // zetta
- 24: "Y", // yotta
-}
-
-var revSIPrefixTable = revfmap(siPrefixTable)
-
-// revfmap reverses the map and precomputes the power multiplier
-func revfmap(in map[float64]string) map[string]float64 {
- rv := map[string]float64{}
- for k, v := range in {
- rv[v] = math.Pow(10, k)
- }
- return rv
-}
-
-var riParseRegex *regexp.Regexp
-
-func init() {
- ri := `^([\-0-9.]+)\s?([`
- for _, v := range siPrefixTable {
- ri += v
- }
- ri += `]?)(.*)`
-
- riParseRegex = regexp.MustCompile(ri)
-}
-
-// ComputeSI finds the most appropriate SI prefix for the given number
-// and returns the prefix along with the value adjusted to be within
-// that prefix.
-//
-// See also: SI, ParseSI.
-//
-// e.g. ComputeSI(2.2345e-12) -> (2.2345, "p")
-func ComputeSI(input float64) (float64, string) {
- if input == 0 {
- return 0, ""
- }
- mag := math.Abs(input)
- exponent := math.Floor(logn(mag, 10))
- exponent = math.Floor(exponent/3) * 3
-
- value := mag / math.Pow(10, exponent)
-
- // Handle special case where value is exactly 1000.0
- // Should return 1 M instead of 1000 k
- if value == 1000.0 {
- exponent += 3
- value = mag / math.Pow(10, exponent)
- }
-
- value = math.Copysign(value, input)
-
- prefix := siPrefixTable[exponent]
- return value, prefix
-}
-
-// SI returns a string with default formatting.
-//
-// SI uses Ftoa to format float value, removing trailing zeros.
-//
-// See also: ComputeSI, ParseSI.
-//
-// e.g. SI(1000000, "B") -> 1 MB
-// e.g. SI(2.2345e-12, "F") -> 2.2345 pF
-func SI(input float64, unit string) string {
- value, prefix := ComputeSI(input)
- return Ftoa(value) + " " + prefix + unit
-}
-
-// SIWithDigits works like SI but limits the resulting string to the
-// given number of decimal places.
-//
-// e.g. SIWithDigits(1000000, 0, "B") -> 1 MB
-// e.g. SIWithDigits(2.2345e-12, 2, "F") -> 2.23 pF
-func SIWithDigits(input float64, decimals int, unit string) string {
- value, prefix := ComputeSI(input)
- return FtoaWithDigits(value, decimals) + " " + prefix + unit
-}
-
-var errInvalid = errors.New("invalid input")
-
-// ParseSI parses an SI string back into the number and unit.
-//
-// See also: SI, ComputeSI.
-//
-// e.g. ParseSI("2.2345 pF") -> (2.2345e-12, "F", nil)
-func ParseSI(input string) (float64, string, error) {
- found := riParseRegex.FindStringSubmatch(input)
- if len(found) != 4 {
- return 0, "", errInvalid
- }
- mag := revSIPrefixTable[found[2]]
- unit := found[3]
-
- base, err := strconv.ParseFloat(found[1], 64)
- return base * mag, unit, err
-}
diff --git a/vendor/github.com/dustin/go-humanize/times.go b/vendor/github.com/dustin/go-humanize/times.go
deleted file mode 100644
index dd3fbf5efc..0000000000
--- a/vendor/github.com/dustin/go-humanize/times.go
+++ /dev/null
@@ -1,117 +0,0 @@
-package humanize
-
-import (
- "fmt"
- "math"
- "sort"
- "time"
-)
-
-// Seconds-based time units
-const (
- Day = 24 * time.Hour
- Week = 7 * Day
- Month = 30 * Day
- Year = 12 * Month
- LongTime = 37 * Year
-)
-
-// Time formats a time into a relative string.
-//
-// Time(someT) -> "3 weeks ago"
-func Time(then time.Time) string {
- return RelTime(then, time.Now(), "ago", "from now")
-}
-
-// A RelTimeMagnitude struct contains a relative time point at which
-// the relative format of time will switch to a new format string. A
-// slice of these in ascending order by their "D" field is passed to
-// CustomRelTime to format durations.
-//
-// The Format field is a string that may contain a "%s" which will be
-// replaced with the appropriate signed label (e.g. "ago" or "from
-// now") and a "%d" that will be replaced by the quantity.
-//
-// The DivBy field is the amount of time the time difference must be
-// divided by in order to display correctly.
-//
-// e.g. if D is 2*time.Minute and you want to display "%d minutes %s"
-// DivBy should be time.Minute so whatever the duration is will be
-// expressed in minutes.
-type RelTimeMagnitude struct {
- D time.Duration
- Format string
- DivBy time.Duration
-}
-
-var defaultMagnitudes = []RelTimeMagnitude{
- {time.Second, "now", time.Second},
- {2 * time.Second, "1 second %s", 1},
- {time.Minute, "%d seconds %s", time.Second},
- {2 * time.Minute, "1 minute %s", 1},
- {time.Hour, "%d minutes %s", time.Minute},
- {2 * time.Hour, "1 hour %s", 1},
- {Day, "%d hours %s", time.Hour},
- {2 * Day, "1 day %s", 1},
- {Week, "%d days %s", Day},
- {2 * Week, "1 week %s", 1},
- {Month, "%d weeks %s", Week},
- {2 * Month, "1 month %s", 1},
- {Year, "%d months %s", Month},
- {18 * Month, "1 year %s", 1},
- {2 * Year, "2 years %s", 1},
- {LongTime, "%d years %s", Year},
- {math.MaxInt64, "a long while %s", 1},
-}
-
-// RelTime formats a time into a relative string.
-//
-// It takes two times and two labels. In addition to the generic time
-// delta string (e.g. 5 minutes), the labels are used applied so that
-// the label corresponding to the smaller time is applied.
-//
-// RelTime(timeInPast, timeInFuture, "earlier", "later") -> "3 weeks earlier"
-func RelTime(a, b time.Time, albl, blbl string) string {
- return CustomRelTime(a, b, albl, blbl, defaultMagnitudes)
-}
-
-// CustomRelTime formats a time into a relative string.
-//
-// It takes two times two labels and a table of relative time formats.
-// In addition to the generic time delta string (e.g. 5 minutes), the
-// labels are used applied so that the label corresponding to the
-// smaller time is applied.
-func CustomRelTime(a, b time.Time, albl, blbl string, magnitudes []RelTimeMagnitude) string {
- lbl := albl
- diff := b.Sub(a)
-
- if a.After(b) {
- lbl = blbl
- diff = a.Sub(b)
- }
-
- n := sort.Search(len(magnitudes), func(i int) bool {
- return magnitudes[i].D > diff
- })
-
- if n >= len(magnitudes) {
- n = len(magnitudes) - 1
- }
- mag := magnitudes[n]
- args := []interface{}{}
- escaped := false
- for _, ch := range mag.Format {
- if escaped {
- switch ch {
- case 's':
- args = append(args, lbl)
- case 'd':
- args = append(args, diff/mag.DivBy)
- }
- escaped = false
- } else {
- escaped = ch == '%'
- }
- }
- return fmt.Sprintf(mag.Format, args...)
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/LICENSE b/vendor/github.com/envoyproxy/go-control-plane/LICENSE
deleted file mode 100644
index 8dada3edaf..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- 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.
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.go
deleted file mode 100644
index 01d655cc2b..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.go
+++ /dev/null
@@ -1,606 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/certs.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Proto representation of certificate details. Admin endpoint uses this wrapper for `/certs` to
-// display certificate information. See :ref:`/certs ` for more
-// information.
-type Certificates struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // List of certificates known to an Envoy.
- Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
-}
-
-func (x *Certificates) Reset() {
- *x = Certificates{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Certificates) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Certificates) ProtoMessage() {}
-
-func (x *Certificates) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Certificates.ProtoReflect.Descriptor instead.
-func (*Certificates) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Certificates) GetCertificates() []*Certificate {
- if x != nil {
- return x.Certificates
- }
- return nil
-}
-
-type Certificate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Details of CA certificate.
- CaCert []*CertificateDetails `protobuf:"bytes,1,rep,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
- // Details of Certificate Chain
- CertChain []*CertificateDetails `protobuf:"bytes,2,rep,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
-}
-
-func (x *Certificate) Reset() {
- *x = Certificate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Certificate) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Certificate) ProtoMessage() {}
-
-func (x *Certificate) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
-func (*Certificate) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Certificate) GetCaCert() []*CertificateDetails {
- if x != nil {
- return x.CaCert
- }
- return nil
-}
-
-func (x *Certificate) GetCertChain() []*CertificateDetails {
- if x != nil {
- return x.CertChain
- }
- return nil
-}
-
-// [#next-free-field: 8]
-type CertificateDetails struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Path of the certificate.
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- // Certificate Serial Number.
- SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
- // List of Subject Alternate names.
- SubjectAltNames []*SubjectAlternateName `protobuf:"bytes,3,rep,name=subject_alt_names,json=subjectAltNames,proto3" json:"subject_alt_names,omitempty"`
- // Minimum of days until expiration of certificate and it's chain.
- DaysUntilExpiration uint64 `protobuf:"varint,4,opt,name=days_until_expiration,json=daysUntilExpiration,proto3" json:"days_until_expiration,omitempty"`
- // Indicates the time from which the certificate is valid.
- ValidFrom *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"`
- // Indicates the time at which the certificate expires.
- ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
- // Details related to the OCSP response associated with this certificate, if any.
- OcspDetails *CertificateDetails_OcspDetails `protobuf:"bytes,7,opt,name=ocsp_details,json=ocspDetails,proto3" json:"ocsp_details,omitempty"`
-}
-
-func (x *CertificateDetails) Reset() {
- *x = CertificateDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CertificateDetails) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CertificateDetails) ProtoMessage() {}
-
-func (x *CertificateDetails) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CertificateDetails.ProtoReflect.Descriptor instead.
-func (*CertificateDetails) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *CertificateDetails) GetPath() string {
- if x != nil {
- return x.Path
- }
- return ""
-}
-
-func (x *CertificateDetails) GetSerialNumber() string {
- if x != nil {
- return x.SerialNumber
- }
- return ""
-}
-
-func (x *CertificateDetails) GetSubjectAltNames() []*SubjectAlternateName {
- if x != nil {
- return x.SubjectAltNames
- }
- return nil
-}
-
-func (x *CertificateDetails) GetDaysUntilExpiration() uint64 {
- if x != nil {
- return x.DaysUntilExpiration
- }
- return 0
-}
-
-func (x *CertificateDetails) GetValidFrom() *timestamp.Timestamp {
- if x != nil {
- return x.ValidFrom
- }
- return nil
-}
-
-func (x *CertificateDetails) GetExpirationTime() *timestamp.Timestamp {
- if x != nil {
- return x.ExpirationTime
- }
- return nil
-}
-
-func (x *CertificateDetails) GetOcspDetails() *CertificateDetails_OcspDetails {
- if x != nil {
- return x.OcspDetails
- }
- return nil
-}
-
-type SubjectAlternateName struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Subject Alternate Name.
- //
- // Types that are assignable to Name:
- // *SubjectAlternateName_Dns
- // *SubjectAlternateName_Uri
- // *SubjectAlternateName_IpAddress
- Name isSubjectAlternateName_Name `protobuf_oneof:"name"`
-}
-
-func (x *SubjectAlternateName) Reset() {
- *x = SubjectAlternateName{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SubjectAlternateName) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SubjectAlternateName) ProtoMessage() {}
-
-func (x *SubjectAlternateName) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SubjectAlternateName.ProtoReflect.Descriptor instead.
-func (*SubjectAlternateName) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{3}
-}
-
-func (m *SubjectAlternateName) GetName() isSubjectAlternateName_Name {
- if m != nil {
- return m.Name
- }
- return nil
-}
-
-func (x *SubjectAlternateName) GetDns() string {
- if x, ok := x.GetName().(*SubjectAlternateName_Dns); ok {
- return x.Dns
- }
- return ""
-}
-
-func (x *SubjectAlternateName) GetUri() string {
- if x, ok := x.GetName().(*SubjectAlternateName_Uri); ok {
- return x.Uri
- }
- return ""
-}
-
-func (x *SubjectAlternateName) GetIpAddress() string {
- if x, ok := x.GetName().(*SubjectAlternateName_IpAddress); ok {
- return x.IpAddress
- }
- return ""
-}
-
-type isSubjectAlternateName_Name interface {
- isSubjectAlternateName_Name()
-}
-
-type SubjectAlternateName_Dns struct {
- Dns string `protobuf:"bytes,1,opt,name=dns,proto3,oneof"`
-}
-
-type SubjectAlternateName_Uri struct {
- Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
-}
-
-type SubjectAlternateName_IpAddress struct {
- IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3,oneof"`
-}
-
-func (*SubjectAlternateName_Dns) isSubjectAlternateName_Name() {}
-
-func (*SubjectAlternateName_Uri) isSubjectAlternateName_Name() {}
-
-func (*SubjectAlternateName_IpAddress) isSubjectAlternateName_Name() {}
-
-type CertificateDetails_OcspDetails struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Indicates the time from which the OCSP response is valid.
- ValidFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"`
- // Indicates the time at which the OCSP response expires.
- Expiration *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
-}
-
-func (x *CertificateDetails_OcspDetails) Reset() {
- *x = CertificateDetails_OcspDetails{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CertificateDetails_OcspDetails) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CertificateDetails_OcspDetails) ProtoMessage() {}
-
-func (x *CertificateDetails_OcspDetails) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_certs_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CertificateDetails_OcspDetails.ProtoReflect.Descriptor instead.
-func (*CertificateDetails_OcspDetails) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_certs_proto_rawDescGZIP(), []int{2, 0}
-}
-
-func (x *CertificateDetails_OcspDetails) GetValidFrom() *timestamp.Timestamp {
- if x != nil {
- return x.ValidFrom
- }
- return nil
-}
-
-func (x *CertificateDetails_OcspDetails) GetExpiration() *timestamp.Timestamp {
- if x != nil {
- return x.Expiration
- }
- return nil
-}
-
-var File_envoy_admin_v3_certs_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_certs_proto_rawDesc = []byte{
- 0x0a, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64,
- 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0x78, 0x0a, 0x0c, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12,
- 0x3f, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x52, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73,
- 0x3a, 0x27, 0x9a, 0xc5, 0x88, 0x1e, 0x22, 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72,
- 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 0x43, 0x65,
- 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x61, 0x5f,
- 0x63, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74,
- 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x06,
- 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63,
- 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x65, 0x72, 0x74,
- 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x09,
- 0x63, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21,
- 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
- 0x65, 0x22, 0xdc, 0x04, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
- 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d,
- 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65,
- 0x72, 0x12, 0x50, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61,
- 0x6d, 0x65, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x4e, 0x61,
- 0x6d, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69,
- 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x79, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x45, 0x78, 0x70,
- 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64,
- 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x72,
- 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x6f, 0x63, 0x73, 0x70, 0x5f,
- 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43,
- 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
- 0x73, 0x2e, 0x4f, 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0b, 0x6f,
- 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x0b, 0x4f,
- 0x63, 0x73, 0x70, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x3a, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65,
- 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
- 0x22, 0x98, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x6e, 0x73,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x12, 0x0a,
- 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72,
- 0x69, 0x12, 0x1f, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
- 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4e,
- 0x61, 0x6d, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x73, 0x0a, 0x1c, 0x69,
- 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x43, 0x65, 0x72,
- 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_certs_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_certs_proto_rawDescData = file_envoy_admin_v3_certs_proto_rawDesc
-)
-
-func file_envoy_admin_v3_certs_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_certs_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_certs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_certs_proto_rawDescData)
- })
- return file_envoy_admin_v3_certs_proto_rawDescData
-}
-
-var file_envoy_admin_v3_certs_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
-var file_envoy_admin_v3_certs_proto_goTypes = []interface{}{
- (*Certificates)(nil), // 0: envoy.admin.v3.Certificates
- (*Certificate)(nil), // 1: envoy.admin.v3.Certificate
- (*CertificateDetails)(nil), // 2: envoy.admin.v3.CertificateDetails
- (*SubjectAlternateName)(nil), // 3: envoy.admin.v3.SubjectAlternateName
- (*CertificateDetails_OcspDetails)(nil), // 4: envoy.admin.v3.CertificateDetails.OcspDetails
- (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp
-}
-var file_envoy_admin_v3_certs_proto_depIdxs = []int32{
- 1, // 0: envoy.admin.v3.Certificates.certificates:type_name -> envoy.admin.v3.Certificate
- 2, // 1: envoy.admin.v3.Certificate.ca_cert:type_name -> envoy.admin.v3.CertificateDetails
- 2, // 2: envoy.admin.v3.Certificate.cert_chain:type_name -> envoy.admin.v3.CertificateDetails
- 3, // 3: envoy.admin.v3.CertificateDetails.subject_alt_names:type_name -> envoy.admin.v3.SubjectAlternateName
- 5, // 4: envoy.admin.v3.CertificateDetails.valid_from:type_name -> google.protobuf.Timestamp
- 5, // 5: envoy.admin.v3.CertificateDetails.expiration_time:type_name -> google.protobuf.Timestamp
- 4, // 6: envoy.admin.v3.CertificateDetails.ocsp_details:type_name -> envoy.admin.v3.CertificateDetails.OcspDetails
- 5, // 7: envoy.admin.v3.CertificateDetails.OcspDetails.valid_from:type_name -> google.protobuf.Timestamp
- 5, // 8: envoy.admin.v3.CertificateDetails.OcspDetails.expiration:type_name -> google.protobuf.Timestamp
- 9, // [9:9] is the sub-list for method output_type
- 9, // [9:9] is the sub-list for method input_type
- 9, // [9:9] is the sub-list for extension type_name
- 9, // [9:9] is the sub-list for extension extendee
- 0, // [0:9] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_certs_proto_init() }
-func file_envoy_admin_v3_certs_proto_init() {
- if File_envoy_admin_v3_certs_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_certs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Certificates); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_certs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Certificate); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_certs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CertificateDetails); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_certs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubjectAlternateName); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_certs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CertificateDetails_OcspDetails); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_admin_v3_certs_proto_msgTypes[3].OneofWrappers = []interface{}{
- (*SubjectAlternateName_Dns)(nil),
- (*SubjectAlternateName_Uri)(nil),
- (*SubjectAlternateName_IpAddress)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_certs_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 5,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_certs_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_certs_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_certs_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_certs_proto = out.File
- file_envoy_admin_v3_certs_proto_rawDesc = nil
- file_envoy_admin_v3_certs_proto_goTypes = nil
- file_envoy_admin_v3_certs_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.validate.go
deleted file mode 100644
index e8c9575f02..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/certs.pb.validate.go
+++ /dev/null
@@ -1,841 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/certs.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Certificates with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Certificates) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Certificates with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in CertificatesMultiError, or
-// nil if none found.
-func (m *Certificates) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Certificates) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetCertificates() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificatesValidationError{
- field: fmt.Sprintf("Certificates[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificatesValidationError{
- field: fmt.Sprintf("Certificates[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificatesValidationError{
- field: fmt.Sprintf("Certificates[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return CertificatesMultiError(errors)
- }
-
- return nil
-}
-
-// CertificatesMultiError is an error wrapping multiple validation errors
-// returned by Certificates.ValidateAll() if the designated constraints aren't met.
-type CertificatesMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CertificatesMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CertificatesMultiError) AllErrors() []error { return m }
-
-// CertificatesValidationError is the validation error returned by
-// Certificates.Validate if the designated constraints aren't met.
-type CertificatesValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CertificatesValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CertificatesValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CertificatesValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CertificatesValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CertificatesValidationError) ErrorName() string { return "CertificatesValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CertificatesValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCertificates.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CertificatesValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CertificatesValidationError{}
-
-// Validate checks the field values on Certificate with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Certificate) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Certificate with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in CertificateMultiError, or
-// nil if none found.
-func (m *Certificate) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Certificate) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetCaCert() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateValidationError{
- field: fmt.Sprintf("CaCert[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateValidationError{
- field: fmt.Sprintf("CaCert[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateValidationError{
- field: fmt.Sprintf("CaCert[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetCertChain() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateValidationError{
- field: fmt.Sprintf("CertChain[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateValidationError{
- field: fmt.Sprintf("CertChain[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateValidationError{
- field: fmt.Sprintf("CertChain[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return CertificateMultiError(errors)
- }
-
- return nil
-}
-
-// CertificateMultiError is an error wrapping multiple validation errors
-// returned by Certificate.ValidateAll() if the designated constraints aren't met.
-type CertificateMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CertificateMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CertificateMultiError) AllErrors() []error { return m }
-
-// CertificateValidationError is the validation error returned by
-// Certificate.Validate if the designated constraints aren't met.
-type CertificateValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CertificateValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CertificateValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CertificateValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CertificateValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CertificateValidationError) ErrorName() string { return "CertificateValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CertificateValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCertificate.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CertificateValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CertificateValidationError{}
-
-// Validate checks the field values on CertificateDetails with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *CertificateDetails) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CertificateDetails with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// CertificateDetailsMultiError, or nil if none found.
-func (m *CertificateDetails) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CertificateDetails) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Path
-
- // no validation rules for SerialNumber
-
- for idx, item := range m.GetSubjectAltNames() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: fmt.Sprintf("SubjectAltNames[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: fmt.Sprintf("SubjectAltNames[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetailsValidationError{
- field: fmt.Sprintf("SubjectAltNames[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- // no validation rules for DaysUntilExpiration
-
- if all {
- switch v := interface{}(m.GetValidFrom()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetValidFrom()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetExpirationTime()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "ExpirationTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "ExpirationTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetExpirationTime()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetailsValidationError{
- field: "ExpirationTime",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetOcspDetails()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "OcspDetails",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetailsValidationError{
- field: "OcspDetails",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetOcspDetails()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetailsValidationError{
- field: "OcspDetails",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return CertificateDetailsMultiError(errors)
- }
-
- return nil
-}
-
-// CertificateDetailsMultiError is an error wrapping multiple validation errors
-// returned by CertificateDetails.ValidateAll() if the designated constraints
-// aren't met.
-type CertificateDetailsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CertificateDetailsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CertificateDetailsMultiError) AllErrors() []error { return m }
-
-// CertificateDetailsValidationError is the validation error returned by
-// CertificateDetails.Validate if the designated constraints aren't met.
-type CertificateDetailsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CertificateDetailsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CertificateDetailsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CertificateDetailsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CertificateDetailsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CertificateDetailsValidationError) ErrorName() string {
- return "CertificateDetailsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CertificateDetailsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCertificateDetails.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CertificateDetailsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CertificateDetailsValidationError{}
-
-// Validate checks the field values on SubjectAlternateName with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *SubjectAlternateName) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SubjectAlternateName with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// SubjectAlternateNameMultiError, or nil if none found.
-func (m *SubjectAlternateName) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SubjectAlternateName) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.Name.(type) {
-
- case *SubjectAlternateName_Dns:
- // no validation rules for Dns
-
- case *SubjectAlternateName_Uri:
- // no validation rules for Uri
-
- case *SubjectAlternateName_IpAddress:
- // no validation rules for IpAddress
-
- }
-
- if len(errors) > 0 {
- return SubjectAlternateNameMultiError(errors)
- }
-
- return nil
-}
-
-// SubjectAlternateNameMultiError is an error wrapping multiple validation
-// errors returned by SubjectAlternateName.ValidateAll() if the designated
-// constraints aren't met.
-type SubjectAlternateNameMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SubjectAlternateNameMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SubjectAlternateNameMultiError) AllErrors() []error { return m }
-
-// SubjectAlternateNameValidationError is the validation error returned by
-// SubjectAlternateName.Validate if the designated constraints aren't met.
-type SubjectAlternateNameValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SubjectAlternateNameValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SubjectAlternateNameValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SubjectAlternateNameValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SubjectAlternateNameValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SubjectAlternateNameValidationError) ErrorName() string {
- return "SubjectAlternateNameValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e SubjectAlternateNameValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSubjectAlternateName.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SubjectAlternateNameValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SubjectAlternateNameValidationError{}
-
-// Validate checks the field values on CertificateDetails_OcspDetails with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *CertificateDetails_OcspDetails) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CertificateDetails_OcspDetails with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// CertificateDetails_OcspDetailsMultiError, or nil if none found.
-func (m *CertificateDetails_OcspDetails) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CertificateDetails_OcspDetails) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetValidFrom()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetails_OcspDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetails_OcspDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetValidFrom()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetails_OcspDetailsValidationError{
- field: "ValidFrom",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetExpiration()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CertificateDetails_OcspDetailsValidationError{
- field: "Expiration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CertificateDetails_OcspDetailsValidationError{
- field: "Expiration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetExpiration()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CertificateDetails_OcspDetailsValidationError{
- field: "Expiration",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return CertificateDetails_OcspDetailsMultiError(errors)
- }
-
- return nil
-}
-
-// CertificateDetails_OcspDetailsMultiError is an error wrapping multiple
-// validation errors returned by CertificateDetails_OcspDetails.ValidateAll()
-// if the designated constraints aren't met.
-type CertificateDetails_OcspDetailsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CertificateDetails_OcspDetailsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CertificateDetails_OcspDetailsMultiError) AllErrors() []error { return m }
-
-// CertificateDetails_OcspDetailsValidationError is the validation error
-// returned by CertificateDetails_OcspDetails.Validate if the designated
-// constraints aren't met.
-type CertificateDetails_OcspDetailsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CertificateDetails_OcspDetailsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CertificateDetails_OcspDetailsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CertificateDetails_OcspDetailsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CertificateDetails_OcspDetailsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CertificateDetails_OcspDetailsValidationError) ErrorName() string {
- return "CertificateDetails_OcspDetailsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CertificateDetails_OcspDetailsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCertificateDetails_OcspDetails.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CertificateDetails_OcspDetailsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CertificateDetails_OcspDetailsValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.go
deleted file mode 100644
index 2d0d0204ce..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.go
+++ /dev/null
@@ -1,732 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/clusters.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v31 "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
- v32 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- v3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Admin endpoint uses this wrapper for `/clusters` to display cluster status information.
-// See :ref:`/clusters ` for more information.
-type Clusters struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Mapping from cluster name to each cluster's status.
- ClusterStatuses []*ClusterStatus `protobuf:"bytes,1,rep,name=cluster_statuses,json=clusterStatuses,proto3" json:"cluster_statuses,omitempty"`
-}
-
-func (x *Clusters) Reset() {
- *x = Clusters{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Clusters) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Clusters) ProtoMessage() {}
-
-func (x *Clusters) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Clusters.ProtoReflect.Descriptor instead.
-func (*Clusters) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Clusters) GetClusterStatuses() []*ClusterStatus {
- if x != nil {
- return x.ClusterStatuses
- }
- return nil
-}
-
-// Details an individual cluster's current status.
-// [#next-free-field: 8]
-type ClusterStatus struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Name of the cluster.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Denotes whether this cluster was added via API or configured statically.
- AddedViaApi bool `protobuf:"varint,2,opt,name=added_via_api,json=addedViaApi,proto3" json:"added_via_api,omitempty"`
- // The success rate threshold used in the last interval.
- // If
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *false*, all errors: externally and locally generated were used to calculate the threshold.
- // If
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *true*, only externally generated errors were used to calculate the threshold.
- // The threshold is used to eject hosts based on their success rate. See
- // :ref:`Cluster outlier detection ` documentation for details.
- //
- // Note: this field may be omitted in any of the three following cases:
- //
- // 1. There were not enough hosts with enough request volume to proceed with success rate based
- // outlier ejection.
- // 2. The threshold is computed to be < 0 because a negative value implies that there was no
- // threshold for that interval.
- // 3. Outlier detection is not enabled for this cluster.
- SuccessRateEjectionThreshold *v3.Percent `protobuf:"bytes,3,opt,name=success_rate_ejection_threshold,json=successRateEjectionThreshold,proto3" json:"success_rate_ejection_threshold,omitempty"`
- // Mapping from host address to the host's current status.
- HostStatuses []*HostStatus `protobuf:"bytes,4,rep,name=host_statuses,json=hostStatuses,proto3" json:"host_statuses,omitempty"`
- // The success rate threshold used in the last interval when only locally originated failures were
- // taken into account and externally originated errors were treated as success.
- // This field should be interpreted only when
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *true*. The threshold is used to eject hosts based on their success rate.
- // See :ref:`Cluster outlier detection ` documentation for
- // details.
- //
- // Note: this field may be omitted in any of the three following cases:
- //
- // 1. There were not enough hosts with enough request volume to proceed with success rate based
- // outlier ejection.
- // 2. The threshold is computed to be < 0 because a negative value implies that there was no
- // threshold for that interval.
- // 3. Outlier detection is not enabled for this cluster.
- LocalOriginSuccessRateEjectionThreshold *v3.Percent `protobuf:"bytes,5,opt,name=local_origin_success_rate_ejection_threshold,json=localOriginSuccessRateEjectionThreshold,proto3" json:"local_origin_success_rate_ejection_threshold,omitempty"`
- // :ref:`Circuit breaking ` settings of the cluster.
- CircuitBreakers *v31.CircuitBreakers `protobuf:"bytes,6,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"`
- // Observability name of the cluster.
- ObservabilityName string `protobuf:"bytes,7,opt,name=observability_name,json=observabilityName,proto3" json:"observability_name,omitempty"`
-}
-
-func (x *ClusterStatus) Reset() {
- *x = ClusterStatus{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClusterStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClusterStatus) ProtoMessage() {}
-
-func (x *ClusterStatus) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.
-func (*ClusterStatus) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *ClusterStatus) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ClusterStatus) GetAddedViaApi() bool {
- if x != nil {
- return x.AddedViaApi
- }
- return false
-}
-
-func (x *ClusterStatus) GetSuccessRateEjectionThreshold() *v3.Percent {
- if x != nil {
- return x.SuccessRateEjectionThreshold
- }
- return nil
-}
-
-func (x *ClusterStatus) GetHostStatuses() []*HostStatus {
- if x != nil {
- return x.HostStatuses
- }
- return nil
-}
-
-func (x *ClusterStatus) GetLocalOriginSuccessRateEjectionThreshold() *v3.Percent {
- if x != nil {
- return x.LocalOriginSuccessRateEjectionThreshold
- }
- return nil
-}
-
-func (x *ClusterStatus) GetCircuitBreakers() *v31.CircuitBreakers {
- if x != nil {
- return x.CircuitBreakers
- }
- return nil
-}
-
-func (x *ClusterStatus) GetObservabilityName() string {
- if x != nil {
- return x.ObservabilityName
- }
- return ""
-}
-
-// Current state of a particular host.
-// [#next-free-field: 10]
-type HostStatus struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Address of this host.
- Address *v32.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
- // List of stats specific to this host.
- Stats []*SimpleMetric `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
- // The host's current health status.
- HealthStatus *HostHealthStatus `protobuf:"bytes,3,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`
- // Request success rate for this host over the last calculated interval.
- // If
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *false*, all errors: externally and locally generated were used in success rate
- // calculation. If
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *true*, only externally generated errors were used in success rate calculation.
- // See :ref:`Cluster outlier detection ` documentation for
- // details.
- //
- // Note: the message will not be present if host did not have enough request volume to calculate
- // success rate or the cluster did not have enough hosts to run through success rate outlier
- // ejection.
- SuccessRate *v3.Percent `protobuf:"bytes,4,opt,name=success_rate,json=successRate,proto3" json:"success_rate,omitempty"`
- // The host's weight. If not configured, the value defaults to 1.
- Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
- // The hostname of the host, if applicable.
- Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
- // The host's priority. If not configured, the value defaults to 0 (highest priority).
- Priority uint32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
- // Request success rate for this host over the last calculated
- // interval when only locally originated errors are taken into account and externally originated
- // errors were treated as success.
- // This field should be interpreted only when
- // :ref:`outlier_detection.split_external_local_origin_errors`
- // is *true*.
- // See :ref:`Cluster outlier detection ` documentation for
- // details.
- //
- // Note: the message will not be present if host did not have enough request volume to calculate
- // success rate or the cluster did not have enough hosts to run through success rate outlier
- // ejection.
- LocalOriginSuccessRate *v3.Percent `protobuf:"bytes,8,opt,name=local_origin_success_rate,json=localOriginSuccessRate,proto3" json:"local_origin_success_rate,omitempty"`
- // locality of the host.
- Locality *v32.Locality `protobuf:"bytes,9,opt,name=locality,proto3" json:"locality,omitempty"`
-}
-
-func (x *HostStatus) Reset() {
- *x = HostStatus{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HostStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HostStatus) ProtoMessage() {}
-
-func (x *HostStatus) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HostStatus.ProtoReflect.Descriptor instead.
-func (*HostStatus) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *HostStatus) GetAddress() *v32.Address {
- if x != nil {
- return x.Address
- }
- return nil
-}
-
-func (x *HostStatus) GetStats() []*SimpleMetric {
- if x != nil {
- return x.Stats
- }
- return nil
-}
-
-func (x *HostStatus) GetHealthStatus() *HostHealthStatus {
- if x != nil {
- return x.HealthStatus
- }
- return nil
-}
-
-func (x *HostStatus) GetSuccessRate() *v3.Percent {
- if x != nil {
- return x.SuccessRate
- }
- return nil
-}
-
-func (x *HostStatus) GetWeight() uint32 {
- if x != nil {
- return x.Weight
- }
- return 0
-}
-
-func (x *HostStatus) GetHostname() string {
- if x != nil {
- return x.Hostname
- }
- return ""
-}
-
-func (x *HostStatus) GetPriority() uint32 {
- if x != nil {
- return x.Priority
- }
- return 0
-}
-
-func (x *HostStatus) GetLocalOriginSuccessRate() *v3.Percent {
- if x != nil {
- return x.LocalOriginSuccessRate
- }
- return nil
-}
-
-func (x *HostStatus) GetLocality() *v32.Locality {
- if x != nil {
- return x.Locality
- }
- return nil
-}
-
-// Health status for a host.
-// [#next-free-field: 9]
-type HostHealthStatus struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The host is currently failing active health checks.
- FailedActiveHealthCheck bool `protobuf:"varint,1,opt,name=failed_active_health_check,json=failedActiveHealthCheck,proto3" json:"failed_active_health_check,omitempty"`
- // The host is currently considered an outlier and has been ejected.
- FailedOutlierCheck bool `protobuf:"varint,2,opt,name=failed_outlier_check,json=failedOutlierCheck,proto3" json:"failed_outlier_check,omitempty"`
- // The host is currently being marked as degraded through active health checking.
- FailedActiveDegradedCheck bool `protobuf:"varint,4,opt,name=failed_active_degraded_check,json=failedActiveDegradedCheck,proto3" json:"failed_active_degraded_check,omitempty"`
- // The host has been removed from service discovery, but is being stabilized due to active
- // health checking.
- PendingDynamicRemoval bool `protobuf:"varint,5,opt,name=pending_dynamic_removal,json=pendingDynamicRemoval,proto3" json:"pending_dynamic_removal,omitempty"`
- // The host has not yet been health checked.
- PendingActiveHc bool `protobuf:"varint,6,opt,name=pending_active_hc,json=pendingActiveHc,proto3" json:"pending_active_hc,omitempty"`
- // The host should be excluded from panic, spillover, etc. calculations because it was explicitly
- // taken out of rotation via protocol signal and is not meant to be routed to.
- ExcludedViaImmediateHcFail bool `protobuf:"varint,7,opt,name=excluded_via_immediate_hc_fail,json=excludedViaImmediateHcFail,proto3" json:"excluded_via_immediate_hc_fail,omitempty"`
- // The host failed active HC due to timeout.
- ActiveHcTimeout bool `protobuf:"varint,8,opt,name=active_hc_timeout,json=activeHcTimeout,proto3" json:"active_hc_timeout,omitempty"`
- // Health status as reported by EDS. Note: only HEALTHY and UNHEALTHY are currently supported
- // here.
- // [#comment:TODO(mrice32): pipe through remaining EDS health status possibilities.]
- EdsHealthStatus v32.HealthStatus `protobuf:"varint,3,opt,name=eds_health_status,json=edsHealthStatus,proto3,enum=envoy.config.core.v3.HealthStatus" json:"eds_health_status,omitempty"`
-}
-
-func (x *HostHealthStatus) Reset() {
- *x = HostHealthStatus{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HostHealthStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HostHealthStatus) ProtoMessage() {}
-
-func (x *HostHealthStatus) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_clusters_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HostHealthStatus.ProtoReflect.Descriptor instead.
-func (*HostHealthStatus) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_clusters_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *HostHealthStatus) GetFailedActiveHealthCheck() bool {
- if x != nil {
- return x.FailedActiveHealthCheck
- }
- return false
-}
-
-func (x *HostHealthStatus) GetFailedOutlierCheck() bool {
- if x != nil {
- return x.FailedOutlierCheck
- }
- return false
-}
-
-func (x *HostHealthStatus) GetFailedActiveDegradedCheck() bool {
- if x != nil {
- return x.FailedActiveDegradedCheck
- }
- return false
-}
-
-func (x *HostHealthStatus) GetPendingDynamicRemoval() bool {
- if x != nil {
- return x.PendingDynamicRemoval
- }
- return false
-}
-
-func (x *HostHealthStatus) GetPendingActiveHc() bool {
- if x != nil {
- return x.PendingActiveHc
- }
- return false
-}
-
-func (x *HostHealthStatus) GetExcludedViaImmediateHcFail() bool {
- if x != nil {
- return x.ExcludedViaImmediateHcFail
- }
- return false
-}
-
-func (x *HostHealthStatus) GetActiveHcTimeout() bool {
- if x != nil {
- return x.ActiveHcTimeout
- }
- return false
-}
-
-func (x *HostHealthStatus) GetEdsHealthStatus() v32.HealthStatus {
- if x != nil {
- return x.EdsHealthStatus
- }
- return v32.HealthStatus(0)
-}
-
-var File_envoy_admin_v3_clusters_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_clusters_proto_rawDesc = []byte{
- 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a,
- 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f,
- 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73,
- 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x62,
- 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
- 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
- 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63,
- 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e,
- 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x08, 0x43, 0x6c, 0x75,
- 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x10, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f,
- 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x3a,
- 0x23, 0x9a, 0xc5, 0x88, 0x1e, 0x1e, 0x0a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73,
- 0x74, 0x65, 0x72, 0x73, 0x22, 0x8c, 0x04, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x64,
- 0x64, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x61, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x65, 0x64, 0x56, 0x69, 0x61, 0x41, 0x70, 0x69, 0x12, 0x5d,
- 0x0a, 0x1f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52,
- 0x1c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x3f, 0x0a,
- 0x0d, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x04,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x52, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x75,
- 0x0a, 0x2c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x73,
- 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
- 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x27, 0x6c, 0x6f,
- 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x52, 0x61, 0x74, 0x65, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65,
- 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x53, 0x0a, 0x10, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74,
- 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
- 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
- 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x0f, 0x63, 0x69, 0x72, 0x63, 0x75,
- 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x62,
- 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62,
- 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23,
- 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x22, 0x81, 0x04, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x73,
- 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x69, 0x6d, 0x70,
- 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12,
- 0x45, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c,
- 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
- 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72,
- 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74,
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73,
- 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73,
- 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
- 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
- 0x79, 0x12, 0x51, 0x0a, 0x19, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69,
- 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
- 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x16, 0x6c, 0x6f,
- 0x63, 0x61, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x52, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f,
- 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79,
- 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x6f, 0x73,
- 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x93, 0x04, 0x0a, 0x10, 0x48, 0x6f, 0x73, 0x74,
- 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x1a,
- 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68, 0x65,
- 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x17, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x65,
- 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x61, 0x69,
- 0x6c, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x65, 0x63,
- 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4f,
- 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x1c, 0x66,
- 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x67,
- 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x19, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44,
- 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x36, 0x0a, 0x17,
- 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f,
- 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x70,
- 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x6d,
- 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
- 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x63,
- 0x12, 0x42, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x61,
- 0x5f, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x63, 0x5f, 0x66, 0x61,
- 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64,
- 0x65, 0x64, 0x56, 0x69, 0x61, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x48, 0x63,
- 0x46, 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x68,
- 0x63, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
- 0x12, 0x4e, 0x0a, 0x11, 0x65, 0x64, 0x73, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
- 0x0f, 0x65, 0x64, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x6f, 0x73,
- 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x76, 0x0a,
- 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x43,
- 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d,
- 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
- 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8,
- 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_clusters_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_clusters_proto_rawDescData = file_envoy_admin_v3_clusters_proto_rawDesc
-)
-
-func file_envoy_admin_v3_clusters_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_clusters_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_clusters_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_clusters_proto_rawDescData)
- })
- return file_envoy_admin_v3_clusters_proto_rawDescData
-}
-
-var file_envoy_admin_v3_clusters_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_envoy_admin_v3_clusters_proto_goTypes = []interface{}{
- (*Clusters)(nil), // 0: envoy.admin.v3.Clusters
- (*ClusterStatus)(nil), // 1: envoy.admin.v3.ClusterStatus
- (*HostStatus)(nil), // 2: envoy.admin.v3.HostStatus
- (*HostHealthStatus)(nil), // 3: envoy.admin.v3.HostHealthStatus
- (*v3.Percent)(nil), // 4: envoy.type.v3.Percent
- (*v31.CircuitBreakers)(nil), // 5: envoy.config.cluster.v3.CircuitBreakers
- (*v32.Address)(nil), // 6: envoy.config.core.v3.Address
- (*SimpleMetric)(nil), // 7: envoy.admin.v3.SimpleMetric
- (*v32.Locality)(nil), // 8: envoy.config.core.v3.Locality
- (v32.HealthStatus)(0), // 9: envoy.config.core.v3.HealthStatus
-}
-var file_envoy_admin_v3_clusters_proto_depIdxs = []int32{
- 1, // 0: envoy.admin.v3.Clusters.cluster_statuses:type_name -> envoy.admin.v3.ClusterStatus
- 4, // 1: envoy.admin.v3.ClusterStatus.success_rate_ejection_threshold:type_name -> envoy.type.v3.Percent
- 2, // 2: envoy.admin.v3.ClusterStatus.host_statuses:type_name -> envoy.admin.v3.HostStatus
- 4, // 3: envoy.admin.v3.ClusterStatus.local_origin_success_rate_ejection_threshold:type_name -> envoy.type.v3.Percent
- 5, // 4: envoy.admin.v3.ClusterStatus.circuit_breakers:type_name -> envoy.config.cluster.v3.CircuitBreakers
- 6, // 5: envoy.admin.v3.HostStatus.address:type_name -> envoy.config.core.v3.Address
- 7, // 6: envoy.admin.v3.HostStatus.stats:type_name -> envoy.admin.v3.SimpleMetric
- 3, // 7: envoy.admin.v3.HostStatus.health_status:type_name -> envoy.admin.v3.HostHealthStatus
- 4, // 8: envoy.admin.v3.HostStatus.success_rate:type_name -> envoy.type.v3.Percent
- 4, // 9: envoy.admin.v3.HostStatus.local_origin_success_rate:type_name -> envoy.type.v3.Percent
- 8, // 10: envoy.admin.v3.HostStatus.locality:type_name -> envoy.config.core.v3.Locality
- 9, // 11: envoy.admin.v3.HostHealthStatus.eds_health_status:type_name -> envoy.config.core.v3.HealthStatus
- 12, // [12:12] is the sub-list for method output_type
- 12, // [12:12] is the sub-list for method input_type
- 12, // [12:12] is the sub-list for extension type_name
- 12, // [12:12] is the sub-list for extension extendee
- 0, // [0:12] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_clusters_proto_init() }
-func file_envoy_admin_v3_clusters_proto_init() {
- if File_envoy_admin_v3_clusters_proto != nil {
- return
- }
- file_envoy_admin_v3_metrics_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_clusters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Clusters); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_clusters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClusterStatus); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_clusters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HostStatus); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_clusters_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HostHealthStatus); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_clusters_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 4,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_clusters_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_clusters_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_clusters_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_clusters_proto = out.File
- file_envoy_admin_v3_clusters_proto_rawDesc = nil
- file_envoy_admin_v3_clusters_proto_goTypes = nil
- file_envoy_admin_v3_clusters_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.validate.go
deleted file mode 100644
index 3c87ae291e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/clusters.pb.validate.go
+++ /dev/null
@@ -1,800 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/clusters.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-
- _ = v3.HealthStatus(0)
-)
-
-// Validate checks the field values on Clusters with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Clusters) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Clusters with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ClustersMultiError, or nil
-// if none found.
-func (m *Clusters) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Clusters) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetClusterStatuses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersValidationError{
- field: fmt.Sprintf("ClusterStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersValidationError{
- field: fmt.Sprintf("ClusterStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersValidationError{
- field: fmt.Sprintf("ClusterStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ClustersMultiError(errors)
- }
-
- return nil
-}
-
-// ClustersMultiError is an error wrapping multiple validation errors returned
-// by Clusters.ValidateAll() if the designated constraints aren't met.
-type ClustersMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClustersMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClustersMultiError) AllErrors() []error { return m }
-
-// ClustersValidationError is the validation error returned by
-// Clusters.Validate if the designated constraints aren't met.
-type ClustersValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClustersValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClustersValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClustersValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClustersValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClustersValidationError) ErrorName() string { return "ClustersValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ClustersValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClusters.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClustersValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClustersValidationError{}
-
-// Validate checks the field values on ClusterStatus with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ClusterStatus) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClusterStatus with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ClusterStatusMultiError, or
-// nil if none found.
-func (m *ClusterStatus) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClusterStatus) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- // no validation rules for AddedViaApi
-
- if all {
- switch v := interface{}(m.GetSuccessRateEjectionThreshold()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "SuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "SuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSuccessRateEjectionThreshold()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterStatusValidationError{
- field: "SuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetHostStatuses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: fmt.Sprintf("HostStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: fmt.Sprintf("HostStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterStatusValidationError{
- field: fmt.Sprintf("HostStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetLocalOriginSuccessRateEjectionThreshold()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "LocalOriginSuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "LocalOriginSuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocalOriginSuccessRateEjectionThreshold()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterStatusValidationError{
- field: "LocalOriginSuccessRateEjectionThreshold",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetCircuitBreakers()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "CircuitBreakers",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterStatusValidationError{
- field: "CircuitBreakers",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCircuitBreakers()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterStatusValidationError{
- field: "CircuitBreakers",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ObservabilityName
-
- if len(errors) > 0 {
- return ClusterStatusMultiError(errors)
- }
-
- return nil
-}
-
-// ClusterStatusMultiError is an error wrapping multiple validation errors
-// returned by ClusterStatus.ValidateAll() if the designated constraints
-// aren't met.
-type ClusterStatusMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClusterStatusMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClusterStatusMultiError) AllErrors() []error { return m }
-
-// ClusterStatusValidationError is the validation error returned by
-// ClusterStatus.Validate if the designated constraints aren't met.
-type ClusterStatusValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClusterStatusValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClusterStatusValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClusterStatusValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClusterStatusValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClusterStatusValidationError) ErrorName() string { return "ClusterStatusValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ClusterStatusValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClusterStatus.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClusterStatusValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClusterStatusValidationError{}
-
-// Validate checks the field values on HostStatus with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HostStatus) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HostStatus with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in HostStatusMultiError, or
-// nil if none found.
-func (m *HostStatus) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HostStatus) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetAddress()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAddress()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetStats() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: fmt.Sprintf("Stats[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: fmt.Sprintf("Stats[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: fmt.Sprintf("Stats[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetHealthStatus()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "HealthStatus",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "HealthStatus",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHealthStatus()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: "HealthStatus",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetSuccessRate()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "SuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "SuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSuccessRate()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: "SuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Weight
-
- // no validation rules for Hostname
-
- // no validation rules for Priority
-
- if all {
- switch v := interface{}(m.GetLocalOriginSuccessRate()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "LocalOriginSuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "LocalOriginSuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocalOriginSuccessRate()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: "LocalOriginSuccessRate",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLocality()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HostStatusValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocality()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HostStatusValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return HostStatusMultiError(errors)
- }
-
- return nil
-}
-
-// HostStatusMultiError is an error wrapping multiple validation errors
-// returned by HostStatus.ValidateAll() if the designated constraints aren't met.
-type HostStatusMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HostStatusMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HostStatusMultiError) AllErrors() []error { return m }
-
-// HostStatusValidationError is the validation error returned by
-// HostStatus.Validate if the designated constraints aren't met.
-type HostStatusValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HostStatusValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HostStatusValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HostStatusValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HostStatusValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HostStatusValidationError) ErrorName() string { return "HostStatusValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HostStatusValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHostStatus.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HostStatusValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HostStatusValidationError{}
-
-// Validate checks the field values on HostHealthStatus with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *HostHealthStatus) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HostHealthStatus with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HostHealthStatusMultiError, or nil if none found.
-func (m *HostHealthStatus) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HostHealthStatus) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for FailedActiveHealthCheck
-
- // no validation rules for FailedOutlierCheck
-
- // no validation rules for FailedActiveDegradedCheck
-
- // no validation rules for PendingDynamicRemoval
-
- // no validation rules for PendingActiveHc
-
- // no validation rules for ExcludedViaImmediateHcFail
-
- // no validation rules for ActiveHcTimeout
-
- // no validation rules for EdsHealthStatus
-
- if len(errors) > 0 {
- return HostHealthStatusMultiError(errors)
- }
-
- return nil
-}
-
-// HostHealthStatusMultiError is an error wrapping multiple validation errors
-// returned by HostHealthStatus.ValidateAll() if the designated constraints
-// aren't met.
-type HostHealthStatusMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HostHealthStatusMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HostHealthStatusMultiError) AllErrors() []error { return m }
-
-// HostHealthStatusValidationError is the validation error returned by
-// HostHealthStatus.Validate if the designated constraints aren't met.
-type HostHealthStatusValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HostHealthStatusValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HostHealthStatusValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HostHealthStatusValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HostHealthStatusValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HostHealthStatusValidationError) ErrorName() string { return "HostHealthStatusValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HostHealthStatusValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHostHealthStatus.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HostHealthStatusValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HostHealthStatusValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.go
deleted file mode 100644
index 5dc76d3e9d..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.go
+++ /dev/null
@@ -1,2563 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/config_dump.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3"
- any "github.com/golang/protobuf/ptypes/any"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Resource status from the view of a xDS client, which tells the synchronization
-// status between the xDS client and the xDS server.
-type ClientResourceStatus int32
-
-const (
- // Resource status is not available/unknown.
- ClientResourceStatus_UNKNOWN ClientResourceStatus = 0
- // Client requested this resource but hasn't received any update from management
- // server. The client will not fail requests, but will queue them until update
- // arrives or the client times out waiting for the resource.
- ClientResourceStatus_REQUESTED ClientResourceStatus = 1
- // This resource has been requested by the client but has either not been
- // delivered by the server or was previously delivered by the server and then
- // subsequently removed from resources provided by the server. For more
- // information, please refer to the :ref:`"Knowing When a Requested Resource
- // Does Not Exist" ` section.
- ClientResourceStatus_DOES_NOT_EXIST ClientResourceStatus = 2
- // Client received this resource and replied with ACK.
- ClientResourceStatus_ACKED ClientResourceStatus = 3
- // Client received this resource and replied with NACK.
- ClientResourceStatus_NACKED ClientResourceStatus = 4
-)
-
-// Enum value maps for ClientResourceStatus.
-var (
- ClientResourceStatus_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "REQUESTED",
- 2: "DOES_NOT_EXIST",
- 3: "ACKED",
- 4: "NACKED",
- }
- ClientResourceStatus_value = map[string]int32{
- "UNKNOWN": 0,
- "REQUESTED": 1,
- "DOES_NOT_EXIST": 2,
- "ACKED": 3,
- "NACKED": 4,
- }
-)
-
-func (x ClientResourceStatus) Enum() *ClientResourceStatus {
- p := new(ClientResourceStatus)
- *p = x
- return p
-}
-
-func (x ClientResourceStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ClientResourceStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_config_dump_proto_enumTypes[0].Descriptor()
-}
-
-func (ClientResourceStatus) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_config_dump_proto_enumTypes[0]
-}
-
-func (x ClientResourceStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ClientResourceStatus.Descriptor instead.
-func (ClientResourceStatus) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{0}
-}
-
-// The :ref:`/config_dump ` admin endpoint uses this wrapper
-// message to maintain and serve arbitrary configuration information from any component in Envoy.
-type ConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This list is serialized and dumped in its entirety at the
- // :ref:`/config_dump ` endpoint.
- //
- // The following configurations are currently supported and will be dumped in the order given
- // below:
- //
- // * *bootstrap*: :ref:`BootstrapConfigDump `
- // * *clusters*: :ref:`ClustersConfigDump `
- // * *endpoints*: :ref:`EndpointsConfigDump `
- // * *listeners*: :ref:`ListenersConfigDump `
- // * *scoped_routes*: :ref:`ScopedRoutesConfigDump `
- // * *routes*: :ref:`RoutesConfigDump `
- // * *secrets*: :ref:`SecretsConfigDump `
- //
- // EDS Configuration will only be dumped by using parameter `?include_eds`
- //
- // You can filter output with the resource and mask query parameters.
- // See :ref:`/config_dump?resource={} `,
- // :ref:`/config_dump?mask={} `,
- // or :ref:`/config_dump?resource={},mask={}
- // ` for more information.
- Configs []*any.Any `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
-}
-
-func (x *ConfigDump) Reset() {
- *x = ConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ConfigDump) ProtoMessage() {}
-
-func (x *ConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ConfigDump.ProtoReflect.Descriptor instead.
-func (*ConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ConfigDump) GetConfigs() []*any.Any {
- if x != nil {
- return x.Configs
- }
- return nil
-}
-
-type UpdateFailureState struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // What the component configuration would have been if the update had succeeded.
- // This field may not be populated by xDS clients due to storage overhead.
- FailedConfiguration *any.Any `protobuf:"bytes,1,opt,name=failed_configuration,json=failedConfiguration,proto3" json:"failed_configuration,omitempty"`
- // Time of the latest failed update attempt.
- LastUpdateAttempt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_update_attempt,json=lastUpdateAttempt,proto3" json:"last_update_attempt,omitempty"`
- // Details about the last failed update attempt.
- Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
- // This is the version of the rejected resource.
- // [#not-implemented-hide:]
- VersionInfo string `protobuf:"bytes,4,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
-}
-
-func (x *UpdateFailureState) Reset() {
- *x = UpdateFailureState{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UpdateFailureState) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateFailureState) ProtoMessage() {}
-
-func (x *UpdateFailureState) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateFailureState.ProtoReflect.Descriptor instead.
-func (*UpdateFailureState) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *UpdateFailureState) GetFailedConfiguration() *any.Any {
- if x != nil {
- return x.FailedConfiguration
- }
- return nil
-}
-
-func (x *UpdateFailureState) GetLastUpdateAttempt() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdateAttempt
- }
- return nil
-}
-
-func (x *UpdateFailureState) GetDetails() string {
- if x != nil {
- return x.Details
- }
- return ""
-}
-
-func (x *UpdateFailureState) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-// This message describes the bootstrap configuration that Envoy was started with. This includes
-// any CLI overrides that were merged. Bootstrap configuration information can be used to recreate
-// the static portions of an Envoy configuration by reusing the output as the bootstrap
-// configuration for another Envoy.
-type BootstrapConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Bootstrap *v3.Bootstrap `protobuf:"bytes,1,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
- // The timestamp when the BootstrapConfig was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *BootstrapConfigDump) Reset() {
- *x = BootstrapConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BootstrapConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BootstrapConfigDump) ProtoMessage() {}
-
-func (x *BootstrapConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BootstrapConfigDump.ProtoReflect.Descriptor instead.
-func (*BootstrapConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *BootstrapConfigDump) GetBootstrap() *v3.Bootstrap {
- if x != nil {
- return x.Bootstrap
- }
- return nil
-}
-
-func (x *BootstrapConfigDump) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// Envoy's listener manager fills this message with all currently known listeners. Listener
-// configuration information can be used to recreate an Envoy configuration by populating all
-// listeners as static listeners or by returning them in a LDS response.
-type ListenersConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the :ref:`version_info ` in the
- // last processed LDS discovery response. If there are only static bootstrap listeners, this field
- // will be "".
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The statically loaded listener configs.
- StaticListeners []*ListenersConfigDump_StaticListener `protobuf:"bytes,2,rep,name=static_listeners,json=staticListeners,proto3" json:"static_listeners,omitempty"`
- // State for any warming, active, or draining listeners.
- DynamicListeners []*ListenersConfigDump_DynamicListener `protobuf:"bytes,3,rep,name=dynamic_listeners,json=dynamicListeners,proto3" json:"dynamic_listeners,omitempty"`
-}
-
-func (x *ListenersConfigDump) Reset() {
- *x = ListenersConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListenersConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListenersConfigDump) ProtoMessage() {}
-
-func (x *ListenersConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListenersConfigDump.ProtoReflect.Descriptor instead.
-func (*ListenersConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *ListenersConfigDump) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *ListenersConfigDump) GetStaticListeners() []*ListenersConfigDump_StaticListener {
- if x != nil {
- return x.StaticListeners
- }
- return nil
-}
-
-func (x *ListenersConfigDump) GetDynamicListeners() []*ListenersConfigDump_DynamicListener {
- if x != nil {
- return x.DynamicListeners
- }
- return nil
-}
-
-// Envoy's cluster manager fills this message with all currently known clusters. Cluster
-// configuration information can be used to recreate an Envoy configuration by populating all
-// clusters as static clusters or by returning them in a CDS response.
-type ClustersConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the :ref:`version_info ` in the
- // last processed CDS discovery response. If there are only static bootstrap clusters, this field
- // will be "".
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The statically loaded cluster configs.
- StaticClusters []*ClustersConfigDump_StaticCluster `protobuf:"bytes,2,rep,name=static_clusters,json=staticClusters,proto3" json:"static_clusters,omitempty"`
- // The dynamically loaded active clusters. These are clusters that are available to service
- // data plane traffic.
- DynamicActiveClusters []*ClustersConfigDump_DynamicCluster `protobuf:"bytes,3,rep,name=dynamic_active_clusters,json=dynamicActiveClusters,proto3" json:"dynamic_active_clusters,omitempty"`
- // The dynamically loaded warming clusters. These are clusters that are currently undergoing
- // warming in preparation to service data plane traffic. Note that if attempting to recreate an
- // Envoy configuration from a configuration dump, the warming clusters should generally be
- // discarded.
- DynamicWarmingClusters []*ClustersConfigDump_DynamicCluster `protobuf:"bytes,4,rep,name=dynamic_warming_clusters,json=dynamicWarmingClusters,proto3" json:"dynamic_warming_clusters,omitempty"`
-}
-
-func (x *ClustersConfigDump) Reset() {
- *x = ClustersConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClustersConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClustersConfigDump) ProtoMessage() {}
-
-func (x *ClustersConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClustersConfigDump.ProtoReflect.Descriptor instead.
-func (*ClustersConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *ClustersConfigDump) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *ClustersConfigDump) GetStaticClusters() []*ClustersConfigDump_StaticCluster {
- if x != nil {
- return x.StaticClusters
- }
- return nil
-}
-
-func (x *ClustersConfigDump) GetDynamicActiveClusters() []*ClustersConfigDump_DynamicCluster {
- if x != nil {
- return x.DynamicActiveClusters
- }
- return nil
-}
-
-func (x *ClustersConfigDump) GetDynamicWarmingClusters() []*ClustersConfigDump_DynamicCluster {
- if x != nil {
- return x.DynamicWarmingClusters
- }
- return nil
-}
-
-// Envoy's RDS implementation fills this message with all currently loaded routes, as described by
-// their RouteConfiguration objects. Static routes that are either defined in the bootstrap configuration
-// or defined inline while configuring listeners are separated from those configured dynamically via RDS.
-// Route configuration information can be used to recreate an Envoy configuration by populating all routes
-// as static routes or by returning them in RDS responses.
-type RoutesConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The statically loaded route configs.
- StaticRouteConfigs []*RoutesConfigDump_StaticRouteConfig `protobuf:"bytes,2,rep,name=static_route_configs,json=staticRouteConfigs,proto3" json:"static_route_configs,omitempty"`
- // The dynamically loaded route configs.
- DynamicRouteConfigs []*RoutesConfigDump_DynamicRouteConfig `protobuf:"bytes,3,rep,name=dynamic_route_configs,json=dynamicRouteConfigs,proto3" json:"dynamic_route_configs,omitempty"`
-}
-
-func (x *RoutesConfigDump) Reset() {
- *x = RoutesConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RoutesConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RoutesConfigDump) ProtoMessage() {}
-
-func (x *RoutesConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RoutesConfigDump.ProtoReflect.Descriptor instead.
-func (*RoutesConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *RoutesConfigDump) GetStaticRouteConfigs() []*RoutesConfigDump_StaticRouteConfig {
- if x != nil {
- return x.StaticRouteConfigs
- }
- return nil
-}
-
-func (x *RoutesConfigDump) GetDynamicRouteConfigs() []*RoutesConfigDump_DynamicRouteConfig {
- if x != nil {
- return x.DynamicRouteConfigs
- }
- return nil
-}
-
-// Envoy's scoped RDS implementation fills this message with all currently loaded route
-// configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both
-// the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the
-// dynamically obtained scopes via the SRDS API.
-type ScopedRoutesConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The statically loaded scoped route configs.
- InlineScopedRouteConfigs []*ScopedRoutesConfigDump_InlineScopedRouteConfigs `protobuf:"bytes,1,rep,name=inline_scoped_route_configs,json=inlineScopedRouteConfigs,proto3" json:"inline_scoped_route_configs,omitempty"`
- // The dynamically loaded scoped route configs.
- DynamicScopedRouteConfigs []*ScopedRoutesConfigDump_DynamicScopedRouteConfigs `protobuf:"bytes,2,rep,name=dynamic_scoped_route_configs,json=dynamicScopedRouteConfigs,proto3" json:"dynamic_scoped_route_configs,omitempty"`
-}
-
-func (x *ScopedRoutesConfigDump) Reset() {
- *x = ScopedRoutesConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ScopedRoutesConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ScopedRoutesConfigDump) ProtoMessage() {}
-
-func (x *ScopedRoutesConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ScopedRoutesConfigDump.ProtoReflect.Descriptor instead.
-func (*ScopedRoutesConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *ScopedRoutesConfigDump) GetInlineScopedRouteConfigs() []*ScopedRoutesConfigDump_InlineScopedRouteConfigs {
- if x != nil {
- return x.InlineScopedRouteConfigs
- }
- return nil
-}
-
-func (x *ScopedRoutesConfigDump) GetDynamicScopedRouteConfigs() []*ScopedRoutesConfigDump_DynamicScopedRouteConfigs {
- if x != nil {
- return x.DynamicScopedRouteConfigs
- }
- return nil
-}
-
-// Envoys SDS implementation fills this message with all secrets fetched dynamically via SDS.
-type SecretsConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The statically loaded secrets.
- StaticSecrets []*SecretsConfigDump_StaticSecret `protobuf:"bytes,1,rep,name=static_secrets,json=staticSecrets,proto3" json:"static_secrets,omitempty"`
- // The dynamically loaded active secrets. These are secrets that are available to service
- // clusters or listeners.
- DynamicActiveSecrets []*SecretsConfigDump_DynamicSecret `protobuf:"bytes,2,rep,name=dynamic_active_secrets,json=dynamicActiveSecrets,proto3" json:"dynamic_active_secrets,omitempty"`
- // The dynamically loaded warming secrets. These are secrets that are currently undergoing
- // warming in preparation to service clusters or listeners.
- DynamicWarmingSecrets []*SecretsConfigDump_DynamicSecret `protobuf:"bytes,3,rep,name=dynamic_warming_secrets,json=dynamicWarmingSecrets,proto3" json:"dynamic_warming_secrets,omitempty"`
-}
-
-func (x *SecretsConfigDump) Reset() {
- *x = SecretsConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SecretsConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SecretsConfigDump) ProtoMessage() {}
-
-func (x *SecretsConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SecretsConfigDump.ProtoReflect.Descriptor instead.
-func (*SecretsConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *SecretsConfigDump) GetStaticSecrets() []*SecretsConfigDump_StaticSecret {
- if x != nil {
- return x.StaticSecrets
- }
- return nil
-}
-
-func (x *SecretsConfigDump) GetDynamicActiveSecrets() []*SecretsConfigDump_DynamicSecret {
- if x != nil {
- return x.DynamicActiveSecrets
- }
- return nil
-}
-
-func (x *SecretsConfigDump) GetDynamicWarmingSecrets() []*SecretsConfigDump_DynamicSecret {
- if x != nil {
- return x.DynamicWarmingSecrets
- }
- return nil
-}
-
-// Envoy's admin fill this message with all currently known endpoints. Endpoint
-// configuration information can be used to recreate an Envoy configuration by populating all
-// endpoints as static endpoints or by returning them in an EDS response.
-type EndpointsConfigDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The statically loaded endpoint configs.
- StaticEndpointConfigs []*EndpointsConfigDump_StaticEndpointConfig `protobuf:"bytes,2,rep,name=static_endpoint_configs,json=staticEndpointConfigs,proto3" json:"static_endpoint_configs,omitempty"`
- // The dynamically loaded endpoint configs.
- DynamicEndpointConfigs []*EndpointsConfigDump_DynamicEndpointConfig `protobuf:"bytes,3,rep,name=dynamic_endpoint_configs,json=dynamicEndpointConfigs,proto3" json:"dynamic_endpoint_configs,omitempty"`
-}
-
-func (x *EndpointsConfigDump) Reset() {
- *x = EndpointsConfigDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *EndpointsConfigDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EndpointsConfigDump) ProtoMessage() {}
-
-func (x *EndpointsConfigDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EndpointsConfigDump.ProtoReflect.Descriptor instead.
-func (*EndpointsConfigDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *EndpointsConfigDump) GetStaticEndpointConfigs() []*EndpointsConfigDump_StaticEndpointConfig {
- if x != nil {
- return x.StaticEndpointConfigs
- }
- return nil
-}
-
-func (x *EndpointsConfigDump) GetDynamicEndpointConfigs() []*EndpointsConfigDump_DynamicEndpointConfig {
- if x != nil {
- return x.DynamicEndpointConfigs
- }
- return nil
-}
-
-// Describes a statically loaded listener.
-type ListenersConfigDump_StaticListener struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The listener config.
- Listener *any.Any `protobuf:"bytes,1,opt,name=listener,proto3" json:"listener,omitempty"`
- // The timestamp when the Listener was last successfully updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *ListenersConfigDump_StaticListener) Reset() {
- *x = ListenersConfigDump_StaticListener{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListenersConfigDump_StaticListener) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListenersConfigDump_StaticListener) ProtoMessage() {}
-
-func (x *ListenersConfigDump_StaticListener) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListenersConfigDump_StaticListener.ProtoReflect.Descriptor instead.
-func (*ListenersConfigDump_StaticListener) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{3, 0}
-}
-
-func (x *ListenersConfigDump_StaticListener) GetListener() *any.Any {
- if x != nil {
- return x.Listener
- }
- return nil
-}
-
-func (x *ListenersConfigDump_StaticListener) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-type ListenersConfigDump_DynamicListenerState struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the per-resource version information. This version is currently taken from the
- // :ref:`version_info ` field at the time
- // that the listener was loaded. In the future, discrete per-listener versions may be supported
- // by the API.
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The listener config.
- Listener *any.Any `protobuf:"bytes,2,opt,name=listener,proto3" json:"listener,omitempty"`
- // The timestamp when the Listener was last successfully updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *ListenersConfigDump_DynamicListenerState) Reset() {
- *x = ListenersConfigDump_DynamicListenerState{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListenersConfigDump_DynamicListenerState) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListenersConfigDump_DynamicListenerState) ProtoMessage() {}
-
-func (x *ListenersConfigDump_DynamicListenerState) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListenersConfigDump_DynamicListenerState.ProtoReflect.Descriptor instead.
-func (*ListenersConfigDump_DynamicListenerState) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{3, 1}
-}
-
-func (x *ListenersConfigDump_DynamicListenerState) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *ListenersConfigDump_DynamicListenerState) GetListener() *any.Any {
- if x != nil {
- return x.Listener
- }
- return nil
-}
-
-func (x *ListenersConfigDump_DynamicListenerState) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// Describes a dynamically loaded listener via the LDS API.
-// [#next-free-field: 7]
-type ListenersConfigDump_DynamicListener struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name or unique id of this listener, pulled from the DynamicListenerState config.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The listener state for any active listener by this name.
- // These are listeners that are available to service data plane traffic.
- ActiveState *ListenersConfigDump_DynamicListenerState `protobuf:"bytes,2,opt,name=active_state,json=activeState,proto3" json:"active_state,omitempty"`
- // The listener state for any warming listener by this name.
- // These are listeners that are currently undergoing warming in preparation to service data
- // plane traffic. Note that if attempting to recreate an Envoy configuration from a
- // configuration dump, the warming listeners should generally be discarded.
- WarmingState *ListenersConfigDump_DynamicListenerState `protobuf:"bytes,3,opt,name=warming_state,json=warmingState,proto3" json:"warming_state,omitempty"`
- // The listener state for any draining listener by this name.
- // These are listeners that are currently undergoing draining in preparation to stop servicing
- // data plane traffic. Note that if attempting to recreate an Envoy configuration from a
- // configuration dump, the draining listeners should generally be discarded.
- DrainingState *ListenersConfigDump_DynamicListenerState `protobuf:"bytes,4,opt,name=draining_state,json=drainingState,proto3" json:"draining_state,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- ErrorState *UpdateFailureState `protobuf:"bytes,5,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,6,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *ListenersConfigDump_DynamicListener) Reset() {
- *x = ListenersConfigDump_DynamicListener{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListenersConfigDump_DynamicListener) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListenersConfigDump_DynamicListener) ProtoMessage() {}
-
-func (x *ListenersConfigDump_DynamicListener) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListenersConfigDump_DynamicListener.ProtoReflect.Descriptor instead.
-func (*ListenersConfigDump_DynamicListener) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{3, 2}
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetActiveState() *ListenersConfigDump_DynamicListenerState {
- if x != nil {
- return x.ActiveState
- }
- return nil
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetWarmingState() *ListenersConfigDump_DynamicListenerState {
- if x != nil {
- return x.WarmingState
- }
- return nil
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetDrainingState() *ListenersConfigDump_DynamicListenerState {
- if x != nil {
- return x.DrainingState
- }
- return nil
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *ListenersConfigDump_DynamicListener) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-// Describes a statically loaded cluster.
-type ClustersConfigDump_StaticCluster struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The cluster config.
- Cluster *any.Any `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
- // The timestamp when the Cluster was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *ClustersConfigDump_StaticCluster) Reset() {
- *x = ClustersConfigDump_StaticCluster{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClustersConfigDump_StaticCluster) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClustersConfigDump_StaticCluster) ProtoMessage() {}
-
-func (x *ClustersConfigDump_StaticCluster) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClustersConfigDump_StaticCluster.ProtoReflect.Descriptor instead.
-func (*ClustersConfigDump_StaticCluster) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{4, 0}
-}
-
-func (x *ClustersConfigDump_StaticCluster) GetCluster() *any.Any {
- if x != nil {
- return x.Cluster
- }
- return nil
-}
-
-func (x *ClustersConfigDump_StaticCluster) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// Describes a dynamically loaded cluster via the CDS API.
-// [#next-free-field: 6]
-type ClustersConfigDump_DynamicCluster struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the per-resource version information. This version is currently taken from the
- // :ref:`version_info ` field at the time
- // that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
- // the API.
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The cluster config.
- Cluster *any.Any `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
- // The timestamp when the Cluster was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- // [#not-implemented-hide:]
- ErrorState *UpdateFailureState `protobuf:"bytes,4,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,5,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *ClustersConfigDump_DynamicCluster) Reset() {
- *x = ClustersConfigDump_DynamicCluster{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClustersConfigDump_DynamicCluster) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClustersConfigDump_DynamicCluster) ProtoMessage() {}
-
-func (x *ClustersConfigDump_DynamicCluster) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClustersConfigDump_DynamicCluster.ProtoReflect.Descriptor instead.
-func (*ClustersConfigDump_DynamicCluster) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{4, 1}
-}
-
-func (x *ClustersConfigDump_DynamicCluster) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *ClustersConfigDump_DynamicCluster) GetCluster() *any.Any {
- if x != nil {
- return x.Cluster
- }
- return nil
-}
-
-func (x *ClustersConfigDump_DynamicCluster) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *ClustersConfigDump_DynamicCluster) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *ClustersConfigDump_DynamicCluster) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-type RoutesConfigDump_StaticRouteConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The route config.
- RouteConfig *any.Any `protobuf:"bytes,1,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
- // The timestamp when the Route was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *RoutesConfigDump_StaticRouteConfig) Reset() {
- *x = RoutesConfigDump_StaticRouteConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RoutesConfigDump_StaticRouteConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RoutesConfigDump_StaticRouteConfig) ProtoMessage() {}
-
-func (x *RoutesConfigDump_StaticRouteConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RoutesConfigDump_StaticRouteConfig.ProtoReflect.Descriptor instead.
-func (*RoutesConfigDump_StaticRouteConfig) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{5, 0}
-}
-
-func (x *RoutesConfigDump_StaticRouteConfig) GetRouteConfig() *any.Any {
- if x != nil {
- return x.RouteConfig
- }
- return nil
-}
-
-func (x *RoutesConfigDump_StaticRouteConfig) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// [#next-free-field: 6]
-type RoutesConfigDump_DynamicRouteConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the per-resource version information. This version is currently taken from the
- // :ref:`version_info ` field at the time that
- // the route configuration was loaded.
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The route config.
- RouteConfig *any.Any `protobuf:"bytes,2,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
- // The timestamp when the Route was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- // [#not-implemented-hide:]
- ErrorState *UpdateFailureState `protobuf:"bytes,4,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,5,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) Reset() {
- *x = RoutesConfigDump_DynamicRouteConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RoutesConfigDump_DynamicRouteConfig) ProtoMessage() {}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RoutesConfigDump_DynamicRouteConfig.ProtoReflect.Descriptor instead.
-func (*RoutesConfigDump_DynamicRouteConfig) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{5, 1}
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) GetRouteConfig() *any.Any {
- if x != nil {
- return x.RouteConfig
- }
- return nil
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *RoutesConfigDump_DynamicRouteConfig) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-type ScopedRoutesConfigDump_InlineScopedRouteConfigs struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name assigned to the scoped route configurations.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The scoped route configurations.
- ScopedRouteConfigs []*any.Any `protobuf:"bytes,2,rep,name=scoped_route_configs,json=scopedRouteConfigs,proto3" json:"scoped_route_configs,omitempty"`
- // The timestamp when the scoped route config set was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) Reset() {
- *x = ScopedRoutesConfigDump_InlineScopedRouteConfigs{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ScopedRoutesConfigDump_InlineScopedRouteConfigs) ProtoMessage() {}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ScopedRoutesConfigDump_InlineScopedRouteConfigs.ProtoReflect.Descriptor instead.
-func (*ScopedRoutesConfigDump_InlineScopedRouteConfigs) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{6, 0}
-}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) GetScopedRouteConfigs() []*any.Any {
- if x != nil {
- return x.ScopedRouteConfigs
- }
- return nil
-}
-
-func (x *ScopedRoutesConfigDump_InlineScopedRouteConfigs) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// [#next-free-field: 7]
-type ScopedRoutesConfigDump_DynamicScopedRouteConfigs struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name assigned to the scoped route configurations.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // This is the per-resource version information. This version is currently taken from the
- // :ref:`version_info ` field at the time that
- // the scoped routes configuration was loaded.
- VersionInfo string `protobuf:"bytes,2,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The scoped route configurations.
- ScopedRouteConfigs []*any.Any `protobuf:"bytes,3,rep,name=scoped_route_configs,json=scopedRouteConfigs,proto3" json:"scoped_route_configs,omitempty"`
- // The timestamp when the scoped route config set was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- // [#not-implemented-hide:]
- ErrorState *UpdateFailureState `protobuf:"bytes,5,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,6,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) Reset() {
- *x = ScopedRoutesConfigDump_DynamicScopedRouteConfigs{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ScopedRoutesConfigDump_DynamicScopedRouteConfigs) ProtoMessage() {}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ScopedRoutesConfigDump_DynamicScopedRouteConfigs.ProtoReflect.Descriptor instead.
-func (*ScopedRoutesConfigDump_DynamicScopedRouteConfigs) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{6, 1}
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetScopedRouteConfigs() []*any.Any {
- if x != nil {
- return x.ScopedRouteConfigs
- }
- return nil
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-// DynamicSecret contains secret information fetched via SDS.
-// [#next-free-field: 7]
-type SecretsConfigDump_DynamicSecret struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name assigned to the secret.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // This is the per-resource version information.
- VersionInfo string `protobuf:"bytes,2,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The timestamp when the secret was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // The actual secret information.
- // Security sensitive information is redacted (replaced with "[redacted]") for
- // private keys and passwords in TLS certificates.
- Secret *any.Any `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- // [#not-implemented-hide:]
- ErrorState *UpdateFailureState `protobuf:"bytes,5,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,6,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *SecretsConfigDump_DynamicSecret) Reset() {
- *x = SecretsConfigDump_DynamicSecret{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SecretsConfigDump_DynamicSecret) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SecretsConfigDump_DynamicSecret) ProtoMessage() {}
-
-func (x *SecretsConfigDump_DynamicSecret) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SecretsConfigDump_DynamicSecret.ProtoReflect.Descriptor instead.
-func (*SecretsConfigDump_DynamicSecret) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{7, 0}
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetSecret() *any.Any {
- if x != nil {
- return x.Secret
- }
- return nil
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *SecretsConfigDump_DynamicSecret) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-// StaticSecret specifies statically loaded secret in bootstrap.
-type SecretsConfigDump_StaticSecret struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name assigned to the secret.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The timestamp when the secret was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // The actual secret information.
- // Security sensitive information is redacted (replaced with "[redacted]") for
- // private keys and passwords in TLS certificates.
- Secret *any.Any `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
-}
-
-func (x *SecretsConfigDump_StaticSecret) Reset() {
- *x = SecretsConfigDump_StaticSecret{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SecretsConfigDump_StaticSecret) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SecretsConfigDump_StaticSecret) ProtoMessage() {}
-
-func (x *SecretsConfigDump_StaticSecret) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SecretsConfigDump_StaticSecret.ProtoReflect.Descriptor instead.
-func (*SecretsConfigDump_StaticSecret) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{7, 1}
-}
-
-func (x *SecretsConfigDump_StaticSecret) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *SecretsConfigDump_StaticSecret) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *SecretsConfigDump_StaticSecret) GetSecret() *any.Any {
- if x != nil {
- return x.Secret
- }
- return nil
-}
-
-type EndpointsConfigDump_StaticEndpointConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The endpoint config.
- EndpointConfig *any.Any `protobuf:"bytes,1,opt,name=endpoint_config,json=endpointConfig,proto3" json:"endpoint_config,omitempty"`
- // [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
-}
-
-func (x *EndpointsConfigDump_StaticEndpointConfig) Reset() {
- *x = EndpointsConfigDump_StaticEndpointConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *EndpointsConfigDump_StaticEndpointConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EndpointsConfigDump_StaticEndpointConfig) ProtoMessage() {}
-
-func (x *EndpointsConfigDump_StaticEndpointConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EndpointsConfigDump_StaticEndpointConfig.ProtoReflect.Descriptor instead.
-func (*EndpointsConfigDump_StaticEndpointConfig) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{8, 0}
-}
-
-func (x *EndpointsConfigDump_StaticEndpointConfig) GetEndpointConfig() *any.Any {
- if x != nil {
- return x.EndpointConfig
- }
- return nil
-}
-
-func (x *EndpointsConfigDump_StaticEndpointConfig) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-// [#next-free-field: 6]
-type EndpointsConfigDump_DynamicEndpointConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
- // :ref:`version_info ` field at the time that
- // the endpoint configuration was loaded.
- VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
- // The endpoint config.
- EndpointConfig *any.Any `protobuf:"bytes,2,opt,name=endpoint_config,json=endpointConfig,proto3" json:"endpoint_config,omitempty"`
- // [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
- LastUpdated *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
- // Set if the last update failed, cleared after the next successful update.
- // The *error_state* field contains the rejected version of this particular
- // resource along with the reason and timestamp. For successfully updated or
- // acknowledged resource, this field should be empty.
- // [#not-implemented-hide:]
- ErrorState *UpdateFailureState `protobuf:"bytes,4,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"`
- // The client status of this resource.
- // [#not-implemented-hide:]
- ClientStatus ClientResourceStatus `protobuf:"varint,5,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"`
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) Reset() {
- *x = EndpointsConfigDump_DynamicEndpointConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EndpointsConfigDump_DynamicEndpointConfig) ProtoMessage() {}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_config_dump_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EndpointsConfigDump_DynamicEndpointConfig.ProtoReflect.Descriptor instead.
-func (*EndpointsConfigDump_DynamicEndpointConfig) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_config_dump_proto_rawDescGZIP(), []int{8, 1}
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) GetVersionInfo() string {
- if x != nil {
- return x.VersionInfo
- }
- return ""
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) GetEndpointConfig() *any.Any {
- if x != nil {
- return x.EndpointConfig
- }
- return nil
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) GetLastUpdated() *timestamp.Timestamp {
- if x != nil {
- return x.LastUpdated
- }
- return nil
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) GetErrorState() *UpdateFailureState {
- if x != nil {
- return x.ErrorState
- }
- return nil
-}
-
-func (x *EndpointsConfigDump_DynamicEndpointConfig) GetClientStatus() ClientResourceStatus {
- if x != nil {
- return x.ClientStatus
- }
- return ClientResourceStatus_UNKNOWN
-}
-
-var File_envoy_admin_v3_config_dump_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_config_dump_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
- 0x76, 0x33, 0x1a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x6f,
- 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
- 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61,
- 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x0a, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
- 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20,
- 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x22, 0x95, 0x02, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75,
- 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x14, 0x66, 0x61, 0x69, 0x6c, 0x65,
- 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x13, 0x66, 0x61, 0x69,
- 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x4a, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
- 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x18, 0x0a, 0x07,
- 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64,
- 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28,
- 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c,
- 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x13, 0x42, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x12, 0x42, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e,
- 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x73,
- 0x74, 0x72, 0x61, 0x70, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x3a, 0x2e, 0x9a, 0xc5, 0x88, 0x1e, 0x29, 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
- 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44,
- 0x75, 0x6d, 0x70, 0x22, 0xf3, 0x09, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
- 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d,
- 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65,
- 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
- 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74,
- 0x61, 0x74, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x52, 0x0f, 0x73, 0x74,
- 0x61, 0x74, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x60, 0x0a,
- 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65,
- 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
- 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79,
- 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x52, 0x10, 0x64,
- 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x1a,
- 0xc0, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
- 0x65, 0x72, 0x12, 0x30, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74,
- 0x65, 0x6e, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38, 0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44,
- 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
- 0x65, 0x72, 0x1a, 0xef, 0x01, 0x0a, 0x14, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69,
- 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30,
- 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
- 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x3a,
- 0x43, 0x9a, 0xc5, 0x88, 0x1e, 0x3e, 0x0a, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74,
- 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e,
- 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53,
- 0x74, 0x61, 0x74, 0x65, 0x1a, 0x92, 0x04, 0x0a, 0x0f, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
- 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x0c,
- 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c,
- 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x61, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x77, 0x61, 0x72,
- 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
- 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69, 0x73,
- 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x77, 0x61, 0x72, 0x6d,
- 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x64, 0x72, 0x61, 0x69,
- 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
- 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, 0x69, 0x73,
- 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x64, 0x72, 0x61, 0x69,
- 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61,
- 0x74, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49,
- 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3e, 0x9a, 0xc5, 0x88, 0x1e, 0x39,
- 0x0a, 0x37, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69,
- 0x63, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x3a, 0x2e, 0x9a, 0xc5, 0x88, 0x1e, 0x29,
- 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x22, 0xca, 0x07, 0x0a, 0x12, 0x43, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49,
- 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x63, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0e,
- 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x69,
- 0x0a, 0x17, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44,
- 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6c, 0x75, 0x73, 0x74,
- 0x65, 0x72, 0x52, 0x15, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x18, 0x64, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x75,
- 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75,
- 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e,
- 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x16,
- 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x57, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xbb, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x69,
- 0x63, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73,
- 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
- 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74,
- 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x3b, 0x9a, 0xc5, 0x88, 0x1e, 0x36, 0x0a, 0x34,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6c, 0x75,
- 0x73, 0x74, 0x65, 0x72, 0x1a, 0xf0, 0x02, 0x0a, 0x0e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
- 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
- 0x79, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61,
- 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61,
- 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61,
- 0x74, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49,
- 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3c, 0x9a, 0xc5, 0x88, 0x1e, 0x37,
- 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
- 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x22, 0xdd, 0x06, 0x0a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65,
- 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x64, 0x0a, 0x14, 0x73,
- 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
- 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74,
- 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x73,
- 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x73, 0x12, 0x67, 0x0a, 0x15, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x72, 0x6f, 0x75,
- 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
- 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75,
- 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x6f,
- 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0xca, 0x01, 0x0a, 0x11, 0x53,
- 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x12, 0x37, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0b, 0x72, 0x6f,
- 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
- 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73,
- 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38, 0x0a,
- 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74,
- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xff, 0x02, 0x0a, 0x12, 0x44, 0x79, 0x6e, 0x61,
- 0x6d, 0x69, 0x63, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21,
- 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66,
- 0x6f, 0x12, 0x37, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0b, 0x72,
- 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61,
- 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61,
- 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61,
- 0x74, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49,
- 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3e, 0x9a, 0xc5, 0x88, 0x1e, 0x39,
- 0x0a, 0x37, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x6f,
- 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26,
- 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x22, 0x8c, 0x08, 0x0a, 0x16, 0x53, 0x63, 0x6f, 0x70, 0x65,
- 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d,
- 0x70, 0x12, 0x7e, 0x0a, 0x1b, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x70,
- 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f,
- 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x49,
- 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x18, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53,
- 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x73, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x73, 0x63,
- 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64,
- 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f,
- 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x19, 0x64, 0x79, 0x6e, 0x61,
- 0x6d, 0x69, 0x63, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x81, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x14, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64,
- 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x12, 0x73, 0x63, 0x6f, 0x70,
- 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3d,
- 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x4a, 0x9a,
- 0xc5, 0x88, 0x1e, 0x45, 0x0a, 0x43, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64,
- 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x2e, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75,
- 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0xb6, 0x03, 0x0a, 0x19, 0x44, 0x79,
- 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x46,
- 0x0a, 0x14, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
- 0x6e, 0x79, 0x52, 0x12, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73,
- 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x63, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
- 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x4b, 0x9a, 0xc5, 0x88, 0x1e, 0x46, 0x0a, 0x44, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
- 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x3a, 0x31, 0x9a, 0xc5, 0x88, 0x1e, 0x2c, 0x0a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
- 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x44, 0x75, 0x6d, 0x70, 0x22, 0xb7, 0x07, 0x0a, 0x11, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
- 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x55, 0x0a, 0x0e, 0x73,
- 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65,
- 0x74, 0x73, 0x12, 0x65, 0x0a, 0x16, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x61, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x52, 0x14, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x67, 0x0a, 0x17, 0x64, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63,
- 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79,
- 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x15, 0x64, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x57, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65,
- 0x74, 0x73, 0x1a, 0xff, 0x02, 0x0a, 0x0d, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0c, 0x6c,
- 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c,
- 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
- 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f,
- 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74,
- 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a,
- 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65,
- 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3a, 0x9a, 0xc5, 0x88, 0x1e, 0x35, 0x0a,
- 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x1a, 0xca, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
- 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73,
- 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06,
- 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x3a, 0x39, 0x9a, 0xc5, 0x88, 0x1e, 0x34, 0x0a, 0x32, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x65, 0x63, 0x72, 0x65,
- 0x74, 0x3a, 0x2c, 0x9a, 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65,
- 0x63, 0x72, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x22,
- 0xde, 0x05, 0x0a, 0x13, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x70, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x74, 0x69,
- 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
- 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x2e, 0x53, 0x74,
- 0x61, 0x74, 0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x52, 0x15, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
- 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x73, 0x0a, 0x18, 0x64, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64,
- 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70,
- 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x16, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x45,
- 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x1a, 0x94,
- 0x01, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
- 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
- 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x1a, 0xc8, 0x02, 0x0a, 0x15, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69,
- 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
- 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
- 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
- 0x79, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
- 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69,
- 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72,
- 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2a, 0x5d, 0x0a, 0x14, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e,
- 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54,
- 0x45, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x45, 0x53, 0x5f, 0x4e, 0x4f, 0x54,
- 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x43, 0x4b, 0x45,
- 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x42,
- 0x78, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42,
- 0x0f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e,
- 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76,
- 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
-}
-
-var (
- file_envoy_admin_v3_config_dump_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_config_dump_proto_rawDescData = file_envoy_admin_v3_config_dump_proto_rawDesc
-)
-
-func file_envoy_admin_v3_config_dump_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_config_dump_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_config_dump_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_config_dump_proto_rawDescData)
- })
- return file_envoy_admin_v3_config_dump_proto_rawDescData
-}
-
-var file_envoy_admin_v3_config_dump_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_admin_v3_config_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
-var file_envoy_admin_v3_config_dump_proto_goTypes = []interface{}{
- (ClientResourceStatus)(0), // 0: envoy.admin.v3.ClientResourceStatus
- (*ConfigDump)(nil), // 1: envoy.admin.v3.ConfigDump
- (*UpdateFailureState)(nil), // 2: envoy.admin.v3.UpdateFailureState
- (*BootstrapConfigDump)(nil), // 3: envoy.admin.v3.BootstrapConfigDump
- (*ListenersConfigDump)(nil), // 4: envoy.admin.v3.ListenersConfigDump
- (*ClustersConfigDump)(nil), // 5: envoy.admin.v3.ClustersConfigDump
- (*RoutesConfigDump)(nil), // 6: envoy.admin.v3.RoutesConfigDump
- (*ScopedRoutesConfigDump)(nil), // 7: envoy.admin.v3.ScopedRoutesConfigDump
- (*SecretsConfigDump)(nil), // 8: envoy.admin.v3.SecretsConfigDump
- (*EndpointsConfigDump)(nil), // 9: envoy.admin.v3.EndpointsConfigDump
- (*ListenersConfigDump_StaticListener)(nil), // 10: envoy.admin.v3.ListenersConfigDump.StaticListener
- (*ListenersConfigDump_DynamicListenerState)(nil), // 11: envoy.admin.v3.ListenersConfigDump.DynamicListenerState
- (*ListenersConfigDump_DynamicListener)(nil), // 12: envoy.admin.v3.ListenersConfigDump.DynamicListener
- (*ClustersConfigDump_StaticCluster)(nil), // 13: envoy.admin.v3.ClustersConfigDump.StaticCluster
- (*ClustersConfigDump_DynamicCluster)(nil), // 14: envoy.admin.v3.ClustersConfigDump.DynamicCluster
- (*RoutesConfigDump_StaticRouteConfig)(nil), // 15: envoy.admin.v3.RoutesConfigDump.StaticRouteConfig
- (*RoutesConfigDump_DynamicRouteConfig)(nil), // 16: envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig
- (*ScopedRoutesConfigDump_InlineScopedRouteConfigs)(nil), // 17: envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs
- (*ScopedRoutesConfigDump_DynamicScopedRouteConfigs)(nil), // 18: envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs
- (*SecretsConfigDump_DynamicSecret)(nil), // 19: envoy.admin.v3.SecretsConfigDump.DynamicSecret
- (*SecretsConfigDump_StaticSecret)(nil), // 20: envoy.admin.v3.SecretsConfigDump.StaticSecret
- (*EndpointsConfigDump_StaticEndpointConfig)(nil), // 21: envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig
- (*EndpointsConfigDump_DynamicEndpointConfig)(nil), // 22: envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig
- (*any.Any)(nil), // 23: google.protobuf.Any
- (*timestamp.Timestamp)(nil), // 24: google.protobuf.Timestamp
- (*v3.Bootstrap)(nil), // 25: envoy.config.bootstrap.v3.Bootstrap
-}
-var file_envoy_admin_v3_config_dump_proto_depIdxs = []int32{
- 23, // 0: envoy.admin.v3.ConfigDump.configs:type_name -> google.protobuf.Any
- 23, // 1: envoy.admin.v3.UpdateFailureState.failed_configuration:type_name -> google.protobuf.Any
- 24, // 2: envoy.admin.v3.UpdateFailureState.last_update_attempt:type_name -> google.protobuf.Timestamp
- 25, // 3: envoy.admin.v3.BootstrapConfigDump.bootstrap:type_name -> envoy.config.bootstrap.v3.Bootstrap
- 24, // 4: envoy.admin.v3.BootstrapConfigDump.last_updated:type_name -> google.protobuf.Timestamp
- 10, // 5: envoy.admin.v3.ListenersConfigDump.static_listeners:type_name -> envoy.admin.v3.ListenersConfigDump.StaticListener
- 12, // 6: envoy.admin.v3.ListenersConfigDump.dynamic_listeners:type_name -> envoy.admin.v3.ListenersConfigDump.DynamicListener
- 13, // 7: envoy.admin.v3.ClustersConfigDump.static_clusters:type_name -> envoy.admin.v3.ClustersConfigDump.StaticCluster
- 14, // 8: envoy.admin.v3.ClustersConfigDump.dynamic_active_clusters:type_name -> envoy.admin.v3.ClustersConfigDump.DynamicCluster
- 14, // 9: envoy.admin.v3.ClustersConfigDump.dynamic_warming_clusters:type_name -> envoy.admin.v3.ClustersConfigDump.DynamicCluster
- 15, // 10: envoy.admin.v3.RoutesConfigDump.static_route_configs:type_name -> envoy.admin.v3.RoutesConfigDump.StaticRouteConfig
- 16, // 11: envoy.admin.v3.RoutesConfigDump.dynamic_route_configs:type_name -> envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig
- 17, // 12: envoy.admin.v3.ScopedRoutesConfigDump.inline_scoped_route_configs:type_name -> envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs
- 18, // 13: envoy.admin.v3.ScopedRoutesConfigDump.dynamic_scoped_route_configs:type_name -> envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs
- 20, // 14: envoy.admin.v3.SecretsConfigDump.static_secrets:type_name -> envoy.admin.v3.SecretsConfigDump.StaticSecret
- 19, // 15: envoy.admin.v3.SecretsConfigDump.dynamic_active_secrets:type_name -> envoy.admin.v3.SecretsConfigDump.DynamicSecret
- 19, // 16: envoy.admin.v3.SecretsConfigDump.dynamic_warming_secrets:type_name -> envoy.admin.v3.SecretsConfigDump.DynamicSecret
- 21, // 17: envoy.admin.v3.EndpointsConfigDump.static_endpoint_configs:type_name -> envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig
- 22, // 18: envoy.admin.v3.EndpointsConfigDump.dynamic_endpoint_configs:type_name -> envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig
- 23, // 19: envoy.admin.v3.ListenersConfigDump.StaticListener.listener:type_name -> google.protobuf.Any
- 24, // 20: envoy.admin.v3.ListenersConfigDump.StaticListener.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 21: envoy.admin.v3.ListenersConfigDump.DynamicListenerState.listener:type_name -> google.protobuf.Any
- 24, // 22: envoy.admin.v3.ListenersConfigDump.DynamicListenerState.last_updated:type_name -> google.protobuf.Timestamp
- 11, // 23: envoy.admin.v3.ListenersConfigDump.DynamicListener.active_state:type_name -> envoy.admin.v3.ListenersConfigDump.DynamicListenerState
- 11, // 24: envoy.admin.v3.ListenersConfigDump.DynamicListener.warming_state:type_name -> envoy.admin.v3.ListenersConfigDump.DynamicListenerState
- 11, // 25: envoy.admin.v3.ListenersConfigDump.DynamicListener.draining_state:type_name -> envoy.admin.v3.ListenersConfigDump.DynamicListenerState
- 2, // 26: envoy.admin.v3.ListenersConfigDump.DynamicListener.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 27: envoy.admin.v3.ListenersConfigDump.DynamicListener.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 23, // 28: envoy.admin.v3.ClustersConfigDump.StaticCluster.cluster:type_name -> google.protobuf.Any
- 24, // 29: envoy.admin.v3.ClustersConfigDump.StaticCluster.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 30: envoy.admin.v3.ClustersConfigDump.DynamicCluster.cluster:type_name -> google.protobuf.Any
- 24, // 31: envoy.admin.v3.ClustersConfigDump.DynamicCluster.last_updated:type_name -> google.protobuf.Timestamp
- 2, // 32: envoy.admin.v3.ClustersConfigDump.DynamicCluster.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 33: envoy.admin.v3.ClustersConfigDump.DynamicCluster.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 23, // 34: envoy.admin.v3.RoutesConfigDump.StaticRouteConfig.route_config:type_name -> google.protobuf.Any
- 24, // 35: envoy.admin.v3.RoutesConfigDump.StaticRouteConfig.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 36: envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig.route_config:type_name -> google.protobuf.Any
- 24, // 37: envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig.last_updated:type_name -> google.protobuf.Timestamp
- 2, // 38: envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 39: envoy.admin.v3.RoutesConfigDump.DynamicRouteConfig.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 23, // 40: envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.scoped_route_configs:type_name -> google.protobuf.Any
- 24, // 41: envoy.admin.v3.ScopedRoutesConfigDump.InlineScopedRouteConfigs.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 42: envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.scoped_route_configs:type_name -> google.protobuf.Any
- 24, // 43: envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.last_updated:type_name -> google.protobuf.Timestamp
- 2, // 44: envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 45: envoy.admin.v3.ScopedRoutesConfigDump.DynamicScopedRouteConfigs.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 24, // 46: envoy.admin.v3.SecretsConfigDump.DynamicSecret.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 47: envoy.admin.v3.SecretsConfigDump.DynamicSecret.secret:type_name -> google.protobuf.Any
- 2, // 48: envoy.admin.v3.SecretsConfigDump.DynamicSecret.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 49: envoy.admin.v3.SecretsConfigDump.DynamicSecret.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 24, // 50: envoy.admin.v3.SecretsConfigDump.StaticSecret.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 51: envoy.admin.v3.SecretsConfigDump.StaticSecret.secret:type_name -> google.protobuf.Any
- 23, // 52: envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.endpoint_config:type_name -> google.protobuf.Any
- 24, // 53: envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig.last_updated:type_name -> google.protobuf.Timestamp
- 23, // 54: envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.endpoint_config:type_name -> google.protobuf.Any
- 24, // 55: envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.last_updated:type_name -> google.protobuf.Timestamp
- 2, // 56: envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.error_state:type_name -> envoy.admin.v3.UpdateFailureState
- 0, // 57: envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig.client_status:type_name -> envoy.admin.v3.ClientResourceStatus
- 58, // [58:58] is the sub-list for method output_type
- 58, // [58:58] is the sub-list for method input_type
- 58, // [58:58] is the sub-list for extension type_name
- 58, // [58:58] is the sub-list for extension extendee
- 0, // [0:58] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_config_dump_proto_init() }
-func file_envoy_admin_v3_config_dump_proto_init() {
- if File_envoy_admin_v3_config_dump_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_config_dump_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateFailureState); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BootstrapConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListenersConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClustersConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RoutesConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ScopedRoutesConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SecretsConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EndpointsConfigDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListenersConfigDump_StaticListener); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListenersConfigDump_DynamicListenerState); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListenersConfigDump_DynamicListener); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClustersConfigDump_StaticCluster); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClustersConfigDump_DynamicCluster); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RoutesConfigDump_StaticRouteConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RoutesConfigDump_DynamicRouteConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ScopedRoutesConfigDump_InlineScopedRouteConfigs); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ScopedRoutesConfigDump_DynamicScopedRouteConfigs); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SecretsConfigDump_DynamicSecret); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SecretsConfigDump_StaticSecret); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EndpointsConfigDump_StaticEndpointConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_config_dump_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EndpointsConfigDump_DynamicEndpointConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_config_dump_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 22,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_config_dump_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_config_dump_proto_depIdxs,
- EnumInfos: file_envoy_admin_v3_config_dump_proto_enumTypes,
- MessageInfos: file_envoy_admin_v3_config_dump_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_config_dump_proto = out.File
- file_envoy_admin_v3_config_dump_proto_rawDesc = nil
- file_envoy_admin_v3_config_dump_proto_goTypes = nil
- file_envoy_admin_v3_config_dump_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.validate.go
deleted file mode 100644
index 9e34b25a93..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/config_dump.pb.validate.go
+++ /dev/null
@@ -1,3962 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/config_dump.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on ConfigDump with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ConfigDump with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ConfigDumpMultiError, or
-// nil if none found.
-func (m *ConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ConfigDumpValidationError{
- field: fmt.Sprintf("Configs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ConfigDumpValidationError{
- field: fmt.Sprintf("Configs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ConfigDumpValidationError{
- field: fmt.Sprintf("Configs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// ConfigDumpMultiError is an error wrapping multiple validation errors
-// returned by ConfigDump.ValidateAll() if the designated constraints aren't met.
-type ConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ConfigDumpMultiError) AllErrors() []error { return m }
-
-// ConfigDumpValidationError is the validation error returned by
-// ConfigDump.Validate if the designated constraints aren't met.
-type ConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ConfigDumpValidationError) ErrorName() string { return "ConfigDumpValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ConfigDumpValidationError{}
-
-// Validate checks the field values on UpdateFailureState with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *UpdateFailureState) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on UpdateFailureState with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// UpdateFailureStateMultiError, or nil if none found.
-func (m *UpdateFailureState) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *UpdateFailureState) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetFailedConfiguration()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, UpdateFailureStateValidationError{
- field: "FailedConfiguration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, UpdateFailureStateValidationError{
- field: "FailedConfiguration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetFailedConfiguration()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return UpdateFailureStateValidationError{
- field: "FailedConfiguration",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdateAttempt()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, UpdateFailureStateValidationError{
- field: "LastUpdateAttempt",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, UpdateFailureStateValidationError{
- field: "LastUpdateAttempt",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdateAttempt()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return UpdateFailureStateValidationError{
- field: "LastUpdateAttempt",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Details
-
- // no validation rules for VersionInfo
-
- if len(errors) > 0 {
- return UpdateFailureStateMultiError(errors)
- }
-
- return nil
-}
-
-// UpdateFailureStateMultiError is an error wrapping multiple validation errors
-// returned by UpdateFailureState.ValidateAll() if the designated constraints
-// aren't met.
-type UpdateFailureStateMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m UpdateFailureStateMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m UpdateFailureStateMultiError) AllErrors() []error { return m }
-
-// UpdateFailureStateValidationError is the validation error returned by
-// UpdateFailureState.Validate if the designated constraints aren't met.
-type UpdateFailureStateValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e UpdateFailureStateValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e UpdateFailureStateValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e UpdateFailureStateValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e UpdateFailureStateValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e UpdateFailureStateValidationError) ErrorName() string {
- return "UpdateFailureStateValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e UpdateFailureStateValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sUpdateFailureState.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = UpdateFailureStateValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = UpdateFailureStateValidationError{}
-
-// Validate checks the field values on BootstrapConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *BootstrapConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on BootstrapConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// BootstrapConfigDumpMultiError, or nil if none found.
-func (m *BootstrapConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *BootstrapConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetBootstrap()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapConfigDumpValidationError{
- field: "Bootstrap",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapConfigDumpValidationError{
- field: "Bootstrap",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetBootstrap()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapConfigDumpValidationError{
- field: "Bootstrap",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapConfigDumpValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapConfigDumpValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapConfigDumpValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return BootstrapConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// BootstrapConfigDumpMultiError is an error wrapping multiple validation
-// errors returned by BootstrapConfigDump.ValidateAll() if the designated
-// constraints aren't met.
-type BootstrapConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m BootstrapConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m BootstrapConfigDumpMultiError) AllErrors() []error { return m }
-
-// BootstrapConfigDumpValidationError is the validation error returned by
-// BootstrapConfigDump.Validate if the designated constraints aren't met.
-type BootstrapConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e BootstrapConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e BootstrapConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e BootstrapConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e BootstrapConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e BootstrapConfigDumpValidationError) ErrorName() string {
- return "BootstrapConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e BootstrapConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBootstrapConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = BootstrapConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = BootstrapConfigDumpValidationError{}
-
-// Validate checks the field values on ListenersConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ListenersConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ListenersConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ListenersConfigDumpMultiError, or nil if none found.
-func (m *ListenersConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ListenersConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- for idx, item := range m.GetStaticListeners() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDumpValidationError{
- field: fmt.Sprintf("StaticListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDumpValidationError{
- field: fmt.Sprintf("StaticListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDumpValidationError{
- field: fmt.Sprintf("StaticListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicListeners() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicListeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ListenersConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// ListenersConfigDumpMultiError is an error wrapping multiple validation
-// errors returned by ListenersConfigDump.ValidateAll() if the designated
-// constraints aren't met.
-type ListenersConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenersConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenersConfigDumpMultiError) AllErrors() []error { return m }
-
-// ListenersConfigDumpValidationError is the validation error returned by
-// ListenersConfigDump.Validate if the designated constraints aren't met.
-type ListenersConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenersConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenersConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenersConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenersConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenersConfigDumpValidationError) ErrorName() string {
- return "ListenersConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ListenersConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListenersConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenersConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenersConfigDumpValidationError{}
-
-// Validate checks the field values on ClustersConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ClustersConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClustersConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ClustersConfigDumpMultiError, or nil if none found.
-func (m *ClustersConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClustersConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- for idx, item := range m.GetStaticClusters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("StaticClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("StaticClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDumpValidationError{
- field: fmt.Sprintf("StaticClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicActiveClusters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicWarmingClusters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingClusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ClustersConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// ClustersConfigDumpMultiError is an error wrapping multiple validation errors
-// returned by ClustersConfigDump.ValidateAll() if the designated constraints
-// aren't met.
-type ClustersConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClustersConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClustersConfigDumpMultiError) AllErrors() []error { return m }
-
-// ClustersConfigDumpValidationError is the validation error returned by
-// ClustersConfigDump.Validate if the designated constraints aren't met.
-type ClustersConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClustersConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClustersConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClustersConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClustersConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClustersConfigDumpValidationError) ErrorName() string {
- return "ClustersConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ClustersConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClustersConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClustersConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClustersConfigDumpValidationError{}
-
-// Validate checks the field values on RoutesConfigDump with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *RoutesConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RoutesConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RoutesConfigDumpMultiError, or nil if none found.
-func (m *RoutesConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RoutesConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetStaticRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDumpValidationError{
- field: fmt.Sprintf("StaticRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDumpValidationError{
- field: fmt.Sprintf("StaticRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDumpValidationError{
- field: fmt.Sprintf("StaticRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return RoutesConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// RoutesConfigDumpMultiError is an error wrapping multiple validation errors
-// returned by RoutesConfigDump.ValidateAll() if the designated constraints
-// aren't met.
-type RoutesConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RoutesConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RoutesConfigDumpMultiError) AllErrors() []error { return m }
-
-// RoutesConfigDumpValidationError is the validation error returned by
-// RoutesConfigDump.Validate if the designated constraints aren't met.
-type RoutesConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RoutesConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RoutesConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RoutesConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RoutesConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RoutesConfigDumpValidationError) ErrorName() string { return "RoutesConfigDumpValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RoutesConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRoutesConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RoutesConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RoutesConfigDumpValidationError{}
-
-// Validate checks the field values on ScopedRoutesConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ScopedRoutesConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ScopedRoutesConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ScopedRoutesConfigDumpMultiError, or nil if none found.
-func (m *ScopedRoutesConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ScopedRoutesConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetInlineScopedRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("InlineScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("InlineScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("InlineScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicScopedRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDumpValidationError{
- field: fmt.Sprintf("DynamicScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ScopedRoutesConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// ScopedRoutesConfigDumpMultiError is an error wrapping multiple validation
-// errors returned by ScopedRoutesConfigDump.ValidateAll() if the designated
-// constraints aren't met.
-type ScopedRoutesConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ScopedRoutesConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ScopedRoutesConfigDumpMultiError) AllErrors() []error { return m }
-
-// ScopedRoutesConfigDumpValidationError is the validation error returned by
-// ScopedRoutesConfigDump.Validate if the designated constraints aren't met.
-type ScopedRoutesConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ScopedRoutesConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ScopedRoutesConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ScopedRoutesConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ScopedRoutesConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ScopedRoutesConfigDumpValidationError) ErrorName() string {
- return "ScopedRoutesConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ScopedRoutesConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sScopedRoutesConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ScopedRoutesConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ScopedRoutesConfigDumpValidationError{}
-
-// Validate checks the field values on SecretsConfigDump with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *SecretsConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SecretsConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// SecretsConfigDumpMultiError, or nil if none found.
-func (m *SecretsConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SecretsConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetStaticSecrets() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("StaticSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("StaticSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDumpValidationError{
- field: fmt.Sprintf("StaticSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicActiveSecrets() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicActiveSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicWarmingSecrets() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicWarmingSecrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return SecretsConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// SecretsConfigDumpMultiError is an error wrapping multiple validation errors
-// returned by SecretsConfigDump.ValidateAll() if the designated constraints
-// aren't met.
-type SecretsConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SecretsConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SecretsConfigDumpMultiError) AllErrors() []error { return m }
-
-// SecretsConfigDumpValidationError is the validation error returned by
-// SecretsConfigDump.Validate if the designated constraints aren't met.
-type SecretsConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SecretsConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SecretsConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SecretsConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SecretsConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SecretsConfigDumpValidationError) ErrorName() string {
- return "SecretsConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e SecretsConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSecretsConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SecretsConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SecretsConfigDumpValidationError{}
-
-// Validate checks the field values on EndpointsConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *EndpointsConfigDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on EndpointsConfigDump with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// EndpointsConfigDumpMultiError, or nil if none found.
-func (m *EndpointsConfigDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *EndpointsConfigDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetStaticEndpointConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("StaticEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("StaticEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("StaticEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetDynamicEndpointConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDumpValidationError{
- field: fmt.Sprintf("DynamicEndpointConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return EndpointsConfigDumpMultiError(errors)
- }
-
- return nil
-}
-
-// EndpointsConfigDumpMultiError is an error wrapping multiple validation
-// errors returned by EndpointsConfigDump.ValidateAll() if the designated
-// constraints aren't met.
-type EndpointsConfigDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m EndpointsConfigDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m EndpointsConfigDumpMultiError) AllErrors() []error { return m }
-
-// EndpointsConfigDumpValidationError is the validation error returned by
-// EndpointsConfigDump.Validate if the designated constraints aren't met.
-type EndpointsConfigDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e EndpointsConfigDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e EndpointsConfigDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e EndpointsConfigDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e EndpointsConfigDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e EndpointsConfigDumpValidationError) ErrorName() string {
- return "EndpointsConfigDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e EndpointsConfigDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sEndpointsConfigDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = EndpointsConfigDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = EndpointsConfigDumpValidationError{}
-
-// Validate checks the field values on ListenersConfigDump_StaticListener with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *ListenersConfigDump_StaticListener) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ListenersConfigDump_StaticListener
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// ListenersConfigDump_StaticListenerMultiError, or nil if none found.
-func (m *ListenersConfigDump_StaticListener) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ListenersConfigDump_StaticListener) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetListener()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_StaticListenerValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_StaticListenerValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetListener()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_StaticListenerValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_StaticListenerValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_StaticListenerValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_StaticListenerValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ListenersConfigDump_StaticListenerMultiError(errors)
- }
-
- return nil
-}
-
-// ListenersConfigDump_StaticListenerMultiError is an error wrapping multiple
-// validation errors returned by
-// ListenersConfigDump_StaticListener.ValidateAll() if the designated
-// constraints aren't met.
-type ListenersConfigDump_StaticListenerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenersConfigDump_StaticListenerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenersConfigDump_StaticListenerMultiError) AllErrors() []error { return m }
-
-// ListenersConfigDump_StaticListenerValidationError is the validation error
-// returned by ListenersConfigDump_StaticListener.Validate if the designated
-// constraints aren't met.
-type ListenersConfigDump_StaticListenerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenersConfigDump_StaticListenerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenersConfigDump_StaticListenerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenersConfigDump_StaticListenerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenersConfigDump_StaticListenerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenersConfigDump_StaticListenerValidationError) ErrorName() string {
- return "ListenersConfigDump_StaticListenerValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ListenersConfigDump_StaticListenerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListenersConfigDump_StaticListener.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenersConfigDump_StaticListenerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenersConfigDump_StaticListenerValidationError{}
-
-// Validate checks the field values on ListenersConfigDump_DynamicListenerState
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *ListenersConfigDump_DynamicListenerState) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// ListenersConfigDump_DynamicListenerState with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in
-// ListenersConfigDump_DynamicListenerStateMultiError, or nil if none found.
-func (m *ListenersConfigDump_DynamicListenerState) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ListenersConfigDump_DynamicListenerState) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- if all {
- switch v := interface{}(m.GetListener()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerStateValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerStateValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetListener()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerStateValidationError{
- field: "Listener",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerStateValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerStateValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerStateValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ListenersConfigDump_DynamicListenerStateMultiError(errors)
- }
-
- return nil
-}
-
-// ListenersConfigDump_DynamicListenerStateMultiError is an error wrapping
-// multiple validation errors returned by
-// ListenersConfigDump_DynamicListenerState.ValidateAll() if the designated
-// constraints aren't met.
-type ListenersConfigDump_DynamicListenerStateMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenersConfigDump_DynamicListenerStateMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenersConfigDump_DynamicListenerStateMultiError) AllErrors() []error { return m }
-
-// ListenersConfigDump_DynamicListenerStateValidationError is the validation
-// error returned by ListenersConfigDump_DynamicListenerState.Validate if the
-// designated constraints aren't met.
-type ListenersConfigDump_DynamicListenerStateValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenersConfigDump_DynamicListenerStateValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenersConfigDump_DynamicListenerStateValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenersConfigDump_DynamicListenerStateValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenersConfigDump_DynamicListenerStateValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenersConfigDump_DynamicListenerStateValidationError) ErrorName() string {
- return "ListenersConfigDump_DynamicListenerStateValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ListenersConfigDump_DynamicListenerStateValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListenersConfigDump_DynamicListenerState.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenersConfigDump_DynamicListenerStateValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenersConfigDump_DynamicListenerStateValidationError{}
-
-// Validate checks the field values on ListenersConfigDump_DynamicListener with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *ListenersConfigDump_DynamicListener) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ListenersConfigDump_DynamicListener
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// ListenersConfigDump_DynamicListenerMultiError, or nil if none found.
-func (m *ListenersConfigDump_DynamicListener) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ListenersConfigDump_DynamicListener) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if all {
- switch v := interface{}(m.GetActiveState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "ActiveState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "ActiveState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetActiveState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerValidationError{
- field: "ActiveState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetWarmingState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "WarmingState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "WarmingState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetWarmingState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerValidationError{
- field: "WarmingState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetDrainingState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "DrainingState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "DrainingState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDrainingState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerValidationError{
- field: "DrainingState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersConfigDump_DynamicListenerValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersConfigDump_DynamicListenerValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return ListenersConfigDump_DynamicListenerMultiError(errors)
- }
-
- return nil
-}
-
-// ListenersConfigDump_DynamicListenerMultiError is an error wrapping multiple
-// validation errors returned by
-// ListenersConfigDump_DynamicListener.ValidateAll() if the designated
-// constraints aren't met.
-type ListenersConfigDump_DynamicListenerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenersConfigDump_DynamicListenerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenersConfigDump_DynamicListenerMultiError) AllErrors() []error { return m }
-
-// ListenersConfigDump_DynamicListenerValidationError is the validation error
-// returned by ListenersConfigDump_DynamicListener.Validate if the designated
-// constraints aren't met.
-type ListenersConfigDump_DynamicListenerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenersConfigDump_DynamicListenerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenersConfigDump_DynamicListenerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenersConfigDump_DynamicListenerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenersConfigDump_DynamicListenerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenersConfigDump_DynamicListenerValidationError) ErrorName() string {
- return "ListenersConfigDump_DynamicListenerValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ListenersConfigDump_DynamicListenerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListenersConfigDump_DynamicListener.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenersConfigDump_DynamicListenerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenersConfigDump_DynamicListenerValidationError{}
-
-// Validate checks the field values on ClustersConfigDump_StaticCluster with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *ClustersConfigDump_StaticCluster) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClustersConfigDump_StaticCluster with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// ClustersConfigDump_StaticClusterMultiError, or nil if none found.
-func (m *ClustersConfigDump_StaticCluster) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClustersConfigDump_StaticCluster) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetCluster()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDump_StaticClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDump_StaticClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCluster()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDump_StaticClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDump_StaticClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDump_StaticClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDump_StaticClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ClustersConfigDump_StaticClusterMultiError(errors)
- }
-
- return nil
-}
-
-// ClustersConfigDump_StaticClusterMultiError is an error wrapping multiple
-// validation errors returned by
-// ClustersConfigDump_StaticCluster.ValidateAll() if the designated
-// constraints aren't met.
-type ClustersConfigDump_StaticClusterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClustersConfigDump_StaticClusterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClustersConfigDump_StaticClusterMultiError) AllErrors() []error { return m }
-
-// ClustersConfigDump_StaticClusterValidationError is the validation error
-// returned by ClustersConfigDump_StaticCluster.Validate if the designated
-// constraints aren't met.
-type ClustersConfigDump_StaticClusterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClustersConfigDump_StaticClusterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClustersConfigDump_StaticClusterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClustersConfigDump_StaticClusterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClustersConfigDump_StaticClusterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClustersConfigDump_StaticClusterValidationError) ErrorName() string {
- return "ClustersConfigDump_StaticClusterValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ClustersConfigDump_StaticClusterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClustersConfigDump_StaticCluster.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClustersConfigDump_StaticClusterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClustersConfigDump_StaticClusterValidationError{}
-
-// Validate checks the field values on ClustersConfigDump_DynamicCluster with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *ClustersConfigDump_DynamicCluster) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClustersConfigDump_DynamicCluster
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// ClustersConfigDump_DynamicClusterMultiError, or nil if none found.
-func (m *ClustersConfigDump_DynamicCluster) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClustersConfigDump_DynamicCluster) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- if all {
- switch v := interface{}(m.GetCluster()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCluster()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDump_DynamicClusterValidationError{
- field: "Cluster",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDump_DynamicClusterValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClustersConfigDump_DynamicClusterValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClustersConfigDump_DynamicClusterValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return ClustersConfigDump_DynamicClusterMultiError(errors)
- }
-
- return nil
-}
-
-// ClustersConfigDump_DynamicClusterMultiError is an error wrapping multiple
-// validation errors returned by
-// ClustersConfigDump_DynamicCluster.ValidateAll() if the designated
-// constraints aren't met.
-type ClustersConfigDump_DynamicClusterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClustersConfigDump_DynamicClusterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClustersConfigDump_DynamicClusterMultiError) AllErrors() []error { return m }
-
-// ClustersConfigDump_DynamicClusterValidationError is the validation error
-// returned by ClustersConfigDump_DynamicCluster.Validate if the designated
-// constraints aren't met.
-type ClustersConfigDump_DynamicClusterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClustersConfigDump_DynamicClusterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClustersConfigDump_DynamicClusterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClustersConfigDump_DynamicClusterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClustersConfigDump_DynamicClusterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClustersConfigDump_DynamicClusterValidationError) ErrorName() string {
- return "ClustersConfigDump_DynamicClusterValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ClustersConfigDump_DynamicClusterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClustersConfigDump_DynamicCluster.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClustersConfigDump_DynamicClusterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClustersConfigDump_DynamicClusterValidationError{}
-
-// Validate checks the field values on RoutesConfigDump_StaticRouteConfig with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *RoutesConfigDump_StaticRouteConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RoutesConfigDump_StaticRouteConfig
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// RoutesConfigDump_StaticRouteConfigMultiError, or nil if none found.
-func (m *RoutesConfigDump_StaticRouteConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RoutesConfigDump_StaticRouteConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetRouteConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDump_StaticRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDump_StaticRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRouteConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDump_StaticRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDump_StaticRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDump_StaticRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDump_StaticRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return RoutesConfigDump_StaticRouteConfigMultiError(errors)
- }
-
- return nil
-}
-
-// RoutesConfigDump_StaticRouteConfigMultiError is an error wrapping multiple
-// validation errors returned by
-// RoutesConfigDump_StaticRouteConfig.ValidateAll() if the designated
-// constraints aren't met.
-type RoutesConfigDump_StaticRouteConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RoutesConfigDump_StaticRouteConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RoutesConfigDump_StaticRouteConfigMultiError) AllErrors() []error { return m }
-
-// RoutesConfigDump_StaticRouteConfigValidationError is the validation error
-// returned by RoutesConfigDump_StaticRouteConfig.Validate if the designated
-// constraints aren't met.
-type RoutesConfigDump_StaticRouteConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RoutesConfigDump_StaticRouteConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RoutesConfigDump_StaticRouteConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RoutesConfigDump_StaticRouteConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RoutesConfigDump_StaticRouteConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RoutesConfigDump_StaticRouteConfigValidationError) ErrorName() string {
- return "RoutesConfigDump_StaticRouteConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RoutesConfigDump_StaticRouteConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRoutesConfigDump_StaticRouteConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RoutesConfigDump_StaticRouteConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RoutesConfigDump_StaticRouteConfigValidationError{}
-
-// Validate checks the field values on RoutesConfigDump_DynamicRouteConfig with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *RoutesConfigDump_DynamicRouteConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RoutesConfigDump_DynamicRouteConfig
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// RoutesConfigDump_DynamicRouteConfigMultiError, or nil if none found.
-func (m *RoutesConfigDump_DynamicRouteConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RoutesConfigDump_DynamicRouteConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- if all {
- switch v := interface{}(m.GetRouteConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRouteConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "RouteConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RoutesConfigDump_DynamicRouteConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return RoutesConfigDump_DynamicRouteConfigMultiError(errors)
- }
-
- return nil
-}
-
-// RoutesConfigDump_DynamicRouteConfigMultiError is an error wrapping multiple
-// validation errors returned by
-// RoutesConfigDump_DynamicRouteConfig.ValidateAll() if the designated
-// constraints aren't met.
-type RoutesConfigDump_DynamicRouteConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RoutesConfigDump_DynamicRouteConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RoutesConfigDump_DynamicRouteConfigMultiError) AllErrors() []error { return m }
-
-// RoutesConfigDump_DynamicRouteConfigValidationError is the validation error
-// returned by RoutesConfigDump_DynamicRouteConfig.Validate if the designated
-// constraints aren't met.
-type RoutesConfigDump_DynamicRouteConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) ErrorName() string {
- return "RoutesConfigDump_DynamicRouteConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RoutesConfigDump_DynamicRouteConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRoutesConfigDump_DynamicRouteConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RoutesConfigDump_DynamicRouteConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RoutesConfigDump_DynamicRouteConfigValidationError{}
-
-// Validate checks the field values on
-// ScopedRoutesConfigDump_InlineScopedRouteConfigs with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ScopedRoutesConfigDump_InlineScopedRouteConfigs) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// ScopedRoutesConfigDump_InlineScopedRouteConfigs with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in
-// ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError, or nil if none found.
-func (m *ScopedRoutesConfigDump_InlineScopedRouteConfigs) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ScopedRoutesConfigDump_InlineScopedRouteConfigs) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- for idx, item := range m.GetScopedRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError(errors)
- }
-
- return nil
-}
-
-// ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError is an error
-// wrapping multiple validation errors returned by
-// ScopedRoutesConfigDump_InlineScopedRouteConfigs.ValidateAll() if the
-// designated constraints aren't met.
-type ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ScopedRoutesConfigDump_InlineScopedRouteConfigsMultiError) AllErrors() []error { return m }
-
-// ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError is the
-// validation error returned by
-// ScopedRoutesConfigDump_InlineScopedRouteConfigs.Validate if the designated
-// constraints aren't met.
-type ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) ErrorName() string {
- return "ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sScopedRoutesConfigDump_InlineScopedRouteConfigs.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ScopedRoutesConfigDump_InlineScopedRouteConfigsValidationError{}
-
-// Validate checks the field values on
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigs with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigs with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError, or nil if none found.
-func (m *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ScopedRoutesConfigDump_DynamicScopedRouteConfigs) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- // no validation rules for VersionInfo
-
- for idx, item := range m.GetScopedRouteConfigs() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: fmt.Sprintf("ScopedRouteConfigs[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError(errors)
- }
-
- return nil
-}
-
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError is an error
-// wrapping multiple validation errors returned by
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigs.ValidateAll() if the
-// designated constraints aren't met.
-type ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ScopedRoutesConfigDump_DynamicScopedRouteConfigsMultiError) AllErrors() []error { return m }
-
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError is the
-// validation error returned by
-// ScopedRoutesConfigDump_DynamicScopedRouteConfigs.Validate if the designated
-// constraints aren't met.
-type ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) ErrorName() string {
- return "ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sScopedRoutesConfigDump_DynamicScopedRouteConfigs.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ScopedRoutesConfigDump_DynamicScopedRouteConfigsValidationError{}
-
-// Validate checks the field values on SecretsConfigDump_DynamicSecret with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *SecretsConfigDump_DynamicSecret) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SecretsConfigDump_DynamicSecret with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// SecretsConfigDump_DynamicSecretMultiError, or nil if none found.
-func (m *SecretsConfigDump_DynamicSecret) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SecretsConfigDump_DynamicSecret) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- // no validation rules for VersionInfo
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDump_DynamicSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetSecret()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSecret()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDump_DynamicSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDump_DynamicSecretValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDump_DynamicSecretValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return SecretsConfigDump_DynamicSecretMultiError(errors)
- }
-
- return nil
-}
-
-// SecretsConfigDump_DynamicSecretMultiError is an error wrapping multiple
-// validation errors returned by SecretsConfigDump_DynamicSecret.ValidateAll()
-// if the designated constraints aren't met.
-type SecretsConfigDump_DynamicSecretMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SecretsConfigDump_DynamicSecretMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SecretsConfigDump_DynamicSecretMultiError) AllErrors() []error { return m }
-
-// SecretsConfigDump_DynamicSecretValidationError is the validation error
-// returned by SecretsConfigDump_DynamicSecret.Validate if the designated
-// constraints aren't met.
-type SecretsConfigDump_DynamicSecretValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SecretsConfigDump_DynamicSecretValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SecretsConfigDump_DynamicSecretValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SecretsConfigDump_DynamicSecretValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SecretsConfigDump_DynamicSecretValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SecretsConfigDump_DynamicSecretValidationError) ErrorName() string {
- return "SecretsConfigDump_DynamicSecretValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e SecretsConfigDump_DynamicSecretValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSecretsConfigDump_DynamicSecret.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SecretsConfigDump_DynamicSecretValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SecretsConfigDump_DynamicSecretValidationError{}
-
-// Validate checks the field values on SecretsConfigDump_StaticSecret with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *SecretsConfigDump_StaticSecret) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SecretsConfigDump_StaticSecret with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// SecretsConfigDump_StaticSecretMultiError, or nil if none found.
-func (m *SecretsConfigDump_StaticSecret) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SecretsConfigDump_StaticSecret) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDump_StaticSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDump_StaticSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDump_StaticSecretValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetSecret()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, SecretsConfigDump_StaticSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, SecretsConfigDump_StaticSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSecret()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return SecretsConfigDump_StaticSecretValidationError{
- field: "Secret",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return SecretsConfigDump_StaticSecretMultiError(errors)
- }
-
- return nil
-}
-
-// SecretsConfigDump_StaticSecretMultiError is an error wrapping multiple
-// validation errors returned by SecretsConfigDump_StaticSecret.ValidateAll()
-// if the designated constraints aren't met.
-type SecretsConfigDump_StaticSecretMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SecretsConfigDump_StaticSecretMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SecretsConfigDump_StaticSecretMultiError) AllErrors() []error { return m }
-
-// SecretsConfigDump_StaticSecretValidationError is the validation error
-// returned by SecretsConfigDump_StaticSecret.Validate if the designated
-// constraints aren't met.
-type SecretsConfigDump_StaticSecretValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SecretsConfigDump_StaticSecretValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SecretsConfigDump_StaticSecretValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SecretsConfigDump_StaticSecretValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SecretsConfigDump_StaticSecretValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SecretsConfigDump_StaticSecretValidationError) ErrorName() string {
- return "SecretsConfigDump_StaticSecretValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e SecretsConfigDump_StaticSecretValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSecretsConfigDump_StaticSecret.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SecretsConfigDump_StaticSecretValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SecretsConfigDump_StaticSecretValidationError{}
-
-// Validate checks the field values on EndpointsConfigDump_StaticEndpointConfig
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *EndpointsConfigDump_StaticEndpointConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// EndpointsConfigDump_StaticEndpointConfig with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in
-// EndpointsConfigDump_StaticEndpointConfigMultiError, or nil if none found.
-func (m *EndpointsConfigDump_StaticEndpointConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *EndpointsConfigDump_StaticEndpointConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetEndpointConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetEndpointConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDump_StaticEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return EndpointsConfigDump_StaticEndpointConfigMultiError(errors)
- }
-
- return nil
-}
-
-// EndpointsConfigDump_StaticEndpointConfigMultiError is an error wrapping
-// multiple validation errors returned by
-// EndpointsConfigDump_StaticEndpointConfig.ValidateAll() if the designated
-// constraints aren't met.
-type EndpointsConfigDump_StaticEndpointConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m EndpointsConfigDump_StaticEndpointConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m EndpointsConfigDump_StaticEndpointConfigMultiError) AllErrors() []error { return m }
-
-// EndpointsConfigDump_StaticEndpointConfigValidationError is the validation
-// error returned by EndpointsConfigDump_StaticEndpointConfig.Validate if the
-// designated constraints aren't met.
-type EndpointsConfigDump_StaticEndpointConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) ErrorName() string {
- return "EndpointsConfigDump_StaticEndpointConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e EndpointsConfigDump_StaticEndpointConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sEndpointsConfigDump_StaticEndpointConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = EndpointsConfigDump_StaticEndpointConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = EndpointsConfigDump_StaticEndpointConfigValidationError{}
-
-// Validate checks the field values on
-// EndpointsConfigDump_DynamicEndpointConfig with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *EndpointsConfigDump_DynamicEndpointConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// EndpointsConfigDump_DynamicEndpointConfig with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in
-// EndpointsConfigDump_DynamicEndpointConfigMultiError, or nil if none found.
-func (m *EndpointsConfigDump_DynamicEndpointConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *EndpointsConfigDump_DynamicEndpointConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for VersionInfo
-
- if all {
- switch v := interface{}(m.GetEndpointConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetEndpointConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "EndpointConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLastUpdated()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLastUpdated()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "LastUpdated",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetErrorState()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetErrorState()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EndpointsConfigDump_DynamicEndpointConfigValidationError{
- field: "ErrorState",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ClientStatus
-
- if len(errors) > 0 {
- return EndpointsConfigDump_DynamicEndpointConfigMultiError(errors)
- }
-
- return nil
-}
-
-// EndpointsConfigDump_DynamicEndpointConfigMultiError is an error wrapping
-// multiple validation errors returned by
-// EndpointsConfigDump_DynamicEndpointConfig.ValidateAll() if the designated
-// constraints aren't met.
-type EndpointsConfigDump_DynamicEndpointConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m EndpointsConfigDump_DynamicEndpointConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m EndpointsConfigDump_DynamicEndpointConfigMultiError) AllErrors() []error { return m }
-
-// EndpointsConfigDump_DynamicEndpointConfigValidationError is the validation
-// error returned by EndpointsConfigDump_DynamicEndpointConfig.Validate if the
-// designated constraints aren't met.
-type EndpointsConfigDump_DynamicEndpointConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) ErrorName() string {
- return "EndpointsConfigDump_DynamicEndpointConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e EndpointsConfigDump_DynamicEndpointConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sEndpointsConfigDump_DynamicEndpointConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = EndpointsConfigDump_DynamicEndpointConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = EndpointsConfigDump_DynamicEndpointConfigValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.go
deleted file mode 100644
index 5b81a0a561..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.go
+++ /dev/null
@@ -1,241 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/init_dump.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Dumps of unready targets of envoy init managers. Envoy's admin fills this message with init managers,
-// which provides the information of their unready targets.
-// The :ref:`/init_dump ` will dump all unready targets information.
-type UnreadyTargetsDumps struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // You can choose specific component to dump unready targets with mask query parameter.
- // See :ref:`/init_dump?mask={} ` for more information.
- // The dumps of unready targets of all init managers.
- UnreadyTargetsDumps []*UnreadyTargetsDumps_UnreadyTargetsDump `protobuf:"bytes,1,rep,name=unready_targets_dumps,json=unreadyTargetsDumps,proto3" json:"unready_targets_dumps,omitempty"`
-}
-
-func (x *UnreadyTargetsDumps) Reset() {
- *x = UnreadyTargetsDumps{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UnreadyTargetsDumps) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UnreadyTargetsDumps) ProtoMessage() {}
-
-func (x *UnreadyTargetsDumps) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UnreadyTargetsDumps.ProtoReflect.Descriptor instead.
-func (*UnreadyTargetsDumps) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_init_dump_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *UnreadyTargetsDumps) GetUnreadyTargetsDumps() []*UnreadyTargetsDumps_UnreadyTargetsDump {
- if x != nil {
- return x.UnreadyTargetsDumps
- }
- return nil
-}
-
-// Message of unready targets information of an init manager.
-type UnreadyTargetsDumps_UnreadyTargetsDump struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Name of the init manager. Example: "init_manager_xxx".
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Names of unready targets of the init manager. Example: "target_xxx".
- TargetNames []string `protobuf:"bytes,2,rep,name=target_names,json=targetNames,proto3" json:"target_names,omitempty"`
-}
-
-func (x *UnreadyTargetsDumps_UnreadyTargetsDump) Reset() {
- *x = UnreadyTargetsDumps_UnreadyTargetsDump{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UnreadyTargetsDumps_UnreadyTargetsDump) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UnreadyTargetsDumps_UnreadyTargetsDump) ProtoMessage() {}
-
-func (x *UnreadyTargetsDumps_UnreadyTargetsDump) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_init_dump_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UnreadyTargetsDumps_UnreadyTargetsDump.ProtoReflect.Descriptor instead.
-func (*UnreadyTargetsDumps_UnreadyTargetsDump) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_init_dump_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *UnreadyTargetsDumps_UnreadyTargetsDump) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *UnreadyTargetsDumps_UnreadyTargetsDump) GetTargetNames() []string {
- if x != nil {
- return x.TargetNames
- }
- return nil
-}
-
-var File_envoy_admin_v3_init_dump_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_init_dump_proto_rawDesc = []byte{
- 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0xce, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65,
- 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x75, 0x6e, 0x72, 0x65, 0x61,
- 0x64, 0x79, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54,
- 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x73, 0x2e, 0x55, 0x6e, 0x72, 0x65,
- 0x61, 0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x13,
- 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75,
- 0x6d, 0x70, 0x73, 0x1a, 0x4b, 0x0a, 0x12, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54, 0x61,
- 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
- 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73,
- 0x42, 0x76, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
- 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x42, 0x0d, 0x49, 0x6e, 0x69, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
- 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33,
- 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_init_dump_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_init_dump_proto_rawDescData = file_envoy_admin_v3_init_dump_proto_rawDesc
-)
-
-func file_envoy_admin_v3_init_dump_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_init_dump_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_init_dump_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_init_dump_proto_rawDescData)
- })
- return file_envoy_admin_v3_init_dump_proto_rawDescData
-}
-
-var file_envoy_admin_v3_init_dump_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_envoy_admin_v3_init_dump_proto_goTypes = []interface{}{
- (*UnreadyTargetsDumps)(nil), // 0: envoy.admin.v3.UnreadyTargetsDumps
- (*UnreadyTargetsDumps_UnreadyTargetsDump)(nil), // 1: envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump
-}
-var file_envoy_admin_v3_init_dump_proto_depIdxs = []int32{
- 1, // 0: envoy.admin.v3.UnreadyTargetsDumps.unready_targets_dumps:type_name -> envoy.admin.v3.UnreadyTargetsDumps.UnreadyTargetsDump
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_init_dump_proto_init() }
-func file_envoy_admin_v3_init_dump_proto_init() {
- if File_envoy_admin_v3_init_dump_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_init_dump_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UnreadyTargetsDumps); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_init_dump_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UnreadyTargetsDumps_UnreadyTargetsDump); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_init_dump_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_init_dump_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_init_dump_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_init_dump_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_init_dump_proto = out.File
- file_envoy_admin_v3_init_dump_proto_rawDesc = nil
- file_envoy_admin_v3_init_dump_proto_goTypes = nil
- file_envoy_admin_v3_init_dump_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.validate.go
deleted file mode 100644
index 26eebf9092..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/init_dump.pb.validate.go
+++ /dev/null
@@ -1,280 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/init_dump.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on UnreadyTargetsDumps with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *UnreadyTargetsDumps) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on UnreadyTargetsDumps with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// UnreadyTargetsDumpsMultiError, or nil if none found.
-func (m *UnreadyTargetsDumps) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *UnreadyTargetsDumps) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetUnreadyTargetsDumps() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, UnreadyTargetsDumpsValidationError{
- field: fmt.Sprintf("UnreadyTargetsDumps[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, UnreadyTargetsDumpsValidationError{
- field: fmt.Sprintf("UnreadyTargetsDumps[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return UnreadyTargetsDumpsValidationError{
- field: fmt.Sprintf("UnreadyTargetsDumps[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return UnreadyTargetsDumpsMultiError(errors)
- }
-
- return nil
-}
-
-// UnreadyTargetsDumpsMultiError is an error wrapping multiple validation
-// errors returned by UnreadyTargetsDumps.ValidateAll() if the designated
-// constraints aren't met.
-type UnreadyTargetsDumpsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m UnreadyTargetsDumpsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m UnreadyTargetsDumpsMultiError) AllErrors() []error { return m }
-
-// UnreadyTargetsDumpsValidationError is the validation error returned by
-// UnreadyTargetsDumps.Validate if the designated constraints aren't met.
-type UnreadyTargetsDumpsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e UnreadyTargetsDumpsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e UnreadyTargetsDumpsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e UnreadyTargetsDumpsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e UnreadyTargetsDumpsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e UnreadyTargetsDumpsValidationError) ErrorName() string {
- return "UnreadyTargetsDumpsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e UnreadyTargetsDumpsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sUnreadyTargetsDumps.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = UnreadyTargetsDumpsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = UnreadyTargetsDumpsValidationError{}
-
-// Validate checks the field values on UnreadyTargetsDumps_UnreadyTargetsDump
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *UnreadyTargetsDumps_UnreadyTargetsDump) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// UnreadyTargetsDumps_UnreadyTargetsDump with the rules defined in the proto
-// definition for this message. If any rules are violated, the result is a
-// list of violation errors wrapped in
-// UnreadyTargetsDumps_UnreadyTargetsDumpMultiError, or nil if none found.
-func (m *UnreadyTargetsDumps_UnreadyTargetsDump) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *UnreadyTargetsDumps_UnreadyTargetsDump) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if len(errors) > 0 {
- return UnreadyTargetsDumps_UnreadyTargetsDumpMultiError(errors)
- }
-
- return nil
-}
-
-// UnreadyTargetsDumps_UnreadyTargetsDumpMultiError is an error wrapping
-// multiple validation errors returned by
-// UnreadyTargetsDumps_UnreadyTargetsDump.ValidateAll() if the designated
-// constraints aren't met.
-type UnreadyTargetsDumps_UnreadyTargetsDumpMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m UnreadyTargetsDumps_UnreadyTargetsDumpMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m UnreadyTargetsDumps_UnreadyTargetsDumpMultiError) AllErrors() []error { return m }
-
-// UnreadyTargetsDumps_UnreadyTargetsDumpValidationError is the validation
-// error returned by UnreadyTargetsDumps_UnreadyTargetsDump.Validate if the
-// designated constraints aren't met.
-type UnreadyTargetsDumps_UnreadyTargetsDumpValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) ErrorName() string {
- return "UnreadyTargetsDumps_UnreadyTargetsDumpValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e UnreadyTargetsDumps_UnreadyTargetsDumpValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sUnreadyTargetsDumps_UnreadyTargetsDump.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = UnreadyTargetsDumps_UnreadyTargetsDumpValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = UnreadyTargetsDumps_UnreadyTargetsDumpValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.go
deleted file mode 100644
index 5a4e8813c8..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.go
+++ /dev/null
@@ -1,269 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/listeners.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Admin endpoint uses this wrapper for `/listeners` to display listener status information.
-// See :ref:`/listeners ` for more information.
-type Listeners struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // List of listener statuses.
- ListenerStatuses []*ListenerStatus `protobuf:"bytes,1,rep,name=listener_statuses,json=listenerStatuses,proto3" json:"listener_statuses,omitempty"`
-}
-
-func (x *Listeners) Reset() {
- *x = Listeners{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_listeners_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Listeners) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Listeners) ProtoMessage() {}
-
-func (x *Listeners) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_listeners_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Listeners.ProtoReflect.Descriptor instead.
-func (*Listeners) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_listeners_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Listeners) GetListenerStatuses() []*ListenerStatus {
- if x != nil {
- return x.ListenerStatuses
- }
- return nil
-}
-
-// Details an individual listener's current status.
-type ListenerStatus struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Name of the listener
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The actual local address that the listener is listening on. If a listener was configured
- // to listen on port 0, then this address has the port that was allocated by the OS.
- LocalAddress *v3.Address `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"`
- // The additional addresses the listener is listening on as specified via the :ref:`additional_addresses `
- // configuration.
- // [#not-implemented-hide:]
- AdditionalLocalAddresses []*v3.Address `protobuf:"bytes,3,rep,name=additional_local_addresses,json=additionalLocalAddresses,proto3" json:"additional_local_addresses,omitempty"`
-}
-
-func (x *ListenerStatus) Reset() {
- *x = ListenerStatus{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_listeners_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ListenerStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ListenerStatus) ProtoMessage() {}
-
-func (x *ListenerStatus) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_listeners_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ListenerStatus.ProtoReflect.Descriptor instead.
-func (*ListenerStatus) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_listeners_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *ListenerStatus) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *ListenerStatus) GetLocalAddress() *v3.Address {
- if x != nil {
- return x.LocalAddress
- }
- return nil
-}
-
-func (x *ListenerStatus) GetAdditionalLocalAddresses() []*v3.Address {
- if x != nil {
- return x.AdditionalLocalAddresses
- }
- return nil
-}
-
-var File_envoy_admin_v3_listeners_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_listeners_proto_rawDesc = []byte{
- 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
- 0x65, 0x72, 0x73, 0x12, 0x4b, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10,
- 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73,
- 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73,
- 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x22, 0xf0, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65,
- 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a,
- 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x12, 0x5b, 0x0a, 0x1a, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
- 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64,
- 0x72, 0x65, 0x73, 0x73, 0x52, 0x18, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x29,
- 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65,
- 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x77, 0x0a, 0x1c, 0x69, 0x6f, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65,
- 0x6e, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c,
- 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f,
- 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02,
- 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_listeners_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_listeners_proto_rawDescData = file_envoy_admin_v3_listeners_proto_rawDesc
-)
-
-func file_envoy_admin_v3_listeners_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_listeners_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_listeners_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_listeners_proto_rawDescData)
- })
- return file_envoy_admin_v3_listeners_proto_rawDescData
-}
-
-var file_envoy_admin_v3_listeners_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_envoy_admin_v3_listeners_proto_goTypes = []interface{}{
- (*Listeners)(nil), // 0: envoy.admin.v3.Listeners
- (*ListenerStatus)(nil), // 1: envoy.admin.v3.ListenerStatus
- (*v3.Address)(nil), // 2: envoy.config.core.v3.Address
-}
-var file_envoy_admin_v3_listeners_proto_depIdxs = []int32{
- 1, // 0: envoy.admin.v3.Listeners.listener_statuses:type_name -> envoy.admin.v3.ListenerStatus
- 2, // 1: envoy.admin.v3.ListenerStatus.local_address:type_name -> envoy.config.core.v3.Address
- 2, // 2: envoy.admin.v3.ListenerStatus.additional_local_addresses:type_name -> envoy.config.core.v3.Address
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 3, // [3:3] is the sub-list for extension extendee
- 0, // [0:3] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_listeners_proto_init() }
-func file_envoy_admin_v3_listeners_proto_init() {
- if File_envoy_admin_v3_listeners_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_listeners_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Listeners); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_listeners_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListenerStatus); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_listeners_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_listeners_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_listeners_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_listeners_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_listeners_proto = out.File
- file_envoy_admin_v3_listeners_proto_rawDesc = nil
- file_envoy_admin_v3_listeners_proto_goTypes = nil
- file_envoy_admin_v3_listeners_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.validate.go
deleted file mode 100644
index 25fe3f36ac..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/listeners.pb.validate.go
+++ /dev/null
@@ -1,334 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/listeners.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Listeners with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Listeners) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Listeners with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ListenersMultiError, or nil
-// if none found.
-func (m *Listeners) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Listeners) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetListenerStatuses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenersValidationError{
- field: fmt.Sprintf("ListenerStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenersValidationError{
- field: fmt.Sprintf("ListenerStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenersValidationError{
- field: fmt.Sprintf("ListenerStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ListenersMultiError(errors)
- }
-
- return nil
-}
-
-// ListenersMultiError is an error wrapping multiple validation errors returned
-// by Listeners.ValidateAll() if the designated constraints aren't met.
-type ListenersMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenersMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenersMultiError) AllErrors() []error { return m }
-
-// ListenersValidationError is the validation error returned by
-// Listeners.Validate if the designated constraints aren't met.
-type ListenersValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenersValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenersValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenersValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenersValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenersValidationError) ErrorName() string { return "ListenersValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ListenersValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListeners.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenersValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenersValidationError{}
-
-// Validate checks the field values on ListenerStatus with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ListenerStatus) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ListenerStatus with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ListenerStatusMultiError,
-// or nil if none found.
-func (m *ListenerStatus) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ListenerStatus) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if all {
- switch v := interface{}(m.GetLocalAddress()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenerStatusValidationError{
- field: "LocalAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenerStatusValidationError{
- field: "LocalAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocalAddress()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenerStatusValidationError{
- field: "LocalAddress",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetAdditionalLocalAddresses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ListenerStatusValidationError{
- field: fmt.Sprintf("AdditionalLocalAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ListenerStatusValidationError{
- field: fmt.Sprintf("AdditionalLocalAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ListenerStatusValidationError{
- field: fmt.Sprintf("AdditionalLocalAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ListenerStatusMultiError(errors)
- }
-
- return nil
-}
-
-// ListenerStatusMultiError is an error wrapping multiple validation errors
-// returned by ListenerStatus.ValidateAll() if the designated constraints
-// aren't met.
-type ListenerStatusMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ListenerStatusMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ListenerStatusMultiError) AllErrors() []error { return m }
-
-// ListenerStatusValidationError is the validation error returned by
-// ListenerStatus.Validate if the designated constraints aren't met.
-type ListenerStatusValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ListenerStatusValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ListenerStatusValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ListenerStatusValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ListenerStatusValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ListenerStatusValidationError) ErrorName() string { return "ListenerStatusValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ListenerStatusValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sListenerStatus.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ListenerStatusValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ListenerStatusValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.go
deleted file mode 100644
index 5283c86216..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.go
+++ /dev/null
@@ -1,228 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/memory.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Proto representation of the internal memory consumption of an Envoy instance. These represent
-// values extracted from an internal TCMalloc instance. For more information, see the section of the
-// docs entitled ["Generic Tcmalloc Status"](https://gperftools.github.io/gperftools/tcmalloc.html).
-// [#next-free-field: 7]
-type Memory struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The number of bytes allocated by the heap for Envoy. This is an alias for
- // `generic.current_allocated_bytes`.
- Allocated uint64 `protobuf:"varint,1,opt,name=allocated,proto3" json:"allocated,omitempty"`
- // The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
- // `generic.heap_size`.
- HeapSize uint64 `protobuf:"varint,2,opt,name=heap_size,json=heapSize,proto3" json:"heap_size,omitempty"`
- // The number of bytes in free, unmapped pages in the page heap. These bytes always count towards
- // virtual memory usage, and depending on the OS, typically do not count towards physical memory
- // usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
- PageheapUnmapped uint64 `protobuf:"varint,3,opt,name=pageheap_unmapped,json=pageheapUnmapped,proto3" json:"pageheap_unmapped,omitempty"`
- // The number of bytes in free, mapped pages in the page heap. These bytes always count towards
- // virtual memory usage, and unless the underlying memory is swapped out by the OS, they also
- // count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
- PageheapFree uint64 `protobuf:"varint,4,opt,name=pageheap_free,json=pageheapFree,proto3" json:"pageheap_free,omitempty"`
- // The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
- // for `tcmalloc.current_total_thread_cache_bytes`.
- TotalThreadCache uint64 `protobuf:"varint,5,opt,name=total_thread_cache,json=totalThreadCache,proto3" json:"total_thread_cache,omitempty"`
- // The number of bytes of the physical memory usage by the allocator. This is an alias for
- // `generic.total_physical_bytes`.
- TotalPhysicalBytes uint64 `protobuf:"varint,6,opt,name=total_physical_bytes,json=totalPhysicalBytes,proto3" json:"total_physical_bytes,omitempty"`
-}
-
-func (x *Memory) Reset() {
- *x = Memory{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_memory_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Memory) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Memory) ProtoMessage() {}
-
-func (x *Memory) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_memory_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Memory.ProtoReflect.Descriptor instead.
-func (*Memory) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_memory_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Memory) GetAllocated() uint64 {
- if x != nil {
- return x.Allocated
- }
- return 0
-}
-
-func (x *Memory) GetHeapSize() uint64 {
- if x != nil {
- return x.HeapSize
- }
- return 0
-}
-
-func (x *Memory) GetPageheapUnmapped() uint64 {
- if x != nil {
- return x.PageheapUnmapped
- }
- return 0
-}
-
-func (x *Memory) GetPageheapFree() uint64 {
- if x != nil {
- return x.PageheapFree
- }
- return 0
-}
-
-func (x *Memory) GetTotalThreadCache() uint64 {
- if x != nil {
- return x.TotalThreadCache
- }
- return 0
-}
-
-func (x *Memory) GetTotalPhysicalBytes() uint64 {
- if x != nil {
- return x.TotalPhysicalBytes
- }
- return 0
-}
-
-var File_envoy_admin_v3_memory_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_memory_proto_rawDesc = []byte{
- 0x0a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64,
- 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76,
- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0x98, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c,
- 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61,
- 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x70,
- 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x68, 0x65, 0x61,
- 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61,
- 0x70, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x10, 0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61, 0x70, 0x55, 0x6e, 0x6d, 0x61, 0x70, 0x70,
- 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x68, 0x65, 0x61, 0x70, 0x5f, 0x66,
- 0x72, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x68,
- 0x65, 0x61, 0x70, 0x46, 0x72, 0x65, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c,
- 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64,
- 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70,
- 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63,
- 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x3a, 0x21, 0x9a, 0xc5, 0x88, 0x1e, 0x1c, 0x0a, 0x1a,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x42, 0x74, 0x0a, 0x1c, 0x69, 0x6f,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x4d, 0x65, 0x6d, 0x6f,
- 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_memory_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_memory_proto_rawDescData = file_envoy_admin_v3_memory_proto_rawDesc
-)
-
-func file_envoy_admin_v3_memory_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_memory_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_memory_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_memory_proto_rawDescData)
- })
- return file_envoy_admin_v3_memory_proto_rawDescData
-}
-
-var file_envoy_admin_v3_memory_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_admin_v3_memory_proto_goTypes = []interface{}{
- (*Memory)(nil), // 0: envoy.admin.v3.Memory
-}
-var file_envoy_admin_v3_memory_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_memory_proto_init() }
-func file_envoy_admin_v3_memory_proto_init() {
- if File_envoy_admin_v3_memory_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_memory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Memory); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_memory_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_memory_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_memory_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_memory_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_memory_proto = out.File
- file_envoy_admin_v3_memory_proto_rawDesc = nil
- file_envoy_admin_v3_memory_proto_goTypes = nil
- file_envoy_admin_v3_memory_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.validate.go
deleted file mode 100644
index 201885308b..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/memory.pb.validate.go
+++ /dev/null
@@ -1,146 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/memory.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Memory with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Memory) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Memory with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in MemoryMultiError, or nil if none found.
-func (m *Memory) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Memory) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Allocated
-
- // no validation rules for HeapSize
-
- // no validation rules for PageheapUnmapped
-
- // no validation rules for PageheapFree
-
- // no validation rules for TotalThreadCache
-
- // no validation rules for TotalPhysicalBytes
-
- if len(errors) > 0 {
- return MemoryMultiError(errors)
- }
-
- return nil
-}
-
-// MemoryMultiError is an error wrapping multiple validation errors returned by
-// Memory.ValidateAll() if the designated constraints aren't met.
-type MemoryMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m MemoryMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m MemoryMultiError) AllErrors() []error { return m }
-
-// MemoryValidationError is the validation error returned by Memory.Validate if
-// the designated constraints aren't met.
-type MemoryValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MemoryValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MemoryValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MemoryValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MemoryValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MemoryValidationError) ErrorName() string { return "MemoryValidationError" }
-
-// Error satisfies the builtin error interface
-func (e MemoryValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMemory.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MemoryValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MemoryValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.go
deleted file mode 100644
index 0d626446ec..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.go
+++ /dev/null
@@ -1,234 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/metrics.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type SimpleMetric_Type int32
-
-const (
- SimpleMetric_COUNTER SimpleMetric_Type = 0
- SimpleMetric_GAUGE SimpleMetric_Type = 1
-)
-
-// Enum value maps for SimpleMetric_Type.
-var (
- SimpleMetric_Type_name = map[int32]string{
- 0: "COUNTER",
- 1: "GAUGE",
- }
- SimpleMetric_Type_value = map[string]int32{
- "COUNTER": 0,
- "GAUGE": 1,
- }
-)
-
-func (x SimpleMetric_Type) Enum() *SimpleMetric_Type {
- p := new(SimpleMetric_Type)
- *p = x
- return p
-}
-
-func (x SimpleMetric_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (SimpleMetric_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_metrics_proto_enumTypes[0].Descriptor()
-}
-
-func (SimpleMetric_Type) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_metrics_proto_enumTypes[0]
-}
-
-func (x SimpleMetric_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use SimpleMetric_Type.Descriptor instead.
-func (SimpleMetric_Type) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_metrics_proto_rawDescGZIP(), []int{0, 0}
-}
-
-// Proto representation of an Envoy Counter or Gauge value.
-type SimpleMetric struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Type of the metric represented.
- Type SimpleMetric_Type `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.admin.v3.SimpleMetric_Type" json:"type,omitempty"`
- // Current metric value.
- Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
- // Name of the metric.
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
-}
-
-func (x *SimpleMetric) Reset() {
- *x = SimpleMetric{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_metrics_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SimpleMetric) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SimpleMetric) ProtoMessage() {}
-
-func (x *SimpleMetric) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_metrics_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SimpleMetric.ProtoReflect.Descriptor instead.
-func (*SimpleMetric) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_metrics_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *SimpleMetric) GetType() SimpleMetric_Type {
- if x != nil {
- return x.Type
- }
- return SimpleMetric_COUNTER
-}
-
-func (x *SimpleMetric) GetValue() uint64 {
- if x != nil {
- return x.Value
- }
- return 0
-}
-
-func (x *SimpleMetric) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-var File_envoy_admin_v3_metrics_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_metrics_proto_rawDesc = []byte{
- 0x0a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x1d,
- 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69,
- 0x63, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33,
- 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x22, 0x1e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f,
- 0x55, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, 0x55, 0x47, 0x45,
- 0x10, 0x01, 0x3a, 0x27, 0x9a, 0xc5, 0x88, 0x1e, 0x22, 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53,
- 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x75, 0x0a, 0x1c, 0x69,
- 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x4d, 0x65, 0x74,
- 0x72, 0x69, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c,
- 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f,
- 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02,
- 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_metrics_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_metrics_proto_rawDescData = file_envoy_admin_v3_metrics_proto_rawDesc
-)
-
-func file_envoy_admin_v3_metrics_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_metrics_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_metrics_proto_rawDescData)
- })
- return file_envoy_admin_v3_metrics_proto_rawDescData
-}
-
-var file_envoy_admin_v3_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_admin_v3_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_admin_v3_metrics_proto_goTypes = []interface{}{
- (SimpleMetric_Type)(0), // 0: envoy.admin.v3.SimpleMetric.Type
- (*SimpleMetric)(nil), // 1: envoy.admin.v3.SimpleMetric
-}
-var file_envoy_admin_v3_metrics_proto_depIdxs = []int32{
- 0, // 0: envoy.admin.v3.SimpleMetric.type:type_name -> envoy.admin.v3.SimpleMetric.Type
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_metrics_proto_init() }
-func file_envoy_admin_v3_metrics_proto_init() {
- if File_envoy_admin_v3_metrics_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SimpleMetric); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_metrics_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_metrics_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_metrics_proto_depIdxs,
- EnumInfos: file_envoy_admin_v3_metrics_proto_enumTypes,
- MessageInfos: file_envoy_admin_v3_metrics_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_metrics_proto = out.File
- file_envoy_admin_v3_metrics_proto_rawDesc = nil
- file_envoy_admin_v3_metrics_proto_goTypes = nil
- file_envoy_admin_v3_metrics_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.validate.go
deleted file mode 100644
index 96e04a5ab4..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/metrics.pb.validate.go
+++ /dev/null
@@ -1,141 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/metrics.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on SimpleMetric with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *SimpleMetric) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SimpleMetric with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in SimpleMetricMultiError, or
-// nil if none found.
-func (m *SimpleMetric) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SimpleMetric) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Type
-
- // no validation rules for Value
-
- // no validation rules for Name
-
- if len(errors) > 0 {
- return SimpleMetricMultiError(errors)
- }
-
- return nil
-}
-
-// SimpleMetricMultiError is an error wrapping multiple validation errors
-// returned by SimpleMetric.ValidateAll() if the designated constraints aren't met.
-type SimpleMetricMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SimpleMetricMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SimpleMetricMultiError) AllErrors() []error { return m }
-
-// SimpleMetricValidationError is the validation error returned by
-// SimpleMetric.Validate if the designated constraints aren't met.
-type SimpleMetricValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SimpleMetricValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SimpleMetricValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SimpleMetricValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SimpleMetricValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SimpleMetricValidationError) ErrorName() string { return "SimpleMetricValidationError" }
-
-// Error satisfies the builtin error interface
-func (e SimpleMetricValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSimpleMetric.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SimpleMetricValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SimpleMetricValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.go
deleted file mode 100644
index 07cbfd556d..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.go
+++ /dev/null
@@ -1,191 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/mutex_stats.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Proto representation of the statistics collected upon absl::Mutex contention, if Envoy is run
-// under :option:`--enable-mutex-tracing`. For more information, see the `absl::Mutex`
-// [docs](https://abseil.io/about/design/mutex#extra-features).
-//
-// *NB*: The wait cycles below are measured by `absl::base_internal::CycleClock`, and may not
-// correspond to core clock frequency. For more information, see the `CycleClock`
-// [docs](https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/cycleclock.h).
-type MutexStats struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The number of individual mutex contentions which have occurred since startup.
- NumContentions uint64 `protobuf:"varint,1,opt,name=num_contentions,json=numContentions,proto3" json:"num_contentions,omitempty"`
- // The length of the current contention wait cycle.
- CurrentWaitCycles uint64 `protobuf:"varint,2,opt,name=current_wait_cycles,json=currentWaitCycles,proto3" json:"current_wait_cycles,omitempty"`
- // The lifetime total of all contention wait cycles.
- LifetimeWaitCycles uint64 `protobuf:"varint,3,opt,name=lifetime_wait_cycles,json=lifetimeWaitCycles,proto3" json:"lifetime_wait_cycles,omitempty"`
-}
-
-func (x *MutexStats) Reset() {
- *x = MutexStats{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_mutex_stats_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MutexStats) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MutexStats) ProtoMessage() {}
-
-func (x *MutexStats) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_mutex_stats_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MutexStats.ProtoReflect.Descriptor instead.
-func (*MutexStats) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_mutex_stats_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *MutexStats) GetNumContentions() uint64 {
- if x != nil {
- return x.NumContentions
- }
- return 0
-}
-
-func (x *MutexStats) GetCurrentWaitCycles() uint64 {
- if x != nil {
- return x.CurrentWaitCycles
- }
- return 0
-}
-
-func (x *MutexStats) GetLifetimeWaitCycles() uint64 {
- if x != nil {
- return x.LifetimeWaitCycles
- }
- return 0
-}
-
-var File_envoy_admin_v3_mutex_stats_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_mutex_stats_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x6d, 0x75, 0x74, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
- 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74,
- 0x61, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
- 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x75,
- 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13,
- 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79, 0x63,
- 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65,
- 0x6e, 0x74, 0x57, 0x61, 0x69, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14,
- 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x63, 0x79,
- 0x63, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6c, 0x69, 0x66, 0x65,
- 0x74, 0x69, 0x6d, 0x65, 0x57, 0x61, 0x69, 0x74, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x3a, 0x25,
- 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x78,
- 0x53, 0x74, 0x61, 0x74, 0x73, 0x42, 0x78, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74,
- 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f,
- 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65,
- 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_mutex_stats_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_mutex_stats_proto_rawDescData = file_envoy_admin_v3_mutex_stats_proto_rawDesc
-)
-
-func file_envoy_admin_v3_mutex_stats_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_mutex_stats_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_mutex_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_mutex_stats_proto_rawDescData)
- })
- return file_envoy_admin_v3_mutex_stats_proto_rawDescData
-}
-
-var file_envoy_admin_v3_mutex_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_admin_v3_mutex_stats_proto_goTypes = []interface{}{
- (*MutexStats)(nil), // 0: envoy.admin.v3.MutexStats
-}
-var file_envoy_admin_v3_mutex_stats_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_mutex_stats_proto_init() }
-func file_envoy_admin_v3_mutex_stats_proto_init() {
- if File_envoy_admin_v3_mutex_stats_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_mutex_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MutexStats); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_mutex_stats_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_mutex_stats_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_mutex_stats_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_mutex_stats_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_mutex_stats_proto = out.File
- file_envoy_admin_v3_mutex_stats_proto_rawDesc = nil
- file_envoy_admin_v3_mutex_stats_proto_goTypes = nil
- file_envoy_admin_v3_mutex_stats_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.validate.go
deleted file mode 100644
index 55d89de2d7..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/mutex_stats.pb.validate.go
+++ /dev/null
@@ -1,141 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/mutex_stats.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on MutexStats with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *MutexStats) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on MutexStats with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in MutexStatsMultiError, or
-// nil if none found.
-func (m *MutexStats) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *MutexStats) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for NumContentions
-
- // no validation rules for CurrentWaitCycles
-
- // no validation rules for LifetimeWaitCycles
-
- if len(errors) > 0 {
- return MutexStatsMultiError(errors)
- }
-
- return nil
-}
-
-// MutexStatsMultiError is an error wrapping multiple validation errors
-// returned by MutexStats.ValidateAll() if the designated constraints aren't met.
-type MutexStatsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m MutexStatsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m MutexStatsMultiError) AllErrors() []error { return m }
-
-// MutexStatsValidationError is the validation error returned by
-// MutexStats.Validate if the designated constraints aren't met.
-type MutexStatsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MutexStatsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MutexStatsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MutexStatsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MutexStatsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MutexStatsValidationError) ErrorName() string { return "MutexStatsValidationError" }
-
-// Error satisfies the builtin error interface
-func (e MutexStatsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMutexStats.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MutexStatsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MutexStatsValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.go
deleted file mode 100644
index 7526f8f76b..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.go
+++ /dev/null
@@ -1,948 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/server_info.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- duration "github.com/golang/protobuf/ptypes/duration"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type ServerInfo_State int32
-
-const (
- // Server is live and serving traffic.
- ServerInfo_LIVE ServerInfo_State = 0
- // Server is draining listeners in response to external health checks failing.
- ServerInfo_DRAINING ServerInfo_State = 1
- // Server has not yet completed cluster manager initialization.
- ServerInfo_PRE_INITIALIZING ServerInfo_State = 2
- // Server is running the cluster manager initialization callbacks (e.g., RDS).
- ServerInfo_INITIALIZING ServerInfo_State = 3
-)
-
-// Enum value maps for ServerInfo_State.
-var (
- ServerInfo_State_name = map[int32]string{
- 0: "LIVE",
- 1: "DRAINING",
- 2: "PRE_INITIALIZING",
- 3: "INITIALIZING",
- }
- ServerInfo_State_value = map[string]int32{
- "LIVE": 0,
- "DRAINING": 1,
- "PRE_INITIALIZING": 2,
- "INITIALIZING": 3,
- }
-)
-
-func (x ServerInfo_State) Enum() *ServerInfo_State {
- p := new(ServerInfo_State)
- *p = x
- return p
-}
-
-func (x ServerInfo_State) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ServerInfo_State) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_server_info_proto_enumTypes[0].Descriptor()
-}
-
-func (ServerInfo_State) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_server_info_proto_enumTypes[0]
-}
-
-func (x ServerInfo_State) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ServerInfo_State.Descriptor instead.
-func (ServerInfo_State) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{0, 0}
-}
-
-type CommandLineOptions_IpVersion int32
-
-const (
- CommandLineOptions_v4 CommandLineOptions_IpVersion = 0
- CommandLineOptions_v6 CommandLineOptions_IpVersion = 1
-)
-
-// Enum value maps for CommandLineOptions_IpVersion.
-var (
- CommandLineOptions_IpVersion_name = map[int32]string{
- 0: "v4",
- 1: "v6",
- }
- CommandLineOptions_IpVersion_value = map[string]int32{
- "v4": 0,
- "v6": 1,
- }
-)
-
-func (x CommandLineOptions_IpVersion) Enum() *CommandLineOptions_IpVersion {
- p := new(CommandLineOptions_IpVersion)
- *p = x
- return p
-}
-
-func (x CommandLineOptions_IpVersion) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (CommandLineOptions_IpVersion) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_server_info_proto_enumTypes[1].Descriptor()
-}
-
-func (CommandLineOptions_IpVersion) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_server_info_proto_enumTypes[1]
-}
-
-func (x CommandLineOptions_IpVersion) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use CommandLineOptions_IpVersion.Descriptor instead.
-func (CommandLineOptions_IpVersion) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 0}
-}
-
-type CommandLineOptions_Mode int32
-
-const (
- // Validate configs and then serve traffic normally.
- CommandLineOptions_Serve CommandLineOptions_Mode = 0
- // Validate configs and exit.
- CommandLineOptions_Validate CommandLineOptions_Mode = 1
- // Completely load and initialize the config, and then exit without running the listener loop.
- CommandLineOptions_InitOnly CommandLineOptions_Mode = 2
-)
-
-// Enum value maps for CommandLineOptions_Mode.
-var (
- CommandLineOptions_Mode_name = map[int32]string{
- 0: "Serve",
- 1: "Validate",
- 2: "InitOnly",
- }
- CommandLineOptions_Mode_value = map[string]int32{
- "Serve": 0,
- "Validate": 1,
- "InitOnly": 2,
- }
-)
-
-func (x CommandLineOptions_Mode) Enum() *CommandLineOptions_Mode {
- p := new(CommandLineOptions_Mode)
- *p = x
- return p
-}
-
-func (x CommandLineOptions_Mode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (CommandLineOptions_Mode) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_server_info_proto_enumTypes[2].Descriptor()
-}
-
-func (CommandLineOptions_Mode) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_server_info_proto_enumTypes[2]
-}
-
-func (x CommandLineOptions_Mode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use CommandLineOptions_Mode.Descriptor instead.
-func (CommandLineOptions_Mode) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 1}
-}
-
-type CommandLineOptions_DrainStrategy int32
-
-const (
- // Gradually discourage connections over the course of the drain period.
- CommandLineOptions_Gradual CommandLineOptions_DrainStrategy = 0
- // Discourage all connections for the duration of the drain sequence.
- CommandLineOptions_Immediate CommandLineOptions_DrainStrategy = 1
-)
-
-// Enum value maps for CommandLineOptions_DrainStrategy.
-var (
- CommandLineOptions_DrainStrategy_name = map[int32]string{
- 0: "Gradual",
- 1: "Immediate",
- }
- CommandLineOptions_DrainStrategy_value = map[string]int32{
- "Gradual": 0,
- "Immediate": 1,
- }
-)
-
-func (x CommandLineOptions_DrainStrategy) Enum() *CommandLineOptions_DrainStrategy {
- p := new(CommandLineOptions_DrainStrategy)
- *p = x
- return p
-}
-
-func (x CommandLineOptions_DrainStrategy) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (CommandLineOptions_DrainStrategy) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_admin_v3_server_info_proto_enumTypes[3].Descriptor()
-}
-
-func (CommandLineOptions_DrainStrategy) Type() protoreflect.EnumType {
- return &file_envoy_admin_v3_server_info_proto_enumTypes[3]
-}
-
-func (x CommandLineOptions_DrainStrategy) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use CommandLineOptions_DrainStrategy.Descriptor instead.
-func (CommandLineOptions_DrainStrategy) EnumDescriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 2}
-}
-
-// Proto representation of the value returned by /server_info, containing
-// server version/server status information.
-// [#next-free-field: 8]
-type ServerInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Server version.
- Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
- // State of the server.
- State ServerInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=envoy.admin.v3.ServerInfo_State" json:"state,omitempty"`
- // Uptime since current epoch was started.
- UptimeCurrentEpoch *duration.Duration `protobuf:"bytes,3,opt,name=uptime_current_epoch,json=uptimeCurrentEpoch,proto3" json:"uptime_current_epoch,omitempty"`
- // Uptime since the start of the first epoch.
- UptimeAllEpochs *duration.Duration `protobuf:"bytes,4,opt,name=uptime_all_epochs,json=uptimeAllEpochs,proto3" json:"uptime_all_epochs,omitempty"`
- // Hot restart version.
- HotRestartVersion string `protobuf:"bytes,5,opt,name=hot_restart_version,json=hotRestartVersion,proto3" json:"hot_restart_version,omitempty"`
- // Command line options the server is currently running with.
- CommandLineOptions *CommandLineOptions `protobuf:"bytes,6,opt,name=command_line_options,json=commandLineOptions,proto3" json:"command_line_options,omitempty"`
- // Populated node identity of this server.
- Node *v3.Node `protobuf:"bytes,7,opt,name=node,proto3" json:"node,omitempty"`
-}
-
-func (x *ServerInfo) Reset() {
- *x = ServerInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_server_info_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ServerInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ServerInfo) ProtoMessage() {}
-
-func (x *ServerInfo) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_server_info_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.
-func (*ServerInfo) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ServerInfo) GetVersion() string {
- if x != nil {
- return x.Version
- }
- return ""
-}
-
-func (x *ServerInfo) GetState() ServerInfo_State {
- if x != nil {
- return x.State
- }
- return ServerInfo_LIVE
-}
-
-func (x *ServerInfo) GetUptimeCurrentEpoch() *duration.Duration {
- if x != nil {
- return x.UptimeCurrentEpoch
- }
- return nil
-}
-
-func (x *ServerInfo) GetUptimeAllEpochs() *duration.Duration {
- if x != nil {
- return x.UptimeAllEpochs
- }
- return nil
-}
-
-func (x *ServerInfo) GetHotRestartVersion() string {
- if x != nil {
- return x.HotRestartVersion
- }
- return ""
-}
-
-func (x *ServerInfo) GetCommandLineOptions() *CommandLineOptions {
- if x != nil {
- return x.CommandLineOptions
- }
- return nil
-}
-
-func (x *ServerInfo) GetNode() *v3.Node {
- if x != nil {
- return x.Node
- }
- return nil
-}
-
-// [#next-free-field: 39]
-type CommandLineOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // See :option:`--base-id` for details.
- BaseId uint64 `protobuf:"varint,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
- // See :option:`--use-dynamic-base-id` for details.
- UseDynamicBaseId bool `protobuf:"varint,31,opt,name=use_dynamic_base_id,json=useDynamicBaseId,proto3" json:"use_dynamic_base_id,omitempty"`
- // See :option:`--base-id-path` for details.
- BaseIdPath string `protobuf:"bytes,32,opt,name=base_id_path,json=baseIdPath,proto3" json:"base_id_path,omitempty"`
- // See :option:`--concurrency` for details.
- Concurrency uint32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
- // See :option:`--config-path` for details.
- ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
- // See :option:`--config-yaml` for details.
- ConfigYaml string `protobuf:"bytes,4,opt,name=config_yaml,json=configYaml,proto3" json:"config_yaml,omitempty"`
- // See :option:`--allow-unknown-static-fields` for details.
- AllowUnknownStaticFields bool `protobuf:"varint,5,opt,name=allow_unknown_static_fields,json=allowUnknownStaticFields,proto3" json:"allow_unknown_static_fields,omitempty"`
- // See :option:`--reject-unknown-dynamic-fields` for details.
- RejectUnknownDynamicFields bool `protobuf:"varint,26,opt,name=reject_unknown_dynamic_fields,json=rejectUnknownDynamicFields,proto3" json:"reject_unknown_dynamic_fields,omitempty"`
- // See :option:`--ignore-unknown-dynamic-fields` for details.
- IgnoreUnknownDynamicFields bool `protobuf:"varint,30,opt,name=ignore_unknown_dynamic_fields,json=ignoreUnknownDynamicFields,proto3" json:"ignore_unknown_dynamic_fields,omitempty"`
- // See :option:`--admin-address-path` for details.
- AdminAddressPath string `protobuf:"bytes,6,opt,name=admin_address_path,json=adminAddressPath,proto3" json:"admin_address_path,omitempty"`
- // See :option:`--local-address-ip-version` for details.
- LocalAddressIpVersion CommandLineOptions_IpVersion `protobuf:"varint,7,opt,name=local_address_ip_version,json=localAddressIpVersion,proto3,enum=envoy.admin.v3.CommandLineOptions_IpVersion" json:"local_address_ip_version,omitempty"`
- // See :option:`--log-level` for details.
- LogLevel string `protobuf:"bytes,8,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
- // See :option:`--component-log-level` for details.
- ComponentLogLevel string `protobuf:"bytes,9,opt,name=component_log_level,json=componentLogLevel,proto3" json:"component_log_level,omitempty"`
- // See :option:`--log-format` for details.
- LogFormat string `protobuf:"bytes,10,opt,name=log_format,json=logFormat,proto3" json:"log_format,omitempty"`
- // See :option:`--log-format-escaped` for details.
- LogFormatEscaped bool `protobuf:"varint,27,opt,name=log_format_escaped,json=logFormatEscaped,proto3" json:"log_format_escaped,omitempty"`
- // See :option:`--log-path` for details.
- LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
- // See :option:`--service-cluster` for details.
- ServiceCluster string `protobuf:"bytes,13,opt,name=service_cluster,json=serviceCluster,proto3" json:"service_cluster,omitempty"`
- // See :option:`--service-node` for details.
- ServiceNode string `protobuf:"bytes,14,opt,name=service_node,json=serviceNode,proto3" json:"service_node,omitempty"`
- // See :option:`--service-zone` for details.
- ServiceZone string `protobuf:"bytes,15,opt,name=service_zone,json=serviceZone,proto3" json:"service_zone,omitempty"`
- // See :option:`--file-flush-interval-msec` for details.
- FileFlushInterval *duration.Duration `protobuf:"bytes,16,opt,name=file_flush_interval,json=fileFlushInterval,proto3" json:"file_flush_interval,omitempty"`
- // See :option:`--drain-time-s` for details.
- DrainTime *duration.Duration `protobuf:"bytes,17,opt,name=drain_time,json=drainTime,proto3" json:"drain_time,omitempty"`
- // See :option:`--drain-strategy` for details.
- DrainStrategy CommandLineOptions_DrainStrategy `protobuf:"varint,33,opt,name=drain_strategy,json=drainStrategy,proto3,enum=envoy.admin.v3.CommandLineOptions_DrainStrategy" json:"drain_strategy,omitempty"`
- // See :option:`--parent-shutdown-time-s` for details.
- ParentShutdownTime *duration.Duration `protobuf:"bytes,18,opt,name=parent_shutdown_time,json=parentShutdownTime,proto3" json:"parent_shutdown_time,omitempty"`
- // See :option:`--mode` for details.
- Mode CommandLineOptions_Mode `protobuf:"varint,19,opt,name=mode,proto3,enum=envoy.admin.v3.CommandLineOptions_Mode" json:"mode,omitempty"`
- // See :option:`--disable-hot-restart` for details.
- DisableHotRestart bool `protobuf:"varint,22,opt,name=disable_hot_restart,json=disableHotRestart,proto3" json:"disable_hot_restart,omitempty"`
- // See :option:`--enable-mutex-tracing` for details.
- EnableMutexTracing bool `protobuf:"varint,23,opt,name=enable_mutex_tracing,json=enableMutexTracing,proto3" json:"enable_mutex_tracing,omitempty"`
- // See :option:`--restart-epoch` for details.
- RestartEpoch uint32 `protobuf:"varint,24,opt,name=restart_epoch,json=restartEpoch,proto3" json:"restart_epoch,omitempty"`
- // See :option:`--cpuset-threads` for details.
- CpusetThreads bool `protobuf:"varint,25,opt,name=cpuset_threads,json=cpusetThreads,proto3" json:"cpuset_threads,omitempty"`
- // See :option:`--disable-extensions` for details.
- DisabledExtensions []string `protobuf:"bytes,28,rep,name=disabled_extensions,json=disabledExtensions,proto3" json:"disabled_extensions,omitempty"`
- // See :option:`--enable-fine-grain-logging` for details.
- EnableFineGrainLogging bool `protobuf:"varint,34,opt,name=enable_fine_grain_logging,json=enableFineGrainLogging,proto3" json:"enable_fine_grain_logging,omitempty"`
- // See :option:`--socket-path` for details.
- SocketPath string `protobuf:"bytes,35,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"`
- // See :option:`--socket-mode` for details.
- SocketMode uint32 `protobuf:"varint,36,opt,name=socket_mode,json=socketMode,proto3" json:"socket_mode,omitempty"`
- // See :option:`--enable-core-dump` for details.
- EnableCoreDump bool `protobuf:"varint,37,opt,name=enable_core_dump,json=enableCoreDump,proto3" json:"enable_core_dump,omitempty"`
- // See :option:`--stats-tag` for details.
- StatsTag []string `protobuf:"bytes,38,rep,name=stats_tag,json=statsTag,proto3" json:"stats_tag,omitempty"`
-}
-
-func (x *CommandLineOptions) Reset() {
- *x = CommandLineOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_server_info_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CommandLineOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CommandLineOptions) ProtoMessage() {}
-
-func (x *CommandLineOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_server_info_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CommandLineOptions.ProtoReflect.Descriptor instead.
-func (*CommandLineOptions) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *CommandLineOptions) GetBaseId() uint64 {
- if x != nil {
- return x.BaseId
- }
- return 0
-}
-
-func (x *CommandLineOptions) GetUseDynamicBaseId() bool {
- if x != nil {
- return x.UseDynamicBaseId
- }
- return false
-}
-
-func (x *CommandLineOptions) GetBaseIdPath() string {
- if x != nil {
- return x.BaseIdPath
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetConcurrency() uint32 {
- if x != nil {
- return x.Concurrency
- }
- return 0
-}
-
-func (x *CommandLineOptions) GetConfigPath() string {
- if x != nil {
- return x.ConfigPath
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetConfigYaml() string {
- if x != nil {
- return x.ConfigYaml
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetAllowUnknownStaticFields() bool {
- if x != nil {
- return x.AllowUnknownStaticFields
- }
- return false
-}
-
-func (x *CommandLineOptions) GetRejectUnknownDynamicFields() bool {
- if x != nil {
- return x.RejectUnknownDynamicFields
- }
- return false
-}
-
-func (x *CommandLineOptions) GetIgnoreUnknownDynamicFields() bool {
- if x != nil {
- return x.IgnoreUnknownDynamicFields
- }
- return false
-}
-
-func (x *CommandLineOptions) GetAdminAddressPath() string {
- if x != nil {
- return x.AdminAddressPath
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetLocalAddressIpVersion() CommandLineOptions_IpVersion {
- if x != nil {
- return x.LocalAddressIpVersion
- }
- return CommandLineOptions_v4
-}
-
-func (x *CommandLineOptions) GetLogLevel() string {
- if x != nil {
- return x.LogLevel
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetComponentLogLevel() string {
- if x != nil {
- return x.ComponentLogLevel
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetLogFormat() string {
- if x != nil {
- return x.LogFormat
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetLogFormatEscaped() bool {
- if x != nil {
- return x.LogFormatEscaped
- }
- return false
-}
-
-func (x *CommandLineOptions) GetLogPath() string {
- if x != nil {
- return x.LogPath
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetServiceCluster() string {
- if x != nil {
- return x.ServiceCluster
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetServiceNode() string {
- if x != nil {
- return x.ServiceNode
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetServiceZone() string {
- if x != nil {
- return x.ServiceZone
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetFileFlushInterval() *duration.Duration {
- if x != nil {
- return x.FileFlushInterval
- }
- return nil
-}
-
-func (x *CommandLineOptions) GetDrainTime() *duration.Duration {
- if x != nil {
- return x.DrainTime
- }
- return nil
-}
-
-func (x *CommandLineOptions) GetDrainStrategy() CommandLineOptions_DrainStrategy {
- if x != nil {
- return x.DrainStrategy
- }
- return CommandLineOptions_Gradual
-}
-
-func (x *CommandLineOptions) GetParentShutdownTime() *duration.Duration {
- if x != nil {
- return x.ParentShutdownTime
- }
- return nil
-}
-
-func (x *CommandLineOptions) GetMode() CommandLineOptions_Mode {
- if x != nil {
- return x.Mode
- }
- return CommandLineOptions_Serve
-}
-
-func (x *CommandLineOptions) GetDisableHotRestart() bool {
- if x != nil {
- return x.DisableHotRestart
- }
- return false
-}
-
-func (x *CommandLineOptions) GetEnableMutexTracing() bool {
- if x != nil {
- return x.EnableMutexTracing
- }
- return false
-}
-
-func (x *CommandLineOptions) GetRestartEpoch() uint32 {
- if x != nil {
- return x.RestartEpoch
- }
- return 0
-}
-
-func (x *CommandLineOptions) GetCpusetThreads() bool {
- if x != nil {
- return x.CpusetThreads
- }
- return false
-}
-
-func (x *CommandLineOptions) GetDisabledExtensions() []string {
- if x != nil {
- return x.DisabledExtensions
- }
- return nil
-}
-
-func (x *CommandLineOptions) GetEnableFineGrainLogging() bool {
- if x != nil {
- return x.EnableFineGrainLogging
- }
- return false
-}
-
-func (x *CommandLineOptions) GetSocketPath() string {
- if x != nil {
- return x.SocketPath
- }
- return ""
-}
-
-func (x *CommandLineOptions) GetSocketMode() uint32 {
- if x != nil {
- return x.SocketMode
- }
- return 0
-}
-
-func (x *CommandLineOptions) GetEnableCoreDump() bool {
- if x != nil {
- return x.EnableCoreDump
- }
- return false
-}
-
-func (x *CommandLineOptions) GetStatsTag() []string {
- if x != nil {
- return x.StatsTag
- }
- return nil
-}
-
-var File_envoy_admin_v3_server_info_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_server_info_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
- 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x04, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
- 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36,
- 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53,
- 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4b, 0x0a, 0x14, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65,
- 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x12, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70,
- 0x6f, 0x63, 0x68, 0x12, 0x45, 0x0a, 0x11, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x61, 0x6c,
- 0x6c, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x75, 0x70, 0x74, 0x69, 0x6d,
- 0x65, 0x41, 0x6c, 0x6c, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x68, 0x6f,
- 0x74, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x74,
- 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x14, 0x63, 0x6f,
- 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
- 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x63, 0x6f,
- 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65,
- 0x22, 0x47, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x56,
- 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x10,
- 0x01, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x45, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c,
- 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49,
- 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20,
- 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32,
- 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
- 0x22, 0xdb, 0x0e, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x61, 0x73, 0x65, 0x5f,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64,
- 0x12, 0x2d, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f,
- 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75,
- 0x73, 0x65, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12,
- 0x20, 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
- 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x50, 0x61, 0x74,
- 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65,
- 0x6e, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61,
- 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x79,
- 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x59, 0x61, 0x6d, 0x6c, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75,
- 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f,
- 0x77, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x75,
- 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66,
- 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x6a,
- 0x65, 0x63, 0x74, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69,
- 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x69, 0x67, 0x6e, 0x6f, 0x72,
- 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69,
- 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a,
- 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x44, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x64, 0x64,
- 0x72, 0x65, 0x73, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x65, 0x0a, 0x18, 0x6c, 0x6f, 0x63, 0x61,
- 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x70, 0x5f, 0x76, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
- 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49,
- 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
- 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x13,
- 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65,
- 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
- 0x6e, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6c,
- 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65,
- 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d,
- 0x61, 0x74, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67,
- 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67,
- 0x50, 0x61, 0x74, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
- 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a,
- 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65,
- 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65,
- 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a,
- 0x6f, 0x6e, 0x65, 0x12, 0x49, 0x0a, 0x13, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x66, 0x6c, 0x75, 0x73,
- 0x68, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x66, 0x69, 0x6c,
- 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x38,
- 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64,
- 0x72, 0x61, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x64, 0x72, 0x61, 0x69,
- 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x30, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
- 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
- 0x67, 0x79, 0x52, 0x0d, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
- 0x79, 0x12, 0x4b, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x75, 0x74,
- 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b,
- 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f,
- 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64,
- 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x61,
- 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
- 0x65, 0x48, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x65,
- 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x75, 0x74, 0x65, 0x78, 0x5f, 0x74, 0x72, 0x61, 0x63,
- 0x69, 0x6e, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a,
- 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x18,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x70, 0x6f,
- 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x70, 0x75, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x68, 0x72,
- 0x65, 0x61, 0x64, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x70, 0x75, 0x73,
- 0x65, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x69, 0x73,
- 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x6e,
- 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x5f,
- 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x22, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65,
- 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x65, 0x47, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x6f,
- 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f,
- 0x70, 0x61, 0x74, 0x68, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x63, 0x6b,
- 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x25, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6d,
- 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x26,
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x73, 0x54, 0x61, 0x67, 0x22, 0x1b,
- 0x0a, 0x09, 0x49, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x06, 0x0a, 0x02, 0x76,
- 0x34, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x76, 0x36, 0x10, 0x01, 0x22, 0x2d, 0x0a, 0x04, 0x4d,
- 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x65, 0x72, 0x76, 0x65, 0x10, 0x00, 0x12, 0x0c,
- 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
- 0x49, 0x6e, 0x69, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x10, 0x02, 0x22, 0x2b, 0x0a, 0x0d, 0x44, 0x72,
- 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x47,
- 0x72, 0x61, 0x64, 0x75, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x6d, 0x6d, 0x65,
- 0x64, 0x69, 0x61, 0x74, 0x65, 0x10, 0x01, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
- 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x4a, 0x04, 0x08, 0x14,
- 0x10, 0x15, 0x4a, 0x04, 0x08, 0x15, 0x10, 0x16, 0x4a, 0x04, 0x08, 0x1d, 0x10, 0x1e, 0x52, 0x09,
- 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x6f,
- 0x62, 0x6a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x52, 0x11, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x78,
- 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0f,
- 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
- 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33,
- 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_server_info_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_server_info_proto_rawDescData = file_envoy_admin_v3_server_info_proto_rawDesc
-)
-
-func file_envoy_admin_v3_server_info_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_server_info_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_server_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_server_info_proto_rawDescData)
- })
- return file_envoy_admin_v3_server_info_proto_rawDescData
-}
-
-var file_envoy_admin_v3_server_info_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_envoy_admin_v3_server_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_envoy_admin_v3_server_info_proto_goTypes = []interface{}{
- (ServerInfo_State)(0), // 0: envoy.admin.v3.ServerInfo.State
- (CommandLineOptions_IpVersion)(0), // 1: envoy.admin.v3.CommandLineOptions.IpVersion
- (CommandLineOptions_Mode)(0), // 2: envoy.admin.v3.CommandLineOptions.Mode
- (CommandLineOptions_DrainStrategy)(0), // 3: envoy.admin.v3.CommandLineOptions.DrainStrategy
- (*ServerInfo)(nil), // 4: envoy.admin.v3.ServerInfo
- (*CommandLineOptions)(nil), // 5: envoy.admin.v3.CommandLineOptions
- (*duration.Duration)(nil), // 6: google.protobuf.Duration
- (*v3.Node)(nil), // 7: envoy.config.core.v3.Node
-}
-var file_envoy_admin_v3_server_info_proto_depIdxs = []int32{
- 0, // 0: envoy.admin.v3.ServerInfo.state:type_name -> envoy.admin.v3.ServerInfo.State
- 6, // 1: envoy.admin.v3.ServerInfo.uptime_current_epoch:type_name -> google.protobuf.Duration
- 6, // 2: envoy.admin.v3.ServerInfo.uptime_all_epochs:type_name -> google.protobuf.Duration
- 5, // 3: envoy.admin.v3.ServerInfo.command_line_options:type_name -> envoy.admin.v3.CommandLineOptions
- 7, // 4: envoy.admin.v3.ServerInfo.node:type_name -> envoy.config.core.v3.Node
- 1, // 5: envoy.admin.v3.CommandLineOptions.local_address_ip_version:type_name -> envoy.admin.v3.CommandLineOptions.IpVersion
- 6, // 6: envoy.admin.v3.CommandLineOptions.file_flush_interval:type_name -> google.protobuf.Duration
- 6, // 7: envoy.admin.v3.CommandLineOptions.drain_time:type_name -> google.protobuf.Duration
- 3, // 8: envoy.admin.v3.CommandLineOptions.drain_strategy:type_name -> envoy.admin.v3.CommandLineOptions.DrainStrategy
- 6, // 9: envoy.admin.v3.CommandLineOptions.parent_shutdown_time:type_name -> google.protobuf.Duration
- 2, // 10: envoy.admin.v3.CommandLineOptions.mode:type_name -> envoy.admin.v3.CommandLineOptions.Mode
- 11, // [11:11] is the sub-list for method output_type
- 11, // [11:11] is the sub-list for method input_type
- 11, // [11:11] is the sub-list for extension type_name
- 11, // [11:11] is the sub-list for extension extendee
- 0, // [0:11] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_server_info_proto_init() }
-func file_envoy_admin_v3_server_info_proto_init() {
- if File_envoy_admin_v3_server_info_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_server_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ServerInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_admin_v3_server_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CommandLineOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_server_info_proto_rawDesc,
- NumEnums: 4,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_server_info_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_server_info_proto_depIdxs,
- EnumInfos: file_envoy_admin_v3_server_info_proto_enumTypes,
- MessageInfos: file_envoy_admin_v3_server_info_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_server_info_proto = out.File
- file_envoy_admin_v3_server_info_proto_rawDesc = nil
- file_envoy_admin_v3_server_info_proto_goTypes = nil
- file_envoy_admin_v3_server_info_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.validate.go
deleted file mode 100644
index d77b43f64f..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/server_info.pb.validate.go
+++ /dev/null
@@ -1,504 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/server_info.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on ServerInfo with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ServerInfo) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ServerInfo with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ServerInfoMultiError, or
-// nil if none found.
-func (m *ServerInfo) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ServerInfo) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Version
-
- // no validation rules for State
-
- if all {
- switch v := interface{}(m.GetUptimeCurrentEpoch()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "UptimeCurrentEpoch",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "UptimeCurrentEpoch",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetUptimeCurrentEpoch()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerInfoValidationError{
- field: "UptimeCurrentEpoch",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetUptimeAllEpochs()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "UptimeAllEpochs",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "UptimeAllEpochs",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetUptimeAllEpochs()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerInfoValidationError{
- field: "UptimeAllEpochs",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for HotRestartVersion
-
- if all {
- switch v := interface{}(m.GetCommandLineOptions()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "CommandLineOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "CommandLineOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCommandLineOptions()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerInfoValidationError{
- field: "CommandLineOptions",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetNode()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ServerInfoValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetNode()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ServerInfoValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ServerInfoMultiError(errors)
- }
-
- return nil
-}
-
-// ServerInfoMultiError is an error wrapping multiple validation errors
-// returned by ServerInfo.ValidateAll() if the designated constraints aren't met.
-type ServerInfoMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ServerInfoMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ServerInfoMultiError) AllErrors() []error { return m }
-
-// ServerInfoValidationError is the validation error returned by
-// ServerInfo.Validate if the designated constraints aren't met.
-type ServerInfoValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ServerInfoValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ServerInfoValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ServerInfoValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ServerInfoValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ServerInfoValidationError) ErrorName() string { return "ServerInfoValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ServerInfoValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sServerInfo.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ServerInfoValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ServerInfoValidationError{}
-
-// Validate checks the field values on CommandLineOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *CommandLineOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CommandLineOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// CommandLineOptionsMultiError, or nil if none found.
-func (m *CommandLineOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CommandLineOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for BaseId
-
- // no validation rules for UseDynamicBaseId
-
- // no validation rules for BaseIdPath
-
- // no validation rules for Concurrency
-
- // no validation rules for ConfigPath
-
- // no validation rules for ConfigYaml
-
- // no validation rules for AllowUnknownStaticFields
-
- // no validation rules for RejectUnknownDynamicFields
-
- // no validation rules for IgnoreUnknownDynamicFields
-
- // no validation rules for AdminAddressPath
-
- // no validation rules for LocalAddressIpVersion
-
- // no validation rules for LogLevel
-
- // no validation rules for ComponentLogLevel
-
- // no validation rules for LogFormat
-
- // no validation rules for LogFormatEscaped
-
- // no validation rules for LogPath
-
- // no validation rules for ServiceCluster
-
- // no validation rules for ServiceNode
-
- // no validation rules for ServiceZone
-
- if all {
- switch v := interface{}(m.GetFileFlushInterval()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "FileFlushInterval",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "FileFlushInterval",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetFileFlushInterval()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CommandLineOptionsValidationError{
- field: "FileFlushInterval",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetDrainTime()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "DrainTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "DrainTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDrainTime()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CommandLineOptionsValidationError{
- field: "DrainTime",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for DrainStrategy
-
- if all {
- switch v := interface{}(m.GetParentShutdownTime()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "ParentShutdownTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CommandLineOptionsValidationError{
- field: "ParentShutdownTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetParentShutdownTime()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CommandLineOptionsValidationError{
- field: "ParentShutdownTime",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Mode
-
- // no validation rules for DisableHotRestart
-
- // no validation rules for EnableMutexTracing
-
- // no validation rules for RestartEpoch
-
- // no validation rules for CpusetThreads
-
- // no validation rules for EnableFineGrainLogging
-
- // no validation rules for SocketPath
-
- // no validation rules for SocketMode
-
- // no validation rules for EnableCoreDump
-
- if len(errors) > 0 {
- return CommandLineOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// CommandLineOptionsMultiError is an error wrapping multiple validation errors
-// returned by CommandLineOptions.ValidateAll() if the designated constraints
-// aren't met.
-type CommandLineOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CommandLineOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CommandLineOptionsMultiError) AllErrors() []error { return m }
-
-// CommandLineOptionsValidationError is the validation error returned by
-// CommandLineOptions.Validate if the designated constraints aren't met.
-type CommandLineOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CommandLineOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CommandLineOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CommandLineOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CommandLineOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CommandLineOptionsValidationError) ErrorName() string {
- return "CommandLineOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CommandLineOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCommandLineOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CommandLineOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CommandLineOptionsValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.go
deleted file mode 100644
index 5fbea6b980..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.go
+++ /dev/null
@@ -1,182 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/admin/v3/tap.proto
-
-package adminv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/tap/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// The /tap admin request body that is used to configure an active tap session.
-type TapRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The opaque configuration ID used to match the configuration to a loaded extension.
- // A tap extension configures a similar opaque ID that is used to match.
- ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
- // The tap configuration to load.
- TapConfig *v3.TapConfig `protobuf:"bytes,2,opt,name=tap_config,json=tapConfig,proto3" json:"tap_config,omitempty"`
-}
-
-func (x *TapRequest) Reset() {
- *x = TapRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_admin_v3_tap_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TapRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TapRequest) ProtoMessage() {}
-
-func (x *TapRequest) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_admin_v3_tap_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TapRequest.ProtoReflect.Descriptor instead.
-func (*TapRequest) Descriptor() ([]byte, []int) {
- return file_envoy_admin_v3_tap_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TapRequest) GetConfigId() string {
- if x != nil {
- return x.ConfigId
- }
- return ""
-}
-
-func (x *TapRequest) GetTapConfig() *v3.TapConfig {
- if x != nil {
- return x.TapConfig
- }
- return nil
-}
-
-var File_envoy_admin_v3_tap_proto protoreflect.FileDescriptor
-
-var file_envoy_admin_v3_tap_proto_rawDesc = []byte{
- 0x0a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33,
- 0x2f, 0x74, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f,
- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
- 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
- 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
- 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x0a, 0x54, 0x61, 0x70, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x0a,
- 0x74, 0x61, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x61, 0x70, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x2e, 0x54, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x71, 0x0a, 0x1c,
- 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x54, 0x61,
- 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f,
- 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65,
- 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_admin_v3_tap_proto_rawDescOnce sync.Once
- file_envoy_admin_v3_tap_proto_rawDescData = file_envoy_admin_v3_tap_proto_rawDesc
-)
-
-func file_envoy_admin_v3_tap_proto_rawDescGZIP() []byte {
- file_envoy_admin_v3_tap_proto_rawDescOnce.Do(func() {
- file_envoy_admin_v3_tap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_tap_proto_rawDescData)
- })
- return file_envoy_admin_v3_tap_proto_rawDescData
-}
-
-var file_envoy_admin_v3_tap_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_admin_v3_tap_proto_goTypes = []interface{}{
- (*TapRequest)(nil), // 0: envoy.admin.v3.TapRequest
- (*v3.TapConfig)(nil), // 1: envoy.config.tap.v3.TapConfig
-}
-var file_envoy_admin_v3_tap_proto_depIdxs = []int32{
- 1, // 0: envoy.admin.v3.TapRequest.tap_config:type_name -> envoy.config.tap.v3.TapConfig
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_admin_v3_tap_proto_init() }
-func file_envoy_admin_v3_tap_proto_init() {
- if File_envoy_admin_v3_tap_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_admin_v3_tap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TapRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_admin_v3_tap_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_admin_v3_tap_proto_goTypes,
- DependencyIndexes: file_envoy_admin_v3_tap_proto_depIdxs,
- MessageInfos: file_envoy_admin_v3_tap_proto_msgTypes,
- }.Build()
- File_envoy_admin_v3_tap_proto = out.File
- file_envoy_admin_v3_tap_proto_rawDesc = nil
- file_envoy_admin_v3_tap_proto_goTypes = nil
- file_envoy_admin_v3_tap_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.validate.go
deleted file mode 100644
index 2364c9ccef..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v3/tap.pb.validate.go
+++ /dev/null
@@ -1,186 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/admin/v3/tap.proto
-
-package adminv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on TapRequest with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *TapRequest) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on TapRequest with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in TapRequestMultiError, or
-// nil if none found.
-func (m *TapRequest) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *TapRequest) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if utf8.RuneCountInString(m.GetConfigId()) < 1 {
- err := TapRequestValidationError{
- field: "ConfigId",
- reason: "value length must be at least 1 runes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if m.GetTapConfig() == nil {
- err := TapRequestValidationError{
- field: "TapConfig",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetTapConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TapRequestValidationError{
- field: "TapConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TapRequestValidationError{
- field: "TapConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTapConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TapRequestValidationError{
- field: "TapConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return TapRequestMultiError(errors)
- }
-
- return nil
-}
-
-// TapRequestMultiError is an error wrapping multiple validation errors
-// returned by TapRequest.ValidateAll() if the designated constraints aren't met.
-type TapRequestMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m TapRequestMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m TapRequestMultiError) AllErrors() []error { return m }
-
-// TapRequestValidationError is the validation error returned by
-// TapRequest.Validate if the designated constraints aren't met.
-type TapRequestValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TapRequestValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TapRequestValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TapRequestValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TapRequestValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TapRequestValidationError) ErrorName() string { return "TapRequestValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TapRequestValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTapRequest.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TapRequestValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TapRequestValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.go
deleted file mode 100644
index a1889139a0..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.go
+++ /dev/null
@@ -1,159 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/annotations/deprecation.proto
-
-package annotations
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-var file_envoy_annotations_deprecation_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 189503207,
- Name: "envoy.annotations.disallowed_by_default",
- Tag: "varint,189503207,opt,name=disallowed_by_default",
- Filename: "envoy/annotations/deprecation.proto",
- },
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*string)(nil),
- Field: 157299826,
- Name: "envoy.annotations.deprecated_at_minor_version",
- Tag: "bytes,157299826,opt,name=deprecated_at_minor_version",
- Filename: "envoy/annotations/deprecation.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 70100853,
- Name: "envoy.annotations.disallowed_by_default_enum",
- Tag: "varint,70100853,opt,name=disallowed_by_default_enum",
- Filename: "envoy/annotations/deprecation.proto",
- },
- {
- ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
- ExtensionType: (*string)(nil),
- Field: 181198657,
- Name: "envoy.annotations.deprecated_at_minor_version_enum",
- Tag: "bytes,181198657,opt,name=deprecated_at_minor_version_enum",
- Filename: "envoy/annotations/deprecation.proto",
- },
-}
-
-// Extension fields to descriptorpb.FieldOptions.
-var (
- // optional bool disallowed_by_default = 189503207;
- E_DisallowedByDefault = &file_envoy_annotations_deprecation_proto_extTypes[0]
- // The API major and minor version on which the field was deprecated
- // (e.g., "3.5" for major version 3 and minor version 5).
- //
- // optional string deprecated_at_minor_version = 157299826;
- E_DeprecatedAtMinorVersion = &file_envoy_annotations_deprecation_proto_extTypes[1]
-)
-
-// Extension fields to descriptorpb.EnumValueOptions.
-var (
- // optional bool disallowed_by_default_enum = 70100853;
- E_DisallowedByDefaultEnum = &file_envoy_annotations_deprecation_proto_extTypes[2]
- // The API major and minor version on which the enum value was deprecated
- // (e.g., "3.5" for major version 3 and minor version 5).
- //
- // optional string deprecated_at_minor_version_enum = 181198657;
- E_DeprecatedAtMinorVersionEnum = &file_envoy_annotations_deprecation_proto_extTypes[3]
-)
-
-var File_envoy_annotations_deprecation_proto protoreflect.FileDescriptor
-
-var file_envoy_annotations_deprecation_proto_rawDesc = []byte{
- 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x54, 0x0a, 0x15, 0x64, 0x69,
- 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xe7, 0xad, 0xae, 0x5a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x69, 0x73,
- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x3a, 0x5f, 0x0a, 0x1b, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
- 0x74, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
- 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf2,
- 0xe8, 0x80, 0x4b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x3a, 0x61, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f,
- 0x62, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12,
- 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xf5, 0xce, 0xb6, 0x21, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x64, 0x69, 0x73,
- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x6c, 0x0a, 0x20, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73,
- 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc1, 0xbe, 0xb3, 0x56,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
- 0x41, 0x74, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
- 0x75, 0x6d, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
- 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var file_envoy_annotations_deprecation_proto_goTypes = []interface{}{
- (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions
- (*descriptorpb.EnumValueOptions)(nil), // 1: google.protobuf.EnumValueOptions
-}
-var file_envoy_annotations_deprecation_proto_depIdxs = []int32{
- 0, // 0: envoy.annotations.disallowed_by_default:extendee -> google.protobuf.FieldOptions
- 0, // 1: envoy.annotations.deprecated_at_minor_version:extendee -> google.protobuf.FieldOptions
- 1, // 2: envoy.annotations.disallowed_by_default_enum:extendee -> google.protobuf.EnumValueOptions
- 1, // 3: envoy.annotations.deprecated_at_minor_version_enum:extendee -> google.protobuf.EnumValueOptions
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 0, // [0:4] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_envoy_annotations_deprecation_proto_init() }
-func file_envoy_annotations_deprecation_proto_init() {
- if File_envoy_annotations_deprecation_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_annotations_deprecation_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 0,
- NumExtensions: 4,
- NumServices: 0,
- },
- GoTypes: file_envoy_annotations_deprecation_proto_goTypes,
- DependencyIndexes: file_envoy_annotations_deprecation_proto_depIdxs,
- ExtensionInfos: file_envoy_annotations_deprecation_proto_extTypes,
- }.Build()
- File_envoy_annotations_deprecation_proto = out.File
- file_envoy_annotations_deprecation_proto_rawDesc = nil
- file_envoy_annotations_deprecation_proto_goTypes = nil
- file_envoy_annotations_deprecation_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.validate.go
deleted file mode 100644
index 2452fcdd6e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/deprecation.pb.validate.go
+++ /dev/null
@@ -1,36 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/annotations/deprecation.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.go
deleted file mode 100644
index f8543a638e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.go
+++ /dev/null
@@ -1,179 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/annotations/resource.proto
-
-package annotations
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type ResourceAnnotation struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
- // type.
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
-}
-
-func (x *ResourceAnnotation) Reset() {
- *x = ResourceAnnotation{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_annotations_resource_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ResourceAnnotation) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResourceAnnotation) ProtoMessage() {}
-
-func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_annotations_resource_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead.
-func (*ResourceAnnotation) Descriptor() ([]byte, []int) {
- return file_envoy_annotations_resource_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ResourceAnnotation) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
-}
-
-var file_envoy_annotations_resource_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.ServiceOptions)(nil),
- ExtensionType: (*ResourceAnnotation)(nil),
- Field: 265073217,
- Name: "envoy.annotations.resource",
- Tag: "bytes,265073217,opt,name=resource",
- Filename: "envoy/annotations/resource.proto",
- },
-}
-
-// Extension fields to descriptorpb.ServiceOptions.
-var (
- // optional envoy.annotations.ResourceAnnotation resource = 265073217;
- E_Resource = &file_envoy_annotations_resource_proto_extTypes[0]
-)
-
-var File_envoy_annotations_resource_proto protoreflect.FileDescriptor
-
-var file_envoy_annotations_resource_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x3a, 0x65, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc1,
- 0xe4, 0xb2, 0x7e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08,
- 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
- 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61,
- 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_annotations_resource_proto_rawDescOnce sync.Once
- file_envoy_annotations_resource_proto_rawDescData = file_envoy_annotations_resource_proto_rawDesc
-)
-
-func file_envoy_annotations_resource_proto_rawDescGZIP() []byte {
- file_envoy_annotations_resource_proto_rawDescOnce.Do(func() {
- file_envoy_annotations_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_annotations_resource_proto_rawDescData)
- })
- return file_envoy_annotations_resource_proto_rawDescData
-}
-
-var file_envoy_annotations_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_annotations_resource_proto_goTypes = []interface{}{
- (*ResourceAnnotation)(nil), // 0: envoy.annotations.ResourceAnnotation
- (*descriptorpb.ServiceOptions)(nil), // 1: google.protobuf.ServiceOptions
-}
-var file_envoy_annotations_resource_proto_depIdxs = []int32{
- 1, // 0: envoy.annotations.resource:extendee -> google.protobuf.ServiceOptions
- 0, // 1: envoy.annotations.resource:type_name -> envoy.annotations.ResourceAnnotation
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 1, // [1:2] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_envoy_annotations_resource_proto_init() }
-func file_envoy_annotations_resource_proto_init() {
- if File_envoy_annotations_resource_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_annotations_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ResourceAnnotation); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_annotations_resource_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_envoy_annotations_resource_proto_goTypes,
- DependencyIndexes: file_envoy_annotations_resource_proto_depIdxs,
- MessageInfos: file_envoy_annotations_resource_proto_msgTypes,
- ExtensionInfos: file_envoy_annotations_resource_proto_extTypes,
- }.Build()
- File_envoy_annotations_resource_proto = out.File
- file_envoy_annotations_resource_proto_rawDesc = nil
- file_envoy_annotations_resource_proto_goTypes = nil
- file_envoy_annotations_resource_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.validate.go
deleted file mode 100644
index 05dc789682..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/annotations/resource.pb.validate.go
+++ /dev/null
@@ -1,140 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/annotations/resource.proto
-
-package annotations
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on ResourceAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ResourceAnnotation) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ResourceAnnotation with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ResourceAnnotationMultiError, or nil if none found.
-func (m *ResourceAnnotation) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ResourceAnnotation) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Type
-
- if len(errors) > 0 {
- return ResourceAnnotationMultiError(errors)
- }
-
- return nil
-}
-
-// ResourceAnnotationMultiError is an error wrapping multiple validation errors
-// returned by ResourceAnnotation.ValidateAll() if the designated constraints
-// aren't met.
-type ResourceAnnotationMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ResourceAnnotationMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ResourceAnnotationMultiError) AllErrors() []error { return m }
-
-// ResourceAnnotationValidationError is the validation error returned by
-// ResourceAnnotation.Validate if the designated constraints aren't met.
-type ResourceAnnotationValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResourceAnnotationValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResourceAnnotationValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResourceAnnotationValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResourceAnnotationValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResourceAnnotationValidationError) ErrorName() string {
- return "ResourceAnnotationValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ResourceAnnotationValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResourceAnnotation.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResourceAnnotationValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResourceAnnotationValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.go
deleted file mode 100644
index 229af066cb..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.go
+++ /dev/null
@@ -1,805 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/address.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type SocketAddress_Protocol int32
-
-const (
- SocketAddress_TCP SocketAddress_Protocol = 0
- SocketAddress_UDP SocketAddress_Protocol = 1
-)
-
-// Enum value maps for SocketAddress_Protocol.
-var (
- SocketAddress_Protocol_name = map[int32]string{
- 0: "TCP",
- 1: "UDP",
- }
- SocketAddress_Protocol_value = map[string]int32{
- "TCP": 0,
- "UDP": 1,
- }
-)
-
-func (x SocketAddress_Protocol) Enum() *SocketAddress_Protocol {
- p := new(SocketAddress_Protocol)
- *p = x
- return p
-}
-
-func (x SocketAddress_Protocol) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (SocketAddress_Protocol) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_address_proto_enumTypes[0].Descriptor()
-}
-
-func (SocketAddress_Protocol) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_address_proto_enumTypes[0]
-}
-
-func (x SocketAddress_Protocol) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use SocketAddress_Protocol.Descriptor instead.
-func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{1, 0}
-}
-
-type Pipe struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Unix Domain Socket path. On Linux, paths starting with '@' will use the
- // abstract namespace. The starting '@' is replaced by a null byte by Envoy.
- // Paths starting with '@' will result in an error in environments other than
- // Linux.
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
- // The mode for the Pipe. Not applicable for abstract sockets.
- Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
-}
-
-func (x *Pipe) Reset() {
- *x = Pipe{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Pipe) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Pipe) ProtoMessage() {}
-
-func (x *Pipe) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Pipe.ProtoReflect.Descriptor instead.
-func (*Pipe) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Pipe) GetPath() string {
- if x != nil {
- return x.Path
- }
- return ""
-}
-
-func (x *Pipe) GetMode() uint32 {
- if x != nil {
- return x.Mode
- }
- return 0
-}
-
-// [#next-free-field: 7]
-type SocketAddress struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=envoy.api.v2.core.SocketAddress_Protocol" json:"protocol,omitempty"`
- // The address for this socket. :ref:`Listeners ` will bind
- // to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::``
- // to bind to any address. [#comment:TODO(zuercher) reinstate when implemented:
- // It is possible to distinguish a Listener address via the prefix/suffix matching
- // in :ref:`FilterChainMatch `.] When used
- // within an upstream :ref:`BindConfig `, the address
- // controls the source address of outbound connections. For :ref:`clusters
- // `, the cluster type determines whether the
- // address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS
- // (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized
- // via :ref:`resolver_name `.
- Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
- // Types that are assignable to PortSpecifier:
- // *SocketAddress_PortValue
- // *SocketAddress_NamedPort
- PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"`
- // The name of the custom resolver. This must have been registered with Envoy. If
- // this is empty, a context dependent default applies. If the address is a concrete
- // IP address, no resolution will occur. If address is a hostname this
- // should be set for resolution other than DNS. Specifying a custom resolver with
- // *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime.
- ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,json=resolverName,proto3" json:"resolver_name,omitempty"`
- // When binding to an IPv6 address above, this enables `IPv4 compatibility
- // `_. Binding to ``::`` will
- // allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
- // IPv6 space as ``::FFFF:``.
- Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,json=ipv4Compat,proto3" json:"ipv4_compat,omitempty"`
-}
-
-func (x *SocketAddress) Reset() {
- *x = SocketAddress{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SocketAddress) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SocketAddress) ProtoMessage() {}
-
-func (x *SocketAddress) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SocketAddress.ProtoReflect.Descriptor instead.
-func (*SocketAddress) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *SocketAddress) GetProtocol() SocketAddress_Protocol {
- if x != nil {
- return x.Protocol
- }
- return SocketAddress_TCP
-}
-
-func (x *SocketAddress) GetAddress() string {
- if x != nil {
- return x.Address
- }
- return ""
-}
-
-func (m *SocketAddress) GetPortSpecifier() isSocketAddress_PortSpecifier {
- if m != nil {
- return m.PortSpecifier
- }
- return nil
-}
-
-func (x *SocketAddress) GetPortValue() uint32 {
- if x, ok := x.GetPortSpecifier().(*SocketAddress_PortValue); ok {
- return x.PortValue
- }
- return 0
-}
-
-func (x *SocketAddress) GetNamedPort() string {
- if x, ok := x.GetPortSpecifier().(*SocketAddress_NamedPort); ok {
- return x.NamedPort
- }
- return ""
-}
-
-func (x *SocketAddress) GetResolverName() string {
- if x != nil {
- return x.ResolverName
- }
- return ""
-}
-
-func (x *SocketAddress) GetIpv4Compat() bool {
- if x != nil {
- return x.Ipv4Compat
- }
- return false
-}
-
-type isSocketAddress_PortSpecifier interface {
- isSocketAddress_PortSpecifier()
-}
-
-type SocketAddress_PortValue struct {
- PortValue uint32 `protobuf:"varint,3,opt,name=port_value,json=portValue,proto3,oneof"`
-}
-
-type SocketAddress_NamedPort struct {
- // This is only valid if :ref:`resolver_name
- // ` is specified below and the
- // named resolver is capable of named port resolution.
- NamedPort string `protobuf:"bytes,4,opt,name=named_port,json=namedPort,proto3,oneof"`
-}
-
-func (*SocketAddress_PortValue) isSocketAddress_PortSpecifier() {}
-
-func (*SocketAddress_NamedPort) isSocketAddress_PortSpecifier() {}
-
-type TcpKeepalive struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Maximum number of keepalive probes to send without response before deciding
- // the connection is dead. Default is to use the OS level configuration (unless
- // overridden, Linux defaults to 9.)
- KeepaliveProbes *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=keepalive_probes,json=keepaliveProbes,proto3" json:"keepalive_probes,omitempty"`
- // The number of seconds a connection needs to be idle before keep-alive probes
- // start being sent. Default is to use the OS level configuration (unless
- // overridden, Linux defaults to 7200s (i.e., 2 hours.)
- KeepaliveTime *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=keepalive_time,json=keepaliveTime,proto3" json:"keepalive_time,omitempty"`
- // The number of seconds between keep-alive probes. Default is to use the OS
- // level configuration (unless overridden, Linux defaults to 75s.)
- KeepaliveInterval *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"`
-}
-
-func (x *TcpKeepalive) Reset() {
- *x = TcpKeepalive{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TcpKeepalive) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TcpKeepalive) ProtoMessage() {}
-
-func (x *TcpKeepalive) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TcpKeepalive.ProtoReflect.Descriptor instead.
-func (*TcpKeepalive) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *TcpKeepalive) GetKeepaliveProbes() *wrappers.UInt32Value {
- if x != nil {
- return x.KeepaliveProbes
- }
- return nil
-}
-
-func (x *TcpKeepalive) GetKeepaliveTime() *wrappers.UInt32Value {
- if x != nil {
- return x.KeepaliveTime
- }
- return nil
-}
-
-func (x *TcpKeepalive) GetKeepaliveInterval() *wrappers.UInt32Value {
- if x != nil {
- return x.KeepaliveInterval
- }
- return nil
-}
-
-type BindConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The address to bind to when creating a socket.
- SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
- // Whether to set the *IP_FREEBIND* option when creating the socket. When this
- // flag is set to true, allows the :ref:`source_address
- // ` to be an IP address
- // that is not configured on the system running Envoy. When this flag is set
- // to false, the option *IP_FREEBIND* is disabled on the socket. When this
- // flag is not set (default), the socket is not modified, i.e. the option is
- // neither enabled nor disabled.
- Freebind *wrappers.BoolValue `protobuf:"bytes,2,opt,name=freebind,proto3" json:"freebind,omitempty"`
- // Additional socket options that may not be present in Envoy source code or
- // precompiled binaries.
- SocketOptions []*SocketOption `protobuf:"bytes,3,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
-}
-
-func (x *BindConfig) Reset() {
- *x = BindConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BindConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BindConfig) ProtoMessage() {}
-
-func (x *BindConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BindConfig.ProtoReflect.Descriptor instead.
-func (*BindConfig) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *BindConfig) GetSourceAddress() *SocketAddress {
- if x != nil {
- return x.SourceAddress
- }
- return nil
-}
-
-func (x *BindConfig) GetFreebind() *wrappers.BoolValue {
- if x != nil {
- return x.Freebind
- }
- return nil
-}
-
-func (x *BindConfig) GetSocketOptions() []*SocketOption {
- if x != nil {
- return x.SocketOptions
- }
- return nil
-}
-
-// Addresses specify either a logical or physical address and port, which are
-// used to tell Envoy where to bind/listen, connect to upstream and find
-// management servers.
-type Address struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Address:
- // *Address_SocketAddress
- // *Address_Pipe
- Address isAddress_Address `protobuf_oneof:"address"`
-}
-
-func (x *Address) Reset() {
- *x = Address{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Address) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Address) ProtoMessage() {}
-
-func (x *Address) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Address.ProtoReflect.Descriptor instead.
-func (*Address) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{4}
-}
-
-func (m *Address) GetAddress() isAddress_Address {
- if m != nil {
- return m.Address
- }
- return nil
-}
-
-func (x *Address) GetSocketAddress() *SocketAddress {
- if x, ok := x.GetAddress().(*Address_SocketAddress); ok {
- return x.SocketAddress
- }
- return nil
-}
-
-func (x *Address) GetPipe() *Pipe {
- if x, ok := x.GetAddress().(*Address_Pipe); ok {
- return x.Pipe
- }
- return nil
-}
-
-type isAddress_Address interface {
- isAddress_Address()
-}
-
-type Address_SocketAddress struct {
- SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,json=socketAddress,proto3,oneof"`
-}
-
-type Address_Pipe struct {
- Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"`
-}
-
-func (*Address_SocketAddress) isAddress_Address() {}
-
-func (*Address_Pipe) isAddress_Address() {}
-
-// CidrRange specifies an IP Address and a prefix length to construct
-// the subnet mask for a `CIDR `_ range.
-type CidrRange struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
- AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
- // Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
- PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
-}
-
-func (x *CidrRange) Reset() {
- *x = CidrRange{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CidrRange) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CidrRange) ProtoMessage() {}
-
-func (x *CidrRange) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_address_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.
-func (*CidrRange) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *CidrRange) GetAddressPrefix() string {
- if x != nil {
- return x.AddressPrefix
- }
- return ""
-}
-
-func (x *CidrRange) GetPrefixLen() *wrappers.UInt32Value {
- if x != nil {
- return x.PrefixLen
- }
- return nil
-}
-
-var File_envoy_api_v2_core_address_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_address_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f,
- 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61,
- 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70,
- 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69,
- 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70,
- 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x04, 0x50, 0x69, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x70,
- 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
- 0x20, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18, 0xff, 0x03,
- 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x0d, 0x53, 0x6f, 0x63, 0x6b, 0x65,
- 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53,
- 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x50, 0x72, 0x6f,
- 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52,
- 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x61, 0x64, 0x64,
- 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
- 0x02, 0x20, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x0a,
- 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
- 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x18, 0xff, 0xff, 0x03, 0x48, 0x00, 0x52, 0x09, 0x70,
- 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65,
- 0x64, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09,
- 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73,
- 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f,
- 0x0a, 0x0b, 0x69, 0x70, 0x76, 0x34, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x70, 0x76, 0x34, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x22,
- 0x1c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x54,
- 0x43, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x42, 0x15, 0x0a,
- 0x0e, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12,
- 0x03, 0xf8, 0x42, 0x01, 0x22, 0xe9, 0x01, 0x0a, 0x0c, 0x54, 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70,
- 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69,
- 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6b,
- 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x12, 0x43,
- 0x0a, 0x0e, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65,
- 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x6b,
- 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
- 0x22, 0xdf, 0x01, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
- 0x51, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b,
- 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01,
- 0x02, 0x10, 0x01, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x72, 0x65, 0x65, 0x62, 0x69, 0x6e, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
- 0x52, 0x08, 0x66, 0x72, 0x65, 0x65, 0x62, 0x69, 0x6e, 0x64, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x49,
- 0x0a, 0x0e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65,
- 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x6f, 0x63, 0x6b,
- 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x70, 0x69, 0x70,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x69, 0x70, 0x65,
- 0x48, 0x00, 0x52, 0x04, 0x70, 0x69, 0x70, 0x65, 0x42, 0x0e, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x09, 0x43, 0x69, 0x64,
- 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
- 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0d, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
- 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e,
- 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18,
- 0x80, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x6e, 0x42, 0x8f, 0x01,
- 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x42, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
- 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05,
- 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_address_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_address_proto_rawDescData = file_envoy_api_v2_core_address_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_address_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_address_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_address_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_address_proto_rawDescData)
- })
- return file_envoy_api_v2_core_address_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_address_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_api_v2_core_address_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
-var file_envoy_api_v2_core_address_proto_goTypes = []interface{}{
- (SocketAddress_Protocol)(0), // 0: envoy.api.v2.core.SocketAddress.Protocol
- (*Pipe)(nil), // 1: envoy.api.v2.core.Pipe
- (*SocketAddress)(nil), // 2: envoy.api.v2.core.SocketAddress
- (*TcpKeepalive)(nil), // 3: envoy.api.v2.core.TcpKeepalive
- (*BindConfig)(nil), // 4: envoy.api.v2.core.BindConfig
- (*Address)(nil), // 5: envoy.api.v2.core.Address
- (*CidrRange)(nil), // 6: envoy.api.v2.core.CidrRange
- (*wrappers.UInt32Value)(nil), // 7: google.protobuf.UInt32Value
- (*wrappers.BoolValue)(nil), // 8: google.protobuf.BoolValue
- (*SocketOption)(nil), // 9: envoy.api.v2.core.SocketOption
-}
-var file_envoy_api_v2_core_address_proto_depIdxs = []int32{
- 0, // 0: envoy.api.v2.core.SocketAddress.protocol:type_name -> envoy.api.v2.core.SocketAddress.Protocol
- 7, // 1: envoy.api.v2.core.TcpKeepalive.keepalive_probes:type_name -> google.protobuf.UInt32Value
- 7, // 2: envoy.api.v2.core.TcpKeepalive.keepalive_time:type_name -> google.protobuf.UInt32Value
- 7, // 3: envoy.api.v2.core.TcpKeepalive.keepalive_interval:type_name -> google.protobuf.UInt32Value
- 2, // 4: envoy.api.v2.core.BindConfig.source_address:type_name -> envoy.api.v2.core.SocketAddress
- 8, // 5: envoy.api.v2.core.BindConfig.freebind:type_name -> google.protobuf.BoolValue
- 9, // 6: envoy.api.v2.core.BindConfig.socket_options:type_name -> envoy.api.v2.core.SocketOption
- 2, // 7: envoy.api.v2.core.Address.socket_address:type_name -> envoy.api.v2.core.SocketAddress
- 1, // 8: envoy.api.v2.core.Address.pipe:type_name -> envoy.api.v2.core.Pipe
- 7, // 9: envoy.api.v2.core.CidrRange.prefix_len:type_name -> google.protobuf.UInt32Value
- 10, // [10:10] is the sub-list for method output_type
- 10, // [10:10] is the sub-list for method input_type
- 10, // [10:10] is the sub-list for extension type_name
- 10, // [10:10] is the sub-list for extension extendee
- 0, // [0:10] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_address_proto_init() }
-func file_envoy_api_v2_core_address_proto_init() {
- if File_envoy_api_v2_core_address_proto != nil {
- return
- }
- file_envoy_api_v2_core_socket_option_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_address_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Pipe); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SocketAddress); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TcpKeepalive); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BindConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Address); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CidrRange); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_address_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*SocketAddress_PortValue)(nil),
- (*SocketAddress_NamedPort)(nil),
- }
- file_envoy_api_v2_core_address_proto_msgTypes[4].OneofWrappers = []interface{}{
- (*Address_SocketAddress)(nil),
- (*Address_Pipe)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_address_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_address_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_address_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_address_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_address_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_address_proto = out.File
- file_envoy_api_v2_core_address_proto_rawDesc = nil
- file_envoy_api_v2_core_address_proto_goTypes = nil
- file_envoy_api_v2_core_address_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.validate.go
deleted file mode 100644
index 2b9930480e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/address.pb.validate.go
+++ /dev/null
@@ -1,999 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/address.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Pipe with the rules defined in the proto
-// definition for this message. If any rules are violated, the first error
-// encountered is returned, or nil if there are no violations.
-func (m *Pipe) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Pipe with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in PipeMultiError, or nil if none found.
-func (m *Pipe) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Pipe) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetPath()) < 1 {
- err := PipeValidationError{
- field: "Path",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if m.GetMode() > 511 {
- err := PipeValidationError{
- field: "Mode",
- reason: "value must be less than or equal to 511",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return PipeMultiError(errors)
- }
-
- return nil
-}
-
-// PipeMultiError is an error wrapping multiple validation errors returned by
-// Pipe.ValidateAll() if the designated constraints aren't met.
-type PipeMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m PipeMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m PipeMultiError) AllErrors() []error { return m }
-
-// PipeValidationError is the validation error returned by Pipe.Validate if the
-// designated constraints aren't met.
-type PipeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e PipeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e PipeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e PipeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e PipeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e PipeValidationError) ErrorName() string { return "PipeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e PipeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sPipe.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = PipeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = PipeValidationError{}
-
-// Validate checks the field values on SocketAddress with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *SocketAddress) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SocketAddress with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in SocketAddressMultiError, or
-// nil if none found.
-func (m *SocketAddress) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SocketAddress) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if _, ok := SocketAddress_Protocol_name[int32(m.GetProtocol())]; !ok {
- err := SocketAddressValidationError{
- field: "Protocol",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(m.GetAddress()) < 1 {
- err := SocketAddressValidationError{
- field: "Address",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- // no validation rules for ResolverName
-
- // no validation rules for Ipv4Compat
-
- switch m.PortSpecifier.(type) {
-
- case *SocketAddress_PortValue:
-
- if m.GetPortValue() > 65535 {
- err := SocketAddressValidationError{
- field: "PortValue",
- reason: "value must be less than or equal to 65535",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- case *SocketAddress_NamedPort:
- // no validation rules for NamedPort
-
- default:
- err := SocketAddressValidationError{
- field: "PortSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return SocketAddressMultiError(errors)
- }
-
- return nil
-}
-
-// SocketAddressMultiError is an error wrapping multiple validation errors
-// returned by SocketAddress.ValidateAll() if the designated constraints
-// aren't met.
-type SocketAddressMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SocketAddressMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SocketAddressMultiError) AllErrors() []error { return m }
-
-// SocketAddressValidationError is the validation error returned by
-// SocketAddress.Validate if the designated constraints aren't met.
-type SocketAddressValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SocketAddressValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SocketAddressValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SocketAddressValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SocketAddressValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SocketAddressValidationError) ErrorName() string { return "SocketAddressValidationError" }
-
-// Error satisfies the builtin error interface
-func (e SocketAddressValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSocketAddress.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SocketAddressValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SocketAddressValidationError{}
-
-// Validate checks the field values on TcpKeepalive with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *TcpKeepalive) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on TcpKeepalive with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in TcpKeepaliveMultiError, or
-// nil if none found.
-func (m *TcpKeepalive) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *TcpKeepalive) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetKeepaliveProbes()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveProbes",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveProbes",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetKeepaliveProbes()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TcpKeepaliveValidationError{
- field: "KeepaliveProbes",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetKeepaliveTime()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveTime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetKeepaliveTime()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TcpKeepaliveValidationError{
- field: "KeepaliveTime",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetKeepaliveInterval()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveInterval",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TcpKeepaliveValidationError{
- field: "KeepaliveInterval",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetKeepaliveInterval()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TcpKeepaliveValidationError{
- field: "KeepaliveInterval",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return TcpKeepaliveMultiError(errors)
- }
-
- return nil
-}
-
-// TcpKeepaliveMultiError is an error wrapping multiple validation errors
-// returned by TcpKeepalive.ValidateAll() if the designated constraints aren't met.
-type TcpKeepaliveMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m TcpKeepaliveMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m TcpKeepaliveMultiError) AllErrors() []error { return m }
-
-// TcpKeepaliveValidationError is the validation error returned by
-// TcpKeepalive.Validate if the designated constraints aren't met.
-type TcpKeepaliveValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TcpKeepaliveValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TcpKeepaliveValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TcpKeepaliveValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TcpKeepaliveValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TcpKeepaliveValidationError) ErrorName() string { return "TcpKeepaliveValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TcpKeepaliveValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTcpKeepalive.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TcpKeepaliveValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TcpKeepaliveValidationError{}
-
-// Validate checks the field values on BindConfig with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *BindConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on BindConfig with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in BindConfigMultiError, or
-// nil if none found.
-func (m *BindConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *BindConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetSourceAddress() == nil {
- err := BindConfigValidationError{
- field: "SourceAddress",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetSourceAddress()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: "SourceAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: "SourceAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSourceAddress()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BindConfigValidationError{
- field: "SourceAddress",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetFreebind()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: "Freebind",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: "Freebind",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetFreebind()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BindConfigValidationError{
- field: "Freebind",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetSocketOptions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BindConfigValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BindConfigValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return BindConfigMultiError(errors)
- }
-
- return nil
-}
-
-// BindConfigMultiError is an error wrapping multiple validation errors
-// returned by BindConfig.ValidateAll() if the designated constraints aren't met.
-type BindConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m BindConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m BindConfigMultiError) AllErrors() []error { return m }
-
-// BindConfigValidationError is the validation error returned by
-// BindConfig.Validate if the designated constraints aren't met.
-type BindConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e BindConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e BindConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e BindConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e BindConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e BindConfigValidationError) ErrorName() string { return "BindConfigValidationError" }
-
-// Error satisfies the builtin error interface
-func (e BindConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBindConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = BindConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = BindConfigValidationError{}
-
-// Validate checks the field values on Address with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Address) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Address with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in AddressMultiError, or nil if none found.
-func (m *Address) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Address) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.Address.(type) {
-
- case *Address_SocketAddress:
-
- if all {
- switch v := interface{}(m.GetSocketAddress()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AddressValidationError{
- field: "SocketAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AddressValidationError{
- field: "SocketAddress",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSocketAddress()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AddressValidationError{
- field: "SocketAddress",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *Address_Pipe:
-
- if all {
- switch v := interface{}(m.GetPipe()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AddressValidationError{
- field: "Pipe",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AddressValidationError{
- field: "Pipe",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetPipe()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AddressValidationError{
- field: "Pipe",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := AddressValidationError{
- field: "Address",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return AddressMultiError(errors)
- }
-
- return nil
-}
-
-// AddressMultiError is an error wrapping multiple validation errors returned
-// by Address.ValidateAll() if the designated constraints aren't met.
-type AddressMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AddressMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AddressMultiError) AllErrors() []error { return m }
-
-// AddressValidationError is the validation error returned by Address.Validate
-// if the designated constraints aren't met.
-type AddressValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AddressValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AddressValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AddressValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AddressValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AddressValidationError) ErrorName() string { return "AddressValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AddressValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAddress.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AddressValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AddressValidationError{}
-
-// Validate checks the field values on CidrRange with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *CidrRange) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CidrRange with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in CidrRangeMultiError, or nil
-// if none found.
-func (m *CidrRange) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CidrRange) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetAddressPrefix()) < 1 {
- err := CidrRangeValidationError{
- field: "AddressPrefix",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if wrapper := m.GetPrefixLen(); wrapper != nil {
-
- if wrapper.GetValue() > 128 {
- err := CidrRangeValidationError{
- field: "PrefixLen",
- reason: "value must be less than or equal to 128",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if len(errors) > 0 {
- return CidrRangeMultiError(errors)
- }
-
- return nil
-}
-
-// CidrRangeMultiError is an error wrapping multiple validation errors returned
-// by CidrRange.ValidateAll() if the designated constraints aren't met.
-type CidrRangeMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CidrRangeMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CidrRangeMultiError) AllErrors() []error { return m }
-
-// CidrRangeValidationError is the validation error returned by
-// CidrRange.Validate if the designated constraints aren't met.
-type CidrRangeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CidrRangeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CidrRangeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CidrRangeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CidrRangeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CidrRangeValidationError) ErrorName() string { return "CidrRangeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CidrRangeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCidrRange.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CidrRangeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CidrRangeValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.go
deleted file mode 100644
index 5d58463796..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.go
+++ /dev/null
@@ -1,191 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/backoff.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- duration "github.com/golang/protobuf/ptypes/duration"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Configuration defining a jittered exponential back off strategy.
-type BackoffStrategy struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The base interval to be used for the next back off computation. It should
- // be greater than zero and less than or equal to :ref:`max_interval
- // `.
- BaseInterval *duration.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
- // Specifies the maximum interval between retries. This parameter is optional,
- // but must be greater than or equal to the :ref:`base_interval
- // ` if set. The default
- // is 10 times the :ref:`base_interval
- // `.
- MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
-}
-
-func (x *BackoffStrategy) Reset() {
- *x = BackoffStrategy{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_backoff_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BackoffStrategy) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BackoffStrategy) ProtoMessage() {}
-
-func (x *BackoffStrategy) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_backoff_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BackoffStrategy.ProtoReflect.Descriptor instead.
-func (*BackoffStrategy) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_backoff_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *BackoffStrategy) GetBaseInterval() *duration.Duration {
- if x != nil {
- return x.BaseInterval
- }
- return nil
-}
-
-func (x *BackoffStrategy) GetMaxInterval() *duration.Duration {
- if x != nil {
- return x.MaxInterval
- }
- return nil
-}
-
-var File_envoy_api_v2_core_backoff_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_backoff_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a,
- 0x0f, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
- 0x12, 0x4e, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
- 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0xaa, 0x01, 0x08, 0x08, 0x01, 0x32, 0x04, 0x10, 0xc0,
- 0x84, 0x3d, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
- 0x12, 0x46, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x0b, 0x6d, 0x61, 0x78,
- 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x8f, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0c, 0x42, 0x61,
- 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69,
- 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
- 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70,
- 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
- 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_backoff_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_backoff_proto_rawDescData = file_envoy_api_v2_core_backoff_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_backoff_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_backoff_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_backoff_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_backoff_proto_rawDescData)
- })
- return file_envoy_api_v2_core_backoff_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_backoff_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_api_v2_core_backoff_proto_goTypes = []interface{}{
- (*BackoffStrategy)(nil), // 0: envoy.api.v2.core.BackoffStrategy
- (*duration.Duration)(nil), // 1: google.protobuf.Duration
-}
-var file_envoy_api_v2_core_backoff_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.BackoffStrategy.base_interval:type_name -> google.protobuf.Duration
- 1, // 1: envoy.api.v2.core.BackoffStrategy.max_interval:type_name -> google.protobuf.Duration
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_backoff_proto_init() }
-func file_envoy_api_v2_core_backoff_proto_init() {
- if File_envoy_api_v2_core_backoff_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_backoff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BackoffStrategy); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_backoff_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_backoff_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_backoff_proto_depIdxs,
- MessageInfos: file_envoy_api_v2_core_backoff_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_backoff_proto = out.File
- file_envoy_api_v2_core_backoff_proto_rawDesc = nil
- file_envoy_api_v2_core_backoff_proto_goTypes = nil
- file_envoy_api_v2_core_backoff_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.validate.go
deleted file mode 100644
index 3a4f727f3d..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/backoff.pb.validate.go
+++ /dev/null
@@ -1,207 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/backoff.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on BackoffStrategy with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *BackoffStrategy) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on BackoffStrategy with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// BackoffStrategyMultiError, or nil if none found.
-func (m *BackoffStrategy) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *BackoffStrategy) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetBaseInterval() == nil {
- err := BackoffStrategyValidationError{
- field: "BaseInterval",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if d := m.GetBaseInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = BackoffStrategyValidationError{
- field: "BaseInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gte := time.Duration(0*time.Second + 1000000*time.Nanosecond)
-
- if dur < gte {
- err := BackoffStrategyValidationError{
- field: "BaseInterval",
- reason: "value must be greater than or equal to 1ms",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if d := m.GetMaxInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = BackoffStrategyValidationError{
- field: "MaxInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := BackoffStrategyValidationError{
- field: "MaxInterval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if len(errors) > 0 {
- return BackoffStrategyMultiError(errors)
- }
-
- return nil
-}
-
-// BackoffStrategyMultiError is an error wrapping multiple validation errors
-// returned by BackoffStrategy.ValidateAll() if the designated constraints
-// aren't met.
-type BackoffStrategyMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m BackoffStrategyMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m BackoffStrategyMultiError) AllErrors() []error { return m }
-
-// BackoffStrategyValidationError is the validation error returned by
-// BackoffStrategy.Validate if the designated constraints aren't met.
-type BackoffStrategyValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e BackoffStrategyValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e BackoffStrategyValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e BackoffStrategyValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e BackoffStrategyValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e BackoffStrategyValidationError) ErrorName() string { return "BackoffStrategyValidationError" }
-
-// Error satisfies the builtin error interface
-func (e BackoffStrategyValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBackoffStrategy.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = BackoffStrategyValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = BackoffStrategyValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.go
deleted file mode 100644
index ae88a6e889..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.go
+++ /dev/null
@@ -1,2154 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/base.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _type "github.com/envoyproxy/go-control-plane/envoy/type"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- any "github.com/golang/protobuf/ptypes/any"
- _struct "github.com/golang/protobuf/ptypes/struct"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Envoy supports :ref:`upstream priority routing
-// ` both at the route and the virtual
-// cluster level. The current priority implementation uses different connection
-// pool and circuit breaking settings for each priority level. This means that
-// even for HTTP/2 requests, two physical connections will be used to an
-// upstream host. In the future Envoy will likely support true HTTP/2 priority
-// over a single upstream connection.
-type RoutingPriority int32
-
-const (
- RoutingPriority_DEFAULT RoutingPriority = 0
- RoutingPriority_HIGH RoutingPriority = 1
-)
-
-// Enum value maps for RoutingPriority.
-var (
- RoutingPriority_name = map[int32]string{
- 0: "DEFAULT",
- 1: "HIGH",
- }
- RoutingPriority_value = map[string]int32{
- "DEFAULT": 0,
- "HIGH": 1,
- }
-)
-
-func (x RoutingPriority) Enum() *RoutingPriority {
- p := new(RoutingPriority)
- *p = x
- return p
-}
-
-func (x RoutingPriority) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (RoutingPriority) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_base_proto_enumTypes[0].Descriptor()
-}
-
-func (RoutingPriority) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_base_proto_enumTypes[0]
-}
-
-func (x RoutingPriority) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use RoutingPriority.Descriptor instead.
-func (RoutingPriority) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{0}
-}
-
-// HTTP request method.
-type RequestMethod int32
-
-const (
- RequestMethod_METHOD_UNSPECIFIED RequestMethod = 0
- RequestMethod_GET RequestMethod = 1
- RequestMethod_HEAD RequestMethod = 2
- RequestMethod_POST RequestMethod = 3
- RequestMethod_PUT RequestMethod = 4
- RequestMethod_DELETE RequestMethod = 5
- RequestMethod_CONNECT RequestMethod = 6
- RequestMethod_OPTIONS RequestMethod = 7
- RequestMethod_TRACE RequestMethod = 8
- RequestMethod_PATCH RequestMethod = 9
-)
-
-// Enum value maps for RequestMethod.
-var (
- RequestMethod_name = map[int32]string{
- 0: "METHOD_UNSPECIFIED",
- 1: "GET",
- 2: "HEAD",
- 3: "POST",
- 4: "PUT",
- 5: "DELETE",
- 6: "CONNECT",
- 7: "OPTIONS",
- 8: "TRACE",
- 9: "PATCH",
- }
- RequestMethod_value = map[string]int32{
- "METHOD_UNSPECIFIED": 0,
- "GET": 1,
- "HEAD": 2,
- "POST": 3,
- "PUT": 4,
- "DELETE": 5,
- "CONNECT": 6,
- "OPTIONS": 7,
- "TRACE": 8,
- "PATCH": 9,
- }
-)
-
-func (x RequestMethod) Enum() *RequestMethod {
- p := new(RequestMethod)
- *p = x
- return p
-}
-
-func (x RequestMethod) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (RequestMethod) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_base_proto_enumTypes[1].Descriptor()
-}
-
-func (RequestMethod) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_base_proto_enumTypes[1]
-}
-
-func (x RequestMethod) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use RequestMethod.Descriptor instead.
-func (RequestMethod) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{1}
-}
-
-// Identifies the direction of the traffic relative to the local Envoy.
-type TrafficDirection int32
-
-const (
- // Default option is unspecified.
- TrafficDirection_UNSPECIFIED TrafficDirection = 0
- // The transport is used for incoming traffic.
- TrafficDirection_INBOUND TrafficDirection = 1
- // The transport is used for outgoing traffic.
- TrafficDirection_OUTBOUND TrafficDirection = 2
-)
-
-// Enum value maps for TrafficDirection.
-var (
- TrafficDirection_name = map[int32]string{
- 0: "UNSPECIFIED",
- 1: "INBOUND",
- 2: "OUTBOUND",
- }
- TrafficDirection_value = map[string]int32{
- "UNSPECIFIED": 0,
- "INBOUND": 1,
- "OUTBOUND": 2,
- }
-)
-
-func (x TrafficDirection) Enum() *TrafficDirection {
- p := new(TrafficDirection)
- *p = x
- return p
-}
-
-func (x TrafficDirection) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (TrafficDirection) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_base_proto_enumTypes[2].Descriptor()
-}
-
-func (TrafficDirection) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_base_proto_enumTypes[2]
-}
-
-func (x TrafficDirection) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use TrafficDirection.Descriptor instead.
-func (TrafficDirection) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{2}
-}
-
-// Identifies location of where either Envoy runs or where upstream hosts run.
-type Locality struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Region this :ref:`zone ` belongs to.
- Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
- // Defines the local service zone where Envoy is running. Though optional, it
- // should be set if discovery service routing is used and the discovery
- // service exposes :ref:`zone data `,
- // either in this message or via :option:`--service-zone`. The meaning of zone
- // is context dependent, e.g. `Availability Zone (AZ)
- // `_
- // on AWS, `Zone `_ on
- // GCP, etc.
- Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
- // When used for locality of upstream hosts, this field further splits zone
- // into smaller chunks of sub-zones so they can be load balanced
- // independently.
- SubZone string `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"`
-}
-
-func (x *Locality) Reset() {
- *x = Locality{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Locality) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Locality) ProtoMessage() {}
-
-func (x *Locality) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Locality.ProtoReflect.Descriptor instead.
-func (*Locality) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Locality) GetRegion() string {
- if x != nil {
- return x.Region
- }
- return ""
-}
-
-func (x *Locality) GetZone() string {
- if x != nil {
- return x.Zone
- }
- return ""
-}
-
-func (x *Locality) GetSubZone() string {
- if x != nil {
- return x.SubZone
- }
- return ""
-}
-
-// BuildVersion combines SemVer version of extension with free-form build information
-// (i.e. 'alpha', 'private-build') as a set of strings.
-type BuildVersion struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // SemVer version of extension.
- Version *_type.SemanticVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
- // Free-form build information.
- // Envoy defines several well known keys in the source/common/version/version.h file
- Metadata *_struct.Struct `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
-}
-
-func (x *BuildVersion) Reset() {
- *x = BuildVersion{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BuildVersion) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BuildVersion) ProtoMessage() {}
-
-func (x *BuildVersion) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BuildVersion.ProtoReflect.Descriptor instead.
-func (*BuildVersion) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *BuildVersion) GetVersion() *_type.SemanticVersion {
- if x != nil {
- return x.Version
- }
- return nil
-}
-
-func (x *BuildVersion) GetMetadata() *_struct.Struct {
- if x != nil {
- return x.Metadata
- }
- return nil
-}
-
-// Version and identification for an Envoy extension.
-// [#next-free-field: 6]
-type Extension struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // This is the name of the Envoy filter as specified in the Envoy
- // configuration, e.g. envoy.filters.http.router, com.acme.widget.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Category of the extension.
- // Extension category names use reverse DNS notation. For instance "envoy.filters.listener"
- // for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from
- // acme.com vendor.
- // [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
- Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
- // [#not-implemented-hide:] Type descriptor of extension configuration proto.
- // [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.]
- // [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
- TypeDescriptor string `protobuf:"bytes,3,opt,name=type_descriptor,json=typeDescriptor,proto3" json:"type_descriptor,omitempty"`
- // The version is a property of the extension and maintained independently
- // of other extensions and the Envoy API.
- // This field is not set when extension did not provide version information.
- Version *BuildVersion `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
- // Indicates that the extension is present but was disabled via dynamic configuration.
- Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
-}
-
-func (x *Extension) Reset() {
- *x = Extension{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Extension) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Extension) ProtoMessage() {}
-
-func (x *Extension) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Extension.ProtoReflect.Descriptor instead.
-func (*Extension) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *Extension) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *Extension) GetCategory() string {
- if x != nil {
- return x.Category
- }
- return ""
-}
-
-func (x *Extension) GetTypeDescriptor() string {
- if x != nil {
- return x.TypeDescriptor
- }
- return ""
-}
-
-func (x *Extension) GetVersion() *BuildVersion {
- if x != nil {
- return x.Version
- }
- return nil
-}
-
-func (x *Extension) GetDisabled() bool {
- if x != nil {
- return x.Disabled
- }
- return false
-}
-
-// Identifies a specific Envoy instance. The node identifier is presented to the
-// management server, which may use this identifier to distinguish per Envoy
-// configuration for serving.
-// [#next-free-field: 12]
-type Node struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // An opaque node identifier for the Envoy node. This also provides the local
- // service node name. It should be set if any of the following features are
- // used: :ref:`statsd `, :ref:`CDS
- // `, and :ref:`HTTP tracing
- // `, either in this message or via
- // :option:`--service-node`.
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- // Defines the local service cluster name where Envoy is running. Though
- // optional, it should be set if any of the following features are used:
- // :ref:`statsd `, :ref:`health check cluster
- // verification
- // `,
- // :ref:`runtime override directory `,
- // :ref:`user agent addition
- // `,
- // :ref:`HTTP global rate limiting `,
- // :ref:`CDS `, and :ref:`HTTP tracing
- // `, either in this message or via
- // :option:`--service-cluster`.
- Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
- // Opaque metadata extending the node identifier. Envoy will pass this
- // directly to the management server.
- Metadata *_struct.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
- // Locality specifying where the Envoy instance is running.
- Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"`
- // This is motivated by informing a management server during canary which
- // version of Envoy is being tested in a heterogeneous fleet. This will be set
- // by Envoy in management server RPCs.
- // This field is deprecated in favor of the user_agent_name and user_agent_version values.
- //
- // Deprecated: Do not use.
- BuildVersion string `protobuf:"bytes,5,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
- // Free-form string that identifies the entity requesting config.
- // E.g. "envoy" or "grpc"
- UserAgentName string `protobuf:"bytes,6,opt,name=user_agent_name,json=userAgentName,proto3" json:"user_agent_name,omitempty"`
- // Types that are assignable to UserAgentVersionType:
- // *Node_UserAgentVersion
- // *Node_UserAgentBuildVersion
- UserAgentVersionType isNode_UserAgentVersionType `protobuf_oneof:"user_agent_version_type"`
- // List of extensions and their versions supported by the node.
- Extensions []*Extension `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"`
- // Client feature support list. These are well known features described
- // in the Envoy API repository for a given major version of an API. Client features
- // use reverse DNS naming scheme, for example `com.acme.feature`.
- // See :ref:`the list of features ` that xDS client may
- // support.
- ClientFeatures []string `protobuf:"bytes,10,rep,name=client_features,json=clientFeatures,proto3" json:"client_features,omitempty"`
- // Known listening ports on the node as a generic hint to the management server
- // for filtering :ref:`listeners ` to be returned. For example,
- // if there is a listener bound to port 80, the list can optionally contain the
- // SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint.
- ListeningAddresses []*Address `protobuf:"bytes,11,rep,name=listening_addresses,json=listeningAddresses,proto3" json:"listening_addresses,omitempty"`
-}
-
-func (x *Node) Reset() {
- *x = Node{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Node) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Node) ProtoMessage() {}
-
-func (x *Node) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Node.ProtoReflect.Descriptor instead.
-func (*Node) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Node) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *Node) GetCluster() string {
- if x != nil {
- return x.Cluster
- }
- return ""
-}
-
-func (x *Node) GetMetadata() *_struct.Struct {
- if x != nil {
- return x.Metadata
- }
- return nil
-}
-
-func (x *Node) GetLocality() *Locality {
- if x != nil {
- return x.Locality
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *Node) GetBuildVersion() string {
- if x != nil {
- return x.BuildVersion
- }
- return ""
-}
-
-func (x *Node) GetUserAgentName() string {
- if x != nil {
- return x.UserAgentName
- }
- return ""
-}
-
-func (m *Node) GetUserAgentVersionType() isNode_UserAgentVersionType {
- if m != nil {
- return m.UserAgentVersionType
- }
- return nil
-}
-
-func (x *Node) GetUserAgentVersion() string {
- if x, ok := x.GetUserAgentVersionType().(*Node_UserAgentVersion); ok {
- return x.UserAgentVersion
- }
- return ""
-}
-
-func (x *Node) GetUserAgentBuildVersion() *BuildVersion {
- if x, ok := x.GetUserAgentVersionType().(*Node_UserAgentBuildVersion); ok {
- return x.UserAgentBuildVersion
- }
- return nil
-}
-
-func (x *Node) GetExtensions() []*Extension {
- if x != nil {
- return x.Extensions
- }
- return nil
-}
-
-func (x *Node) GetClientFeatures() []string {
- if x != nil {
- return x.ClientFeatures
- }
- return nil
-}
-
-func (x *Node) GetListeningAddresses() []*Address {
- if x != nil {
- return x.ListeningAddresses
- }
- return nil
-}
-
-type isNode_UserAgentVersionType interface {
- isNode_UserAgentVersionType()
-}
-
-type Node_UserAgentVersion struct {
- // Free-form string that identifies the version of the entity requesting config.
- // E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild"
- UserAgentVersion string `protobuf:"bytes,7,opt,name=user_agent_version,json=userAgentVersion,proto3,oneof"`
-}
-
-type Node_UserAgentBuildVersion struct {
- // Structured version of the entity requesting config.
- UserAgentBuildVersion *BuildVersion `protobuf:"bytes,8,opt,name=user_agent_build_version,json=userAgentBuildVersion,proto3,oneof"`
-}
-
-func (*Node_UserAgentVersion) isNode_UserAgentVersionType() {}
-
-func (*Node_UserAgentBuildVersion) isNode_UserAgentVersionType() {}
-
-// Metadata provides additional inputs to filters based on matched listeners,
-// filter chains, routes and endpoints. It is structured as a map, usually from
-// filter name (in reverse DNS format) to metadata specific to the filter. Metadata
-// key-values for a filter are merged as connection and request handling occurs,
-// with later values for the same key overriding earlier values.
-//
-// An example use of metadata is providing additional values to
-// http_connection_manager in the envoy.http_connection_manager.access_log
-// namespace.
-//
-// Another example use of metadata is to per service config info in cluster metadata, which may get
-// consumed by multiple filters.
-//
-// For load balancing, Metadata provides a means to subset cluster endpoints.
-// Endpoints have a Metadata object associated and routes contain a Metadata
-// object to match against. There are some well defined metadata used today for
-// this purpose:
-//
-// * ``{"envoy.lb": {"canary": }}`` This indicates the canary status of an
-// endpoint and is also used during header processing
-// (x-envoy-upstream-canary) and for stats purposes.
-// [#next-major-version: move to type/metadata/v2]
-type Metadata struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.*
- // namespace is reserved for Envoy's built-in filters.
- FilterMetadata map[string]*_struct.Struct `protobuf:"bytes,1,rep,name=filter_metadata,json=filterMetadata,proto3" json:"filter_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
-}
-
-func (x *Metadata) Reset() {
- *x = Metadata{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Metadata) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Metadata) ProtoMessage() {}
-
-func (x *Metadata) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
-func (*Metadata) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Metadata) GetFilterMetadata() map[string]*_struct.Struct {
- if x != nil {
- return x.FilterMetadata
- }
- return nil
-}
-
-// Runtime derived uint32 with a default when not specified.
-type RuntimeUInt32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Default value if runtime value is not available.
- DefaultValue uint32 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
- // Runtime key to get value for comparison. This value is used if defined.
- RuntimeKey string `protobuf:"bytes,3,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
-}
-
-func (x *RuntimeUInt32) Reset() {
- *x = RuntimeUInt32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeUInt32) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeUInt32) ProtoMessage() {}
-
-func (x *RuntimeUInt32) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeUInt32.ProtoReflect.Descriptor instead.
-func (*RuntimeUInt32) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *RuntimeUInt32) GetDefaultValue() uint32 {
- if x != nil {
- return x.DefaultValue
- }
- return 0
-}
-
-func (x *RuntimeUInt32) GetRuntimeKey() string {
- if x != nil {
- return x.RuntimeKey
- }
- return ""
-}
-
-// Runtime derived double with a default when not specified.
-type RuntimeDouble struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Default value if runtime value is not available.
- DefaultValue float64 `protobuf:"fixed64,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
- // Runtime key to get value for comparison. This value is used if defined.
- RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
-}
-
-func (x *RuntimeDouble) Reset() {
- *x = RuntimeDouble{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeDouble) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeDouble) ProtoMessage() {}
-
-func (x *RuntimeDouble) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeDouble.ProtoReflect.Descriptor instead.
-func (*RuntimeDouble) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *RuntimeDouble) GetDefaultValue() float64 {
- if x != nil {
- return x.DefaultValue
- }
- return 0
-}
-
-func (x *RuntimeDouble) GetRuntimeKey() string {
- if x != nil {
- return x.RuntimeKey
- }
- return ""
-}
-
-// Runtime derived bool with a default when not specified.
-type RuntimeFeatureFlag struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Default value if runtime value is not available.
- DefaultValue *wrappers.BoolValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
- // Runtime key to get value for comparison. This value is used if defined. The boolean value must
- // be represented via its
- // `canonical JSON encoding `_.
- RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
-}
-
-func (x *RuntimeFeatureFlag) Reset() {
- *x = RuntimeFeatureFlag{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeFeatureFlag) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeFeatureFlag) ProtoMessage() {}
-
-func (x *RuntimeFeatureFlag) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeFeatureFlag.ProtoReflect.Descriptor instead.
-func (*RuntimeFeatureFlag) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *RuntimeFeatureFlag) GetDefaultValue() *wrappers.BoolValue {
- if x != nil {
- return x.DefaultValue
- }
- return nil
-}
-
-func (x *RuntimeFeatureFlag) GetRuntimeKey() string {
- if x != nil {
- return x.RuntimeKey
- }
- return ""
-}
-
-// Header name/value pair.
-type HeaderValue struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Header name.
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- // Header value.
- //
- // The same :ref:`format specifier ` as used for
- // :ref:`HTTP access logging ` applies here, however
- // unknown header values are replaced with the empty string instead of `-`.
- Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
-}
-
-func (x *HeaderValue) Reset() {
- *x = HeaderValue{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HeaderValue) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HeaderValue) ProtoMessage() {}
-
-func (x *HeaderValue) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.
-func (*HeaderValue) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *HeaderValue) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
-}
-
-func (x *HeaderValue) GetValue() string {
- if x != nil {
- return x.Value
- }
- return ""
-}
-
-// Header name/value pair plus option to control append behavior.
-type HeaderValueOption struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Header name/value pair that this option applies to.
- Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
- // Should the value be appended? If true (default), the value is appended to
- // existing values.
- Append *wrappers.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,omitempty"`
-}
-
-func (x *HeaderValueOption) Reset() {
- *x = HeaderValueOption{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HeaderValueOption) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HeaderValueOption) ProtoMessage() {}
-
-func (x *HeaderValueOption) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HeaderValueOption.ProtoReflect.Descriptor instead.
-func (*HeaderValueOption) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *HeaderValueOption) GetHeader() *HeaderValue {
- if x != nil {
- return x.Header
- }
- return nil
-}
-
-func (x *HeaderValueOption) GetAppend() *wrappers.BoolValue {
- if x != nil {
- return x.Append
- }
- return nil
-}
-
-// Wrapper for a set of headers.
-type HeaderMap struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Headers []*HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
-}
-
-func (x *HeaderMap) Reset() {
- *x = HeaderMap{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HeaderMap) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HeaderMap) ProtoMessage() {}
-
-func (x *HeaderMap) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HeaderMap.ProtoReflect.Descriptor instead.
-func (*HeaderMap) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *HeaderMap) GetHeaders() []*HeaderValue {
- if x != nil {
- return x.Headers
- }
- return nil
-}
-
-// Data source consisting of either a file or an inline value.
-type DataSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Specifier:
- // *DataSource_Filename
- // *DataSource_InlineBytes
- // *DataSource_InlineString
- Specifier isDataSource_Specifier `protobuf_oneof:"specifier"`
-}
-
-func (x *DataSource) Reset() {
- *x = DataSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DataSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DataSource) ProtoMessage() {}
-
-func (x *DataSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
-func (*DataSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{11}
-}
-
-func (m *DataSource) GetSpecifier() isDataSource_Specifier {
- if m != nil {
- return m.Specifier
- }
- return nil
-}
-
-func (x *DataSource) GetFilename() string {
- if x, ok := x.GetSpecifier().(*DataSource_Filename); ok {
- return x.Filename
- }
- return ""
-}
-
-func (x *DataSource) GetInlineBytes() []byte {
- if x, ok := x.GetSpecifier().(*DataSource_InlineBytes); ok {
- return x.InlineBytes
- }
- return nil
-}
-
-func (x *DataSource) GetInlineString() string {
- if x, ok := x.GetSpecifier().(*DataSource_InlineString); ok {
- return x.InlineString
- }
- return ""
-}
-
-type isDataSource_Specifier interface {
- isDataSource_Specifier()
-}
-
-type DataSource_Filename struct {
- // Local filesystem data source.
- Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof"`
-}
-
-type DataSource_InlineBytes struct {
- // Bytes inlined in the configuration.
- InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof"`
-}
-
-type DataSource_InlineString struct {
- // String inlined in the configuration.
- InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof"`
-}
-
-func (*DataSource_Filename) isDataSource_Specifier() {}
-
-func (*DataSource_InlineBytes) isDataSource_Specifier() {}
-
-func (*DataSource_InlineString) isDataSource_Specifier() {}
-
-// The message specifies the retry policy of remote data source when fetching fails.
-type RetryPolicy struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Specifies parameters that control :ref:`retry backoff strategy `.
- // This parameter is optional, in which case the default base interval is 1000 milliseconds. The
- // default maximum interval is 10 times the base interval.
- RetryBackOff *BackoffStrategy `protobuf:"bytes,1,opt,name=retry_back_off,json=retryBackOff,proto3" json:"retry_back_off,omitempty"`
- // Specifies the allowed number of retries. This parameter is optional and
- // defaults to 1.
- NumRetries *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
-}
-
-func (x *RetryPolicy) Reset() {
- *x = RetryPolicy{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RetryPolicy) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RetryPolicy) ProtoMessage() {}
-
-func (x *RetryPolicy) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.
-func (*RetryPolicy) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *RetryPolicy) GetRetryBackOff() *BackoffStrategy {
- if x != nil {
- return x.RetryBackOff
- }
- return nil
-}
-
-func (x *RetryPolicy) GetNumRetries() *wrappers.UInt32Value {
- if x != nil {
- return x.NumRetries
- }
- return nil
-}
-
-// The message specifies how to fetch data from remote and how to verify it.
-type RemoteDataSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The HTTP URI to fetch the remote data.
- HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
- // SHA256 string for verifying data.
- Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
- // Retry policy for fetching remote data.
- RetryPolicy *RetryPolicy `protobuf:"bytes,3,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
-}
-
-func (x *RemoteDataSource) Reset() {
- *x = RemoteDataSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RemoteDataSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RemoteDataSource) ProtoMessage() {}
-
-func (x *RemoteDataSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RemoteDataSource.ProtoReflect.Descriptor instead.
-func (*RemoteDataSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *RemoteDataSource) GetHttpUri() *HttpUri {
- if x != nil {
- return x.HttpUri
- }
- return nil
-}
-
-func (x *RemoteDataSource) GetSha256() string {
- if x != nil {
- return x.Sha256
- }
- return ""
-}
-
-func (x *RemoteDataSource) GetRetryPolicy() *RetryPolicy {
- if x != nil {
- return x.RetryPolicy
- }
- return nil
-}
-
-// Async data source which support async data fetch.
-type AsyncDataSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Specifier:
- // *AsyncDataSource_Local
- // *AsyncDataSource_Remote
- Specifier isAsyncDataSource_Specifier `protobuf_oneof:"specifier"`
-}
-
-func (x *AsyncDataSource) Reset() {
- *x = AsyncDataSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *AsyncDataSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AsyncDataSource) ProtoMessage() {}
-
-func (x *AsyncDataSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AsyncDataSource.ProtoReflect.Descriptor instead.
-func (*AsyncDataSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{14}
-}
-
-func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier {
- if m != nil {
- return m.Specifier
- }
- return nil
-}
-
-func (x *AsyncDataSource) GetLocal() *DataSource {
- if x, ok := x.GetSpecifier().(*AsyncDataSource_Local); ok {
- return x.Local
- }
- return nil
-}
-
-func (x *AsyncDataSource) GetRemote() *RemoteDataSource {
- if x, ok := x.GetSpecifier().(*AsyncDataSource_Remote); ok {
- return x.Remote
- }
- return nil
-}
-
-type isAsyncDataSource_Specifier interface {
- isAsyncDataSource_Specifier()
-}
-
-type AsyncDataSource_Local struct {
- // Local async data source.
- Local *DataSource `protobuf:"bytes,1,opt,name=local,proto3,oneof"`
-}
-
-type AsyncDataSource_Remote struct {
- // Remote async data source.
- Remote *RemoteDataSource `protobuf:"bytes,2,opt,name=remote,proto3,oneof"`
-}
-
-func (*AsyncDataSource_Local) isAsyncDataSource_Specifier() {}
-
-func (*AsyncDataSource_Remote) isAsyncDataSource_Specifier() {}
-
-// Configuration for transport socket in :ref:`listeners ` and
-// :ref:`clusters `. If the configuration is
-// empty, a default transport socket implementation and configuration will be
-// chosen based on the platform and existence of tls_context.
-type TransportSocket struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the transport socket to instantiate. The name must match a supported transport
- // socket implementation.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Implementation specific configuration which depends on the implementation being instantiated.
- // See the supported transport socket implementations for further documentation.
- //
- // Types that are assignable to ConfigType:
- // *TransportSocket_Config
- // *TransportSocket_TypedConfig
- ConfigType isTransportSocket_ConfigType `protobuf_oneof:"config_type"`
-}
-
-func (x *TransportSocket) Reset() {
- *x = TransportSocket{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TransportSocket) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TransportSocket) ProtoMessage() {}
-
-func (x *TransportSocket) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TransportSocket.ProtoReflect.Descriptor instead.
-func (*TransportSocket) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *TransportSocket) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType {
- if m != nil {
- return m.ConfigType
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *TransportSocket) GetConfig() *_struct.Struct {
- if x, ok := x.GetConfigType().(*TransportSocket_Config); ok {
- return x.Config
- }
- return nil
-}
-
-func (x *TransportSocket) GetTypedConfig() *any.Any {
- if x, ok := x.GetConfigType().(*TransportSocket_TypedConfig); ok {
- return x.TypedConfig
- }
- return nil
-}
-
-type isTransportSocket_ConfigType interface {
- isTransportSocket_ConfigType()
-}
-
-type TransportSocket_Config struct {
- // Deprecated: Do not use.
- Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
-}
-
-type TransportSocket_TypedConfig struct {
- TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
-}
-
-func (*TransportSocket_Config) isTransportSocket_ConfigType() {}
-
-func (*TransportSocket_TypedConfig) isTransportSocket_ConfigType() {}
-
-// Runtime derived FractionalPercent with defaults for when the numerator or denominator is not
-// specified via a runtime key.
-//
-// .. note::
-//
-// Parsing of the runtime key's data is implemented such that it may be represented as a
-// :ref:`FractionalPercent ` proto represented as JSON/YAML
-// and may also be represented as an integer with the assumption that the value is an integral
-// percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse
-// as a `FractionalPercent` whose numerator is 42 and denominator is HUNDRED.
-type RuntimeFractionalPercent struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Default value if the runtime value's for the numerator/denominator keys are not available.
- DefaultValue *_type.FractionalPercent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
- // Runtime key for a YAML representation of a FractionalPercent.
- RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
-}
-
-func (x *RuntimeFractionalPercent) Reset() {
- *x = RuntimeFractionalPercent{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeFractionalPercent) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeFractionalPercent) ProtoMessage() {}
-
-func (x *RuntimeFractionalPercent) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeFractionalPercent.ProtoReflect.Descriptor instead.
-func (*RuntimeFractionalPercent) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *RuntimeFractionalPercent) GetDefaultValue() *_type.FractionalPercent {
- if x != nil {
- return x.DefaultValue
- }
- return nil
-}
-
-func (x *RuntimeFractionalPercent) GetRuntimeKey() string {
- if x != nil {
- return x.RuntimeKey
- }
- return ""
-}
-
-// Identifies a specific ControlPlane instance that Envoy is connected to.
-type ControlPlane struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // An opaque control plane identifier that uniquely identifies an instance
- // of control plane. This can be used to identify which control plane instance,
- // the Envoy is connected to.
- Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
-}
-
-func (x *ControlPlane) Reset() {
- *x = ControlPlane{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ControlPlane) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ControlPlane) ProtoMessage() {}
-
-func (x *ControlPlane) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_base_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.
-func (*ControlPlane) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_base_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *ControlPlane) GetIdentifier() string {
- if x != nil {
- return x.Identifier
- }
- return ""
-}
-
-var File_envoy_api_v2_core_base_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_base_proto_rawDesc = []byte{
- 0x0a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f,
- 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,
- 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
- 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x69, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70,
- 0x65, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x73, 0x65, 0x6d, 0x61,
- 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73,
- 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61,
- 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70,
- 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69,
- 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70,
- 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
- 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x08, 0x4c, 0x6f,
- 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x12,
- 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x7a, 0x6f,
- 0x6e, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0x7a, 0x0a,
- 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a,
- 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x65, 0x6d, 0x61,
- 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72,
- 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
- 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xbb, 0x01, 0x0a, 0x09, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63,
- 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
- 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x79, 0x70, 0x65, 0x5f,
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
- 0x12, 0x39, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64,
- 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64,
- 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xca, 0x04, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
- 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
- 0x37, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x08,
- 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0d, 0x62, 0x75, 0x69, 0x6c,
- 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x02, 0x18, 0x01, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72,
- 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65,
- 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x18, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x15,
- 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65,
- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x65,
- 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x13,
- 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67,
- 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x42, 0x19, 0x0a, 0x17, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x12, 0x58, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4d,
- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5a, 0x0a, 0x13, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a,
- 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x72, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x5e, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x74, 0x69,
- 0x6d, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52,
- 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a,
- 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x72, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x89, 0x01, 0x0a, 0x12, 0x52, 0x75, 0x6e, 0x74,
- 0x69, 0x6d, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x49,
- 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x0b, 0x72, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
- 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
- 0x4b, 0x65, 0x79, 0x22, 0x59, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x23, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x11, 0xfa, 0x42, 0x0e, 0x72, 0x0c, 0x20, 0x01, 0x28, 0x80, 0x80, 0x01, 0xc0, 0x01, 0x01, 0xc8,
- 0x01, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xfa, 0x42, 0x0c, 0x72, 0x0a, 0x28, 0x80, 0x80,
- 0x01, 0xc0, 0x01, 0x02, 0xc8, 0x01, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x89,
- 0x01, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06,
- 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x06, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x45, 0x0a, 0x09, 0x48, 0x65,
- 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x38, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
- 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x12, 0x25, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x48, 0x00, 0x52, 0x08, 0x66,
- 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x0c, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
- 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x07, 0xfa,
- 0x42, 0x04, 0x7a, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x0d, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f,
- 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42,
- 0x04, 0x72, 0x02, 0x20, 0x01, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69,
- 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x96, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72,
- 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x48, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x72, 0x79,
- 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x6f, 0x66, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x53, 0x74, 0x72, 0x61, 0x74,
- 0x65, 0x67, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x4f, 0x66,
- 0x66, 0x12, 0x3d, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73,
- 0x22, 0xb7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72,
- 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70,
- 0x55, 0x72, 0x69, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x07, 0x68,
- 0x74, 0x74, 0x70, 0x55, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52,
- 0x06, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x41, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79,
- 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0b, 0x72,
- 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x41,
- 0x73, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x35,
- 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05,
- 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x3d, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65,
- 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65,
- 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x10, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65,
- 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x70, 0x6f, 0x72, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20,
- 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
- 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39,
- 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79,
- 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x18, 0x52, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x65,
- 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6b,
- 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d,
- 0x65, 0x4b, 0x65, 0x79, 0x22, 0x2e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50,
- 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
- 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
- 0x66, 0x69, 0x65, 0x72, 0x2a, 0x28, 0x0a, 0x0f, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50,
- 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55,
- 0x4c, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x01, 0x2a, 0x89,
- 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
- 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 0x54, 0x10,
- 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x45, 0x41, 0x44, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x50,
- 0x4f, 0x53, 0x54, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x55, 0x54, 0x10, 0x04, 0x12, 0x0a,
- 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f,
- 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x54, 0x49, 0x4f,
- 0x4e, 0x53, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x08, 0x12,
- 0x09, 0x0a, 0x05, 0x50, 0x41, 0x54, 0x43, 0x48, 0x10, 0x09, 0x2a, 0x3e, 0x0a, 0x10, 0x54, 0x72,
- 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f,
- 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
- 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
- 0x4f, 0x55, 0x54, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x42, 0x8c, 0x01, 0x0a, 0x1f, 0x69,
- 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x09,
- 0x42, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c,
- 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,
- 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x50, 0x0b, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_base_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_base_proto_rawDescData = file_envoy_api_v2_core_base_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_base_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_base_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_base_proto_rawDescData)
- })
- return file_envoy_api_v2_core_base_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_base_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
-var file_envoy_api_v2_core_base_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
-var file_envoy_api_v2_core_base_proto_goTypes = []interface{}{
- (RoutingPriority)(0), // 0: envoy.api.v2.core.RoutingPriority
- (RequestMethod)(0), // 1: envoy.api.v2.core.RequestMethod
- (TrafficDirection)(0), // 2: envoy.api.v2.core.TrafficDirection
- (*Locality)(nil), // 3: envoy.api.v2.core.Locality
- (*BuildVersion)(nil), // 4: envoy.api.v2.core.BuildVersion
- (*Extension)(nil), // 5: envoy.api.v2.core.Extension
- (*Node)(nil), // 6: envoy.api.v2.core.Node
- (*Metadata)(nil), // 7: envoy.api.v2.core.Metadata
- (*RuntimeUInt32)(nil), // 8: envoy.api.v2.core.RuntimeUInt32
- (*RuntimeDouble)(nil), // 9: envoy.api.v2.core.RuntimeDouble
- (*RuntimeFeatureFlag)(nil), // 10: envoy.api.v2.core.RuntimeFeatureFlag
- (*HeaderValue)(nil), // 11: envoy.api.v2.core.HeaderValue
- (*HeaderValueOption)(nil), // 12: envoy.api.v2.core.HeaderValueOption
- (*HeaderMap)(nil), // 13: envoy.api.v2.core.HeaderMap
- (*DataSource)(nil), // 14: envoy.api.v2.core.DataSource
- (*RetryPolicy)(nil), // 15: envoy.api.v2.core.RetryPolicy
- (*RemoteDataSource)(nil), // 16: envoy.api.v2.core.RemoteDataSource
- (*AsyncDataSource)(nil), // 17: envoy.api.v2.core.AsyncDataSource
- (*TransportSocket)(nil), // 18: envoy.api.v2.core.TransportSocket
- (*RuntimeFractionalPercent)(nil), // 19: envoy.api.v2.core.RuntimeFractionalPercent
- (*ControlPlane)(nil), // 20: envoy.api.v2.core.ControlPlane
- nil, // 21: envoy.api.v2.core.Metadata.FilterMetadataEntry
- (*_type.SemanticVersion)(nil), // 22: envoy.type.SemanticVersion
- (*_struct.Struct)(nil), // 23: google.protobuf.Struct
- (*Address)(nil), // 24: envoy.api.v2.core.Address
- (*wrappers.BoolValue)(nil), // 25: google.protobuf.BoolValue
- (*BackoffStrategy)(nil), // 26: envoy.api.v2.core.BackoffStrategy
- (*wrappers.UInt32Value)(nil), // 27: google.protobuf.UInt32Value
- (*HttpUri)(nil), // 28: envoy.api.v2.core.HttpUri
- (*any.Any)(nil), // 29: google.protobuf.Any
- (*_type.FractionalPercent)(nil), // 30: envoy.type.FractionalPercent
-}
-var file_envoy_api_v2_core_base_proto_depIdxs = []int32{
- 22, // 0: envoy.api.v2.core.BuildVersion.version:type_name -> envoy.type.SemanticVersion
- 23, // 1: envoy.api.v2.core.BuildVersion.metadata:type_name -> google.protobuf.Struct
- 4, // 2: envoy.api.v2.core.Extension.version:type_name -> envoy.api.v2.core.BuildVersion
- 23, // 3: envoy.api.v2.core.Node.metadata:type_name -> google.protobuf.Struct
- 3, // 4: envoy.api.v2.core.Node.locality:type_name -> envoy.api.v2.core.Locality
- 4, // 5: envoy.api.v2.core.Node.user_agent_build_version:type_name -> envoy.api.v2.core.BuildVersion
- 5, // 6: envoy.api.v2.core.Node.extensions:type_name -> envoy.api.v2.core.Extension
- 24, // 7: envoy.api.v2.core.Node.listening_addresses:type_name -> envoy.api.v2.core.Address
- 21, // 8: envoy.api.v2.core.Metadata.filter_metadata:type_name -> envoy.api.v2.core.Metadata.FilterMetadataEntry
- 25, // 9: envoy.api.v2.core.RuntimeFeatureFlag.default_value:type_name -> google.protobuf.BoolValue
- 11, // 10: envoy.api.v2.core.HeaderValueOption.header:type_name -> envoy.api.v2.core.HeaderValue
- 25, // 11: envoy.api.v2.core.HeaderValueOption.append:type_name -> google.protobuf.BoolValue
- 11, // 12: envoy.api.v2.core.HeaderMap.headers:type_name -> envoy.api.v2.core.HeaderValue
- 26, // 13: envoy.api.v2.core.RetryPolicy.retry_back_off:type_name -> envoy.api.v2.core.BackoffStrategy
- 27, // 14: envoy.api.v2.core.RetryPolicy.num_retries:type_name -> google.protobuf.UInt32Value
- 28, // 15: envoy.api.v2.core.RemoteDataSource.http_uri:type_name -> envoy.api.v2.core.HttpUri
- 15, // 16: envoy.api.v2.core.RemoteDataSource.retry_policy:type_name -> envoy.api.v2.core.RetryPolicy
- 14, // 17: envoy.api.v2.core.AsyncDataSource.local:type_name -> envoy.api.v2.core.DataSource
- 16, // 18: envoy.api.v2.core.AsyncDataSource.remote:type_name -> envoy.api.v2.core.RemoteDataSource
- 23, // 19: envoy.api.v2.core.TransportSocket.config:type_name -> google.protobuf.Struct
- 29, // 20: envoy.api.v2.core.TransportSocket.typed_config:type_name -> google.protobuf.Any
- 30, // 21: envoy.api.v2.core.RuntimeFractionalPercent.default_value:type_name -> envoy.type.FractionalPercent
- 23, // 22: envoy.api.v2.core.Metadata.FilterMetadataEntry.value:type_name -> google.protobuf.Struct
- 23, // [23:23] is the sub-list for method output_type
- 23, // [23:23] is the sub-list for method input_type
- 23, // [23:23] is the sub-list for extension type_name
- 23, // [23:23] is the sub-list for extension extendee
- 0, // [0:23] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_base_proto_init() }
-func file_envoy_api_v2_core_base_proto_init() {
- if File_envoy_api_v2_core_base_proto != nil {
- return
- }
- file_envoy_api_v2_core_address_proto_init()
- file_envoy_api_v2_core_backoff_proto_init()
- file_envoy_api_v2_core_http_uri_proto_init()
- file_envoy_api_v2_core_socket_option_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Locality); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BuildVersion); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Extension); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Node); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Metadata); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeUInt32); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeDouble); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeFeatureFlag); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HeaderValue); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HeaderValueOption); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HeaderMap); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RetryPolicy); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RemoteDataSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AsyncDataSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TransportSocket); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeFractionalPercent); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ControlPlane); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_base_proto_msgTypes[3].OneofWrappers = []interface{}{
- (*Node_UserAgentVersion)(nil),
- (*Node_UserAgentBuildVersion)(nil),
- }
- file_envoy_api_v2_core_base_proto_msgTypes[11].OneofWrappers = []interface{}{
- (*DataSource_Filename)(nil),
- (*DataSource_InlineBytes)(nil),
- (*DataSource_InlineString)(nil),
- }
- file_envoy_api_v2_core_base_proto_msgTypes[14].OneofWrappers = []interface{}{
- (*AsyncDataSource_Local)(nil),
- (*AsyncDataSource_Remote)(nil),
- }
- file_envoy_api_v2_core_base_proto_msgTypes[15].OneofWrappers = []interface{}{
- (*TransportSocket_Config)(nil),
- (*TransportSocket_TypedConfig)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_base_proto_rawDesc,
- NumEnums: 3,
- NumMessages: 19,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_base_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_base_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_base_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_base_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_base_proto = out.File
- file_envoy_api_v2_core_base_proto_rawDesc = nil
- file_envoy_api_v2_core_base_proto_goTypes = nil
- file_envoy_api_v2_core_base_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.validate.go
deleted file mode 100644
index 838b1b337c..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/base.pb.validate.go
+++ /dev/null
@@ -1,2766 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/base.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Locality with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Locality) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Locality with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in LocalityMultiError, or nil
-// if none found.
-func (m *Locality) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Locality) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Region
-
- // no validation rules for Zone
-
- // no validation rules for SubZone
-
- if len(errors) > 0 {
- return LocalityMultiError(errors)
- }
-
- return nil
-}
-
-// LocalityMultiError is an error wrapping multiple validation errors returned
-// by Locality.ValidateAll() if the designated constraints aren't met.
-type LocalityMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m LocalityMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m LocalityMultiError) AllErrors() []error { return m }
-
-// LocalityValidationError is the validation error returned by
-// Locality.Validate if the designated constraints aren't met.
-type LocalityValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e LocalityValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e LocalityValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e LocalityValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e LocalityValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e LocalityValidationError) ErrorName() string { return "LocalityValidationError" }
-
-// Error satisfies the builtin error interface
-func (e LocalityValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sLocality.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = LocalityValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = LocalityValidationError{}
-
-// Validate checks the field values on BuildVersion with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *BuildVersion) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on BuildVersion with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in BuildVersionMultiError, or
-// nil if none found.
-func (m *BuildVersion) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *BuildVersion) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetVersion()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BuildVersionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BuildVersionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetVersion()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BuildVersionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMetadata()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BuildVersionValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BuildVersionValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BuildVersionValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return BuildVersionMultiError(errors)
- }
-
- return nil
-}
-
-// BuildVersionMultiError is an error wrapping multiple validation errors
-// returned by BuildVersion.ValidateAll() if the designated constraints aren't met.
-type BuildVersionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m BuildVersionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m BuildVersionMultiError) AllErrors() []error { return m }
-
-// BuildVersionValidationError is the validation error returned by
-// BuildVersion.Validate if the designated constraints aren't met.
-type BuildVersionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e BuildVersionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e BuildVersionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e BuildVersionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e BuildVersionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e BuildVersionValidationError) ErrorName() string { return "BuildVersionValidationError" }
-
-// Error satisfies the builtin error interface
-func (e BuildVersionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBuildVersion.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = BuildVersionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = BuildVersionValidationError{}
-
-// Validate checks the field values on Extension with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Extension) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Extension with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ExtensionMultiError, or nil
-// if none found.
-func (m *Extension) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Extension) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- // no validation rules for Category
-
- // no validation rules for TypeDescriptor
-
- if all {
- switch v := interface{}(m.GetVersion()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ExtensionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ExtensionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetVersion()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ExtensionValidationError{
- field: "Version",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for Disabled
-
- if len(errors) > 0 {
- return ExtensionMultiError(errors)
- }
-
- return nil
-}
-
-// ExtensionMultiError is an error wrapping multiple validation errors returned
-// by Extension.ValidateAll() if the designated constraints aren't met.
-type ExtensionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ExtensionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ExtensionMultiError) AllErrors() []error { return m }
-
-// ExtensionValidationError is the validation error returned by
-// Extension.Validate if the designated constraints aren't met.
-type ExtensionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ExtensionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ExtensionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ExtensionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ExtensionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ExtensionValidationError) ErrorName() string { return "ExtensionValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ExtensionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sExtension.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ExtensionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ExtensionValidationError{}
-
-// Validate checks the field values on Node with the rules defined in the proto
-// definition for this message. If any rules are violated, the first error
-// encountered is returned, or nil if there are no violations.
-func (m *Node) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Node with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in NodeMultiError, or nil if none found.
-func (m *Node) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Node) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Id
-
- // no validation rules for Cluster
-
- if all {
- switch v := interface{}(m.GetMetadata()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return NodeValidationError{
- field: "Metadata",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLocality()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocality()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return NodeValidationError{
- field: "Locality",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for BuildVersion
-
- // no validation rules for UserAgentName
-
- for idx, item := range m.GetExtensions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, NodeValidationError{
- field: fmt.Sprintf("Extensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, NodeValidationError{
- field: fmt.Sprintf("Extensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return NodeValidationError{
- field: fmt.Sprintf("Extensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetListeningAddresses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, NodeValidationError{
- field: fmt.Sprintf("ListeningAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, NodeValidationError{
- field: fmt.Sprintf("ListeningAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return NodeValidationError{
- field: fmt.Sprintf("ListeningAddresses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- switch m.UserAgentVersionType.(type) {
-
- case *Node_UserAgentVersion:
- // no validation rules for UserAgentVersion
-
- case *Node_UserAgentBuildVersion:
-
- if all {
- switch v := interface{}(m.GetUserAgentBuildVersion()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "UserAgentBuildVersion",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, NodeValidationError{
- field: "UserAgentBuildVersion",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetUserAgentBuildVersion()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return NodeValidationError{
- field: "UserAgentBuildVersion",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return NodeMultiError(errors)
- }
-
- return nil
-}
-
-// NodeMultiError is an error wrapping multiple validation errors returned by
-// Node.ValidateAll() if the designated constraints aren't met.
-type NodeMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m NodeMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m NodeMultiError) AllErrors() []error { return m }
-
-// NodeValidationError is the validation error returned by Node.Validate if the
-// designated constraints aren't met.
-type NodeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e NodeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e NodeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e NodeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e NodeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e NodeValidationError) ErrorName() string { return "NodeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e NodeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sNode.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = NodeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = NodeValidationError{}
-
-// Validate checks the field values on Metadata with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Metadata) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Metadata with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in MetadataMultiError, or nil
-// if none found.
-func (m *Metadata) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Metadata) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- {
- sorted_keys := make([]string, len(m.GetFilterMetadata()))
- i := 0
- for key := range m.GetFilterMetadata() {
- sorted_keys[i] = key
- i++
- }
- sort.Slice(sorted_keys, func(i, j int) bool { return sorted_keys[i] < sorted_keys[j] })
- for _, key := range sorted_keys {
- val := m.GetFilterMetadata()[key]
- _ = val
-
- // no validation rules for FilterMetadata[key]
-
- if all {
- switch v := interface{}(val).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, MetadataValidationError{
- field: fmt.Sprintf("FilterMetadata[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, MetadataValidationError{
- field: fmt.Sprintf("FilterMetadata[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(val).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MetadataValidationError{
- field: fmt.Sprintf("FilterMetadata[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
- }
-
- if len(errors) > 0 {
- return MetadataMultiError(errors)
- }
-
- return nil
-}
-
-// MetadataMultiError is an error wrapping multiple validation errors returned
-// by Metadata.ValidateAll() if the designated constraints aren't met.
-type MetadataMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m MetadataMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m MetadataMultiError) AllErrors() []error { return m }
-
-// MetadataValidationError is the validation error returned by
-// Metadata.Validate if the designated constraints aren't met.
-type MetadataValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MetadataValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MetadataValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MetadataValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MetadataValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MetadataValidationError) ErrorName() string { return "MetadataValidationError" }
-
-// Error satisfies the builtin error interface
-func (e MetadataValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMetadata.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MetadataValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MetadataValidationError{}
-
-// Validate checks the field values on RuntimeUInt32 with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *RuntimeUInt32) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeUInt32 with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in RuntimeUInt32MultiError, or
-// nil if none found.
-func (m *RuntimeUInt32) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeUInt32) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for DefaultValue
-
- if len(m.GetRuntimeKey()) < 1 {
- err := RuntimeUInt32ValidationError{
- field: "RuntimeKey",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return RuntimeUInt32MultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeUInt32MultiError is an error wrapping multiple validation errors
-// returned by RuntimeUInt32.ValidateAll() if the designated constraints
-// aren't met.
-type RuntimeUInt32MultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeUInt32MultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeUInt32MultiError) AllErrors() []error { return m }
-
-// RuntimeUInt32ValidationError is the validation error returned by
-// RuntimeUInt32.Validate if the designated constraints aren't met.
-type RuntimeUInt32ValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeUInt32ValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeUInt32ValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeUInt32ValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeUInt32ValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeUInt32ValidationError) ErrorName() string { return "RuntimeUInt32ValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RuntimeUInt32ValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeUInt32.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeUInt32ValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeUInt32ValidationError{}
-
-// Validate checks the field values on RuntimeDouble with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *RuntimeDouble) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeDouble with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in RuntimeDoubleMultiError, or
-// nil if none found.
-func (m *RuntimeDouble) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeDouble) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for DefaultValue
-
- if len(m.GetRuntimeKey()) < 1 {
- err := RuntimeDoubleValidationError{
- field: "RuntimeKey",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return RuntimeDoubleMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeDoubleMultiError is an error wrapping multiple validation errors
-// returned by RuntimeDouble.ValidateAll() if the designated constraints
-// aren't met.
-type RuntimeDoubleMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeDoubleMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeDoubleMultiError) AllErrors() []error { return m }
-
-// RuntimeDoubleValidationError is the validation error returned by
-// RuntimeDouble.Validate if the designated constraints aren't met.
-type RuntimeDoubleValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeDoubleValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeDoubleValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeDoubleValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeDoubleValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeDoubleValidationError) ErrorName() string { return "RuntimeDoubleValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RuntimeDoubleValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeDouble.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeDoubleValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeDoubleValidationError{}
-
-// Validate checks the field values on RuntimeFeatureFlag with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *RuntimeFeatureFlag) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeFeatureFlag with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RuntimeFeatureFlagMultiError, or nil if none found.
-func (m *RuntimeFeatureFlag) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeFeatureFlag) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetDefaultValue() == nil {
- err := RuntimeFeatureFlagValidationError{
- field: "DefaultValue",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetDefaultValue()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeFeatureFlagValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeFeatureFlagValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDefaultValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeFeatureFlagValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(m.GetRuntimeKey()) < 1 {
- err := RuntimeFeatureFlagValidationError{
- field: "RuntimeKey",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return RuntimeFeatureFlagMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeFeatureFlagMultiError is an error wrapping multiple validation errors
-// returned by RuntimeFeatureFlag.ValidateAll() if the designated constraints
-// aren't met.
-type RuntimeFeatureFlagMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeFeatureFlagMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeFeatureFlagMultiError) AllErrors() []error { return m }
-
-// RuntimeFeatureFlagValidationError is the validation error returned by
-// RuntimeFeatureFlag.Validate if the designated constraints aren't met.
-type RuntimeFeatureFlagValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeFeatureFlagValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeFeatureFlagValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeFeatureFlagValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeFeatureFlagValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeFeatureFlagValidationError) ErrorName() string {
- return "RuntimeFeatureFlagValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RuntimeFeatureFlagValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeFeatureFlag.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeFeatureFlagValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeFeatureFlagValidationError{}
-
-// Validate checks the field values on HeaderValue with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HeaderValue) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HeaderValue with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in HeaderValueMultiError, or
-// nil if none found.
-func (m *HeaderValue) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HeaderValue) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if l := len(m.GetKey()); l < 1 || l > 16384 {
- err := HeaderValueValidationError{
- field: "Key",
- reason: "value length must be between 1 and 16384 bytes, inclusive",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if !_HeaderValue_Key_Pattern.MatchString(m.GetKey()) {
- err := HeaderValueValidationError{
- field: "Key",
- reason: "value does not match regex pattern \"^[^\\x00\\n\\r]*$\"",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(m.GetValue()) > 16384 {
- err := HeaderValueValidationError{
- field: "Value",
- reason: "value length must be at most 16384 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if !_HeaderValue_Value_Pattern.MatchString(m.GetValue()) {
- err := HeaderValueValidationError{
- field: "Value",
- reason: "value does not match regex pattern \"^[^\\x00\\n\\r]*$\"",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return HeaderValueMultiError(errors)
- }
-
- return nil
-}
-
-// HeaderValueMultiError is an error wrapping multiple validation errors
-// returned by HeaderValue.ValidateAll() if the designated constraints aren't met.
-type HeaderValueMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HeaderValueMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HeaderValueMultiError) AllErrors() []error { return m }
-
-// HeaderValueValidationError is the validation error returned by
-// HeaderValue.Validate if the designated constraints aren't met.
-type HeaderValueValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HeaderValueValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HeaderValueValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HeaderValueValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HeaderValueValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HeaderValueValidationError) ErrorName() string { return "HeaderValueValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HeaderValueValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHeaderValue.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HeaderValueValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HeaderValueValidationError{}
-
-var _HeaderValue_Key_Pattern = regexp.MustCompile("^[^\x00\n\r]*$")
-
-var _HeaderValue_Value_Pattern = regexp.MustCompile("^[^\x00\n\r]*$")
-
-// Validate checks the field values on HeaderValueOption with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *HeaderValueOption) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HeaderValueOption with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HeaderValueOptionMultiError, or nil if none found.
-func (m *HeaderValueOption) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HeaderValueOption) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetHeader() == nil {
- err := HeaderValueOptionValidationError{
- field: "Header",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetHeader()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HeaderValueOptionValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HeaderValueOptionValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHeader()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HeaderValueOptionValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetAppend()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HeaderValueOptionValidationError{
- field: "Append",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HeaderValueOptionValidationError{
- field: "Append",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAppend()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HeaderValueOptionValidationError{
- field: "Append",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return HeaderValueOptionMultiError(errors)
- }
-
- return nil
-}
-
-// HeaderValueOptionMultiError is an error wrapping multiple validation errors
-// returned by HeaderValueOption.ValidateAll() if the designated constraints
-// aren't met.
-type HeaderValueOptionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HeaderValueOptionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HeaderValueOptionMultiError) AllErrors() []error { return m }
-
-// HeaderValueOptionValidationError is the validation error returned by
-// HeaderValueOption.Validate if the designated constraints aren't met.
-type HeaderValueOptionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HeaderValueOptionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HeaderValueOptionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HeaderValueOptionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HeaderValueOptionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HeaderValueOptionValidationError) ErrorName() string {
- return "HeaderValueOptionValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HeaderValueOptionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHeaderValueOption.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HeaderValueOptionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HeaderValueOptionValidationError{}
-
-// Validate checks the field values on HeaderMap with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HeaderMap) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HeaderMap with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in HeaderMapMultiError, or nil
-// if none found.
-func (m *HeaderMap) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HeaderMap) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetHeaders() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HeaderMapValidationError{
- field: fmt.Sprintf("Headers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HeaderMapValidationError{
- field: fmt.Sprintf("Headers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HeaderMapValidationError{
- field: fmt.Sprintf("Headers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return HeaderMapMultiError(errors)
- }
-
- return nil
-}
-
-// HeaderMapMultiError is an error wrapping multiple validation errors returned
-// by HeaderMap.ValidateAll() if the designated constraints aren't met.
-type HeaderMapMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HeaderMapMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HeaderMapMultiError) AllErrors() []error { return m }
-
-// HeaderMapValidationError is the validation error returned by
-// HeaderMap.Validate if the designated constraints aren't met.
-type HeaderMapValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HeaderMapValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HeaderMapValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HeaderMapValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HeaderMapValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HeaderMapValidationError) ErrorName() string { return "HeaderMapValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HeaderMapValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHeaderMap.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HeaderMapValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HeaderMapValidationError{}
-
-// Validate checks the field values on DataSource with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *DataSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on DataSource with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in DataSourceMultiError, or
-// nil if none found.
-func (m *DataSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *DataSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.Specifier.(type) {
-
- case *DataSource_Filename:
-
- if len(m.GetFilename()) < 1 {
- err := DataSourceValidationError{
- field: "Filename",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- case *DataSource_InlineBytes:
-
- if len(m.GetInlineBytes()) < 1 {
- err := DataSourceValidationError{
- field: "InlineBytes",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- case *DataSource_InlineString:
-
- if len(m.GetInlineString()) < 1 {
- err := DataSourceValidationError{
- field: "InlineString",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- default:
- err := DataSourceValidationError{
- field: "Specifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return DataSourceMultiError(errors)
- }
-
- return nil
-}
-
-// DataSourceMultiError is an error wrapping multiple validation errors
-// returned by DataSource.ValidateAll() if the designated constraints aren't met.
-type DataSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m DataSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m DataSourceMultiError) AllErrors() []error { return m }
-
-// DataSourceValidationError is the validation error returned by
-// DataSource.Validate if the designated constraints aren't met.
-type DataSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e DataSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e DataSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e DataSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e DataSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e DataSourceValidationError) ErrorName() string { return "DataSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e DataSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sDataSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = DataSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = DataSourceValidationError{}
-
-// Validate checks the field values on RetryPolicy with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *RetryPolicy) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RetryPolicy with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in RetryPolicyMultiError, or
-// nil if none found.
-func (m *RetryPolicy) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RetryPolicy) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetRetryBackOff()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RetryPolicyValidationError{
- field: "RetryBackOff",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RetryPolicyValidationError{
- field: "RetryBackOff",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRetryBackOff()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RetryPolicyValidationError{
- field: "RetryBackOff",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetNumRetries()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RetryPolicyValidationError{
- field: "NumRetries",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RetryPolicyValidationError{
- field: "NumRetries",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetNumRetries()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RetryPolicyValidationError{
- field: "NumRetries",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return RetryPolicyMultiError(errors)
- }
-
- return nil
-}
-
-// RetryPolicyMultiError is an error wrapping multiple validation errors
-// returned by RetryPolicy.ValidateAll() if the designated constraints aren't met.
-type RetryPolicyMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RetryPolicyMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RetryPolicyMultiError) AllErrors() []error { return m }
-
-// RetryPolicyValidationError is the validation error returned by
-// RetryPolicy.Validate if the designated constraints aren't met.
-type RetryPolicyValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RetryPolicyValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RetryPolicyValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RetryPolicyValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RetryPolicyValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RetryPolicyValidationError) ErrorName() string { return "RetryPolicyValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RetryPolicyValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRetryPolicy.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RetryPolicyValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RetryPolicyValidationError{}
-
-// Validate checks the field values on RemoteDataSource with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *RemoteDataSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RemoteDataSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RemoteDataSourceMultiError, or nil if none found.
-func (m *RemoteDataSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RemoteDataSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetHttpUri() == nil {
- err := RemoteDataSourceValidationError{
- field: "HttpUri",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetHttpUri()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RemoteDataSourceValidationError{
- field: "HttpUri",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RemoteDataSourceValidationError{
- field: "HttpUri",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHttpUri()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RemoteDataSourceValidationError{
- field: "HttpUri",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(m.GetSha256()) < 1 {
- err := RemoteDataSourceValidationError{
- field: "Sha256",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetRetryPolicy()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RemoteDataSourceValidationError{
- field: "RetryPolicy",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RemoteDataSourceValidationError{
- field: "RetryPolicy",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRetryPolicy()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RemoteDataSourceValidationError{
- field: "RetryPolicy",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return RemoteDataSourceMultiError(errors)
- }
-
- return nil
-}
-
-// RemoteDataSourceMultiError is an error wrapping multiple validation errors
-// returned by RemoteDataSource.ValidateAll() if the designated constraints
-// aren't met.
-type RemoteDataSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RemoteDataSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RemoteDataSourceMultiError) AllErrors() []error { return m }
-
-// RemoteDataSourceValidationError is the validation error returned by
-// RemoteDataSource.Validate if the designated constraints aren't met.
-type RemoteDataSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RemoteDataSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RemoteDataSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RemoteDataSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RemoteDataSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RemoteDataSourceValidationError) ErrorName() string { return "RemoteDataSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RemoteDataSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRemoteDataSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RemoteDataSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RemoteDataSourceValidationError{}
-
-// Validate checks the field values on AsyncDataSource with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *AsyncDataSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on AsyncDataSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// AsyncDataSourceMultiError, or nil if none found.
-func (m *AsyncDataSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *AsyncDataSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.Specifier.(type) {
-
- case *AsyncDataSource_Local:
-
- if all {
- switch v := interface{}(m.GetLocal()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AsyncDataSourceValidationError{
- field: "Local",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AsyncDataSourceValidationError{
- field: "Local",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocal()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AsyncDataSourceValidationError{
- field: "Local",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AsyncDataSource_Remote:
-
- if all {
- switch v := interface{}(m.GetRemote()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AsyncDataSourceValidationError{
- field: "Remote",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AsyncDataSourceValidationError{
- field: "Remote",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRemote()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AsyncDataSourceValidationError{
- field: "Remote",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := AsyncDataSourceValidationError{
- field: "Specifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return AsyncDataSourceMultiError(errors)
- }
-
- return nil
-}
-
-// AsyncDataSourceMultiError is an error wrapping multiple validation errors
-// returned by AsyncDataSource.ValidateAll() if the designated constraints
-// aren't met.
-type AsyncDataSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AsyncDataSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AsyncDataSourceMultiError) AllErrors() []error { return m }
-
-// AsyncDataSourceValidationError is the validation error returned by
-// AsyncDataSource.Validate if the designated constraints aren't met.
-type AsyncDataSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AsyncDataSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AsyncDataSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AsyncDataSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AsyncDataSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AsyncDataSourceValidationError) ErrorName() string { return "AsyncDataSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AsyncDataSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAsyncDataSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AsyncDataSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AsyncDataSourceValidationError{}
-
-// Validate checks the field values on TransportSocket with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *TransportSocket) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on TransportSocket with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// TransportSocketMultiError, or nil if none found.
-func (m *TransportSocket) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *TransportSocket) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetName()) < 1 {
- err := TransportSocketValidationError{
- field: "Name",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- switch m.ConfigType.(type) {
-
- case *TransportSocket_Config:
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TransportSocketValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TransportSocketValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TransportSocketValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *TransportSocket_TypedConfig:
-
- if all {
- switch v := interface{}(m.GetTypedConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, TransportSocketValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, TransportSocketValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return TransportSocketValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return TransportSocketMultiError(errors)
- }
-
- return nil
-}
-
-// TransportSocketMultiError is an error wrapping multiple validation errors
-// returned by TransportSocket.ValidateAll() if the designated constraints
-// aren't met.
-type TransportSocketMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m TransportSocketMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m TransportSocketMultiError) AllErrors() []error { return m }
-
-// TransportSocketValidationError is the validation error returned by
-// TransportSocket.Validate if the designated constraints aren't met.
-type TransportSocketValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TransportSocketValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TransportSocketValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TransportSocketValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TransportSocketValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TransportSocketValidationError) ErrorName() string { return "TransportSocketValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TransportSocketValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTransportSocket.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TransportSocketValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TransportSocketValidationError{}
-
-// Validate checks the field values on RuntimeFractionalPercent with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *RuntimeFractionalPercent) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeFractionalPercent with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RuntimeFractionalPercentMultiError, or nil if none found.
-func (m *RuntimeFractionalPercent) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeFractionalPercent) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetDefaultValue() == nil {
- err := RuntimeFractionalPercentValidationError{
- field: "DefaultValue",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetDefaultValue()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeFractionalPercentValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeFractionalPercentValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDefaultValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeFractionalPercentValidationError{
- field: "DefaultValue",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for RuntimeKey
-
- if len(errors) > 0 {
- return RuntimeFractionalPercentMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeFractionalPercentMultiError is an error wrapping multiple validation
-// errors returned by RuntimeFractionalPercent.ValidateAll() if the designated
-// constraints aren't met.
-type RuntimeFractionalPercentMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeFractionalPercentMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeFractionalPercentMultiError) AllErrors() []error { return m }
-
-// RuntimeFractionalPercentValidationError is the validation error returned by
-// RuntimeFractionalPercent.Validate if the designated constraints aren't met.
-type RuntimeFractionalPercentValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeFractionalPercentValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeFractionalPercentValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeFractionalPercentValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeFractionalPercentValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeFractionalPercentValidationError) ErrorName() string {
- return "RuntimeFractionalPercentValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RuntimeFractionalPercentValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeFractionalPercent.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeFractionalPercentValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeFractionalPercentValidationError{}
-
-// Validate checks the field values on ControlPlane with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ControlPlane) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ControlPlane with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ControlPlaneMultiError, or
-// nil if none found.
-func (m *ControlPlane) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ControlPlane) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Identifier
-
- if len(errors) > 0 {
- return ControlPlaneMultiError(errors)
- }
-
- return nil
-}
-
-// ControlPlaneMultiError is an error wrapping multiple validation errors
-// returned by ControlPlane.ValidateAll() if the designated constraints aren't met.
-type ControlPlaneMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ControlPlaneMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ControlPlaneMultiError) AllErrors() []error { return m }
-
-// ControlPlaneValidationError is the validation error returned by
-// ControlPlane.Validate if the designated constraints aren't met.
-type ControlPlaneValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ControlPlaneValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ControlPlaneValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ControlPlaneValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ControlPlaneValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ControlPlaneValidationError) ErrorName() string { return "ControlPlaneValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ControlPlaneValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sControlPlane.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ControlPlaneValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ControlPlaneValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.go
deleted file mode 100644
index 46d19ff088..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.go
+++ /dev/null
@@ -1,865 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/config_source.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- duration "github.com/golang/protobuf/ptypes/duration"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// xDS API version. This is used to describe both resource and transport
-// protocol versions (in distinct configuration fields).
-type ApiVersion int32
-
-const (
- // When not specified, we assume v2, to ease migration to Envoy's stable API
- // versioning. If a client does not support v2 (e.g. due to deprecation), this
- // is an invalid value.
- //
- // Deprecated: Do not use.
- ApiVersion_AUTO ApiVersion = 0
- // Use xDS v2 API.
- //
- // Deprecated: Do not use.
- ApiVersion_V2 ApiVersion = 1
- // Use xDS v3 API.
- ApiVersion_V3 ApiVersion = 2
-)
-
-// Enum value maps for ApiVersion.
-var (
- ApiVersion_name = map[int32]string{
- 0: "AUTO",
- 1: "V2",
- 2: "V3",
- }
- ApiVersion_value = map[string]int32{
- "AUTO": 0,
- "V2": 1,
- "V3": 2,
- }
-)
-
-func (x ApiVersion) Enum() *ApiVersion {
- p := new(ApiVersion)
- *p = x
- return p
-}
-
-func (x ApiVersion) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ApiVersion) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_config_source_proto_enumTypes[0].Descriptor()
-}
-
-func (ApiVersion) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_config_source_proto_enumTypes[0]
-}
-
-func (x ApiVersion) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ApiVersion.Descriptor instead.
-func (ApiVersion) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0}
-}
-
-// APIs may be fetched via either REST or gRPC.
-type ApiConfigSource_ApiType int32
-
-const (
- // Ideally this would be 'reserved 0' but one can't reserve the default
- // value. Instead we throw an exception if this is ever used.
- //
- // Deprecated: Do not use.
- ApiConfigSource_UNSUPPORTED_REST_LEGACY ApiConfigSource_ApiType = 0
- // REST-JSON v2 API. The `canonical JSON encoding
- // `_ for
- // the v2 protos is used.
- ApiConfigSource_REST ApiConfigSource_ApiType = 1
- // gRPC v2 API.
- ApiConfigSource_GRPC ApiConfigSource_ApiType = 2
- // Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response}
- // rather than Discovery{Request,Response}. Rather than sending Envoy the entire state
- // with every update, the xDS server only sends what has changed since the last update.
- ApiConfigSource_DELTA_GRPC ApiConfigSource_ApiType = 3
-)
-
-// Enum value maps for ApiConfigSource_ApiType.
-var (
- ApiConfigSource_ApiType_name = map[int32]string{
- 0: "UNSUPPORTED_REST_LEGACY",
- 1: "REST",
- 2: "GRPC",
- 3: "DELTA_GRPC",
- }
- ApiConfigSource_ApiType_value = map[string]int32{
- "UNSUPPORTED_REST_LEGACY": 0,
- "REST": 1,
- "GRPC": 2,
- "DELTA_GRPC": 3,
- }
-)
-
-func (x ApiConfigSource_ApiType) Enum() *ApiConfigSource_ApiType {
- p := new(ApiConfigSource_ApiType)
- *p = x
- return p
-}
-
-func (x ApiConfigSource_ApiType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ApiConfigSource_ApiType) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_config_source_proto_enumTypes[1].Descriptor()
-}
-
-func (ApiConfigSource_ApiType) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_config_source_proto_enumTypes[1]
-}
-
-func (x ApiConfigSource_ApiType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ApiConfigSource_ApiType.Descriptor instead.
-func (ApiConfigSource_ApiType) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0, 0}
-}
-
-// API configuration source. This identifies the API type and cluster that Envoy
-// will use to fetch an xDS API.
-// [#next-free-field: 9]
-type ApiConfigSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // API type (gRPC, REST, delta gRPC)
- ApiType ApiConfigSource_ApiType `protobuf:"varint,1,opt,name=api_type,json=apiType,proto3,enum=envoy.api.v2.core.ApiConfigSource_ApiType" json:"api_type,omitempty"`
- // API version for xDS transport protocol. This describes the xDS gRPC/REST
- // endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
- TransportApiVersion ApiVersion `protobuf:"varint,8,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"transport_api_version,omitempty"`
- // Cluster names should be used only with REST. If > 1
- // cluster is defined, clusters will be cycled through if any kind of failure
- // occurs.
- //
- // .. note::
- //
- // The cluster with name ``cluster_name`` must be statically defined and its
- // type must not be ``EDS``.
- ClusterNames []string `protobuf:"bytes,2,rep,name=cluster_names,json=clusterNames,proto3" json:"cluster_names,omitempty"`
- // Multiple gRPC services be provided for GRPC. If > 1 cluster is defined,
- // services will be cycled through if any kind of failure occurs.
- GrpcServices []*GrpcService `protobuf:"bytes,4,rep,name=grpc_services,json=grpcServices,proto3" json:"grpc_services,omitempty"`
- // For REST APIs, the delay between successive polls.
- RefreshDelay *duration.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,proto3" json:"refresh_delay,omitempty"`
- // For REST APIs, the request timeout. If not set, a default value of 1s will be used.
- RequestTimeout *duration.Duration `protobuf:"bytes,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
- // For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be
- // rate limited.
- RateLimitSettings *RateLimitSettings `protobuf:"bytes,6,opt,name=rate_limit_settings,json=rateLimitSettings,proto3" json:"rate_limit_settings,omitempty"`
- // Skip the node identifier in subsequent discovery requests for streaming gRPC config types.
- SetNodeOnFirstMessageOnly bool `protobuf:"varint,7,opt,name=set_node_on_first_message_only,json=setNodeOnFirstMessageOnly,proto3" json:"set_node_on_first_message_only,omitempty"`
-}
-
-func (x *ApiConfigSource) Reset() {
- *x = ApiConfigSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ApiConfigSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ApiConfigSource) ProtoMessage() {}
-
-func (x *ApiConfigSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ApiConfigSource.ProtoReflect.Descriptor instead.
-func (*ApiConfigSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ApiConfigSource) GetApiType() ApiConfigSource_ApiType {
- if x != nil {
- return x.ApiType
- }
- return ApiConfigSource_UNSUPPORTED_REST_LEGACY
-}
-
-func (x *ApiConfigSource) GetTransportApiVersion() ApiVersion {
- if x != nil {
- return x.TransportApiVersion
- }
- return ApiVersion_AUTO
-}
-
-func (x *ApiConfigSource) GetClusterNames() []string {
- if x != nil {
- return x.ClusterNames
- }
- return nil
-}
-
-func (x *ApiConfigSource) GetGrpcServices() []*GrpcService {
- if x != nil {
- return x.GrpcServices
- }
- return nil
-}
-
-func (x *ApiConfigSource) GetRefreshDelay() *duration.Duration {
- if x != nil {
- return x.RefreshDelay
- }
- return nil
-}
-
-func (x *ApiConfigSource) GetRequestTimeout() *duration.Duration {
- if x != nil {
- return x.RequestTimeout
- }
- return nil
-}
-
-func (x *ApiConfigSource) GetRateLimitSettings() *RateLimitSettings {
- if x != nil {
- return x.RateLimitSettings
- }
- return nil
-}
-
-func (x *ApiConfigSource) GetSetNodeOnFirstMessageOnly() bool {
- if x != nil {
- return x.SetNodeOnFirstMessageOnly
- }
- return false
-}
-
-// Aggregated Discovery Service (ADS) options. This is currently empty, but when
-// set in :ref:`ConfigSource ` can be used to
-// specify that ADS is to be used.
-type AggregatedConfigSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *AggregatedConfigSource) Reset() {
- *x = AggregatedConfigSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *AggregatedConfigSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AggregatedConfigSource) ProtoMessage() {}
-
-func (x *AggregatedConfigSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AggregatedConfigSource.ProtoReflect.Descriptor instead.
-func (*AggregatedConfigSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{1}
-}
-
-// [#not-implemented-hide:]
-// Self-referencing config source options. This is currently empty, but when
-// set in :ref:`ConfigSource ` can be used to
-// specify that other data can be obtained from the same server.
-type SelfConfigSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // API version for xDS transport protocol. This describes the xDS gRPC/REST
- // endpoint and version of [Delta]DiscoveryRequest/Response used on the wire.
- TransportApiVersion ApiVersion `protobuf:"varint,1,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"transport_api_version,omitempty"`
-}
-
-func (x *SelfConfigSource) Reset() {
- *x = SelfConfigSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SelfConfigSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SelfConfigSource) ProtoMessage() {}
-
-func (x *SelfConfigSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SelfConfigSource.ProtoReflect.Descriptor instead.
-func (*SelfConfigSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *SelfConfigSource) GetTransportApiVersion() ApiVersion {
- if x != nil {
- return x.TransportApiVersion
- }
- return ApiVersion_AUTO
-}
-
-// Rate Limit settings to be applied for discovery requests made by Envoy.
-type RateLimitSettings struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a
- // default value of 100 will be used.
- MaxTokens *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
- // Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens
- // per second will be used.
- FillRate *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=fill_rate,json=fillRate,proto3" json:"fill_rate,omitempty"`
-}
-
-func (x *RateLimitSettings) Reset() {
- *x = RateLimitSettings{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RateLimitSettings) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RateLimitSettings) ProtoMessage() {}
-
-func (x *RateLimitSettings) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RateLimitSettings.ProtoReflect.Descriptor instead.
-func (*RateLimitSettings) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *RateLimitSettings) GetMaxTokens() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxTokens
- }
- return nil
-}
-
-func (x *RateLimitSettings) GetFillRate() *wrappers.DoubleValue {
- if x != nil {
- return x.FillRate
- }
- return nil
-}
-
-// Configuration for :ref:`listeners `, :ref:`clusters
-// `, :ref:`routes
-// `, :ref:`endpoints
-// ` etc. may either be sourced from the
-// filesystem or from an xDS API source. Filesystem configs are watched with
-// inotify for updates.
-// [#next-free-field: 7]
-type ConfigSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to ConfigSourceSpecifier:
- // *ConfigSource_Path
- // *ConfigSource_ApiConfigSource
- // *ConfigSource_Ads
- // *ConfigSource_Self
- ConfigSourceSpecifier isConfigSource_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
- // When this timeout is specified, Envoy will wait no longer than the specified time for first
- // config response on this xDS subscription during the :ref:`initialization process
- // `. After reaching the timeout, Envoy will move to the next
- // initialization phase, even if the first config is not delivered yet. The timer is activated
- // when the xDS API subscription starts, and is disarmed on first config update or on error. 0
- // means no timeout - Envoy will wait indefinitely for the first xDS config (unless another
- // timeout applies). The default is 15s.
- InitialFetchTimeout *duration.Duration `protobuf:"bytes,4,opt,name=initial_fetch_timeout,json=initialFetchTimeout,proto3" json:"initial_fetch_timeout,omitempty"`
- // API version for xDS resources. This implies the type URLs that the client
- // will request for resources and the resource type that the client will in
- // turn expect to be delivered.
- ResourceApiVersion ApiVersion `protobuf:"varint,6,opt,name=resource_api_version,json=resourceApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"resource_api_version,omitempty"`
-}
-
-func (x *ConfigSource) Reset() {
- *x = ConfigSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ConfigSource) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ConfigSource) ProtoMessage() {}
-
-func (x *ConfigSource) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.
-func (*ConfigSource) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{4}
-}
-
-func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier {
- if m != nil {
- return m.ConfigSourceSpecifier
- }
- return nil
-}
-
-func (x *ConfigSource) GetPath() string {
- if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Path); ok {
- return x.Path
- }
- return ""
-}
-
-func (x *ConfigSource) GetApiConfigSource() *ApiConfigSource {
- if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_ApiConfigSource); ok {
- return x.ApiConfigSource
- }
- return nil
-}
-
-func (x *ConfigSource) GetAds() *AggregatedConfigSource {
- if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Ads); ok {
- return x.Ads
- }
- return nil
-}
-
-func (x *ConfigSource) GetSelf() *SelfConfigSource {
- if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Self); ok {
- return x.Self
- }
- return nil
-}
-
-func (x *ConfigSource) GetInitialFetchTimeout() *duration.Duration {
- if x != nil {
- return x.InitialFetchTimeout
- }
- return nil
-}
-
-func (x *ConfigSource) GetResourceApiVersion() ApiVersion {
- if x != nil {
- return x.ResourceApiVersion
- }
- return ApiVersion_AUTO
-}
-
-type isConfigSource_ConfigSourceSpecifier interface {
- isConfigSource_ConfigSourceSpecifier()
-}
-
-type ConfigSource_Path struct {
- // Path on the filesystem to source and watch for configuration updates.
- // When sourcing configuration for :ref:`secret `,
- // the certificate and key files are also watched for updates.
- //
- // .. note::
- //
- // The path to the source must exist at config load time.
- //
- // .. note::
- //
- // Envoy will only watch the file path for *moves.* This is because in general only moves
- // are atomic. The same method of swapping files as is demonstrated in the
- // :ref:`runtime documentation ` can be used here also.
- Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"`
-}
-
-type ConfigSource_ApiConfigSource struct {
- // API configuration source.
- ApiConfigSource *ApiConfigSource `protobuf:"bytes,2,opt,name=api_config_source,json=apiConfigSource,proto3,oneof"`
-}
-
-type ConfigSource_Ads struct {
- // When set, ADS will be used to fetch resources. The ADS API configuration
- // source in the bootstrap configuration is used.
- Ads *AggregatedConfigSource `protobuf:"bytes,3,opt,name=ads,proto3,oneof"`
-}
-
-type ConfigSource_Self struct {
- // [#not-implemented-hide:]
- // When set, the client will access the resources from the same server it got the
- // ConfigSource from, although not necessarily from the same stream. This is similar to the
- // :ref:`ads` field, except that the client may use a
- // different stream to the same server. As a result, this field can be used for things
- // like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.)
- // LDS to RDS on the same server without requiring the management server to know its name
- // or required credentials.
- // [#next-major-version: In xDS v3, consider replacing the ads field with this one, since
- // this field can implicitly mean to use the same stream in the case where the ConfigSource
- // is provided via ADS and the specified data can also be obtained via ADS.]
- Self *SelfConfigSource `protobuf:"bytes,5,opt,name=self,proto3,oneof"`
-}
-
-func (*ConfigSource_Path) isConfigSource_ConfigSourceSpecifier() {}
-
-func (*ConfigSource_ApiConfigSource) isConfigSource_ConfigSourceSpecifier() {}
-
-func (*ConfigSource_Ads) isConfigSource_ConfigSourceSpecifier() {}
-
-func (*ConfigSource_Self) isConfigSource_ConfigSourceSpecifier() {}
-
-var File_envoy_api_v2_core_config_source_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_config_source_proto_rawDesc = []byte{
- 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72,
- 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x05,
- 0x0a, 0x0f, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x54, 0x79, 0x70, 0x65, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x07, 0x61, 0x70, 0x69, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x5b, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f,
- 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e,
- 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
- 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e,
- 0x61, 0x6d, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0c, 0x67, 0x72, 0x70,
- 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x66,
- 0x72, 0x65, 0x73, 0x68, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x66,
- 0x72, 0x65, 0x73, 0x68, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x4c, 0x0a, 0x0f, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa,
- 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x54, 0x0a, 0x13, 0x72, 0x61, 0x74, 0x65, 0x5f,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d,
- 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x11, 0x72, 0x61, 0x74, 0x65,
- 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x0a,
- 0x1e, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x72,
- 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x73, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x6e,
- 0x46, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x6e, 0x6c, 0x79,
- 0x22, 0x54, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x17, 0x55,
- 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x5f,
- 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x00, 0x1a, 0x08, 0x08, 0x01, 0xa8, 0xf7, 0xb4, 0x8b,
- 0x02, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
- 0x47, 0x52, 0x50, 0x43, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x5f,
- 0x47, 0x52, 0x50, 0x43, 0x10, 0x03, 0x22, 0x18, 0x0a, 0x16, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67,
- 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x22, 0x6f, 0x0a, 0x10, 0x53, 0x65, 0x6c, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
- 0x74, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72,
- 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x54, 0x6f,
- 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x72, 0x61, 0x74,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x21, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x6c, 0x52, 0x61, 0x74, 0x65, 0x22,
- 0xba, 0x03, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x12, 0x14, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
- 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x50, 0x0a, 0x11, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x03, 0x61, 0x64, 0x73, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67,
- 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x48, 0x00, 0x52, 0x03, 0x61, 0x64, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x65, 0x6c, 0x66, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x6c, 0x66, 0x43, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x73, 0x65,
- 0x6c, 0x66, 0x12, 0x4d, 0x0a, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x65,
- 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x69, 0x6e,
- 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75,
- 0x74, 0x12, 0x59, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x70,
- 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x1e, 0x0a, 0x17,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x70,
- 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x2a, 0x2e, 0x0a, 0x0a,
- 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x04, 0x41, 0x55,
- 0x54, 0x4f, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0a, 0x0a, 0x02, 0x56, 0x32, 0x10, 0x01,
- 0x1a, 0x02, 0x08, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x33, 0x10, 0x02, 0x42, 0x94, 0x01, 0x0a,
- 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65,
- 0x42, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
- 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
- 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2,
- 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06,
- 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_config_source_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_config_source_proto_rawDescData = file_envoy_api_v2_core_config_source_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_config_source_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_config_source_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_config_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_config_source_proto_rawDescData)
- })
- return file_envoy_api_v2_core_config_source_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_config_source_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_envoy_api_v2_core_config_source_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
-var file_envoy_api_v2_core_config_source_proto_goTypes = []interface{}{
- (ApiVersion)(0), // 0: envoy.api.v2.core.ApiVersion
- (ApiConfigSource_ApiType)(0), // 1: envoy.api.v2.core.ApiConfigSource.ApiType
- (*ApiConfigSource)(nil), // 2: envoy.api.v2.core.ApiConfigSource
- (*AggregatedConfigSource)(nil), // 3: envoy.api.v2.core.AggregatedConfigSource
- (*SelfConfigSource)(nil), // 4: envoy.api.v2.core.SelfConfigSource
- (*RateLimitSettings)(nil), // 5: envoy.api.v2.core.RateLimitSettings
- (*ConfigSource)(nil), // 6: envoy.api.v2.core.ConfigSource
- (*GrpcService)(nil), // 7: envoy.api.v2.core.GrpcService
- (*duration.Duration)(nil), // 8: google.protobuf.Duration
- (*wrappers.UInt32Value)(nil), // 9: google.protobuf.UInt32Value
- (*wrappers.DoubleValue)(nil), // 10: google.protobuf.DoubleValue
-}
-var file_envoy_api_v2_core_config_source_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.ApiConfigSource.api_type:type_name -> envoy.api.v2.core.ApiConfigSource.ApiType
- 0, // 1: envoy.api.v2.core.ApiConfigSource.transport_api_version:type_name -> envoy.api.v2.core.ApiVersion
- 7, // 2: envoy.api.v2.core.ApiConfigSource.grpc_services:type_name -> envoy.api.v2.core.GrpcService
- 8, // 3: envoy.api.v2.core.ApiConfigSource.refresh_delay:type_name -> google.protobuf.Duration
- 8, // 4: envoy.api.v2.core.ApiConfigSource.request_timeout:type_name -> google.protobuf.Duration
- 5, // 5: envoy.api.v2.core.ApiConfigSource.rate_limit_settings:type_name -> envoy.api.v2.core.RateLimitSettings
- 0, // 6: envoy.api.v2.core.SelfConfigSource.transport_api_version:type_name -> envoy.api.v2.core.ApiVersion
- 9, // 7: envoy.api.v2.core.RateLimitSettings.max_tokens:type_name -> google.protobuf.UInt32Value
- 10, // 8: envoy.api.v2.core.RateLimitSettings.fill_rate:type_name -> google.protobuf.DoubleValue
- 2, // 9: envoy.api.v2.core.ConfigSource.api_config_source:type_name -> envoy.api.v2.core.ApiConfigSource
- 3, // 10: envoy.api.v2.core.ConfigSource.ads:type_name -> envoy.api.v2.core.AggregatedConfigSource
- 4, // 11: envoy.api.v2.core.ConfigSource.self:type_name -> envoy.api.v2.core.SelfConfigSource
- 8, // 12: envoy.api.v2.core.ConfigSource.initial_fetch_timeout:type_name -> google.protobuf.Duration
- 0, // 13: envoy.api.v2.core.ConfigSource.resource_api_version:type_name -> envoy.api.v2.core.ApiVersion
- 14, // [14:14] is the sub-list for method output_type
- 14, // [14:14] is the sub-list for method input_type
- 14, // [14:14] is the sub-list for extension type_name
- 14, // [14:14] is the sub-list for extension extendee
- 0, // [0:14] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_config_source_proto_init() }
-func file_envoy_api_v2_core_config_source_proto_init() {
- if File_envoy_api_v2_core_config_source_proto != nil {
- return
- }
- file_envoy_api_v2_core_grpc_service_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_config_source_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ApiConfigSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_config_source_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AggregatedConfigSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_config_source_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SelfConfigSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_config_source_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RateLimitSettings); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_config_source_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ConfigSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_config_source_proto_msgTypes[4].OneofWrappers = []interface{}{
- (*ConfigSource_Path)(nil),
- (*ConfigSource_ApiConfigSource)(nil),
- (*ConfigSource_Ads)(nil),
- (*ConfigSource_Self)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_config_source_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 5,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_config_source_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_config_source_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_config_source_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_config_source_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_config_source_proto = out.File
- file_envoy_api_v2_core_config_source_proto_rawDesc = nil
- file_envoy_api_v2_core_config_source_proto_goTypes = nil
- file_envoy_api_v2_core_config_source_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.validate.go
deleted file mode 100644
index 3517b6cfd1..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/config_source.pb.validate.go
+++ /dev/null
@@ -1,890 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/config_source.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on ApiConfigSource with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *ApiConfigSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ApiConfigSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ApiConfigSourceMultiError, or nil if none found.
-func (m *ApiConfigSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ApiConfigSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if _, ok := ApiConfigSource_ApiType_name[int32(m.GetApiType())]; !ok {
- err := ApiConfigSourceValidationError{
- field: "ApiType",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if _, ok := ApiVersion_name[int32(m.GetTransportApiVersion())]; !ok {
- err := ApiConfigSourceValidationError{
- field: "TransportApiVersion",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- for idx, item := range m.GetGrpcServices() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: fmt.Sprintf("GrpcServices[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: fmt.Sprintf("GrpcServices[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ApiConfigSourceValidationError{
- field: fmt.Sprintf("GrpcServices[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetRefreshDelay()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: "RefreshDelay",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: "RefreshDelay",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRefreshDelay()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ApiConfigSourceValidationError{
- field: "RefreshDelay",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if d := m.GetRequestTimeout(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = ApiConfigSourceValidationError{
- field: "RequestTimeout",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := ApiConfigSourceValidationError{
- field: "RequestTimeout",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if all {
- switch v := interface{}(m.GetRateLimitSettings()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: "RateLimitSettings",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ApiConfigSourceValidationError{
- field: "RateLimitSettings",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRateLimitSettings()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ApiConfigSourceValidationError{
- field: "RateLimitSettings",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for SetNodeOnFirstMessageOnly
-
- if len(errors) > 0 {
- return ApiConfigSourceMultiError(errors)
- }
-
- return nil
-}
-
-// ApiConfigSourceMultiError is an error wrapping multiple validation errors
-// returned by ApiConfigSource.ValidateAll() if the designated constraints
-// aren't met.
-type ApiConfigSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ApiConfigSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ApiConfigSourceMultiError) AllErrors() []error { return m }
-
-// ApiConfigSourceValidationError is the validation error returned by
-// ApiConfigSource.Validate if the designated constraints aren't met.
-type ApiConfigSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ApiConfigSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ApiConfigSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ApiConfigSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ApiConfigSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ApiConfigSourceValidationError) ErrorName() string { return "ApiConfigSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ApiConfigSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sApiConfigSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ApiConfigSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ApiConfigSourceValidationError{}
-
-// Validate checks the field values on AggregatedConfigSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *AggregatedConfigSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on AggregatedConfigSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// AggregatedConfigSourceMultiError, or nil if none found.
-func (m *AggregatedConfigSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *AggregatedConfigSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return AggregatedConfigSourceMultiError(errors)
- }
-
- return nil
-}
-
-// AggregatedConfigSourceMultiError is an error wrapping multiple validation
-// errors returned by AggregatedConfigSource.ValidateAll() if the designated
-// constraints aren't met.
-type AggregatedConfigSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AggregatedConfigSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AggregatedConfigSourceMultiError) AllErrors() []error { return m }
-
-// AggregatedConfigSourceValidationError is the validation error returned by
-// AggregatedConfigSource.Validate if the designated constraints aren't met.
-type AggregatedConfigSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AggregatedConfigSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AggregatedConfigSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AggregatedConfigSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AggregatedConfigSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AggregatedConfigSourceValidationError) ErrorName() string {
- return "AggregatedConfigSourceValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e AggregatedConfigSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAggregatedConfigSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AggregatedConfigSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AggregatedConfigSourceValidationError{}
-
-// Validate checks the field values on SelfConfigSource with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *SelfConfigSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SelfConfigSource with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// SelfConfigSourceMultiError, or nil if none found.
-func (m *SelfConfigSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SelfConfigSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if _, ok := ApiVersion_name[int32(m.GetTransportApiVersion())]; !ok {
- err := SelfConfigSourceValidationError{
- field: "TransportApiVersion",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return SelfConfigSourceMultiError(errors)
- }
-
- return nil
-}
-
-// SelfConfigSourceMultiError is an error wrapping multiple validation errors
-// returned by SelfConfigSource.ValidateAll() if the designated constraints
-// aren't met.
-type SelfConfigSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SelfConfigSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SelfConfigSourceMultiError) AllErrors() []error { return m }
-
-// SelfConfigSourceValidationError is the validation error returned by
-// SelfConfigSource.Validate if the designated constraints aren't met.
-type SelfConfigSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SelfConfigSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SelfConfigSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SelfConfigSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SelfConfigSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SelfConfigSourceValidationError) ErrorName() string { return "SelfConfigSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e SelfConfigSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSelfConfigSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SelfConfigSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SelfConfigSourceValidationError{}
-
-// Validate checks the field values on RateLimitSettings with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *RateLimitSettings) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RateLimitSettings with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RateLimitSettingsMultiError, or nil if none found.
-func (m *RateLimitSettings) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RateLimitSettings) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetMaxTokens()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RateLimitSettingsValidationError{
- field: "MaxTokens",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RateLimitSettingsValidationError{
- field: "MaxTokens",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxTokens()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RateLimitSettingsValidationError{
- field: "MaxTokens",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if wrapper := m.GetFillRate(); wrapper != nil {
-
- if wrapper.GetValue() <= 0 {
- err := RateLimitSettingsValidationError{
- field: "FillRate",
- reason: "value must be greater than 0",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if len(errors) > 0 {
- return RateLimitSettingsMultiError(errors)
- }
-
- return nil
-}
-
-// RateLimitSettingsMultiError is an error wrapping multiple validation errors
-// returned by RateLimitSettings.ValidateAll() if the designated constraints
-// aren't met.
-type RateLimitSettingsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RateLimitSettingsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RateLimitSettingsMultiError) AllErrors() []error { return m }
-
-// RateLimitSettingsValidationError is the validation error returned by
-// RateLimitSettings.Validate if the designated constraints aren't met.
-type RateLimitSettingsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RateLimitSettingsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RateLimitSettingsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RateLimitSettingsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RateLimitSettingsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RateLimitSettingsValidationError) ErrorName() string {
- return "RateLimitSettingsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RateLimitSettingsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRateLimitSettings.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RateLimitSettingsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RateLimitSettingsValidationError{}
-
-// Validate checks the field values on ConfigSource with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ConfigSource) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ConfigSource with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ConfigSourceMultiError, or
-// nil if none found.
-func (m *ConfigSource) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ConfigSource) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetInitialFetchTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "InitialFetchTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "InitialFetchTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetInitialFetchTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ConfigSourceValidationError{
- field: "InitialFetchTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if _, ok := ApiVersion_name[int32(m.GetResourceApiVersion())]; !ok {
- err := ConfigSourceValidationError{
- field: "ResourceApiVersion",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- switch m.ConfigSourceSpecifier.(type) {
-
- case *ConfigSource_Path:
- // no validation rules for Path
-
- case *ConfigSource_ApiConfigSource:
-
- if all {
- switch v := interface{}(m.GetApiConfigSource()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "ApiConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "ApiConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetApiConfigSource()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ConfigSourceValidationError{
- field: "ApiConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *ConfigSource_Ads:
-
- if all {
- switch v := interface{}(m.GetAds()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "Ads",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "Ads",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAds()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ConfigSourceValidationError{
- field: "Ads",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *ConfigSource_Self:
-
- if all {
- switch v := interface{}(m.GetSelf()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "Self",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ConfigSourceValidationError{
- field: "Self",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSelf()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ConfigSourceValidationError{
- field: "Self",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := ConfigSourceValidationError{
- field: "ConfigSourceSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return ConfigSourceMultiError(errors)
- }
-
- return nil
-}
-
-// ConfigSourceMultiError is an error wrapping multiple validation errors
-// returned by ConfigSource.ValidateAll() if the designated constraints aren't met.
-type ConfigSourceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ConfigSourceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ConfigSourceMultiError) AllErrors() []error { return m }
-
-// ConfigSourceValidationError is the validation error returned by
-// ConfigSource.Validate if the designated constraints aren't met.
-type ConfigSourceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ConfigSourceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ConfigSourceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ConfigSourceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ConfigSourceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ConfigSourceValidationError) ErrorName() string { return "ConfigSourceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ConfigSourceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sConfigSource.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ConfigSourceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ConfigSourceValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.go
deleted file mode 100644
index c6d651437b..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.go
+++ /dev/null
@@ -1,196 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/event_service_config.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// [#not-implemented-hide:]
-// Configuration of the event reporting service endpoint.
-type EventServiceConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to ConfigSourceSpecifier:
- // *EventServiceConfig_GrpcService
- ConfigSourceSpecifier isEventServiceConfig_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"`
-}
-
-func (x *EventServiceConfig) Reset() {
- *x = EventServiceConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_event_service_config_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *EventServiceConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EventServiceConfig) ProtoMessage() {}
-
-func (x *EventServiceConfig) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_event_service_config_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EventServiceConfig.ProtoReflect.Descriptor instead.
-func (*EventServiceConfig) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_event_service_config_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *EventServiceConfig) GetConfigSourceSpecifier() isEventServiceConfig_ConfigSourceSpecifier {
- if m != nil {
- return m.ConfigSourceSpecifier
- }
- return nil
-}
-
-func (x *EventServiceConfig) GetGrpcService() *GrpcService {
- if x, ok := x.GetConfigSourceSpecifier().(*EventServiceConfig_GrpcService); ok {
- return x.GrpcService
- }
- return nil
-}
-
-type isEventServiceConfig_ConfigSourceSpecifier interface {
- isEventServiceConfig_ConfigSourceSpecifier()
-}
-
-type EventServiceConfig_GrpcService struct {
- // Specifies the gRPC service that hosts the event reporting service.
- GrpcService *GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"`
-}
-
-func (*EventServiceConfig_GrpcService) isEventServiceConfig_ConfigSourceSpecifier() {}
-
-var File_envoy_api_v2_core_event_service_config_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_event_service_config_proto_rawDesc = []byte{
- 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f,
- 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
- 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
- 0x79, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x43, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67,
- 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x1e, 0x0a, 0x17, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63,
- 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x9a, 0x01, 0x0a, 0x1f, 0x69,
- 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x17,
- 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba,
- 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_event_service_config_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_event_service_config_proto_rawDescData = file_envoy_api_v2_core_event_service_config_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_event_service_config_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_event_service_config_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_event_service_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_event_service_config_proto_rawDescData)
- })
- return file_envoy_api_v2_core_event_service_config_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_event_service_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_api_v2_core_event_service_config_proto_goTypes = []interface{}{
- (*EventServiceConfig)(nil), // 0: envoy.api.v2.core.EventServiceConfig
- (*GrpcService)(nil), // 1: envoy.api.v2.core.GrpcService
-}
-var file_envoy_api_v2_core_event_service_config_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.EventServiceConfig.grpc_service:type_name -> envoy.api.v2.core.GrpcService
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_event_service_config_proto_init() }
-func file_envoy_api_v2_core_event_service_config_proto_init() {
- if File_envoy_api_v2_core_event_service_config_proto != nil {
- return
- }
- file_envoy_api_v2_core_grpc_service_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_event_service_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EventServiceConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_event_service_config_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*EventServiceConfig_GrpcService)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_event_service_config_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_event_service_config_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_event_service_config_proto_depIdxs,
- MessageInfos: file_envoy_api_v2_core_event_service_config_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_event_service_config_proto = out.File
- file_envoy_api_v2_core_event_service_config_proto_rawDesc = nil
- file_envoy_api_v2_core_event_service_config_proto_goTypes = nil
- file_envoy_api_v2_core_event_service_config_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.validate.go
deleted file mode 100644
index e64c93ff7e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/event_service_config.pb.validate.go
+++ /dev/null
@@ -1,183 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/event_service_config.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on EventServiceConfig with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *EventServiceConfig) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on EventServiceConfig with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// EventServiceConfigMultiError, or nil if none found.
-func (m *EventServiceConfig) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *EventServiceConfig) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.ConfigSourceSpecifier.(type) {
-
- case *EventServiceConfig_GrpcService:
-
- if all {
- switch v := interface{}(m.GetGrpcService()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, EventServiceConfigValidationError{
- field: "GrpcService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, EventServiceConfigValidationError{
- field: "GrpcService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGrpcService()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return EventServiceConfigValidationError{
- field: "GrpcService",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := EventServiceConfigValidationError{
- field: "ConfigSourceSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return EventServiceConfigMultiError(errors)
- }
-
- return nil
-}
-
-// EventServiceConfigMultiError is an error wrapping multiple validation errors
-// returned by EventServiceConfig.ValidateAll() if the designated constraints
-// aren't met.
-type EventServiceConfigMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m EventServiceConfigMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m EventServiceConfigMultiError) AllErrors() []error { return m }
-
-// EventServiceConfigValidationError is the validation error returned by
-// EventServiceConfig.Validate if the designated constraints aren't met.
-type EventServiceConfigValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e EventServiceConfigValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e EventServiceConfigValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e EventServiceConfigValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e EventServiceConfigValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e EventServiceConfigValidationError) ErrorName() string {
- return "EventServiceConfigValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e EventServiceConfigValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sEventServiceConfig.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = EventServiceConfigValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = EventServiceConfigValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.go
deleted file mode 100644
index 318ad12668..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.go
+++ /dev/null
@@ -1,241 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/grpc_method_list.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// A list of gRPC methods which can be used as an allowlist, for example.
-type GrpcMethodList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Services []*GrpcMethodList_Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
-}
-
-func (x *GrpcMethodList) Reset() {
- *x = GrpcMethodList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcMethodList) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcMethodList) ProtoMessage() {}
-
-func (x *GrpcMethodList) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcMethodList.ProtoReflect.Descriptor instead.
-func (*GrpcMethodList) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_method_list_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *GrpcMethodList) GetServices() []*GrpcMethodList_Service {
- if x != nil {
- return x.Services
- }
- return nil
-}
-
-type GrpcMethodList_Service struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the gRPC service.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The names of the gRPC methods in this service.
- MethodNames []string `protobuf:"bytes,2,rep,name=method_names,json=methodNames,proto3" json:"method_names,omitempty"`
-}
-
-func (x *GrpcMethodList_Service) Reset() {
- *x = GrpcMethodList_Service{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcMethodList_Service) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcMethodList_Service) ProtoMessage() {}
-
-func (x *GrpcMethodList_Service) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcMethodList_Service.ProtoReflect.Descriptor instead.
-func (*GrpcMethodList_Service) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_method_list_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *GrpcMethodList_Service) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *GrpcMethodList_Service) GetMethodNames() []string {
- if x != nil {
- return x.MethodNames
- }
- return nil
-}
-
-var File_envoy_api_v2_core_grpc_method_list_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_grpc_method_list_proto_rawDesc = []byte{
- 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f,
- 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x0e, 0x47, 0x72, 0x70, 0x63, 0x4d, 0x65,
- 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47,
- 0x72, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a,
- 0x53, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20,
- 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f,
- 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 0xfa,
- 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e,
- 0x61, 0x6d, 0x65, 0x73, 0x42, 0x96, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x13, 0x47, 0x72, 0x70, 0x63, 0x4d, 0x65,
- 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
- 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
- 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70,
- 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12,
- 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_grpc_method_list_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_grpc_method_list_proto_rawDescData = file_envoy_api_v2_core_grpc_method_list_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_grpc_method_list_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_grpc_method_list_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_grpc_method_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_grpc_method_list_proto_rawDescData)
- })
- return file_envoy_api_v2_core_grpc_method_list_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_grpc_method_list_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_envoy_api_v2_core_grpc_method_list_proto_goTypes = []interface{}{
- (*GrpcMethodList)(nil), // 0: envoy.api.v2.core.GrpcMethodList
- (*GrpcMethodList_Service)(nil), // 1: envoy.api.v2.core.GrpcMethodList.Service
-}
-var file_envoy_api_v2_core_grpc_method_list_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.GrpcMethodList.services:type_name -> envoy.api.v2.core.GrpcMethodList.Service
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_grpc_method_list_proto_init() }
-func file_envoy_api_v2_core_grpc_method_list_proto_init() {
- if File_envoy_api_v2_core_grpc_method_list_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcMethodList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_method_list_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcMethodList_Service); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_grpc_method_list_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_grpc_method_list_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_grpc_method_list_proto_depIdxs,
- MessageInfos: file_envoy_api_v2_core_grpc_method_list_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_grpc_method_list_proto = out.File
- file_envoy_api_v2_core_grpc_method_list_proto_rawDesc = nil
- file_envoy_api_v2_core_grpc_method_list_proto_goTypes = nil
- file_envoy_api_v2_core_grpc_method_list_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.validate.go
deleted file mode 100644
index a2ba0401dd..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_method_list.pb.validate.go
+++ /dev/null
@@ -1,294 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/grpc_method_list.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on GrpcMethodList with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *GrpcMethodList) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcMethodList with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in GrpcMethodListMultiError,
-// or nil if none found.
-func (m *GrpcMethodList) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcMethodList) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetServices() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcMethodListValidationError{
- field: fmt.Sprintf("Services[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcMethodListValidationError{
- field: fmt.Sprintf("Services[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcMethodListValidationError{
- field: fmt.Sprintf("Services[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return GrpcMethodListMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcMethodListMultiError is an error wrapping multiple validation errors
-// returned by GrpcMethodList.ValidateAll() if the designated constraints
-// aren't met.
-type GrpcMethodListMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcMethodListMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcMethodListMultiError) AllErrors() []error { return m }
-
-// GrpcMethodListValidationError is the validation error returned by
-// GrpcMethodList.Validate if the designated constraints aren't met.
-type GrpcMethodListValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcMethodListValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcMethodListValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcMethodListValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcMethodListValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcMethodListValidationError) ErrorName() string { return "GrpcMethodListValidationError" }
-
-// Error satisfies the builtin error interface
-func (e GrpcMethodListValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcMethodList.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcMethodListValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcMethodListValidationError{}
-
-// Validate checks the field values on GrpcMethodList_Service with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *GrpcMethodList_Service) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcMethodList_Service with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcMethodList_ServiceMultiError, or nil if none found.
-func (m *GrpcMethodList_Service) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcMethodList_Service) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetName()) < 1 {
- err := GrpcMethodList_ServiceValidationError{
- field: "Name",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(m.GetMethodNames()) < 1 {
- err := GrpcMethodList_ServiceValidationError{
- field: "MethodNames",
- reason: "value must contain at least 1 item(s)",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return GrpcMethodList_ServiceMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcMethodList_ServiceMultiError is an error wrapping multiple validation
-// errors returned by GrpcMethodList_Service.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcMethodList_ServiceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcMethodList_ServiceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcMethodList_ServiceMultiError) AllErrors() []error { return m }
-
-// GrpcMethodList_ServiceValidationError is the validation error returned by
-// GrpcMethodList_Service.Validate if the designated constraints aren't met.
-type GrpcMethodList_ServiceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcMethodList_ServiceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcMethodList_ServiceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcMethodList_ServiceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcMethodList_ServiceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcMethodList_ServiceValidationError) ErrorName() string {
- return "GrpcMethodList_ServiceValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcMethodList_ServiceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcMethodList_Service.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcMethodList_ServiceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcMethodList_ServiceValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.go
deleted file mode 100644
index 5fe0654a9f..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.go
+++ /dev/null
@@ -1,1470 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/grpc_service.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- any "github.com/golang/protobuf/ptypes/any"
- duration "github.com/golang/protobuf/ptypes/duration"
- _struct "github.com/golang/protobuf/ptypes/struct"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- emptypb "google.golang.org/protobuf/types/known/emptypb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// gRPC service configuration. This is used by :ref:`ApiConfigSource
-// ` and filter configurations.
-// [#next-free-field: 6]
-type GrpcService struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to TargetSpecifier:
- // *GrpcService_EnvoyGrpc_
- // *GrpcService_GoogleGrpc_
- TargetSpecifier isGrpcService_TargetSpecifier `protobuf_oneof:"target_specifier"`
- // The timeout for the gRPC request. This is the timeout for a specific
- // request.
- Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
- // Additional metadata to include in streams initiated to the GrpcService.
- // This can be used for scenarios in which additional ad hoc authorization
- // headers (e.g. ``x-foo-bar: baz-key``) are to be injected.
- InitialMetadata []*HeaderValue `protobuf:"bytes,5,rep,name=initial_metadata,json=initialMetadata,proto3" json:"initial_metadata,omitempty"`
-}
-
-func (x *GrpcService) Reset() {
- *x = GrpcService{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService) ProtoMessage() {}
-
-func (x *GrpcService) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService.ProtoReflect.Descriptor instead.
-func (*GrpcService) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0}
-}
-
-func (m *GrpcService) GetTargetSpecifier() isGrpcService_TargetSpecifier {
- if m != nil {
- return m.TargetSpecifier
- }
- return nil
-}
-
-func (x *GrpcService) GetEnvoyGrpc() *GrpcService_EnvoyGrpc {
- if x, ok := x.GetTargetSpecifier().(*GrpcService_EnvoyGrpc_); ok {
- return x.EnvoyGrpc
- }
- return nil
-}
-
-func (x *GrpcService) GetGoogleGrpc() *GrpcService_GoogleGrpc {
- if x, ok := x.GetTargetSpecifier().(*GrpcService_GoogleGrpc_); ok {
- return x.GoogleGrpc
- }
- return nil
-}
-
-func (x *GrpcService) GetTimeout() *duration.Duration {
- if x != nil {
- return x.Timeout
- }
- return nil
-}
-
-func (x *GrpcService) GetInitialMetadata() []*HeaderValue {
- if x != nil {
- return x.InitialMetadata
- }
- return nil
-}
-
-type isGrpcService_TargetSpecifier interface {
- isGrpcService_TargetSpecifier()
-}
-
-type GrpcService_EnvoyGrpc_ struct {
- // Envoy's in-built gRPC client.
- // See the :ref:`gRPC services overview `
- // documentation for discussion on gRPC client selection.
- EnvoyGrpc *GrpcService_EnvoyGrpc `protobuf:"bytes,1,opt,name=envoy_grpc,json=envoyGrpc,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_ struct {
- // `Google C++ gRPC client `_
- // See the :ref:`gRPC services overview `
- // documentation for discussion on gRPC client selection.
- GoogleGrpc *GrpcService_GoogleGrpc `protobuf:"bytes,2,opt,name=google_grpc,json=googleGrpc,proto3,oneof"`
-}
-
-func (*GrpcService_EnvoyGrpc_) isGrpcService_TargetSpecifier() {}
-
-func (*GrpcService_GoogleGrpc_) isGrpcService_TargetSpecifier() {}
-
-type GrpcService_EnvoyGrpc struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the upstream gRPC cluster. SSL credentials will be supplied
- // in the :ref:`Cluster ` :ref:`transport_socket
- // `.
- ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
-}
-
-func (x *GrpcService_EnvoyGrpc) Reset() {
- *x = GrpcService_EnvoyGrpc{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_EnvoyGrpc) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_EnvoyGrpc) ProtoMessage() {}
-
-func (x *GrpcService_EnvoyGrpc) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_EnvoyGrpc.ProtoReflect.Descriptor instead.
-func (*GrpcService_EnvoyGrpc) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *GrpcService_EnvoyGrpc) GetClusterName() string {
- if x != nil {
- return x.ClusterName
- }
- return ""
-}
-
-// [#next-free-field: 7]
-type GrpcService_GoogleGrpc struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The target URI when using the `Google C++ gRPC client
- // `_. SSL credentials will be supplied in
- // :ref:`channel_credentials `.
- TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"`
- ChannelCredentials *GrpcService_GoogleGrpc_ChannelCredentials `protobuf:"bytes,2,opt,name=channel_credentials,json=channelCredentials,proto3" json:"channel_credentials,omitempty"`
- // A set of call credentials that can be composed with `channel credentials
- // `_.
- CallCredentials []*GrpcService_GoogleGrpc_CallCredentials `protobuf:"bytes,3,rep,name=call_credentials,json=callCredentials,proto3" json:"call_credentials,omitempty"`
- // The human readable prefix to use when emitting statistics for the gRPC
- // service.
- //
- // .. csv-table::
- // :header: Name, Type, Description
- // :widths: 1, 1, 2
- //
- // streams_total, Counter, Total number of streams opened
- // streams_closed_, Counter, Total streams closed with
- StatPrefix string `protobuf:"bytes,4,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
- // The name of the Google gRPC credentials factory to use. This must have been registered with
- // Envoy. If this is empty, a default credentials factory will be used that sets up channel
- // credentials based on other configuration parameters.
- CredentialsFactoryName string `protobuf:"bytes,5,opt,name=credentials_factory_name,json=credentialsFactoryName,proto3" json:"credentials_factory_name,omitempty"`
- // Additional configuration for site-specific customizations of the Google
- // gRPC library.
- Config *_struct.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
-}
-
-func (x *GrpcService_GoogleGrpc) Reset() {
- *x = GrpcService_GoogleGrpc{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1}
-}
-
-func (x *GrpcService_GoogleGrpc) GetTargetUri() string {
- if x != nil {
- return x.TargetUri
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc) GetChannelCredentials() *GrpcService_GoogleGrpc_ChannelCredentials {
- if x != nil {
- return x.ChannelCredentials
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc) GetCallCredentials() []*GrpcService_GoogleGrpc_CallCredentials {
- if x != nil {
- return x.CallCredentials
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc) GetStatPrefix() string {
- if x != nil {
- return x.StatPrefix
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc) GetCredentialsFactoryName() string {
- if x != nil {
- return x.CredentialsFactoryName
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc) GetConfig() *_struct.Struct {
- if x != nil {
- return x.Config
- }
- return nil
-}
-
-// See https://grpc.io/grpc/cpp/structgrpc_1_1_ssl_credentials_options.html.
-type GrpcService_GoogleGrpc_SslCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // PEM encoded server root certificates.
- RootCerts *DataSource `protobuf:"bytes,1,opt,name=root_certs,json=rootCerts,proto3" json:"root_certs,omitempty"`
- // PEM encoded client private key.
- PrivateKey *DataSource `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
- // PEM encoded client certificate chain.
- CertChain *DataSource `protobuf:"bytes,3,opt,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"`
-}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_SslCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_SslCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_SslCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 0}
-}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) GetRootCerts() *DataSource {
- if x != nil {
- return x.RootCerts
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) GetPrivateKey() *DataSource {
- if x != nil {
- return x.PrivateKey
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_SslCredentials) GetCertChain() *DataSource {
- if x != nil {
- return x.CertChain
- }
- return nil
-}
-
-// Local channel credentials. Only UDS is supported for now.
-// See https://github.com/grpc/grpc/pull/15909.
-type GrpcService_GoogleGrpc_GoogleLocalCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *GrpcService_GoogleGrpc_GoogleLocalCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_GoogleLocalCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_GoogleLocalCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_GoogleLocalCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 1}
-}
-
-// See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call
-// credential types.
-type GrpcService_GoogleGrpc_ChannelCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to CredentialSpecifier:
- // *GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials
- // *GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault
- // *GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials
- CredentialSpecifier isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"`
-}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_ChannelCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_ChannelCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_ChannelCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 2}
-}
-
-func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier {
- if m != nil {
- return m.CredentialSpecifier
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) GetSslCredentials() *GrpcService_GoogleGrpc_SslCredentials {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials); ok {
- return x.SslCredentials
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) GetGoogleDefault() *emptypb.Empty {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault); ok {
- return x.GoogleDefault
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_ChannelCredentials) GetLocalCredentials() *GrpcService_GoogleGrpc_GoogleLocalCredentials {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials); ok {
- return x.LocalCredentials
- }
- return nil
-}
-
-type isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier interface {
- isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier()
-}
-
-type GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials struct {
- SslCredentials *GrpcService_GoogleGrpc_SslCredentials `protobuf:"bytes,1,opt,name=ssl_credentials,json=sslCredentials,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault struct {
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
- GoogleDefault *emptypb.Empty `protobuf:"bytes,2,opt,name=google_default,json=googleDefault,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials struct {
- LocalCredentials *GrpcService_GoogleGrpc_GoogleLocalCredentials `protobuf:"bytes,3,opt,name=local_credentials,json=localCredentials,proto3,oneof"`
-}
-
-func (*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() {
-}
-
-// [#next-free-field: 8]
-type GrpcService_GoogleGrpc_CallCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to CredentialSpecifier:
- // *GrpcService_GoogleGrpc_CallCredentials_AccessToken
- // *GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine
- // *GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken
- // *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess
- // *GrpcService_GoogleGrpc_CallCredentials_GoogleIam
- // *GrpcService_GoogleGrpc_CallCredentials_FromPlugin
- // *GrpcService_GoogleGrpc_CallCredentials_StsService_
- CredentialSpecifier isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"`
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_CallCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_CallCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_CallCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 3}
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier {
- if m != nil {
- return m.CredentialSpecifier
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetAccessToken() string {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_AccessToken); ok {
- return x.AccessToken
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleComputeEngine() *emptypb.Empty {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine); ok {
- return x.GoogleComputeEngine
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken() string {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken); ok {
- return x.GoogleRefreshToken
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetServiceAccountJwtAccess() *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess); ok {
- return x.ServiceAccountJwtAccess
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetGoogleIam() *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleIam); ok {
- return x.GoogleIam
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetFromPlugin() *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_FromPlugin); ok {
- return x.FromPlugin
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials) GetStsService() *GrpcService_GoogleGrpc_CallCredentials_StsService {
- if x, ok := x.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_StsService_); ok {
- return x.StsService
- }
- return nil
-}
-
-type isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier interface {
- isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier()
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_AccessToken struct {
- // Access token credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d.
- AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine struct {
- // Google Compute Engine credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
- GoogleComputeEngine *emptypb.Empty `protobuf:"bytes,2,opt,name=google_compute_engine,json=googleComputeEngine,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken struct {
- // Google refresh token credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c.
- GoogleRefreshToken string `protobuf:"bytes,3,opt,name=google_refresh_token,json=googleRefreshToken,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess struct {
- // Service Account JWT Access credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa.
- ServiceAccountJwtAccess *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials `protobuf:"bytes,4,opt,name=service_account_jwt_access,json=serviceAccountJwtAccess,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_GoogleIam struct {
- // Google IAM credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0.
- GoogleIam *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials `protobuf:"bytes,5,opt,name=google_iam,json=googleIam,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_FromPlugin struct {
- // Custom authenticator credentials.
- // https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07.
- // https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms.
- FromPlugin *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin `protobuf:"bytes,6,opt,name=from_plugin,json=fromPlugin,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_StsService_ struct {
- // Custom security token service which implements OAuth 2.0 token exchange.
- // https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
- // See https://github.com/grpc/grpc/pull/19587.
- StsService *GrpcService_GoogleGrpc_CallCredentials_StsService `protobuf:"bytes,7,opt,name=sts_service,json=stsService,proto3,oneof"`
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_AccessToken) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIam) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_FromPlugin) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_StsService_) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() {
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- JsonKey string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"`
- TokenLifetimeSeconds uint64 `protobuf:"varint,2,opt,name=token_lifetime_seconds,json=tokenLifetimeSeconds,proto3" json:"token_lifetime_seconds,omitempty"`
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 3, 0}
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetJsonKey() string {
- if x != nil {
- return x.JsonKey
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetTokenLifetimeSeconds() uint64 {
- if x != nil {
- return x.TokenLifetimeSeconds
- }
- return 0
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AuthorizationToken string `protobuf:"bytes,1,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"`
- AuthoritySelector string `protobuf:"bytes,2,opt,name=authority_selector,json=authoritySelector,proto3" json:"authority_selector,omitempty"`
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Reset() {
- *x = GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 3, 1}
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthorizationToken() string {
- if x != nil {
- return x.AuthorizationToken
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthoritySelector() string {
- if x != nil {
- return x.AuthoritySelector
- }
- return ""
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Types that are assignable to ConfigType:
- // *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config
- // *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig
- ConfigType isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType `protobuf_oneof:"config_type"`
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Reset() {
- *x = GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 3, 2}
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType() isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType {
- if m != nil {
- return m.ConfigType
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfig() *_struct.Struct {
- if x, ok := x.GetConfigType().(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config); ok {
- return x.Config
- }
- return nil
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetTypedConfig() *any.Any {
- if x, ok := x.GetConfigType().(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig); ok {
- return x.TypedConfig
- }
- return nil
-}
-
-type isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType interface {
- isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType()
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config struct {
- // Deprecated: Do not use.
- Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
-}
-
-type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig struct {
- TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config) isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType() {
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig) isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType() {
-}
-
-// Security token service configuration that allows Google gRPC to
-// fetch security token from an OAuth 2.0 authorization server.
-// See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and
-// https://github.com/grpc/grpc/pull/19587.
-// [#next-free-field: 10]
-type GrpcService_GoogleGrpc_CallCredentials_StsService struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // URI of the token exchange service that handles token exchange requests.
- // [#comment:TODO(asraa): Add URI validation when implemented. Tracked by
- // https://github.com/envoyproxy/protoc-gen-validate/issues/303]
- TokenExchangeServiceUri string `protobuf:"bytes,1,opt,name=token_exchange_service_uri,json=tokenExchangeServiceUri,proto3" json:"token_exchange_service_uri,omitempty"`
- // Location of the target service or resource where the client
- // intends to use the requested security token.
- Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
- // Logical name of the target service where the client intends to
- // use the requested security token.
- Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
- // The desired scope of the requested security token in the
- // context of the service or resource where the token will be used.
- Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
- // Type of the requested security token.
- RequestedTokenType string `protobuf:"bytes,5,opt,name=requested_token_type,json=requestedTokenType,proto3" json:"requested_token_type,omitempty"`
- // The path of subject token, a security token that represents the
- // identity of the party on behalf of whom the request is being made.
- SubjectTokenPath string `protobuf:"bytes,6,opt,name=subject_token_path,json=subjectTokenPath,proto3" json:"subject_token_path,omitempty"`
- // Type of the subject token.
- SubjectTokenType string `protobuf:"bytes,7,opt,name=subject_token_type,json=subjectTokenType,proto3" json:"subject_token_type,omitempty"`
- // The path of actor token, a security token that represents the identity
- // of the acting party. The acting party is authorized to use the
- // requested security token and act on behalf of the subject.
- ActorTokenPath string `protobuf:"bytes,8,opt,name=actor_token_path,json=actorTokenPath,proto3" json:"actor_token_path,omitempty"`
- // Type of the actor token.
- ActorTokenType string `protobuf:"bytes,9,opt,name=actor_token_type,json=actorTokenType,proto3" json:"actor_token_type,omitempty"`
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) Reset() {
- *x = GrpcService_GoogleGrpc_CallCredentials_StsService{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoMessage() {}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_grpc_service_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcService_GoogleGrpc_CallCredentials_StsService.ProtoReflect.Descriptor instead.
-func (*GrpcService_GoogleGrpc_CallCredentials_StsService) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP(), []int{0, 1, 3, 3}
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetTokenExchangeServiceUri() string {
- if x != nil {
- return x.TokenExchangeServiceUri
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetResource() string {
- if x != nil {
- return x.Resource
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetAudience() string {
- if x != nil {
- return x.Audience
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetScope() string {
- if x != nil {
- return x.Scope
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetRequestedTokenType() string {
- if x != nil {
- return x.RequestedTokenType
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenPath() string {
- if x != nil {
- return x.SubjectTokenPath
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetSubjectTokenType() string {
- if x != nil {
- return x.SubjectTokenType
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenPath() string {
- if x != nil {
- return x.ActorTokenPath
- }
- return ""
-}
-
-func (x *GrpcService_GoogleGrpc_CallCredentials_StsService) GetActorTokenType() string {
- if x != nil {
- return x.ActorTokenType
- }
- return ""
-}
-
-var File_envoy_api_v2_core_grpc_service_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_grpc_service_proto_rawDesc = []byte{
- 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x75,
- 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
- 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x16, 0x0a, 0x0b, 0x47, 0x72, 0x70, 0x63,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x5f, 0x67, 0x72, 0x70, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x76, 0x6f,
- 0x79, 0x47, 0x72, 0x70, 0x63, 0x48, 0x00, 0x52, 0x09, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x47, 0x72,
- 0x70, 0x63, 0x12, 0x4c, 0x0a, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x70,
- 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72,
- 0x70, 0x63, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63,
- 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69,
- 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x49, 0x0a, 0x10, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
- 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
- 0x0f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x1a, 0x37, 0x0a, 0x09, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x47, 0x72, 0x70, 0x63, 0x12, 0x2a, 0x0a,
- 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0b, 0x63, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xda, 0x13, 0x0a, 0x0a, 0x47, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x12, 0x26, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67,
- 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42,
- 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x72, 0x69,
- 0x12, 0x6d, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64,
- 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
- 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x12, 0x63, 0x68, 0x61,
- 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12,
- 0x64, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
- 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72,
- 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x47, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0f, 0x63, 0x61, 0x6c, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x28, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x70, 0x72,
- 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
- 0x02, 0x20, 0x01, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
- 0x38, 0x0a, 0x18, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x5f, 0x66,
- 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x16, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x61,
- 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75,
- 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xd4, 0x01, 0x0a, 0x0e, 0x53,
- 0x73, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3c, 0x0a,
- 0x0a, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
- 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x0b, 0x70,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42,
- 0x06, 0xb8, 0xb7, 0x8b, 0xa4, 0x02, 0x01, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
- 0x4b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x69,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61,
- 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x69,
- 0x6e, 0x1a, 0x18, 0x0a, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
- 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x1a, 0xc8, 0x02, 0x0a, 0x12,
- 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
- 0x6c, 0x73, 0x12, 0x63, 0x0a, 0x0f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
- 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x73, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x73, 0x6c, 0x43, 0x72, 0x65, 0x64,
- 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x0e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x6f, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x61,
- 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x47,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x72,
- 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x42, 0x1b, 0x0a, 0x14, 0x63, 0x72, 0x65,
- 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65,
- 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xfd, 0x0b, 0x0a, 0x0f, 0x43, 0x61, 0x6c, 0x6c, 0x43,
- 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x23, 0x0a, 0x0c, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
- 0x4c, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74,
- 0x65, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x32, 0x0a,
- 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f,
- 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x12, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65,
- 0x6e, 0x12, 0x9b, 0x01, 0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6a, 0x77, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70,
- 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
- 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x4a, 0x57, 0x54, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x77, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
- 0x6f, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x69, 0x61, 0x6d, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x43,
- 0x61, 0x6c, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x47,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x49, 0x41, 0x4d, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
- 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x49, 0x61, 0x6d,
- 0x12, 0x7a, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63,
- 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73,
- 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x48, 0x00,
- 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x67, 0x0a, 0x0b,
- 0x73, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x44, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c,
- 0x6c, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x53, 0x74, 0x73,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x73, 0x53, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x75, 0x0a, 0x22, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x57, 0x54, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6a,
- 0x73, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a,
- 0x73, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f,
- 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x66,
- 0x65, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x1a, 0x76, 0x0a, 0x14,
- 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x49, 0x41, 0x4d, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
- 0x69, 0x61, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x74, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x65,
- 0x63, 0x74, 0x6f, 0x72, 0x1a, 0xb4, 0x01, 0x0a, 0x1d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
- 0x61, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x72, 0x6f, 0x6d,
- 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
- 0x75, 0x63, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52,
- 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0d, 0x0a, 0x0b,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x8b, 0x03, 0x0a, 0x0a,
- 0x53, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f,
- 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17,
- 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12,
- 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f,
- 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6a, 0x65,
- 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x10, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x35,
- 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
- 0x02, 0x20, 0x01, 0x52, 0x10, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65,
- 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12,
- 0x28, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x6f, 0x72,
- 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x1b, 0x0a, 0x14, 0x63, 0x72, 0x65,
- 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65,
- 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x17, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
- 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x4a,
- 0x04, 0x08, 0x04, 0x10, 0x05, 0x42, 0x93, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x10, 0x47, 0x72, 0x70, 0x63, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67,
- 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
- 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
- 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f,
- 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
- 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_grpc_service_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_grpc_service_proto_rawDescData = file_envoy_api_v2_core_grpc_service_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_grpc_service_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_grpc_service_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_grpc_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_grpc_service_proto_rawDescData)
- })
- return file_envoy_api_v2_core_grpc_service_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_grpc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
-var file_envoy_api_v2_core_grpc_service_proto_goTypes = []interface{}{
- (*GrpcService)(nil), // 0: envoy.api.v2.core.GrpcService
- (*GrpcService_EnvoyGrpc)(nil), // 1: envoy.api.v2.core.GrpcService.EnvoyGrpc
- (*GrpcService_GoogleGrpc)(nil), // 2: envoy.api.v2.core.GrpcService.GoogleGrpc
- (*GrpcService_GoogleGrpc_SslCredentials)(nil), // 3: envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials
- (*GrpcService_GoogleGrpc_GoogleLocalCredentials)(nil), // 4: envoy.api.v2.core.GrpcService.GoogleGrpc.GoogleLocalCredentials
- (*GrpcService_GoogleGrpc_ChannelCredentials)(nil), // 5: envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials
- (*GrpcService_GoogleGrpc_CallCredentials)(nil), // 6: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials
- (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials)(nil), // 7: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials
- (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials)(nil), // 8: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials
- (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin)(nil), // 9: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin
- (*GrpcService_GoogleGrpc_CallCredentials_StsService)(nil), // 10: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.StsService
- (*duration.Duration)(nil), // 11: google.protobuf.Duration
- (*HeaderValue)(nil), // 12: envoy.api.v2.core.HeaderValue
- (*_struct.Struct)(nil), // 13: google.protobuf.Struct
- (*DataSource)(nil), // 14: envoy.api.v2.core.DataSource
- (*emptypb.Empty)(nil), // 15: google.protobuf.Empty
- (*any.Any)(nil), // 16: google.protobuf.Any
-}
-var file_envoy_api_v2_core_grpc_service_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.GrpcService.envoy_grpc:type_name -> envoy.api.v2.core.GrpcService.EnvoyGrpc
- 2, // 1: envoy.api.v2.core.GrpcService.google_grpc:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc
- 11, // 2: envoy.api.v2.core.GrpcService.timeout:type_name -> google.protobuf.Duration
- 12, // 3: envoy.api.v2.core.GrpcService.initial_metadata:type_name -> envoy.api.v2.core.HeaderValue
- 5, // 4: envoy.api.v2.core.GrpcService.GoogleGrpc.channel_credentials:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials
- 6, // 5: envoy.api.v2.core.GrpcService.GoogleGrpc.call_credentials:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials
- 13, // 6: envoy.api.v2.core.GrpcService.GoogleGrpc.config:type_name -> google.protobuf.Struct
- 14, // 7: envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials.root_certs:type_name -> envoy.api.v2.core.DataSource
- 14, // 8: envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials.private_key:type_name -> envoy.api.v2.core.DataSource
- 14, // 9: envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials.cert_chain:type_name -> envoy.api.v2.core.DataSource
- 3, // 10: envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials.ssl_credentials:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials
- 15, // 11: envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials.google_default:type_name -> google.protobuf.Empty
- 4, // 12: envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials.local_credentials:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.GoogleLocalCredentials
- 15, // 13: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.google_compute_engine:type_name -> google.protobuf.Empty
- 7, // 14: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.service_account_jwt_access:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials
- 8, // 15: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.google_iam:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials
- 9, // 16: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.from_plugin:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin
- 10, // 17: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.sts_service:type_name -> envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.StsService
- 13, // 18: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin.config:type_name -> google.protobuf.Struct
- 16, // 19: envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin.typed_config:type_name -> google.protobuf.Any
- 20, // [20:20] is the sub-list for method output_type
- 20, // [20:20] is the sub-list for method input_type
- 20, // [20:20] is the sub-list for extension type_name
- 20, // [20:20] is the sub-list for extension extendee
- 0, // [0:20] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_grpc_service_proto_init() }
-func file_envoy_api_v2_core_grpc_service_proto_init() {
- if File_envoy_api_v2_core_grpc_service_proto != nil {
- return
- }
- file_envoy_api_v2_core_base_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_EnvoyGrpc); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_SslCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_GoogleLocalCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_ChannelCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_CallCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcService_GoogleGrpc_CallCredentials_StsService); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*GrpcService_EnvoyGrpc_)(nil),
- (*GrpcService_GoogleGrpc_)(nil),
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[5].OneofWrappers = []interface{}{
- (*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials)(nil),
- (*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault)(nil),
- (*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials)(nil),
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[6].OneofWrappers = []interface{}{
- (*GrpcService_GoogleGrpc_CallCredentials_AccessToken)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_GoogleIam)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_FromPlugin)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_StsService_)(nil),
- }
- file_envoy_api_v2_core_grpc_service_proto_msgTypes[9].OneofWrappers = []interface{}{
- (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config)(nil),
- (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_grpc_service_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 11,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_grpc_service_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_grpc_service_proto_depIdxs,
- MessageInfos: file_envoy_api_v2_core_grpc_service_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_grpc_service_proto = out.File
- file_envoy_api_v2_core_grpc_service_proto_rawDesc = nil
- file_envoy_api_v2_core_grpc_service_proto_goTypes = nil
- file_envoy_api_v2_core_grpc_service_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.validate.go
deleted file mode 100644
index f729e4e0dc..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/grpc_service.pb.validate.go
+++ /dev/null
@@ -1,1981 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/grpc_service.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on GrpcService with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *GrpcService) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcService with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in GrpcServiceMultiError, or
-// nil if none found.
-func (m *GrpcService) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "Timeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "Timeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcServiceValidationError{
- field: "Timeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetInitialMetadata() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: fmt.Sprintf("InitialMetadata[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: fmt.Sprintf("InitialMetadata[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcServiceValidationError{
- field: fmt.Sprintf("InitialMetadata[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- switch m.TargetSpecifier.(type) {
-
- case *GrpcService_EnvoyGrpc_:
-
- if all {
- switch v := interface{}(m.GetEnvoyGrpc()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "EnvoyGrpc",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "EnvoyGrpc",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetEnvoyGrpc()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcServiceValidationError{
- field: "EnvoyGrpc",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_:
-
- if all {
- switch v := interface{}(m.GetGoogleGrpc()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "GoogleGrpc",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcServiceValidationError{
- field: "GoogleGrpc",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGoogleGrpc()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcServiceValidationError{
- field: "GoogleGrpc",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := GrpcServiceValidationError{
- field: "TargetSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return GrpcServiceMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcServiceMultiError is an error wrapping multiple validation errors
-// returned by GrpcService.ValidateAll() if the designated constraints aren't met.
-type GrpcServiceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcServiceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcServiceMultiError) AllErrors() []error { return m }
-
-// GrpcServiceValidationError is the validation error returned by
-// GrpcService.Validate if the designated constraints aren't met.
-type GrpcServiceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcServiceValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcServiceValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcServiceValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcServiceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcServiceValidationError) ErrorName() string { return "GrpcServiceValidationError" }
-
-// Error satisfies the builtin error interface
-func (e GrpcServiceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcServiceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcServiceValidationError{}
-
-// Validate checks the field values on GrpcService_EnvoyGrpc with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_EnvoyGrpc) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcService_EnvoyGrpc with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcService_EnvoyGrpcMultiError, or nil if none found.
-func (m *GrpcService_EnvoyGrpc) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_EnvoyGrpc) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetClusterName()) < 1 {
- err := GrpcService_EnvoyGrpcValidationError{
- field: "ClusterName",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return GrpcService_EnvoyGrpcMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_EnvoyGrpcMultiError is an error wrapping multiple validation
-// errors returned by GrpcService_EnvoyGrpc.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcService_EnvoyGrpcMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_EnvoyGrpcMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_EnvoyGrpcMultiError) AllErrors() []error { return m }
-
-// GrpcService_EnvoyGrpcValidationError is the validation error returned by
-// GrpcService_EnvoyGrpc.Validate if the designated constraints aren't met.
-type GrpcService_EnvoyGrpcValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_EnvoyGrpcValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_EnvoyGrpcValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcService_EnvoyGrpcValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_EnvoyGrpcValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_EnvoyGrpcValidationError) ErrorName() string {
- return "GrpcService_EnvoyGrpcValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_EnvoyGrpcValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_EnvoyGrpc.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_EnvoyGrpcValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_EnvoyGrpcValidationError{}
-
-// Validate checks the field values on GrpcService_GoogleGrpc with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_GoogleGrpc) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcService_GoogleGrpc with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpcMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetTargetUri()) < 1 {
- err := GrpcService_GoogleGrpcValidationError{
- field: "TargetUri",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetChannelCredentials()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: "ChannelCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: "ChannelCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetChannelCredentials()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpcValidationError{
- field: "ChannelCredentials",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetCallCredentials() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: fmt.Sprintf("CallCredentials[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: fmt.Sprintf("CallCredentials[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpcValidationError{
- field: fmt.Sprintf("CallCredentials[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(m.GetStatPrefix()) < 1 {
- err := GrpcService_GoogleGrpcValidationError{
- field: "StatPrefix",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- // no validation rules for CredentialsFactoryName
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpcValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpcValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpcMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpcMultiError is an error wrapping multiple validation
-// errors returned by GrpcService_GoogleGrpc.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcService_GoogleGrpcMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpcMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpcMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpcValidationError is the validation error returned by
-// GrpcService_GoogleGrpc.Validate if the designated constraints aren't met.
-type GrpcService_GoogleGrpcValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpcValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpcValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpcValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpcValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpcValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpcValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpcValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpcValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpcValidationError{}
-
-// Validate checks the field values on GrpcService_GoogleGrpc_SslCredentials
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *GrpcService_GoogleGrpc_SslCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcService_GoogleGrpc_SslCredentials
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_SslCredentialsMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc_SslCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_SslCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetRootCerts()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "RootCerts",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "RootCerts",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRootCerts()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "RootCerts",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetPrivateKey()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "PrivateKey",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "PrivateKey",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetPrivateKey()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "PrivateKey",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetCertChain()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "CertChain",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "CertChain",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCertChain()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_SslCredentialsValidationError{
- field: "CertChain",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_SslCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_SslCredentialsMultiError is an error wrapping
-// multiple validation errors returned by
-// GrpcService_GoogleGrpc_SslCredentials.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcService_GoogleGrpc_SslCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_SslCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_SslCredentialsMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpc_SslCredentialsValidationError is the validation error
-// returned by GrpcService_GoogleGrpc_SslCredentials.Validate if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_SslCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_SslCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_SslCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_SslCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_SslCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_SslCredentialsValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_GoogleLocalCredentials with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_GoogleLocalCredentials with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError is an error wrapping
-// multiple validation errors returned by
-// GrpcService_GoogleGrpc_GoogleLocalCredentials.ValidateAll() if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_GoogleLocalCredentialsMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError is the
-// validation error returned by
-// GrpcService_GoogleGrpc_GoogleLocalCredentials.Validate if the designated
-// constraints aren't met.
-type GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_GoogleLocalCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_GoogleLocalCredentialsValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_ChannelCredentials with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_GoogleGrpc_ChannelCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_ChannelCredentials with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_ChannelCredentialsMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc_ChannelCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_ChannelCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.CredentialSpecifier.(type) {
-
- case *GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials:
-
- if all {
- switch v := interface{}(m.GetSslCredentials()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "SslCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "SslCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSslCredentials()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "SslCredentials",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault:
-
- if all {
- switch v := interface{}(m.GetGoogleDefault()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "GoogleDefault",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "GoogleDefault",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGoogleDefault()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "GoogleDefault",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials:
-
- if all {
- switch v := interface{}(m.GetLocalCredentials()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "LocalCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "LocalCredentials",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLocalCredentials()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "LocalCredentials",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := GrpcService_GoogleGrpc_ChannelCredentialsValidationError{
- field: "CredentialSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_ChannelCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_ChannelCredentialsMultiError is an error wrapping
-// multiple validation errors returned by
-// GrpcService_GoogleGrpc_ChannelCredentials.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcService_GoogleGrpc_ChannelCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_ChannelCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_ChannelCredentialsMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpc_ChannelCredentialsValidationError is the validation
-// error returned by GrpcService_GoogleGrpc_ChannelCredentials.Validate if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_ChannelCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_ChannelCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_ChannelCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_ChannelCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_ChannelCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_ChannelCredentialsValidationError{}
-
-// Validate checks the field values on GrpcService_GoogleGrpc_CallCredentials
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *GrpcService_GoogleGrpc_CallCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials with the rules defined in the proto
-// definition for this message. If any rules are violated, the result is a
-// list of violation errors wrapped in
-// GrpcService_GoogleGrpc_CallCredentialsMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc_CallCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.CredentialSpecifier.(type) {
-
- case *GrpcService_GoogleGrpc_CallCredentials_AccessToken:
- // no validation rules for AccessToken
-
- case *GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine:
-
- if all {
- switch v := interface{}(m.GetGoogleComputeEngine()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleComputeEngine",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleComputeEngine",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGoogleComputeEngine()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleComputeEngine",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken:
- // no validation rules for GoogleRefreshToken
-
- case *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess:
-
- if all {
- switch v := interface{}(m.GetServiceAccountJwtAccess()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "ServiceAccountJwtAccess",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "ServiceAccountJwtAccess",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetServiceAccountJwtAccess()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "ServiceAccountJwtAccess",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_CallCredentials_GoogleIam:
-
- if all {
- switch v := interface{}(m.GetGoogleIam()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleIam",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleIam",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGoogleIam()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "GoogleIam",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_CallCredentials_FromPlugin:
-
- if all {
- switch v := interface{}(m.GetFromPlugin()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "FromPlugin",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "FromPlugin",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetFromPlugin()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "FromPlugin",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_CallCredentials_StsService_:
-
- if all {
- switch v := interface{}(m.GetStsService()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "StsService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "StsService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStsService()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "StsService",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := GrpcService_GoogleGrpc_CallCredentialsValidationError{
- field: "CredentialSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_CallCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_CallCredentialsMultiError is an error wrapping
-// multiple validation errors returned by
-// GrpcService_GoogleGrpc_CallCredentials.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_CallCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_CallCredentialsMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpc_CallCredentialsValidationError is the validation
-// error returned by GrpcService_GoogleGrpc_CallCredentials.Validate if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_CallCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_CallCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_CallCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_CallCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_CallCredentialsValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError,
-// or nil if none found.
-func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for JsonKey
-
- // no validation rules for TokenLifetimeSeconds
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError
-// is an error wrapping multiple validation errors returned by
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.ValidateAll()
-// if the designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsMultiError) AllErrors() []error {
- return m
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError
-// is the validation error returned by
-// GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Validate
-// if the designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Key() bool {
- return e.key
-}
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError, or
-// nil if none found.
-func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for AuthorizationToken
-
- // no validation rules for AuthoritySelector
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError is an
-// error wrapping multiple validation errors returned by
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.ValidateAll()
-// if the designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsMultiError) AllErrors() []error {
- return m
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError
-// is the validation error returned by
-// GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Validate if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Key() bool {
- return e.key
-}
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the first error encountered is returned, or nil if there are
-// no violations.
-func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError,
-// or nil if none found.
-func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- switch m.ConfigType.(type) {
-
- case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config:
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig:
-
- if all {
- switch v := interface{}(m.GetTypedConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError
-// is an error wrapping multiple validation errors returned by
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ValidateAll()
-// if the designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginMultiError) AllErrors() []error {
- return m
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError
-// is the validation error returned by
-// GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Validate
-// if the designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Key() bool {
- return e.key
-}
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginValidationError{}
-
-// Validate checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_StsService with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *GrpcService_GoogleGrpc_CallCredentials_StsService) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// GrpcService_GoogleGrpc_CallCredentials_StsService with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in
-// GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError, or nil if none found.
-func (m *GrpcService_GoogleGrpc_CallCredentials_StsService) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcService_GoogleGrpc_CallCredentials_StsService) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for TokenExchangeServiceUri
-
- // no validation rules for Resource
-
- // no validation rules for Audience
-
- // no validation rules for Scope
-
- // no validation rules for RequestedTokenType
-
- if len(m.GetSubjectTokenPath()) < 1 {
- err := GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError{
- field: "SubjectTokenPath",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(m.GetSubjectTokenType()) < 1 {
- err := GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError{
- field: "SubjectTokenType",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- // no validation rules for ActorTokenPath
-
- // no validation rules for ActorTokenType
-
- if len(errors) > 0 {
- return GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError is an error
-// wrapping multiple validation errors returned by
-// GrpcService_GoogleGrpc_CallCredentials_StsService.ValidateAll() if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcService_GoogleGrpc_CallCredentials_StsServiceMultiError) AllErrors() []error { return m }
-
-// GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError is the
-// validation error returned by
-// GrpcService_GoogleGrpc_CallCredentials_StsService.Validate if the
-// designated constraints aren't met.
-type GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) ErrorName() string {
- return "GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcService_GoogleGrpc_CallCredentials_StsService.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcService_GoogleGrpc_CallCredentials_StsServiceValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.go
deleted file mode 100644
index 5230f2c61e..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.go
+++ /dev/null
@@ -1,1426 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/health_check.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
- _type "github.com/envoyproxy/go-control-plane/envoy/type"
- matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- any "github.com/golang/protobuf/ptypes/any"
- duration "github.com/golang/protobuf/ptypes/duration"
- _struct "github.com/golang/protobuf/ptypes/struct"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Endpoint health status.
-type HealthStatus int32
-
-const (
- // The health status is not known. This is interpreted by Envoy as *HEALTHY*.
- HealthStatus_UNKNOWN HealthStatus = 0
- // Healthy.
- HealthStatus_HEALTHY HealthStatus = 1
- // Unhealthy.
- HealthStatus_UNHEALTHY HealthStatus = 2
- // Connection draining in progress. E.g.,
- // ``_
- // or
- // ``_.
- // This is interpreted by Envoy as *UNHEALTHY*.
- HealthStatus_DRAINING HealthStatus = 3
- // Health check timed out. This is part of HDS and is interpreted by Envoy as
- // *UNHEALTHY*.
- HealthStatus_TIMEOUT HealthStatus = 4
- // Degraded.
- HealthStatus_DEGRADED HealthStatus = 5
-)
-
-// Enum value maps for HealthStatus.
-var (
- HealthStatus_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "HEALTHY",
- 2: "UNHEALTHY",
- 3: "DRAINING",
- 4: "TIMEOUT",
- 5: "DEGRADED",
- }
- HealthStatus_value = map[string]int32{
- "UNKNOWN": 0,
- "HEALTHY": 1,
- "UNHEALTHY": 2,
- "DRAINING": 3,
- "TIMEOUT": 4,
- "DEGRADED": 5,
- }
-)
-
-func (x HealthStatus) Enum() *HealthStatus {
- p := new(HealthStatus)
- *p = x
- return p
-}
-
-func (x HealthStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (HealthStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_health_check_proto_enumTypes[0].Descriptor()
-}
-
-func (HealthStatus) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_health_check_proto_enumTypes[0]
-}
-
-func (x HealthStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use HealthStatus.Descriptor instead.
-func (HealthStatus) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0}
-}
-
-// [#next-free-field: 23]
-type HealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The time to wait for a health check response. If the timeout is reached the
- // health check attempt will be considered a failure.
- Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
- // The interval between health checks.
- Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
- // An optional jitter amount in milliseconds. If specified, Envoy will start health
- // checking after for a random time in ms between 0 and initial_jitter. This only
- // applies to the first health check.
- InitialJitter *duration.Duration `protobuf:"bytes,20,opt,name=initial_jitter,json=initialJitter,proto3" json:"initial_jitter,omitempty"`
- // An optional jitter amount in milliseconds. If specified, during every
- // interval Envoy will add interval_jitter to the wait time.
- IntervalJitter *duration.Duration `protobuf:"bytes,3,opt,name=interval_jitter,json=intervalJitter,proto3" json:"interval_jitter,omitempty"`
- // An optional jitter amount as a percentage of interval_ms. If specified,
- // during every interval Envoy will add interval_ms *
- // interval_jitter_percent / 100 to the wait time.
- //
- // If interval_jitter_ms and interval_jitter_percent are both set, both of
- // them will be used to increase the wait time.
- IntervalJitterPercent uint32 `protobuf:"varint,18,opt,name=interval_jitter_percent,json=intervalJitterPercent,proto3" json:"interval_jitter_percent,omitempty"`
- // The number of unhealthy health checks required before a host is marked
- // unhealthy. Note that for *http* health checking if a host responds with 503
- // this threshold is ignored and the host is considered unhealthy immediately.
- UnhealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
- // The number of healthy health checks required before a host is marked
- // healthy. Note that during startup, only a single successful health check is
- // required to mark a host healthy.
- HealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
- // [#not-implemented-hide:] Non-serving port for health checking.
- AltPort *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=alt_port,json=altPort,proto3" json:"alt_port,omitempty"`
- // Reuse health check connection between health checks. Default is true.
- ReuseConnection *wrappers.BoolValue `protobuf:"bytes,7,opt,name=reuse_connection,json=reuseConnection,proto3" json:"reuse_connection,omitempty"`
- // Types that are assignable to HealthChecker:
- // *HealthCheck_HttpHealthCheck_
- // *HealthCheck_TcpHealthCheck_
- // *HealthCheck_GrpcHealthCheck_
- // *HealthCheck_CustomHealthCheck_
- HealthChecker isHealthCheck_HealthChecker `protobuf_oneof:"health_checker"`
- // The "no traffic interval" is a special health check interval that is used when a cluster has
- // never had traffic routed to it. This lower interval allows cluster information to be kept up to
- // date, without sending a potentially large amount of active health checking traffic for no
- // reason. Once a cluster has been used for traffic routing, Envoy will shift back to using the
- // standard health check interval that is defined. Note that this interval takes precedence over
- // any other.
- //
- // The default value for "no traffic interval" is 60 seconds.
- NoTrafficInterval *duration.Duration `protobuf:"bytes,12,opt,name=no_traffic_interval,json=noTrafficInterval,proto3" json:"no_traffic_interval,omitempty"`
- // The "unhealthy interval" is a health check interval that is used for hosts that are marked as
- // unhealthy. As soon as the host is marked as healthy, Envoy will shift back to using the
- // standard health check interval that is defined.
- //
- // The default value for "unhealthy interval" is the same as "interval".
- UnhealthyInterval *duration.Duration `protobuf:"bytes,14,opt,name=unhealthy_interval,json=unhealthyInterval,proto3" json:"unhealthy_interval,omitempty"`
- // The "unhealthy edge interval" is a special health check interval that is used for the first
- // health check right after a host is marked as unhealthy. For subsequent health checks
- // Envoy will shift back to using either "unhealthy interval" if present or the standard health
- // check interval that is defined.
- //
- // The default value for "unhealthy edge interval" is the same as "unhealthy interval".
- UnhealthyEdgeInterval *duration.Duration `protobuf:"bytes,15,opt,name=unhealthy_edge_interval,json=unhealthyEdgeInterval,proto3" json:"unhealthy_edge_interval,omitempty"`
- // The "healthy edge interval" is a special health check interval that is used for the first
- // health check right after a host is marked as healthy. For subsequent health checks
- // Envoy will shift back to using the standard health check interval that is defined.
- //
- // The default value for "healthy edge interval" is the same as the default interval.
- HealthyEdgeInterval *duration.Duration `protobuf:"bytes,16,opt,name=healthy_edge_interval,json=healthyEdgeInterval,proto3" json:"healthy_edge_interval,omitempty"`
- // Specifies the path to the :ref:`health check event log `.
- // If empty, no event log will be written.
- EventLogPath string `protobuf:"bytes,17,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
- // [#not-implemented-hide:]
- // The gRPC service for the health check event service.
- // If empty, health check events won't be sent to a remote endpoint.
- EventService *EventServiceConfig `protobuf:"bytes,22,opt,name=event_service,json=eventService,proto3" json:"event_service,omitempty"`
- // If set to true, health check failure events will always be logged. If set to false, only the
- // initial health check failure event will be logged.
- // The default value is false.
- AlwaysLogHealthCheckFailures bool `protobuf:"varint,19,opt,name=always_log_health_check_failures,json=alwaysLogHealthCheckFailures,proto3" json:"always_log_health_check_failures,omitempty"`
- // This allows overriding the cluster TLS settings, just for health check connections.
- TlsOptions *HealthCheck_TlsOptions `protobuf:"bytes,21,opt,name=tls_options,json=tlsOptions,proto3" json:"tls_options,omitempty"`
-}
-
-func (x *HealthCheck) Reset() {
- *x = HealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *HealthCheck) GetTimeout() *duration.Duration {
- if x != nil {
- return x.Timeout
- }
- return nil
-}
-
-func (x *HealthCheck) GetInterval() *duration.Duration {
- if x != nil {
- return x.Interval
- }
- return nil
-}
-
-func (x *HealthCheck) GetInitialJitter() *duration.Duration {
- if x != nil {
- return x.InitialJitter
- }
- return nil
-}
-
-func (x *HealthCheck) GetIntervalJitter() *duration.Duration {
- if x != nil {
- return x.IntervalJitter
- }
- return nil
-}
-
-func (x *HealthCheck) GetIntervalJitterPercent() uint32 {
- if x != nil {
- return x.IntervalJitterPercent
- }
- return 0
-}
-
-func (x *HealthCheck) GetUnhealthyThreshold() *wrappers.UInt32Value {
- if x != nil {
- return x.UnhealthyThreshold
- }
- return nil
-}
-
-func (x *HealthCheck) GetHealthyThreshold() *wrappers.UInt32Value {
- if x != nil {
- return x.HealthyThreshold
- }
- return nil
-}
-
-func (x *HealthCheck) GetAltPort() *wrappers.UInt32Value {
- if x != nil {
- return x.AltPort
- }
- return nil
-}
-
-func (x *HealthCheck) GetReuseConnection() *wrappers.BoolValue {
- if x != nil {
- return x.ReuseConnection
- }
- return nil
-}
-
-func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker {
- if m != nil {
- return m.HealthChecker
- }
- return nil
-}
-
-func (x *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck {
- if x, ok := x.GetHealthChecker().(*HealthCheck_HttpHealthCheck_); ok {
- return x.HttpHealthCheck
- }
- return nil
-}
-
-func (x *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck {
- if x, ok := x.GetHealthChecker().(*HealthCheck_TcpHealthCheck_); ok {
- return x.TcpHealthCheck
- }
- return nil
-}
-
-func (x *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck {
- if x, ok := x.GetHealthChecker().(*HealthCheck_GrpcHealthCheck_); ok {
- return x.GrpcHealthCheck
- }
- return nil
-}
-
-func (x *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck {
- if x, ok := x.GetHealthChecker().(*HealthCheck_CustomHealthCheck_); ok {
- return x.CustomHealthCheck
- }
- return nil
-}
-
-func (x *HealthCheck) GetNoTrafficInterval() *duration.Duration {
- if x != nil {
- return x.NoTrafficInterval
- }
- return nil
-}
-
-func (x *HealthCheck) GetUnhealthyInterval() *duration.Duration {
- if x != nil {
- return x.UnhealthyInterval
- }
- return nil
-}
-
-func (x *HealthCheck) GetUnhealthyEdgeInterval() *duration.Duration {
- if x != nil {
- return x.UnhealthyEdgeInterval
- }
- return nil
-}
-
-func (x *HealthCheck) GetHealthyEdgeInterval() *duration.Duration {
- if x != nil {
- return x.HealthyEdgeInterval
- }
- return nil
-}
-
-func (x *HealthCheck) GetEventLogPath() string {
- if x != nil {
- return x.EventLogPath
- }
- return ""
-}
-
-func (x *HealthCheck) GetEventService() *EventServiceConfig {
- if x != nil {
- return x.EventService
- }
- return nil
-}
-
-func (x *HealthCheck) GetAlwaysLogHealthCheckFailures() bool {
- if x != nil {
- return x.AlwaysLogHealthCheckFailures
- }
- return false
-}
-
-func (x *HealthCheck) GetTlsOptions() *HealthCheck_TlsOptions {
- if x != nil {
- return x.TlsOptions
- }
- return nil
-}
-
-type isHealthCheck_HealthChecker interface {
- isHealthCheck_HealthChecker()
-}
-
-type HealthCheck_HttpHealthCheck_ struct {
- // HTTP health check.
- HttpHealthCheck *HealthCheck_HttpHealthCheck `protobuf:"bytes,8,opt,name=http_health_check,json=httpHealthCheck,proto3,oneof"`
-}
-
-type HealthCheck_TcpHealthCheck_ struct {
- // TCP health check.
- TcpHealthCheck *HealthCheck_TcpHealthCheck `protobuf:"bytes,9,opt,name=tcp_health_check,json=tcpHealthCheck,proto3,oneof"`
-}
-
-type HealthCheck_GrpcHealthCheck_ struct {
- // gRPC health check.
- GrpcHealthCheck *HealthCheck_GrpcHealthCheck `protobuf:"bytes,11,opt,name=grpc_health_check,json=grpcHealthCheck,proto3,oneof"`
-}
-
-type HealthCheck_CustomHealthCheck_ struct {
- // Custom health check.
- CustomHealthCheck *HealthCheck_CustomHealthCheck `protobuf:"bytes,13,opt,name=custom_health_check,json=customHealthCheck,proto3,oneof"`
-}
-
-func (*HealthCheck_HttpHealthCheck_) isHealthCheck_HealthChecker() {}
-
-func (*HealthCheck_TcpHealthCheck_) isHealthCheck_HealthChecker() {}
-
-func (*HealthCheck_GrpcHealthCheck_) isHealthCheck_HealthChecker() {}
-
-func (*HealthCheck_CustomHealthCheck_) isHealthCheck_HealthChecker() {}
-
-// Describes the encoding of the payload bytes in the payload.
-type HealthCheck_Payload struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Payload:
- // *HealthCheck_Payload_Text
- // *HealthCheck_Payload_Binary
- Payload isHealthCheck_Payload_Payload `protobuf_oneof:"payload"`
-}
-
-func (x *HealthCheck_Payload) Reset() {
- *x = HealthCheck_Payload{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_Payload) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_Payload) ProtoMessage() {}
-
-func (x *HealthCheck_Payload) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_Payload.ProtoReflect.Descriptor instead.
-func (*HealthCheck_Payload) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload {
- if m != nil {
- return m.Payload
- }
- return nil
-}
-
-func (x *HealthCheck_Payload) GetText() string {
- if x, ok := x.GetPayload().(*HealthCheck_Payload_Text); ok {
- return x.Text
- }
- return ""
-}
-
-func (x *HealthCheck_Payload) GetBinary() []byte {
- if x, ok := x.GetPayload().(*HealthCheck_Payload_Binary); ok {
- return x.Binary
- }
- return nil
-}
-
-type isHealthCheck_Payload_Payload interface {
- isHealthCheck_Payload_Payload()
-}
-
-type HealthCheck_Payload_Text struct {
- // Hex encoded payload. E.g., "000000FF".
- Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
-}
-
-type HealthCheck_Payload_Binary struct {
- // [#not-implemented-hide:] Binary payload.
- Binary []byte `protobuf:"bytes,2,opt,name=binary,proto3,oneof"`
-}
-
-func (*HealthCheck_Payload_Text) isHealthCheck_Payload_Payload() {}
-
-func (*HealthCheck_Payload_Binary) isHealthCheck_Payload_Payload() {}
-
-// [#next-free-field: 12]
-type HealthCheck_HttpHealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The value of the host header in the HTTP health check request. If
- // left empty (default value), the name of the cluster this health check is associated
- // with will be used. The host header can be customized for a specific endpoint by setting the
- // :ref:`hostname ` field.
- Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
- // Specifies the HTTP path that will be requested during health checking. For example
- // */healthcheck*.
- Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
- // [#not-implemented-hide:] HTTP specific payload.
- Send *HealthCheck_Payload `protobuf:"bytes,3,opt,name=send,proto3" json:"send,omitempty"`
- // [#not-implemented-hide:] HTTP specific response.
- Receive *HealthCheck_Payload `protobuf:"bytes,4,opt,name=receive,proto3" json:"receive,omitempty"`
- // An optional service name parameter which is used to validate the identity of
- // the health checked cluster. See the :ref:`architecture overview
- // ` for more information.
- //
- // .. attention::
- //
- // This field has been deprecated in favor of `service_name_matcher` for better flexibility
- // over matching with service-cluster name.
- //
- // Deprecated: Do not use.
- ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
- // Specifies a list of HTTP headers that should be added to each request that is sent to the
- // health checked cluster. For more information, including details on header value syntax, see
- // the documentation on :ref:`custom request headers
- // `.
- RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
- // Specifies a list of HTTP headers that should be removed from each request that is sent to the
- // health checked cluster.
- RequestHeadersToRemove []string `protobuf:"bytes,8,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"`
- // If set, health checks will be made using http/2.
- // Deprecated, use :ref:`codec_client_type
- // ` instead.
- //
- // Deprecated: Do not use.
- UseHttp2 bool `protobuf:"varint,7,opt,name=use_http2,json=useHttp2,proto3" json:"use_http2,omitempty"`
- // Specifies a list of HTTP response statuses considered healthy. If provided, replaces default
- // 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open
- // semantics of :ref:`Int64Range `. The start and end of each
- // range are required. Only statuses in the range [100, 600) are allowed.
- ExpectedStatuses []*_type.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"`
- // Use specified application protocol for health checks.
- CodecClientType _type.CodecClientType `protobuf:"varint,10,opt,name=codec_client_type,json=codecClientType,proto3,enum=envoy.type.CodecClientType" json:"codec_client_type,omitempty"`
- // An optional service name parameter which is used to validate the identity of
- // the health checked cluster using a :ref:`StringMatcher
- // `. See the :ref:`architecture overview
- // ` for more information.
- ServiceNameMatcher *matcher.StringMatcher `protobuf:"bytes,11,opt,name=service_name_matcher,json=serviceNameMatcher,proto3" json:"service_name_matcher,omitempty"`
-}
-
-func (x *HealthCheck_HttpHealthCheck) Reset() {
- *x = HealthCheck_HttpHealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_HttpHealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_HttpHealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck_HttpHealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_HttpHealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck_HttpHealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 1}
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetHost() string {
- if x != nil {
- return x.Host
- }
- return ""
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetPath() string {
- if x != nil {
- return x.Path
- }
- return ""
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetSend() *HealthCheck_Payload {
- if x != nil {
- return x.Send
- }
- return nil
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetReceive() *HealthCheck_Payload {
- if x != nil {
- return x.Receive
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *HealthCheck_HttpHealthCheck) GetServiceName() string {
- if x != nil {
- return x.ServiceName
- }
- return ""
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd() []*HeaderValueOption {
- if x != nil {
- return x.RequestHeadersToAdd
- }
- return nil
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove() []string {
- if x != nil {
- return x.RequestHeadersToRemove
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *HealthCheck_HttpHealthCheck) GetUseHttp2() bool {
- if x != nil {
- return x.UseHttp2
- }
- return false
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetExpectedStatuses() []*_type.Int64Range {
- if x != nil {
- return x.ExpectedStatuses
- }
- return nil
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetCodecClientType() _type.CodecClientType {
- if x != nil {
- return x.CodecClientType
- }
- return _type.CodecClientType(0)
-}
-
-func (x *HealthCheck_HttpHealthCheck) GetServiceNameMatcher() *matcher.StringMatcher {
- if x != nil {
- return x.ServiceNameMatcher
- }
- return nil
-}
-
-type HealthCheck_TcpHealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Empty payloads imply a connect-only health check.
- Send *HealthCheck_Payload `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"`
- // When checking the response, “fuzzy” matching is performed such that each
- // binary block must be found, and in the order specified, but not
- // necessarily contiguous.
- Receive []*HealthCheck_Payload `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"`
-}
-
-func (x *HealthCheck_TcpHealthCheck) Reset() {
- *x = HealthCheck_TcpHealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_TcpHealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_TcpHealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck_TcpHealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_TcpHealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck_TcpHealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 2}
-}
-
-func (x *HealthCheck_TcpHealthCheck) GetSend() *HealthCheck_Payload {
- if x != nil {
- return x.Send
- }
- return nil
-}
-
-func (x *HealthCheck_TcpHealthCheck) GetReceive() []*HealthCheck_Payload {
- if x != nil {
- return x.Receive
- }
- return nil
-}
-
-type HealthCheck_RedisHealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // If set, optionally perform ``EXISTS `` instead of ``PING``. A return value
- // from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
- // than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
- // by setting the specified key to any value and waiting for traffic to drain.
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
-}
-
-func (x *HealthCheck_RedisHealthCheck) Reset() {
- *x = HealthCheck_RedisHealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_RedisHealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_RedisHealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck_RedisHealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_RedisHealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck_RedisHealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 3}
-}
-
-func (x *HealthCheck_RedisHealthCheck) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
-}
-
-// `grpc.health.v1.Health
-// `_-based
-// healthcheck. See `gRPC doc `_
-// for details.
-type HealthCheck_GrpcHealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // An optional service name parameter which will be sent to gRPC service in
- // `grpc.health.v1.HealthCheckRequest
- // `_.
- // message. See `gRPC health-checking overview
- // `_ for more information.
- ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
- // The value of the :authority header in the gRPC health check request. If
- // left empty (default value), the name of the cluster this health check is associated
- // with will be used. The authority header can be customized for a specific endpoint by setting
- // the :ref:`hostname ` field.
- Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
-}
-
-func (x *HealthCheck_GrpcHealthCheck) Reset() {
- *x = HealthCheck_GrpcHealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_GrpcHealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_GrpcHealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck_GrpcHealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_GrpcHealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck_GrpcHealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 4}
-}
-
-func (x *HealthCheck_GrpcHealthCheck) GetServiceName() string {
- if x != nil {
- return x.ServiceName
- }
- return ""
-}
-
-func (x *HealthCheck_GrpcHealthCheck) GetAuthority() string {
- if x != nil {
- return x.Authority
- }
- return ""
-}
-
-// Custom health check.
-type HealthCheck_CustomHealthCheck struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The registered name of the custom health checker.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // A custom health checker specific configuration which depends on the custom health checker
- // being instantiated. See :api:`envoy/config/health_checker` for reference.
- //
- // Types that are assignable to ConfigType:
- // *HealthCheck_CustomHealthCheck_Config
- // *HealthCheck_CustomHealthCheck_TypedConfig
- ConfigType isHealthCheck_CustomHealthCheck_ConfigType `protobuf_oneof:"config_type"`
-}
-
-func (x *HealthCheck_CustomHealthCheck) Reset() {
- *x = HealthCheck_CustomHealthCheck{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_CustomHealthCheck) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_CustomHealthCheck) ProtoMessage() {}
-
-func (x *HealthCheck_CustomHealthCheck) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_CustomHealthCheck.ProtoReflect.Descriptor instead.
-func (*HealthCheck_CustomHealthCheck) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 5}
-}
-
-func (x *HealthCheck_CustomHealthCheck) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType {
- if m != nil {
- return m.ConfigType
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *HealthCheck_CustomHealthCheck) GetConfig() *_struct.Struct {
- if x, ok := x.GetConfigType().(*HealthCheck_CustomHealthCheck_Config); ok {
- return x.Config
- }
- return nil
-}
-
-func (x *HealthCheck_CustomHealthCheck) GetTypedConfig() *any.Any {
- if x, ok := x.GetConfigType().(*HealthCheck_CustomHealthCheck_TypedConfig); ok {
- return x.TypedConfig
- }
- return nil
-}
-
-type isHealthCheck_CustomHealthCheck_ConfigType interface {
- isHealthCheck_CustomHealthCheck_ConfigType()
-}
-
-type HealthCheck_CustomHealthCheck_Config struct {
- // Deprecated: Do not use.
- Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
-}
-
-type HealthCheck_CustomHealthCheck_TypedConfig struct {
- TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
-}
-
-func (*HealthCheck_CustomHealthCheck_Config) isHealthCheck_CustomHealthCheck_ConfigType() {}
-
-func (*HealthCheck_CustomHealthCheck_TypedConfig) isHealthCheck_CustomHealthCheck_ConfigType() {}
-
-// Health checks occur over the transport socket specified for the cluster. This implies that if a
-// cluster is using a TLS-enabled transport socket, the health check will also occur over TLS.
-//
-// This allows overriding the cluster TLS settings, just for health check connections.
-type HealthCheck_TlsOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Specifies the ALPN protocols for health check connections. This is useful if the
- // corresponding upstream is using ALPN-based :ref:`FilterChainMatch
- // ` along with different protocols for health checks
- // versus data connections. If empty, no ALPN protocols will be set on health check connections.
- AlpnProtocols []string `protobuf:"bytes,1,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
-}
-
-func (x *HealthCheck_TlsOptions) Reset() {
- *x = HealthCheck_TlsOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HealthCheck_TlsOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HealthCheck_TlsOptions) ProtoMessage() {}
-
-func (x *HealthCheck_TlsOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_health_check_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HealthCheck_TlsOptions.ProtoReflect.Descriptor instead.
-func (*HealthCheck_TlsOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_health_check_proto_rawDescGZIP(), []int{0, 6}
-}
-
-func (x *HealthCheck_TlsOptions) GetAlpnProtocols() []string {
- if x != nil {
- return x.AlpnProtocols
- }
- return nil
-}
-
-var File_envoy_api_v2_core_health_check_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_health_check_proto_rawDesc = []byte{
- 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61,
- 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70,
- 0x65, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
- 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
- 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x16, 0x0a, 0x0b,
- 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x07, 0x74,
- 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, 0x08,
- 0x01, 0x2a, 0x00, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x41, 0x0a, 0x08,
- 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01,
- 0x04, 0x08, 0x01, 0x2a, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12,
- 0x40, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6a, 0x69, 0x74, 0x74, 0x65,
- 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4a, 0x69, 0x74, 0x74, 0x65,
- 0x72, 0x12, 0x42, 0x0a, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6a, 0x69,
- 0x74, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4a,
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
- 0x6c, 0x5f, 0x6a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
- 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
- 0x4a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a,
- 0x13, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73,
- 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e,
- 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
- 0x10, 0x01, 0x52, 0x12, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x54, 0x68, 0x72,
- 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x53, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
- 0x79, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x10, 0x68, 0x65, 0x61, 0x6c, 0x74,
- 0x68, 0x79, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x61,
- 0x6c, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x61, 0x6c, 0x74,
- 0x50, 0x6f, 0x72, 0x74, 0x12, 0x45, 0x0a, 0x10, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f,
- 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x75, 0x73,
- 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x11, 0x68,
- 0x74, 0x74, 0x70, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74,
- 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74,
- 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x68, 0x74, 0x74, 0x70, 0x48, 0x65,
- 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x59, 0x0a, 0x10, 0x74, 0x63, 0x70,
- 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
- 0x65, 0x63, 0x6b, 0x2e, 0x54, 0x63, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x63, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x12, 0x5c, 0x0a, 0x11, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x68, 0x65, 0x61,
- 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e,
- 0x47, 0x72, 0x70, 0x63, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x48,
- 0x00, 0x52, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x12, 0x62, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x68, 0x65, 0x61,
- 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x30, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e,
- 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
- 0x6b, 0x48, 0x00, 0x52, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74,
- 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 0x74, 0x72, 0x61,
- 0x66, 0x66, 0x69, 0x63, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0c, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x11, 0x6e, 0x6f, 0x54, 0x72, 0x61, 0x66,
- 0x66, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x12, 0x75,
- 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
- 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x11, 0x75, 0x6e,
- 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12,
- 0x5b, 0x0a, 0x17, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x65, 0x64, 0x67,
- 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x15, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79,
- 0x45, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x57, 0x0a, 0x15,
- 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00,
- 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x45, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x74,
- 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6c,
- 0x6f, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4a, 0x0a, 0x0d, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x16, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x20, 0x61, 0x6c, 0x77, 0x61, 0x79,
- 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65,
- 0x63, 0x6b, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x1c, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x4c, 0x6f, 0x67, 0x48, 0x65, 0x61, 0x6c,
- 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12,
- 0x4a, 0x0a, 0x0b, 0x74, 0x6c, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x54, 0x6c, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
- 0x0a, 0x74, 0x6c, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x52, 0x0a, 0x07, 0x50,
- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1d, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x48, 0x00, 0x52,
- 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x42,
- 0x0e, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a,
- 0x9c, 0x05, 0x0a, 0x0f, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
- 0x65, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04,
- 0x70, 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x64,
- 0x12, 0x40, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
- 0x6b, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69,
- 0x76, 0x65, 0x12, 0x25, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x16, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f,
- 0x61, 0x64, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65,
- 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42,
- 0x09, 0xfa, 0x42, 0x06, 0x92, 0x01, 0x03, 0x10, 0xe8, 0x07, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x12,
- 0x39, 0x0a, 0x19, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x08, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x25, 0x0a, 0x09, 0x75, 0x73,
- 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x42, 0x08, 0x18,
- 0x01, 0xb8, 0xee, 0xf2, 0xd2, 0x05, 0x01, 0x52, 0x08, 0x75, 0x73, 0x65, 0x48, 0x74, 0x74, 0x70,
- 0x32, 0x12, 0x43, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52,
- 0x61, 0x6e, 0x67, 0x65, 0x52, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x11, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x5f,
- 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
- 0x0e, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43,
- 0x6f, 0x64, 0x65, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x43,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x14, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x1a, 0x8e,
- 0x01, 0x0a, 0x0e, 0x54, 0x63, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
- 0x6b, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e,
- 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x64, 0x12, 0x40, 0x0a,
- 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x50,
- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x1a,
- 0x24, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x69, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
- 0x65, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x1a, 0x52, 0x0a, 0x0f, 0x47, 0x72, 0x70, 0x63, 0x48, 0x65, 0x61,
- 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0xb1, 0x01, 0x0a, 0x11, 0x43, 0x75,
- 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12,
- 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
- 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
- 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48,
- 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0d,
- 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x33, 0x0a,
- 0x0a, 0x54, 0x6c, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61,
- 0x6c, 0x70, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x70, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
- 0x6c, 0x73, 0x42, 0x15, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65,
- 0x63, 0x6b, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x2a,
- 0x60, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
- 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
- 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x48,
- 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49,
- 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55,
- 0x54, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x47, 0x52, 0x41, 0x44, 0x45, 0x44, 0x10,
- 0x05, 0x42, 0x93, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
- 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x10, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba,
- 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_health_check_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_health_check_proto_rawDescData = file_envoy_api_v2_core_health_check_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_health_check_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_health_check_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_health_check_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_health_check_proto_rawDescData)
- })
- return file_envoy_api_v2_core_health_check_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_health_check_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_api_v2_core_health_check_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
-var file_envoy_api_v2_core_health_check_proto_goTypes = []interface{}{
- (HealthStatus)(0), // 0: envoy.api.v2.core.HealthStatus
- (*HealthCheck)(nil), // 1: envoy.api.v2.core.HealthCheck
- (*HealthCheck_Payload)(nil), // 2: envoy.api.v2.core.HealthCheck.Payload
- (*HealthCheck_HttpHealthCheck)(nil), // 3: envoy.api.v2.core.HealthCheck.HttpHealthCheck
- (*HealthCheck_TcpHealthCheck)(nil), // 4: envoy.api.v2.core.HealthCheck.TcpHealthCheck
- (*HealthCheck_RedisHealthCheck)(nil), // 5: envoy.api.v2.core.HealthCheck.RedisHealthCheck
- (*HealthCheck_GrpcHealthCheck)(nil), // 6: envoy.api.v2.core.HealthCheck.GrpcHealthCheck
- (*HealthCheck_CustomHealthCheck)(nil), // 7: envoy.api.v2.core.HealthCheck.CustomHealthCheck
- (*HealthCheck_TlsOptions)(nil), // 8: envoy.api.v2.core.HealthCheck.TlsOptions
- (*duration.Duration)(nil), // 9: google.protobuf.Duration
- (*wrappers.UInt32Value)(nil), // 10: google.protobuf.UInt32Value
- (*wrappers.BoolValue)(nil), // 11: google.protobuf.BoolValue
- (*EventServiceConfig)(nil), // 12: envoy.api.v2.core.EventServiceConfig
- (*HeaderValueOption)(nil), // 13: envoy.api.v2.core.HeaderValueOption
- (*_type.Int64Range)(nil), // 14: envoy.type.Int64Range
- (_type.CodecClientType)(0), // 15: envoy.type.CodecClientType
- (*matcher.StringMatcher)(nil), // 16: envoy.type.matcher.StringMatcher
- (*_struct.Struct)(nil), // 17: google.protobuf.Struct
- (*any.Any)(nil), // 18: google.protobuf.Any
-}
-var file_envoy_api_v2_core_health_check_proto_depIdxs = []int32{
- 9, // 0: envoy.api.v2.core.HealthCheck.timeout:type_name -> google.protobuf.Duration
- 9, // 1: envoy.api.v2.core.HealthCheck.interval:type_name -> google.protobuf.Duration
- 9, // 2: envoy.api.v2.core.HealthCheck.initial_jitter:type_name -> google.protobuf.Duration
- 9, // 3: envoy.api.v2.core.HealthCheck.interval_jitter:type_name -> google.protobuf.Duration
- 10, // 4: envoy.api.v2.core.HealthCheck.unhealthy_threshold:type_name -> google.protobuf.UInt32Value
- 10, // 5: envoy.api.v2.core.HealthCheck.healthy_threshold:type_name -> google.protobuf.UInt32Value
- 10, // 6: envoy.api.v2.core.HealthCheck.alt_port:type_name -> google.protobuf.UInt32Value
- 11, // 7: envoy.api.v2.core.HealthCheck.reuse_connection:type_name -> google.protobuf.BoolValue
- 3, // 8: envoy.api.v2.core.HealthCheck.http_health_check:type_name -> envoy.api.v2.core.HealthCheck.HttpHealthCheck
- 4, // 9: envoy.api.v2.core.HealthCheck.tcp_health_check:type_name -> envoy.api.v2.core.HealthCheck.TcpHealthCheck
- 6, // 10: envoy.api.v2.core.HealthCheck.grpc_health_check:type_name -> envoy.api.v2.core.HealthCheck.GrpcHealthCheck
- 7, // 11: envoy.api.v2.core.HealthCheck.custom_health_check:type_name -> envoy.api.v2.core.HealthCheck.CustomHealthCheck
- 9, // 12: envoy.api.v2.core.HealthCheck.no_traffic_interval:type_name -> google.protobuf.Duration
- 9, // 13: envoy.api.v2.core.HealthCheck.unhealthy_interval:type_name -> google.protobuf.Duration
- 9, // 14: envoy.api.v2.core.HealthCheck.unhealthy_edge_interval:type_name -> google.protobuf.Duration
- 9, // 15: envoy.api.v2.core.HealthCheck.healthy_edge_interval:type_name -> google.protobuf.Duration
- 12, // 16: envoy.api.v2.core.HealthCheck.event_service:type_name -> envoy.api.v2.core.EventServiceConfig
- 8, // 17: envoy.api.v2.core.HealthCheck.tls_options:type_name -> envoy.api.v2.core.HealthCheck.TlsOptions
- 2, // 18: envoy.api.v2.core.HealthCheck.HttpHealthCheck.send:type_name -> envoy.api.v2.core.HealthCheck.Payload
- 2, // 19: envoy.api.v2.core.HealthCheck.HttpHealthCheck.receive:type_name -> envoy.api.v2.core.HealthCheck.Payload
- 13, // 20: envoy.api.v2.core.HealthCheck.HttpHealthCheck.request_headers_to_add:type_name -> envoy.api.v2.core.HeaderValueOption
- 14, // 21: envoy.api.v2.core.HealthCheck.HttpHealthCheck.expected_statuses:type_name -> envoy.type.Int64Range
- 15, // 22: envoy.api.v2.core.HealthCheck.HttpHealthCheck.codec_client_type:type_name -> envoy.type.CodecClientType
- 16, // 23: envoy.api.v2.core.HealthCheck.HttpHealthCheck.service_name_matcher:type_name -> envoy.type.matcher.StringMatcher
- 2, // 24: envoy.api.v2.core.HealthCheck.TcpHealthCheck.send:type_name -> envoy.api.v2.core.HealthCheck.Payload
- 2, // 25: envoy.api.v2.core.HealthCheck.TcpHealthCheck.receive:type_name -> envoy.api.v2.core.HealthCheck.Payload
- 17, // 26: envoy.api.v2.core.HealthCheck.CustomHealthCheck.config:type_name -> google.protobuf.Struct
- 18, // 27: envoy.api.v2.core.HealthCheck.CustomHealthCheck.typed_config:type_name -> google.protobuf.Any
- 28, // [28:28] is the sub-list for method output_type
- 28, // [28:28] is the sub-list for method input_type
- 28, // [28:28] is the sub-list for extension type_name
- 28, // [28:28] is the sub-list for extension extendee
- 0, // [0:28] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_health_check_proto_init() }
-func file_envoy_api_v2_core_health_check_proto_init() {
- if File_envoy_api_v2_core_health_check_proto != nil {
- return
- }
- file_envoy_api_v2_core_base_proto_init()
- file_envoy_api_v2_core_event_service_config_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_health_check_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_Payload); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_HttpHealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_TcpHealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_RedisHealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_GrpcHealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_CustomHealthCheck); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HealthCheck_TlsOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*HealthCheck_HttpHealthCheck_)(nil),
- (*HealthCheck_TcpHealthCheck_)(nil),
- (*HealthCheck_GrpcHealthCheck_)(nil),
- (*HealthCheck_CustomHealthCheck_)(nil),
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*HealthCheck_Payload_Text)(nil),
- (*HealthCheck_Payload_Binary)(nil),
- }
- file_envoy_api_v2_core_health_check_proto_msgTypes[6].OneofWrappers = []interface{}{
- (*HealthCheck_CustomHealthCheck_Config)(nil),
- (*HealthCheck_CustomHealthCheck_TypedConfig)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_health_check_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 8,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_health_check_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_health_check_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_health_check_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_health_check_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_health_check_proto = out.File
- file_envoy_api_v2_core_health_check_proto_rawDesc = nil
- file_envoy_api_v2_core_health_check_proto_goTypes = nil
- file_envoy_api_v2_core_health_check_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.validate.go
deleted file mode 100644
index 3f1ca4dba6..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/health_check.pb.validate.go
+++ /dev/null
@@ -1,1827 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/health_check.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-
- _type "github.com/envoyproxy/go-control-plane/envoy/type"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-
- _ = _type.CodecClientType(0)
-)
-
-// Validate checks the field values on HealthCheck with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in HealthCheckMultiError, or
-// nil if none found.
-func (m *HealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetTimeout() == nil {
- err := HealthCheckValidationError{
- field: "Timeout",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if d := m.GetTimeout(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "Timeout",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "Timeout",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if m.GetInterval() == nil {
- err := HealthCheckValidationError{
- field: "Interval",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if d := m.GetInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "Interval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "Interval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if all {
- switch v := interface{}(m.GetInitialJitter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "InitialJitter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "InitialJitter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetInitialJitter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "InitialJitter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetIntervalJitter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "IntervalJitter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "IntervalJitter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetIntervalJitter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "IntervalJitter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for IntervalJitterPercent
-
- if m.GetUnhealthyThreshold() == nil {
- err := HealthCheckValidationError{
- field: "UnhealthyThreshold",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetUnhealthyThreshold()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "UnhealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "UnhealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetUnhealthyThreshold()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "UnhealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if m.GetHealthyThreshold() == nil {
- err := HealthCheckValidationError{
- field: "HealthyThreshold",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetHealthyThreshold()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "HealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "HealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHealthyThreshold()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "HealthyThreshold",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetAltPort()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "AltPort",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "AltPort",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAltPort()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "AltPort",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetReuseConnection()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "ReuseConnection",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "ReuseConnection",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetReuseConnection()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "ReuseConnection",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if d := m.GetNoTrafficInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "NoTrafficInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "NoTrafficInterval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if d := m.GetUnhealthyInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "UnhealthyInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "UnhealthyInterval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if d := m.GetUnhealthyEdgeInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "UnhealthyEdgeInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "UnhealthyEdgeInterval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if d := m.GetHealthyEdgeInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HealthCheckValidationError{
- field: "HealthyEdgeInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gt := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur <= gt {
- err := HealthCheckValidationError{
- field: "HealthyEdgeInterval",
- reason: "value must be greater than 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- // no validation rules for EventLogPath
-
- if all {
- switch v := interface{}(m.GetEventService()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetEventService()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for AlwaysLogHealthCheckFailures
-
- if all {
- switch v := interface{}(m.GetTlsOptions()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "TlsOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "TlsOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTlsOptions()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "TlsOptions",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.HealthChecker.(type) {
-
- case *HealthCheck_HttpHealthCheck_:
-
- if all {
- switch v := interface{}(m.GetHttpHealthCheck()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "HttpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "HttpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHttpHealthCheck()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "HttpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *HealthCheck_TcpHealthCheck_:
-
- if all {
- switch v := interface{}(m.GetTcpHealthCheck()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "TcpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "TcpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTcpHealthCheck()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "TcpHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *HealthCheck_GrpcHealthCheck_:
-
- if all {
- switch v := interface{}(m.GetGrpcHealthCheck()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "GrpcHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "GrpcHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGrpcHealthCheck()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "GrpcHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *HealthCheck_CustomHealthCheck_:
-
- if all {
- switch v := interface{}(m.GetCustomHealthCheck()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "CustomHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheckValidationError{
- field: "CustomHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCustomHealthCheck()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheckValidationError{
- field: "CustomHealthCheck",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := HealthCheckValidationError{
- field: "HealthChecker",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return HealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheckMultiError is an error wrapping multiple validation errors
-// returned by HealthCheck.ValidateAll() if the designated constraints aren't met.
-type HealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheckValidationError is the validation error returned by
-// HealthCheck.Validate if the designated constraints aren't met.
-type HealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheckValidationError) ErrorName() string { return "HealthCheckValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_Payload with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_Payload) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_Payload with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_PayloadMultiError, or nil if none found.
-func (m *HealthCheck_Payload) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_Payload) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.Payload.(type) {
-
- case *HealthCheck_Payload_Text:
-
- if len(m.GetText()) < 1 {
- err := HealthCheck_PayloadValidationError{
- field: "Text",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- case *HealthCheck_Payload_Binary:
- // no validation rules for Binary
-
- default:
- err := HealthCheck_PayloadValidationError{
- field: "Payload",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return HealthCheck_PayloadMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_PayloadMultiError is an error wrapping multiple validation
-// errors returned by HealthCheck_Payload.ValidateAll() if the designated
-// constraints aren't met.
-type HealthCheck_PayloadMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_PayloadMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_PayloadMultiError) AllErrors() []error { return m }
-
-// HealthCheck_PayloadValidationError is the validation error returned by
-// HealthCheck_Payload.Validate if the designated constraints aren't met.
-type HealthCheck_PayloadValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_PayloadValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_PayloadValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_PayloadValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_PayloadValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_PayloadValidationError) ErrorName() string {
- return "HealthCheck_PayloadValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_PayloadValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_Payload.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_PayloadValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_PayloadValidationError{}
-
-// Validate checks the field values on HealthCheck_HttpHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_HttpHealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_HttpHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_HttpHealthCheckMultiError, or nil if none found.
-func (m *HealthCheck_HttpHealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_HttpHealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Host
-
- if len(m.GetPath()) < 1 {
- err := HealthCheck_HttpHealthCheckValidationError{
- field: "Path",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetSend()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSend()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_HttpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetReceive()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "Receive",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "Receive",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetReceive()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_HttpHealthCheckValidationError{
- field: "Receive",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for ServiceName
-
- if len(m.GetRequestHeadersToAdd()) > 1000 {
- err := HealthCheck_HttpHealthCheckValidationError{
- field: "RequestHeadersToAdd",
- reason: "value must contain no more than 1000 item(s)",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- for idx, item := range m.GetRequestHeadersToAdd() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("RequestHeadersToAdd[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("RequestHeadersToAdd[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("RequestHeadersToAdd[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- // no validation rules for UseHttp2
-
- for idx, item := range m.GetExpectedStatuses() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("ExpectedStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("ExpectedStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_HttpHealthCheckValidationError{
- field: fmt.Sprintf("ExpectedStatuses[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if _, ok := _type.CodecClientType_name[int32(m.GetCodecClientType())]; !ok {
- err := HealthCheck_HttpHealthCheckValidationError{
- field: "CodecClientType",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetServiceNameMatcher()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "ServiceNameMatcher",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_HttpHealthCheckValidationError{
- field: "ServiceNameMatcher",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetServiceNameMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_HttpHealthCheckValidationError{
- field: "ServiceNameMatcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return HealthCheck_HttpHealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_HttpHealthCheckMultiError is an error wrapping multiple
-// validation errors returned by HealthCheck_HttpHealthCheck.ValidateAll() if
-// the designated constraints aren't met.
-type HealthCheck_HttpHealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_HttpHealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_HttpHealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheck_HttpHealthCheckValidationError is the validation error returned
-// by HealthCheck_HttpHealthCheck.Validate if the designated constraints
-// aren't met.
-type HealthCheck_HttpHealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_HttpHealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_HttpHealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_HttpHealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_HttpHealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_HttpHealthCheckValidationError) ErrorName() string {
- return "HealthCheck_HttpHealthCheckValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_HttpHealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_HttpHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_HttpHealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_HttpHealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_TcpHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_TcpHealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_TcpHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_TcpHealthCheckMultiError, or nil if none found.
-func (m *HealthCheck_TcpHealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_TcpHealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetSend()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_TcpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_TcpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetSend()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_TcpHealthCheckValidationError{
- field: "Send",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetReceive() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_TcpHealthCheckValidationError{
- field: fmt.Sprintf("Receive[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_TcpHealthCheckValidationError{
- field: fmt.Sprintf("Receive[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_TcpHealthCheckValidationError{
- field: fmt.Sprintf("Receive[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return HealthCheck_TcpHealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_TcpHealthCheckMultiError is an error wrapping multiple
-// validation errors returned by HealthCheck_TcpHealthCheck.ValidateAll() if
-// the designated constraints aren't met.
-type HealthCheck_TcpHealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_TcpHealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_TcpHealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheck_TcpHealthCheckValidationError is the validation error returned
-// by HealthCheck_TcpHealthCheck.Validate if the designated constraints aren't met.
-type HealthCheck_TcpHealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_TcpHealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_TcpHealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_TcpHealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_TcpHealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_TcpHealthCheckValidationError) ErrorName() string {
- return "HealthCheck_TcpHealthCheckValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_TcpHealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_TcpHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_TcpHealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_TcpHealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_RedisHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_RedisHealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_RedisHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_RedisHealthCheckMultiError, or nil if none found.
-func (m *HealthCheck_RedisHealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_RedisHealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Key
-
- if len(errors) > 0 {
- return HealthCheck_RedisHealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_RedisHealthCheckMultiError is an error wrapping multiple
-// validation errors returned by HealthCheck_RedisHealthCheck.ValidateAll() if
-// the designated constraints aren't met.
-type HealthCheck_RedisHealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_RedisHealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_RedisHealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheck_RedisHealthCheckValidationError is the validation error returned
-// by HealthCheck_RedisHealthCheck.Validate if the designated constraints
-// aren't met.
-type HealthCheck_RedisHealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_RedisHealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_RedisHealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_RedisHealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_RedisHealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_RedisHealthCheckValidationError) ErrorName() string {
- return "HealthCheck_RedisHealthCheckValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_RedisHealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_RedisHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_RedisHealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_RedisHealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_GrpcHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_GrpcHealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_GrpcHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_GrpcHealthCheckMultiError, or nil if none found.
-func (m *HealthCheck_GrpcHealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_GrpcHealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for ServiceName
-
- // no validation rules for Authority
-
- if len(errors) > 0 {
- return HealthCheck_GrpcHealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_GrpcHealthCheckMultiError is an error wrapping multiple
-// validation errors returned by HealthCheck_GrpcHealthCheck.ValidateAll() if
-// the designated constraints aren't met.
-type HealthCheck_GrpcHealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_GrpcHealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_GrpcHealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheck_GrpcHealthCheckValidationError is the validation error returned
-// by HealthCheck_GrpcHealthCheck.Validate if the designated constraints
-// aren't met.
-type HealthCheck_GrpcHealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_GrpcHealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_GrpcHealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_GrpcHealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_GrpcHealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_GrpcHealthCheckValidationError) ErrorName() string {
- return "HealthCheck_GrpcHealthCheckValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_GrpcHealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_GrpcHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_GrpcHealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_GrpcHealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_CustomHealthCheck with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_CustomHealthCheck) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_CustomHealthCheck with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// HealthCheck_CustomHealthCheckMultiError, or nil if none found.
-func (m *HealthCheck_CustomHealthCheck) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_CustomHealthCheck) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetName()) < 1 {
- err := HealthCheck_CustomHealthCheckValidationError{
- field: "Name",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- switch m.ConfigType.(type) {
-
- case *HealthCheck_CustomHealthCheck_Config:
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_CustomHealthCheckValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_CustomHealthCheckValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_CustomHealthCheckValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *HealthCheck_CustomHealthCheck_TypedConfig:
-
- if all {
- switch v := interface{}(m.GetTypedConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HealthCheck_CustomHealthCheckValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HealthCheck_CustomHealthCheckValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HealthCheck_CustomHealthCheckValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return HealthCheck_CustomHealthCheckMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_CustomHealthCheckMultiError is an error wrapping multiple
-// validation errors returned by HealthCheck_CustomHealthCheck.ValidateAll()
-// if the designated constraints aren't met.
-type HealthCheck_CustomHealthCheckMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_CustomHealthCheckMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_CustomHealthCheckMultiError) AllErrors() []error { return m }
-
-// HealthCheck_CustomHealthCheckValidationError is the validation error
-// returned by HealthCheck_CustomHealthCheck.Validate if the designated
-// constraints aren't met.
-type HealthCheck_CustomHealthCheckValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_CustomHealthCheckValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_CustomHealthCheckValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_CustomHealthCheckValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_CustomHealthCheckValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_CustomHealthCheckValidationError) ErrorName() string {
- return "HealthCheck_CustomHealthCheckValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_CustomHealthCheckValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_CustomHealthCheck.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_CustomHealthCheckValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_CustomHealthCheckValidationError{}
-
-// Validate checks the field values on HealthCheck_TlsOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HealthCheck_TlsOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HealthCheck_TlsOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HealthCheck_TlsOptionsMultiError, or nil if none found.
-func (m *HealthCheck_TlsOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HealthCheck_TlsOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return HealthCheck_TlsOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// HealthCheck_TlsOptionsMultiError is an error wrapping multiple validation
-// errors returned by HealthCheck_TlsOptions.ValidateAll() if the designated
-// constraints aren't met.
-type HealthCheck_TlsOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HealthCheck_TlsOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HealthCheck_TlsOptionsMultiError) AllErrors() []error { return m }
-
-// HealthCheck_TlsOptionsValidationError is the validation error returned by
-// HealthCheck_TlsOptions.Validate if the designated constraints aren't met.
-type HealthCheck_TlsOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HealthCheck_TlsOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HealthCheck_TlsOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HealthCheck_TlsOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HealthCheck_TlsOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HealthCheck_TlsOptionsValidationError) ErrorName() string {
- return "HealthCheck_TlsOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HealthCheck_TlsOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHealthCheck_TlsOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HealthCheck_TlsOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HealthCheck_TlsOptionsValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.go
deleted file mode 100644
index 63c338caf0..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.go
+++ /dev/null
@@ -1,234 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/http_uri.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- duration "github.com/golang/protobuf/ptypes/duration"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Envoy external URI descriptor
-type HttpUri struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The HTTP server URI. It should be a full FQDN with protocol, host and path.
- //
- // Example:
- //
- // .. code-block:: yaml
- //
- // uri: https://www.googleapis.com/oauth2/v1/certs
- //
- Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
- // Specify how `uri` is to be fetched. Today, this requires an explicit
- // cluster, but in the future we may support dynamic cluster creation or
- // inline DNS resolution. See `issue
- // `_.
- //
- // Types that are assignable to HttpUpstreamType:
- // *HttpUri_Cluster
- HttpUpstreamType isHttpUri_HttpUpstreamType `protobuf_oneof:"http_upstream_type"`
- // Sets the maximum duration in milliseconds that a response can take to arrive upon request.
- Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
-}
-
-func (x *HttpUri) Reset() {
- *x = HttpUri{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_http_uri_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HttpUri) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HttpUri) ProtoMessage() {}
-
-func (x *HttpUri) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_http_uri_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HttpUri.ProtoReflect.Descriptor instead.
-func (*HttpUri) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_http_uri_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *HttpUri) GetUri() string {
- if x != nil {
- return x.Uri
- }
- return ""
-}
-
-func (m *HttpUri) GetHttpUpstreamType() isHttpUri_HttpUpstreamType {
- if m != nil {
- return m.HttpUpstreamType
- }
- return nil
-}
-
-func (x *HttpUri) GetCluster() string {
- if x, ok := x.GetHttpUpstreamType().(*HttpUri_Cluster); ok {
- return x.Cluster
- }
- return ""
-}
-
-func (x *HttpUri) GetTimeout() *duration.Duration {
- if x != nil {
- return x.Timeout
- }
- return nil
-}
-
-type isHttpUri_HttpUpstreamType interface {
- isHttpUri_HttpUpstreamType()
-}
-
-type HttpUri_Cluster struct {
- // A cluster is created in the Envoy "cluster_manager" config
- // section. This field specifies the cluster name.
- //
- // Example:
- //
- // .. code-block:: yaml
- //
- // cluster: jwks_cluster
- //
- Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"`
-}
-
-func (*HttpUri_Cluster) isHttpUri_HttpUpstreamType() {}
-
-var File_envoy_api_v2_core_http_uri_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_http_uri_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x69, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01,
- 0x0a, 0x07, 0x48, 0x74, 0x74, 0x70, 0x55, 0x72, 0x69, 0x12, 0x19, 0x0a, 0x03, 0x75, 0x72, 0x69,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52,
- 0x03, 0x75, 0x72, 0x69, 0x12, 0x23, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x48, 0x00,
- 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x07, 0x74, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, 0x08, 0x01, 0x32,
- 0x00, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x19, 0x0a, 0x12, 0x68, 0x74,
- 0x74, 0x70, 0x5f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x8f, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0c, 0x48, 0x74, 0x74, 0x70, 0x55,
- 0x72, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba,
- 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_http_uri_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_http_uri_proto_rawDescData = file_envoy_api_v2_core_http_uri_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_http_uri_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_http_uri_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_http_uri_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_http_uri_proto_rawDescData)
- })
- return file_envoy_api_v2_core_http_uri_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_http_uri_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_api_v2_core_http_uri_proto_goTypes = []interface{}{
- (*HttpUri)(nil), // 0: envoy.api.v2.core.HttpUri
- (*duration.Duration)(nil), // 1: google.protobuf.Duration
-}
-var file_envoy_api_v2_core_http_uri_proto_depIdxs = []int32{
- 1, // 0: envoy.api.v2.core.HttpUri.timeout:type_name -> google.protobuf.Duration
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_http_uri_proto_init() }
-func file_envoy_api_v2_core_http_uri_proto_init() {
- if File_envoy_api_v2_core_http_uri_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_http_uri_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HttpUri); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_http_uri_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*HttpUri_Cluster)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_http_uri_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_http_uri_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_http_uri_proto_depIdxs,
- MessageInfos: file_envoy_api_v2_core_http_uri_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_http_uri_proto = out.File
- file_envoy_api_v2_core_http_uri_proto_rawDesc = nil
- file_envoy_api_v2_core_http_uri_proto_goTypes = nil
- file_envoy_api_v2_core_http_uri_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.validate.go
deleted file mode 100644
index 35c1542cce..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/http_uri.pb.validate.go
+++ /dev/null
@@ -1,213 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/http_uri.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on HttpUri with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HttpUri) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HttpUri with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in HttpUriMultiError, or nil if none found.
-func (m *HttpUri) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HttpUri) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetUri()) < 1 {
- err := HttpUriValidationError{
- field: "Uri",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if m.GetTimeout() == nil {
- err := HttpUriValidationError{
- field: "Timeout",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if d := m.GetTimeout(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = HttpUriValidationError{
- field: "Timeout",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gte := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur < gte {
- err := HttpUriValidationError{
- field: "Timeout",
- reason: "value must be greater than or equal to 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- switch m.HttpUpstreamType.(type) {
-
- case *HttpUri_Cluster:
-
- if len(m.GetCluster()) < 1 {
- err := HttpUriValidationError{
- field: "Cluster",
- reason: "value length must be at least 1 bytes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- default:
- err := HttpUriValidationError{
- field: "HttpUpstreamType",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return HttpUriMultiError(errors)
- }
-
- return nil
-}
-
-// HttpUriMultiError is an error wrapping multiple validation errors returned
-// by HttpUri.ValidateAll() if the designated constraints aren't met.
-type HttpUriMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HttpUriMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HttpUriMultiError) AllErrors() []error { return m }
-
-// HttpUriValidationError is the validation error returned by HttpUri.Validate
-// if the designated constraints aren't met.
-type HttpUriValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HttpUriValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HttpUriValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HttpUriValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HttpUriValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HttpUriValidationError) ErrorName() string { return "HttpUriValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HttpUriValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttpUri.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HttpUriValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HttpUriValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.go
deleted file mode 100644
index fd43928b89..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.go
+++ /dev/null
@@ -1,1255 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/protocol.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- duration "github.com/golang/protobuf/ptypes/duration"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Action to take when Envoy receives client request with header names containing underscore
-// characters.
-// Underscore character is allowed in header names by the RFC-7230 and this behavior is implemented
-// as a security measure due to systems that treat '_' and '-' as interchangeable. Envoy by default allows client request headers with underscore
-// characters.
-type HttpProtocolOptions_HeadersWithUnderscoresAction int32
-
-const (
- // Allow headers with underscores. This is the default behavior.
- HttpProtocolOptions_ALLOW HttpProtocolOptions_HeadersWithUnderscoresAction = 0
- // Reject client request. HTTP/1 requests are rejected with the 400 status. HTTP/2 requests
- // end with the stream reset. The "httpN.requests_rejected_with_underscores_in_headers" counter
- // is incremented for each rejected request.
- HttpProtocolOptions_REJECT_REQUEST HttpProtocolOptions_HeadersWithUnderscoresAction = 1
- // Drop the header with name containing underscores. The header is dropped before the filter chain is
- // invoked and as such filters will not see dropped headers. The
- // "httpN.dropped_headers_with_underscores" is incremented for each dropped header.
- HttpProtocolOptions_DROP_HEADER HttpProtocolOptions_HeadersWithUnderscoresAction = 2
-)
-
-// Enum value maps for HttpProtocolOptions_HeadersWithUnderscoresAction.
-var (
- HttpProtocolOptions_HeadersWithUnderscoresAction_name = map[int32]string{
- 0: "ALLOW",
- 1: "REJECT_REQUEST",
- 2: "DROP_HEADER",
- }
- HttpProtocolOptions_HeadersWithUnderscoresAction_value = map[string]int32{
- "ALLOW": 0,
- "REJECT_REQUEST": 1,
- "DROP_HEADER": 2,
- }
-)
-
-func (x HttpProtocolOptions_HeadersWithUnderscoresAction) Enum() *HttpProtocolOptions_HeadersWithUnderscoresAction {
- p := new(HttpProtocolOptions_HeadersWithUnderscoresAction)
- *p = x
- return p
-}
-
-func (x HttpProtocolOptions_HeadersWithUnderscoresAction) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (HttpProtocolOptions_HeadersWithUnderscoresAction) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_protocol_proto_enumTypes[0].Descriptor()
-}
-
-func (HttpProtocolOptions_HeadersWithUnderscoresAction) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_protocol_proto_enumTypes[0]
-}
-
-func (x HttpProtocolOptions_HeadersWithUnderscoresAction) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use HttpProtocolOptions_HeadersWithUnderscoresAction.Descriptor instead.
-func (HttpProtocolOptions_HeadersWithUnderscoresAction) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{2, 0}
-}
-
-// [#not-implemented-hide:]
-type TcpProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *TcpProtocolOptions) Reset() {
- *x = TcpProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TcpProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TcpProtocolOptions) ProtoMessage() {}
-
-func (x *TcpProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TcpProtocolOptions.ProtoReflect.Descriptor instead.
-func (*TcpProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{0}
-}
-
-type UpstreamHttpProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Set transport socket `SNI `_ for new
- // upstream connections based on the downstream HTTP host/authority header, as seen by the
- // :ref:`router filter `.
- AutoSni bool `protobuf:"varint,1,opt,name=auto_sni,json=autoSni,proto3" json:"auto_sni,omitempty"`
- // Automatic validate upstream presented certificate for new upstream connections based on the
- // downstream HTTP host/authority header, as seen by the
- // :ref:`router filter `.
- // This field is intended to set with `auto_sni` field.
- AutoSanValidation bool `protobuf:"varint,2,opt,name=auto_san_validation,json=autoSanValidation,proto3" json:"auto_san_validation,omitempty"`
-}
-
-func (x *UpstreamHttpProtocolOptions) Reset() {
- *x = UpstreamHttpProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *UpstreamHttpProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpstreamHttpProtocolOptions) ProtoMessage() {}
-
-func (x *UpstreamHttpProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpstreamHttpProtocolOptions.ProtoReflect.Descriptor instead.
-func (*UpstreamHttpProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *UpstreamHttpProtocolOptions) GetAutoSni() bool {
- if x != nil {
- return x.AutoSni
- }
- return false
-}
-
-func (x *UpstreamHttpProtocolOptions) GetAutoSanValidation() bool {
- if x != nil {
- return x.AutoSanValidation
- }
- return false
-}
-
-// [#next-free-field: 6]
-type HttpProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The idle timeout for connections. The idle timeout is defined as the
- // period in which there are no active requests. When the
- // idle timeout is reached the connection will be closed. If the connection is an HTTP/2
- // downstream connection a drain sequence will occur prior to closing the connection, see
- // :ref:`drain_timeout
- // `.
- // Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive.
- // If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0.
- //
- // .. warning::
- // Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
- // FIN packets, etc.
- IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
- // The maximum duration of a connection. The duration is defined as a period since a connection
- // was established. If not set, there is no max duration. When max_connection_duration is reached
- // the connection will be closed. Drain sequence will occur prior to closing the connection if
- // if's applicable. See :ref:`drain_timeout
- // `.
- // Note: not implemented for upstream connections.
- MaxConnectionDuration *duration.Duration `protobuf:"bytes,3,opt,name=max_connection_duration,json=maxConnectionDuration,proto3" json:"max_connection_duration,omitempty"`
- // The maximum number of headers. If unconfigured, the default
- // maximum number of request headers allowed is 100. Requests that exceed this limit will receive
- // a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
- MaxHeadersCount *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_headers_count,json=maxHeadersCount,proto3" json:"max_headers_count,omitempty"`
- // Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be
- // reset independent of any other timeouts. If not specified, this value is not set.
- MaxStreamDuration *duration.Duration `protobuf:"bytes,4,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,omitempty"`
- // Action to take when a client request with a header name containing underscore characters is received.
- // If this setting is not specified, the value defaults to ALLOW.
- // Note: upstream responses are not affected by this setting.
- HeadersWithUnderscoresAction HttpProtocolOptions_HeadersWithUnderscoresAction `protobuf:"varint,5,opt,name=headers_with_underscores_action,json=headersWithUnderscoresAction,proto3,enum=envoy.api.v2.core.HttpProtocolOptions_HeadersWithUnderscoresAction" json:"headers_with_underscores_action,omitempty"`
-}
-
-func (x *HttpProtocolOptions) Reset() {
- *x = HttpProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HttpProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HttpProtocolOptions) ProtoMessage() {}
-
-func (x *HttpProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HttpProtocolOptions.ProtoReflect.Descriptor instead.
-func (*HttpProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *HttpProtocolOptions) GetIdleTimeout() *duration.Duration {
- if x != nil {
- return x.IdleTimeout
- }
- return nil
-}
-
-func (x *HttpProtocolOptions) GetMaxConnectionDuration() *duration.Duration {
- if x != nil {
- return x.MaxConnectionDuration
- }
- return nil
-}
-
-func (x *HttpProtocolOptions) GetMaxHeadersCount() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxHeadersCount
- }
- return nil
-}
-
-func (x *HttpProtocolOptions) GetMaxStreamDuration() *duration.Duration {
- if x != nil {
- return x.MaxStreamDuration
- }
- return nil
-}
-
-func (x *HttpProtocolOptions) GetHeadersWithUnderscoresAction() HttpProtocolOptions_HeadersWithUnderscoresAction {
- if x != nil {
- return x.HeadersWithUnderscoresAction
- }
- return HttpProtocolOptions_ALLOW
-}
-
-// [#next-free-field: 6]
-type Http1ProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Handle HTTP requests with absolute URLs in the requests. These requests
- // are generally sent by clients to forward/explicit proxies. This allows clients to configure
- // envoy as their HTTP proxy. In Unix, for example, this is typically done by setting the
- // *http_proxy* environment variable.
- AllowAbsoluteUrl *wrappers.BoolValue `protobuf:"bytes,1,opt,name=allow_absolute_url,json=allowAbsoluteUrl,proto3" json:"allow_absolute_url,omitempty"`
- // Handle incoming HTTP/1.0 and HTTP 0.9 requests.
- // This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1
- // style connect logic, dechunking, and handling lack of client host iff
- // *default_host_for_http_10* is configured.
- AcceptHttp_10 bool `protobuf:"varint,2,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
- // A default host for HTTP/1.0 requests. This is highly suggested if *accept_http_10* is true as
- // Envoy does not otherwise support HTTP/1.0 without a Host header.
- // This is a no-op if *accept_http_10* is not true.
- DefaultHostForHttp_10 string `protobuf:"bytes,3,opt,name=default_host_for_http_10,json=defaultHostForHttp10,proto3" json:"default_host_for_http_10,omitempty"`
- // Describes how the keys for response headers should be formatted. By default, all header keys
- // are lower cased.
- HeaderKeyFormat *Http1ProtocolOptions_HeaderKeyFormat `protobuf:"bytes,4,opt,name=header_key_format,json=headerKeyFormat,proto3" json:"header_key_format,omitempty"`
- // Enables trailers for HTTP/1. By default the HTTP/1 codec drops proxied trailers.
- //
- // .. attention::
- //
- // Note that this only happens when Envoy is chunk encoding which occurs when:
- // - The request is HTTP/1.1.
- // - Is neither a HEAD only request nor a HTTP Upgrade.
- // - Not a response to a HEAD request.
- // - The content length header is not present.
- EnableTrailers bool `protobuf:"varint,5,opt,name=enable_trailers,json=enableTrailers,proto3" json:"enable_trailers,omitempty"`
-}
-
-func (x *Http1ProtocolOptions) Reset() {
- *x = Http1ProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Http1ProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Http1ProtocolOptions) ProtoMessage() {}
-
-func (x *Http1ProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Http1ProtocolOptions.ProtoReflect.Descriptor instead.
-func (*Http1ProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Http1ProtocolOptions) GetAllowAbsoluteUrl() *wrappers.BoolValue {
- if x != nil {
- return x.AllowAbsoluteUrl
- }
- return nil
-}
-
-func (x *Http1ProtocolOptions) GetAcceptHttp_10() bool {
- if x != nil {
- return x.AcceptHttp_10
- }
- return false
-}
-
-func (x *Http1ProtocolOptions) GetDefaultHostForHttp_10() string {
- if x != nil {
- return x.DefaultHostForHttp_10
- }
- return ""
-}
-
-func (x *Http1ProtocolOptions) GetHeaderKeyFormat() *Http1ProtocolOptions_HeaderKeyFormat {
- if x != nil {
- return x.HeaderKeyFormat
- }
- return nil
-}
-
-func (x *Http1ProtocolOptions) GetEnableTrailers() bool {
- if x != nil {
- return x.EnableTrailers
- }
- return false
-}
-
-// [#next-free-field: 14]
-type Http2ProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // `Maximum table size `_
- // (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values
- // range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header
- // compression.
- HpackTableSize *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=hpack_table_size,json=hpackTableSize,proto3" json:"hpack_table_size,omitempty"`
- // `Maximum concurrent streams `_
- // allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1)
- // and defaults to 2147483647.
- //
- // For upstream connections, this also limits how many streams Envoy will initiate concurrently
- // on a single connection. If the limit is reached, Envoy may queue requests or establish
- // additional connections (as allowed per circuit breaker limits).
- MaxConcurrentStreams *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
- // `Initial stream-level flow-control window
- // `_ size. Valid values range from 65535
- // (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456
- // (256 * 1024 * 1024).
- //
- // NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default
- // window size now, so it's also the minimum.
- //
- // This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
- // HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to
- // stop the flow of data to the codec buffers.
- InitialStreamWindowSize *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=initial_stream_window_size,json=initialStreamWindowSize,proto3" json:"initial_stream_window_size,omitempty"`
- // Similar to *initial_stream_window_size*, but for connection-level flow-control
- // window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
- InitialConnectionWindowSize *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=initial_connection_window_size,json=initialConnectionWindowSize,proto3" json:"initial_connection_window_size,omitempty"`
- // Allows proxying Websocket and other upgrades over H2 connect.
- AllowConnect bool `protobuf:"varint,5,opt,name=allow_connect,json=allowConnect,proto3" json:"allow_connect,omitempty"`
- // [#not-implemented-hide:] Hiding until envoy has full metadata support.
- // Still under implementation. DO NOT USE.
- //
- // Allows metadata. See [metadata
- // docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more
- // information.
- AllowMetadata bool `protobuf:"varint,6,opt,name=allow_metadata,json=allowMetadata,proto3" json:"allow_metadata,omitempty"`
- // Limit the number of pending outbound downstream frames of all types (frames that are waiting to
- // be written into the socket). Exceeding this limit triggers flood mitigation and connection is
- // terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due
- // to flood mitigation. The default limit is 10000.
- // [#comment:TODO: implement same limits for upstream outbound frames as well.]
- MaxOutboundFrames *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_outbound_frames,json=maxOutboundFrames,proto3" json:"max_outbound_frames,omitempty"`
- // Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM,
- // preventing high memory utilization when receiving continuous stream of these frames. Exceeding
- // this limit triggers flood mitigation and connection is terminated. The
- // ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood
- // mitigation. The default limit is 1000.
- // [#comment:TODO: implement same limits for upstream outbound frames as well.]
- MaxOutboundControlFrames *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=max_outbound_control_frames,json=maxOutboundControlFrames,proto3" json:"max_outbound_control_frames,omitempty"`
- // Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an
- // empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but
- // might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood``
- // stat tracks the number of connections terminated due to flood mitigation.
- // Setting this to 0 will terminate connection upon receiving first frame with an empty payload
- // and no end stream flag. The default limit is 1.
- // [#comment:TODO: implement same limits for upstream inbound frames as well.]
- MaxConsecutiveInboundFramesWithEmptyPayload *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=max_consecutive_inbound_frames_with_empty_payload,json=maxConsecutiveInboundFramesWithEmptyPayload,proto3" json:"max_consecutive_inbound_frames_with_empty_payload,omitempty"`
- // Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number
- // of PRIORITY frames received over the lifetime of connection exceeds the value calculated
- // using this formula::
- //
- // max_inbound_priority_frames_per_stream * (1 + inbound_streams)
- //
- // the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks
- // the number of connections terminated due to flood mitigation. The default limit is 100.
- // [#comment:TODO: implement same limits for upstream inbound frames as well.]
- MaxInboundPriorityFramesPerStream *wrappers.UInt32Value `protobuf:"bytes,10,opt,name=max_inbound_priority_frames_per_stream,json=maxInboundPriorityFramesPerStream,proto3" json:"max_inbound_priority_frames_per_stream,omitempty"`
- // Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number
- // of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated
- // using this formula::
- //
- // 1 + 2 * (inbound_streams +
- // max_inbound_window_update_frames_per_data_frame_sent * outbound_data_frames)
- //
- // the connection is terminated. The ``http2.inbound_priority_frames_flood`` stat tracks
- // the number of connections terminated due to flood mitigation. The default limit is 10.
- // Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control,
- // but more complex implementations that try to estimate available bandwidth require at least 2.
- // [#comment:TODO: implement same limits for upstream inbound frames as well.]
- MaxInboundWindowUpdateFramesPerDataFrameSent *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=max_inbound_window_update_frames_per_data_frame_sent,json=maxInboundWindowUpdateFramesPerDataFrameSent,proto3" json:"max_inbound_window_update_frames_per_data_frame_sent,omitempty"`
- // Allows invalid HTTP messaging and headers. When this option is disabled (default), then
- // the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However,
- // when this option is enabled, only the offending stream is terminated.
- //
- // See `RFC7540, sec. 8.1 `_ for details.
- StreamErrorOnInvalidHttpMessaging bool `protobuf:"varint,12,opt,name=stream_error_on_invalid_http_messaging,json=streamErrorOnInvalidHttpMessaging,proto3" json:"stream_error_on_invalid_http_messaging,omitempty"`
- // [#not-implemented-hide:]
- // Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions:
- //
- // 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by
- // Envoy.
- //
- // 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field
- // 'allow_connect'.
- //
- // Note that custom parameters specified through this field can not also be set in the
- // corresponding named parameters:
- //
- // .. code-block:: text
- //
- // ID Field Name
- // ----------------
- // 0x1 hpack_table_size
- // 0x3 max_concurrent_streams
- // 0x4 initial_stream_window_size
- //
- // Collisions will trigger config validation failure on load/update. Likewise, inconsistencies
- // between custom parameters with the same identifier will trigger a failure.
- //
- // See `IANA HTTP/2 Settings
- // `_ for
- // standardized identifiers.
- CustomSettingsParameters []*Http2ProtocolOptions_SettingsParameter `protobuf:"bytes,13,rep,name=custom_settings_parameters,json=customSettingsParameters,proto3" json:"custom_settings_parameters,omitempty"`
-}
-
-func (x *Http2ProtocolOptions) Reset() {
- *x = Http2ProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Http2ProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Http2ProtocolOptions) ProtoMessage() {}
-
-func (x *Http2ProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Http2ProtocolOptions.ProtoReflect.Descriptor instead.
-func (*Http2ProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Http2ProtocolOptions) GetHpackTableSize() *wrappers.UInt32Value {
- if x != nil {
- return x.HpackTableSize
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxConcurrentStreams
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value {
- if x != nil {
- return x.InitialStreamWindowSize
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value {
- if x != nil {
- return x.InitialConnectionWindowSize
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetAllowConnect() bool {
- if x != nil {
- return x.AllowConnect
- }
- return false
-}
-
-func (x *Http2ProtocolOptions) GetAllowMetadata() bool {
- if x != nil {
- return x.AllowMetadata
- }
- return false
-}
-
-func (x *Http2ProtocolOptions) GetMaxOutboundFrames() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxOutboundFrames
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetMaxOutboundControlFrames() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxOutboundControlFrames
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetMaxConsecutiveInboundFramesWithEmptyPayload() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxConsecutiveInboundFramesWithEmptyPayload
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetMaxInboundPriorityFramesPerStream() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxInboundPriorityFramesPerStream
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetMaxInboundWindowUpdateFramesPerDataFrameSent() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxInboundWindowUpdateFramesPerDataFrameSent
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions) GetStreamErrorOnInvalidHttpMessaging() bool {
- if x != nil {
- return x.StreamErrorOnInvalidHttpMessaging
- }
- return false
-}
-
-func (x *Http2ProtocolOptions) GetCustomSettingsParameters() []*Http2ProtocolOptions_SettingsParameter {
- if x != nil {
- return x.CustomSettingsParameters
- }
- return nil
-}
-
-// [#not-implemented-hide:]
-type GrpcProtocolOptions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Http2ProtocolOptions *Http2ProtocolOptions `protobuf:"bytes,1,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
-}
-
-func (x *GrpcProtocolOptions) Reset() {
- *x = GrpcProtocolOptions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcProtocolOptions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcProtocolOptions) ProtoMessage() {}
-
-func (x *GrpcProtocolOptions) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcProtocolOptions.ProtoReflect.Descriptor instead.
-func (*GrpcProtocolOptions) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *GrpcProtocolOptions) GetHttp2ProtocolOptions() *Http2ProtocolOptions {
- if x != nil {
- return x.Http2ProtocolOptions
- }
- return nil
-}
-
-type Http1ProtocolOptions_HeaderKeyFormat struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to HeaderFormat:
- // *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_
- HeaderFormat isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat `protobuf_oneof:"header_format"`
-}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat) Reset() {
- *x = Http1ProtocolOptions_HeaderKeyFormat{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Http1ProtocolOptions_HeaderKeyFormat) ProtoMessage() {}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat.ProtoReflect.Descriptor instead.
-func (*Http1ProtocolOptions_HeaderKeyFormat) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{3, 0}
-}
-
-func (m *Http1ProtocolOptions_HeaderKeyFormat) GetHeaderFormat() isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat {
- if m != nil {
- return m.HeaderFormat
- }
- return nil
-}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat) GetProperCaseWords() *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords {
- if x, ok := x.GetHeaderFormat().(*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_); ok {
- return x.ProperCaseWords
- }
- return nil
-}
-
-type isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat interface {
- isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat()
-}
-
-type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_ struct {
- // Formats the header by proper casing words: the first character and any character following
- // a special character will be capitalized if it's an alpha character. For example,
- // "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are".
- // Note that while this results in most headers following conventional casing, certain headers
- // are not covered. For example, the "TE" header will be formatted as "Te".
- ProperCaseWords *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords `protobuf:"bytes,1,opt,name=proper_case_words,json=properCaseWords,proto3,oneof"`
-}
-
-func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_) isHttp1ProtocolOptions_HeaderKeyFormat_HeaderFormat() {
-}
-
-type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Reset() {
- *x = Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoMessage() {}
-
-func (x *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.ProtoReflect.Descriptor instead.
-func (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{3, 0, 0}
-}
-
-// Defines a parameter to be sent in the SETTINGS frame.
-// See `RFC7540, sec. 6.5.1 `_ for details.
-type Http2ProtocolOptions_SettingsParameter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The 16 bit parameter identifier.
- Identifier *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
- // The 32 bit parameter value.
- Value *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
-}
-
-func (x *Http2ProtocolOptions_SettingsParameter) Reset() {
- *x = Http2ProtocolOptions_SettingsParameter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Http2ProtocolOptions_SettingsParameter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Http2ProtocolOptions_SettingsParameter) ProtoMessage() {}
-
-func (x *Http2ProtocolOptions_SettingsParameter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_protocol_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Http2ProtocolOptions_SettingsParameter.ProtoReflect.Descriptor instead.
-func (*Http2ProtocolOptions_SettingsParameter) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_protocol_proto_rawDescGZIP(), []int{4, 0}
-}
-
-func (x *Http2ProtocolOptions_SettingsParameter) GetIdentifier() *wrappers.UInt32Value {
- if x != nil {
- return x.Identifier
- }
- return nil
-}
-
-func (x *Http2ProtocolOptions_SettingsParameter) GetValue() *wrappers.UInt32Value {
- if x != nil {
- return x.Value
- }
- return nil
-}
-
-var File_envoy_api_v2_core_protocol_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_protocol_proto_rawDesc = []byte{
- 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
- 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a,
- 0x12, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x22, 0x68, 0x0a, 0x1b, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x48,
- 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x6e, 0x69, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x6e, 0x69, 0x12, 0x2e, 0x0a,
- 0x13, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x73, 0x61, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x75, 0x74, 0x6f,
- 0x53, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x04,
- 0x0a, 0x13, 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65,
- 0x6f, 0x75, 0x74, 0x12, 0x51, 0x0a, 0x17, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x15, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65,
- 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
- 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x13, 0x6d, 0x61, 0x78,
- 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x75, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8a, 0x01, 0x0a, 0x1f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
- 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x63, 0x6f, 0x72, 0x65,
- 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69,
- 0x74, 0x68, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x1c, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
- 0x55, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0x4e, 0x0a, 0x1c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
- 0x55, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e,
- 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01,
- 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x52, 0x4f, 0x50, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10,
- 0x02, 0x22, 0x80, 0x04, 0x0a, 0x14, 0x48, 0x74, 0x74, 0x70, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x48, 0x0a, 0x12, 0x61, 0x6c,
- 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74,
- 0x65, 0x55, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x68,
- 0x74, 0x74, 0x70, 0x5f, 0x31, 0x30, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x63,
- 0x63, 0x65, 0x70, 0x74, 0x48, 0x74, 0x74, 0x70, 0x31, 0x30, 0x12, 0x36, 0x0a, 0x18, 0x64, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x68,
- 0x74, 0x74, 0x70, 0x5f, 0x31, 0x30, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x48, 0x74, 0x74, 0x70,
- 0x31, 0x30, 0x12, 0x63, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79,
- 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4b, 0x65, 0x79,
- 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4b, 0x65,
- 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73,
- 0x1a, 0xb1, 0x01, 0x0a, 0x0f, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x46, 0x6f,
- 0x72, 0x6d, 0x61, 0x74, 0x12, 0x75, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x5f, 0x63,
- 0x61, 0x73, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x47, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
- 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4b,
- 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x43,
- 0x61, 0x73, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70,
- 0x65, 0x72, 0x43, 0x61, 0x73, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x11, 0x0a, 0x0f, 0x50,
- 0x72, 0x6f, 0x70, 0x65, 0x72, 0x43, 0x61, 0x73, 0x65, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x14,
- 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
- 0x03, 0xf8, 0x42, 0x01, 0x22, 0xa9, 0x0b, 0x0a, 0x14, 0x48, 0x74, 0x74, 0x70, 0x32, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a,
- 0x10, 0x68, 0x70, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x68, 0x70, 0x61, 0x63, 0x6b, 0x54, 0x61, 0x62, 0x6c,
- 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x61, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e,
- 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x42, 0x0d, 0xfa, 0x42, 0x0a, 0x2a, 0x08, 0x18, 0xff, 0xff, 0xff, 0xff, 0x07,
- 0x28, 0x01, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
- 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x6a, 0x0a, 0x1a, 0x69, 0x6e, 0x69, 0x74,
- 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f,
- 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0xfa, 0x42, 0x0c, 0x2a,
- 0x0a, 0x18, 0xff, 0xff, 0xff, 0xff, 0x07, 0x28, 0xff, 0xff, 0x03, 0x52, 0x17, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77,
- 0x53, 0x69, 0x7a, 0x65, 0x12, 0x72, 0x0a, 0x1e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f,
- 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f,
- 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0xfa, 0x42, 0x0c, 0x2a,
- 0x0a, 0x18, 0xff, 0xff, 0xff, 0xff, 0x07, 0x28, 0xff, 0xff, 0x03, 0x52, 0x1b, 0x69, 0x6e, 0x69,
- 0x74, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69,
- 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f,
- 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a,
- 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x6f, 0x75, 0x74, 0x62,
- 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
- 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x4f, 0x75, 0x74,
- 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x1b, 0x6d,
- 0x61, 0x78, 0x5f, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
- 0x72, 0x6f, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07,
- 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52, 0x18, 0x6d, 0x61, 0x78, 0x4f, 0x75, 0x74, 0x62,
- 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65,
- 0x73, 0x12, 0x84, 0x01, 0x0a, 0x31, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x63,
- 0x75, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x72,
- 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f,
- 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x2b, 0x6d, 0x61, 0x78,
- 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x62, 0x6f, 0x75,
- 0x6e, 0x64, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x6f, 0x0a, 0x26, 0x6d, 0x61, 0x78, 0x5f,
- 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79,
- 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x21, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x62, 0x6f, 0x75,
- 0x6e, 0x64, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73,
- 0x50, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x91, 0x01, 0x0a, 0x34, 0x6d, 0x61,
- 0x78, 0x5f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77,
- 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x70,
- 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65,
- 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52,
- 0x2c, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x69, 0x6e, 0x64, 0x6f,
- 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x50, 0x65, 0x72,
- 0x44, 0x61, 0x74, 0x61, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a,
- 0x26, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6f, 0x6e,
- 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x21, 0x73,
- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4f, 0x6e, 0x49, 0x6e, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x48, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
- 0x12, 0x77, 0x0a, 0x1a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0d,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x32, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65,
- 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52,
- 0x18, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50,
- 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xa4, 0x01, 0x0a, 0x11, 0x53, 0x65,
- 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12,
- 0x51, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x42, 0x13, 0xfa, 0x42, 0x08, 0x2a, 0x06, 0x18, 0x80, 0x80, 0x04, 0x28, 0x01, 0xfa, 0x42,
- 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
- 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x22, 0x74, 0x0a, 0x13, 0x47, 0x72, 0x70, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, 0x16, 0x68, 0x74, 0x74, 0x70, 0x32,
- 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70,
- 0x32, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x52, 0x14, 0x68, 0x74, 0x74, 0x70, 0x32, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x90, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74,
- 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c,
- 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,
- 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
-}
-
-var (
- file_envoy_api_v2_core_protocol_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_protocol_proto_rawDescData = file_envoy_api_v2_core_protocol_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_protocol_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_protocol_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_protocol_proto_rawDescData)
- })
- return file_envoy_api_v2_core_protocol_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_protocol_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_api_v2_core_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
-var file_envoy_api_v2_core_protocol_proto_goTypes = []interface{}{
- (HttpProtocolOptions_HeadersWithUnderscoresAction)(0), // 0: envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction
- (*TcpProtocolOptions)(nil), // 1: envoy.api.v2.core.TcpProtocolOptions
- (*UpstreamHttpProtocolOptions)(nil), // 2: envoy.api.v2.core.UpstreamHttpProtocolOptions
- (*HttpProtocolOptions)(nil), // 3: envoy.api.v2.core.HttpProtocolOptions
- (*Http1ProtocolOptions)(nil), // 4: envoy.api.v2.core.Http1ProtocolOptions
- (*Http2ProtocolOptions)(nil), // 5: envoy.api.v2.core.Http2ProtocolOptions
- (*GrpcProtocolOptions)(nil), // 6: envoy.api.v2.core.GrpcProtocolOptions
- (*Http1ProtocolOptions_HeaderKeyFormat)(nil), // 7: envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat
- (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords)(nil), // 8: envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords
- (*Http2ProtocolOptions_SettingsParameter)(nil), // 9: envoy.api.v2.core.Http2ProtocolOptions.SettingsParameter
- (*duration.Duration)(nil), // 10: google.protobuf.Duration
- (*wrappers.UInt32Value)(nil), // 11: google.protobuf.UInt32Value
- (*wrappers.BoolValue)(nil), // 12: google.protobuf.BoolValue
-}
-var file_envoy_api_v2_core_protocol_proto_depIdxs = []int32{
- 10, // 0: envoy.api.v2.core.HttpProtocolOptions.idle_timeout:type_name -> google.protobuf.Duration
- 10, // 1: envoy.api.v2.core.HttpProtocolOptions.max_connection_duration:type_name -> google.protobuf.Duration
- 11, // 2: envoy.api.v2.core.HttpProtocolOptions.max_headers_count:type_name -> google.protobuf.UInt32Value
- 10, // 3: envoy.api.v2.core.HttpProtocolOptions.max_stream_duration:type_name -> google.protobuf.Duration
- 0, // 4: envoy.api.v2.core.HttpProtocolOptions.headers_with_underscores_action:type_name -> envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction
- 12, // 5: envoy.api.v2.core.Http1ProtocolOptions.allow_absolute_url:type_name -> google.protobuf.BoolValue
- 7, // 6: envoy.api.v2.core.Http1ProtocolOptions.header_key_format:type_name -> envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat
- 11, // 7: envoy.api.v2.core.Http2ProtocolOptions.hpack_table_size:type_name -> google.protobuf.UInt32Value
- 11, // 8: envoy.api.v2.core.Http2ProtocolOptions.max_concurrent_streams:type_name -> google.protobuf.UInt32Value
- 11, // 9: envoy.api.v2.core.Http2ProtocolOptions.initial_stream_window_size:type_name -> google.protobuf.UInt32Value
- 11, // 10: envoy.api.v2.core.Http2ProtocolOptions.initial_connection_window_size:type_name -> google.protobuf.UInt32Value
- 11, // 11: envoy.api.v2.core.Http2ProtocolOptions.max_outbound_frames:type_name -> google.protobuf.UInt32Value
- 11, // 12: envoy.api.v2.core.Http2ProtocolOptions.max_outbound_control_frames:type_name -> google.protobuf.UInt32Value
- 11, // 13: envoy.api.v2.core.Http2ProtocolOptions.max_consecutive_inbound_frames_with_empty_payload:type_name -> google.protobuf.UInt32Value
- 11, // 14: envoy.api.v2.core.Http2ProtocolOptions.max_inbound_priority_frames_per_stream:type_name -> google.protobuf.UInt32Value
- 11, // 15: envoy.api.v2.core.Http2ProtocolOptions.max_inbound_window_update_frames_per_data_frame_sent:type_name -> google.protobuf.UInt32Value
- 9, // 16: envoy.api.v2.core.Http2ProtocolOptions.custom_settings_parameters:type_name -> envoy.api.v2.core.Http2ProtocolOptions.SettingsParameter
- 5, // 17: envoy.api.v2.core.GrpcProtocolOptions.http2_protocol_options:type_name -> envoy.api.v2.core.Http2ProtocolOptions
- 8, // 18: envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.proper_case_words:type_name -> envoy.api.v2.core.Http1ProtocolOptions.HeaderKeyFormat.ProperCaseWords
- 11, // 19: envoy.api.v2.core.Http2ProtocolOptions.SettingsParameter.identifier:type_name -> google.protobuf.UInt32Value
- 11, // 20: envoy.api.v2.core.Http2ProtocolOptions.SettingsParameter.value:type_name -> google.protobuf.UInt32Value
- 21, // [21:21] is the sub-list for method output_type
- 21, // [21:21] is the sub-list for method input_type
- 21, // [21:21] is the sub-list for extension type_name
- 21, // [21:21] is the sub-list for extension extendee
- 0, // [0:21] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_protocol_proto_init() }
-func file_envoy_api_v2_core_protocol_proto_init() {
- if File_envoy_api_v2_core_protocol_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TcpProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpstreamHttpProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HttpProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Http1ProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Http2ProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcProtocolOptions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Http1ProtocolOptions_HeaderKeyFormat); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Http2ProtocolOptions_SettingsParameter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_protocol_proto_msgTypes[6].OneofWrappers = []interface{}{
- (*Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_protocol_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 9,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_protocol_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_protocol_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_protocol_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_protocol_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_protocol_proto = out.File
- file_envoy_api_v2_core_protocol_proto_rawDesc = nil
- file_envoy_api_v2_core_protocol_proto_goTypes = nil
- file_envoy_api_v2_core_protocol_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.validate.go
deleted file mode 100644
index 120ddfa2b4..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/protocol.pb.validate.go
+++ /dev/null
@@ -1,1501 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/protocol.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on TcpProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *TcpProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on TcpProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// TcpProtocolOptionsMultiError, or nil if none found.
-func (m *TcpProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *TcpProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return TcpProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// TcpProtocolOptionsMultiError is an error wrapping multiple validation errors
-// returned by TcpProtocolOptions.ValidateAll() if the designated constraints
-// aren't met.
-type TcpProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m TcpProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m TcpProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// TcpProtocolOptionsValidationError is the validation error returned by
-// TcpProtocolOptions.Validate if the designated constraints aren't met.
-type TcpProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TcpProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TcpProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TcpProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TcpProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TcpProtocolOptionsValidationError) ErrorName() string {
- return "TcpProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e TcpProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTcpProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TcpProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TcpProtocolOptionsValidationError{}
-
-// Validate checks the field values on UpstreamHttpProtocolOptions with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *UpstreamHttpProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on UpstreamHttpProtocolOptions with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// UpstreamHttpProtocolOptionsMultiError, or nil if none found.
-func (m *UpstreamHttpProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *UpstreamHttpProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for AutoSni
-
- // no validation rules for AutoSanValidation
-
- if len(errors) > 0 {
- return UpstreamHttpProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// UpstreamHttpProtocolOptionsMultiError is an error wrapping multiple
-// validation errors returned by UpstreamHttpProtocolOptions.ValidateAll() if
-// the designated constraints aren't met.
-type UpstreamHttpProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m UpstreamHttpProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m UpstreamHttpProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// UpstreamHttpProtocolOptionsValidationError is the validation error returned
-// by UpstreamHttpProtocolOptions.Validate if the designated constraints
-// aren't met.
-type UpstreamHttpProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e UpstreamHttpProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e UpstreamHttpProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e UpstreamHttpProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e UpstreamHttpProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e UpstreamHttpProtocolOptionsValidationError) ErrorName() string {
- return "UpstreamHttpProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e UpstreamHttpProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sUpstreamHttpProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = UpstreamHttpProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = UpstreamHttpProtocolOptionsValidationError{}
-
-// Validate checks the field values on HttpProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *HttpProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HttpProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// HttpProtocolOptionsMultiError, or nil if none found.
-func (m *HttpProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HttpProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetIdleTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "IdleTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "IdleTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetIdleTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HttpProtocolOptionsValidationError{
- field: "IdleTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMaxConnectionDuration()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "MaxConnectionDuration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "MaxConnectionDuration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxConnectionDuration()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HttpProtocolOptionsValidationError{
- field: "MaxConnectionDuration",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if wrapper := m.GetMaxHeadersCount(); wrapper != nil {
-
- if wrapper.GetValue() < 1 {
- err := HttpProtocolOptionsValidationError{
- field: "MaxHeadersCount",
- reason: "value must be greater than or equal to 1",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetMaxStreamDuration()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "MaxStreamDuration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HttpProtocolOptionsValidationError{
- field: "MaxStreamDuration",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxStreamDuration()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HttpProtocolOptionsValidationError{
- field: "MaxStreamDuration",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for HeadersWithUnderscoresAction
-
- if len(errors) > 0 {
- return HttpProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// HttpProtocolOptionsMultiError is an error wrapping multiple validation
-// errors returned by HttpProtocolOptions.ValidateAll() if the designated
-// constraints aren't met.
-type HttpProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HttpProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HttpProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// HttpProtocolOptionsValidationError is the validation error returned by
-// HttpProtocolOptions.Validate if the designated constraints aren't met.
-type HttpProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HttpProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HttpProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HttpProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HttpProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HttpProtocolOptionsValidationError) ErrorName() string {
- return "HttpProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e HttpProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttpProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HttpProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HttpProtocolOptionsValidationError{}
-
-// Validate checks the field values on Http1ProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *Http1ProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Http1ProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// Http1ProtocolOptionsMultiError, or nil if none found.
-func (m *Http1ProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Http1ProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetAllowAbsoluteUrl()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http1ProtocolOptionsValidationError{
- field: "AllowAbsoluteUrl",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http1ProtocolOptionsValidationError{
- field: "AllowAbsoluteUrl",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAllowAbsoluteUrl()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http1ProtocolOptionsValidationError{
- field: "AllowAbsoluteUrl",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for AcceptHttp_10
-
- // no validation rules for DefaultHostForHttp_10
-
- if all {
- switch v := interface{}(m.GetHeaderKeyFormat()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http1ProtocolOptionsValidationError{
- field: "HeaderKeyFormat",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http1ProtocolOptionsValidationError{
- field: "HeaderKeyFormat",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHeaderKeyFormat()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http1ProtocolOptionsValidationError{
- field: "HeaderKeyFormat",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for EnableTrailers
-
- if len(errors) > 0 {
- return Http1ProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// Http1ProtocolOptionsMultiError is an error wrapping multiple validation
-// errors returned by Http1ProtocolOptions.ValidateAll() if the designated
-// constraints aren't met.
-type Http1ProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Http1ProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Http1ProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// Http1ProtocolOptionsValidationError is the validation error returned by
-// Http1ProtocolOptions.Validate if the designated constraints aren't met.
-type Http1ProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Http1ProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Http1ProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Http1ProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Http1ProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Http1ProtocolOptionsValidationError) ErrorName() string {
- return "Http1ProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Http1ProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttp1ProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Http1ProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Http1ProtocolOptionsValidationError{}
-
-// Validate checks the field values on Http2ProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *Http2ProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Http2ProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// Http2ProtocolOptionsMultiError, or nil if none found.
-func (m *Http2ProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Http2ProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetHpackTableSize()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "HpackTableSize",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "HpackTableSize",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHpackTableSize()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http2ProtocolOptionsValidationError{
- field: "HpackTableSize",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if wrapper := m.GetMaxConcurrentStreams(); wrapper != nil {
-
- if val := wrapper.GetValue(); val < 1 || val > 2147483647 {
- err := Http2ProtocolOptionsValidationError{
- field: "MaxConcurrentStreams",
- reason: "value must be inside range [1, 2147483647]",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if wrapper := m.GetInitialStreamWindowSize(); wrapper != nil {
-
- if val := wrapper.GetValue(); val < 65535 || val > 2147483647 {
- err := Http2ProtocolOptionsValidationError{
- field: "InitialStreamWindowSize",
- reason: "value must be inside range [65535, 2147483647]",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if wrapper := m.GetInitialConnectionWindowSize(); wrapper != nil {
-
- if val := wrapper.GetValue(); val < 65535 || val > 2147483647 {
- err := Http2ProtocolOptionsValidationError{
- field: "InitialConnectionWindowSize",
- reason: "value must be inside range [65535, 2147483647]",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- // no validation rules for AllowConnect
-
- // no validation rules for AllowMetadata
-
- if wrapper := m.GetMaxOutboundFrames(); wrapper != nil {
-
- if wrapper.GetValue() < 1 {
- err := Http2ProtocolOptionsValidationError{
- field: "MaxOutboundFrames",
- reason: "value must be greater than or equal to 1",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if wrapper := m.GetMaxOutboundControlFrames(); wrapper != nil {
-
- if wrapper.GetValue() < 1 {
- err := Http2ProtocolOptionsValidationError{
- field: "MaxOutboundControlFrames",
- reason: "value must be greater than or equal to 1",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetMaxConsecutiveInboundFramesWithEmptyPayload()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "MaxConsecutiveInboundFramesWithEmptyPayload",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "MaxConsecutiveInboundFramesWithEmptyPayload",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxConsecutiveInboundFramesWithEmptyPayload()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http2ProtocolOptionsValidationError{
- field: "MaxConsecutiveInboundFramesWithEmptyPayload",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMaxInboundPriorityFramesPerStream()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "MaxInboundPriorityFramesPerStream",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: "MaxInboundPriorityFramesPerStream",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxInboundPriorityFramesPerStream()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http2ProtocolOptionsValidationError{
- field: "MaxInboundPriorityFramesPerStream",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if wrapper := m.GetMaxInboundWindowUpdateFramesPerDataFrameSent(); wrapper != nil {
-
- if wrapper.GetValue() < 1 {
- err := Http2ProtocolOptionsValidationError{
- field: "MaxInboundWindowUpdateFramesPerDataFrameSent",
- reason: "value must be greater than or equal to 1",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- // no validation rules for StreamErrorOnInvalidHttpMessaging
-
- for idx, item := range m.GetCustomSettingsParameters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: fmt.Sprintf("CustomSettingsParameters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http2ProtocolOptionsValidationError{
- field: fmt.Sprintf("CustomSettingsParameters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http2ProtocolOptionsValidationError{
- field: fmt.Sprintf("CustomSettingsParameters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return Http2ProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// Http2ProtocolOptionsMultiError is an error wrapping multiple validation
-// errors returned by Http2ProtocolOptions.ValidateAll() if the designated
-// constraints aren't met.
-type Http2ProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Http2ProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Http2ProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// Http2ProtocolOptionsValidationError is the validation error returned by
-// Http2ProtocolOptions.Validate if the designated constraints aren't met.
-type Http2ProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Http2ProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Http2ProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Http2ProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Http2ProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Http2ProtocolOptionsValidationError) ErrorName() string {
- return "Http2ProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Http2ProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttp2ProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Http2ProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Http2ProtocolOptionsValidationError{}
-
-// Validate checks the field values on GrpcProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *GrpcProtocolOptions) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcProtocolOptions with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcProtocolOptionsMultiError, or nil if none found.
-func (m *GrpcProtocolOptions) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcProtocolOptions) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetHttp2ProtocolOptions()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, GrpcProtocolOptionsValidationError{
- field: "Http2ProtocolOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, GrpcProtocolOptionsValidationError{
- field: "Http2ProtocolOptions",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHttp2ProtocolOptions()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return GrpcProtocolOptionsValidationError{
- field: "Http2ProtocolOptions",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return GrpcProtocolOptionsMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcProtocolOptionsMultiError is an error wrapping multiple validation
-// errors returned by GrpcProtocolOptions.ValidateAll() if the designated
-// constraints aren't met.
-type GrpcProtocolOptionsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcProtocolOptionsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcProtocolOptionsMultiError) AllErrors() []error { return m }
-
-// GrpcProtocolOptionsValidationError is the validation error returned by
-// GrpcProtocolOptions.Validate if the designated constraints aren't met.
-type GrpcProtocolOptionsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcProtocolOptionsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcProtocolOptionsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcProtocolOptionsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcProtocolOptionsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcProtocolOptionsValidationError) ErrorName() string {
- return "GrpcProtocolOptionsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e GrpcProtocolOptionsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcProtocolOptions.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcProtocolOptionsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcProtocolOptionsValidationError{}
-
-// Validate checks the field values on Http1ProtocolOptions_HeaderKeyFormat
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *Http1ProtocolOptions_HeaderKeyFormat) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Http1ProtocolOptions_HeaderKeyFormat
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the result is a list of violation errors wrapped in
-// Http1ProtocolOptions_HeaderKeyFormatMultiError, or nil if none found.
-func (m *Http1ProtocolOptions_HeaderKeyFormat) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Http1ProtocolOptions_HeaderKeyFormat) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.HeaderFormat.(type) {
-
- case *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_:
-
- if all {
- switch v := interface{}(m.GetProperCaseWords()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http1ProtocolOptions_HeaderKeyFormatValidationError{
- field: "ProperCaseWords",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http1ProtocolOptions_HeaderKeyFormatValidationError{
- field: "ProperCaseWords",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetProperCaseWords()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http1ProtocolOptions_HeaderKeyFormatValidationError{
- field: "ProperCaseWords",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := Http1ProtocolOptions_HeaderKeyFormatValidationError{
- field: "HeaderFormat",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return Http1ProtocolOptions_HeaderKeyFormatMultiError(errors)
- }
-
- return nil
-}
-
-// Http1ProtocolOptions_HeaderKeyFormatMultiError is an error wrapping multiple
-// validation errors returned by
-// Http1ProtocolOptions_HeaderKeyFormat.ValidateAll() if the designated
-// constraints aren't met.
-type Http1ProtocolOptions_HeaderKeyFormatMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Http1ProtocolOptions_HeaderKeyFormatMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Http1ProtocolOptions_HeaderKeyFormatMultiError) AllErrors() []error { return m }
-
-// Http1ProtocolOptions_HeaderKeyFormatValidationError is the validation error
-// returned by Http1ProtocolOptions_HeaderKeyFormat.Validate if the designated
-// constraints aren't met.
-type Http1ProtocolOptions_HeaderKeyFormatValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) ErrorName() string {
- return "Http1ProtocolOptions_HeaderKeyFormatValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Http1ProtocolOptions_HeaderKeyFormatValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttp1ProtocolOptions_HeaderKeyFormat.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Http1ProtocolOptions_HeaderKeyFormatValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Http1ProtocolOptions_HeaderKeyFormatValidationError{}
-
-// Validate checks the field values on
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError, or nil if
-// none found.
-func (m *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError(errors)
- }
-
- return nil
-}
-
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError is an error
-// wrapping multiple validation errors returned by
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.ValidateAll() if the
-// designated constraints aren't met.
-type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsMultiError) AllErrors() []error { return m }
-
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError is the
-// validation error returned by
-// Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.Validate if the
-// designated constraints aren't met.
-type Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Field() string {
- return e.field
-}
-
-// Reason function returns reason value.
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Reason() string {
- return e.reason
-}
-
-// Cause function returns cause value.
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Cause() error {
- return e.cause
-}
-
-// Key function returns key value.
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) ErrorName() string {
- return "Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttp1ProtocolOptions_HeaderKeyFormat_ProperCaseWords.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWordsValidationError{}
-
-// Validate checks the field values on Http2ProtocolOptions_SettingsParameter
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *Http2ProtocolOptions_SettingsParameter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// Http2ProtocolOptions_SettingsParameter with the rules defined in the proto
-// definition for this message. If any rules are violated, the result is a
-// list of violation errors wrapped in
-// Http2ProtocolOptions_SettingsParameterMultiError, or nil if none found.
-func (m *Http2ProtocolOptions_SettingsParameter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Http2ProtocolOptions_SettingsParameter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if wrapper := m.GetIdentifier(); wrapper != nil {
-
- if val := wrapper.GetValue(); val < 1 || val > 65536 {
- err := Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Identifier",
- reason: "value must be inside range [1, 65536]",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- } else {
- err := Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Identifier",
- reason: "value is required and must not be nil.",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if m.GetValue() == nil {
- err := Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Value",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetValue()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Http2ProtocolOptions_SettingsParameterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return Http2ProtocolOptions_SettingsParameterMultiError(errors)
- }
-
- return nil
-}
-
-// Http2ProtocolOptions_SettingsParameterMultiError is an error wrapping
-// multiple validation errors returned by
-// Http2ProtocolOptions_SettingsParameter.ValidateAll() if the designated
-// constraints aren't met.
-type Http2ProtocolOptions_SettingsParameterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Http2ProtocolOptions_SettingsParameterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Http2ProtocolOptions_SettingsParameterMultiError) AllErrors() []error { return m }
-
-// Http2ProtocolOptions_SettingsParameterValidationError is the validation
-// error returned by Http2ProtocolOptions_SettingsParameter.Validate if the
-// designated constraints aren't met.
-type Http2ProtocolOptions_SettingsParameterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Http2ProtocolOptions_SettingsParameterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Http2ProtocolOptions_SettingsParameterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Http2ProtocolOptions_SettingsParameterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Http2ProtocolOptions_SettingsParameterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Http2ProtocolOptions_SettingsParameterValidationError) ErrorName() string {
- return "Http2ProtocolOptions_SettingsParameterValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Http2ProtocolOptions_SettingsParameterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHttp2ProtocolOptions_SettingsParameter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Http2ProtocolOptions_SettingsParameterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Http2ProtocolOptions_SettingsParameterValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.go
deleted file mode 100644
index 74874f2b3c..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.go
+++ /dev/null
@@ -1,313 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/api/v2/core/socket_option.proto
-
-package core
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type SocketOption_SocketState int32
-
-const (
- // Socket options are applied after socket creation but before binding the socket to a port
- SocketOption_STATE_PREBIND SocketOption_SocketState = 0
- // Socket options are applied after binding the socket to a port but before calling listen()
- SocketOption_STATE_BOUND SocketOption_SocketState = 1
- // Socket options are applied after calling listen()
- SocketOption_STATE_LISTENING SocketOption_SocketState = 2
-)
-
-// Enum value maps for SocketOption_SocketState.
-var (
- SocketOption_SocketState_name = map[int32]string{
- 0: "STATE_PREBIND",
- 1: "STATE_BOUND",
- 2: "STATE_LISTENING",
- }
- SocketOption_SocketState_value = map[string]int32{
- "STATE_PREBIND": 0,
- "STATE_BOUND": 1,
- "STATE_LISTENING": 2,
- }
-)
-
-func (x SocketOption_SocketState) Enum() *SocketOption_SocketState {
- p := new(SocketOption_SocketState)
- *p = x
- return p
-}
-
-func (x SocketOption_SocketState) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (SocketOption_SocketState) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_api_v2_core_socket_option_proto_enumTypes[0].Descriptor()
-}
-
-func (SocketOption_SocketState) Type() protoreflect.EnumType {
- return &file_envoy_api_v2_core_socket_option_proto_enumTypes[0]
-}
-
-func (x SocketOption_SocketState) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use SocketOption_SocketState.Descriptor instead.
-func (SocketOption_SocketState) EnumDescriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_socket_option_proto_rawDescGZIP(), []int{0, 0}
-}
-
-// Generic socket option message. This would be used to set socket options that
-// might not exist in upstream kernels or precompiled Envoy binaries.
-// [#next-free-field: 7]
-type SocketOption struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // An optional name to give this socket option for debugging, etc.
- // Uniqueness is not required and no special meaning is assumed.
- Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
- // Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
- Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
- // The numeric name as passed to setsockopt
- Name int64 `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"`
- // Types that are assignable to Value:
- // *SocketOption_IntValue
- // *SocketOption_BufValue
- Value isSocketOption_Value `protobuf_oneof:"value"`
- // The state in which the option will be applied. When used in BindConfig
- // STATE_PREBIND is currently the only valid value.
- State SocketOption_SocketState `protobuf:"varint,6,opt,name=state,proto3,enum=envoy.api.v2.core.SocketOption_SocketState" json:"state,omitempty"`
-}
-
-func (x *SocketOption) Reset() {
- *x = SocketOption{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_api_v2_core_socket_option_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *SocketOption) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SocketOption) ProtoMessage() {}
-
-func (x *SocketOption) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_api_v2_core_socket_option_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SocketOption.ProtoReflect.Descriptor instead.
-func (*SocketOption) Descriptor() ([]byte, []int) {
- return file_envoy_api_v2_core_socket_option_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *SocketOption) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
-}
-
-func (x *SocketOption) GetLevel() int64 {
- if x != nil {
- return x.Level
- }
- return 0
-}
-
-func (x *SocketOption) GetName() int64 {
- if x != nil {
- return x.Name
- }
- return 0
-}
-
-func (m *SocketOption) GetValue() isSocketOption_Value {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-func (x *SocketOption) GetIntValue() int64 {
- if x, ok := x.GetValue().(*SocketOption_IntValue); ok {
- return x.IntValue
- }
- return 0
-}
-
-func (x *SocketOption) GetBufValue() []byte {
- if x, ok := x.GetValue().(*SocketOption_BufValue); ok {
- return x.BufValue
- }
- return nil
-}
-
-func (x *SocketOption) GetState() SocketOption_SocketState {
- if x != nil {
- return x.State
- }
- return SocketOption_STATE_PREBIND
-}
-
-type isSocketOption_Value interface {
- isSocketOption_Value()
-}
-
-type SocketOption_IntValue struct {
- // Because many sockopts take an int value.
- IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"`
-}
-
-type SocketOption_BufValue struct {
- // Otherwise it's a byte buffer.
- BufValue []byte `protobuf:"bytes,5,opt,name=buf_value,json=bufValue,proto3,oneof"`
-}
-
-func (*SocketOption_IntValue) isSocketOption_Value() {}
-
-func (*SocketOption_BufValue) isSocketOption_Value() {}
-
-var File_envoy_api_v2_core_socket_option_proto protoreflect.FileDescriptor
-
-var file_envoy_api_v2_core_socket_option_proto_rawDesc = []byte{
- 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61,
- 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67,
- 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
- 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64,
- 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x22, 0xbb, 0x02, 0x0a, 0x0c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
- 0x0a, 0x09, 0x62, 0x75, 0x66, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0c, 0x48, 0x00, 0x52, 0x08, 0x62, 0x75, 0x66, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4b, 0x0a,
- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65,
- 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01,
- 0x02, 0x10, 0x01, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x46, 0x0a, 0x0b, 0x53, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41,
- 0x54, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x42, 0x49, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
- 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a,
- 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x49, 0x4e, 0x47,
- 0x10, 0x02, 0x42, 0x0c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01,
- 0x42, 0x94, 0x01, 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x42, 0x11, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75,
- 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
- 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
- 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63,
- 0x6f, 0x72, 0x65, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba,
- 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_api_v2_core_socket_option_proto_rawDescOnce sync.Once
- file_envoy_api_v2_core_socket_option_proto_rawDescData = file_envoy_api_v2_core_socket_option_proto_rawDesc
-)
-
-func file_envoy_api_v2_core_socket_option_proto_rawDescGZIP() []byte {
- file_envoy_api_v2_core_socket_option_proto_rawDescOnce.Do(func() {
- file_envoy_api_v2_core_socket_option_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_socket_option_proto_rawDescData)
- })
- return file_envoy_api_v2_core_socket_option_proto_rawDescData
-}
-
-var file_envoy_api_v2_core_socket_option_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_envoy_api_v2_core_socket_option_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_envoy_api_v2_core_socket_option_proto_goTypes = []interface{}{
- (SocketOption_SocketState)(0), // 0: envoy.api.v2.core.SocketOption.SocketState
- (*SocketOption)(nil), // 1: envoy.api.v2.core.SocketOption
-}
-var file_envoy_api_v2_core_socket_option_proto_depIdxs = []int32{
- 0, // 0: envoy.api.v2.core.SocketOption.state:type_name -> envoy.api.v2.core.SocketOption.SocketState
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_envoy_api_v2_core_socket_option_proto_init() }
-func file_envoy_api_v2_core_socket_option_proto_init() {
- if File_envoy_api_v2_core_socket_option_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_api_v2_core_socket_option_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SocketOption); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_api_v2_core_socket_option_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*SocketOption_IntValue)(nil),
- (*SocketOption_BufValue)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_api_v2_core_socket_option_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_api_v2_core_socket_option_proto_goTypes,
- DependencyIndexes: file_envoy_api_v2_core_socket_option_proto_depIdxs,
- EnumInfos: file_envoy_api_v2_core_socket_option_proto_enumTypes,
- MessageInfos: file_envoy_api_v2_core_socket_option_proto_msgTypes,
- }.Build()
- File_envoy_api_v2_core_socket_option_proto = out.File
- file_envoy_api_v2_core_socket_option_proto_rawDesc = nil
- file_envoy_api_v2_core_socket_option_proto_goTypes = nil
- file_envoy_api_v2_core_socket_option_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.validate.go
deleted file mode 100644
index 1dac04b6a2..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/api/v2/core/socket_option.pb.validate.go
+++ /dev/null
@@ -1,172 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/api/v2/core/socket_option.proto
-
-package core
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on SocketOption with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *SocketOption) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on SocketOption with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in SocketOptionMultiError, or
-// nil if none found.
-func (m *SocketOption) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *SocketOption) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Description
-
- // no validation rules for Level
-
- // no validation rules for Name
-
- if _, ok := SocketOption_SocketState_name[int32(m.GetState())]; !ok {
- err := SocketOptionValidationError{
- field: "State",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- switch m.Value.(type) {
-
- case *SocketOption_IntValue:
- // no validation rules for IntValue
-
- case *SocketOption_BufValue:
- // no validation rules for BufValue
-
- default:
- err := SocketOptionValidationError{
- field: "Value",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return SocketOptionMultiError(errors)
- }
-
- return nil
-}
-
-// SocketOptionMultiError is an error wrapping multiple validation errors
-// returned by SocketOption.ValidateAll() if the designated constraints aren't met.
-type SocketOptionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m SocketOptionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m SocketOptionMultiError) AllErrors() []error { return m }
-
-// SocketOptionValidationError is the validation error returned by
-// SocketOption.Validate if the designated constraints aren't met.
-type SocketOptionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e SocketOptionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e SocketOptionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e SocketOptionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e SocketOptionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e SocketOptionValidationError) ErrorName() string { return "SocketOptionValidationError" }
-
-// Error satisfies the builtin error interface
-func (e SocketOptionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sSocketOption.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = SocketOptionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = SocketOptionValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.go
deleted file mode 100644
index c5254a96c1..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.go
+++ /dev/null
@@ -1,1810 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/config/accesslog/v3/accesslog.proto
-
-package accesslogv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- v32 "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
- v33 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
- v31 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- any "github.com/golang/protobuf/ptypes/any"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type ComparisonFilter_Op int32
-
-const (
- // =
- ComparisonFilter_EQ ComparisonFilter_Op = 0
- // >=
- ComparisonFilter_GE ComparisonFilter_Op = 1
- // <=
- ComparisonFilter_LE ComparisonFilter_Op = 2
-)
-
-// Enum value maps for ComparisonFilter_Op.
-var (
- ComparisonFilter_Op_name = map[int32]string{
- 0: "EQ",
- 1: "GE",
- 2: "LE",
- }
- ComparisonFilter_Op_value = map[string]int32{
- "EQ": 0,
- "GE": 1,
- "LE": 2,
- }
-)
-
-func (x ComparisonFilter_Op) Enum() *ComparisonFilter_Op {
- p := new(ComparisonFilter_Op)
- *p = x
- return p
-}
-
-func (x ComparisonFilter_Op) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ComparisonFilter_Op) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_accesslog_v3_accesslog_proto_enumTypes[0].Descriptor()
-}
-
-func (ComparisonFilter_Op) Type() protoreflect.EnumType {
- return &file_envoy_config_accesslog_v3_accesslog_proto_enumTypes[0]
-}
-
-func (x ComparisonFilter_Op) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ComparisonFilter_Op.Descriptor instead.
-func (ComparisonFilter_Op) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{2, 0}
-}
-
-type GrpcStatusFilter_Status int32
-
-const (
- GrpcStatusFilter_OK GrpcStatusFilter_Status = 0
- GrpcStatusFilter_CANCELED GrpcStatusFilter_Status = 1
- GrpcStatusFilter_UNKNOWN GrpcStatusFilter_Status = 2
- GrpcStatusFilter_INVALID_ARGUMENT GrpcStatusFilter_Status = 3
- GrpcStatusFilter_DEADLINE_EXCEEDED GrpcStatusFilter_Status = 4
- GrpcStatusFilter_NOT_FOUND GrpcStatusFilter_Status = 5
- GrpcStatusFilter_ALREADY_EXISTS GrpcStatusFilter_Status = 6
- GrpcStatusFilter_PERMISSION_DENIED GrpcStatusFilter_Status = 7
- GrpcStatusFilter_RESOURCE_EXHAUSTED GrpcStatusFilter_Status = 8
- GrpcStatusFilter_FAILED_PRECONDITION GrpcStatusFilter_Status = 9
- GrpcStatusFilter_ABORTED GrpcStatusFilter_Status = 10
- GrpcStatusFilter_OUT_OF_RANGE GrpcStatusFilter_Status = 11
- GrpcStatusFilter_UNIMPLEMENTED GrpcStatusFilter_Status = 12
- GrpcStatusFilter_INTERNAL GrpcStatusFilter_Status = 13
- GrpcStatusFilter_UNAVAILABLE GrpcStatusFilter_Status = 14
- GrpcStatusFilter_DATA_LOSS GrpcStatusFilter_Status = 15
- GrpcStatusFilter_UNAUTHENTICATED GrpcStatusFilter_Status = 16
-)
-
-// Enum value maps for GrpcStatusFilter_Status.
-var (
- GrpcStatusFilter_Status_name = map[int32]string{
- 0: "OK",
- 1: "CANCELED",
- 2: "UNKNOWN",
- 3: "INVALID_ARGUMENT",
- 4: "DEADLINE_EXCEEDED",
- 5: "NOT_FOUND",
- 6: "ALREADY_EXISTS",
- 7: "PERMISSION_DENIED",
- 8: "RESOURCE_EXHAUSTED",
- 9: "FAILED_PRECONDITION",
- 10: "ABORTED",
- 11: "OUT_OF_RANGE",
- 12: "UNIMPLEMENTED",
- 13: "INTERNAL",
- 14: "UNAVAILABLE",
- 15: "DATA_LOSS",
- 16: "UNAUTHENTICATED",
- }
- GrpcStatusFilter_Status_value = map[string]int32{
- "OK": 0,
- "CANCELED": 1,
- "UNKNOWN": 2,
- "INVALID_ARGUMENT": 3,
- "DEADLINE_EXCEEDED": 4,
- "NOT_FOUND": 5,
- "ALREADY_EXISTS": 6,
- "PERMISSION_DENIED": 7,
- "RESOURCE_EXHAUSTED": 8,
- "FAILED_PRECONDITION": 9,
- "ABORTED": 10,
- "OUT_OF_RANGE": 11,
- "UNIMPLEMENTED": 12,
- "INTERNAL": 13,
- "UNAVAILABLE": 14,
- "DATA_LOSS": 15,
- "UNAUTHENTICATED": 16,
- }
-)
-
-func (x GrpcStatusFilter_Status) Enum() *GrpcStatusFilter_Status {
- p := new(GrpcStatusFilter_Status)
- *p = x
- return p
-}
-
-func (x GrpcStatusFilter_Status) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (GrpcStatusFilter_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_accesslog_v3_accesslog_proto_enumTypes[1].Descriptor()
-}
-
-func (GrpcStatusFilter_Status) Type() protoreflect.EnumType {
- return &file_envoy_config_accesslog_v3_accesslog_proto_enumTypes[1]
-}
-
-func (x GrpcStatusFilter_Status) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use GrpcStatusFilter_Status.Descriptor instead.
-func (GrpcStatusFilter_Status) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{12, 0}
-}
-
-type AccessLog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the access log extension configuration.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Filter which is used to determine if the access log needs to be written.
- Filter *AccessLogFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
- // Custom configuration that must be set according to the access logger extension being instantiated.
- // [#extension-category: envoy.access_loggers]
- //
- // Types that are assignable to ConfigType:
- // *AccessLog_TypedConfig
- ConfigType isAccessLog_ConfigType `protobuf_oneof:"config_type"`
-}
-
-func (x *AccessLog) Reset() {
- *x = AccessLog{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *AccessLog) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AccessLog) ProtoMessage() {}
-
-func (x *AccessLog) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AccessLog.ProtoReflect.Descriptor instead.
-func (*AccessLog) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *AccessLog) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *AccessLog) GetFilter() *AccessLogFilter {
- if x != nil {
- return x.Filter
- }
- return nil
-}
-
-func (m *AccessLog) GetConfigType() isAccessLog_ConfigType {
- if m != nil {
- return m.ConfigType
- }
- return nil
-}
-
-func (x *AccessLog) GetTypedConfig() *any.Any {
- if x, ok := x.GetConfigType().(*AccessLog_TypedConfig); ok {
- return x.TypedConfig
- }
- return nil
-}
-
-type isAccessLog_ConfigType interface {
- isAccessLog_ConfigType()
-}
-
-type AccessLog_TypedConfig struct {
- TypedConfig *any.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof"`
-}
-
-func (*AccessLog_TypedConfig) isAccessLog_ConfigType() {}
-
-// [#next-free-field: 13]
-type AccessLogFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to FilterSpecifier:
- // *AccessLogFilter_StatusCodeFilter
- // *AccessLogFilter_DurationFilter
- // *AccessLogFilter_NotHealthCheckFilter
- // *AccessLogFilter_TraceableFilter
- // *AccessLogFilter_RuntimeFilter
- // *AccessLogFilter_AndFilter
- // *AccessLogFilter_OrFilter
- // *AccessLogFilter_HeaderFilter
- // *AccessLogFilter_ResponseFlagFilter
- // *AccessLogFilter_GrpcStatusFilter
- // *AccessLogFilter_ExtensionFilter
- // *AccessLogFilter_MetadataFilter
- FilterSpecifier isAccessLogFilter_FilterSpecifier `protobuf_oneof:"filter_specifier"`
-}
-
-func (x *AccessLogFilter) Reset() {
- *x = AccessLogFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *AccessLogFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AccessLogFilter) ProtoMessage() {}
-
-func (x *AccessLogFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AccessLogFilter.ProtoReflect.Descriptor instead.
-func (*AccessLogFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{1}
-}
-
-func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier {
- if m != nil {
- return m.FilterSpecifier
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_StatusCodeFilter); ok {
- return x.StatusCodeFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetDurationFilter() *DurationFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_DurationFilter); ok {
- return x.DurationFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_NotHealthCheckFilter); ok {
- return x.NotHealthCheckFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetTraceableFilter() *TraceableFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_TraceableFilter); ok {
- return x.TraceableFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_RuntimeFilter); ok {
- return x.RuntimeFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetAndFilter() *AndFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_AndFilter); ok {
- return x.AndFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetOrFilter() *OrFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_OrFilter); ok {
- return x.OrFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetHeaderFilter() *HeaderFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_HeaderFilter); ok {
- return x.HeaderFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_ResponseFlagFilter); ok {
- return x.ResponseFlagFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetGrpcStatusFilter() *GrpcStatusFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_GrpcStatusFilter); ok {
- return x.GrpcStatusFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetExtensionFilter() *ExtensionFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_ExtensionFilter); ok {
- return x.ExtensionFilter
- }
- return nil
-}
-
-func (x *AccessLogFilter) GetMetadataFilter() *MetadataFilter {
- if x, ok := x.GetFilterSpecifier().(*AccessLogFilter_MetadataFilter); ok {
- return x.MetadataFilter
- }
- return nil
-}
-
-type isAccessLogFilter_FilterSpecifier interface {
- isAccessLogFilter_FilterSpecifier()
-}
-
-type AccessLogFilter_StatusCodeFilter struct {
- // Status code filter.
- StatusCodeFilter *StatusCodeFilter `protobuf:"bytes,1,opt,name=status_code_filter,json=statusCodeFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_DurationFilter struct {
- // Duration filter.
- DurationFilter *DurationFilter `protobuf:"bytes,2,opt,name=duration_filter,json=durationFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_NotHealthCheckFilter struct {
- // Not health check filter.
- NotHealthCheckFilter *NotHealthCheckFilter `protobuf:"bytes,3,opt,name=not_health_check_filter,json=notHealthCheckFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_TraceableFilter struct {
- // Traceable filter.
- TraceableFilter *TraceableFilter `protobuf:"bytes,4,opt,name=traceable_filter,json=traceableFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_RuntimeFilter struct {
- // Runtime filter.
- RuntimeFilter *RuntimeFilter `protobuf:"bytes,5,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_AndFilter struct {
- // And filter.
- AndFilter *AndFilter `protobuf:"bytes,6,opt,name=and_filter,json=andFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_OrFilter struct {
- // Or filter.
- OrFilter *OrFilter `protobuf:"bytes,7,opt,name=or_filter,json=orFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_HeaderFilter struct {
- // Header filter.
- HeaderFilter *HeaderFilter `protobuf:"bytes,8,opt,name=header_filter,json=headerFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_ResponseFlagFilter struct {
- // Response flag filter.
- ResponseFlagFilter *ResponseFlagFilter `protobuf:"bytes,9,opt,name=response_flag_filter,json=responseFlagFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_GrpcStatusFilter struct {
- // gRPC status filter.
- GrpcStatusFilter *GrpcStatusFilter `protobuf:"bytes,10,opt,name=grpc_status_filter,json=grpcStatusFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_ExtensionFilter struct {
- // Extension filter.
- // [#extension-category: envoy.access_loggers.extension_filters]
- ExtensionFilter *ExtensionFilter `protobuf:"bytes,11,opt,name=extension_filter,json=extensionFilter,proto3,oneof"`
-}
-
-type AccessLogFilter_MetadataFilter struct {
- // Metadata Filter
- MetadataFilter *MetadataFilter `protobuf:"bytes,12,opt,name=metadata_filter,json=metadataFilter,proto3,oneof"`
-}
-
-func (*AccessLogFilter_StatusCodeFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_DurationFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_NotHealthCheckFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_TraceableFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_RuntimeFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_AndFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_OrFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_HeaderFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_ResponseFlagFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_GrpcStatusFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_ExtensionFilter) isAccessLogFilter_FilterSpecifier() {}
-
-func (*AccessLogFilter_MetadataFilter) isAccessLogFilter_FilterSpecifier() {}
-
-// Filter on an integer comparison.
-type ComparisonFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Comparison operator.
- Op ComparisonFilter_Op `protobuf:"varint,1,opt,name=op,proto3,enum=envoy.config.accesslog.v3.ComparisonFilter_Op" json:"op,omitempty"`
- // Value to compare against.
- Value *v3.RuntimeUInt32 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
-}
-
-func (x *ComparisonFilter) Reset() {
- *x = ComparisonFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ComparisonFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ComparisonFilter) ProtoMessage() {}
-
-func (x *ComparisonFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ComparisonFilter.ProtoReflect.Descriptor instead.
-func (*ComparisonFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *ComparisonFilter) GetOp() ComparisonFilter_Op {
- if x != nil {
- return x.Op
- }
- return ComparisonFilter_EQ
-}
-
-func (x *ComparisonFilter) GetValue() *v3.RuntimeUInt32 {
- if x != nil {
- return x.Value
- }
- return nil
-}
-
-// Filters on HTTP response/status code.
-type StatusCodeFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Comparison.
- Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"`
-}
-
-func (x *StatusCodeFilter) Reset() {
- *x = StatusCodeFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *StatusCodeFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*StatusCodeFilter) ProtoMessage() {}
-
-func (x *StatusCodeFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use StatusCodeFilter.ProtoReflect.Descriptor instead.
-func (*StatusCodeFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *StatusCodeFilter) GetComparison() *ComparisonFilter {
- if x != nil {
- return x.Comparison
- }
- return nil
-}
-
-// Filters on total request duration in milliseconds.
-type DurationFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Comparison.
- Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"`
-}
-
-func (x *DurationFilter) Reset() {
- *x = DurationFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *DurationFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DurationFilter) ProtoMessage() {}
-
-func (x *DurationFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DurationFilter.ProtoReflect.Descriptor instead.
-func (*DurationFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *DurationFilter) GetComparison() *ComparisonFilter {
- if x != nil {
- return x.Comparison
- }
- return nil
-}
-
-// Filters for requests that are not health check requests. A health check
-// request is marked by the health check filter.
-type NotHealthCheckFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *NotHealthCheckFilter) Reset() {
- *x = NotHealthCheckFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *NotHealthCheckFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*NotHealthCheckFilter) ProtoMessage() {}
-
-func (x *NotHealthCheckFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use NotHealthCheckFilter.ProtoReflect.Descriptor instead.
-func (*NotHealthCheckFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{5}
-}
-
-// Filters for requests that are traceable. See the tracing overview for more
-// information on how a request becomes traceable.
-type TraceableFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *TraceableFilter) Reset() {
- *x = TraceableFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TraceableFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TraceableFilter) ProtoMessage() {}
-
-func (x *TraceableFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TraceableFilter.ProtoReflect.Descriptor instead.
-func (*TraceableFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{6}
-}
-
-// Filters for random sampling of requests.
-type RuntimeFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Runtime key to get an optional overridden numerator for use in the
- // *percent_sampled* field. If found in runtime, this value will replace the
- // default numerator.
- RuntimeKey string `protobuf:"bytes,1,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
- // The default sampling percentage. If not specified, defaults to 0% with
- // denominator of 100.
- PercentSampled *v31.FractionalPercent `protobuf:"bytes,2,opt,name=percent_sampled,json=percentSampled,proto3" json:"percent_sampled,omitempty"`
- // By default, sampling pivots on the header
- // :ref:`x-request-id` being
- // present. If :ref:`x-request-id`
- // is present, the filter will consistently sample across multiple hosts based
- // on the runtime key value and the value extracted from
- // :ref:`x-request-id`. If it is
- // missing, or *use_independent_randomness* is set to true, the filter will
- // randomly sample based on the runtime key value alone.
- // *use_independent_randomness* can be used for logging kill switches within
- // complex nested :ref:`AndFilter
- // ` and :ref:`OrFilter
- // ` blocks that are easier to
- // reason about from a probability perspective (i.e., setting to true will
- // cause the filter to behave like an independent random variable when
- // composed within logical operator filters).
- UseIndependentRandomness bool `protobuf:"varint,3,opt,name=use_independent_randomness,json=useIndependentRandomness,proto3" json:"use_independent_randomness,omitempty"`
-}
-
-func (x *RuntimeFilter) Reset() {
- *x = RuntimeFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeFilter) ProtoMessage() {}
-
-func (x *RuntimeFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeFilter.ProtoReflect.Descriptor instead.
-func (*RuntimeFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *RuntimeFilter) GetRuntimeKey() string {
- if x != nil {
- return x.RuntimeKey
- }
- return ""
-}
-
-func (x *RuntimeFilter) GetPercentSampled() *v31.FractionalPercent {
- if x != nil {
- return x.PercentSampled
- }
- return nil
-}
-
-func (x *RuntimeFilter) GetUseIndependentRandomness() bool {
- if x != nil {
- return x.UseIndependentRandomness
- }
- return false
-}
-
-// Performs a logical “and” operation on the result of each filter in filters.
-// Filters are evaluated sequentially and if one of them returns false, the
-// filter returns false immediately.
-type AndFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Filters []*AccessLogFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
-}
-
-func (x *AndFilter) Reset() {
- *x = AndFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *AndFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AndFilter) ProtoMessage() {}
-
-func (x *AndFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AndFilter.ProtoReflect.Descriptor instead.
-func (*AndFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *AndFilter) GetFilters() []*AccessLogFilter {
- if x != nil {
- return x.Filters
- }
- return nil
-}
-
-// Performs a logical “or” operation on the result of each individual filter.
-// Filters are evaluated sequentially and if one of them returns true, the
-// filter returns true immediately.
-type OrFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Filters []*AccessLogFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
-}
-
-func (x *OrFilter) Reset() {
- *x = OrFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *OrFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*OrFilter) ProtoMessage() {}
-
-func (x *OrFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use OrFilter.ProtoReflect.Descriptor instead.
-func (*OrFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *OrFilter) GetFilters() []*AccessLogFilter {
- if x != nil {
- return x.Filters
- }
- return nil
-}
-
-// Filters requests based on the presence or value of a request header.
-type HeaderFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Only requests with a header which matches the specified HeaderMatcher will
- // pass the filter check.
- Header *v32.HeaderMatcher `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
-}
-
-func (x *HeaderFilter) Reset() {
- *x = HeaderFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *HeaderFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*HeaderFilter) ProtoMessage() {}
-
-func (x *HeaderFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use HeaderFilter.ProtoReflect.Descriptor instead.
-func (*HeaderFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *HeaderFilter) GetHeader() *v32.HeaderMatcher {
- if x != nil {
- return x.Header
- }
- return nil
-}
-
-// Filters requests that received responses with an Envoy response flag set.
-// A list of the response flags can be found
-// in the access log formatter
-// :ref:`documentation`.
-type ResponseFlagFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Only responses with the any of the flags listed in this field will be
- // logged. This field is optional. If it is not specified, then any response
- // flag will pass the filter check.
- Flags []string `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty"`
-}
-
-func (x *ResponseFlagFilter) Reset() {
- *x = ResponseFlagFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ResponseFlagFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResponseFlagFilter) ProtoMessage() {}
-
-func (x *ResponseFlagFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResponseFlagFilter.ProtoReflect.Descriptor instead.
-func (*ResponseFlagFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *ResponseFlagFilter) GetFlags() []string {
- if x != nil {
- return x.Flags
- }
- return nil
-}
-
-// Filters gRPC requests based on their response status. If a gRPC status is not
-// provided, the filter will infer the status from the HTTP status code.
-type GrpcStatusFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Logs only responses that have any one of the gRPC statuses in this field.
- Statuses []GrpcStatusFilter_Status `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=envoy.config.accesslog.v3.GrpcStatusFilter_Status" json:"statuses,omitempty"`
- // If included and set to true, the filter will instead block all responses
- // with a gRPC status or inferred gRPC status enumerated in statuses, and
- // allow all other responses.
- Exclude bool `protobuf:"varint,2,opt,name=exclude,proto3" json:"exclude,omitempty"`
-}
-
-func (x *GrpcStatusFilter) Reset() {
- *x = GrpcStatusFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *GrpcStatusFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GrpcStatusFilter) ProtoMessage() {}
-
-func (x *GrpcStatusFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GrpcStatusFilter.ProtoReflect.Descriptor instead.
-func (*GrpcStatusFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *GrpcStatusFilter) GetStatuses() []GrpcStatusFilter_Status {
- if x != nil {
- return x.Statuses
- }
- return nil
-}
-
-func (x *GrpcStatusFilter) GetExclude() bool {
- if x != nil {
- return x.Exclude
- }
- return false
-}
-
-// Filters based on matching dynamic metadata.
-// If the matcher path and key correspond to an existing key in dynamic
-// metadata, the request is logged only if the matcher value is equal to the
-// metadata value. If the matcher path and key *do not* correspond to an
-// existing key in dynamic metadata, the request is logged only if
-// match_if_key_not_found is "true" or unset.
-type MetadataFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Matcher to check metadata for specified value. For example, to match on the
- // access_log_hint metadata, set the filter to "envoy.common" and the path to
- // "access_log_hint", and the value to "true".
- Matcher *v33.MetadataMatcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"`
- // Default result if the key does not exist in dynamic metadata: if unset or
- // true, then log; if false, then don't log.
- MatchIfKeyNotFound *wrappers.BoolValue `protobuf:"bytes,2,opt,name=match_if_key_not_found,json=matchIfKeyNotFound,proto3" json:"match_if_key_not_found,omitempty"`
-}
-
-func (x *MetadataFilter) Reset() {
- *x = MetadataFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MetadataFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MetadataFilter) ProtoMessage() {}
-
-func (x *MetadataFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MetadataFilter.ProtoReflect.Descriptor instead.
-func (*MetadataFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *MetadataFilter) GetMatcher() *v33.MetadataMatcher {
- if x != nil {
- return x.Matcher
- }
- return nil
-}
-
-func (x *MetadataFilter) GetMatchIfKeyNotFound() *wrappers.BoolValue {
- if x != nil {
- return x.MatchIfKeyNotFound
- }
- return nil
-}
-
-// Extension filter is statically registered at runtime.
-type ExtensionFilter struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the filter implementation to instantiate. The name must
- // match a statically registered filter.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Custom configuration that depends on the filter being instantiated.
- //
- // Types that are assignable to ConfigType:
- // *ExtensionFilter_TypedConfig
- ConfigType isExtensionFilter_ConfigType `protobuf_oneof:"config_type"`
-}
-
-func (x *ExtensionFilter) Reset() {
- *x = ExtensionFilter{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ExtensionFilter) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ExtensionFilter) ProtoMessage() {}
-
-func (x *ExtensionFilter) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ExtensionFilter.ProtoReflect.Descriptor instead.
-func (*ExtensionFilter) Descriptor() ([]byte, []int) {
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *ExtensionFilter) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (m *ExtensionFilter) GetConfigType() isExtensionFilter_ConfigType {
- if m != nil {
- return m.ConfigType
- }
- return nil
-}
-
-func (x *ExtensionFilter) GetTypedConfig() *any.Any {
- if x, ok := x.GetConfigType().(*ExtensionFilter_TypedConfig); ok {
- return x.TypedConfig
- }
- return nil
-}
-
-type isExtensionFilter_ConfigType interface {
- isExtensionFilter_ConfigType()
-}
-
-type ExtensionFilter_TypedConfig struct {
- TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
-}
-
-func (*ExtensionFilter_TypedConfig) isExtensionFilter_ConfigType() {}
-
-var File_envoy_config_accesslog_v3_accesslog_proto protoreflect.FileDescriptor
-
-var file_envoy_config_accesslog_v3_accesslog_proto_rawDesc = []byte{
- 0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61,
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x63, 0x63, 0x65,
- 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72,
- 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70,
- 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74,
- 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65,
- 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
- 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee,
- 0x01, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x42, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
- 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a,
- 0x31, 0x9a, 0xc5, 0x88, 0x1e, 0x2c, 0x0a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65,
- 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c,
- 0x6f, 0x67, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
- 0xf6, 0x08, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x46, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x12, 0x5b, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f,
- 0x64, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61,
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x10,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x12, 0x54, 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c,
- 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x68, 0x0a, 0x17, 0x6e, 0x6f, 0x74, 0x5f, 0x68, 0x65,
- 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65,
- 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67,
- 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x14, 0x6e, 0x6f, 0x74, 0x48,
- 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x12, 0x57, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x63, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x61, 0x62, 0x6c, 0x65,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x61,
- 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0e, 0x72, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75,
- 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x72,
- 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0a,
- 0x61, 0x6e, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x6e, 0x64,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6e, 0x64, 0x46, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x09, 0x6f, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e,
- 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x08, 0x6f,
- 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x61, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
- 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76,
- 0x33, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x46, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x46, 0x6c, 0x61, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x5b, 0x0a, 0x12, 0x67, 0x72,
- 0x70, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e,
- 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x10, 0x67, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x57, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52,
- 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x12, 0x54, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x6c,
- 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c,
- 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e,
- 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42,
- 0x17, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66,
- 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0xf9, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d,
- 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x48, 0x0a,
- 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c,
- 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x70, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01,
- 0x02, 0x10, 0x01, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75,
- 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x08, 0xfa, 0x42, 0x05,
- 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1c, 0x0a, 0x02,
- 0x4f, 0x70, 0x12, 0x06, 0x0a, 0x02, 0x45, 0x51, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x45,
- 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x4c, 0x45, 0x10, 0x02, 0x3a, 0x38, 0x9a, 0xc5, 0x88, 0x1e,
- 0x33, 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67,
- 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x46, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x22, 0xa3, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43,
- 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x0a, 0x63, 0x6f, 0x6d,
- 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72,
- 0x69, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a,
- 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e,
- 0x3a, 0x38, 0x9a, 0xc5, 0x88, 0x1e, 0x33, 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x43, 0x6f, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x0e, 0x44,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x55, 0x0a,
- 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f,
- 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08,
- 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72,
- 0x69, 0x73, 0x6f, 0x6e, 0x3a, 0x36, 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x54, 0x0a, 0x14,
- 0x4e, 0x6f, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x3a, 0x3c, 0x9a, 0xc5, 0x88, 0x1e, 0x37, 0x0a, 0x35, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4e, 0x6f,
- 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x63, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65,
- 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x54,
- 0x72, 0x61, 0x63, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xf9,
- 0x01, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x12, 0x28, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0a,
- 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x0f, 0x70, 0x65,
- 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65,
- 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x65,
- 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x53, 0x61,
- 0x6d, 0x70, 0x6c, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x75, 0x73, 0x65, 0x5f, 0x69, 0x6e, 0x64,
- 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x6e,
- 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x75, 0x73, 0x65, 0x49, 0x6e,
- 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x6e,
- 0x65, 0x73, 0x73, 0x3a, 0x35, 0x9a, 0xc5, 0x88, 0x1e, 0x30, 0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e,
- 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8e, 0x01, 0x0a, 0x09, 0x41,
- 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c,
- 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52,
- 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x31, 0x9a, 0xc5, 0x88, 0x1e, 0x2c, 0x0a,
- 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76,
- 0x32, 0x2e, 0x41, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x08,
- 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c,
- 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x46,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x02, 0x52,
- 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a,
- 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69,
- 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76,
- 0x32, 0x2e, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x48,
- 0x65, 0x61, 0x64, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x06, 0x68,
- 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
- 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
- 0x72, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x3a, 0x34, 0x9a, 0xc5, 0x88, 0x1e, 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e,
- 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x48, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xea, 0x01, 0x0a, 0x12, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
- 0x12, 0x97, 0x01, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
- 0x42, 0x80, 0x01, 0xfa, 0x42, 0x7d, 0x92, 0x01, 0x7a, 0x22, 0x78, 0x72, 0x76, 0x52, 0x02, 0x4c,
- 0x48, 0x52, 0x02, 0x55, 0x48, 0x52, 0x02, 0x55, 0x54, 0x52, 0x02, 0x4c, 0x52, 0x52, 0x02, 0x55,
- 0x52, 0x52, 0x02, 0x55, 0x46, 0x52, 0x02, 0x55, 0x43, 0x52, 0x02, 0x55, 0x4f, 0x52, 0x02, 0x4e,
- 0x52, 0x52, 0x02, 0x44, 0x49, 0x52, 0x02, 0x46, 0x49, 0x52, 0x02, 0x52, 0x4c, 0x52, 0x04, 0x55,
- 0x41, 0x45, 0x58, 0x52, 0x04, 0x52, 0x4c, 0x53, 0x45, 0x52, 0x02, 0x44, 0x43, 0x52, 0x03, 0x55,
- 0x52, 0x58, 0x52, 0x02, 0x53, 0x49, 0x52, 0x02, 0x49, 0x48, 0x52, 0x03, 0x44, 0x50, 0x45, 0x52,
- 0x05, 0x55, 0x4d, 0x53, 0x44, 0x52, 0x52, 0x04, 0x52, 0x46, 0x43, 0x46, 0x52, 0x04, 0x4e, 0x46,
- 0x43, 0x46, 0x52, 0x02, 0x44, 0x54, 0x52, 0x03, 0x55, 0x50, 0x45, 0x52, 0x02, 0x4e, 0x43, 0x52,
- 0x02, 0x4f, 0x4d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x3a, 0x3a, 0x9a, 0xc5, 0x88, 0x1e,
- 0x35, 0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67,
- 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x46, 0x6c, 0x61, 0x67,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x80, 0x04, 0x0a, 0x10, 0x47, 0x72, 0x70, 0x63, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x5d, 0x0a, 0x08, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x32, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x42, 0x0d, 0xfa, 0x42, 0x0a, 0x92, 0x01, 0x07, 0x22, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01,
- 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78,
- 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x63,
- 0x6c, 0x75, 0x64, 0x65, 0x22, 0xb8, 0x02, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
- 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45,
- 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
- 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x41, 0x52,
- 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x41, 0x44,
- 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12,
- 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x12,
- 0x0a, 0x0e, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53,
- 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e,
- 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x07, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53,
- 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x48, 0x41, 0x55, 0x53, 0x54, 0x45, 0x44, 0x10,
- 0x08, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43,
- 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42,
- 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x55, 0x54, 0x5f, 0x4f,
- 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x49,
- 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08,
- 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e,
- 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x44,
- 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e,
- 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x10, 0x3a,
- 0x38, 0x9a, 0xc5, 0x88, 0x1e, 0x33, 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65,
- 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xda, 0x01, 0x0a, 0x0e, 0x4d, 0x65,
- 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x07,
- 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68,
- 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x4e,
- 0x0a, 0x16, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x66, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e,
- 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x63,
- 0x68, 0x49, 0x66, 0x4b, 0x65, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x3a, 0x36,
- 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
- 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xb6, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39,
- 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79,
- 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32,
- 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66,
- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e,
- 0x76, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74,
- 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42,
- 0x91, 0x01, 0x0a, 0x27, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
- 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61,
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x41, 0x63, 0x63,
- 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67,
- 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
- 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
- 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x33, 0x3b,
- 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06,
- 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_config_accesslog_v3_accesslog_proto_rawDescOnce sync.Once
- file_envoy_config_accesslog_v3_accesslog_proto_rawDescData = file_envoy_config_accesslog_v3_accesslog_proto_rawDesc
-)
-
-func file_envoy_config_accesslog_v3_accesslog_proto_rawDescGZIP() []byte {
- file_envoy_config_accesslog_v3_accesslog_proto_rawDescOnce.Do(func() {
- file_envoy_config_accesslog_v3_accesslog_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_accesslog_v3_accesslog_proto_rawDescData)
- })
- return file_envoy_config_accesslog_v3_accesslog_proto_rawDescData
-}
-
-var file_envoy_config_accesslog_v3_accesslog_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_envoy_config_accesslog_v3_accesslog_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
-var file_envoy_config_accesslog_v3_accesslog_proto_goTypes = []interface{}{
- (ComparisonFilter_Op)(0), // 0: envoy.config.accesslog.v3.ComparisonFilter.Op
- (GrpcStatusFilter_Status)(0), // 1: envoy.config.accesslog.v3.GrpcStatusFilter.Status
- (*AccessLog)(nil), // 2: envoy.config.accesslog.v3.AccessLog
- (*AccessLogFilter)(nil), // 3: envoy.config.accesslog.v3.AccessLogFilter
- (*ComparisonFilter)(nil), // 4: envoy.config.accesslog.v3.ComparisonFilter
- (*StatusCodeFilter)(nil), // 5: envoy.config.accesslog.v3.StatusCodeFilter
- (*DurationFilter)(nil), // 6: envoy.config.accesslog.v3.DurationFilter
- (*NotHealthCheckFilter)(nil), // 7: envoy.config.accesslog.v3.NotHealthCheckFilter
- (*TraceableFilter)(nil), // 8: envoy.config.accesslog.v3.TraceableFilter
- (*RuntimeFilter)(nil), // 9: envoy.config.accesslog.v3.RuntimeFilter
- (*AndFilter)(nil), // 10: envoy.config.accesslog.v3.AndFilter
- (*OrFilter)(nil), // 11: envoy.config.accesslog.v3.OrFilter
- (*HeaderFilter)(nil), // 12: envoy.config.accesslog.v3.HeaderFilter
- (*ResponseFlagFilter)(nil), // 13: envoy.config.accesslog.v3.ResponseFlagFilter
- (*GrpcStatusFilter)(nil), // 14: envoy.config.accesslog.v3.GrpcStatusFilter
- (*MetadataFilter)(nil), // 15: envoy.config.accesslog.v3.MetadataFilter
- (*ExtensionFilter)(nil), // 16: envoy.config.accesslog.v3.ExtensionFilter
- (*any.Any)(nil), // 17: google.protobuf.Any
- (*v3.RuntimeUInt32)(nil), // 18: envoy.config.core.v3.RuntimeUInt32
- (*v31.FractionalPercent)(nil), // 19: envoy.type.v3.FractionalPercent
- (*v32.HeaderMatcher)(nil), // 20: envoy.config.route.v3.HeaderMatcher
- (*v33.MetadataMatcher)(nil), // 21: envoy.type.matcher.v3.MetadataMatcher
- (*wrappers.BoolValue)(nil), // 22: google.protobuf.BoolValue
-}
-var file_envoy_config_accesslog_v3_accesslog_proto_depIdxs = []int32{
- 3, // 0: envoy.config.accesslog.v3.AccessLog.filter:type_name -> envoy.config.accesslog.v3.AccessLogFilter
- 17, // 1: envoy.config.accesslog.v3.AccessLog.typed_config:type_name -> google.protobuf.Any
- 5, // 2: envoy.config.accesslog.v3.AccessLogFilter.status_code_filter:type_name -> envoy.config.accesslog.v3.StatusCodeFilter
- 6, // 3: envoy.config.accesslog.v3.AccessLogFilter.duration_filter:type_name -> envoy.config.accesslog.v3.DurationFilter
- 7, // 4: envoy.config.accesslog.v3.AccessLogFilter.not_health_check_filter:type_name -> envoy.config.accesslog.v3.NotHealthCheckFilter
- 8, // 5: envoy.config.accesslog.v3.AccessLogFilter.traceable_filter:type_name -> envoy.config.accesslog.v3.TraceableFilter
- 9, // 6: envoy.config.accesslog.v3.AccessLogFilter.runtime_filter:type_name -> envoy.config.accesslog.v3.RuntimeFilter
- 10, // 7: envoy.config.accesslog.v3.AccessLogFilter.and_filter:type_name -> envoy.config.accesslog.v3.AndFilter
- 11, // 8: envoy.config.accesslog.v3.AccessLogFilter.or_filter:type_name -> envoy.config.accesslog.v3.OrFilter
- 12, // 9: envoy.config.accesslog.v3.AccessLogFilter.header_filter:type_name -> envoy.config.accesslog.v3.HeaderFilter
- 13, // 10: envoy.config.accesslog.v3.AccessLogFilter.response_flag_filter:type_name -> envoy.config.accesslog.v3.ResponseFlagFilter
- 14, // 11: envoy.config.accesslog.v3.AccessLogFilter.grpc_status_filter:type_name -> envoy.config.accesslog.v3.GrpcStatusFilter
- 16, // 12: envoy.config.accesslog.v3.AccessLogFilter.extension_filter:type_name -> envoy.config.accesslog.v3.ExtensionFilter
- 15, // 13: envoy.config.accesslog.v3.AccessLogFilter.metadata_filter:type_name -> envoy.config.accesslog.v3.MetadataFilter
- 0, // 14: envoy.config.accesslog.v3.ComparisonFilter.op:type_name -> envoy.config.accesslog.v3.ComparisonFilter.Op
- 18, // 15: envoy.config.accesslog.v3.ComparisonFilter.value:type_name -> envoy.config.core.v3.RuntimeUInt32
- 4, // 16: envoy.config.accesslog.v3.StatusCodeFilter.comparison:type_name -> envoy.config.accesslog.v3.ComparisonFilter
- 4, // 17: envoy.config.accesslog.v3.DurationFilter.comparison:type_name -> envoy.config.accesslog.v3.ComparisonFilter
- 19, // 18: envoy.config.accesslog.v3.RuntimeFilter.percent_sampled:type_name -> envoy.type.v3.FractionalPercent
- 3, // 19: envoy.config.accesslog.v3.AndFilter.filters:type_name -> envoy.config.accesslog.v3.AccessLogFilter
- 3, // 20: envoy.config.accesslog.v3.OrFilter.filters:type_name -> envoy.config.accesslog.v3.AccessLogFilter
- 20, // 21: envoy.config.accesslog.v3.HeaderFilter.header:type_name -> envoy.config.route.v3.HeaderMatcher
- 1, // 22: envoy.config.accesslog.v3.GrpcStatusFilter.statuses:type_name -> envoy.config.accesslog.v3.GrpcStatusFilter.Status
- 21, // 23: envoy.config.accesslog.v3.MetadataFilter.matcher:type_name -> envoy.type.matcher.v3.MetadataMatcher
- 22, // 24: envoy.config.accesslog.v3.MetadataFilter.match_if_key_not_found:type_name -> google.protobuf.BoolValue
- 17, // 25: envoy.config.accesslog.v3.ExtensionFilter.typed_config:type_name -> google.protobuf.Any
- 26, // [26:26] is the sub-list for method output_type
- 26, // [26:26] is the sub-list for method input_type
- 26, // [26:26] is the sub-list for extension type_name
- 26, // [26:26] is the sub-list for extension extendee
- 0, // [0:26] is the sub-list for field type_name
-}
-
-func init() { file_envoy_config_accesslog_v3_accesslog_proto_init() }
-func file_envoy_config_accesslog_v3_accesslog_proto_init() {
- if File_envoy_config_accesslog_v3_accesslog_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AccessLog); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AccessLogFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ComparisonFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StatusCodeFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DurationFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NotHealthCheckFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TraceableFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AndFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HeaderFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ResponseFlagFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GrpcStatusFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MetadataFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtensionFilter); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*AccessLog_TypedConfig)(nil),
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*AccessLogFilter_StatusCodeFilter)(nil),
- (*AccessLogFilter_DurationFilter)(nil),
- (*AccessLogFilter_NotHealthCheckFilter)(nil),
- (*AccessLogFilter_TraceableFilter)(nil),
- (*AccessLogFilter_RuntimeFilter)(nil),
- (*AccessLogFilter_AndFilter)(nil),
- (*AccessLogFilter_OrFilter)(nil),
- (*AccessLogFilter_HeaderFilter)(nil),
- (*AccessLogFilter_ResponseFlagFilter)(nil),
- (*AccessLogFilter_GrpcStatusFilter)(nil),
- (*AccessLogFilter_ExtensionFilter)(nil),
- (*AccessLogFilter_MetadataFilter)(nil),
- }
- file_envoy_config_accesslog_v3_accesslog_proto_msgTypes[14].OneofWrappers = []interface{}{
- (*ExtensionFilter_TypedConfig)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_config_accesslog_v3_accesslog_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 15,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_config_accesslog_v3_accesslog_proto_goTypes,
- DependencyIndexes: file_envoy_config_accesslog_v3_accesslog_proto_depIdxs,
- EnumInfos: file_envoy_config_accesslog_v3_accesslog_proto_enumTypes,
- MessageInfos: file_envoy_config_accesslog_v3_accesslog_proto_msgTypes,
- }.Build()
- File_envoy_config_accesslog_v3_accesslog_proto = out.File
- file_envoy_config_accesslog_v3_accesslog_proto_rawDesc = nil
- file_envoy_config_accesslog_v3_accesslog_proto_goTypes = nil
- file_envoy_config_accesslog_v3_accesslog_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.validate.go
deleted file mode 100644
index aa700c658a..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3/accesslog.pb.validate.go
+++ /dev/null
@@ -1,2449 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/config/accesslog/v3/accesslog.proto
-
-package accesslogv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on AccessLog with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *AccessLog) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on AccessLog with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in AccessLogMultiError, or nil
-// if none found.
-func (m *AccessLog) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *AccessLog) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if all {
- switch v := interface{}(m.GetFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogValidationError{
- field: "Filter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogValidationError{
- field: "Filter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogValidationError{
- field: "Filter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.ConfigType.(type) {
-
- case *AccessLog_TypedConfig:
-
- if all {
- switch v := interface{}(m.GetTypedConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return AccessLogMultiError(errors)
- }
-
- return nil
-}
-
-// AccessLogMultiError is an error wrapping multiple validation errors returned
-// by AccessLog.ValidateAll() if the designated constraints aren't met.
-type AccessLogMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AccessLogMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AccessLogMultiError) AllErrors() []error { return m }
-
-// AccessLogValidationError is the validation error returned by
-// AccessLog.Validate if the designated constraints aren't met.
-type AccessLogValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AccessLogValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AccessLogValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AccessLogValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AccessLogValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AccessLogValidationError) ErrorName() string { return "AccessLogValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AccessLogValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAccessLog.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AccessLogValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AccessLogValidationError{}
-
-// Validate checks the field values on AccessLogFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *AccessLogFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on AccessLogFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// AccessLogFilterMultiError, or nil if none found.
-func (m *AccessLogFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *AccessLogFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- switch m.FilterSpecifier.(type) {
-
- case *AccessLogFilter_StatusCodeFilter:
-
- if all {
- switch v := interface{}(m.GetStatusCodeFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "StatusCodeFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "StatusCodeFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStatusCodeFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "StatusCodeFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_DurationFilter:
-
- if all {
- switch v := interface{}(m.GetDurationFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "DurationFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "DurationFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDurationFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "DurationFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_NotHealthCheckFilter:
-
- if all {
- switch v := interface{}(m.GetNotHealthCheckFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "NotHealthCheckFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "NotHealthCheckFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetNotHealthCheckFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "NotHealthCheckFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_TraceableFilter:
-
- if all {
- switch v := interface{}(m.GetTraceableFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "TraceableFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "TraceableFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTraceableFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "TraceableFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_RuntimeFilter:
-
- if all {
- switch v := interface{}(m.GetRuntimeFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "RuntimeFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "RuntimeFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRuntimeFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "RuntimeFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_AndFilter:
-
- if all {
- switch v := interface{}(m.GetAndFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "AndFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "AndFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAndFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "AndFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_OrFilter:
-
- if all {
- switch v := interface{}(m.GetOrFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "OrFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "OrFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetOrFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "OrFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_HeaderFilter:
-
- if all {
- switch v := interface{}(m.GetHeaderFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "HeaderFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "HeaderFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHeaderFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "HeaderFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_ResponseFlagFilter:
-
- if all {
- switch v := interface{}(m.GetResponseFlagFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "ResponseFlagFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "ResponseFlagFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetResponseFlagFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "ResponseFlagFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_GrpcStatusFilter:
-
- if all {
- switch v := interface{}(m.GetGrpcStatusFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "GrpcStatusFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "GrpcStatusFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetGrpcStatusFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "GrpcStatusFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_ExtensionFilter:
-
- if all {
- switch v := interface{}(m.GetExtensionFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "ExtensionFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "ExtensionFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetExtensionFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "ExtensionFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *AccessLogFilter_MetadataFilter:
-
- if all {
- switch v := interface{}(m.GetMetadataFilter()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "MetadataFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AccessLogFilterValidationError{
- field: "MetadataFilter",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMetadataFilter()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AccessLogFilterValidationError{
- field: "MetadataFilter",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := AccessLogFilterValidationError{
- field: "FilterSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return AccessLogFilterMultiError(errors)
- }
-
- return nil
-}
-
-// AccessLogFilterMultiError is an error wrapping multiple validation errors
-// returned by AccessLogFilter.ValidateAll() if the designated constraints
-// aren't met.
-type AccessLogFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AccessLogFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AccessLogFilterMultiError) AllErrors() []error { return m }
-
-// AccessLogFilterValidationError is the validation error returned by
-// AccessLogFilter.Validate if the designated constraints aren't met.
-type AccessLogFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AccessLogFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AccessLogFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AccessLogFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AccessLogFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AccessLogFilterValidationError) ErrorName() string { return "AccessLogFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AccessLogFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAccessLogFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AccessLogFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AccessLogFilterValidationError{}
-
-// Validate checks the field values on ComparisonFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *ComparisonFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ComparisonFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ComparisonFilterMultiError, or nil if none found.
-func (m *ComparisonFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ComparisonFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if _, ok := ComparisonFilter_Op_name[int32(m.GetOp())]; !ok {
- err := ComparisonFilterValidationError{
- field: "Op",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if m.GetValue() == nil {
- err := ComparisonFilterValidationError{
- field: "Value",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetValue()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ComparisonFilterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ComparisonFilterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ComparisonFilterValidationError{
- field: "Value",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ComparisonFilterMultiError(errors)
- }
-
- return nil
-}
-
-// ComparisonFilterMultiError is an error wrapping multiple validation errors
-// returned by ComparisonFilter.ValidateAll() if the designated constraints
-// aren't met.
-type ComparisonFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ComparisonFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ComparisonFilterMultiError) AllErrors() []error { return m }
-
-// ComparisonFilterValidationError is the validation error returned by
-// ComparisonFilter.Validate if the designated constraints aren't met.
-type ComparisonFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ComparisonFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ComparisonFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ComparisonFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ComparisonFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ComparisonFilterValidationError) ErrorName() string { return "ComparisonFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ComparisonFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sComparisonFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ComparisonFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ComparisonFilterValidationError{}
-
-// Validate checks the field values on StatusCodeFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *StatusCodeFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on StatusCodeFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// StatusCodeFilterMultiError, or nil if none found.
-func (m *StatusCodeFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *StatusCodeFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetComparison() == nil {
- err := StatusCodeFilterValidationError{
- field: "Comparison",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetComparison()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, StatusCodeFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, StatusCodeFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetComparison()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return StatusCodeFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return StatusCodeFilterMultiError(errors)
- }
-
- return nil
-}
-
-// StatusCodeFilterMultiError is an error wrapping multiple validation errors
-// returned by StatusCodeFilter.ValidateAll() if the designated constraints
-// aren't met.
-type StatusCodeFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m StatusCodeFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m StatusCodeFilterMultiError) AllErrors() []error { return m }
-
-// StatusCodeFilterValidationError is the validation error returned by
-// StatusCodeFilter.Validate if the designated constraints aren't met.
-type StatusCodeFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e StatusCodeFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e StatusCodeFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e StatusCodeFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e StatusCodeFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e StatusCodeFilterValidationError) ErrorName() string { return "StatusCodeFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e StatusCodeFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sStatusCodeFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = StatusCodeFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = StatusCodeFilterValidationError{}
-
-// Validate checks the field values on DurationFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *DurationFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on DurationFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in DurationFilterMultiError,
-// or nil if none found.
-func (m *DurationFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *DurationFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetComparison() == nil {
- err := DurationFilterValidationError{
- field: "Comparison",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetComparison()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, DurationFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, DurationFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetComparison()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return DurationFilterValidationError{
- field: "Comparison",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return DurationFilterMultiError(errors)
- }
-
- return nil
-}
-
-// DurationFilterMultiError is an error wrapping multiple validation errors
-// returned by DurationFilter.ValidateAll() if the designated constraints
-// aren't met.
-type DurationFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m DurationFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m DurationFilterMultiError) AllErrors() []error { return m }
-
-// DurationFilterValidationError is the validation error returned by
-// DurationFilter.Validate if the designated constraints aren't met.
-type DurationFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e DurationFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e DurationFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e DurationFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e DurationFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e DurationFilterValidationError) ErrorName() string { return "DurationFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e DurationFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sDurationFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = DurationFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = DurationFilterValidationError{}
-
-// Validate checks the field values on NotHealthCheckFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *NotHealthCheckFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on NotHealthCheckFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// NotHealthCheckFilterMultiError, or nil if none found.
-func (m *NotHealthCheckFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *NotHealthCheckFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return NotHealthCheckFilterMultiError(errors)
- }
-
- return nil
-}
-
-// NotHealthCheckFilterMultiError is an error wrapping multiple validation
-// errors returned by NotHealthCheckFilter.ValidateAll() if the designated
-// constraints aren't met.
-type NotHealthCheckFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m NotHealthCheckFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m NotHealthCheckFilterMultiError) AllErrors() []error { return m }
-
-// NotHealthCheckFilterValidationError is the validation error returned by
-// NotHealthCheckFilter.Validate if the designated constraints aren't met.
-type NotHealthCheckFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e NotHealthCheckFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e NotHealthCheckFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e NotHealthCheckFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e NotHealthCheckFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e NotHealthCheckFilterValidationError) ErrorName() string {
- return "NotHealthCheckFilterValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e NotHealthCheckFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sNotHealthCheckFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = NotHealthCheckFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = NotHealthCheckFilterValidationError{}
-
-// Validate checks the field values on TraceableFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *TraceableFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on TraceableFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// TraceableFilterMultiError, or nil if none found.
-func (m *TraceableFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *TraceableFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return TraceableFilterMultiError(errors)
- }
-
- return nil
-}
-
-// TraceableFilterMultiError is an error wrapping multiple validation errors
-// returned by TraceableFilter.ValidateAll() if the designated constraints
-// aren't met.
-type TraceableFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m TraceableFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m TraceableFilterMultiError) AllErrors() []error { return m }
-
-// TraceableFilterValidationError is the validation error returned by
-// TraceableFilter.Validate if the designated constraints aren't met.
-type TraceableFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e TraceableFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e TraceableFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e TraceableFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e TraceableFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e TraceableFilterValidationError) ErrorName() string { return "TraceableFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e TraceableFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sTraceableFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = TraceableFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = TraceableFilterValidationError{}
-
-// Validate checks the field values on RuntimeFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *RuntimeFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in RuntimeFilterMultiError, or
-// nil if none found.
-func (m *RuntimeFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if utf8.RuneCountInString(m.GetRuntimeKey()) < 1 {
- err := RuntimeFilterValidationError{
- field: "RuntimeKey",
- reason: "value length must be at least 1 runes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetPercentSampled()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeFilterValidationError{
- field: "PercentSampled",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeFilterValidationError{
- field: "PercentSampled",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetPercentSampled()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeFilterValidationError{
- field: "PercentSampled",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for UseIndependentRandomness
-
- if len(errors) > 0 {
- return RuntimeFilterMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeFilterMultiError is an error wrapping multiple validation errors
-// returned by RuntimeFilter.ValidateAll() if the designated constraints
-// aren't met.
-type RuntimeFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeFilterMultiError) AllErrors() []error { return m }
-
-// RuntimeFilterValidationError is the validation error returned by
-// RuntimeFilter.Validate if the designated constraints aren't met.
-type RuntimeFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeFilterValidationError) ErrorName() string { return "RuntimeFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RuntimeFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeFilterValidationError{}
-
-// Validate checks the field values on AndFilter with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *AndFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on AndFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in AndFilterMultiError, or nil
-// if none found.
-func (m *AndFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *AndFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetFilters()) < 2 {
- err := AndFilterValidationError{
- field: "Filters",
- reason: "value must contain at least 2 item(s)",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- for idx, item := range m.GetFilters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AndFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AndFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AndFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return AndFilterMultiError(errors)
- }
-
- return nil
-}
-
-// AndFilterMultiError is an error wrapping multiple validation errors returned
-// by AndFilter.ValidateAll() if the designated constraints aren't met.
-type AndFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AndFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AndFilterMultiError) AllErrors() []error { return m }
-
-// AndFilterValidationError is the validation error returned by
-// AndFilter.Validate if the designated constraints aren't met.
-type AndFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AndFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AndFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AndFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AndFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AndFilterValidationError) ErrorName() string { return "AndFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AndFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAndFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AndFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AndFilterValidationError{}
-
-// Validate checks the field values on OrFilter with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *OrFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on OrFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in OrFilterMultiError, or nil
-// if none found.
-func (m *OrFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *OrFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(m.GetFilters()) < 2 {
- err := OrFilterValidationError{
- field: "Filters",
- reason: "value must contain at least 2 item(s)",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- for idx, item := range m.GetFilters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, OrFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, OrFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return OrFilterValidationError{
- field: fmt.Sprintf("Filters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return OrFilterMultiError(errors)
- }
-
- return nil
-}
-
-// OrFilterMultiError is an error wrapping multiple validation errors returned
-// by OrFilter.ValidateAll() if the designated constraints aren't met.
-type OrFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m OrFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m OrFilterMultiError) AllErrors() []error { return m }
-
-// OrFilterValidationError is the validation error returned by
-// OrFilter.Validate if the designated constraints aren't met.
-type OrFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e OrFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e OrFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e OrFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e OrFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e OrFilterValidationError) ErrorName() string { return "OrFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e OrFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sOrFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = OrFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = OrFilterValidationError{}
-
-// Validate checks the field values on HeaderFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *HeaderFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on HeaderFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in HeaderFilterMultiError, or
-// nil if none found.
-func (m *HeaderFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *HeaderFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if m.GetHeader() == nil {
- err := HeaderFilterValidationError{
- field: "Header",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetHeader()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, HeaderFilterValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, HeaderFilterValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHeader()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return HeaderFilterValidationError{
- field: "Header",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return HeaderFilterMultiError(errors)
- }
-
- return nil
-}
-
-// HeaderFilterMultiError is an error wrapping multiple validation errors
-// returned by HeaderFilter.ValidateAll() if the designated constraints aren't met.
-type HeaderFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m HeaderFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m HeaderFilterMultiError) AllErrors() []error { return m }
-
-// HeaderFilterValidationError is the validation error returned by
-// HeaderFilter.Validate if the designated constraints aren't met.
-type HeaderFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e HeaderFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e HeaderFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e HeaderFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e HeaderFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e HeaderFilterValidationError) ErrorName() string { return "HeaderFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e HeaderFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sHeaderFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = HeaderFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = HeaderFilterValidationError{}
-
-// Validate checks the field values on ResponseFlagFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ResponseFlagFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ResponseFlagFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ResponseFlagFilterMultiError, or nil if none found.
-func (m *ResponseFlagFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ResponseFlagFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetFlags() {
- _, _ = idx, item
-
- if _, ok := _ResponseFlagFilter_Flags_InLookup[item]; !ok {
- err := ResponseFlagFilterValidationError{
- field: fmt.Sprintf("Flags[%v]", idx),
- reason: "value must be in list [LH UH UT LR UR UF UC UO NR DI FI RL UAEX RLSE DC URX SI IH DPE UMSDR RFCF NFCF DT UPE NC OM]",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if len(errors) > 0 {
- return ResponseFlagFilterMultiError(errors)
- }
-
- return nil
-}
-
-// ResponseFlagFilterMultiError is an error wrapping multiple validation errors
-// returned by ResponseFlagFilter.ValidateAll() if the designated constraints
-// aren't met.
-type ResponseFlagFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ResponseFlagFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ResponseFlagFilterMultiError) AllErrors() []error { return m }
-
-// ResponseFlagFilterValidationError is the validation error returned by
-// ResponseFlagFilter.Validate if the designated constraints aren't met.
-type ResponseFlagFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ResponseFlagFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ResponseFlagFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ResponseFlagFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ResponseFlagFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ResponseFlagFilterValidationError) ErrorName() string {
- return "ResponseFlagFilterValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ResponseFlagFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sResponseFlagFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ResponseFlagFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ResponseFlagFilterValidationError{}
-
-var _ResponseFlagFilter_Flags_InLookup = map[string]struct{}{
- "LH": {},
- "UH": {},
- "UT": {},
- "LR": {},
- "UR": {},
- "UF": {},
- "UC": {},
- "UO": {},
- "NR": {},
- "DI": {},
- "FI": {},
- "RL": {},
- "UAEX": {},
- "RLSE": {},
- "DC": {},
- "URX": {},
- "SI": {},
- "IH": {},
- "DPE": {},
- "UMSDR": {},
- "RFCF": {},
- "NFCF": {},
- "DT": {},
- "UPE": {},
- "NC": {},
- "OM": {},
-}
-
-// Validate checks the field values on GrpcStatusFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *GrpcStatusFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on GrpcStatusFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// GrpcStatusFilterMultiError, or nil if none found.
-func (m *GrpcStatusFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *GrpcStatusFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetStatuses() {
- _, _ = idx, item
-
- if _, ok := GrpcStatusFilter_Status_name[int32(item)]; !ok {
- err := GrpcStatusFilterValidationError{
- field: fmt.Sprintf("Statuses[%v]", idx),
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- // no validation rules for Exclude
-
- if len(errors) > 0 {
- return GrpcStatusFilterMultiError(errors)
- }
-
- return nil
-}
-
-// GrpcStatusFilterMultiError is an error wrapping multiple validation errors
-// returned by GrpcStatusFilter.ValidateAll() if the designated constraints
-// aren't met.
-type GrpcStatusFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m GrpcStatusFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m GrpcStatusFilterMultiError) AllErrors() []error { return m }
-
-// GrpcStatusFilterValidationError is the validation error returned by
-// GrpcStatusFilter.Validate if the designated constraints aren't met.
-type GrpcStatusFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e GrpcStatusFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e GrpcStatusFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e GrpcStatusFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e GrpcStatusFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e GrpcStatusFilterValidationError) ErrorName() string { return "GrpcStatusFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e GrpcStatusFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sGrpcStatusFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = GrpcStatusFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = GrpcStatusFilterValidationError{}
-
-// Validate checks the field values on MetadataFilter with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *MetadataFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on MetadataFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in MetadataFilterMultiError,
-// or nil if none found.
-func (m *MetadataFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *MetadataFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetMatcher()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, MetadataFilterValidationError{
- field: "Matcher",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, MetadataFilterValidationError{
- field: "Matcher",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMatcher()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MetadataFilterValidationError{
- field: "Matcher",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMatchIfKeyNotFound()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, MetadataFilterValidationError{
- field: "MatchIfKeyNotFound",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, MetadataFilterValidationError{
- field: "MatchIfKeyNotFound",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMatchIfKeyNotFound()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return MetadataFilterValidationError{
- field: "MatchIfKeyNotFound",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return MetadataFilterMultiError(errors)
- }
-
- return nil
-}
-
-// MetadataFilterMultiError is an error wrapping multiple validation errors
-// returned by MetadataFilter.ValidateAll() if the designated constraints
-// aren't met.
-type MetadataFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m MetadataFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m MetadataFilterMultiError) AllErrors() []error { return m }
-
-// MetadataFilterValidationError is the validation error returned by
-// MetadataFilter.Validate if the designated constraints aren't met.
-type MetadataFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e MetadataFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e MetadataFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e MetadataFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e MetadataFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e MetadataFilterValidationError) ErrorName() string { return "MetadataFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e MetadataFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sMetadataFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = MetadataFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = MetadataFilterValidationError{}
-
-// Validate checks the field values on ExtensionFilter with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *ExtensionFilter) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ExtensionFilter with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// ExtensionFilterMultiError, or nil if none found.
-func (m *ExtensionFilter) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ExtensionFilter) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- switch m.ConfigType.(type) {
-
- case *ExtensionFilter_TypedConfig:
-
- if all {
- switch v := interface{}(m.GetTypedConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ExtensionFilterValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ExtensionFilterValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ExtensionFilterValidationError{
- field: "TypedConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return ExtensionFilterMultiError(errors)
- }
-
- return nil
-}
-
-// ExtensionFilterMultiError is an error wrapping multiple validation errors
-// returned by ExtensionFilter.ValidateAll() if the designated constraints
-// aren't met.
-type ExtensionFilterMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ExtensionFilterMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ExtensionFilterMultiError) AllErrors() []error { return m }
-
-// ExtensionFilterValidationError is the validation error returned by
-// ExtensionFilter.Validate if the designated constraints aren't met.
-type ExtensionFilterValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ExtensionFilterValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ExtensionFilterValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ExtensionFilterValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ExtensionFilterValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ExtensionFilterValidationError) ErrorName() string { return "ExtensionFilterValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ExtensionFilterValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sExtensionFilter.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ExtensionFilterValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ExtensionFilterValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.go
deleted file mode 100644
index 6cbbc4e642..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.go
+++ /dev/null
@@ -1,2739 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/config/bootstrap/v3/bootstrap.proto
-
-package bootstrapv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
- v34 "github.com/envoyproxy/go-control-plane/envoy/config/accesslog/v3"
- v37 "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- v36 "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
- v31 "github.com/envoyproxy/go-control-plane/envoy/config/metrics/v3"
- v33 "github.com/envoyproxy/go-control-plane/envoy/config/overload/v3"
- v32 "github.com/envoyproxy/go-control-plane/envoy/config/trace/v3"
- v38 "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
- v35 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- duration "github.com/golang/protobuf/ptypes/duration"
- _struct "github.com/golang/protobuf/ptypes/struct"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// The events are fired in this order: KILL, MULTIKILL, MEGAMISS, MISS.
-// Within an event type, actions execute in the order they are configured.
-// For KILL/MULTIKILL there is a default PANIC that will run after the
-// registered actions and kills the process if it wasn't already killed.
-// It might be useful to specify several debug actions, and possibly an
-// alternate FATAL action.
-type Watchdog_WatchdogAction_WatchdogEvent int32
-
-const (
- Watchdog_WatchdogAction_UNKNOWN Watchdog_WatchdogAction_WatchdogEvent = 0
- Watchdog_WatchdogAction_KILL Watchdog_WatchdogAction_WatchdogEvent = 1
- Watchdog_WatchdogAction_MULTIKILL Watchdog_WatchdogAction_WatchdogEvent = 2
- Watchdog_WatchdogAction_MEGAMISS Watchdog_WatchdogAction_WatchdogEvent = 3
- Watchdog_WatchdogAction_MISS Watchdog_WatchdogAction_WatchdogEvent = 4
-)
-
-// Enum value maps for Watchdog_WatchdogAction_WatchdogEvent.
-var (
- Watchdog_WatchdogAction_WatchdogEvent_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "KILL",
- 2: "MULTIKILL",
- 3: "MEGAMISS",
- 4: "MISS",
- }
- Watchdog_WatchdogAction_WatchdogEvent_value = map[string]int32{
- "UNKNOWN": 0,
- "KILL": 1,
- "MULTIKILL": 2,
- "MEGAMISS": 3,
- "MISS": 4,
- }
-)
-
-func (x Watchdog_WatchdogAction_WatchdogEvent) Enum() *Watchdog_WatchdogAction_WatchdogEvent {
- p := new(Watchdog_WatchdogAction_WatchdogEvent)
- *p = x
- return p
-}
-
-func (x Watchdog_WatchdogAction_WatchdogEvent) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Watchdog_WatchdogAction_WatchdogEvent) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes[0].Descriptor()
-}
-
-func (Watchdog_WatchdogAction_WatchdogEvent) Type() protoreflect.EnumType {
- return &file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes[0]
-}
-
-func (x Watchdog_WatchdogAction_WatchdogEvent) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Watchdog_WatchdogAction_WatchdogEvent.Descriptor instead.
-func (Watchdog_WatchdogAction_WatchdogEvent) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{4, 0, 0}
-}
-
-type CustomInlineHeader_InlineHeaderType int32
-
-const (
- CustomInlineHeader_REQUEST_HEADER CustomInlineHeader_InlineHeaderType = 0
- CustomInlineHeader_REQUEST_TRAILER CustomInlineHeader_InlineHeaderType = 1
- CustomInlineHeader_RESPONSE_HEADER CustomInlineHeader_InlineHeaderType = 2
- CustomInlineHeader_RESPONSE_TRAILER CustomInlineHeader_InlineHeaderType = 3
-)
-
-// Enum value maps for CustomInlineHeader_InlineHeaderType.
-var (
- CustomInlineHeader_InlineHeaderType_name = map[int32]string{
- 0: "REQUEST_HEADER",
- 1: "REQUEST_TRAILER",
- 2: "RESPONSE_HEADER",
- 3: "RESPONSE_TRAILER",
- }
- CustomInlineHeader_InlineHeaderType_value = map[string]int32{
- "REQUEST_HEADER": 0,
- "REQUEST_TRAILER": 1,
- "RESPONSE_HEADER": 2,
- "RESPONSE_TRAILER": 3,
- }
-)
-
-func (x CustomInlineHeader_InlineHeaderType) Enum() *CustomInlineHeader_InlineHeaderType {
- p := new(CustomInlineHeader_InlineHeaderType)
- *p = x
- return p
-}
-
-func (x CustomInlineHeader_InlineHeaderType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (CustomInlineHeader_InlineHeaderType) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes[1].Descriptor()
-}
-
-func (CustomInlineHeader_InlineHeaderType) Type() protoreflect.EnumType {
- return &file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes[1]
-}
-
-func (x CustomInlineHeader_InlineHeaderType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use CustomInlineHeader_InlineHeaderType.Descriptor instead.
-func (CustomInlineHeader_InlineHeaderType) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{9, 0}
-}
-
-// Bootstrap :ref:`configuration overview `.
-// [#next-free-field: 35]
-type Bootstrap struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Node identity to present to the management server and for instance
- // identification purposes (e.g. in generated headers).
- Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
- // A list of :ref:`Node ` field names
- // that will be included in the context parameters of the effective
- // xdstp:// URL that is sent in a discovery request when resource
- // locators are used for LDS/CDS. Any non-string field will have its JSON
- // encoding set as the context parameter value, with the exception of
- // metadata, which will be flattened (see example below). The supported field
- // names are:
- // - "cluster"
- // - "id"
- // - "locality.region"
- // - "locality.sub_zone"
- // - "locality.zone"
- // - "metadata"
- // - "user_agent_build_version.metadata"
- // - "user_agent_build_version.version"
- // - "user_agent_name"
- // - "user_agent_version"
- //
- // The node context parameters act as a base layer dictionary for the context
- // parameters (i.e. more specific resource specific context parameters will
- // override). Field names will be prefixed with “udpa.node.” when included in
- // context parameters.
- //
- // For example, if node_context_params is ``["user_agent_name", "metadata"]``,
- // the implied context parameters might be::
- //
- // node.user_agent_name: "envoy"
- // node.metadata.foo: "{\"bar\": \"baz\"}"
- // node.metadata.some: "42"
- // node.metadata.thing: "\"thing\""
- //
- // [#not-implemented-hide:]
- NodeContextParams []string `protobuf:"bytes,26,rep,name=node_context_params,json=nodeContextParams,proto3" json:"node_context_params,omitempty"`
- // Statically specified resources.
- StaticResources *Bootstrap_StaticResources `protobuf:"bytes,2,opt,name=static_resources,json=staticResources,proto3" json:"static_resources,omitempty"`
- // xDS configuration sources.
- DynamicResources *Bootstrap_DynamicResources `protobuf:"bytes,3,opt,name=dynamic_resources,json=dynamicResources,proto3" json:"dynamic_resources,omitempty"`
- // Configuration for the cluster manager which owns all upstream clusters
- // within the server.
- ClusterManager *ClusterManager `protobuf:"bytes,4,opt,name=cluster_manager,json=clusterManager,proto3" json:"cluster_manager,omitempty"`
- // Health discovery service config option.
- // (:ref:`core.ApiConfigSource `)
- HdsConfig *v3.ApiConfigSource `protobuf:"bytes,14,opt,name=hds_config,json=hdsConfig,proto3" json:"hds_config,omitempty"`
- // Optional file system path to search for startup flag files.
- FlagsPath string `protobuf:"bytes,5,opt,name=flags_path,json=flagsPath,proto3" json:"flags_path,omitempty"`
- // Optional set of stats sinks.
- StatsSinks []*v31.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"`
- // Configuration for internal processing of stats.
- StatsConfig *v31.StatsConfig `protobuf:"bytes,13,opt,name=stats_config,json=statsConfig,proto3" json:"stats_config,omitempty"`
- // Optional duration between flushes to configured stats sinks. For
- // performance reasons Envoy latches counters and only flushes counters and
- // gauges at a periodic interval. If not specified the default is 5000ms (5
- // seconds). Only one of `stats_flush_interval` or `stats_flush_on_admin`
- // can be set.
- // Duration must be at least 1ms and at most 5 min.
- StatsFlushInterval *duration.Duration `protobuf:"bytes,7,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"`
- // Types that are assignable to StatsFlush:
- // *Bootstrap_StatsFlushOnAdmin
- StatsFlush isBootstrap_StatsFlush `protobuf_oneof:"stats_flush"`
- // Optional watchdog configuration.
- // This is for a single watchdog configuration for the entire system.
- // Deprecated in favor of *watchdogs* which has finer granularity.
- //
- // Deprecated: Do not use.
- Watchdog *Watchdog `protobuf:"bytes,8,opt,name=watchdog,proto3" json:"watchdog,omitempty"`
- // Optional watchdogs configuration.
- // This is used for specifying different watchdogs for the different subsystems.
- // [#extension-category: envoy.guarddog_actions]
- Watchdogs *Watchdogs `protobuf:"bytes,27,opt,name=watchdogs,proto3" json:"watchdogs,omitempty"`
- // Configuration for an external tracing provider.
- //
- // .. attention::
- // This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
- // `.
- //
- // Deprecated: Do not use.
- Tracing *v32.Tracing `protobuf:"bytes,9,opt,name=tracing,proto3" json:"tracing,omitempty"`
- // Configuration for the runtime configuration provider. If not
- // specified, a “null” provider will be used which will result in all defaults
- // being used.
- LayeredRuntime *LayeredRuntime `protobuf:"bytes,17,opt,name=layered_runtime,json=layeredRuntime,proto3" json:"layered_runtime,omitempty"`
- // Configuration for the local administration HTTP server.
- Admin *Admin `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
- // Optional overload manager configuration.
- OverloadManager *v33.OverloadManager `protobuf:"bytes,15,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
- // Enable :ref:`stats for event dispatcher `, defaults to false.
- // Note that this records a value for each iteration of the event loop on every thread. This
- // should normally be minimal overhead, but when using
- // :ref:`statsd `, it will send each observed value
- // over the wire individually because the statsd protocol doesn't have any way to represent a
- // histogram summary. Be aware that this can be a very large volume of data.
- EnableDispatcherStats bool `protobuf:"varint,16,opt,name=enable_dispatcher_stats,json=enableDispatcherStats,proto3" json:"enable_dispatcher_stats,omitempty"`
- // Optional string which will be used in lieu of x-envoy in prefixing headers.
- //
- // For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
- // transformed into x-foo-retry-on etc.
- //
- // Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
- // headers Envoy will trust for core code and core extensions only. Be VERY careful making
- // changes to this string, especially in multi-layer Envoy deployments or deployments using
- // extensions which are not upstream.
- HeaderPrefix string `protobuf:"bytes,18,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
- // Optional proxy version which will be used to set the value of :ref:`server.version statistic
- // ` if specified. Envoy will not process this value, it will be sent as is to
- // :ref:`stats sinks `.
- StatsServerVersionOverride *wrappers.UInt64Value `protobuf:"bytes,19,opt,name=stats_server_version_override,json=statsServerVersionOverride,proto3" json:"stats_server_version_override,omitempty"`
- // Always use TCP queries instead of UDP queries for DNS lookups.
- // This may be overridden on a per-cluster basis in cds_config,
- // when :ref:`dns_resolvers ` and
- // :ref:`use_tcp_for_dns_lookups ` are
- // specified.
- // This field is deprecated in favor of *dns_resolution_config*
- // which aggregates all of the DNS resolver configuration in a single message.
- //
- // Deprecated: Do not use.
- UseTcpForDnsLookups bool `protobuf:"varint,20,opt,name=use_tcp_for_dns_lookups,json=useTcpForDnsLookups,proto3" json:"use_tcp_for_dns_lookups,omitempty"`
- // DNS resolution configuration which includes the underlying dns resolver addresses and options.
- // This may be overridden on a per-cluster basis in cds_config, when
- // :ref:`dns_resolution_config `
- // is specified.
- // This field is deprecated in favor of
- // :ref:`typed_dns_resolver_config `.
- //
- // Deprecated: Do not use.
- DnsResolutionConfig *v3.DnsResolutionConfig `protobuf:"bytes,30,opt,name=dns_resolution_config,json=dnsResolutionConfig,proto3" json:"dns_resolution_config,omitempty"`
- // DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
- // or any other DNS resolver types and the related parameters.
- // For example, an object of
- // :ref:`CaresDnsResolverConfig `
- // can be packed into this *typed_dns_resolver_config*. This configuration replaces the
- // :ref:`dns_resolution_config `
- // configuration.
- // During the transition period when both *dns_resolution_config* and *typed_dns_resolver_config* exists,
- // when *typed_dns_resolver_config* is in place, Envoy will use it and ignore *dns_resolution_config*.
- // When *typed_dns_resolver_config* is missing, the default behavior is in place.
- // [#extension-category: envoy.network.dns_resolver]
- TypedDnsResolverConfig *v3.TypedExtensionConfig `protobuf:"bytes,31,opt,name=typed_dns_resolver_config,json=typedDnsResolverConfig,proto3" json:"typed_dns_resolver_config,omitempty"`
- // Specifies optional bootstrap extensions to be instantiated at startup time.
- // Each item contains extension specific configuration.
- // [#extension-category: envoy.bootstrap]
- BootstrapExtensions []*v3.TypedExtensionConfig `protobuf:"bytes,21,rep,name=bootstrap_extensions,json=bootstrapExtensions,proto3" json:"bootstrap_extensions,omitempty"`
- // Specifies optional extensions instantiated at startup time and
- // invoked during crash time on the request that caused the crash.
- FatalActions []*FatalAction `protobuf:"bytes,28,rep,name=fatal_actions,json=fatalActions,proto3" json:"fatal_actions,omitempty"`
- // Configuration sources that will participate in
- // xdstp:// URL authority resolution. The algorithm is as
- // follows:
- // 1. The authority field is taken from the xdstp:// URL, call
- // this *resource_authority*.
- // 2. *resource_authority* is compared against the authorities in any peer
- // *ConfigSource*. The peer *ConfigSource* is the configuration source
- // message which would have been used unconditionally for resolution
- // with opaque resource names. If there is a match with an authority, the
- // peer *ConfigSource* message is used.
- // 3. *resource_authority* is compared sequentially with the authorities in
- // each configuration source in *config_sources*. The first *ConfigSource*
- // to match wins.
- // 4. As a fallback, if no configuration source matches, then
- // *default_config_source* is used.
- // 5. If *default_config_source* is not specified, resolution fails.
- // [#not-implemented-hide:]
- ConfigSources []*v3.ConfigSource `protobuf:"bytes,22,rep,name=config_sources,json=configSources,proto3" json:"config_sources,omitempty"`
- // Default configuration source for xdstp:// URLs if all
- // other resolution fails.
- // [#not-implemented-hide:]
- DefaultConfigSource *v3.ConfigSource `protobuf:"bytes,23,opt,name=default_config_source,json=defaultConfigSource,proto3" json:"default_config_source,omitempty"`
- // Optional overriding of default socket interface. The value must be the name of one of the
- // socket interface factories initialized through a bootstrap extension
- DefaultSocketInterface string `protobuf:"bytes,24,opt,name=default_socket_interface,json=defaultSocketInterface,proto3" json:"default_socket_interface,omitempty"`
- // Global map of CertificateProvider instances. These instances are referred to by name in the
- // :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
- // `
- // field.
- // [#not-implemented-hide:]
- CertificateProviderInstances map[string]*v3.TypedExtensionConfig `protobuf:"bytes,25,rep,name=certificate_provider_instances,json=certificateProviderInstances,proto3" json:"certificate_provider_instances,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // Specifies a set of headers that need to be registered as inline header. This configuration
- // allows users to customize the inline headers on-demand at Envoy startup without modifying
- // Envoy's source code.
- //
- // Note that the 'set-cookie' header cannot be registered as inline header.
- InlineHeaders []*CustomInlineHeader `protobuf:"bytes,32,rep,name=inline_headers,json=inlineHeaders,proto3" json:"inline_headers,omitempty"`
- // Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
- // ProtoBuf format. The default value is "envoy.pftrace".
- PerfTracingFilePath string `protobuf:"bytes,33,opt,name=perf_tracing_file_path,json=perfTracingFilePath,proto3" json:"perf_tracing_file_path,omitempty"`
- // Optional overriding of default regex engine.
- // If the value is not specified, Google RE2 will be used by default.
- // [#extension-category: envoy.regex_engines]
- DefaultRegexEngine *v3.TypedExtensionConfig `protobuf:"bytes,34,opt,name=default_regex_engine,json=defaultRegexEngine,proto3" json:"default_regex_engine,omitempty"`
-}
-
-func (x *Bootstrap) Reset() {
- *x = Bootstrap{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Bootstrap) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Bootstrap) ProtoMessage() {}
-
-func (x *Bootstrap) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.
-func (*Bootstrap) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Bootstrap) GetNode() *v3.Node {
- if x != nil {
- return x.Node
- }
- return nil
-}
-
-func (x *Bootstrap) GetNodeContextParams() []string {
- if x != nil {
- return x.NodeContextParams
- }
- return nil
-}
-
-func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources {
- if x != nil {
- return x.StaticResources
- }
- return nil
-}
-
-func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources {
- if x != nil {
- return x.DynamicResources
- }
- return nil
-}
-
-func (x *Bootstrap) GetClusterManager() *ClusterManager {
- if x != nil {
- return x.ClusterManager
- }
- return nil
-}
-
-func (x *Bootstrap) GetHdsConfig() *v3.ApiConfigSource {
- if x != nil {
- return x.HdsConfig
- }
- return nil
-}
-
-func (x *Bootstrap) GetFlagsPath() string {
- if x != nil {
- return x.FlagsPath
- }
- return ""
-}
-
-func (x *Bootstrap) GetStatsSinks() []*v31.StatsSink {
- if x != nil {
- return x.StatsSinks
- }
- return nil
-}
-
-func (x *Bootstrap) GetStatsConfig() *v31.StatsConfig {
- if x != nil {
- return x.StatsConfig
- }
- return nil
-}
-
-func (x *Bootstrap) GetStatsFlushInterval() *duration.Duration {
- if x != nil {
- return x.StatsFlushInterval
- }
- return nil
-}
-
-func (m *Bootstrap) GetStatsFlush() isBootstrap_StatsFlush {
- if m != nil {
- return m.StatsFlush
- }
- return nil
-}
-
-func (x *Bootstrap) GetStatsFlushOnAdmin() bool {
- if x, ok := x.GetStatsFlush().(*Bootstrap_StatsFlushOnAdmin); ok {
- return x.StatsFlushOnAdmin
- }
- return false
-}
-
-// Deprecated: Do not use.
-func (x *Bootstrap) GetWatchdog() *Watchdog {
- if x != nil {
- return x.Watchdog
- }
- return nil
-}
-
-func (x *Bootstrap) GetWatchdogs() *Watchdogs {
- if x != nil {
- return x.Watchdogs
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *Bootstrap) GetTracing() *v32.Tracing {
- if x != nil {
- return x.Tracing
- }
- return nil
-}
-
-func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime {
- if x != nil {
- return x.LayeredRuntime
- }
- return nil
-}
-
-func (x *Bootstrap) GetAdmin() *Admin {
- if x != nil {
- return x.Admin
- }
- return nil
-}
-
-func (x *Bootstrap) GetOverloadManager() *v33.OverloadManager {
- if x != nil {
- return x.OverloadManager
- }
- return nil
-}
-
-func (x *Bootstrap) GetEnableDispatcherStats() bool {
- if x != nil {
- return x.EnableDispatcherStats
- }
- return false
-}
-
-func (x *Bootstrap) GetHeaderPrefix() string {
- if x != nil {
- return x.HeaderPrefix
- }
- return ""
-}
-
-func (x *Bootstrap) GetStatsServerVersionOverride() *wrappers.UInt64Value {
- if x != nil {
- return x.StatsServerVersionOverride
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *Bootstrap) GetUseTcpForDnsLookups() bool {
- if x != nil {
- return x.UseTcpForDnsLookups
- }
- return false
-}
-
-// Deprecated: Do not use.
-func (x *Bootstrap) GetDnsResolutionConfig() *v3.DnsResolutionConfig {
- if x != nil {
- return x.DnsResolutionConfig
- }
- return nil
-}
-
-func (x *Bootstrap) GetTypedDnsResolverConfig() *v3.TypedExtensionConfig {
- if x != nil {
- return x.TypedDnsResolverConfig
- }
- return nil
-}
-
-func (x *Bootstrap) GetBootstrapExtensions() []*v3.TypedExtensionConfig {
- if x != nil {
- return x.BootstrapExtensions
- }
- return nil
-}
-
-func (x *Bootstrap) GetFatalActions() []*FatalAction {
- if x != nil {
- return x.FatalActions
- }
- return nil
-}
-
-func (x *Bootstrap) GetConfigSources() []*v3.ConfigSource {
- if x != nil {
- return x.ConfigSources
- }
- return nil
-}
-
-func (x *Bootstrap) GetDefaultConfigSource() *v3.ConfigSource {
- if x != nil {
- return x.DefaultConfigSource
- }
- return nil
-}
-
-func (x *Bootstrap) GetDefaultSocketInterface() string {
- if x != nil {
- return x.DefaultSocketInterface
- }
- return ""
-}
-
-func (x *Bootstrap) GetCertificateProviderInstances() map[string]*v3.TypedExtensionConfig {
- if x != nil {
- return x.CertificateProviderInstances
- }
- return nil
-}
-
-func (x *Bootstrap) GetInlineHeaders() []*CustomInlineHeader {
- if x != nil {
- return x.InlineHeaders
- }
- return nil
-}
-
-func (x *Bootstrap) GetPerfTracingFilePath() string {
- if x != nil {
- return x.PerfTracingFilePath
- }
- return ""
-}
-
-func (x *Bootstrap) GetDefaultRegexEngine() *v3.TypedExtensionConfig {
- if x != nil {
- return x.DefaultRegexEngine
- }
- return nil
-}
-
-type isBootstrap_StatsFlush interface {
- isBootstrap_StatsFlush()
-}
-
-type Bootstrap_StatsFlushOnAdmin struct {
- // Flush stats to sinks only when queried for on the admin interface. If set,
- // a flush timer is not created. Only one of `stats_flush_on_admin` or
- // `stats_flush_interval` can be set.
- StatsFlushOnAdmin bool `protobuf:"varint,29,opt,name=stats_flush_on_admin,json=statsFlushOnAdmin,proto3,oneof"`
-}
-
-func (*Bootstrap_StatsFlushOnAdmin) isBootstrap_StatsFlush() {}
-
-// Administration interface :ref:`operations documentation
-// `.
-// [#next-free-field: 7]
-type Admin struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Configuration for :ref:`access logs `
- // emitted by the administration server.
- AccessLog []*v34.AccessLog `protobuf:"bytes,5,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
- // The path to write the access log for the administration server. If no
- // access log is desired specify ‘/dev/null’. This is only required if
- // :ref:`address ` is set.
- // Deprecated in favor of *access_log* which offers more options.
- //
- // Deprecated: Do not use.
- AccessLogPath string `protobuf:"bytes,1,opt,name=access_log_path,json=accessLogPath,proto3" json:"access_log_path,omitempty"`
- // The cpu profiler output path for the administration server. If no profile
- // path is specified, the default is ‘/var/log/envoy/envoy.prof’.
- ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
- // The TCP address that the administration server will listen on.
- // If not specified, Envoy will not start an administration server.
- Address *v3.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
- // Additional socket options that may not be present in Envoy source code or
- // precompiled binaries.
- SocketOptions []*v3.SocketOption `protobuf:"bytes,4,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
- // Indicates whether :ref:`global_downstream_max_connections `
- // should apply to the admin interface or not.
- IgnoreGlobalConnLimit bool `protobuf:"varint,6,opt,name=ignore_global_conn_limit,json=ignoreGlobalConnLimit,proto3" json:"ignore_global_conn_limit,omitempty"`
-}
-
-func (x *Admin) Reset() {
- *x = Admin{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Admin) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Admin) ProtoMessage() {}
-
-func (x *Admin) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Admin.ProtoReflect.Descriptor instead.
-func (*Admin) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Admin) GetAccessLog() []*v34.AccessLog {
- if x != nil {
- return x.AccessLog
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (x *Admin) GetAccessLogPath() string {
- if x != nil {
- return x.AccessLogPath
- }
- return ""
-}
-
-func (x *Admin) GetProfilePath() string {
- if x != nil {
- return x.ProfilePath
- }
- return ""
-}
-
-func (x *Admin) GetAddress() *v3.Address {
- if x != nil {
- return x.Address
- }
- return nil
-}
-
-func (x *Admin) GetSocketOptions() []*v3.SocketOption {
- if x != nil {
- return x.SocketOptions
- }
- return nil
-}
-
-func (x *Admin) GetIgnoreGlobalConnLimit() bool {
- if x != nil {
- return x.IgnoreGlobalConnLimit
- }
- return false
-}
-
-// Cluster manager :ref:`architecture overview `.
-type ClusterManager struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Name of the local cluster (i.e., the cluster that owns the Envoy running
- // this configuration). In order to enable :ref:`zone aware routing
- // ` this option must be set.
- // If *local_cluster_name* is defined then :ref:`clusters
- // ` must be defined in the :ref:`Bootstrap
- // static cluster resources
- // `. This is unrelated to
- // the :option:`--service-cluster` option which does not `affect zone aware
- // routing `_.
- LocalClusterName string `protobuf:"bytes,1,opt,name=local_cluster_name,json=localClusterName,proto3" json:"local_cluster_name,omitempty"`
- // Optional global configuration for outlier detection.
- OutlierDetection *ClusterManager_OutlierDetection `protobuf:"bytes,2,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
- // Optional configuration used to bind newly established upstream connections.
- // This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
- UpstreamBindConfig *v3.BindConfig `protobuf:"bytes,3,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"`
- // A management server endpoint to stream load stats to via
- // *StreamLoadStats*. This must have :ref:`api_type
- // ` :ref:`GRPC
- // `.
- LoadStatsConfig *v3.ApiConfigSource `protobuf:"bytes,4,opt,name=load_stats_config,json=loadStatsConfig,proto3" json:"load_stats_config,omitempty"`
-}
-
-func (x *ClusterManager) Reset() {
- *x = ClusterManager{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClusterManager) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClusterManager) ProtoMessage() {}
-
-func (x *ClusterManager) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClusterManager.ProtoReflect.Descriptor instead.
-func (*ClusterManager) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *ClusterManager) GetLocalClusterName() string {
- if x != nil {
- return x.LocalClusterName
- }
- return ""
-}
-
-func (x *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection {
- if x != nil {
- return x.OutlierDetection
- }
- return nil
-}
-
-func (x *ClusterManager) GetUpstreamBindConfig() *v3.BindConfig {
- if x != nil {
- return x.UpstreamBindConfig
- }
- return nil
-}
-
-func (x *ClusterManager) GetLoadStatsConfig() *v3.ApiConfigSource {
- if x != nil {
- return x.LoadStatsConfig
- }
- return nil
-}
-
-// Allows you to specify different watchdog configs for different subsystems.
-// This allows finer tuned policies for the watchdog. If a subsystem is omitted
-// the default values for that system will be used.
-type Watchdogs struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Watchdog for the main thread.
- MainThreadWatchdog *Watchdog `protobuf:"bytes,1,opt,name=main_thread_watchdog,json=mainThreadWatchdog,proto3" json:"main_thread_watchdog,omitempty"`
- // Watchdog for the worker threads.
- WorkerWatchdog *Watchdog `protobuf:"bytes,2,opt,name=worker_watchdog,json=workerWatchdog,proto3" json:"worker_watchdog,omitempty"`
-}
-
-func (x *Watchdogs) Reset() {
- *x = Watchdogs{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Watchdogs) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Watchdogs) ProtoMessage() {}
-
-func (x *Watchdogs) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Watchdogs.ProtoReflect.Descriptor instead.
-func (*Watchdogs) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Watchdogs) GetMainThreadWatchdog() *Watchdog {
- if x != nil {
- return x.MainThreadWatchdog
- }
- return nil
-}
-
-func (x *Watchdogs) GetWorkerWatchdog() *Watchdog {
- if x != nil {
- return x.WorkerWatchdog
- }
- return nil
-}
-
-// Envoy process watchdog configuration. When configured, this monitors for
-// nonresponsive threads and kills the process after the configured thresholds.
-// See the :ref:`watchdog documentation ` for more information.
-// [#next-free-field: 8]
-type Watchdog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Register actions that will fire on given WatchDog events.
- // See *WatchDogAction* for priority of events.
- Actions []*Watchdog_WatchdogAction `protobuf:"bytes,7,rep,name=actions,proto3" json:"actions,omitempty"`
- // The duration after which Envoy counts a nonresponsive thread in the
- // *watchdog_miss* statistic. If not specified the default is 200ms.
- MissTimeout *duration.Duration `protobuf:"bytes,1,opt,name=miss_timeout,json=missTimeout,proto3" json:"miss_timeout,omitempty"`
- // The duration after which Envoy counts a nonresponsive thread in the
- // *watchdog_mega_miss* statistic. If not specified the default is
- // 1000ms.
- MegamissTimeout *duration.Duration `protobuf:"bytes,2,opt,name=megamiss_timeout,json=megamissTimeout,proto3" json:"megamiss_timeout,omitempty"`
- // If a watched thread has been nonresponsive for this duration, assume a
- // programming error and kill the entire Envoy process. Set to 0 to disable
- // kill behavior. If not specified the default is 0 (disabled).
- KillTimeout *duration.Duration `protobuf:"bytes,3,opt,name=kill_timeout,json=killTimeout,proto3" json:"kill_timeout,omitempty"`
- // Defines the maximum jitter used to adjust the *kill_timeout* if *kill_timeout* is
- // enabled. Enabling this feature would help to reduce risk of synchronized
- // watchdog kill events across proxies due to external triggers. Set to 0 to
- // disable. If not specified the default is 0 (disabled).
- MaxKillTimeoutJitter *duration.Duration `protobuf:"bytes,6,opt,name=max_kill_timeout_jitter,json=maxKillTimeoutJitter,proto3" json:"max_kill_timeout_jitter,omitempty"`
- // If max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))
- // threads have been nonresponsive for at least this duration kill the entire
- // Envoy process. Set to 0 to disable this behavior. If not specified the
- // default is 0 (disabled).
- MultikillTimeout *duration.Duration `protobuf:"bytes,4,opt,name=multikill_timeout,json=multikillTimeout,proto3" json:"multikill_timeout,omitempty"`
- // Sets the threshold for *multikill_timeout* in terms of the percentage of
- // nonresponsive threads required for the *multikill_timeout*.
- // If not specified the default is 0.
- MultikillThreshold *v35.Percent `protobuf:"bytes,5,opt,name=multikill_threshold,json=multikillThreshold,proto3" json:"multikill_threshold,omitempty"`
-}
-
-func (x *Watchdog) Reset() {
- *x = Watchdog{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Watchdog) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Watchdog) ProtoMessage() {}
-
-func (x *Watchdog) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Watchdog.ProtoReflect.Descriptor instead.
-func (*Watchdog) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Watchdog) GetActions() []*Watchdog_WatchdogAction {
- if x != nil {
- return x.Actions
- }
- return nil
-}
-
-func (x *Watchdog) GetMissTimeout() *duration.Duration {
- if x != nil {
- return x.MissTimeout
- }
- return nil
-}
-
-func (x *Watchdog) GetMegamissTimeout() *duration.Duration {
- if x != nil {
- return x.MegamissTimeout
- }
- return nil
-}
-
-func (x *Watchdog) GetKillTimeout() *duration.Duration {
- if x != nil {
- return x.KillTimeout
- }
- return nil
-}
-
-func (x *Watchdog) GetMaxKillTimeoutJitter() *duration.Duration {
- if x != nil {
- return x.MaxKillTimeoutJitter
- }
- return nil
-}
-
-func (x *Watchdog) GetMultikillTimeout() *duration.Duration {
- if x != nil {
- return x.MultikillTimeout
- }
- return nil
-}
-
-func (x *Watchdog) GetMultikillThreshold() *v35.Percent {
- if x != nil {
- return x.MultikillThreshold
- }
- return nil
-}
-
-// Fatal actions to run while crashing. Actions can be safe (meaning they are
-// async-signal safe) or unsafe. We run all safe actions before we run unsafe actions.
-// If using an unsafe action that could get stuck or deadlock, it important to
-// have an out of band system to terminate the process.
-//
-// The interface for the extension is ``Envoy::Server::Configuration::FatalAction``.
-// *FatalAction* extensions live in the ``envoy.extensions.fatal_actions`` API
-// namespace.
-type FatalAction struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Extension specific configuration for the action. It's expected to conform
- // to the ``Envoy::Server::Configuration::FatalAction`` interface.
- Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
-}
-
-func (x *FatalAction) Reset() {
- *x = FatalAction{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FatalAction) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FatalAction) ProtoMessage() {}
-
-func (x *FatalAction) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FatalAction.ProtoReflect.Descriptor instead.
-func (*FatalAction) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *FatalAction) GetConfig() *v3.TypedExtensionConfig {
- if x != nil {
- return x.Config
- }
- return nil
-}
-
-// Runtime :ref:`configuration overview ` (deprecated).
-type Runtime struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The implementation assumes that the file system tree is accessed via a
- // symbolic link. An atomic link swap is used when a new tree should be
- // switched to. This parameter specifies the path to the symbolic link. Envoy
- // will watch the location for changes and reload the file system tree when
- // they happen. If this parameter is not set, there will be no disk based
- // runtime.
- SymlinkRoot string `protobuf:"bytes,1,opt,name=symlink_root,json=symlinkRoot,proto3" json:"symlink_root,omitempty"`
- // Specifies the subdirectory to load within the root directory. This is
- // useful if multiple systems share the same delivery mechanism. Envoy
- // configuration elements can be contained in a dedicated subdirectory.
- Subdirectory string `protobuf:"bytes,2,opt,name=subdirectory,proto3" json:"subdirectory,omitempty"`
- // Specifies an optional subdirectory to load within the root directory. If
- // specified and the directory exists, configuration values within this
- // directory will override those found in the primary subdirectory. This is
- // useful when Envoy is deployed across many different types of servers.
- // Sometimes it is useful to have a per service cluster directory for runtime
- // configuration. See below for exactly how the override directory is used.
- OverrideSubdirectory string `protobuf:"bytes,3,opt,name=override_subdirectory,json=overrideSubdirectory,proto3" json:"override_subdirectory,omitempty"`
- // Static base runtime. This will be :ref:`overridden
- // ` by other runtime layers, e.g.
- // disk or admin. This follows the :ref:`runtime protobuf JSON representation
- // encoding `.
- Base *_struct.Struct `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
-}
-
-func (x *Runtime) Reset() {
- *x = Runtime{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Runtime) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Runtime) ProtoMessage() {}
-
-func (x *Runtime) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Runtime.ProtoReflect.Descriptor instead.
-func (*Runtime) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *Runtime) GetSymlinkRoot() string {
- if x != nil {
- return x.SymlinkRoot
- }
- return ""
-}
-
-func (x *Runtime) GetSubdirectory() string {
- if x != nil {
- return x.Subdirectory
- }
- return ""
-}
-
-func (x *Runtime) GetOverrideSubdirectory() string {
- if x != nil {
- return x.OverrideSubdirectory
- }
- return ""
-}
-
-func (x *Runtime) GetBase() *_struct.Struct {
- if x != nil {
- return x.Base
- }
- return nil
-}
-
-// [#next-free-field: 6]
-type RuntimeLayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Descriptive name for the runtime layer. This is only used for the runtime
- // :http:get:`/runtime` output.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Types that are assignable to LayerSpecifier:
- // *RuntimeLayer_StaticLayer
- // *RuntimeLayer_DiskLayer_
- // *RuntimeLayer_AdminLayer_
- // *RuntimeLayer_RtdsLayer_
- LayerSpecifier isRuntimeLayer_LayerSpecifier `protobuf_oneof:"layer_specifier"`
-}
-
-func (x *RuntimeLayer) Reset() {
- *x = RuntimeLayer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeLayer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeLayer) ProtoMessage() {}
-
-func (x *RuntimeLayer) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeLayer.ProtoReflect.Descriptor instead.
-func (*RuntimeLayer) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *RuntimeLayer) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (m *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier {
- if m != nil {
- return m.LayerSpecifier
- }
- return nil
-}
-
-func (x *RuntimeLayer) GetStaticLayer() *_struct.Struct {
- if x, ok := x.GetLayerSpecifier().(*RuntimeLayer_StaticLayer); ok {
- return x.StaticLayer
- }
- return nil
-}
-
-func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer {
- if x, ok := x.GetLayerSpecifier().(*RuntimeLayer_DiskLayer_); ok {
- return x.DiskLayer
- }
- return nil
-}
-
-func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer {
- if x, ok := x.GetLayerSpecifier().(*RuntimeLayer_AdminLayer_); ok {
- return x.AdminLayer
- }
- return nil
-}
-
-func (x *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer {
- if x, ok := x.GetLayerSpecifier().(*RuntimeLayer_RtdsLayer_); ok {
- return x.RtdsLayer
- }
- return nil
-}
-
-type isRuntimeLayer_LayerSpecifier interface {
- isRuntimeLayer_LayerSpecifier()
-}
-
-type RuntimeLayer_StaticLayer struct {
- // :ref:`Static runtime ` layer.
- // This follows the :ref:`runtime protobuf JSON representation encoding
- // `. Unlike static xDS resources, this static
- // layer is overridable by later layers in the runtime virtual filesystem.
- StaticLayer *_struct.Struct `protobuf:"bytes,2,opt,name=static_layer,json=staticLayer,proto3,oneof"`
-}
-
-type RuntimeLayer_DiskLayer_ struct {
- DiskLayer *RuntimeLayer_DiskLayer `protobuf:"bytes,3,opt,name=disk_layer,json=diskLayer,proto3,oneof"`
-}
-
-type RuntimeLayer_AdminLayer_ struct {
- AdminLayer *RuntimeLayer_AdminLayer `protobuf:"bytes,4,opt,name=admin_layer,json=adminLayer,proto3,oneof"`
-}
-
-type RuntimeLayer_RtdsLayer_ struct {
- RtdsLayer *RuntimeLayer_RtdsLayer `protobuf:"bytes,5,opt,name=rtds_layer,json=rtdsLayer,proto3,oneof"`
-}
-
-func (*RuntimeLayer_StaticLayer) isRuntimeLayer_LayerSpecifier() {}
-
-func (*RuntimeLayer_DiskLayer_) isRuntimeLayer_LayerSpecifier() {}
-
-func (*RuntimeLayer_AdminLayer_) isRuntimeLayer_LayerSpecifier() {}
-
-func (*RuntimeLayer_RtdsLayer_) isRuntimeLayer_LayerSpecifier() {}
-
-// Runtime :ref:`configuration overview `.
-type LayeredRuntime struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The :ref:`layers ` of the runtime. This is ordered
- // such that later layers in the list overlay earlier entries.
- Layers []*RuntimeLayer `protobuf:"bytes,1,rep,name=layers,proto3" json:"layers,omitempty"`
-}
-
-func (x *LayeredRuntime) Reset() {
- *x = LayeredRuntime{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *LayeredRuntime) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LayeredRuntime) ProtoMessage() {}
-
-func (x *LayeredRuntime) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use LayeredRuntime.ProtoReflect.Descriptor instead.
-func (*LayeredRuntime) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *LayeredRuntime) GetLayers() []*RuntimeLayer {
- if x != nil {
- return x.Layers
- }
- return nil
-}
-
-// Used to specify the header that needs to be registered as an inline header.
-//
-// If request or response contain multiple headers with the same name and the header
-// name is registered as an inline header. Then multiple headers will be folded
-// into one, and multiple header values will be concatenated by a suitable delimiter.
-// The delimiter is generally a comma.
-//
-// For example, if 'foo' is registered as an inline header, and the headers contains
-// the following two headers:
-//
-// .. code-block:: text
-//
-// foo: bar
-// foo: eep
-//
-// Then they will eventually be folded into:
-//
-// .. code-block:: text
-//
-// foo: bar, eep
-//
-// Inline headers provide O(1) search performance, but each inline header imposes
-// an additional memory overhead on all instances of the corresponding type of
-// HeaderMap or TrailerMap.
-type CustomInlineHeader struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The name of the header that is expected to be set as the inline header.
- InlineHeaderName string `protobuf:"bytes,1,opt,name=inline_header_name,json=inlineHeaderName,proto3" json:"inline_header_name,omitempty"`
- // The type of the header that is expected to be set as the inline header.
- InlineHeaderType CustomInlineHeader_InlineHeaderType `protobuf:"varint,2,opt,name=inline_header_type,json=inlineHeaderType,proto3,enum=envoy.config.bootstrap.v3.CustomInlineHeader_InlineHeaderType" json:"inline_header_type,omitempty"`
-}
-
-func (x *CustomInlineHeader) Reset() {
- *x = CustomInlineHeader{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CustomInlineHeader) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CustomInlineHeader) ProtoMessage() {}
-
-func (x *CustomInlineHeader) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CustomInlineHeader.ProtoReflect.Descriptor instead.
-func (*CustomInlineHeader) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *CustomInlineHeader) GetInlineHeaderName() string {
- if x != nil {
- return x.InlineHeaderName
- }
- return ""
-}
-
-func (x *CustomInlineHeader) GetInlineHeaderType() CustomInlineHeader_InlineHeaderType {
- if x != nil {
- return x.InlineHeaderType
- }
- return CustomInlineHeader_REQUEST_HEADER
-}
-
-type Bootstrap_StaticResources struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Static :ref:`Listeners `. These listeners are
- // available regardless of LDS configuration.
- Listeners []*v36.Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"`
- // If a network based configuration source is specified for :ref:`cds_config
- // `, it's necessary
- // to have some initial cluster definitions available to allow Envoy to know
- // how to speak to the management server. These cluster definitions may not
- // use :ref:`EDS ` (i.e. they should be static
- // IP or DNS-based).
- Clusters []*v37.Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"`
- // These static secrets can be used by :ref:`SdsSecretConfig
- // `
- Secrets []*v38.Secret `protobuf:"bytes,3,rep,name=secrets,proto3" json:"secrets,omitempty"`
-}
-
-func (x *Bootstrap_StaticResources) Reset() {
- *x = Bootstrap_StaticResources{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Bootstrap_StaticResources) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Bootstrap_StaticResources) ProtoMessage() {}
-
-func (x *Bootstrap_StaticResources) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Bootstrap_StaticResources.ProtoReflect.Descriptor instead.
-func (*Bootstrap_StaticResources) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *Bootstrap_StaticResources) GetListeners() []*v36.Listener {
- if x != nil {
- return x.Listeners
- }
- return nil
-}
-
-func (x *Bootstrap_StaticResources) GetClusters() []*v37.Cluster {
- if x != nil {
- return x.Clusters
- }
- return nil
-}
-
-func (x *Bootstrap_StaticResources) GetSecrets() []*v38.Secret {
- if x != nil {
- return x.Secrets
- }
- return nil
-}
-
-// [#next-free-field: 7]
-type Bootstrap_DynamicResources struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // All :ref:`Listeners ` are provided by a single
- // :ref:`LDS ` configuration source.
- LdsConfig *v3.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"`
- // xdstp:// resource locator for listener collection.
- // [#not-implemented-hide:]
- LdsResourcesLocator string `protobuf:"bytes,5,opt,name=lds_resources_locator,json=ldsResourcesLocator,proto3" json:"lds_resources_locator,omitempty"`
- // All post-bootstrap :ref:`Cluster ` definitions are
- // provided by a single :ref:`CDS `
- // configuration source.
- CdsConfig *v3.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"`
- // xdstp:// resource locator for cluster collection.
- // [#not-implemented-hide:]
- CdsResourcesLocator string `protobuf:"bytes,6,opt,name=cds_resources_locator,json=cdsResourcesLocator,proto3" json:"cds_resources_locator,omitempty"`
- // A single :ref:`ADS ` source may be optionally
- // specified. This must have :ref:`api_type
- // ` :ref:`GRPC
- // `. Only
- // :ref:`ConfigSources ` that have
- // the :ref:`ads ` field set will be
- // streamed on the ADS channel.
- AdsConfig *v3.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"`
-}
-
-func (x *Bootstrap_DynamicResources) Reset() {
- *x = Bootstrap_DynamicResources{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Bootstrap_DynamicResources) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Bootstrap_DynamicResources) ProtoMessage() {}
-
-func (x *Bootstrap_DynamicResources) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Bootstrap_DynamicResources.ProtoReflect.Descriptor instead.
-func (*Bootstrap_DynamicResources) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{0, 1}
-}
-
-func (x *Bootstrap_DynamicResources) GetLdsConfig() *v3.ConfigSource {
- if x != nil {
- return x.LdsConfig
- }
- return nil
-}
-
-func (x *Bootstrap_DynamicResources) GetLdsResourcesLocator() string {
- if x != nil {
- return x.LdsResourcesLocator
- }
- return ""
-}
-
-func (x *Bootstrap_DynamicResources) GetCdsConfig() *v3.ConfigSource {
- if x != nil {
- return x.CdsConfig
- }
- return nil
-}
-
-func (x *Bootstrap_DynamicResources) GetCdsResourcesLocator() string {
- if x != nil {
- return x.CdsResourcesLocator
- }
- return ""
-}
-
-func (x *Bootstrap_DynamicResources) GetAdsConfig() *v3.ApiConfigSource {
- if x != nil {
- return x.AdsConfig
- }
- return nil
-}
-
-type ClusterManager_OutlierDetection struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Specifies the path to the outlier event log.
- EventLogPath string `protobuf:"bytes,1,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
- // [#not-implemented-hide:]
- // The gRPC service for the outlier detection event service.
- // If empty, outlier detection events won't be sent to a remote endpoint.
- EventService *v3.EventServiceConfig `protobuf:"bytes,2,opt,name=event_service,json=eventService,proto3" json:"event_service,omitempty"`
-}
-
-func (x *ClusterManager_OutlierDetection) Reset() {
- *x = ClusterManager_OutlierDetection{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClusterManager_OutlierDetection) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClusterManager_OutlierDetection) ProtoMessage() {}
-
-func (x *ClusterManager_OutlierDetection) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClusterManager_OutlierDetection.ProtoReflect.Descriptor instead.
-func (*ClusterManager_OutlierDetection) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{2, 0}
-}
-
-func (x *ClusterManager_OutlierDetection) GetEventLogPath() string {
- if x != nil {
- return x.EventLogPath
- }
- return ""
-}
-
-func (x *ClusterManager_OutlierDetection) GetEventService() *v3.EventServiceConfig {
- if x != nil {
- return x.EventService
- }
- return nil
-}
-
-type Watchdog_WatchdogAction struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Extension specific configuration for the action.
- Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
- Event Watchdog_WatchdogAction_WatchdogEvent `protobuf:"varint,2,opt,name=event,proto3,enum=envoy.config.bootstrap.v3.Watchdog_WatchdogAction_WatchdogEvent" json:"event,omitempty"`
-}
-
-func (x *Watchdog_WatchdogAction) Reset() {
- *x = Watchdog_WatchdogAction{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Watchdog_WatchdogAction) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Watchdog_WatchdogAction) ProtoMessage() {}
-
-func (x *Watchdog_WatchdogAction) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Watchdog_WatchdogAction.ProtoReflect.Descriptor instead.
-func (*Watchdog_WatchdogAction) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{4, 0}
-}
-
-func (x *Watchdog_WatchdogAction) GetConfig() *v3.TypedExtensionConfig {
- if x != nil {
- return x.Config
- }
- return nil
-}
-
-func (x *Watchdog_WatchdogAction) GetEvent() Watchdog_WatchdogAction_WatchdogEvent {
- if x != nil {
- return x.Event
- }
- return Watchdog_WatchdogAction_UNKNOWN
-}
-
-// :ref:`Disk runtime ` layer.
-type RuntimeLayer_DiskLayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The implementation assumes that the file system tree is accessed via a
- // symbolic link. An atomic link swap is used when a new tree should be
- // switched to. This parameter specifies the path to the symbolic link.
- // Envoy will watch the location for changes and reload the file system tree
- // when they happen. See documentation on runtime :ref:`atomicity
- // ` for further details on how reloads are
- // treated.
- SymlinkRoot string `protobuf:"bytes,1,opt,name=symlink_root,json=symlinkRoot,proto3" json:"symlink_root,omitempty"`
- // Specifies the subdirectory to load within the root directory. This is
- // useful if multiple systems share the same delivery mechanism. Envoy
- // configuration elements can be contained in a dedicated subdirectory.
- Subdirectory string `protobuf:"bytes,3,opt,name=subdirectory,proto3" json:"subdirectory,omitempty"`
- // :ref:`Append ` the
- // service cluster to the path under symlink root.
- AppendServiceCluster bool `protobuf:"varint,2,opt,name=append_service_cluster,json=appendServiceCluster,proto3" json:"append_service_cluster,omitempty"`
-}
-
-func (x *RuntimeLayer_DiskLayer) Reset() {
- *x = RuntimeLayer_DiskLayer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeLayer_DiskLayer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeLayer_DiskLayer) ProtoMessage() {}
-
-func (x *RuntimeLayer_DiskLayer) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeLayer_DiskLayer.ProtoReflect.Descriptor instead.
-func (*RuntimeLayer_DiskLayer) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{7, 0}
-}
-
-func (x *RuntimeLayer_DiskLayer) GetSymlinkRoot() string {
- if x != nil {
- return x.SymlinkRoot
- }
- return ""
-}
-
-func (x *RuntimeLayer_DiskLayer) GetSubdirectory() string {
- if x != nil {
- return x.Subdirectory
- }
- return ""
-}
-
-func (x *RuntimeLayer_DiskLayer) GetAppendServiceCluster() bool {
- if x != nil {
- return x.AppendServiceCluster
- }
- return false
-}
-
-// :ref:`Admin console runtime ` layer.
-type RuntimeLayer_AdminLayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *RuntimeLayer_AdminLayer) Reset() {
- *x = RuntimeLayer_AdminLayer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeLayer_AdminLayer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeLayer_AdminLayer) ProtoMessage() {}
-
-func (x *RuntimeLayer_AdminLayer) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeLayer_AdminLayer.ProtoReflect.Descriptor instead.
-func (*RuntimeLayer_AdminLayer) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{7, 1}
-}
-
-// :ref:`Runtime Discovery Service (RTDS) ` layer.
-type RuntimeLayer_RtdsLayer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Resource to subscribe to at *rtds_config* for the RTDS layer.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // RTDS configuration source.
- RtdsConfig *v3.ConfigSource `protobuf:"bytes,2,opt,name=rtds_config,json=rtdsConfig,proto3" json:"rtds_config,omitempty"`
-}
-
-func (x *RuntimeLayer_RtdsLayer) Reset() {
- *x = RuntimeLayer_RtdsLayer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RuntimeLayer_RtdsLayer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RuntimeLayer_RtdsLayer) ProtoMessage() {}
-
-func (x *RuntimeLayer_RtdsLayer) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RuntimeLayer_RtdsLayer.ProtoReflect.Descriptor instead.
-func (*RuntimeLayer_RtdsLayer) Descriptor() ([]byte, []int) {
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP(), []int{7, 2}
-}
-
-func (x *RuntimeLayer_RtdsLayer) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *RuntimeLayer_RtdsLayer) GetRtdsConfig() *v3.ConfigSource {
- if x != nil {
- return x.RtdsConfig
- }
- return nil
-}
-
-var File_envoy_config_bootstrap_v3_bootstrap_proto protoreflect.FileDescriptor
-
-var file_envoy_config_bootstrap_v3_bootstrap_proto_rawDesc = []byte{
- 0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x62,
- 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x6f, 0x6f, 0x74,
- 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74,
- 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x1a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2f, 0x76,
- 0x33, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x1a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
- 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74,
- 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
- 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65,
- 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x76,
- 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x65,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72,
- 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6c, 0x69, 0x73, 0x74,
- 0x65, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x33, 0x2f,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f,
- 0x61, 0x64, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70,
- 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
- 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70,
- 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69,
- 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x22, 0xbc, 0x1a, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12,
- 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12,
- 0x2e, 0x0a, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f,
- 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x6e, 0x6f,
- 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12,
- 0x5f, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72,
- 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
- 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52,
- 0x0f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
- 0x12, 0x62, 0x0a, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73,
- 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x73, 0x52, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f,
- 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
- 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
- 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x0a, 0x68, 0x64, 0x73, 0x5f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
- 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x52, 0x09, 0x68, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d,
- 0x0a, 0x0a, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x43, 0x0a,
- 0x0b, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61,
- 0x74, 0x73, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x73, 0x53, 0x69, 0x6e,
- 0x6b, 0x73, 0x12, 0x47, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
- 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x71, 0x0a, 0x14, 0x73,
- 0x74, 0x61, 0x74, 0x73, 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72,
- 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x24, 0xfa, 0x42, 0x0e, 0xaa, 0x01, 0x0b, 0x1a, 0x03, 0x08, 0xac,
- 0x02, 0x32, 0x04, 0x10, 0xc0, 0x84, 0x3d, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x0d, 0x12, 0x0b, 0x73,
- 0x74, 0x61, 0x74, 0x73, 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x12, 0x73, 0x74, 0x61, 0x74,
- 0x73, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3a,
- 0x0a, 0x14, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x6e,
- 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42,
- 0x04, 0x6a, 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x11, 0x73, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6c,
- 0x75, 0x73, 0x68, 0x4f, 0x6e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x4c, 0x0a, 0x08, 0x77, 0x61,
- 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74,
- 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f,
- 0x67, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x08,
- 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x12, 0x42, 0x0a, 0x09, 0x77, 0x61, 0x74, 0x63,
- 0x68, 0x64, 0x6f, 0x67, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73,
- 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67,
- 0x73, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x73, 0x12, 0x45, 0x0a, 0x07,
- 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61,
- 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x42, 0x0b, 0x18,
- 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63,
- 0x69, 0x6e, 0x67, 0x12, 0x52, 0x0a, 0x0f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x72,
- 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74,
- 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x65, 0x64,
- 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x65, 0x64,
- 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
- 0x76, 0x33, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x12,
- 0x64, 0x0a, 0x10, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6d, 0x61, 0x6e, 0x61,
- 0x67, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61,
- 0x64, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61, 0x6e,
- 0x61, 0x67, 0x65, 0x72, 0x42, 0x0e, 0x8a, 0x93, 0xb7, 0x2a, 0x02, 0x08, 0x01, 0x8a, 0x93, 0xb7,
- 0x2a, 0x02, 0x10, 0x01, 0x52, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x61,
- 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f,
- 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73,
- 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69,
- 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x23, 0x0a,
- 0x0d, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x12,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66,
- 0x69, 0x78, 0x12, 0x5f, 0x0a, 0x1d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72,
- 0x69, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1a, 0x73, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65,
- 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72,
- 0x69, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x17, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x63, 0x70, 0x5f, 0x66,
- 0x6f, 0x72, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x14,
- 0x20, 0x01, 0x28, 0x08, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e,
- 0x30, 0x52, 0x13, 0x75, 0x73, 0x65, 0x54, 0x63, 0x70, 0x46, 0x6f, 0x72, 0x44, 0x6e, 0x73, 0x4c,
- 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x65,
- 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
- 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73,
- 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x13, 0x64,
- 0x6e, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x12, 0x65, 0x0a, 0x19, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x64, 0x6e, 0x73, 0x5f,
- 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
- 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70,
- 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x52, 0x16, 0x74, 0x79, 0x70, 0x65, 0x64, 0x44, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x6c,
- 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5d, 0x0a, 0x14, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54,
- 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x52, 0x13, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4b, 0x0a, 0x0d, 0x66, 0x61, 0x74, 0x61,
- 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62,
- 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x61, 0x74, 0x61,
- 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x66, 0x61, 0x74, 0x61, 0x6c, 0x41, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72,
- 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
- 0x12, 0x56, 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72,
- 0x66, 0x61, 0x63, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61,
- 0x63, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x1e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x73, 0x74,
- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73,
- 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
- 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x52, 0x1c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
- 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x12, 0x54, 0x0a, 0x0e, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64,
- 0x65, 0x72, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72,
- 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x70, 0x65, 0x72, 0x66, 0x5f,
- 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74,
- 0x68, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x65, 0x72, 0x66, 0x54, 0x72, 0x61,
- 0x63, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x5c, 0x0a, 0x14,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x5f, 0x65, 0x6e,
- 0x67, 0x69, 0x6e, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52,
- 0x65, 0x67, 0x65, 0x78, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x9a, 0x02, 0x0a, 0x0f, 0x53,
- 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x40,
- 0x0a, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73,
- 0x74, 0x65, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73,
- 0x12, 0x3c, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75,
- 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x4b,
- 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x3a, 0x3a, 0x9a, 0xc5, 0x88,
- 0x1e, 0x35, 0x0a, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6f,
- 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x89, 0x03, 0x0a, 0x10, 0x44, 0x79, 0x6e, 0x61,
- 0x6d, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x0a,
- 0x6c, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x6c, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
- 0x32, 0x0a, 0x15, 0x6c, 0x64, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
- 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
- 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4c, 0x6f, 0x63, 0x61,
- 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0a, 0x63, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x63, 0x64, 0x73,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x64, 0x73, 0x5f, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x64, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x64,
- 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
- 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x61, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x3a, 0x3b, 0x9a, 0xc5, 0x88, 0x1e, 0x36, 0x0a, 0x34, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
- 0x76, 0x32, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x44, 0x79, 0x6e,
- 0x61, 0x6d, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4a, 0x04, 0x08,
- 0x04, 0x10, 0x05, 0x1a, 0x7b, 0x0a, 0x21, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
- 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
- 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
- 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x3a, 0x2a, 0x9a, 0xc5, 0x88, 0x1e, 0x25, 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
- 0x76, 0x32, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x42, 0x0d, 0x0a, 0x0b,
- 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x4a, 0x04, 0x08, 0x0a, 0x10,
- 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
- 0x22, 0x89, 0x03, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x0a, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x4c, 0x6f, 0x67, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12,
- 0x33, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x61,
- 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8,
- 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67,
- 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
- 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
- 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x12, 0x49, 0x0a, 0x0e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
- 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e,
- 0x6e, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x6e, 0x4c,
- 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21, 0x0a, 0x1f, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74,
- 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0xcb, 0x04, 0x0a,
- 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12,
- 0x2c, 0x0a, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, 0x63,
- 0x61, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a,
- 0x11, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61,
- 0x67, 0x65, 0x72, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x14, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x69, 0x6e, 0x64,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x42, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x51, 0x0a, 0x11, 0x6c, 0x6f,
- 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x6c, 0x6f,
- 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xc9, 0x01,
- 0x0a, 0x10, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f,
- 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
- 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x40, 0x9a, 0xc5, 0x88, 0x1e, 0x3b, 0x0a, 0x39,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
- 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72,
- 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a,
- 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62,
- 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73,
- 0x74, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x22, 0xb0, 0x01, 0x0a, 0x09, 0x57,
- 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x14, 0x6d, 0x61, 0x69, 0x6e,
- 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
- 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x52, 0x12, 0x6d, 0x61, 0x69,
- 0x6e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x12,
- 0x4c, 0x0a, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x64,
- 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x52, 0x0e, 0x77,
- 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x22, 0xba, 0x06,
- 0x0a, 0x08, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x12, 0x4c, 0x0a, 0x07, 0x61, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73,
- 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67,
- 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6d, 0x69, 0x73, 0x73,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x54,
- 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x44, 0x0a, 0x10, 0x6d, 0x65, 0x67, 0x61, 0x6d, 0x69,
- 0x73, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6d, 0x65, 0x67,
- 0x61, 0x6d, 0x69, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3c, 0x0a, 0x0c,
- 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6b,
- 0x69, 0x6c, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x5a, 0x0a, 0x17, 0x6d, 0x61,
- 0x78, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6a,
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x32, 0x00,
- 0x52, 0x14, 0x6d, 0x61, 0x78, 0x4b, 0x69, 0x6c, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
- 0x4a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x6b,
- 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x75,
- 0x6c, 0x74, 0x69, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x47,
- 0x0a, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x68, 0x72, 0x65,
- 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63,
- 0x65, 0x6e, 0x74, 0x52, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x68,
- 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x1a, 0x85, 0x02, 0x0a, 0x0e, 0x57, 0x61, 0x74, 0x63,
- 0x68, 0x64, 0x6f, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x60,
- 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64,
- 0x6f, 0x67, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x41, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x22, 0x4d, 0x0a, 0x0d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e,
- 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08,
- 0x0a, 0x04, 0x4b, 0x49, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x55, 0x4c, 0x54,
- 0x49, 0x4b, 0x49, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x45, 0x47, 0x41, 0x4d,
- 0x49, 0x53, 0x53, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x49, 0x53, 0x53, 0x10, 0x04, 0x3a,
- 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76,
- 0x32, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x64, 0x6f, 0x67, 0x22, 0x51, 0x0a, 0x0b, 0x46, 0x61,
- 0x74, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
- 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xdc, 0x01,
- 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x79, 0x6d,
- 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c,
- 0x73, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
- 0x12, 0x33, 0x0a, 0x15, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x75, 0x62,
- 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x14, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x62, 0x61,
- 0x73, 0x65, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xdb, 0x06, 0x0a,
- 0x0c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1b, 0x0a,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
- 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x74,
- 0x61, 0x74, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x61,
- 0x74, 0x69, 0x63, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0a, 0x64, 0x69, 0x73, 0x6b,
- 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65,
- 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74,
- 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
- 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x48,
- 0x00, 0x52, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x0b,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
- 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75,
- 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x4c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x61,
- 0x79, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0a, 0x72, 0x74, 0x64, 0x73, 0x5f, 0x6c, 0x61, 0x79, 0x65,
- 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70,
- 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72,
- 0x2e, 0x52, 0x74, 0x64, 0x73, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x72, 0x74,
- 0x64, 0x73, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x1a, 0xc1, 0x01, 0x0a, 0x09, 0x44, 0x69, 0x73, 0x6b,
- 0x4c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b,
- 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x79, 0x6d,
- 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x64,
- 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x73, 0x75, 0x62, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x16,
- 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63,
- 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x61, 0x70,
- 0x70, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
- 0x65, 0x72, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61,
- 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65,
- 0x72, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x1a, 0x46, 0x0a, 0x0a, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x38, 0x9a, 0xc5, 0x88, 0x1e, 0x33,
- 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62,
- 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e, 0x74,
- 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x61,
- 0x79, 0x65, 0x72, 0x1a, 0x9d, 0x01, 0x0a, 0x09, 0x52, 0x74, 0x64, 0x73, 0x4c, 0x61, 0x79, 0x65,
- 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x72, 0x74, 0x64, 0x73, 0x5f, 0x63, 0x6f,
- 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
- 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0a,
- 0x72, 0x74, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e,
- 0x32, 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e,
- 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x52, 0x74, 0x64, 0x73, 0x4c, 0x61,
- 0x79, 0x65, 0x72, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72,
- 0x61, 0x70, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x79,
- 0x65, 0x72, 0x42, 0x16, 0x0a, 0x0f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63,
- 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x4c,
- 0x61, 0x79, 0x65, 0x72, 0x65, 0x64, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a,
- 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
- 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f,
- 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d,
- 0x65, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x3a, 0x2f,
- 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x32,
- 0x2e, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x65, 0x64, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x22,
- 0xb1, 0x02, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x12, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
- 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x0d, 0xfa, 0x42, 0x0a, 0x72, 0x08, 0x10, 0x01, 0xc0, 0x01, 0x01, 0xc8, 0x01,
- 0x00, 0x52, 0x10, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4e,
- 0x61, 0x6d, 0x65, 0x12, 0x76, 0x0a, 0x12, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x68, 0x65,
- 0x61, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x3e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x62,
- 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x75, 0x73, 0x74,
- 0x6f, 0x6d, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x49,
- 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42,
- 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
- 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x66, 0x0a, 0x10, 0x49,
- 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45,
- 0x52, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54,
- 0x52, 0x41, 0x49, 0x4c, 0x45, 0x52, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x53, 0x50,
- 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a,
- 0x10, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x4c, 0x45,
- 0x52, 0x10, 0x03, 0x42, 0x91, 0x01, 0x0a, 0x27, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
- 0x69, 0x67, 0x2e, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x42,
- 0x0e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
- 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
- 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
- 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70,
- 0x2f, 0x76, 0x33, 0x3b, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x76, 0x33, 0xba,
- 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescOnce sync.Once
- file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescData = file_envoy_config_bootstrap_v3_bootstrap_proto_rawDesc
-)
-
-func file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescGZIP() []byte {
- file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescOnce.Do(func() {
- file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescData)
- })
- return file_envoy_config_bootstrap_v3_bootstrap_proto_rawDescData
-}
-
-var file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
-var file_envoy_config_bootstrap_v3_bootstrap_proto_goTypes = []interface{}{
- (Watchdog_WatchdogAction_WatchdogEvent)(0), // 0: envoy.config.bootstrap.v3.Watchdog.WatchdogAction.WatchdogEvent
- (CustomInlineHeader_InlineHeaderType)(0), // 1: envoy.config.bootstrap.v3.CustomInlineHeader.InlineHeaderType
- (*Bootstrap)(nil), // 2: envoy.config.bootstrap.v3.Bootstrap
- (*Admin)(nil), // 3: envoy.config.bootstrap.v3.Admin
- (*ClusterManager)(nil), // 4: envoy.config.bootstrap.v3.ClusterManager
- (*Watchdogs)(nil), // 5: envoy.config.bootstrap.v3.Watchdogs
- (*Watchdog)(nil), // 6: envoy.config.bootstrap.v3.Watchdog
- (*FatalAction)(nil), // 7: envoy.config.bootstrap.v3.FatalAction
- (*Runtime)(nil), // 8: envoy.config.bootstrap.v3.Runtime
- (*RuntimeLayer)(nil), // 9: envoy.config.bootstrap.v3.RuntimeLayer
- (*LayeredRuntime)(nil), // 10: envoy.config.bootstrap.v3.LayeredRuntime
- (*CustomInlineHeader)(nil), // 11: envoy.config.bootstrap.v3.CustomInlineHeader
- (*Bootstrap_StaticResources)(nil), // 12: envoy.config.bootstrap.v3.Bootstrap.StaticResources
- (*Bootstrap_DynamicResources)(nil), // 13: envoy.config.bootstrap.v3.Bootstrap.DynamicResources
- nil, // 14: envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry
- (*ClusterManager_OutlierDetection)(nil), // 15: envoy.config.bootstrap.v3.ClusterManager.OutlierDetection
- (*Watchdog_WatchdogAction)(nil), // 16: envoy.config.bootstrap.v3.Watchdog.WatchdogAction
- (*RuntimeLayer_DiskLayer)(nil), // 17: envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer
- (*RuntimeLayer_AdminLayer)(nil), // 18: envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer
- (*RuntimeLayer_RtdsLayer)(nil), // 19: envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer
- (*v3.Node)(nil), // 20: envoy.config.core.v3.Node
- (*v3.ApiConfigSource)(nil), // 21: envoy.config.core.v3.ApiConfigSource
- (*v31.StatsSink)(nil), // 22: envoy.config.metrics.v3.StatsSink
- (*v31.StatsConfig)(nil), // 23: envoy.config.metrics.v3.StatsConfig
- (*duration.Duration)(nil), // 24: google.protobuf.Duration
- (*v32.Tracing)(nil), // 25: envoy.config.trace.v3.Tracing
- (*v33.OverloadManager)(nil), // 26: envoy.config.overload.v3.OverloadManager
- (*wrappers.UInt64Value)(nil), // 27: google.protobuf.UInt64Value
- (*v3.DnsResolutionConfig)(nil), // 28: envoy.config.core.v3.DnsResolutionConfig
- (*v3.TypedExtensionConfig)(nil), // 29: envoy.config.core.v3.TypedExtensionConfig
- (*v3.ConfigSource)(nil), // 30: envoy.config.core.v3.ConfigSource
- (*v34.AccessLog)(nil), // 31: envoy.config.accesslog.v3.AccessLog
- (*v3.Address)(nil), // 32: envoy.config.core.v3.Address
- (*v3.SocketOption)(nil), // 33: envoy.config.core.v3.SocketOption
- (*v3.BindConfig)(nil), // 34: envoy.config.core.v3.BindConfig
- (*v35.Percent)(nil), // 35: envoy.type.v3.Percent
- (*_struct.Struct)(nil), // 36: google.protobuf.Struct
- (*v36.Listener)(nil), // 37: envoy.config.listener.v3.Listener
- (*v37.Cluster)(nil), // 38: envoy.config.cluster.v3.Cluster
- (*v38.Secret)(nil), // 39: envoy.extensions.transport_sockets.tls.v3.Secret
- (*v3.EventServiceConfig)(nil), // 40: envoy.config.core.v3.EventServiceConfig
-}
-var file_envoy_config_bootstrap_v3_bootstrap_proto_depIdxs = []int32{
- 20, // 0: envoy.config.bootstrap.v3.Bootstrap.node:type_name -> envoy.config.core.v3.Node
- 12, // 1: envoy.config.bootstrap.v3.Bootstrap.static_resources:type_name -> envoy.config.bootstrap.v3.Bootstrap.StaticResources
- 13, // 2: envoy.config.bootstrap.v3.Bootstrap.dynamic_resources:type_name -> envoy.config.bootstrap.v3.Bootstrap.DynamicResources
- 4, // 3: envoy.config.bootstrap.v3.Bootstrap.cluster_manager:type_name -> envoy.config.bootstrap.v3.ClusterManager
- 21, // 4: envoy.config.bootstrap.v3.Bootstrap.hds_config:type_name -> envoy.config.core.v3.ApiConfigSource
- 22, // 5: envoy.config.bootstrap.v3.Bootstrap.stats_sinks:type_name -> envoy.config.metrics.v3.StatsSink
- 23, // 6: envoy.config.bootstrap.v3.Bootstrap.stats_config:type_name -> envoy.config.metrics.v3.StatsConfig
- 24, // 7: envoy.config.bootstrap.v3.Bootstrap.stats_flush_interval:type_name -> google.protobuf.Duration
- 6, // 8: envoy.config.bootstrap.v3.Bootstrap.watchdog:type_name -> envoy.config.bootstrap.v3.Watchdog
- 5, // 9: envoy.config.bootstrap.v3.Bootstrap.watchdogs:type_name -> envoy.config.bootstrap.v3.Watchdogs
- 25, // 10: envoy.config.bootstrap.v3.Bootstrap.tracing:type_name -> envoy.config.trace.v3.Tracing
- 10, // 11: envoy.config.bootstrap.v3.Bootstrap.layered_runtime:type_name -> envoy.config.bootstrap.v3.LayeredRuntime
- 3, // 12: envoy.config.bootstrap.v3.Bootstrap.admin:type_name -> envoy.config.bootstrap.v3.Admin
- 26, // 13: envoy.config.bootstrap.v3.Bootstrap.overload_manager:type_name -> envoy.config.overload.v3.OverloadManager
- 27, // 14: envoy.config.bootstrap.v3.Bootstrap.stats_server_version_override:type_name -> google.protobuf.UInt64Value
- 28, // 15: envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config:type_name -> envoy.config.core.v3.DnsResolutionConfig
- 29, // 16: envoy.config.bootstrap.v3.Bootstrap.typed_dns_resolver_config:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 29, // 17: envoy.config.bootstrap.v3.Bootstrap.bootstrap_extensions:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 7, // 18: envoy.config.bootstrap.v3.Bootstrap.fatal_actions:type_name -> envoy.config.bootstrap.v3.FatalAction
- 30, // 19: envoy.config.bootstrap.v3.Bootstrap.config_sources:type_name -> envoy.config.core.v3.ConfigSource
- 30, // 20: envoy.config.bootstrap.v3.Bootstrap.default_config_source:type_name -> envoy.config.core.v3.ConfigSource
- 14, // 21: envoy.config.bootstrap.v3.Bootstrap.certificate_provider_instances:type_name -> envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry
- 11, // 22: envoy.config.bootstrap.v3.Bootstrap.inline_headers:type_name -> envoy.config.bootstrap.v3.CustomInlineHeader
- 29, // 23: envoy.config.bootstrap.v3.Bootstrap.default_regex_engine:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 31, // 24: envoy.config.bootstrap.v3.Admin.access_log:type_name -> envoy.config.accesslog.v3.AccessLog
- 32, // 25: envoy.config.bootstrap.v3.Admin.address:type_name -> envoy.config.core.v3.Address
- 33, // 26: envoy.config.bootstrap.v3.Admin.socket_options:type_name -> envoy.config.core.v3.SocketOption
- 15, // 27: envoy.config.bootstrap.v3.ClusterManager.outlier_detection:type_name -> envoy.config.bootstrap.v3.ClusterManager.OutlierDetection
- 34, // 28: envoy.config.bootstrap.v3.ClusterManager.upstream_bind_config:type_name -> envoy.config.core.v3.BindConfig
- 21, // 29: envoy.config.bootstrap.v3.ClusterManager.load_stats_config:type_name -> envoy.config.core.v3.ApiConfigSource
- 6, // 30: envoy.config.bootstrap.v3.Watchdogs.main_thread_watchdog:type_name -> envoy.config.bootstrap.v3.Watchdog
- 6, // 31: envoy.config.bootstrap.v3.Watchdogs.worker_watchdog:type_name -> envoy.config.bootstrap.v3.Watchdog
- 16, // 32: envoy.config.bootstrap.v3.Watchdog.actions:type_name -> envoy.config.bootstrap.v3.Watchdog.WatchdogAction
- 24, // 33: envoy.config.bootstrap.v3.Watchdog.miss_timeout:type_name -> google.protobuf.Duration
- 24, // 34: envoy.config.bootstrap.v3.Watchdog.megamiss_timeout:type_name -> google.protobuf.Duration
- 24, // 35: envoy.config.bootstrap.v3.Watchdog.kill_timeout:type_name -> google.protobuf.Duration
- 24, // 36: envoy.config.bootstrap.v3.Watchdog.max_kill_timeout_jitter:type_name -> google.protobuf.Duration
- 24, // 37: envoy.config.bootstrap.v3.Watchdog.multikill_timeout:type_name -> google.protobuf.Duration
- 35, // 38: envoy.config.bootstrap.v3.Watchdog.multikill_threshold:type_name -> envoy.type.v3.Percent
- 29, // 39: envoy.config.bootstrap.v3.FatalAction.config:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 36, // 40: envoy.config.bootstrap.v3.Runtime.base:type_name -> google.protobuf.Struct
- 36, // 41: envoy.config.bootstrap.v3.RuntimeLayer.static_layer:type_name -> google.protobuf.Struct
- 17, // 42: envoy.config.bootstrap.v3.RuntimeLayer.disk_layer:type_name -> envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer
- 18, // 43: envoy.config.bootstrap.v3.RuntimeLayer.admin_layer:type_name -> envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer
- 19, // 44: envoy.config.bootstrap.v3.RuntimeLayer.rtds_layer:type_name -> envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer
- 9, // 45: envoy.config.bootstrap.v3.LayeredRuntime.layers:type_name -> envoy.config.bootstrap.v3.RuntimeLayer
- 1, // 46: envoy.config.bootstrap.v3.CustomInlineHeader.inline_header_type:type_name -> envoy.config.bootstrap.v3.CustomInlineHeader.InlineHeaderType
- 37, // 47: envoy.config.bootstrap.v3.Bootstrap.StaticResources.listeners:type_name -> envoy.config.listener.v3.Listener
- 38, // 48: envoy.config.bootstrap.v3.Bootstrap.StaticResources.clusters:type_name -> envoy.config.cluster.v3.Cluster
- 39, // 49: envoy.config.bootstrap.v3.Bootstrap.StaticResources.secrets:type_name -> envoy.extensions.transport_sockets.tls.v3.Secret
- 30, // 50: envoy.config.bootstrap.v3.Bootstrap.DynamicResources.lds_config:type_name -> envoy.config.core.v3.ConfigSource
- 30, // 51: envoy.config.bootstrap.v3.Bootstrap.DynamicResources.cds_config:type_name -> envoy.config.core.v3.ConfigSource
- 21, // 52: envoy.config.bootstrap.v3.Bootstrap.DynamicResources.ads_config:type_name -> envoy.config.core.v3.ApiConfigSource
- 29, // 53: envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry.value:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 40, // 54: envoy.config.bootstrap.v3.ClusterManager.OutlierDetection.event_service:type_name -> envoy.config.core.v3.EventServiceConfig
- 29, // 55: envoy.config.bootstrap.v3.Watchdog.WatchdogAction.config:type_name -> envoy.config.core.v3.TypedExtensionConfig
- 0, // 56: envoy.config.bootstrap.v3.Watchdog.WatchdogAction.event:type_name -> envoy.config.bootstrap.v3.Watchdog.WatchdogAction.WatchdogEvent
- 30, // 57: envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer.rtds_config:type_name -> envoy.config.core.v3.ConfigSource
- 58, // [58:58] is the sub-list for method output_type
- 58, // [58:58] is the sub-list for method input_type
- 58, // [58:58] is the sub-list for extension type_name
- 58, // [58:58] is the sub-list for extension extendee
- 0, // [0:58] is the sub-list for field type_name
-}
-
-func init() { file_envoy_config_bootstrap_v3_bootstrap_proto_init() }
-func file_envoy_config_bootstrap_v3_bootstrap_proto_init() {
- if File_envoy_config_bootstrap_v3_bootstrap_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bootstrap); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Admin); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClusterManager); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Watchdogs); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Watchdog); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FatalAction); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Runtime); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeLayer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LayeredRuntime); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CustomInlineHeader); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bootstrap_StaticResources); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bootstrap_DynamicResources); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClusterManager_OutlierDetection); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Watchdog_WatchdogAction); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeLayer_DiskLayer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeLayer_AdminLayer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RuntimeLayer_RtdsLayer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*Bootstrap_StatsFlushOnAdmin)(nil),
- }
- file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes[7].OneofWrappers = []interface{}{
- (*RuntimeLayer_StaticLayer)(nil),
- (*RuntimeLayer_DiskLayer_)(nil),
- (*RuntimeLayer_AdminLayer_)(nil),
- (*RuntimeLayer_RtdsLayer_)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_config_bootstrap_v3_bootstrap_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 18,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_config_bootstrap_v3_bootstrap_proto_goTypes,
- DependencyIndexes: file_envoy_config_bootstrap_v3_bootstrap_proto_depIdxs,
- EnumInfos: file_envoy_config_bootstrap_v3_bootstrap_proto_enumTypes,
- MessageInfos: file_envoy_config_bootstrap_v3_bootstrap_proto_msgTypes,
- }.Build()
- File_envoy_config_bootstrap_v3_bootstrap_proto = out.File
- file_envoy_config_bootstrap_v3_bootstrap_proto_rawDesc = nil
- file_envoy_config_bootstrap_v3_bootstrap_proto_goTypes = nil
- file_envoy_config_bootstrap_v3_bootstrap_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.validate.go
deleted file mode 100644
index c3e62bdf18..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3/bootstrap.pb.validate.go
+++ /dev/null
@@ -1,3555 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/config/bootstrap/v3/bootstrap.proto
-
-package bootstrapv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-)
-
-// Validate checks the field values on Bootstrap with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Bootstrap) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Bootstrap with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in BootstrapMultiError, or nil
-// if none found.
-func (m *Bootstrap) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Bootstrap) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetNode()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetNode()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "Node",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetStaticResources()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StaticResources",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StaticResources",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStaticResources()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "StaticResources",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetDynamicResources()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DynamicResources",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DynamicResources",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDynamicResources()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "DynamicResources",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetClusterManager()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "ClusterManager",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "ClusterManager",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetClusterManager()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "ClusterManager",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetHdsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "HdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "HdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetHdsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "HdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for FlagsPath
-
- for idx, item := range m.GetStatsSinks() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("StatsSinks[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("StatsSinks[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("StatsSinks[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetStatsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStatsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "StatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if d := m.GetStatsFlushInterval(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = BootstrapValidationError{
- field: "StatsFlushInterval",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- lt := time.Duration(300*time.Second + 0*time.Nanosecond)
- gte := time.Duration(0*time.Second + 1000000*time.Nanosecond)
-
- if dur < gte || dur >= lt {
- err := BootstrapValidationError{
- field: "StatsFlushInterval",
- reason: "value must be inside range [1ms, 5m0s)",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if all {
- switch v := interface{}(m.GetWatchdog()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Watchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Watchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetWatchdog()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "Watchdog",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetWatchdogs()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Watchdogs",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Watchdogs",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetWatchdogs()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "Watchdogs",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetTracing()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Tracing",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Tracing",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTracing()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "Tracing",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLayeredRuntime()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "LayeredRuntime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "LayeredRuntime",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLayeredRuntime()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "LayeredRuntime",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetAdmin()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Admin",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "Admin",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAdmin()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "Admin",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetOverloadManager()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "OverloadManager",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "OverloadManager",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetOverloadManager()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "OverloadManager",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for EnableDispatcherStats
-
- // no validation rules for HeaderPrefix
-
- if all {
- switch v := interface{}(m.GetStatsServerVersionOverride()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StatsServerVersionOverride",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "StatsServerVersionOverride",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStatsServerVersionOverride()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "StatsServerVersionOverride",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for UseTcpForDnsLookups
-
- if all {
- switch v := interface{}(m.GetDnsResolutionConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DnsResolutionConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DnsResolutionConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDnsResolutionConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "DnsResolutionConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetTypedDnsResolverConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "TypedDnsResolverConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "TypedDnsResolverConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetTypedDnsResolverConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "TypedDnsResolverConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetBootstrapExtensions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("BootstrapExtensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("BootstrapExtensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("BootstrapExtensions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetFatalActions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("FatalActions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("FatalActions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("FatalActions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetConfigSources() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("ConfigSources[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("ConfigSources[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("ConfigSources[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetDefaultConfigSource()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DefaultConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DefaultConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDefaultConfigSource()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "DefaultConfigSource",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for DefaultSocketInterface
-
- {
- sorted_keys := make([]string, len(m.GetCertificateProviderInstances()))
- i := 0
- for key := range m.GetCertificateProviderInstances() {
- sorted_keys[i] = key
- i++
- }
- sort.Slice(sorted_keys, func(i, j int) bool { return sorted_keys[i] < sorted_keys[j] })
- for _, key := range sorted_keys {
- val := m.GetCertificateProviderInstances()[key]
- _ = val
-
- // no validation rules for CertificateProviderInstances[key]
-
- if all {
- switch v := interface{}(val).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("CertificateProviderInstances[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("CertificateProviderInstances[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(val).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("CertificateProviderInstances[%v]", key),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
- }
-
- for idx, item := range m.GetInlineHeaders() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("InlineHeaders[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: fmt.Sprintf("InlineHeaders[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: fmt.Sprintf("InlineHeaders[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- // no validation rules for PerfTracingFilePath
-
- if all {
- switch v := interface{}(m.GetDefaultRegexEngine()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DefaultRegexEngine",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, BootstrapValidationError{
- field: "DefaultRegexEngine",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDefaultRegexEngine()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return BootstrapValidationError{
- field: "DefaultRegexEngine",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- switch m.StatsFlush.(type) {
-
- case *Bootstrap_StatsFlushOnAdmin:
-
- if m.GetStatsFlushOnAdmin() != true {
- err := BootstrapValidationError{
- field: "StatsFlushOnAdmin",
- reason: "value must equal true",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
-
- if len(errors) > 0 {
- return BootstrapMultiError(errors)
- }
-
- return nil
-}
-
-// BootstrapMultiError is an error wrapping multiple validation errors returned
-// by Bootstrap.ValidateAll() if the designated constraints aren't met.
-type BootstrapMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m BootstrapMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m BootstrapMultiError) AllErrors() []error { return m }
-
-// BootstrapValidationError is the validation error returned by
-// Bootstrap.Validate if the designated constraints aren't met.
-type BootstrapValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e BootstrapValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e BootstrapValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e BootstrapValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e BootstrapValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e BootstrapValidationError) ErrorName() string { return "BootstrapValidationError" }
-
-// Error satisfies the builtin error interface
-func (e BootstrapValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBootstrap.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = BootstrapValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = BootstrapValidationError{}
-
-// Validate checks the field values on Admin with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Admin) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Admin with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in AdminMultiError, or nil if none found.
-func (m *Admin) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Admin) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetAccessLog() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AdminValidationError{
- field: fmt.Sprintf("AccessLog[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AdminValidationError{
- field: fmt.Sprintf("AccessLog[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AdminValidationError{
- field: fmt.Sprintf("AccessLog[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- // no validation rules for AccessLogPath
-
- // no validation rules for ProfilePath
-
- if all {
- switch v := interface{}(m.GetAddress()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AdminValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AdminValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAddress()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AdminValidationError{
- field: "Address",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- for idx, item := range m.GetSocketOptions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, AdminValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, AdminValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return AdminValidationError{
- field: fmt.Sprintf("SocketOptions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- // no validation rules for IgnoreGlobalConnLimit
-
- if len(errors) > 0 {
- return AdminMultiError(errors)
- }
-
- return nil
-}
-
-// AdminMultiError is an error wrapping multiple validation errors returned by
-// Admin.ValidateAll() if the designated constraints aren't met.
-type AdminMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m AdminMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m AdminMultiError) AllErrors() []error { return m }
-
-// AdminValidationError is the validation error returned by Admin.Validate if
-// the designated constraints aren't met.
-type AdminValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e AdminValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e AdminValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e AdminValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e AdminValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e AdminValidationError) ErrorName() string { return "AdminValidationError" }
-
-// Error satisfies the builtin error interface
-func (e AdminValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sAdmin.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = AdminValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = AdminValidationError{}
-
-// Validate checks the field values on ClusterManager with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *ClusterManager) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClusterManager with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in ClusterManagerMultiError,
-// or nil if none found.
-func (m *ClusterManager) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClusterManager) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for LocalClusterName
-
- if all {
- switch v := interface{}(m.GetOutlierDetection()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "OutlierDetection",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "OutlierDetection",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetOutlierDetection()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterManagerValidationError{
- field: "OutlierDetection",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetUpstreamBindConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "UpstreamBindConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "UpstreamBindConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetUpstreamBindConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterManagerValidationError{
- field: "UpstreamBindConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetLoadStatsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "LoadStatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterManagerValidationError{
- field: "LoadStatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLoadStatsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterManagerValidationError{
- field: "LoadStatsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ClusterManagerMultiError(errors)
- }
-
- return nil
-}
-
-// ClusterManagerMultiError is an error wrapping multiple validation errors
-// returned by ClusterManager.ValidateAll() if the designated constraints
-// aren't met.
-type ClusterManagerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClusterManagerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClusterManagerMultiError) AllErrors() []error { return m }
-
-// ClusterManagerValidationError is the validation error returned by
-// ClusterManager.Validate if the designated constraints aren't met.
-type ClusterManagerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClusterManagerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClusterManagerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClusterManagerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClusterManagerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClusterManagerValidationError) ErrorName() string { return "ClusterManagerValidationError" }
-
-// Error satisfies the builtin error interface
-func (e ClusterManagerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClusterManager.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClusterManagerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClusterManagerValidationError{}
-
-// Validate checks the field values on Watchdogs with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Watchdogs) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Watchdogs with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in WatchdogsMultiError, or nil
-// if none found.
-func (m *Watchdogs) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Watchdogs) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetMainThreadWatchdog()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogsValidationError{
- field: "MainThreadWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogsValidationError{
- field: "MainThreadWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMainThreadWatchdog()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogsValidationError{
- field: "MainThreadWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetWorkerWatchdog()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogsValidationError{
- field: "WorkerWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogsValidationError{
- field: "WorkerWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetWorkerWatchdog()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogsValidationError{
- field: "WorkerWatchdog",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return WatchdogsMultiError(errors)
- }
-
- return nil
-}
-
-// WatchdogsMultiError is an error wrapping multiple validation errors returned
-// by Watchdogs.ValidateAll() if the designated constraints aren't met.
-type WatchdogsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m WatchdogsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m WatchdogsMultiError) AllErrors() []error { return m }
-
-// WatchdogsValidationError is the validation error returned by
-// Watchdogs.Validate if the designated constraints aren't met.
-type WatchdogsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e WatchdogsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e WatchdogsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e WatchdogsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e WatchdogsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e WatchdogsValidationError) ErrorName() string { return "WatchdogsValidationError" }
-
-// Error satisfies the builtin error interface
-func (e WatchdogsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sWatchdogs.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = WatchdogsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = WatchdogsValidationError{}
-
-// Validate checks the field values on Watchdog with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Watchdog) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Watchdog with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in WatchdogMultiError, or nil
-// if none found.
-func (m *Watchdog) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Watchdog) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetActions() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: fmt.Sprintf("Actions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: fmt.Sprintf("Actions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: fmt.Sprintf("Actions[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if all {
- switch v := interface{}(m.GetMissTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMissTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: "MissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMegamissTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MegamissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MegamissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMegamissTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: "MegamissTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetKillTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "KillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "KillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetKillTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: "KillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if d := m.GetMaxKillTimeoutJitter(); d != nil {
- dur, err := d.AsDuration(), d.CheckValid()
- if err != nil {
- err = WatchdogValidationError{
- field: "MaxKillTimeoutJitter",
- reason: "value is not a valid duration",
- cause: err,
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- } else {
-
- gte := time.Duration(0*time.Second + 0*time.Nanosecond)
-
- if dur < gte {
- err := WatchdogValidationError{
- field: "MaxKillTimeoutJitter",
- reason: "value must be greater than or equal to 0s",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- }
- }
-
- if all {
- switch v := interface{}(m.GetMultikillTimeout()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MultikillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MultikillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMultikillTimeout()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: "MultikillTimeout",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMultikillThreshold()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MultikillThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, WatchdogValidationError{
- field: "MultikillThreshold",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMultikillThreshold()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return WatchdogValidationError{
- field: "MultikillThreshold",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return WatchdogMultiError(errors)
- }
-
- return nil
-}
-
-// WatchdogMultiError is an error wrapping multiple validation errors returned
-// by Watchdog.ValidateAll() if the designated constraints aren't met.
-type WatchdogMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m WatchdogMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m WatchdogMultiError) AllErrors() []error { return m }
-
-// WatchdogValidationError is the validation error returned by
-// Watchdog.Validate if the designated constraints aren't met.
-type WatchdogValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e WatchdogValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e WatchdogValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e WatchdogValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e WatchdogValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e WatchdogValidationError) ErrorName() string { return "WatchdogValidationError" }
-
-// Error satisfies the builtin error interface
-func (e WatchdogValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sWatchdog.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = WatchdogValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = WatchdogValidationError{}
-
-// Validate checks the field values on FatalAction with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *FatalAction) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on FatalAction with the rules defined in
-// the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in FatalActionMultiError, or
-// nil if none found.
-func (m *FatalAction) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *FatalAction) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, FatalActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, FatalActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return FatalActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return FatalActionMultiError(errors)
- }
-
- return nil
-}
-
-// FatalActionMultiError is an error wrapping multiple validation errors
-// returned by FatalAction.ValidateAll() if the designated constraints aren't met.
-type FatalActionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m FatalActionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m FatalActionMultiError) AllErrors() []error { return m }
-
-// FatalActionValidationError is the validation error returned by
-// FatalAction.Validate if the designated constraints aren't met.
-type FatalActionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e FatalActionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e FatalActionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e FatalActionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e FatalActionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e FatalActionValidationError) ErrorName() string { return "FatalActionValidationError" }
-
-// Error satisfies the builtin error interface
-func (e FatalActionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sFatalAction.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = FatalActionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = FatalActionValidationError{}
-
-// Validate checks the field values on Runtime with the rules defined in the
-// proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *Runtime) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Runtime with the rules defined in the
-// proto definition for this message. If any rules are violated, the result is
-// a list of violation errors wrapped in RuntimeMultiError, or nil if none found.
-func (m *Runtime) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Runtime) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for SymlinkRoot
-
- // no validation rules for Subdirectory
-
- // no validation rules for OverrideSubdirectory
-
- if all {
- switch v := interface{}(m.GetBase()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeValidationError{
- field: "Base",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeValidationError{
- field: "Base",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetBase()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeValidationError{
- field: "Base",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return RuntimeMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeMultiError is an error wrapping multiple validation errors returned
-// by Runtime.ValidateAll() if the designated constraints aren't met.
-type RuntimeMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeMultiError) AllErrors() []error { return m }
-
-// RuntimeValidationError is the validation error returned by Runtime.Validate
-// if the designated constraints aren't met.
-type RuntimeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeValidationError) ErrorName() string { return "RuntimeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RuntimeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntime.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeValidationError{}
-
-// Validate checks the field values on RuntimeLayer with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *RuntimeLayer) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeLayer with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in RuntimeLayerMultiError, or
-// nil if none found.
-func (m *RuntimeLayer) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeLayer) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if utf8.RuneCountInString(m.GetName()) < 1 {
- err := RuntimeLayerValidationError{
- field: "Name",
- reason: "value length must be at least 1 runes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- switch m.LayerSpecifier.(type) {
-
- case *RuntimeLayer_StaticLayer:
-
- if all {
- switch v := interface{}(m.GetStaticLayer()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "StaticLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "StaticLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetStaticLayer()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeLayerValidationError{
- field: "StaticLayer",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *RuntimeLayer_DiskLayer_:
-
- if all {
- switch v := interface{}(m.GetDiskLayer()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "DiskLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "DiskLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetDiskLayer()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeLayerValidationError{
- field: "DiskLayer",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *RuntimeLayer_AdminLayer_:
-
- if all {
- switch v := interface{}(m.GetAdminLayer()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "AdminLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "AdminLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAdminLayer()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeLayerValidationError{
- field: "AdminLayer",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- case *RuntimeLayer_RtdsLayer_:
-
- if all {
- switch v := interface{}(m.GetRtdsLayer()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "RtdsLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeLayerValidationError{
- field: "RtdsLayer",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRtdsLayer()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeLayerValidationError{
- field: "RtdsLayer",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- default:
- err := RuntimeLayerValidationError{
- field: "LayerSpecifier",
- reason: "value is required",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
-
- }
-
- if len(errors) > 0 {
- return RuntimeLayerMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeLayerMultiError is an error wrapping multiple validation errors
-// returned by RuntimeLayer.ValidateAll() if the designated constraints aren't met.
-type RuntimeLayerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeLayerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeLayerMultiError) AllErrors() []error { return m }
-
-// RuntimeLayerValidationError is the validation error returned by
-// RuntimeLayer.Validate if the designated constraints aren't met.
-type RuntimeLayerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeLayerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeLayerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeLayerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeLayerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeLayerValidationError) ErrorName() string { return "RuntimeLayerValidationError" }
-
-// Error satisfies the builtin error interface
-func (e RuntimeLayerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeLayer.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeLayerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeLayerValidationError{}
-
-// Validate checks the field values on LayeredRuntime with the rules defined in
-// the proto definition for this message. If any rules are violated, the first
-// error encountered is returned, or nil if there are no violations.
-func (m *LayeredRuntime) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on LayeredRuntime with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// result is a list of violation errors wrapped in LayeredRuntimeMultiError,
-// or nil if none found.
-func (m *LayeredRuntime) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *LayeredRuntime) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetLayers() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, LayeredRuntimeValidationError{
- field: fmt.Sprintf("Layers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, LayeredRuntimeValidationError{
- field: fmt.Sprintf("Layers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return LayeredRuntimeValidationError{
- field: fmt.Sprintf("Layers[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return LayeredRuntimeMultiError(errors)
- }
-
- return nil
-}
-
-// LayeredRuntimeMultiError is an error wrapping multiple validation errors
-// returned by LayeredRuntime.ValidateAll() if the designated constraints
-// aren't met.
-type LayeredRuntimeMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m LayeredRuntimeMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m LayeredRuntimeMultiError) AllErrors() []error { return m }
-
-// LayeredRuntimeValidationError is the validation error returned by
-// LayeredRuntime.Validate if the designated constraints aren't met.
-type LayeredRuntimeValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e LayeredRuntimeValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e LayeredRuntimeValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e LayeredRuntimeValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e LayeredRuntimeValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e LayeredRuntimeValidationError) ErrorName() string { return "LayeredRuntimeValidationError" }
-
-// Error satisfies the builtin error interface
-func (e LayeredRuntimeValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sLayeredRuntime.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = LayeredRuntimeValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = LayeredRuntimeValidationError{}
-
-// Validate checks the field values on CustomInlineHeader with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *CustomInlineHeader) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CustomInlineHeader with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// CustomInlineHeaderMultiError, or nil if none found.
-func (m *CustomInlineHeader) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CustomInlineHeader) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if utf8.RuneCountInString(m.GetInlineHeaderName()) < 1 {
- err := CustomInlineHeaderValidationError{
- field: "InlineHeaderName",
- reason: "value length must be at least 1 runes",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if !_CustomInlineHeader_InlineHeaderName_Pattern.MatchString(m.GetInlineHeaderName()) {
- err := CustomInlineHeaderValidationError{
- field: "InlineHeaderName",
- reason: "value does not match regex pattern \"^[^\\x00\\n\\r]*$\"",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if _, ok := CustomInlineHeader_InlineHeaderType_name[int32(m.GetInlineHeaderType())]; !ok {
- err := CustomInlineHeaderValidationError{
- field: "InlineHeaderType",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return CustomInlineHeaderMultiError(errors)
- }
-
- return nil
-}
-
-// CustomInlineHeaderMultiError is an error wrapping multiple validation errors
-// returned by CustomInlineHeader.ValidateAll() if the designated constraints
-// aren't met.
-type CustomInlineHeaderMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CustomInlineHeaderMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CustomInlineHeaderMultiError) AllErrors() []error { return m }
-
-// CustomInlineHeaderValidationError is the validation error returned by
-// CustomInlineHeader.Validate if the designated constraints aren't met.
-type CustomInlineHeaderValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CustomInlineHeaderValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CustomInlineHeaderValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CustomInlineHeaderValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CustomInlineHeaderValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CustomInlineHeaderValidationError) ErrorName() string {
- return "CustomInlineHeaderValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CustomInlineHeaderValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCustomInlineHeader.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CustomInlineHeaderValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CustomInlineHeaderValidationError{}
-
-var _CustomInlineHeader_InlineHeaderName_Pattern = regexp.MustCompile("^[^\x00\n\r]*$")
-
-// Validate checks the field values on Bootstrap_StaticResources with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *Bootstrap_StaticResources) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Bootstrap_StaticResources with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// Bootstrap_StaticResourcesMultiError, or nil if none found.
-func (m *Bootstrap_StaticResources) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Bootstrap_StaticResources) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetListeners() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Listeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Listeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Listeners[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetClusters() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Clusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Clusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Clusters[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetSecrets() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Secrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Secrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_StaticResourcesValidationError{
- field: fmt.Sprintf("Secrets[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return Bootstrap_StaticResourcesMultiError(errors)
- }
-
- return nil
-}
-
-// Bootstrap_StaticResourcesMultiError is an error wrapping multiple validation
-// errors returned by Bootstrap_StaticResources.ValidateAll() if the
-// designated constraints aren't met.
-type Bootstrap_StaticResourcesMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Bootstrap_StaticResourcesMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Bootstrap_StaticResourcesMultiError) AllErrors() []error { return m }
-
-// Bootstrap_StaticResourcesValidationError is the validation error returned by
-// Bootstrap_StaticResources.Validate if the designated constraints aren't met.
-type Bootstrap_StaticResourcesValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Bootstrap_StaticResourcesValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Bootstrap_StaticResourcesValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Bootstrap_StaticResourcesValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Bootstrap_StaticResourcesValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Bootstrap_StaticResourcesValidationError) ErrorName() string {
- return "Bootstrap_StaticResourcesValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Bootstrap_StaticResourcesValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBootstrap_StaticResources.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Bootstrap_StaticResourcesValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Bootstrap_StaticResourcesValidationError{}
-
-// Validate checks the field values on Bootstrap_DynamicResources with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *Bootstrap_DynamicResources) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Bootstrap_DynamicResources with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// Bootstrap_DynamicResourcesMultiError, or nil if none found.
-func (m *Bootstrap_DynamicResources) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Bootstrap_DynamicResources) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetLdsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "LdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "LdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetLdsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_DynamicResourcesValidationError{
- field: "LdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for LdsResourcesLocator
-
- if all {
- switch v := interface{}(m.GetCdsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "CdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "CdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetCdsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_DynamicResourcesValidationError{
- field: "CdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for CdsResourcesLocator
-
- if all {
- switch v := interface{}(m.GetAdsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "AdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Bootstrap_DynamicResourcesValidationError{
- field: "AdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetAdsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Bootstrap_DynamicResourcesValidationError{
- field: "AdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return Bootstrap_DynamicResourcesMultiError(errors)
- }
-
- return nil
-}
-
-// Bootstrap_DynamicResourcesMultiError is an error wrapping multiple
-// validation errors returned by Bootstrap_DynamicResources.ValidateAll() if
-// the designated constraints aren't met.
-type Bootstrap_DynamicResourcesMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Bootstrap_DynamicResourcesMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Bootstrap_DynamicResourcesMultiError) AllErrors() []error { return m }
-
-// Bootstrap_DynamicResourcesValidationError is the validation error returned
-// by Bootstrap_DynamicResources.Validate if the designated constraints aren't met.
-type Bootstrap_DynamicResourcesValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Bootstrap_DynamicResourcesValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Bootstrap_DynamicResourcesValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Bootstrap_DynamicResourcesValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Bootstrap_DynamicResourcesValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Bootstrap_DynamicResourcesValidationError) ErrorName() string {
- return "Bootstrap_DynamicResourcesValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Bootstrap_DynamicResourcesValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sBootstrap_DynamicResources.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Bootstrap_DynamicResourcesValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Bootstrap_DynamicResourcesValidationError{}
-
-// Validate checks the field values on ClusterManager_OutlierDetection with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *ClusterManager_OutlierDetection) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on ClusterManager_OutlierDetection with
-// the rules defined in the proto definition for this message. If any rules
-// are violated, the result is a list of violation errors wrapped in
-// ClusterManager_OutlierDetectionMultiError, or nil if none found.
-func (m *ClusterManager_OutlierDetection) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *ClusterManager_OutlierDetection) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for EventLogPath
-
- if all {
- switch v := interface{}(m.GetEventService()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, ClusterManager_OutlierDetectionValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, ClusterManager_OutlierDetectionValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetEventService()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return ClusterManager_OutlierDetectionValidationError{
- field: "EventService",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return ClusterManager_OutlierDetectionMultiError(errors)
- }
-
- return nil
-}
-
-// ClusterManager_OutlierDetectionMultiError is an error wrapping multiple
-// validation errors returned by ClusterManager_OutlierDetection.ValidateAll()
-// if the designated constraints aren't met.
-type ClusterManager_OutlierDetectionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m ClusterManager_OutlierDetectionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m ClusterManager_OutlierDetectionMultiError) AllErrors() []error { return m }
-
-// ClusterManager_OutlierDetectionValidationError is the validation error
-// returned by ClusterManager_OutlierDetection.Validate if the designated
-// constraints aren't met.
-type ClusterManager_OutlierDetectionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e ClusterManager_OutlierDetectionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e ClusterManager_OutlierDetectionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e ClusterManager_OutlierDetectionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e ClusterManager_OutlierDetectionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e ClusterManager_OutlierDetectionValidationError) ErrorName() string {
- return "ClusterManager_OutlierDetectionValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e ClusterManager_OutlierDetectionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sClusterManager_OutlierDetection.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = ClusterManager_OutlierDetectionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = ClusterManager_OutlierDetectionValidationError{}
-
-// Validate checks the field values on Watchdog_WatchdogAction with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *Watchdog_WatchdogAction) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on Watchdog_WatchdogAction with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// Watchdog_WatchdogActionMultiError, or nil if none found.
-func (m *Watchdog_WatchdogAction) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *Watchdog_WatchdogAction) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, Watchdog_WatchdogActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, Watchdog_WatchdogActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return Watchdog_WatchdogActionValidationError{
- field: "Config",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if _, ok := Watchdog_WatchdogAction_WatchdogEvent_name[int32(m.GetEvent())]; !ok {
- err := Watchdog_WatchdogActionValidationError{
- field: "Event",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if len(errors) > 0 {
- return Watchdog_WatchdogActionMultiError(errors)
- }
-
- return nil
-}
-
-// Watchdog_WatchdogActionMultiError is an error wrapping multiple validation
-// errors returned by Watchdog_WatchdogAction.ValidateAll() if the designated
-// constraints aren't met.
-type Watchdog_WatchdogActionMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m Watchdog_WatchdogActionMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m Watchdog_WatchdogActionMultiError) AllErrors() []error { return m }
-
-// Watchdog_WatchdogActionValidationError is the validation error returned by
-// Watchdog_WatchdogAction.Validate if the designated constraints aren't met.
-type Watchdog_WatchdogActionValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e Watchdog_WatchdogActionValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e Watchdog_WatchdogActionValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e Watchdog_WatchdogActionValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e Watchdog_WatchdogActionValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e Watchdog_WatchdogActionValidationError) ErrorName() string {
- return "Watchdog_WatchdogActionValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e Watchdog_WatchdogActionValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sWatchdog_WatchdogAction.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = Watchdog_WatchdogActionValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = Watchdog_WatchdogActionValidationError{}
-
-// Validate checks the field values on RuntimeLayer_DiskLayer with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *RuntimeLayer_DiskLayer) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeLayer_DiskLayer with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RuntimeLayer_DiskLayerMultiError, or nil if none found.
-func (m *RuntimeLayer_DiskLayer) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeLayer_DiskLayer) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for SymlinkRoot
-
- // no validation rules for Subdirectory
-
- // no validation rules for AppendServiceCluster
-
- if len(errors) > 0 {
- return RuntimeLayer_DiskLayerMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeLayer_DiskLayerMultiError is an error wrapping multiple validation
-// errors returned by RuntimeLayer_DiskLayer.ValidateAll() if the designated
-// constraints aren't met.
-type RuntimeLayer_DiskLayerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeLayer_DiskLayerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeLayer_DiskLayerMultiError) AllErrors() []error { return m }
-
-// RuntimeLayer_DiskLayerValidationError is the validation error returned by
-// RuntimeLayer_DiskLayer.Validate if the designated constraints aren't met.
-type RuntimeLayer_DiskLayerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeLayer_DiskLayerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeLayer_DiskLayerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeLayer_DiskLayerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeLayer_DiskLayerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeLayer_DiskLayerValidationError) ErrorName() string {
- return "RuntimeLayer_DiskLayerValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RuntimeLayer_DiskLayerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeLayer_DiskLayer.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeLayer_DiskLayerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeLayer_DiskLayerValidationError{}
-
-// Validate checks the field values on RuntimeLayer_AdminLayer with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *RuntimeLayer_AdminLayer) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeLayer_AdminLayer with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RuntimeLayer_AdminLayerMultiError, or nil if none found.
-func (m *RuntimeLayer_AdminLayer) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeLayer_AdminLayer) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if len(errors) > 0 {
- return RuntimeLayer_AdminLayerMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeLayer_AdminLayerMultiError is an error wrapping multiple validation
-// errors returned by RuntimeLayer_AdminLayer.ValidateAll() if the designated
-// constraints aren't met.
-type RuntimeLayer_AdminLayerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeLayer_AdminLayerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeLayer_AdminLayerMultiError) AllErrors() []error { return m }
-
-// RuntimeLayer_AdminLayerValidationError is the validation error returned by
-// RuntimeLayer_AdminLayer.Validate if the designated constraints aren't met.
-type RuntimeLayer_AdminLayerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeLayer_AdminLayerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeLayer_AdminLayerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeLayer_AdminLayerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeLayer_AdminLayerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeLayer_AdminLayerValidationError) ErrorName() string {
- return "RuntimeLayer_AdminLayerValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RuntimeLayer_AdminLayerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeLayer_AdminLayer.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeLayer_AdminLayerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeLayer_AdminLayerValidationError{}
-
-// Validate checks the field values on RuntimeLayer_RtdsLayer with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *RuntimeLayer_RtdsLayer) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on RuntimeLayer_RtdsLayer with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// RuntimeLayer_RtdsLayerMultiError, or nil if none found.
-func (m *RuntimeLayer_RtdsLayer) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *RuntimeLayer_RtdsLayer) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- // no validation rules for Name
-
- if all {
- switch v := interface{}(m.GetRtdsConfig()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, RuntimeLayer_RtdsLayerValidationError{
- field: "RtdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, RuntimeLayer_RtdsLayerValidationError{
- field: "RtdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRtdsConfig()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return RuntimeLayer_RtdsLayerValidationError{
- field: "RtdsConfig",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return RuntimeLayer_RtdsLayerMultiError(errors)
- }
-
- return nil
-}
-
-// RuntimeLayer_RtdsLayerMultiError is an error wrapping multiple validation
-// errors returned by RuntimeLayer_RtdsLayer.ValidateAll() if the designated
-// constraints aren't met.
-type RuntimeLayer_RtdsLayerMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m RuntimeLayer_RtdsLayerMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m RuntimeLayer_RtdsLayerMultiError) AllErrors() []error { return m }
-
-// RuntimeLayer_RtdsLayerValidationError is the validation error returned by
-// RuntimeLayer_RtdsLayer.Validate if the designated constraints aren't met.
-type RuntimeLayer_RtdsLayerValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e RuntimeLayer_RtdsLayerValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e RuntimeLayer_RtdsLayerValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e RuntimeLayer_RtdsLayerValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e RuntimeLayer_RtdsLayerValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e RuntimeLayer_RtdsLayerValidationError) ErrorName() string {
- return "RuntimeLayer_RtdsLayerValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e RuntimeLayer_RtdsLayerValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sRuntimeLayer_RtdsLayer.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = RuntimeLayer_RtdsLayerValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = RuntimeLayer_RtdsLayerValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.go
deleted file mode 100644
index 0ba499b0e7..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.go
+++ /dev/null
@@ -1,506 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/config/cluster/v3/circuit_breaker.proto
-
-package clusterv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- v31 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// :ref:`Circuit breaking` settings can be
-// specified individually for each defined priority.
-type CircuitBreakers struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // If multiple :ref:`Thresholds`
- // are defined with the same :ref:`RoutingPriority`,
- // the first one in the list is used. If no Thresholds is defined for a given
- // :ref:`RoutingPriority`, the default values
- // are used.
- Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"`
- // Optional per-host limits which apply to each individual host in a cluster.
- //
- // .. note::
- // currently only the :ref:`max_connections
- // ` field is supported for per-host limits.
- //
- // If multiple per-host :ref:`Thresholds`
- // are defined with the same :ref:`RoutingPriority`,
- // the first one in the list is used. If no per-host Thresholds are defined for a given
- // :ref:`RoutingPriority`,
- // the cluster will not have per-host limits.
- PerHostThresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,2,rep,name=per_host_thresholds,json=perHostThresholds,proto3" json:"per_host_thresholds,omitempty"`
-}
-
-func (x *CircuitBreakers) Reset() {
- *x = CircuitBreakers{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CircuitBreakers) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CircuitBreakers) ProtoMessage() {}
-
-func (x *CircuitBreakers) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CircuitBreakers.ProtoReflect.Descriptor instead.
-func (*CircuitBreakers) Descriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds {
- if x != nil {
- return x.Thresholds
- }
- return nil
-}
-
-func (x *CircuitBreakers) GetPerHostThresholds() []*CircuitBreakers_Thresholds {
- if x != nil {
- return x.PerHostThresholds
- }
- return nil
-}
-
-// A Thresholds defines CircuitBreaker settings for a
-// :ref:`RoutingPriority`.
-// [#next-free-field: 9]
-type CircuitBreakers_Thresholds struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The :ref:`RoutingPriority`
- // the specified CircuitBreaker settings apply to.
- Priority v3.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.config.core.v3.RoutingPriority" json:"priority,omitempty"`
- // The maximum number of connections that Envoy will make to the upstream
- // cluster. If not specified, the default is 1024.
- MaxConnections *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
- // The maximum number of pending requests that Envoy will allow to the
- // upstream cluster. If not specified, the default is 1024.
- // This limit is applied as a connection limit for non-HTTP traffic.
- MaxPendingRequests *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"`
- // The maximum number of parallel requests that Envoy will make to the
- // upstream cluster. If not specified, the default is 1024.
- // This limit does not apply to non-HTTP traffic.
- MaxRequests *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"`
- // The maximum number of parallel retries that Envoy will allow to the
- // upstream cluster. If not specified, the default is 3.
- MaxRetries *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
- // Specifies a limit on concurrent retries in relation to the number of active requests. This
- // parameter is optional.
- //
- // .. note::
- //
- // If this field is set, the retry budget will override any configured retry circuit
- // breaker.
- RetryBudget *CircuitBreakers_Thresholds_RetryBudget `protobuf:"bytes,8,opt,name=retry_budget,json=retryBudget,proto3" json:"retry_budget,omitempty"`
- // If track_remaining is true, then stats will be published that expose
- // the number of resources remaining until the circuit breakers open. If
- // not specified, the default is false.
- //
- // .. note::
- //
- // If a retry budget is used in lieu of the max_retries circuit breaker,
- // the remaining retry resources remaining will not be tracked.
- TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"`
- // The maximum number of connection pools per cluster that Envoy will concurrently support at
- // once. If not specified, the default is unlimited. Set this for clusters which create a
- // large number of connection pools. See
- // :ref:`Circuit Breaking ` for
- // more details.
- MaxConnectionPools *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"`
-}
-
-func (x *CircuitBreakers_Thresholds) Reset() {
- *x = CircuitBreakers_Thresholds{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CircuitBreakers_Thresholds) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CircuitBreakers_Thresholds) ProtoMessage() {}
-
-func (x *CircuitBreakers_Thresholds) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CircuitBreakers_Thresholds.ProtoReflect.Descriptor instead.
-func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *CircuitBreakers_Thresholds) GetPriority() v3.RoutingPriority {
- if x != nil {
- return x.Priority
- }
- return v3.RoutingPriority(0)
-}
-
-func (x *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxConnections
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxPendingRequests
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxRequests
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxRetries
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds) GetRetryBudget() *CircuitBreakers_Thresholds_RetryBudget {
- if x != nil {
- return x.RetryBudget
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool {
- if x != nil {
- return x.TrackRemaining
- }
- return false
-}
-
-func (x *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value {
- if x != nil {
- return x.MaxConnectionPools
- }
- return nil
-}
-
-type CircuitBreakers_Thresholds_RetryBudget struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Specifies the limit on concurrent retries as a percentage of the sum of active requests and
- // active pending requests. For example, if there are 100 active requests and the
- // budget_percent is set to 25, there may be 25 active retries.
- //
- // This parameter is optional. Defaults to 20%.
- BudgetPercent *v31.Percent `protobuf:"bytes,1,opt,name=budget_percent,json=budgetPercent,proto3" json:"budget_percent,omitempty"`
- // Specifies the minimum retry concurrency allowed for the retry budget. The limit on the
- // number of active retries may never go below this number.
- //
- // This parameter is optional. Defaults to 3.
- MinRetryConcurrency *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=min_retry_concurrency,json=minRetryConcurrency,proto3" json:"min_retry_concurrency,omitempty"`
-}
-
-func (x *CircuitBreakers_Thresholds_RetryBudget) Reset() {
- *x = CircuitBreakers_Thresholds_RetryBudget{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *CircuitBreakers_Thresholds_RetryBudget) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage() {}
-
-func (x *CircuitBreakers_Thresholds_RetryBudget) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CircuitBreakers_Thresholds_RetryBudget.ProtoReflect.Descriptor instead.
-func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP(), []int{0, 0, 0}
-}
-
-func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *v31.Percent {
- if x != nil {
- return x.BudgetPercent
- }
- return nil
-}
-
-func (x *CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency() *wrappers.UInt32Value {
- if x != nil {
- return x.MinRetryConcurrency
- }
- return nil
-}
-
-var File_envoy_config_cluster_v3_circuit_breaker_proto protoreflect.FileDescriptor
-
-var file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc = []byte{
- 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
- 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69,
- 0x74, 0x5f, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c,
- 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69,
- 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x22, 0xe5, 0x08, 0x0a, 0x0f, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65,
- 0x61, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
- 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b,
- 0x65, 0x72, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x0a,
- 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x63, 0x0a, 0x13, 0x70, 0x65,
- 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
- 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
- 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x52, 0x11, 0x70, 0x65,
- 0x72, 0x48, 0x6f, 0x73, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x1a,
- 0xea, 0x06, 0x0a, 0x0a, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x4b,
- 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
- 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50,
- 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10,
- 0x01, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0f, 0x6d,
- 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x12, 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
- 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12,
- 0x6d, 0x61, 0x78, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69,
- 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x74, 0x72, 0x69,
- 0x65, 0x73, 0x12, 0x62, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x62, 0x75, 0x64, 0x67,
- 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
- 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e,
- 0x76, 0x33, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65,
- 0x72, 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x65,
- 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x52, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79,
- 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f,
- 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x0e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12,
- 0x4e, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x61, 0x78,
- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x1a,
- 0xe2, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12,
- 0x3d, 0x0a, 0x0e, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e,
- 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
- 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52,
- 0x0d, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x50,
- 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x63,
- 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x6d, 0x69, 0x6e,
- 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79,
- 0x3a, 0x42, 0x9a, 0xc5, 0x88, 0x1e, 0x3d, 0x0a, 0x3b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69,
- 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x68,
- 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x42, 0x75,
- 0x64, 0x67, 0x65, 0x74, 0x3a, 0x36, 0x9a, 0xc5, 0x88, 0x1e, 0x31, 0x0a, 0x2f, 0x65, 0x6e, 0x76,
- 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
- 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72,
- 0x73, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x3a, 0x2b, 0x9a, 0xc5,
- 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
- 0x32, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
- 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x42, 0x90, 0x01, 0x0a, 0x25, 0x69, 0x6f,
- 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
- 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
- 0x2e, 0x76, 0x33, 0x42, 0x13, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61,
- 0x6b, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68,
- 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
- 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61,
- 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
- 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6c, 0x75, 0x73, 0x74,
- 0x65, 0x72, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescOnce sync.Once
- file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData = file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc
-)
-
-func file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescGZIP() []byte {
- file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescOnce.Do(func() {
- file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData)
- })
- return file_envoy_config_cluster_v3_circuit_breaker_proto_rawDescData
-}
-
-var file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
-var file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes = []interface{}{
- (*CircuitBreakers)(nil), // 0: envoy.config.cluster.v3.CircuitBreakers
- (*CircuitBreakers_Thresholds)(nil), // 1: envoy.config.cluster.v3.CircuitBreakers.Thresholds
- (*CircuitBreakers_Thresholds_RetryBudget)(nil), // 2: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget
- (v3.RoutingPriority)(0), // 3: envoy.config.core.v3.RoutingPriority
- (*wrappers.UInt32Value)(nil), // 4: google.protobuf.UInt32Value
- (*v31.Percent)(nil), // 5: envoy.type.v3.Percent
-}
-var file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs = []int32{
- 1, // 0: envoy.config.cluster.v3.CircuitBreakers.thresholds:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds
- 1, // 1: envoy.config.cluster.v3.CircuitBreakers.per_host_thresholds:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds
- 3, // 2: envoy.config.cluster.v3.CircuitBreakers.Thresholds.priority:type_name -> envoy.config.core.v3.RoutingPriority
- 4, // 3: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_connections:type_name -> google.protobuf.UInt32Value
- 4, // 4: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_pending_requests:type_name -> google.protobuf.UInt32Value
- 4, // 5: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_requests:type_name -> google.protobuf.UInt32Value
- 4, // 6: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_retries:type_name -> google.protobuf.UInt32Value
- 2, // 7: envoy.config.cluster.v3.CircuitBreakers.Thresholds.retry_budget:type_name -> envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget
- 4, // 8: envoy.config.cluster.v3.CircuitBreakers.Thresholds.max_connection_pools:type_name -> google.protobuf.UInt32Value
- 5, // 9: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget.budget_percent:type_name -> envoy.type.v3.Percent
- 4, // 10: envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget.min_retry_concurrency:type_name -> google.protobuf.UInt32Value
- 11, // [11:11] is the sub-list for method output_type
- 11, // [11:11] is the sub-list for method input_type
- 11, // [11:11] is the sub-list for extension type_name
- 11, // [11:11] is the sub-list for extension extendee
- 0, // [0:11] is the sub-list for field type_name
-}
-
-func init() { file_envoy_config_cluster_v3_circuit_breaker_proto_init() }
-func file_envoy_config_cluster_v3_circuit_breaker_proto_init() {
- if File_envoy_config_cluster_v3_circuit_breaker_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CircuitBreakers); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CircuitBreakers_Thresholds); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CircuitBreakers_Thresholds_RetryBudget); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes,
- DependencyIndexes: file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs,
- MessageInfos: file_envoy_config_cluster_v3_circuit_breaker_proto_msgTypes,
- }.Build()
- File_envoy_config_cluster_v3_circuit_breaker_proto = out.File
- file_envoy_config_cluster_v3_circuit_breaker_proto_rawDesc = nil
- file_envoy_config_cluster_v3_circuit_breaker_proto_goTypes = nil
- file_envoy_config_cluster_v3_circuit_breaker_proto_depIdxs = nil
-}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.validate.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.validate.go
deleted file mode 100644
index feb99f6507..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/circuit_breaker.pb.validate.go
+++ /dev/null
@@ -1,661 +0,0 @@
-// Code generated by protoc-gen-validate. DO NOT EDIT.
-// source: envoy/config/cluster/v3/circuit_breaker.proto
-
-package clusterv3
-
-import (
- "bytes"
- "errors"
- "fmt"
- "net"
- "net/mail"
- "net/url"
- "regexp"
- "sort"
- "strings"
- "time"
- "unicode/utf8"
-
- "google.golang.org/protobuf/types/known/anypb"
-
- v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
-)
-
-// ensure the imports are used
-var (
- _ = bytes.MinRead
- _ = errors.New("")
- _ = fmt.Print
- _ = utf8.UTFMax
- _ = (*regexp.Regexp)(nil)
- _ = (*strings.Reader)(nil)
- _ = net.IPv4len
- _ = time.Duration(0)
- _ = (*url.URL)(nil)
- _ = (*mail.Address)(nil)
- _ = anypb.Any{}
- _ = sort.Sort
-
- _ = v3.RoutingPriority(0)
-)
-
-// Validate checks the field values on CircuitBreakers with the rules defined
-// in the proto definition for this message. If any rules are violated, the
-// first error encountered is returned, or nil if there are no violations.
-func (m *CircuitBreakers) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CircuitBreakers with the rules
-// defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// CircuitBreakersMultiError, or nil if none found.
-func (m *CircuitBreakers) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CircuitBreakers) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- for idx, item := range m.GetThresholds() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakersValidationError{
- field: fmt.Sprintf("Thresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakersValidationError{
- field: fmt.Sprintf("Thresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakersValidationError{
- field: fmt.Sprintf("Thresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- for idx, item := range m.GetPerHostThresholds() {
- _, _ = idx, item
-
- if all {
- switch v := interface{}(item).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakersValidationError{
- field: fmt.Sprintf("PerHostThresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakersValidationError{
- field: fmt.Sprintf("PerHostThresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakersValidationError{
- field: fmt.Sprintf("PerHostThresholds[%v]", idx),
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- }
-
- if len(errors) > 0 {
- return CircuitBreakersMultiError(errors)
- }
-
- return nil
-}
-
-// CircuitBreakersMultiError is an error wrapping multiple validation errors
-// returned by CircuitBreakers.ValidateAll() if the designated constraints
-// aren't met.
-type CircuitBreakersMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CircuitBreakersMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CircuitBreakersMultiError) AllErrors() []error { return m }
-
-// CircuitBreakersValidationError is the validation error returned by
-// CircuitBreakers.Validate if the designated constraints aren't met.
-type CircuitBreakersValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CircuitBreakersValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CircuitBreakersValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CircuitBreakersValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CircuitBreakersValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CircuitBreakersValidationError) ErrorName() string { return "CircuitBreakersValidationError" }
-
-// Error satisfies the builtin error interface
-func (e CircuitBreakersValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCircuitBreakers.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CircuitBreakersValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CircuitBreakersValidationError{}
-
-// Validate checks the field values on CircuitBreakers_Thresholds with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the first error encountered is returned, or nil if there are no violations.
-func (m *CircuitBreakers_Thresholds) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on CircuitBreakers_Thresholds with the
-// rules defined in the proto definition for this message. If any rules are
-// violated, the result is a list of violation errors wrapped in
-// CircuitBreakers_ThresholdsMultiError, or nil if none found.
-func (m *CircuitBreakers_Thresholds) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CircuitBreakers_Thresholds) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if _, ok := v3.RoutingPriority_name[int32(m.GetPriority())]; !ok {
- err := CircuitBreakers_ThresholdsValidationError{
- field: "Priority",
- reason: "value must be one of the defined enum values",
- }
- if !all {
- return err
- }
- errors = append(errors, err)
- }
-
- if all {
- switch v := interface{}(m.GetMaxConnections()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnections",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnections",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxConnections()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnections",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMaxPendingRequests()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxPendingRequests",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxPendingRequests",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxPendingRequests()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "MaxPendingRequests",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMaxRequests()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxRequests",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxRequests",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxRequests()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "MaxRequests",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMaxRetries()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxRetries",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxRetries",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxRetries()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "MaxRetries",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetRetryBudget()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "RetryBudget",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "RetryBudget",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetRetryBudget()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "RetryBudget",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- // no validation rules for TrackRemaining
-
- if all {
- switch v := interface{}(m.GetMaxConnectionPools()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnectionPools",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnectionPools",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMaxConnectionPools()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_ThresholdsValidationError{
- field: "MaxConnectionPools",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return CircuitBreakers_ThresholdsMultiError(errors)
- }
-
- return nil
-}
-
-// CircuitBreakers_ThresholdsMultiError is an error wrapping multiple
-// validation errors returned by CircuitBreakers_Thresholds.ValidateAll() if
-// the designated constraints aren't met.
-type CircuitBreakers_ThresholdsMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CircuitBreakers_ThresholdsMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CircuitBreakers_ThresholdsMultiError) AllErrors() []error { return m }
-
-// CircuitBreakers_ThresholdsValidationError is the validation error returned
-// by CircuitBreakers_Thresholds.Validate if the designated constraints aren't met.
-type CircuitBreakers_ThresholdsValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CircuitBreakers_ThresholdsValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CircuitBreakers_ThresholdsValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CircuitBreakers_ThresholdsValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CircuitBreakers_ThresholdsValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string {
- return "CircuitBreakers_ThresholdsValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CircuitBreakers_ThresholdsValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCircuitBreakers_Thresholds.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CircuitBreakers_ThresholdsValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CircuitBreakers_ThresholdsValidationError{}
-
-// Validate checks the field values on CircuitBreakers_Thresholds_RetryBudget
-// with the rules defined in the proto definition for this message. If any
-// rules are violated, the first error encountered is returned, or nil if
-// there are no violations.
-func (m *CircuitBreakers_Thresholds_RetryBudget) Validate() error {
- return m.validate(false)
-}
-
-// ValidateAll checks the field values on
-// CircuitBreakers_Thresholds_RetryBudget with the rules defined in the proto
-// definition for this message. If any rules are violated, the result is a
-// list of violation errors wrapped in
-// CircuitBreakers_Thresholds_RetryBudgetMultiError, or nil if none found.
-func (m *CircuitBreakers_Thresholds_RetryBudget) ValidateAll() error {
- return m.validate(true)
-}
-
-func (m *CircuitBreakers_Thresholds_RetryBudget) validate(all bool) error {
- if m == nil {
- return nil
- }
-
- var errors []error
-
- if all {
- switch v := interface{}(m.GetBudgetPercent()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "BudgetPercent",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "BudgetPercent",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetBudgetPercent()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "BudgetPercent",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if all {
- switch v := interface{}(m.GetMinRetryConcurrency()).(type) {
- case interface{ ValidateAll() error }:
- if err := v.ValidateAll(); err != nil {
- errors = append(errors, CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "MinRetryConcurrency",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- case interface{ Validate() error }:
- if err := v.Validate(); err != nil {
- errors = append(errors, CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "MinRetryConcurrency",
- reason: "embedded message failed validation",
- cause: err,
- })
- }
- }
- } else if v, ok := interface{}(m.GetMinRetryConcurrency()).(interface{ Validate() error }); ok {
- if err := v.Validate(); err != nil {
- return CircuitBreakers_Thresholds_RetryBudgetValidationError{
- field: "MinRetryConcurrency",
- reason: "embedded message failed validation",
- cause: err,
- }
- }
- }
-
- if len(errors) > 0 {
- return CircuitBreakers_Thresholds_RetryBudgetMultiError(errors)
- }
-
- return nil
-}
-
-// CircuitBreakers_Thresholds_RetryBudgetMultiError is an error wrapping
-// multiple validation errors returned by
-// CircuitBreakers_Thresholds_RetryBudget.ValidateAll() if the designated
-// constraints aren't met.
-type CircuitBreakers_Thresholds_RetryBudgetMultiError []error
-
-// Error returns a concatenation of all the error messages it wraps.
-func (m CircuitBreakers_Thresholds_RetryBudgetMultiError) Error() string {
- var msgs []string
- for _, err := range m {
- msgs = append(msgs, err.Error())
- }
- return strings.Join(msgs, "; ")
-}
-
-// AllErrors returns a list of validation violation errors.
-func (m CircuitBreakers_Thresholds_RetryBudgetMultiError) AllErrors() []error { return m }
-
-// CircuitBreakers_Thresholds_RetryBudgetValidationError is the validation
-// error returned by CircuitBreakers_Thresholds_RetryBudget.Validate if the
-// designated constraints aren't met.
-type CircuitBreakers_Thresholds_RetryBudgetValidationError struct {
- field string
- reason string
- cause error
- key bool
-}
-
-// Field function returns field value.
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Field() string { return e.field }
-
-// Reason function returns reason value.
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason() string { return e.reason }
-
-// Cause function returns cause value.
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause() error { return e.cause }
-
-// Key function returns key value.
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Key() bool { return e.key }
-
-// ErrorName returns error name.
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName() string {
- return "CircuitBreakers_Thresholds_RetryBudgetValidationError"
-}
-
-// Error satisfies the builtin error interface
-func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Error() string {
- cause := ""
- if e.cause != nil {
- cause = fmt.Sprintf(" | caused by: %v", e.cause)
- }
-
- key := ""
- if e.key {
- key = "key for "
- }
-
- return fmt.Sprintf(
- "invalid %sCircuitBreakers_Thresholds_RetryBudget.%s: %s%s",
- key,
- e.field,
- e.reason,
- cause)
-}
-
-var _ error = CircuitBreakers_Thresholds_RetryBudgetValidationError{}
-
-var _ interface {
- Field() string
- Reason() string
- Key() bool
- Cause() error
- ErrorName() string
-} = CircuitBreakers_Thresholds_RetryBudgetValidationError{}
diff --git a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/cluster.pb.go b/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/cluster.pb.go
deleted file mode 100644
index 1156a18184..0000000000
--- a/vendor/github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3/cluster.pb.go
+++ /dev/null
@@ -1,4329 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.28.0
-// protoc v3.19.4
-// source: envoy/config/cluster/v3/cluster.proto
-
-package clusterv3
-
-import (
- _ "github.com/cncf/xds/go/udpa/annotations"
- v3 "github.com/cncf/xds/go/xds/core/v3"
- _ "github.com/envoyproxy/go-control-plane/envoy/annotations"
- v32 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
- v31 "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
- v33 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
- _ "github.com/envoyproxy/protoc-gen-validate/validate"
- any "github.com/golang/protobuf/ptypes/any"
- duration "github.com/golang/protobuf/ptypes/duration"
- _struct "github.com/golang/protobuf/ptypes/struct"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// Refer to :ref:`service discovery type `
-// for an explanation on each type.
-type Cluster_DiscoveryType int32
-
-const (
- // Refer to the :ref:`static discovery type`
- // for an explanation.
- Cluster_STATIC Cluster_DiscoveryType = 0
- // Refer to the :ref:`strict DNS discovery
- // type`
- // for an explanation.
- Cluster_STRICT_DNS Cluster_DiscoveryType = 1
- // Refer to the :ref:`logical DNS discovery
- // type`
- // for an explanation.
- Cluster_LOGICAL_DNS Cluster_DiscoveryType = 2
- // Refer to the :ref:`service discovery type`
- // for an explanation.
- Cluster_EDS Cluster_DiscoveryType = 3
- // Refer to the :ref:`original destination discovery
- // type`
- // for an explanation.
- Cluster_ORIGINAL_DST Cluster_DiscoveryType = 4
-)
-
-// Enum value maps for Cluster_DiscoveryType.
-var (
- Cluster_DiscoveryType_name = map[int32]string{
- 0: "STATIC",
- 1: "STRICT_DNS",
- 2: "LOGICAL_DNS",
- 3: "EDS",
- 4: "ORIGINAL_DST",
- }
- Cluster_DiscoveryType_value = map[string]int32{
- "STATIC": 0,
- "STRICT_DNS": 1,
- "LOGICAL_DNS": 2,
- "EDS": 3,
- "ORIGINAL_DST": 4,
- }
-)
-
-func (x Cluster_DiscoveryType) Enum() *Cluster_DiscoveryType {
- p := new(Cluster_DiscoveryType)
- *p = x
- return p
-}
-
-func (x Cluster_DiscoveryType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_DiscoveryType) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[0].Descriptor()
-}
-
-func (Cluster_DiscoveryType) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[0]
-}
-
-func (x Cluster_DiscoveryType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_DiscoveryType.Descriptor instead.
-func (Cluster_DiscoveryType) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 0}
-}
-
-// Refer to :ref:`load balancer type ` architecture
-// overview section for information on each type.
-type Cluster_LbPolicy int32
-
-const (
- // Refer to the :ref:`round robin load balancing
- // policy`
- // for an explanation.
- Cluster_ROUND_ROBIN Cluster_LbPolicy = 0
- // Refer to the :ref:`least request load balancing
- // policy`
- // for an explanation.
- Cluster_LEAST_REQUEST Cluster_LbPolicy = 1
- // Refer to the :ref:`ring hash load balancing
- // policy`
- // for an explanation.
- Cluster_RING_HASH Cluster_LbPolicy = 2
- // Refer to the :ref:`random load balancing
- // policy`
- // for an explanation.
- Cluster_RANDOM Cluster_LbPolicy = 3
- // Refer to the :ref:`Maglev load balancing policy`
- // for an explanation.
- Cluster_MAGLEV Cluster_LbPolicy = 5
- // This load balancer type must be specified if the configured cluster provides a cluster
- // specific load balancer. Consult the configured cluster's documentation for whether to set
- // this option or not.
- Cluster_CLUSTER_PROVIDED Cluster_LbPolicy = 6
- // Use the new :ref:`load_balancing_policy
- // ` field to determine the LB policy.
- // This has been deprecated in favor of using the :ref:`load_balancing_policy
- // ` field without
- // setting any value in :ref:`lb_policy`.
- Cluster_LOAD_BALANCING_POLICY_CONFIG Cluster_LbPolicy = 7
-)
-
-// Enum value maps for Cluster_LbPolicy.
-var (
- Cluster_LbPolicy_name = map[int32]string{
- 0: "ROUND_ROBIN",
- 1: "LEAST_REQUEST",
- 2: "RING_HASH",
- 3: "RANDOM",
- 5: "MAGLEV",
- 6: "CLUSTER_PROVIDED",
- 7: "LOAD_BALANCING_POLICY_CONFIG",
- }
- Cluster_LbPolicy_value = map[string]int32{
- "ROUND_ROBIN": 0,
- "LEAST_REQUEST": 1,
- "RING_HASH": 2,
- "RANDOM": 3,
- "MAGLEV": 5,
- "CLUSTER_PROVIDED": 6,
- "LOAD_BALANCING_POLICY_CONFIG": 7,
- }
-)
-
-func (x Cluster_LbPolicy) Enum() *Cluster_LbPolicy {
- p := new(Cluster_LbPolicy)
- *p = x
- return p
-}
-
-func (x Cluster_LbPolicy) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_LbPolicy) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[1].Descriptor()
-}
-
-func (Cluster_LbPolicy) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[1]
-}
-
-func (x Cluster_LbPolicy) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_LbPolicy.Descriptor instead.
-func (Cluster_LbPolicy) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 1}
-}
-
-// When V4_ONLY is selected, the DNS resolver will only perform a lookup for
-// addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will
-// only perform a lookup for addresses in the IPv6 family. If AUTO is
-// specified, the DNS resolver will first perform a lookup for addresses in
-// the IPv6 family and fallback to a lookup for addresses in the IPv4 family.
-// This is semantically equivalent to a non-existent V6_PREFERRED option.
-// AUTO is a legacy name that is more opaque than
-// necessary and will be deprecated in favor of V6_PREFERRED in a future major version of the API.
-// If V4_PREFERRED is specified, the DNS resolver will first perform a lookup for addresses in the
-// IPv4 family and fallback to a lookup for addresses in the IPv6 family. i.e., the callback
-// target will only get v6 addresses if there were NO v4 addresses to return.
-// If ALL is specified, the DNS resolver will perform a lookup for both IPv4 and IPv6 families,
-// and return all resolved addresses. When this is used, Happy Eyeballs will be enabled for
-// upstream connections. Refer to :ref:`Happy Eyeballs Support `
-// for more information.
-// For cluster types other than
-// :ref:`STRICT_DNS` and
-// :ref:`LOGICAL_DNS`,
-// this setting is
-// ignored.
-// [#next-major-version: deprecate AUTO in favor of a V6_PREFERRED option.]
-type Cluster_DnsLookupFamily int32
-
-const (
- Cluster_AUTO Cluster_DnsLookupFamily = 0
- Cluster_V4_ONLY Cluster_DnsLookupFamily = 1
- Cluster_V6_ONLY Cluster_DnsLookupFamily = 2
- Cluster_V4_PREFERRED Cluster_DnsLookupFamily = 3
- Cluster_ALL Cluster_DnsLookupFamily = 4
-)
-
-// Enum value maps for Cluster_DnsLookupFamily.
-var (
- Cluster_DnsLookupFamily_name = map[int32]string{
- 0: "AUTO",
- 1: "V4_ONLY",
- 2: "V6_ONLY",
- 3: "V4_PREFERRED",
- 4: "ALL",
- }
- Cluster_DnsLookupFamily_value = map[string]int32{
- "AUTO": 0,
- "V4_ONLY": 1,
- "V6_ONLY": 2,
- "V4_PREFERRED": 3,
- "ALL": 4,
- }
-)
-
-func (x Cluster_DnsLookupFamily) Enum() *Cluster_DnsLookupFamily {
- p := new(Cluster_DnsLookupFamily)
- *p = x
- return p
-}
-
-func (x Cluster_DnsLookupFamily) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_DnsLookupFamily) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[2].Descriptor()
-}
-
-func (Cluster_DnsLookupFamily) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[2]
-}
-
-func (x Cluster_DnsLookupFamily) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_DnsLookupFamily.Descriptor instead.
-func (Cluster_DnsLookupFamily) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 2}
-}
-
-type Cluster_ClusterProtocolSelection int32
-
-const (
- // Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2).
- // If :ref:`http2_protocol_options ` are
- // present, HTTP2 will be used, otherwise HTTP1.1 will be used.
- Cluster_USE_CONFIGURED_PROTOCOL Cluster_ClusterProtocolSelection = 0
- // Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
- Cluster_USE_DOWNSTREAM_PROTOCOL Cluster_ClusterProtocolSelection = 1
-)
-
-// Enum value maps for Cluster_ClusterProtocolSelection.
-var (
- Cluster_ClusterProtocolSelection_name = map[int32]string{
- 0: "USE_CONFIGURED_PROTOCOL",
- 1: "USE_DOWNSTREAM_PROTOCOL",
- }
- Cluster_ClusterProtocolSelection_value = map[string]int32{
- "USE_CONFIGURED_PROTOCOL": 0,
- "USE_DOWNSTREAM_PROTOCOL": 1,
- }
-)
-
-func (x Cluster_ClusterProtocolSelection) Enum() *Cluster_ClusterProtocolSelection {
- p := new(Cluster_ClusterProtocolSelection)
- *p = x
- return p
-}
-
-func (x Cluster_ClusterProtocolSelection) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_ClusterProtocolSelection) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[3].Descriptor()
-}
-
-func (Cluster_ClusterProtocolSelection) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[3]
-}
-
-func (x Cluster_ClusterProtocolSelection) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_ClusterProtocolSelection.Descriptor instead.
-func (Cluster_ClusterProtocolSelection) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 3}
-}
-
-// If NO_FALLBACK is selected, a result
-// equivalent to no healthy hosts is reported. If ANY_ENDPOINT is selected,
-// any cluster endpoint may be returned (subject to policy, health checks,
-// etc). If DEFAULT_SUBSET is selected, load balancing is performed over the
-// endpoints matching the values from the default_subset field.
-type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy int32
-
-const (
- Cluster_LbSubsetConfig_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 0
- Cluster_LbSubsetConfig_ANY_ENDPOINT Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 1
- Cluster_LbSubsetConfig_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 2
-)
-
-// Enum value maps for Cluster_LbSubsetConfig_LbSubsetFallbackPolicy.
-var (
- Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name = map[int32]string{
- 0: "NO_FALLBACK",
- 1: "ANY_ENDPOINT",
- 2: "DEFAULT_SUBSET",
- }
- Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value = map[string]int32{
- "NO_FALLBACK": 0,
- "ANY_ENDPOINT": 1,
- "DEFAULT_SUBSET": 2,
- }
-)
-
-func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Enum() *Cluster_LbSubsetConfig_LbSubsetFallbackPolicy {
- p := new(Cluster_LbSubsetConfig_LbSubsetFallbackPolicy)
- *p = x
- return p
-}
-
-func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[4].Descriptor()
-}
-
-func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[4]
-}
-
-func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_LbSubsetConfig_LbSubsetFallbackPolicy.Descriptor instead.
-func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 3, 0}
-}
-
-// Allows to override top level fallback policy per selector.
-type Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy int32
-
-const (
- // If NOT_DEFINED top level config fallback policy is used instead.
- Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 0
- // If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
- Cluster_LbSubsetConfig_LbSubsetSelector_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 1
- // If ANY_ENDPOINT is selected, any cluster endpoint may be returned
- // (subject to policy, health checks, etc).
- Cluster_LbSubsetConfig_LbSubsetSelector_ANY_ENDPOINT Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 2
- // If DEFAULT_SUBSET is selected, load balancing is performed over the
- // endpoints matching the values from the default_subset field.
- Cluster_LbSubsetConfig_LbSubsetSelector_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 3
- // If KEYS_SUBSET is selected, subset selector matching is performed again with metadata
- // keys reduced to
- // :ref:`fallback_keys_subset`.
- // It allows for a fallback to a different, less specific selector if some of the keys of
- // the selector are considered optional.
- Cluster_LbSubsetConfig_LbSubsetSelector_KEYS_SUBSET Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 4
-)
-
-// Enum value maps for Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy.
-var (
- Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name = map[int32]string{
- 0: "NOT_DEFINED",
- 1: "NO_FALLBACK",
- 2: "ANY_ENDPOINT",
- 3: "DEFAULT_SUBSET",
- 4: "KEYS_SUBSET",
- }
- Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_value = map[string]int32{
- "NOT_DEFINED": 0,
- "NO_FALLBACK": 1,
- "ANY_ENDPOINT": 2,
- "DEFAULT_SUBSET": 3,
- "KEYS_SUBSET": 4,
- }
-)
-
-func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Enum() *Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy {
- p := new(Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy)
- *p = x
- return p
-}
-
-func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[5].Descriptor()
-}
-
-func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[5]
-}
-
-func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy.Descriptor instead.
-func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 3, 0, 0}
-}
-
-// The hash function used to hash hosts onto the ketama ring.
-type Cluster_RingHashLbConfig_HashFunction int32
-
-const (
- // Use `xxHash `_, this is the default hash function.
- Cluster_RingHashLbConfig_XX_HASH Cluster_RingHashLbConfig_HashFunction = 0
- // Use `MurmurHash2 `_, this is compatible with
- // std:hash in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled
- // on Linux and not macOS.
- Cluster_RingHashLbConfig_MURMUR_HASH_2 Cluster_RingHashLbConfig_HashFunction = 1
-)
-
-// Enum value maps for Cluster_RingHashLbConfig_HashFunction.
-var (
- Cluster_RingHashLbConfig_HashFunction_name = map[int32]string{
- 0: "XX_HASH",
- 1: "MURMUR_HASH_2",
- }
- Cluster_RingHashLbConfig_HashFunction_value = map[string]int32{
- "XX_HASH": 0,
- "MURMUR_HASH_2": 1,
- }
-)
-
-func (x Cluster_RingHashLbConfig_HashFunction) Enum() *Cluster_RingHashLbConfig_HashFunction {
- p := new(Cluster_RingHashLbConfig_HashFunction)
- *p = x
- return p
-}
-
-func (x Cluster_RingHashLbConfig_HashFunction) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Cluster_RingHashLbConfig_HashFunction) Descriptor() protoreflect.EnumDescriptor {
- return file_envoy_config_cluster_v3_cluster_proto_enumTypes[6].Descriptor()
-}
-
-func (Cluster_RingHashLbConfig_HashFunction) Type() protoreflect.EnumType {
- return &file_envoy_config_cluster_v3_cluster_proto_enumTypes[6]
-}
-
-func (x Cluster_RingHashLbConfig_HashFunction) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Cluster_RingHashLbConfig_HashFunction.Descriptor instead.
-func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{1, 7, 0}
-}
-
-// Cluster list collections. Entries are *Cluster* resources or references.
-// [#not-implemented-hide:]
-type ClusterCollection struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Entries *v3.CollectionEntry `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"`
-}
-
-func (x *ClusterCollection) Reset() {
- *x = ClusterCollection{}
- if protoimpl.UnsafeEnabled {
- mi := &file_envoy_config_cluster_v3_cluster_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ClusterCollection) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClusterCollection) ProtoMessage() {}
-
-func (x *ClusterCollection) ProtoReflect() protoreflect.Message {
- mi := &file_envoy_config_cluster_v3_cluster_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClusterCollection.ProtoReflect.Descriptor instead.
-func (*ClusterCollection) Descriptor() ([]byte, []int) {
- return file_envoy_config_cluster_v3_cluster_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *ClusterCollection) GetEntries() *v3.CollectionEntry {
- if x != nil {
- return x.Entries
- }
- return nil
-}
-
-// Configuration for a single upstream cluster.
-// [#next-free-field: 57]
-type Cluster struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Configuration to use different transport sockets for different endpoints.
- // The entry of *envoy.transport_socket_match* in the
- // :ref:`LbEndpoint.Metadata `
- // is used to match against the transport sockets as they appear in the list. The first
- // :ref:`match ` is used.
- // For example, with the following match
- //
- // .. code-block:: yaml
- //
- // transport_socket_matches:
- // - name: "enableMTLS"
- // match:
- // acceptMTLS: true
- // transport_socket:
- // name: envoy.transport_sockets.tls
- // config: { ... } # tls socket configuration
- // - name: "defaultToPlaintext"
- // match: {}
- // transport_socket:
- // name: envoy.transport_sockets.raw_buffer
- //
- // Connections to the endpoints whose metadata value under *envoy.transport_socket_match*
- // having "acceptMTLS"/"true" key/value pair use the "enableMTLS" socket configuration.
- //
- // If a :ref:`socket match ` with empty match
- // criteria is provided, that always match any endpoint. For example, the "defaultToPlaintext"
- // socket match in case above.
- //
- // If an endpoint metadata's value under *envoy.transport_socket_match* does not match any
- // *TransportSocketMatch*, socket configuration fallbacks to use the *tls_context* or
- // *transport_socket* specified in this cluster.
- //
- // This field allows gradual and flexible transport socket configuration changes.
- //
- // The metadata of endpoints in EDS can indicate transport socket capabilities. For example,
- // an endpoint's metadata can have two key value pairs as "acceptMTLS": "true",
- // "acceptPlaintext": "true". While some other endpoints, only accepting plaintext traffic
- // has "acceptPlaintext": "true" metadata information.
- //
- // Then the xDS server can configure the CDS to a client, Envoy A, to send mutual TLS
- // traffic for endpoints with "acceptMTLS": "true", by adding a corresponding
- // *TransportSocketMatch* in this field. Other client Envoys receive CDS without
- // *transport_socket_match* set, and still send plain text traffic to the same cluster.
- //
- // This field can be used to specify custom transport socket configurations for health
- // checks by adding matching key/value pairs in a health check's
- // :ref:`transport socket match criteria ` field.
- //
- // [#comment:TODO(incfly): add a detailed architecture doc on intended usage.]
- TransportSocketMatches []*Cluster_TransportSocketMatch `protobuf:"bytes,43,rep,name=transport_socket_matches,json=transportSocketMatches,proto3" json:"transport_socket_matches,omitempty"`
- // Supplies the name of the cluster which must be unique across all clusters.
- // The cluster name is used when emitting
- // :ref:`statistics ` if :ref:`alt_stat_name
- // ` is not provided.
- // Any ``:`` in the cluster name will be converted to ``_`` when emitting statistics.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // An optional alternative to the cluster name to be used for observability. This name is used
- // emitting stats for the cluster and access logging the cluster name. This will appear as
- // additional information in configuration dumps of a cluster's current status as
- // :ref:`observability_name `
- // and as an additional tag "upstream_cluster.name" while tracing. Note: Any ``:`` in the name
- // will be converted to ``_`` when emitting statistics. This should not be confused with
- // :ref:`Router Filter Header `.
- AltStatName string `protobuf:"bytes,28,opt,name=alt_stat_name,json=altStatName,proto3" json:"alt_stat_name,omitempty"`
- // Types that are assignable to ClusterDiscoveryType:
- // *Cluster_Type
- // *Cluster_ClusterType
- ClusterDiscoveryType isCluster_ClusterDiscoveryType `protobuf_oneof:"cluster_discovery_type"`
- // Configuration to use for EDS updates for the Cluster.
- EdsClusterConfig *Cluster_EdsClusterConfig `protobuf:"bytes,3,opt,name=eds_cluster_config,json=edsClusterConfig,proto3" json:"eds_cluster_config,omitempty"`
- // The timeout for new network connections to hosts in the cluster.
- // If not set, a default value of 5s will be used.
- ConnectTimeout *duration.Duration `protobuf:"bytes,4,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
- // Soft limit on size of the cluster’s connections read and write buffers. If
- // unspecified, an implementation defined default is applied (1MiB).
- PerConnectionBufferLimitBytes *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=per_connection_buffer_limit_bytes,json=perConnectionBufferLimitBytes,proto3" json:"per_connection_buffer_limit_bytes,omitempty"`
- // The :ref:`load balancer type ` to use
- // when picking a host in the cluster.
- LbPolicy Cluster_LbPolicy `protobuf:"varint,6,opt,name=lb_policy,json=lbPolicy,proto3,enum=envoy.config.cluster.v3.Cluster_LbPolicy" json:"lb_policy,omitempty"`
- // Setting this is required for specifying members of
- // :ref:`STATIC`,
- // :ref:`STRICT_DNS`
- // or :ref:`LOGICAL_DNS` clusters.
- // This field supersedes the *hosts* field in the v2 API.
- //
- // .. attention::
- //
- // Setting this allows non-EDS cluster types to contain embedded EDS equivalent
- // :ref:`endpoint assignments`.
- //
- LoadAssignment *v31.ClusterLoadAssignment `protobuf:"bytes,33,opt,name=load_assignment,json=loadAssignment,proto3" json:"load_assignment,omitempty"`
- // Optional :ref:`active health checking `
- // configuration for the cluster. If no
- // configuration is specified no health checking will be done and all cluster
- // members will be considered healthy at all times.
- HealthChecks []*v32.HealthCheck `protobuf:"bytes,8,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"`
- // Optional maximum requests for a single upstream connection. This parameter
- // is respected by both the HTTP/1.1 and HTTP/2 connection pool
- // implementations. If not specified, there is no limit. Setting this
- // parameter to 1 will effectively disable keep alive.
- //
- // .. attention::
- // This field has been deprecated in favor of the :ref:`max_requests_per_connection ` field.
- //
- // Deprecated: Do not use.
- MaxRequestsPerConnection *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=max_requests_per_connection,json=maxRequestsPerConnection,proto3" json:"max_requests_per_connection,omitempty"`
- // Optional :ref:`circuit breaking ` for the cluster.
- CircuitBreakers *CircuitBreakers `protobuf:"bytes,10,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"`
- // HTTP protocol options that are applied only to upstream HTTP connections.
- // These options apply to all HTTP versions.
- // This has been deprecated in favor of
- // :ref:`upstream_http_protocol_options `
- // in the :ref:`http_protocol_options ` message.
- // upstream_http_protocol_options can be set via the cluster's
- // :ref:`extension_protocol_options`.
- // See :ref:`upstream_http_protocol_options
- // `
- // for example usage.
- //
- // Deprecated: Do not use.
- UpstreamHttpProtocolOptions *v32.UpstreamHttpProtocolOptions `protobuf:"bytes,46,opt,name=upstream_http_protocol_options,json=upstreamHttpProtocolOptions,proto3" json:"upstream_http_protocol_options,omitempty"`
- // Additional options when handling HTTP requests upstream. These options will be applicable to
- // both HTTP1 and HTTP2 requests.
- // This has been deprecated in favor of
- // :ref:`common_http_protocol_options `
- // in the :ref:`http_protocol_options ` message.
- // common_http_protocol_options can be set via the cluster's
- // :ref:`extension_protocol_options`.
- // See :ref:`upstream_http_protocol_options
- // `
- // for example usage.
- //
- // Deprecated: Do not use.
- CommonHttpProtocolOptions *v32.HttpProtocolOptions `protobuf:"bytes,29,opt,name=common_http_protocol_options,json=commonHttpProtocolOptions,proto3" json:"common_http_protocol_options,omitempty"`
- // Additional options when handling HTTP1 requests.
- // This has been deprecated in favor of http_protocol_options fields in the
- // :ref:`http_protocol_options ` message.
- // http_protocol_options can be set via the cluster's
- // :ref:`extension_protocol_options`.
- // See :ref:`upstream_http_protocol_options
- // `
- // for example usage.
- //
- // Deprecated: Do not use.
- HttpProtocolOptions *v32.Http1ProtocolOptions `protobuf:"bytes,13,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"`
- // Even if default HTTP2 protocol options are desired, this field must be
- // set so that Envoy will assume that the upstream supports HTTP/2 when
- // making new HTTP connection pool connections. Currently, Envoy only
- // supports prior knowledge for upstream connections. Even if TLS is used
- // with ALPN, `http2_protocol_options` must be specified. As an aside this allows HTTP/2
- // connections to happen over plain text.
- // This has been deprecated in favor of http2_protocol_options fields in the
- // :ref:`http_protocol_options `
- // message. http2_protocol_options can be set via the cluster's
- // :ref:`extension_protocol_options`.
- // See :ref:`upstream_http_protocol_options
- // `
- // for example usage.
- //
- // Deprecated: Do not use.
- Http2ProtocolOptions *v32.Http2ProtocolOptions `protobuf:"bytes,14,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
- // The extension_protocol_options field is used to provide extension-specific protocol options
- // for upstream connections. The key should match the extension filter name, such as
- // "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
- // specific options.
- // [#next-major-version: make this a list of typed extensions.]
- TypedExtensionProtocolOptions map[string]*any.Any `protobuf:"bytes,36,rep,name=typed_extension_protocol_options,json=typedExtensionProtocolOptions,proto3" json:"typed_extension_protocol_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- // If the DNS refresh rate is specified and the cluster type is either
- // :ref:`STRICT_DNS`,
- // or :ref:`LOGICAL_DNS`,
- // this value is used as the cluster’s DNS refresh
- // rate. The value configured must be at least 1ms. If this setting is not specified, the
- // value defaults to 5000ms. For cluster types other than
- // :ref:`STRICT_DNS`
- // and :ref:`LOGICAL_DNS`
- // this setting is ignored.
- DnsRefreshRate *duration.Duration `protobuf:"bytes,16,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
- // If the DNS failure refresh rate is specified and the cluster type is either
- // :ref:`STRICT_DNS`,
- // or :ref:`LOGICAL_DNS`,
- // this is used as the cluster’s DNS refresh rate when requests are failing. If this setting is
- // not specified, the failure refresh rate defaults to the DNS refresh rate. For cluster types
- // other than :ref:`STRICT_DNS