mocks

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateHandler

type CreateHandler struct {
	mock.Mock
}

CreateHandler is an autogenerated mock type for the CreateHandler type

func (*CreateHandler) ApplyRunExpectation added in v0.0.20

func (_m *CreateHandler) ApplyRunExpectation(e CreateHandlerRunExpectation)

func (*CreateHandler) ApplyRunExpectations added in v0.0.20

func (_m *CreateHandler) ApplyRunExpectations(expectations []CreateHandlerRunExpectation)

func (*CreateHandler) Run added in v0.0.20

func (_m *CreateHandler) Run(ctx context.Context, dryrun bool, p *handlers.CreateParams) error

Run provides a mock function with given fields: ctx, dryrun, p

type CreateHandlerRunArgs added in v0.0.20

type CreateHandlerRunArgs struct {
	Ctx            context.Context
	CtxAnything    bool
	Dryrun         bool
	DryrunAnything bool
	P              *handlers.CreateParams
	PAnything      bool
}

type CreateHandlerRunExpectation added in v0.0.20

type CreateHandlerRunExpectation struct {
	Args    CreateHandlerRunArgs
	Returns CreateHandlerRunReturns
}

type CreateHandlerRunReturns added in v0.0.20

type CreateHandlerRunReturns struct {
	Err error
}

Jump to

Keyboard shortcuts

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