pkgfakes

package
v6.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 3 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeArchiveReader

type FakeArchiveReader struct {
	ReadStub func(manifest.PackageRef, string) (*pkg.Package, error)
	// contains filtered or unexported fields
}

func (*FakeArchiveReader) Invocations

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

func (*FakeArchiveReader) Read

func (fake *FakeArchiveReader) Read(arg1 manifest.PackageRef, arg2 string) (*pkg.Package, error)

func (*FakeArchiveReader) ReadArgsForCall

func (fake *FakeArchiveReader) ReadArgsForCall(i int) (manifest.PackageRef, string)

func (*FakeArchiveReader) ReadCallCount

func (fake *FakeArchiveReader) ReadCallCount() int

func (*FakeArchiveReader) ReadCalls

func (fake *FakeArchiveReader) ReadCalls(stub func(manifest.PackageRef, string) (*pkg.Package, error))

func (*FakeArchiveReader) ReadReturns

func (fake *FakeArchiveReader) ReadReturns(result1 *pkg.Package, result2 error)

func (*FakeArchiveReader) ReadReturnsOnCall

func (fake *FakeArchiveReader) ReadReturnsOnCall(i int, result1 *pkg.Package, result2 error)

type FakeCompilable

type FakeCompilable struct {
	ArchiveDigestStub func() string

	ArchivePathStub func() string

	DepsStub func() []pkg.Compilable

	FingerprintStub func() string

	IsCompiledStub func() bool

	NameStub func() string
	// contains filtered or unexported fields
}

func (*FakeCompilable) ArchiveDigest

func (fake *FakeCompilable) ArchiveDigest() string

func (*FakeCompilable) ArchiveDigestCallCount

func (fake *FakeCompilable) ArchiveDigestCallCount() int

func (*FakeCompilable) ArchiveDigestCalls

func (fake *FakeCompilable) ArchiveDigestCalls(stub func() string)

func (*FakeCompilable) ArchiveDigestReturns

func (fake *FakeCompilable) ArchiveDigestReturns(result1 string)

func (*FakeCompilable) ArchiveDigestReturnsOnCall

func (fake *FakeCompilable) ArchiveDigestReturnsOnCall(i int, result1 string)

func (*FakeCompilable) ArchivePath

func (fake *FakeCompilable) ArchivePath() string

func (*FakeCompilable) ArchivePathCallCount

func (fake *FakeCompilable) ArchivePathCallCount() int

func (*FakeCompilable) ArchivePathCalls

func (fake *FakeCompilable) ArchivePathCalls(stub func() string)

func (*FakeCompilable) ArchivePathReturns

func (fake *FakeCompilable) ArchivePathReturns(result1 string)

func (*FakeCompilable) ArchivePathReturnsOnCall

func (fake *FakeCompilable) ArchivePathReturnsOnCall(i int, result1 string)

func (*FakeCompilable) Deps

func (fake *FakeCompilable) Deps() []pkg.Compilable

func (*FakeCompilable) DepsCallCount

func (fake *FakeCompilable) DepsCallCount() int

func (*FakeCompilable) DepsCalls

func (fake *FakeCompilable) DepsCalls(stub func() []pkg.Compilable)

func (*FakeCompilable) DepsReturns

func (fake *FakeCompilable) DepsReturns(result1 []pkg.Compilable)

func (*FakeCompilable) DepsReturnsOnCall

func (fake *FakeCompilable) DepsReturnsOnCall(i int, result1 []pkg.Compilable)

func (*FakeCompilable) Fingerprint

func (fake *FakeCompilable) Fingerprint() string

func (*FakeCompilable) FingerprintCallCount

func (fake *FakeCompilable) FingerprintCallCount() int

func (*FakeCompilable) FingerprintCalls

func (fake *FakeCompilable) FingerprintCalls(stub func() string)

func (*FakeCompilable) FingerprintReturns

func (fake *FakeCompilable) FingerprintReturns(result1 string)

func (*FakeCompilable) FingerprintReturnsOnCall

func (fake *FakeCompilable) FingerprintReturnsOnCall(i int, result1 string)

func (*FakeCompilable) Invocations

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

func (*FakeCompilable) IsCompiled

func (fake *FakeCompilable) IsCompiled() bool

func (*FakeCompilable) IsCompiledCallCount

func (fake *FakeCompilable) IsCompiledCallCount() int

func (*FakeCompilable) IsCompiledCalls

func (fake *FakeCompilable) IsCompiledCalls(stub func() bool)

func (*FakeCompilable) IsCompiledReturns

func (fake *FakeCompilable) IsCompiledReturns(result1 bool)

func (*FakeCompilable) IsCompiledReturnsOnCall

func (fake *FakeCompilable) IsCompiledReturnsOnCall(i int, result1 bool)

func (*FakeCompilable) Name

func (fake *FakeCompilable) Name() string

func (*FakeCompilable) NameCallCount

func (fake *FakeCompilable) NameCallCount() int

func (*FakeCompilable) NameCalls

func (fake *FakeCompilable) NameCalls(stub func() string)

func (*FakeCompilable) NameReturns

func (fake *FakeCompilable) NameReturns(result1 string)

func (*FakeCompilable) NameReturnsOnCall

func (fake *FakeCompilable) NameReturnsOnCall(i int, result1 string)

type FakeDirReader

type FakeDirReader struct {
	ReadStub func(string) (*pkg.Package, error)
	// contains filtered or unexported fields
}

func (*FakeDirReader) Invocations

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

func (*FakeDirReader) Read

func (fake *FakeDirReader) Read(arg1 string) (*pkg.Package, error)

func (*FakeDirReader) ReadArgsForCall

func (fake *FakeDirReader) ReadArgsForCall(i int) string

func (*FakeDirReader) ReadCallCount

func (fake *FakeDirReader) ReadCallCount() int

func (*FakeDirReader) ReadCalls

func (fake *FakeDirReader) ReadCalls(stub func(string) (*pkg.Package, error))

func (*FakeDirReader) ReadReturns

func (fake *FakeDirReader) ReadReturns(result1 *pkg.Package, result2 error)

func (*FakeDirReader) ReadReturnsOnCall

func (fake *FakeDirReader) ReadReturnsOnCall(i int, result1 *pkg.Package, result2 error)

Jump to

Keyboard shortcuts

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