Documentation ¶
Overview ¶
Package nsmgrproxy provides chain of networkservice.NetworkServiceServer chain elements to creating NSMgrProxy
Index ¶
- func NewServer(ctx context.Context, regURL, proxyURL *url.URL, ...) nsmgr.Nsmgr
- type Option
- func WithAuthorizeServer(authorizeServer networkservice.NetworkServiceServer) Option
- func WithConnectOptions(connectOptions ...connect.Option) Option
- func WithListenOn(u *url.URL) Option
- func WithMapIPFilePath(p string) Option
- func WithName(name string) Option
- func WithRegistryConnectOptions(connectOptions ...registryconnect.Option) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *serverOptions)
Option modifies option value
func WithAuthorizeServer ¶
func WithAuthorizeServer(authorizeServer networkservice.NetworkServiceServer) Option
WithAuthorizeServer sets authorize server for the server
func WithConnectOptions ¶
WithConnectOptions sets connect Options for the server
func WithMapIPFilePath ¶
WithMapIPFilePath sets the custom path for the file that contains internal to external IPs information in YAML format
func WithRegistryConnectOptions ¶
func WithRegistryConnectOptions(connectOptions ...registryconnect.Option) Option
WithRegistryConnectOptions sets registry connect options
Click to show internal directories.
Click to hide internal directories.