ipvlan

package
v0.1.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(o *Options) (*types100.Interface, error)

func ModeFromString

func ModeFromString(s string) (netlink.IPVlanMode, error)

func ModeToString

func ModeToString(mode netlink.IPVlanMode) (string, error)

Types

type Options

type Options struct {
	Mode   string
	Master string
	MTU    int
	IfName string
	NetNS  ns.NetNS
	MAC    string
}

Jump to

Keyboard shortcuts

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