Documentation ¶
Index ¶
- Variables
- func NewControlPlane(ctx context.Context, grpcServer *grpc.Server, bindAddr net.Addr, ...) bootstrap.ControlPlane
- func NewProxyDebugServer(ctx context.Context, grpcServer *grpc.Server, bindAddr net.Addr, start bool) bootstrap.ProxyDebugServer
- 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 NewValidationServer(ctx context.Context, 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
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultXdsBindAddr = fmt.Sprintf("0.0.0.0:%v", defaults.GlooXdsPort) DefaultValidationBindAddr = fmt.Sprintf("0.0.0.0:%v", defaults.GlooValidationPort) DefaultRestXdsBindAddr = fmt.Sprintf("0.0.0.0:%v", defaults.GlooRestXdsPort) DefaultProxyDebugAddr = fmt.Sprintf("0.0.0.0:%v", defaults.GlooProxyDebugPort) )
View Source
var AcceptAllResourcesByDefault = true
TODO: (copied from gateway) switch AcceptAllResourcesByDefault to false after validation has been tested in user environments
View Source
var AllowWarnings = true
Functions ¶
func NewControlPlane ¶
func NewProxyDebugServer ¶ added in v1.9.25
func NewSetupFunc ¶
func NewSetupFunc() setuputils.SetupFunc
func NewSetupFuncWithExtensions ¶
func NewSetupFuncWithExtensions(extensions Extensions) setuputils.SetupFunc
used outside of this repo
func NewSetupFuncWithRun ¶
func NewSetupFuncWithRun(runFunc RunFunc) setuputils.SetupFunc
for use by UDS, FDS, other v1.SetupSyncers
func NewSetupFuncWithRunAndExtensions ¶
func NewSetupFuncWithRunAndExtensions(runFunc RunFunc, extensions *Extensions) setuputils.SetupFunc
func NewValidationServer ¶
func RunGlooWithExtensions ¶
func RunGlooWithExtensions(opts bootstrap.Opts, extensions Extensions) error
Types ¶
type Extensions ¶
type Extensions struct { PluginRegistryFactory plugins.PluginRegistryFactory SyncerExtensions []syncer.TranslatorSyncerExtensionFactory XdsCallbacks xdsserver.Callbacks ApiEmitterChannel chan struct{} }
Click to show internal directories.
Click to hide internal directories.