fakes

package
v2.92.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 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 {
	SetupStub func(iqn, username, password string) (err error)

	StartStub func() (err error)

	StopStub func() (err error)

	RestartStub func() (err error)

	DiscoveryStub func(ipAddress string) (err error)

	LoginStub func() (err error)

	LogoutStub func() (err error)
	// contains filtered or unexported fields
}

func (*FakeOpenIscsi) Discovery

func (fake *FakeOpenIscsi) Discovery(ipAddress string) (err error)

func (*FakeOpenIscsi) DiscoveryArgsForCall

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

func (*FakeOpenIscsi) DiscoveryCallCount

func (fake *FakeOpenIscsi) DiscoveryCallCount() int

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) Login

func (fake *FakeOpenIscsi) Login() (err error)

func (*FakeOpenIscsi) LoginCallCount

func (fake *FakeOpenIscsi) LoginCallCount() int

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() (err error)

func (*FakeOpenIscsi) LogoutCallCount

func (fake *FakeOpenIscsi) LogoutCallCount() int

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() (err error)

func (*FakeOpenIscsi) RestartCallCount

func (fake *FakeOpenIscsi) RestartCallCount() int

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(iqn string, username string, password string) (err error)

func (*FakeOpenIscsi) SetupArgsForCall

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

func (*FakeOpenIscsi) SetupCallCount

func (fake *FakeOpenIscsi) SetupCallCount() int

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() (err error)

func (*FakeOpenIscsi) StartCallCount

func (fake *FakeOpenIscsi) StartCallCount() int

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() (err error)

func (*FakeOpenIscsi) StopCallCount

func (fake *FakeOpenIscsi) StopCallCount() int

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