mockevents

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubscriptionManager

type SubscriptionManager struct {
	mock.Mock
}

SubscriptionManager is an autogenerated mock type for the SubscriptionManager type

func NewSubscriptionManager added in v0.9.18

func NewSubscriptionManager(t mockConstructorTestingTNewSubscriptionManager) *SubscriptionManager

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

func (*SubscriptionManager) AddStream

AddStream provides a mock function with given fields: res, req, params

func (*SubscriptionManager) AddSubscription

AddSubscription provides a mock function with given fields: res, req, params

func (*SubscriptionManager) Close

func (_m *SubscriptionManager) Close()

Close provides a mock function with given fields:

func (*SubscriptionManager) DeleteStream

func (_m *SubscriptionManager) DeleteStream(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*map[string]string, *util.RestError)

DeleteStream provides a mock function with given fields: res, req, params

func (*SubscriptionManager) DeleteSubscription

func (_m *SubscriptionManager) DeleteSubscription(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*map[string]string, *util.RestError)

DeleteSubscription provides a mock function with given fields: res, req, params

func (*SubscriptionManager) Init

func (_m *SubscriptionManager) Init(mocked ...kvstore.KVStore) error

Init provides a mock function with given fields: mocked

func (*SubscriptionManager) ResetSubscription

func (_m *SubscriptionManager) ResetSubscription(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*map[string]string, *util.RestError)

ResetSubscription provides a mock function with given fields: res, req, params

func (*SubscriptionManager) ResumeStream

func (_m *SubscriptionManager) ResumeStream(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*map[string]string, *util.RestError)

ResumeStream provides a mock function with given fields: res, req, params

func (*SubscriptionManager) StreamByID

StreamByID provides a mock function with given fields: res, req, params

func (*SubscriptionManager) Streams

Streams provides a mock function with given fields: res, req, params

func (*SubscriptionManager) SubscriptionByID

func (_m *SubscriptionManager) SubscriptionByID(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*api.SubscriptionInfo, *util.RestError)

SubscriptionByID provides a mock function with given fields: res, req, params

func (*SubscriptionManager) Subscriptions

func (_m *SubscriptionManager) Subscriptions(res http.ResponseWriter, req *http.Request, params httprouter.Params) []*api.SubscriptionInfo

Subscriptions provides a mock function with given fields: res, req, params

func (*SubscriptionManager) SuspendStream

func (_m *SubscriptionManager) SuspendStream(res http.ResponseWriter, req *http.Request, params httprouter.Params) (*map[string]string, *util.RestError)

SuspendStream provides a mock function with given fields: res, req, params

func (*SubscriptionManager) UpdateStream

UpdateStream provides a mock function with given fields: res, req, params

Jump to

Keyboard shortcuts

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