Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTapNotFound = errors.New("tap not found") ErrTapManagerUnimplemented = errors.New("tap manager is implemented on windows only") )
Functions ¶
func NewUniqueTapName ¶
func ValidateTapName ¶
Types ¶
type TapManager ¶
type TapManager struct {
// contains filtered or unexported fields
}
func NewTapManager ¶
func NewTapManager(_ *slog.Logger) (*TapManager, error)
func (*TapManager) ConfigureNet ¶
func (tm *TapManager) ConfigureNet(_ string, _ string) error
func (*TapManager) CreateNewTap ¶
func (tm *TapManager) CreateNewTap(_ string) error
func (*TapManager) DeleteTap ¶
func (tm *TapManager) DeleteTap(_ string) error
Click to show internal directories.
Click to hide internal directories.