testing

package
v1.9.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeNetlinkHandle

type FakeNetlinkHandle struct {
}

FakeNetlinkHandle mock implementation of proxy NetlinkHandle

func NewFakeNetlinkHandle

func NewFakeNetlinkHandle() *FakeNetlinkHandle

NewFakeNetlinkHandle will create a new FakeNetlinkHandle

func (*FakeNetlinkHandle) EnsureAddressBind

func (h *FakeNetlinkHandle) EnsureAddressBind(address, devName string) (exist bool, err error)

EnsureAddressBind is a mock implementation

func (*FakeNetlinkHandle) UnbindAddress

func (h *FakeNetlinkHandle) UnbindAddress(address, devName string) error

UnbindAddress is a mock implementation

Jump to

Keyboard shortcuts

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