Documentation ¶
Overview ¶
Package kernel provides the necessary mechanisms to request and inject a kernel interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(opts ...Option) networkservice.NetworkServiceClient
NewClient - returns client that sets kernel preferred mechanism
func NewServer ¶
func NewServer(opts ...Option) networkservice.NetworkServiceServer
NewServer - creates a NetworkServiceServer that requests a kernel interface and populates the netns inode
Types ¶
type Option ¶
type Option func(o *options)
Option is an option pattern for kernelMechanismClient/Server
func WithInterfaceName ¶
WithInterfaceName sets interface name
Click to show internal directories.
Click to hide internal directories.