Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.93.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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 no 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) GetSubscribedMaterials added in v1.45.6

func (_m *FanOut) GetSubscribedMaterials() []*sdk.InputMaterial

GetSubscribedMaterials provides a mock function with no fields

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 no fields

Jump to

Keyboard shortcuts

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