Documentation ¶
Index ¶
- Constants
- func NewControlPlane(ctx context.Context, grpcServer *grpc.Server, bindAddr net.Addr, ...) bootstrap.ControlPlane
- func NewSetupFunc() setuputils.SetupFunc
- func NewSetupFuncWithExtensions(extensions Extensions) setuputils.SetupFunc
- func NewSetupFuncWithRun(runFunc RunFunc) setuputils.SetupFunc
- func NewSetupFuncWithRunAndExtensions(runFunc RunFunc, extensions *Extensions) setuputils.SetupFunc
- func NewTranslatorSyncer(translator translator.Translator, xdsCache envoycache.SnapshotCache, ...) v1.ApiSyncer
- func NewValidationServer(grpcServer *grpc.Server, bindAddr net.Addr, start bool) bootstrap.ValidationServer
- func RunGloo(opts bootstrap.Opts) error
- func RunGlooWithExtensions(opts bootstrap.Opts, extensions Extensions) error
- type Extensions
- type RunFunc
- type TranslatorSyncerExtension
- type TranslatorSyncerExtensionFactory
- type TranslatorSyncerExtensionParams
Constants ¶
View Source
const ( DefaultXdsBindAddr = "0.0.0.0:9977" DefaultValidationBindAddr = "0.0.0.0:9988" )
Variables ¶
This section is empty.
Functions ¶
func NewControlPlane ¶
func NewSetupFunc ¶
func NewSetupFunc() setuputils.SetupFunc
func NewSetupFuncWithExtensions ¶
func NewSetupFuncWithExtensions(extensions Extensions) setuputils.SetupFunc
used outside of this repo noinspection GoUnusedExportedFunction
func NewSetupFuncWithRun ¶
func NewSetupFuncWithRun(runFunc RunFunc) setuputils.SetupFunc
for use by UDS, FDS, other v1.SetupSyncers
func NewSetupFuncWithRunAndExtensions ¶ added in v0.11.2
func NewSetupFuncWithRunAndExtensions(runFunc RunFunc, extensions *Extensions) setuputils.SetupFunc
func NewTranslatorSyncer ¶
func NewTranslatorSyncer(translator translator.Translator, xdsCache envoycache.SnapshotCache, xdsHasher *xds.ProxyKeyHasher, reporter reporter.Reporter, devMode bool, extensions []TranslatorSyncerExtension) v1.ApiSyncer
func NewValidationServer ¶ added in v0.18.43
func RunGlooWithExtensions ¶
func RunGlooWithExtensions(opts bootstrap.Opts, extensions Extensions) error
Types ¶
type Extensions ¶
type Extensions struct { PluginExtensions []plugins.Plugin SyncerExtensions []TranslatorSyncerExtensionFactory XdsCallbacks xdsserver.Callbacks }
type TranslatorSyncerExtension ¶
type TranslatorSyncerExtension interface {
Sync(ctx context.Context, snap *v1.ApiSnapshot, xdsCache envoycache.SnapshotCache) error
}
type TranslatorSyncerExtensionFactory ¶ added in v0.11.0
type TranslatorSyncerExtensionFactory func(context.Context, TranslatorSyncerExtensionParams) (TranslatorSyncerExtension, error)
type TranslatorSyncerExtensionParams ¶ added in v0.11.0
type TranslatorSyncerExtensionParams struct { SettingExtensions *v1.Extensions RateLimitDescriptorSettings ratelimit.EnvoySettings // Enterprise-only, used by GlooE code (lives outside this repo) }
Click to show internal directories.
Click to hide internal directories.