Documentation ¶
Overview ¶
Package xconnectns provides an endpoint implementing xconnectns
Index ¶
- func NewServer(ctx context.Context, tokenGenerator token.GeneratorFunc, ...) endpoint.Endpoint
- type Option
- func WithAuthorizeMonitorConnectionsServer(authorizeMonitorConnectionServer networkservice.MonitorConnectionServer) Option
- func WithAuthorizeServer(authorizeServer networkservice.NetworkServiceServer) Option
- func WithCleanupOptions(opts ...cleanup.Option) Option
- func WithClientURL(clientURL *url.URL) Option
- func WithDialOptions(opts ...grpc.DialOption) Option
- func WithDialTimeout(dialTimeout time.Duration) Option
- func WithMechanismPriority(priorityList []string) Option
- func WithName(name string) Option
- func WithStatsOptions(opts ...stats.Option) Option
- func WithVlanDomain2Device(domain2Device map[string]string) Option
- func WithVxlanOptions(opts ...vxlan.Option) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( ctx context.Context, tokenGenerator token.GeneratorFunc, vppConn vppforwarder.Connection, tunnelIP net.IP, pciPool resourcepool.PCIPool, resourcePool resourcepool.ResourcePool, sriovConfig *sriovconfig.Config, vfioDir, cgroupBaseDir string, options ...Option, ) endpoint.Endpoint
NewServer - returns an implementation of the xconnectns network service
Types ¶
type Option ¶ added in v1.3.0
type Option func(o *xconnOptions)
Option is an option pattern for forwarder
func WithAuthorizeMonitorConnectionsServer ¶ added in v1.5.0
func WithAuthorizeMonitorConnectionsServer(authorizeMonitorConnectionServer networkservice.MonitorConnectionServer) Option
WithAuthorizeMonitorConnectionsServer sets authorization server chain element
func WithAuthorizeServer ¶ added in v1.3.0
func WithAuthorizeServer(authorizeServer networkservice.NetworkServiceServer) Option
WithAuthorizeServer sets authorization server chain element
func WithCleanupOptions ¶ added in v1.3.0
WithCleanupOptions sets cleanup options
func WithClientURL ¶ added in v1.3.0
WithClientURL sets clientURL.
func WithDialOptions ¶ added in v1.3.0
func WithDialOptions(opts ...grpc.DialOption) Option
WithDialOptions sets dial options
func WithDialTimeout ¶ added in v1.3.0
WithDialTimeout sets dial timeout for the client
func WithMechanismPriority ¶ added in v1.7.0
WithMechanismPriority sets mechanismpriority option
func WithStatsOptions ¶ added in v1.3.0
WithStatsOptions sets stats options
func WithVlanDomain2Device ¶ added in v1.3.0
WithVlanDomain2Device sets vlan option
func WithVxlanOptions ¶ added in v1.3.0
WithVxlanOptions sets vxlan options
Click to show internal directories.
Click to hide internal directories.