binaryfakes

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FakeBinaryImplementation

type FakeBinaryImplementation struct {
	ArchStub func() string

	LinkModeStub func() (binary.LinkMode, error)

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

func (*FakeBinaryImplementation) Arch

func (fake *FakeBinaryImplementation) Arch() string

func (*FakeBinaryImplementation) ArchCallCount

func (fake *FakeBinaryImplementation) ArchCallCount() int

func (*FakeBinaryImplementation) ArchCalls

func (fake *FakeBinaryImplementation) ArchCalls(stub func() string)

func (*FakeBinaryImplementation) ArchReturns

func (fake *FakeBinaryImplementation) ArchReturns(result1 string)

func (*FakeBinaryImplementation) ArchReturnsOnCall

func (fake *FakeBinaryImplementation) ArchReturnsOnCall(i int, result1 string)

func (*FakeBinaryImplementation) Invocations

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

func (*FakeBinaryImplementation) LinkMode added in v0.15.0

func (fake *FakeBinaryImplementation) LinkMode() (binary.LinkMode, error)

func (*FakeBinaryImplementation) LinkModeCallCount added in v0.15.0

func (fake *FakeBinaryImplementation) LinkModeCallCount() int

func (*FakeBinaryImplementation) LinkModeCalls added in v0.15.0

func (fake *FakeBinaryImplementation) LinkModeCalls(stub func() (binary.LinkMode, error))

func (*FakeBinaryImplementation) LinkModeReturns added in v0.15.0

func (fake *FakeBinaryImplementation) LinkModeReturns(result1 binary.LinkMode, result2 error)

func (*FakeBinaryImplementation) LinkModeReturnsOnCall added in v0.15.0

func (fake *FakeBinaryImplementation) LinkModeReturnsOnCall(i int, result1 binary.LinkMode, result2 error)

func (*FakeBinaryImplementation) OS

func (fake *FakeBinaryImplementation) OS() string

func (*FakeBinaryImplementation) OSCallCount

func (fake *FakeBinaryImplementation) OSCallCount() int

func (*FakeBinaryImplementation) OSCalls

func (fake *FakeBinaryImplementation) OSCalls(stub func() string)

func (*FakeBinaryImplementation) OSReturns

func (fake *FakeBinaryImplementation) OSReturns(result1 string)

func (*FakeBinaryImplementation) OSReturnsOnCall

func (fake *FakeBinaryImplementation) OSReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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