diskfakes

package
v2.173.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeManager

type FakeManager struct {
	GetEphemeralDevicePartitionerStub func() disk.Partitioner

	GetFormatterStub func() disk.Formatter

	GetMounterStub func() disk.Mounter

	GetMountsSearcherStub func() disk.MountsSearcher

	GetPersistentDevicePartitionerStub func(string) (disk.Partitioner, error)

	GetRootDevicePartitionerStub func() disk.Partitioner

	GetUtilStub func() disk.Util
	// contains filtered or unexported fields
}

func (*FakeManager) GetEphemeralDevicePartitioner

func (fake *FakeManager) GetEphemeralDevicePartitioner() disk.Partitioner

func (*FakeManager) GetEphemeralDevicePartitionerCallCount

func (fake *FakeManager) GetEphemeralDevicePartitionerCallCount() int

func (*FakeManager) GetEphemeralDevicePartitionerCalls

func (fake *FakeManager) GetEphemeralDevicePartitionerCalls(stub func() disk.Partitioner)

func (*FakeManager) GetEphemeralDevicePartitionerReturns

func (fake *FakeManager) GetEphemeralDevicePartitionerReturns(result1 disk.Partitioner)

func (*FakeManager) GetEphemeralDevicePartitionerReturnsOnCall

func (fake *FakeManager) GetEphemeralDevicePartitionerReturnsOnCall(i int, result1 disk.Partitioner)

func (*FakeManager) GetFormatter

func (fake *FakeManager) GetFormatter() disk.Formatter

func (*FakeManager) GetFormatterCallCount

func (fake *FakeManager) GetFormatterCallCount() int

func (*FakeManager) GetFormatterCalls

func (fake *FakeManager) GetFormatterCalls(stub func() disk.Formatter)

func (*FakeManager) GetFormatterReturns

func (fake *FakeManager) GetFormatterReturns(result1 disk.Formatter)

func (*FakeManager) GetFormatterReturnsOnCall

func (fake *FakeManager) GetFormatterReturnsOnCall(i int, result1 disk.Formatter)

func (*FakeManager) GetMounter

func (fake *FakeManager) GetMounter() disk.Mounter

func (*FakeManager) GetMounterCallCount

func (fake *FakeManager) GetMounterCallCount() int

func (*FakeManager) GetMounterCalls

func (fake *FakeManager) GetMounterCalls(stub func() disk.Mounter)

func (*FakeManager) GetMounterReturns

func (fake *FakeManager) GetMounterReturns(result1 disk.Mounter)

func (*FakeManager) GetMounterReturnsOnCall

func (fake *FakeManager) GetMounterReturnsOnCall(i int, result1 disk.Mounter)

func (*FakeManager) GetMountsSearcher

func (fake *FakeManager) GetMountsSearcher() disk.MountsSearcher

func (*FakeManager) GetMountsSearcherCallCount

func (fake *FakeManager) GetMountsSearcherCallCount() int

func (*FakeManager) GetMountsSearcherCalls

func (fake *FakeManager) GetMountsSearcherCalls(stub func() disk.MountsSearcher)

func (*FakeManager) GetMountsSearcherReturns

func (fake *FakeManager) GetMountsSearcherReturns(result1 disk.MountsSearcher)

func (*FakeManager) GetMountsSearcherReturnsOnCall

func (fake *FakeManager) GetMountsSearcherReturnsOnCall(i int, result1 disk.MountsSearcher)

func (*FakeManager) GetPersistentDevicePartitioner

func (fake *FakeManager) GetPersistentDevicePartitioner(arg1 string) (disk.Partitioner, error)

func (*FakeManager) GetPersistentDevicePartitionerArgsForCall

func (fake *FakeManager) GetPersistentDevicePartitionerArgsForCall(i int) string

func (*FakeManager) GetPersistentDevicePartitionerCallCount

func (fake *FakeManager) GetPersistentDevicePartitionerCallCount() int

func (*FakeManager) GetPersistentDevicePartitionerCalls

func (fake *FakeManager) GetPersistentDevicePartitionerCalls(stub func(string) (disk.Partitioner, error))

func (*FakeManager) GetPersistentDevicePartitionerReturns

func (fake *FakeManager) GetPersistentDevicePartitionerReturns(result1 disk.Partitioner, result2 error)

func (*FakeManager) GetPersistentDevicePartitionerReturnsOnCall

func (fake *FakeManager) GetPersistentDevicePartitionerReturnsOnCall(i int, result1 disk.Partitioner, result2 error)

func (*FakeManager) GetRootDevicePartitioner

