mocks

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

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 FakeGit

type FakeGit struct {
	DeleteFileStub func(context.Context, string) error

	ListFilesStub func(context.Context, string) ([]string, error)

	PullStub func(context.Context) error

	ReadFileStub func(context.Context, string) ([]byte, error)

	StatusStub func(context.Context) (git.Status, error)

	WriteFileStub func(context.Context, string, []byte) error
	// contains filtered or unexported fields
}

func (*FakeGit) DeleteFile

func (fake *FakeGit) DeleteFile(arg1 context.Context, arg2 string) error

func (*FakeGit) DeleteFileArgsForCall

func (fake *FakeGit) DeleteFileArgsForCall(i int) (context.Context, string)

func (*FakeGit) DeleteFileCallCount

func (fake *FakeGit) DeleteFileCallCount() int

func (*FakeGit) DeleteFileCalls

func (fake *FakeGit) DeleteFileCalls(stub func(context.Context, string) error)

func (*FakeGit) DeleteFileReturns

func (fake *FakeGit) DeleteFileReturns(result1 error)

func (*FakeGit) DeleteFileReturnsOnCall

func (fake *FakeGit) DeleteFileReturnsOnCall(i int, result1 error)

func (*FakeGit) Invocations

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

func (*FakeGit) ListFiles

func (fake *FakeGit) ListFiles(arg1 context.Context, arg2 string) ([]string, error)

func (*FakeGit) ListFilesArgsForCall

func (fake *FakeGit) ListFilesArgsForCall(i int) (context.Context, string)

func (*FakeGit) ListFilesCallCount

func (fake *FakeGit) ListFilesCallCount() int

func (*FakeGit) ListFilesCalls

func (fake *FakeGit) ListFilesCalls(stub func(context.Context, string) ([]string, error))

func (*FakeGit) ListFilesReturns

func (fake *FakeGit) ListFilesReturns(result1 []string, result2 error)

func (*FakeGit) ListFilesReturnsOnCall

func (fake *FakeGit) ListFilesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeGit) Pull

func (fake *FakeGit) Pull(arg1 context.Context) error

func (*FakeGit) PullArgsForCall

func (fake *FakeGit) PullArgsForCall(i int) context.Context

func (*FakeGit) PullCallCount

func (fake *FakeGit) PullCallCount() int

func (*FakeGit) PullCalls

func (fake *FakeGit) PullCalls(stub func(context.Context) error)

func (*FakeGit) PullReturns

func (fake *FakeGit) PullReturns(result1 error)

func (*FakeGit) PullReturnsOnCall

func (fake *FakeGit) PullReturnsOnCall(i int, result1 error)

func (*FakeGit) ReadFile

func (fake *FakeGit) ReadFile(arg1 context.Context, arg2 string) ([]byte, error)

func (*FakeGit) ReadFileArgsForCall

func (fake *FakeGit) ReadFileArgsForCall(i int) (context.Context, string)

func (*FakeGit) ReadFileCallCount

func (fake *FakeGit) ReadFileCallCount() int

func (*FakeGit) ReadFileCalls

func (fake *FakeGit) ReadFileCalls(stub func(context.Context, string) ([]byte, error))

func (*FakeGit) ReadFileReturns

func (fake *FakeGit) ReadFileReturns(result1 []byte, result2 error)

func (*FakeGit) ReadFileReturnsOnCall

func (fake *FakeGit) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeGit) Status

func (fake *FakeGit) Status(arg1 context.Context) (git.Status, error)

func (*FakeGit) StatusArgsForCall

func (fake *FakeGit) StatusArgsForCall(i int) context.Context

func (*FakeGit) StatusCallCount

func (fake *FakeGit) StatusCallCount() int

func (*FakeGit) StatusCalls

func (fake *FakeGit) StatusCalls(stub func(context.Context) (git.Status, error))

func (*FakeGit) StatusReturns

func (fake *FakeGit) StatusReturns(result1 git.Status, result2 error)

func (*FakeGit) StatusReturnsOnCall

func (fake *FakeGit) StatusReturnsOnCall(i int, result1 git.Status, result2 error)

func (*FakeGit) WriteFile

func (fake *FakeGit) WriteFile(arg1 context.Context, arg2 string, arg3 []byte) error

func (*FakeGit) WriteFileArgsForCall

func (fake *FakeGit) WriteFileArgsForCall(i int) (context.Context, string, []byte)

func (*FakeGit) WriteFileCallCount

func (fake *FakeGit) WriteFileCallCount() int

func (*FakeGit) WriteFileCalls

func (fake *FakeGit) WriteFileCalls(stub func(context.Context, string, []byte) error)

func (*FakeGit) WriteFileReturns

func (fake *FakeGit) WriteFileReturns(result1 error)

func (*FakeGit) WriteFileReturnsOnCall

func (fake *FakeGit) WriteFileReturnsOnCall(i int, result1 error)

type FakePuller added in v0.5.5

type FakePuller struct {
	RunStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakePuller) Invocations added in v0.5.5

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

func (*FakePuller) Run added in v0.5.5

func (fake *FakePuller) Run(arg1 context.Context) error

func (*FakePuller) RunArgsForCall added in v0.5.5

func (fake *FakePuller) RunArgsForCall(i int) context.Context

func (*FakePuller) RunCallCount added in v0.5.5

func (fake *FakePuller) RunCallCount() int

func (*FakePuller) RunCalls added in v0.5.5

func (fake *FakePuller) RunCalls(stub func(context.Context) error)

func (*FakePuller) RunReturns added in v0.5.5

func (fake *FakePuller) RunReturns(result1 error)

func (*FakePuller) RunReturnsOnCall added in v0.5.5

func (fake *FakePuller) RunReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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