aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-01-30 11:20:39 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-01-30 12:12:51 +0300
commitbe737fd8956853e06bd2c4f9fcd4a85188f4c172 (patch)
tree5bd76802fac1096dfd90983c7739d50de367a79f /vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
parentfe62880c46b1f2c9fec779b0dc39f8a92ce256a5 (diff)
downloadydb-be737fd8956853e06bd2c4f9fcd4a85188f4c172.tar.gz
Update vendor/github.com/envoyproxy/go-control-plane to 0.12.0
Diffstat (limited to 'vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go')
-rw-r--r--vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go b/vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
new file mode 100644
index 0000000000..2c85adfd5f
--- /dev/null
+++ b/vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
@@ -0,0 +1,22 @@
+/*
+Config abstracts xDS server options into a unified configuration package
+that allows for easy manipulation as well as unified passage of options
+to individual xDS server implementations.
+
+This enables code reduction as well as a unified source of config. Delta
+and SOTW might have similar ordered responses through ADS and rather than
+duplicating the logic across server implementations, we add the options
+in this package which are passed down to each individual spec.
+
+Each xDS implementation should implement their own functional opts.
+It is recommended that config values be added in this package specifically,
+but the individual opts functions should be in their respective
+implementation package so the import looks like the following:
+
+`sotw.WithOrderedADS()`
+`delta.WithOrderedADS()`
+
+this allows for easy inference as to which opt applies to what implementation.
+*/
+
+package config