mock

package
v0.0.0-...-2ba808a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvent

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

MockEvent is a mock of Event interface.

func NewMockEvent

func NewMockEvent(ctrl *gomock.Controller) *MockEvent

NewMockEvent creates a new mock instance.

func (*MockEvent) BuildMessage

func (m *MockEvent) BuildMessage(payload map[string]interface{}) string

BuildMessage mocks base method.

func (*MockEvent) Channels

func (m *MockEvent) Channels() []event.Channel

Channels mocks base method.

func (*MockEvent) EXPECT

func (m *MockEvent) EXPECT() *MockEventMockRecorder

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

func (*MockEvent) Env

func (m *MockEvent) Env() string

Env mocks base method.

func (*MockEvent) Name

func (m *MockEvent) Name() event.Name

Name mocks base method.

type MockEventMockRecorder

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

MockEventMockRecorder is the mock recorder for MockEvent.

func (*MockEventMockRecorder) BuildMessage

func (mr *MockEventMockRecorder) BuildMessage(payload interface{}) *gomock.Call

BuildMessage indicates an expected call of BuildMessage.

func (*MockEventMockRecorder) Channels

func (mr *MockEventMockRecorder) Channels() *gomock.Call

Channels indicates an expected call of Channels.

func (*MockEventMockRecorder) Env

func (mr *MockEventMockRecorder) Env() *gomock.Call

Env indicates an expected call of Env.

func (*MockEventMockRecorder) Name

func (mr *MockEventMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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