monitorfakes

package
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeArpEntryRemover

type FakeArpEntryRemover struct {
	RemoveEntryStub func(ip net.IP) error
	// contains filtered or unexported fields
}

func (*FakeArpEntryRemover) Invocations

func (fake *FakeArpEntryRemover) Invocations() map[string][][]interface{}

func (*FakeArpEntryRemover) RemoveEntry

func (fake *FakeArpEntryRemover) RemoveEntry(ip net.IP) error

func (*FakeArpEntryRemover) RemoveEntryArgsForCall

func (fake *FakeArpEntryRemover) RemoveEntryArgsForCall(i int) net.IP

func (*FakeArpEntryRemover) RemoveEntryCallCount

func (fake *FakeArpEntryRemover) RemoveEntryCallCount() int

func (*FakeArpEntryRemover) RemoveEntryReturns

func (fake *FakeArpEntryRemover) RemoveEntryReturns(result1 error)

type FakeCmdRunner

type FakeCmdRunner struct {
	RunStub func(name string, cmd ...string) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeCmdRunner) Invocations

func (fake *FakeCmdRunner) Invocations() map[string][][]interface{}

func (*FakeCmdRunner) Run

func (fake *FakeCmdRunner) Run(name string, cmd ...string) ([]byte, error)

func (*FakeCmdRunner) RunArgsForCall

func (fake *FakeCmdRunner) RunArgsForCall(i int) (string, []string)

func (*FakeCmdRunner) RunCallCount

func (fake *FakeCmdRunner) RunCallCount() int

func (*FakeCmdRunner) RunReturns

func (fake *FakeCmdRunner) RunReturns(result1 []byte, result2 error)

type FakeMonitor

type FakeMonitor struct {
	MonitorStub func(<-chan interface{})
	// contains filtered or unexported fields
}

func (*FakeMonitor) Invocations

func (fake *FakeMonitor) Invocations() map[string][][]interface{}

func (*FakeMonitor) Monitor

func (fake *FakeMonitor) Monitor(arg1 <-chan interface{})

func (*FakeMonitor) MonitorArgsForCall

func (fake *FakeMonitor) MonitorArgsForCall(i int) <-chan interface{}

func (*FakeMonitor) MonitorCallCount

func (fake *FakeMonitor) MonitorCallCount() int

type FakeUrlGetter

type FakeUrlGetter struct {
	GetStub func(url string) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeUrlGetter) Get

func (fake *FakeUrlGetter) Get(url string) (*http.Response, error)

func (*FakeUrlGetter) GetArgsForCall

func (fake *FakeUrlGetter) GetArgsForCall(i int) string

func (*FakeUrlGetter) GetCallCount

func (fake *FakeUrlGetter) GetCallCount() int

func (*FakeUrlGetter) GetReturns

func (fake *FakeUrlGetter) GetReturns(result1 *http.Response, result2 error)

func (*FakeUrlGetter) Invocations

func (fake *FakeUrlGetter) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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