mtu

package
v0.0.0-...-410f0c4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mtu

type Mtu struct {
	// contains filtered or unexported fields
}

func New

func New(containerId string, networkName string, netInterface NetInterface) *Mtu

func (*Mtu) SetContainer

func (m *Mtu) SetContainer(mtu int) error

func (*Mtu) SetNat

func (m *Mtu) SetNat(mtu int) error

type NetInterface

type NetInterface interface {
	ByName(string) (netinterface.AdapterInfo, error)
	ByIP(string) (netinterface.AdapterInfo, error)
	SetMTU(string, uint32, uint32) error
	GetMTU(string, uint32) (uint32, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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