func (fake *FakeManager) GetRootDevicePartitioner() disk.Partitioner

func (*FakeManager) GetRootDevicePartitionerCallCount

func (fake *FakeManager) GetRootDevicePartitionerCallCount() int

func (*FakeManager) GetRootDevicePartitionerCalls

func (fake *FakeManager) GetRootDevicePartitionerCalls(stub func() disk.Partitioner)

func (*FakeManager) GetRootDevicePartitionerReturns

func (fake *FakeManager) GetRootDevicePartitionerReturns(result1 disk.Partitioner)

func (*FakeManager) GetRootDevicePartitionerReturnsOnCall

func (fake *FakeManager) GetRootDevicePartitionerReturnsOnCall(i int, result1 disk.Partitioner)

func (*FakeManager) GetUtil

func (fake *FakeManager) GetUtil() disk.Util

func (*FakeManager) GetUtilCallCount

func (fake *FakeManager) GetUtilCallCount() int

func (*FakeManager) GetUtilCalls

func (fake *FakeManager) GetUtilCalls(stub func() disk.Util)

func (*FakeManager) GetUtilReturns

func (fake *FakeManager) GetUtilReturns(result1 disk.Util)

func (*FakeManager) GetUtilReturnsOnCall

func (fake *FakeManager) GetUtilReturnsOnCall(i int, result1 disk.Util)

func (*FakeManager) Invocations

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

type FakeMounter

type FakeMounter struct {
	IsMountPointStub func(string) (string, bool, error)

	IsMountedStub func(string) (bool, error)

	MountStub func(string, string, ...string) error

	MountFilesystemStub func(string, string, string, ...string) error

	RemountStub func(string, string, ...string) error

	RemountAsReadonlyStub func(string) error

	RemountInPlaceStub func(string, ...string) error

	SwapOnStub func(string) error

	UnmountStub func(string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeMounter) Invocations

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

func (*FakeMounter) IsMountPoint

func (fake *FakeMounter) IsMountPoint(arg1 string) (string, bool, error)

func (*FakeMounter) IsMountPointArgsForCall

func (fake *FakeMounter) IsMountPointArgsForCall(i int) string

func (*FakeMounter) IsMountPointCallCount

func (fake *FakeMounter) IsMountPointCallCount() int

func (*FakeMounter) IsMountPointCalls

func (fake *FakeMounter) IsMountPointCalls(stub func(string) (string, bool, error))

func (*FakeMounter) IsMountPointReturns

func (fake *FakeMounter) IsMountPointReturns(result1 string, result2 bool, result3 error)

func (*FakeMounter) IsMountPointReturnsOnCall

func (fake *FakeMounter) IsMountPointReturnsOnCall(i int, result1 string, result2 bool, result3 error)

func (*FakeMounter) IsMounted

func (fake *FakeMounter) IsMounted(arg1 string) (bool, error)

func (*FakeMounter) IsMountedArgsForCall

func (fake *FakeMounter) IsMountedArgsForCall(i int) string

func (*FakeMounter) IsMountedCallCount

func (fake *FakeMounter) IsMountedCallCount() int

func (*FakeMounter) IsMountedCalls

func (fake *FakeMounter) IsMountedCalls(stub func(string) (bool, error))

func (*FakeMounter) IsMountedReturns

func (fake *FakeMounter) IsMountedReturns(result1 bool, result2 error)

func (*FakeMounter) IsMountedReturnsOnCall

func (fake *FakeMounter) IsMountedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeMounter) Mount

func (fake *FakeMounter) Mount(arg1 string, arg2 string, arg3 ...string) error

func (*FakeMounter) MountArgsForCall

func (fake *FakeMounter) MountArgsForCall(i int) (string, string, []string)

func (*FakeMounter) MountCallCount

func (fake *FakeMounter) MountCallCount() int

func (*FakeMounter) MountCalls

func (fake *FakeMounter) MountCalls(stub func(string, string, ...string) error)

func (*FakeMounter) MountFilesystem

func (fake *FakeMounter) MountFilesystem(arg1 string, arg2 string, arg3 string, arg4 ...string) error

func (*FakeMounter) MountFilesystemArgsForCall

func (fake *FakeMounter) MountFilesystemArgsForCall(i int) (string, string, string, []string)

func (*FakeMounter) MountFilesystemCallCount

func (fake *FakeMounter) MountFilesystemCallCount() int

func (*FakeMounter) MountFilesystemCalls

func (fake *FakeMounter) MountFilesystemCalls(stub func(string, string, string, ...string) error)

