aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
blob: 2c85adfd5fae2d970d2ca525a9b8d10fcca3a350 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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