mocks

package
v3.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatekeeper

type Gatekeeper struct {
	mock.Mock
}

Gatekeeper is an autogenerated mock type for the Gatekeeper type

func NewGatekeeper added in v3.4.8

func NewGatekeeper(t mockConstructorTestingTNewGatekeeper) *Gatekeeper

NewGatekeeper creates a new instance of Gatekeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Gatekeeper) Context

func (_m *Gatekeeper) Context(ctx context.Context) (context.Context, error)

Context provides a mock function with given fields: ctx

func (*Gatekeeper) ContextWithRequest added in v3.3.0

func (_m *Gatekeeper) ContextWithRequest(ctx context.Context, req interface{}) (context.Context, error)

ContextWithRequest provides a mock function with given fields: ctx, req

func (*Gatekeeper) StreamServerInterceptor

func (_m *Gatekeeper) StreamServerInterceptor() grpc.StreamServerInterceptor

StreamServerInterceptor provides a mock function with given fields:

func (*Gatekeeper) UnaryServerInterceptor

func (_m *Gatekeeper) UnaryServerInterceptor() grpc.UnaryServerInterceptor

UnaryServerInterceptor provides a mock function with given fields:

Jump to

Keyboard shortcuts

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