mechutils

package
v1.6.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mechutils provides utilities for conververtin kernel.Mechanism to various things

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAlias

func ToAlias(conn *networkservice.Connection, isClient bool) string

ToAlias - create interface alias/tag from conn for client or server side for forwarder.

Note: Don't use this in a non-forwarder context

func ToNSFilename

func ToNSFilename(mechanism *kernel.Mechanism) (string, error)

ToNSFilename - mechanism to NetNS filename

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL