mocks

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 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 FanOut

type FanOut struct {
	mock.Mock
}

FanOut is an autogenerated mock type for the FanOut type

func NewFanOut

func NewFanOut(t mockConstructorTestingTNewFanOut) *FanOut

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

func (*FanOut) Attach

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

func (*FanOut) Describe

func (_m *FanOut) Describe() *sdk.IntegrationInfo

Describe provides a mock function with given fields:

func (*FanOut) Execute

func (_m *FanOut) Execute(ctx context.Context, req *sdk.ExecutionRequest) error

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

func (*FanOut) IsSubscribedTo

func (_m *FanOut) IsSubscribedTo(materialType string) bool

IsSubscribedTo provides a mock function with given fields: materialType

func (*FanOut) Register

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

func (*FanOut) String

func (_m *FanOut) String() string

String provides a mock function with given fields:

func (*FanOut) ValidateAttachmentRequest

func (_m *FanOut) ValidateAttachmentRequest(jsonPayload []byte) error

ValidateAttachmentRequest provides a mock function with given fields: jsonPayload

func (*FanOut) ValidateRegistrationRequest

func (_m *FanOut) ValidateRegistrationRequest(jsonPayload []byte) error

ValidateRegistrationRequest provides a mock function with given fields: jsonPayload

type FanOutPlugin

type FanOutPlugin struct {
	mock.Mock
}

FanOutPlugin is an autogenerated mock type for the FanOutPlugin type

func NewFanOutPlugin

func NewFanOutPlugin(t mockConstructorTestingTNewFanOutPlugin) *FanOutPlugin

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

func (*FanOutPlugin) Attach

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

func (*FanOutPlugin) Execute

func (_m *FanOutPlugin) Execute(ctx context.Context, req *sdk.ExecutionRequest) error

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

func (*FanOutPlugin) Register

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

Jump to

Keyboard shortcuts

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