fakes

package
v2.234.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 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.

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 FakeWindowsDiskFormatter

type FakeWindowsDiskFormatter struct {
	FormatStub func(string, string) error
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskFormatter) Format

func (fake *FakeWindowsDiskFormatter) Format(arg1 string, arg2 string) error

func (*FakeWindowsDiskFormatter) FormatArgsForCall

func (fake *FakeWindowsDiskFormatter) FormatArgsForCall(i int) (string, string)

func (*FakeWindowsDiskFormatter) FormatCallCount

func (fake *FakeWindowsDiskFormatter) FormatCallCount() int

func (*FakeWindowsDiskFormatter) FormatCalls

func (fake *FakeWindowsDiskFormatter) FormatCalls(stub func(string, string) error)

func (*FakeWindowsDiskFormatter) FormatReturns

func (fake *FakeWindowsDiskFormatter) FormatReturns(result1 error)

func (*FakeWindowsDiskFormatter) FormatReturnsOnCall

func (fake *FakeWindowsDiskFormatter) FormatReturnsOnCall(i int, result1 error)

func (*FakeWindowsDiskFormatter) Invocations

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

type FakeWindowsDiskLinker

type FakeWindowsDiskLinker struct {
	LinkStub func(string, string) error

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

func (*FakeWindowsDiskLinker) Invocations

func (fake *FakeWindowsDiskLinker) Invocations() map[string][][]interface{}
func (fake *FakeWindowsDiskLinker) Link(arg1 string, arg2 string) error

func (*FakeWindowsDiskLinker) LinkArgsForCall

func (fake *FakeWindowsDiskLinker) LinkArgsForCall(i int) (string, string)

func (*FakeWindowsDiskLinker) LinkCallCount

func (fake *FakeWindowsDiskLinker) LinkCallCount() int

func (*FakeWindowsDiskLinker) LinkCalls

func (fake *FakeWindowsDiskLinker) LinkCalls(stub func(string, string) error)

func (*FakeWindowsDiskLinker) LinkReturns

func (fake *FakeWindowsDiskLinker) LinkReturns(result1 error)

func (*FakeWindowsDiskLinker) LinkReturnsOnCall

func (fake *FakeWindowsDiskLinker) LinkReturnsOnCall(i int, result1 error)

func (*FakeWindowsDiskLinker) LinkTarget

func (fake *FakeWindowsDiskLinker) LinkTarget(arg1 string) (string, error)

func (*FakeWindowsDiskLinker) LinkTargetArgsForCall

func (fake *FakeWindowsDiskLinker) LinkTargetArgsForCall(i int) string

func (*FakeWindowsDiskLinker) LinkTargetCallCount

func (fake *FakeWindowsDiskLinker) LinkTargetCallCount() int

func (*FakeWindowsDiskLinker) LinkTargetCalls

func (fake *FakeWindowsDiskLinker) LinkTargetCalls(stub func(string) (string, error))

func (*FakeWindowsDiskLinker) LinkTargetReturns

func (fake *FakeWindowsDiskLinker) LinkTargetReturns(result1 string, result2 error)

func (*FakeWindowsDiskLinker) LinkTargetReturnsOnCall

func (fake *FakeWindowsDiskLinker) LinkTargetReturnsOnCall(i int, result1 string, result2 error)

type FakeWindowsDiskPartitioner

type FakeWindowsDiskPartitioner struct {
	AssignDriveLetterStub func(string, string) (string, error)

	GetCountOnDiskStub func(string) (string, error)

	GetFreeSpaceOnDiskStub func(string) (int, error)

	InitializeDiskStub func(string) error

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

func (*FakeWindowsDiskPartitioner) AssignDriveLetter

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetter(arg1 string, arg2 string) (string, error)

func (*FakeWindowsDiskPartitioner) AssignDriveLetterArgsForCall

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterArgsForCall(i int) (string, string)

func (*FakeWindowsDiskPartitioner) AssignDriveLetterCallCount

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterCallCount() int

func (*FakeWindowsDiskPartitioner) AssignDriveLetterCalls

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterCalls(stub func(string, string) (string, error))

func (*FakeWindowsDiskPartitioner) AssignDriveLetterReturns

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterReturns(result1 string, result2 error)

func (*FakeWindowsDiskPartitioner) AssignDriveLetterReturnsOnCall

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterReturnsOnCall(i int, result1 string, result2 error)

func (*FakeWindowsDiskPartitioner) GetCountOnDisk

func (fake *FakeWindowsDiskPartitioner) GetCountOnDisk(arg1 string) (string, error)

func (*FakeWindowsDiskPartitioner) GetCountOnDiskArgsForCall

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskArgsForCall(i int) string

func (*FakeWindowsDiskPartitioner) GetCountOnDiskCallCount

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskCallCount() int

func (*FakeWindowsDiskPartitioner) GetCountOnDiskCalls

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskCalls(stub func(string) (string, error))

func (*FakeWindowsDiskPartitioner) GetCountOnDiskReturns

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskReturns(result1 string, result2 error)

func (*FakeWindowsDiskPartitioner) GetCountOnDiskReturnsOnCall

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskReturnsOnCall(i int, result1 string, result2 error)

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDisk

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDisk(arg1 string) (int, error)

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskArgsForCall

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskArgsForCall(i int) string

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCallCount

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCallCount() int

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCalls

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCalls(stub func(string) (int, error))

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskReturns

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskReturns(result1 int, result2 error)

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskReturnsOnCall

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskReturnsOnCall(i int, result1 int, result2 error)

func (*FakeWindowsDiskPartitioner) InitializeDisk

func (fake *FakeWindowsDiskPartitioner) InitializeDisk(arg1 string) error

func (*FakeWindowsDiskPartitioner) InitializeDiskArgsForCall

func (fake *FakeWindowsDiskPartitioner) InitializeDiskArgsForCall(i int) string

func (*FakeWindowsDiskPartitioner) InitializeDiskCallCount

func (fake *FakeWindowsDiskPartitioner) InitializeDiskCallCount() int

func (*FakeWindowsDiskPartitioner) InitializeDiskCalls

func (fake *FakeWindowsDiskPartitioner) InitializeDiskCalls(stub func(string) error)

func (*FakeWindowsDiskPartitioner) InitializeDiskReturns

func (fake *FakeWindowsDiskPartitioner) InitializeDiskReturns(result1 error)

func (*FakeWindowsDiskPartitioner) InitializeDiskReturnsOnCall

func (fake *FakeWindowsDiskPartitioner) InitializeDiskReturnsOnCall(i int, result1 error)

func (*FakeWindowsDiskPartitioner) Invocations

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

func (*FakeWindowsDiskPartitioner) PartitionDisk

func (fake *FakeWindowsDiskPartitioner) PartitionDisk(arg1 string) (string, error)

func (*FakeWindowsDiskPartitioner) PartitionDiskArgsForCall

func (fake *FakeWindowsDiskPartitioner) PartitionDiskArgsForCall(i int) string

func (*FakeWindowsDiskPartitioner) PartitionDiskCallCount

func (fake *FakeWindowsDiskPartitioner) PartitionDiskCallCount() int

func (*FakeWindowsDiskPartitioner) PartitionDiskCalls

func (fake *FakeWindowsDiskPartitioner) PartitionDiskCalls(stub func(string) (string, error))

func (*FakeWindowsDiskPartitioner) PartitionDiskReturns

func (fake *FakeWindowsDiskPartitioner) PartitionDiskReturns(result1 string, result2 error)

func (*FakeWindowsDiskPartitioner) PartitionDiskReturnsOnCall

func (fake *FakeWindowsDiskPartitioner) PartitionDiskReturnsOnCall(i int, result1 string, result2 error)

type FakeWindowsDiskProtector

type FakeWindowsDiskProtector struct {
	CommandExistsStub func() bool

	ProtectPathStub func(string) error
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskProtector) CommandExists

func (fake *FakeWindowsDiskProtector) CommandExists() bool

func (*FakeWindowsDiskProtector) CommandExistsCallCount

func (fake *FakeWindowsDiskProtector) CommandExistsCallCount() int

func (*FakeWindowsDiskProtector) CommandExistsCalls

func (fake *FakeWindowsDiskProtector) CommandExistsCalls(stub func() bool)

func (*FakeWindowsDiskProtector) CommandExistsReturns

func (fake *FakeWindowsDiskProtector) CommandExistsReturns(result1 bool)

func (*FakeWindowsDiskProtector) CommandExistsReturnsOnCall

func (fake *FakeWindowsDiskProtector) CommandExistsReturnsOnCall(i int, result1 bool)

func (*FakeWindowsDiskProtector) Invocations

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

func (*FakeWindowsDiskProtector) ProtectPath

func (fake *FakeWindowsDiskProtector) ProtectPath(arg1 string) error

func (*FakeWindowsDiskProtector) ProtectPathArgsForCall

func (fake *FakeWindowsDiskProtector) ProtectPathArgsForCall(i int) string

func (*FakeWindowsDiskProtector) ProtectPathCallCount

func (fake *FakeWindowsDiskProtector) ProtectPathCallCount() int

func (*FakeWindowsDiskProtector) ProtectPathCalls

func (fake *FakeWindowsDiskProtector) ProtectPathCalls(stub func(string) error)

func (*FakeWindowsDiskProtector) ProtectPathReturns

func (fake *FakeWindowsDiskProtector) ProtectPathReturns(result1 error)

func (*FakeWindowsDiskProtector) ProtectPathReturnsOnCall

func (fake *FakeWindowsDiskProtector) ProtectPathReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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