func (*FakeMounter) MountFilesystemReturns

func (fake *FakeMounter) MountFilesystemReturns(result1 error)

func (*FakeMounter) MountFilesystemReturnsOnCall

func (fake *FakeMounter) MountFilesystemReturnsOnCall(i int, result1 error)

func (*FakeMounter) MountReturns

func (fake *FakeMounter) MountReturns(result1 error)

func (*FakeMounter) MountReturnsOnCall

func (fake *FakeMounter) MountReturnsOnCall(i int, result1 error)

func (*FakeMounter) Remount

func (fake *FakeMounter) Remount(arg1 string, arg2 string, arg3 ...string) error

func (*FakeMounter) RemountArgsForCall

func (fake *FakeMounter) RemountArgsForCall(i int) (string, string, []string)

func (*FakeMounter) RemountAsReadonly

func (fake *FakeMounter) RemountAsReadonly(arg1 string) error

func (*FakeMounter) RemountAsReadonlyArgsForCall

func (fake *FakeMounter) RemountAsReadonlyArgsForCall(i int) string

func (*FakeMounter) RemountAsReadonlyCallCount

func (fake *FakeMounter) RemountAsReadonlyCallCount() int

func (*FakeMounter) RemountAsReadonlyCalls

func (fake *FakeMounter) RemountAsReadonlyCalls(stub func(string) error)

func (*FakeMounter) RemountAsReadonlyReturns

func (fake *FakeMounter) RemountAsReadonlyReturns(result1 error)

func (*FakeMounter) RemountAsReadonlyReturnsOnCall

func (fake *FakeMounter) RemountAsReadonlyReturnsOnCall(i int, result1 error)

func (*FakeMounter) RemountCallCount

func (fake *FakeMounter) RemountCallCount() int

func (*FakeMounter) RemountCalls

func (fake *FakeMounter) RemountCalls(stub func(string, string, ...string) error)

func (*FakeMounter) RemountInPlace

func (fake *FakeMounter) RemountInPlace(arg1 string, arg2 ...string) error

func (*FakeMounter) RemountInPlaceArgsForCall

func (fake *FakeMounter) RemountInPlaceArgsForCall(i int) (string, []string)

func (*FakeMounter) RemountInPlaceCallCount

func (fake *FakeMounter) RemountInPlaceCallCount() int

func (*FakeMounter) RemountInPlaceCalls

func (fake *FakeMounter) RemountInPlaceCalls(stub func(string, ...string) error)

func (*FakeMounter) RemountInPlaceReturns

func (fake *FakeMounter) RemountInPlaceReturns(result1 error)

func (*FakeMounter) RemountInPlaceReturnsOnCall

func (fake *FakeMounter) RemountInPlaceReturnsOnCall(i int, result1 error)

func (*FakeMounter) RemountReturns

func (fake *FakeMounter) RemountReturns(result1 error)

func (*FakeMounter) RemountReturnsOnCall

func (fake *FakeMounter) RemountReturnsOnCall(i int, result1 error)

func (*FakeMounter) SwapOn

func (fake *FakeMounter) SwapOn(arg1 string) error

func (*FakeMounter) SwapOnArgsForCall

func (fake *FakeMounter) SwapOnArgsForCall(i int) string

func (*FakeMounter) SwapOnCallCount

func (fake *FakeMounter) SwapOnCallCount() int

func (*FakeMounter) SwapOnCalls

func (fake *FakeMounter) SwapOnCalls(stub func(string) error)

func (*FakeMounter) SwapOnReturns

func (fake *FakeMounter) SwapOnReturns(result1 error)

func (*FakeMounter) SwapOnReturnsOnCall

func (fake *FakeMounter) SwapOnReturnsOnCall(i int, result1 error)

func (*FakeMounter) Unmount

func (fake *FakeMounter) Unmount(arg1 string) (bool, error)

func (*FakeMounter) UnmountArgsForCall

func (fake *FakeMounter) UnmountArgsForCall(i int) string

func (*FakeMounter) UnmountCallCount

func (fake *FakeMounter) UnmountCallCount() int

func (*FakeMounter) UnmountCalls

func (fake *FakeMounter) UnmountCalls(stub func(string) (bool, error))

func (*FakeMounter) UnmountReturns

func (fake *FakeMounter) UnmountReturns(result1 bool, result2 error)

func (*FakeMounter) UnmountReturnsOnCall

func (fake *FakeMounter) UnmountReturnsOnCall(i int, result1 bool, result2 error)

Jump to

Keyboard shortcuts

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