Help us shape the future of Go! Take the 2026 Go Developer Survey

fakes

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCmdStarter

type FakeCmdStarter struct {
	CalledWith        []callToStartMethod
	ToReturn          []startMethodStub
	TotalCallsToStart int
}

func NewFakeCmdStarter

func NewFakeCmdStarter() *FakeCmdStarter

func (*FakeCmdStarter) Start

func (s *FakeCmdStarter) Start(reporter internal.Reporter, executable string, args ...string) (*gexec.Session, error)

type FakeRedactor

type FakeRedactor struct {
	RedactStub func(toRedact string) string
	// contains filtered or unexported fields
}

func (*FakeRedactor) Redact

func (fake *FakeRedactor) Redact(toRedact string) string

func (*FakeRedactor) RedactArgsForCall

func (fake *FakeRedactor) RedactArgsForCall(i int) string

func (*FakeRedactor) RedactCallCount

func (fake *FakeRedactor) RedactCallCount() int

func (*FakeRedactor) RedactReturns

func (fake *FakeRedactor) RedactReturns(result1 string)

Jump to

Keyboard shortcuts

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