mocks

package
v1.0.0-alpha-7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func (*Handler) Handle

func (_m *Handler) Handle(ctx context.Context, in event.Event) (*event.Event, error)

Handle provides a mock function with given fields: ctx, in

type Middleware

type Middleware struct {
	mock.Mock
}

Middleware is an autogenerated mock type for the Middleware type

func (*Middleware) After

func (_m *Middleware) After(ctx context.Context, in event.Event, out *event.Event, err error) (context.Context, error)

After provides a mock function with given fields: ctx, in, out, err

func (*Middleware) AfterAll

func (_m *Middleware) AfterAll(ctx context.Context, inout []*cloudevents.InOut) (context.Context, error)

AfterAll provides a mock function with given fields: ctx, inout

func (*Middleware) Before

func (_m *Middleware) Before(ctx context.Context, in *event.Event) (context.Context, error)

Before provides a mock function with given fields: ctx, in

func (*Middleware) BeforeAll

func (_m *Middleware) BeforeAll(ctx context.Context, inout []*cloudevents.InOut) (context.Context, error)

BeforeAll provides a mock function with given fields: ctx, inout

Jump to

Keyboard shortcuts

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