fakes

package
v2.340.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOpenIscsi

type FakeOpenIscsi struct {
	DiscoveryStub func(string) error

	IsLoggedinStub func() (bool, error)

	LoginStub func() error

	LogoutStub func() error

	RestartStub func() error

	SetupStub func(string, string, string) error

	StartStub func() error

	StopStub func() error
	// contains filtered or unexported fields
}

func (*FakeOpenIscsi) Discovery

func (fake *FakeOpenIscsi) Discovery(arg1 string) error

func (*FakeOpenIscsi) DiscoveryArgsForCall

func (fake *FakeOpenIscsi) DiscoveryArgsForCall(i int) string

func (*FakeOpenIscsi) DiscoveryCallCount

func (fake *FakeOpenIscsi) DiscoveryCallCount() int

func (*FakeOpenIscsi) DiscoveryCalls

func (fake *FakeOpenIscsi) DiscoveryCalls(stub func(string) error)

func (*FakeOpenIscsi) DiscoveryReturns

func (fake *FakeOpenIscsi) DiscoveryReturns(result1 error)

func (*FakeOpenIscsi) DiscoveryReturnsOnCall

func (fake *FakeOpenIscsi) DiscoveryReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Invocations

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

func (*FakeOpenIscsi) IsLoggedin

func (fake *FakeOpenIscsi) IsLoggedin() (bool, error)

func (*FakeOpenIscsi) IsLoggedinCallCount

func (fake *FakeOpenIscsi) IsLoggedinCallCount() int

func (*FakeOpenIscsi) IsLoggedinCalls

func (fake *FakeOpenIscsi) IsLoggedinCalls(stub func() (bool, error))

func (*FakeOpenIscsi) IsLoggedinReturns

func (fake *FakeOpenIscsi) IsLoggedinReturns(result1 bool, result2 error)

func (*FakeOpenIscsi) IsLoggedinReturnsOnCall

func (fake *FakeOpenIscsi) IsLoggedinReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeOpenIscsi) Login

func (fake *FakeOpenIscsi) Login() error

func (*FakeOpenIscsi) LoginCallCount

func (fake *FakeOpenIscsi) LoginCallCount() int

func (*FakeOpenIscsi) LoginCalls

func (fake *FakeOpenIscsi) LoginCalls(stub func() error)

func (*FakeOpenIscsi) LoginReturns

func (fake *FakeOpenIscsi) LoginReturns(result1 error)

func (*FakeOpenIscsi) LoginReturnsOnCall

func (fake *FakeOpenIscsi) LoginReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Logout

func (fake *FakeOpenIscsi) Logout() error

func (*FakeOpenIscsi) LogoutCallCount

func (fake *FakeOpenIscsi) LogoutCallCount() int

func (*FakeOpenIscsi) LogoutCalls

func (fake *FakeOpenIscsi) LogoutCalls(stub func() error)

func (*FakeOpenIscsi) LogoutReturns

func (fake *FakeOpenIscsi) LogoutReturns(result1 error)

func (*FakeOpenIscsi) LogoutReturnsOnCall

func (fake *FakeOpenIscsi) LogoutReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Restart

func (fake *FakeOpenIscsi) Restart() error

func (*FakeOpenIscsi) RestartCallCount

func (fake *FakeOpenIscsi) RestartCallCount() int

func (*FakeOpenIscsi) RestartCalls

func (fake *FakeOpenIscsi) RestartCalls(stub func() error)

func (*FakeOpenIscsi) RestartReturns

func (fake *FakeOpenIscsi) RestartReturns(result1 error)

func (*FakeOpenIscsi) RestartReturnsOnCall

func (fake *FakeOpenIscsi) RestartReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Setup

func (fake *FakeOpenIscsi) Setup(arg1 string, arg2 string, arg3 string) error

func (*FakeOpenIscsi) SetupArgsForCall

func (fake *FakeOpenIscsi) SetupArgsForCall(i int) (string, string, string)

func (*FakeOpenIscsi) SetupCallCount

func (fake *FakeOpenIscsi) SetupCallCount() int

func (*FakeOpenIscsi) SetupCalls

func (fake *FakeOpenIscsi) SetupCalls(stub func(string, string, string) error)

func (*FakeOpenIscsi) SetupReturns

func (fake *FakeOpenIscsi) SetupReturns(result1 error)

func (*FakeOpenIscsi) SetupReturnsOnCall

func (fake *FakeOpenIscsi) SetupReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Start

func (fake *FakeOpenIscsi) Start() error

func (*FakeOpenIscsi) StartCallCount

func (fake *FakeOpenIscsi) StartCallCount() int

func (*FakeOpenIscsi) StartCalls

func (fake *FakeOpenIscsi) StartCalls(stub func() error)

func (*FakeOpenIscsi) StartReturns

func (fake *FakeOpenIscsi) StartReturns(result1 error)

func (*FakeOpenIscsi) StartReturnsOnCall

func (fake *FakeOpenIscsi) StartReturnsOnCall(i int, result1 error)

func (*FakeOpenIscsi) Stop

func (fake *FakeOpenIscsi) Stop() error

func (*FakeOpenIscsi) StopCallCount

func (fake *FakeOpenIscsi) StopCallCount() int

func (*FakeOpenIscsi) StopCalls

func (fake *FakeOpenIscsi) StopCalls(stub func() error)

func (*FakeOpenIscsi) StopReturns

func (fake *FakeOpenIscsi) StopReturns(result1 error)

func (*FakeOpenIscsi) StopReturnsOnCall

func (fake *FakeOpenIscsi) StopReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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