mocks

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostfileInterface

type HostfileInterface struct {
	mock.Mock
}

HostfileInterface is an autogenerated mock type for the HostfileInterface type

func (*HostfileInterface) AddHost

func (_m *HostfileInterface) AddHost(ip string, hostname string) error

AddHost provides a mock function with given fields: ip, hostname

func (*HostfileInterface) RemoveHost

func (_m *HostfileInterface) RemoveHost(hostname string) error

RemoveHost provides a mock function with given fields: hostname

Jump to

Keyboard shortcuts

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