fakes

package
v2.160.1+incompatible Latest Latest
Warning

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

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

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(diskNumber, partitionNumber string) error
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskFormatter) Format

func (fake *FakeWindowsDiskFormatter) Format(diskNumber string, partitionNumber string) error

func (*FakeWindowsDiskFormatter) FormatArgsForCall

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

func (*FakeWindowsDiskFormatter) FormatCallCount

func (fake *FakeWindowsDiskFormatter) FormatCallCount() int

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 {
	LinkTargetStub func(location string) (target string, err error)

	LinkStub func(location, target string) error
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskLinker) Invocations

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

func (*FakeWindowsDiskLinker) LinkArgsForCall

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

func (*FakeWindowsDiskLinker) LinkCallCount

func (fake *FakeWindowsDiskLinker) LinkCallCount() int

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(location string) (target string, err error)

func (*FakeWindowsDiskLinker) LinkTargetArgsForCall

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

func (*FakeWindowsDiskLinker) LinkTargetCallCount

func (fake *FakeWindowsDiskLinker) LinkTargetCallCount() int

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 {
	GetCountOnDiskStub func(diskNumber string) (string, error)

	GetFreeSpaceOnDiskStub func(diskNumber string) (int, error)

	InitializeDiskStub func(diskNumber string) error

	PartitionDiskStub func(diskNumber string) (string, error)

	AssignDriveLetterStub func(diskNumber, partitionNumber string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeWindowsDiskPartitioner) AssignDriveLetter

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetter(diskNumber string, partitionNumber string) (string, error)

func (*FakeWindowsDiskPartitioner) AssignDriveLetterArgsForCall

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

func (*FakeWindowsDiskPartitioner) AssignDriveLetterCallCount

func (fake *FakeWindowsDiskPartitioner) AssignDriveLetterCallCount() int

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(diskNumber string) (string, error)

func (*FakeWindowsDiskPartitioner) GetCountOnDiskArgsForCall

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

func (*FakeWindowsDiskPartitioner) GetCountOnDiskCallCount

func (fake *FakeWindowsDiskPartitioner) GetCountOnDiskCallCount() int

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(diskNumber string) (int, error)

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskArgsForCall

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

func (*FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCallCount

func (fake *FakeWindowsDiskPartitioner) GetFreeSpaceOnDiskCallCount() int

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(diskNumber string) error

func (*FakeWindowsDiskPartitioner) InitializeDiskArgsForCall

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

func (*FakeWindowsDiskPartitioner) InitializeDiskCallCount

func (fake *FakeWindowsDiskPartitioner) InitializeDiskCallCount() int

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(diskNumber string) (string, error)

func (*FakeWindowsDiskPartitioner) PartitionDiskArgsForCall

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

func (*FakeWindowsDiskPartitioner) PartitionDiskCallCount

func (fake *FakeWindowsDiskPartitioner) PartitionDiskCallCount() int

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(path 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) 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(path string) error

func (*FakeWindowsDiskProtector) ProtectPathArgsForCall

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

func (*FakeWindowsDiskProtector) ProtectPathCallCount

func (fake *FakeWindowsDiskProtector) ProtectPathCallCount() int

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