mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: BSD-2-Clause Imports: 3 Imported by: 0

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 PkgWorkerBackend

type PkgWorkerBackend struct {
	CreateStub func(context.Context, pkg.CreateRequest) (*pkg.CreateResponse, error)

	ListStub func(context.Context) (*pkg.ListResponse, error)

	StopStub func(context.Context, pkg.StopRequest) (*pkg.StopResponse, error)
	// contains filtered or unexported fields
}

func (*PkgWorkerBackend) Create

func (*PkgWorkerBackend) CreateArgsForCall

func (fake *PkgWorkerBackend) CreateArgsForCall(i int) (context.Context, pkg.CreateRequest)

func (*PkgWorkerBackend) CreateCallCount

func (fake *PkgWorkerBackend) CreateCallCount() int

func (*PkgWorkerBackend) CreateCalls

func (fake *PkgWorkerBackend) CreateCalls(stub func(context.Context, pkg.CreateRequest) (*pkg.CreateResponse, error))

func (*PkgWorkerBackend) CreateReturns

func (fake *PkgWorkerBackend) CreateReturns(result1 *pkg.CreateResponse, result2 error)

func (*PkgWorkerBackend) CreateReturnsOnCall

func (fake *PkgWorkerBackend) CreateReturnsOnCall(i int, result1 *pkg.CreateResponse, result2 error)

func (*PkgWorkerBackend) Invocations

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

func (*PkgWorkerBackend) List

func (fake *PkgWorkerBackend) List(arg1 context.Context) (*pkg.ListResponse, error)

func (*PkgWorkerBackend) ListArgsForCall

func (fake *PkgWorkerBackend) ListArgsForCall(i int) context.Context

func (*PkgWorkerBackend) ListCallCount

func (fake *PkgWorkerBackend) ListCallCount() int

func (*PkgWorkerBackend) ListCalls

func (fake *PkgWorkerBackend) ListCalls(stub func(context.Context) (*pkg.ListResponse, error))

func (*PkgWorkerBackend) ListReturns

func (fake *PkgWorkerBackend) ListReturns(result1 *pkg.ListResponse, result2 error)

func (*PkgWorkerBackend) ListReturnsOnCall

func (fake *PkgWorkerBackend) ListReturnsOnCall(i int, result1 *pkg.ListResponse, result2 error)

func (*PkgWorkerBackend) Stop

func (fake *PkgWorkerBackend) Stop(arg1 context.Context, arg2 pkg.StopRequest) (*pkg.StopResponse, error)

func (*PkgWorkerBackend) StopArgsForCall

func (fake *PkgWorkerBackend) StopArgsForCall(i int) (context.Context, pkg.StopRequest)

func (*PkgWorkerBackend) StopCallCount

func (fake *PkgWorkerBackend) StopCallCount() int

func (*PkgWorkerBackend) StopCalls

func (fake *PkgWorkerBackend) StopCalls(stub func(context.Context, pkg.StopRequest) (*pkg.StopResponse, error))

func (*PkgWorkerBackend) StopReturns

func (fake *PkgWorkerBackend) StopReturns(result1 *pkg.StopResponse, result2 error)

func (*PkgWorkerBackend) StopReturnsOnCall

func (fake *PkgWorkerBackend) StopReturnsOnCall(i int, result1 *pkg.StopResponse, result2 error)

Jump to

Keyboard shortcuts

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