mock

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock offers implementations of interfaces defined in types.go This allows complete control over input / output for any given method that consumes a given type

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailingInterfaceAddrs

func NewFailingInterfaceAddrs() types.InterfaceAddrs

NewFailingInterfaceAddrs returns an error

func NewNilInterfaceAddrs

func NewNilInterfaceAddrs() types.InterfaceAddrs

NewFailingInterfaceAddrs returns an empty slice of addresses

func NewSuccessfulInterfaceAddrs

func NewSuccessfulInterfaceAddrs() types.InterfaceAddrs

NewSuccessfulInterfaceAddrs returns a single private IP address

Types

This section is empty.

Jump to

Keyboard shortcuts

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