Documentation ¶
Overview ¶
Package forwarder provides an endpoint implementing xconnectns
Index ¶
- func NewServer(ctx context.Context, tokenGenerator token.GeneratorFunc, vppConn Connection, ...) endpoint.Endpoint
- type Connection
- type Option
- func WithAuthorizeMonitorConnectionServer(authorizeMonitorConnectionServer networkservice.MonitorConnectionServer) Option
- func WithAuthorizeServer(authorizeServer networkservice.NetworkServiceServer) Option
- func WithCleanupOptions(opts ...cleanup.Option) Option
- func WithClientAdditionalFunctionality(additionalFunctionality ...networkservice.NetworkServiceClient) 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 ¶
Types ¶
type Connection ¶
type Connection interface { api.Connection api.ChannelProvider }
Connection aggregates the api.Connection and api.ChannelProvider interfaces
type Option ¶ added in v1.3.0
type Option func(o *forwarderOptions)
Option is an option pattern for forwarder chain elements
func WithAuthorizeMonitorConnectionServer ¶ added in v1.5.0
func WithAuthorizeMonitorConnectionServer(authorizeMonitorConnectionServer networkservice.MonitorConnectionServer) Option
WithAuthorizeMonitorConnectionServer 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 WithClientAdditionalFunctionality ¶ added in v1.5.0
func WithClientAdditionalFunctionality(additionalFunctionality ...networkservice.NetworkServiceClient) Option
WithClientAdditionalFunctionality sets client additional functionality
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