mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
refactor: update go mod library (#210)
refactor: update go mod library and refactor dev logic Co-authored-by: wencaiwulue <895703375@qq.com>
This commit is contained in:
22
vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
generated
vendored
Normal file
22
vendor/github.com/envoyproxy/go-control-plane/pkg/server/config/doc.go
generated
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user