mock_extension

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnvironment

type MockEnvironment struct {
	// contains filtered or unexported fields
}

MockEnvironment is a mock of Environment interface

func NewMockEnvironment

func NewMockEnvironment(ctrl *gomock.Controller) *MockEnvironment

NewMockEnvironment creates a new mock instance

func (*MockEnvironment) Clone

Clone mocks base method

func (*MockEnvironment) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEnvironment) HandleEvent

func (_m *MockEnvironment) HandleEvent(event string, context map[string]interface{}) error

HandleEvent mocks base method

func (*MockEnvironment) IsEventHandled

func (_m *MockEnvironment) IsEventHandled(event string, context map[string]interface{}) bool

IsEventHandled mocks base method

func (*MockEnvironment) LoadExtensionsForPath

func (_m *MockEnvironment) LoadExtensionsForPath(extensions []*schema.Extension, timeLimit time.Duration, timeLimits []*schema.PathEventTimeLimit, path string) error

LoadExtensionsForPath mocks base method

type MockEnvironmentMockRecorder

type MockEnvironmentMockRecorder struct {
	// contains filtered or unexported fields
}

MockEnvironmentMockRecorder is the mock recorder for MockEnvironment

func (*MockEnvironmentMockRecorder) Clone

func (_mr *MockEnvironmentMockRecorder) Clone() *gomock.Call

Clone indicates an expected call of Clone

func (*MockEnvironmentMockRecorder) HandleEvent

func (_mr *MockEnvironmentMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent

func (*MockEnvironmentMockRecorder) IsEventHandled

func (_mr *MockEnvironmentMockRecorder) IsEventHandled(arg0, arg1 interface{}) *gomock.Call

IsEventHandled indicates an expected call of IsEventHandled

func (*MockEnvironmentMockRecorder) LoadExtensionsForPath

func (_mr *MockEnvironmentMockRecorder) LoadExtensionsForPath(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LoadExtensionsForPath indicates an expected call of LoadExtensionsForPath

Jump to

Keyboard shortcuts

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