Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Drivers = map[string]DriverCreateFunc{}
Static map of supported drivers
Functions ¶
func AddDriver ¶
func AddDriver(name string, driverCreate DriverCreateFunc)
Adds a supported driver, prints a fatal error in the case of double registration
Types ¶
type Driver ¶
type Driver interface { Init() error ConnectToEndpoint(tep *netv1alpha1.TunnelEndpoint) (*netv1alpha1.Connection, error) DisconnectFromEndpoint(tep *netv1alpha1.TunnelEndpoint) error Close() error }
Click to show internal directories.
Click to hide internal directories.