apiclientmocks

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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 FFTMClient

type FFTMClient struct {
	mock.Mock
}

FFTMClient is an autogenerated mock type for the FFTMClient type

func NewFFTMClient

func NewFFTMClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *FFTMClient

NewFFTMClient creates a new instance of FFTMClient. 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 (*FFTMClient) DeleteEventStream

func (_m *FFTMClient) DeleteEventStream(ctx context.Context, eventStreamID string) error

DeleteEventStream provides a mock function with given fields: ctx, eventStreamID

func (*FFTMClient) DeleteEventStreamsByName

func (_m *FFTMClient) DeleteEventStreamsByName(ctx context.Context, nameRegex string) error

DeleteEventStreamsByName provides a mock function with given fields: ctx, nameRegex

func (*FFTMClient) DeleteListener

func (_m *FFTMClient) DeleteListener(ctx context.Context, eventStreamID string, listenerID string) error

DeleteListener provides a mock function with given fields: ctx, eventStreamID, listenerID

func (*FFTMClient) DeleteListenersByName

func (_m *FFTMClient) DeleteListenersByName(ctx context.Context, eventStreamID string, nameRegex string) error

DeleteListenersByName provides a mock function with given fields: ctx, eventStreamID, nameRegex

func (*FFTMClient) GetEventStreams

func (_m *FFTMClient) GetEventStreams(ctx context.Context) ([]apitypes.EventStream, error)

GetEventStreams provides a mock function with given fields: ctx

func (*FFTMClient) GetListeners

func (_m *FFTMClient) GetListeners(ctx context.Context, eventStreamID string) ([]apitypes.Listener, error)

GetListeners provides a mock function with given fields: ctx, eventStreamID

Jump to

Keyboard shortcuts

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