mocks

package
v1.2.2-dev.105 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntervalActionLoader

type IntervalActionLoader struct {
	mock.Mock
}

IntervalActionLoader is an autogenerated mock type for the IntervalActionLoader type

func (*IntervalActionLoader) IntervalActionById

func (_m *IntervalActionLoader) IntervalActionById(id string) (models.IntervalAction, error)

IntervalActionById provides a mock function with given fields: id

func (*IntervalActionLoader) IntervalActionByName

func (_m *IntervalActionLoader) IntervalActionByName(name string) (models.IntervalAction, error)

IntervalActionByName provides a mock function with given fields: name

func (*IntervalActionLoader) IntervalActions

func (_m *IntervalActionLoader) IntervalActions() ([]models.IntervalAction, error)

IntervalActions provides a mock function with given fields:

func (*IntervalActionLoader) IntervalActionsWithLimit

func (_m *IntervalActionLoader) IntervalActionsWithLimit(limit int) ([]models.IntervalAction, error)

IntervalActionsWithLimit provides a mock function with given fields: limit

func (*IntervalActionLoader) IntervalById

func (_m *IntervalActionLoader) IntervalById(id string) (models.Interval, error)

IntervalById provides a mock function with given fields: id

func (*IntervalActionLoader) IntervalByName

func (_m *IntervalActionLoader) IntervalByName(name string) (models.Interval, error)

IntervalByName provides a mock function with given fields: name

func (*IntervalActionLoader) Intervals

func (_m *IntervalActionLoader) Intervals() ([]models.Interval, error)

Intervals provides a mock function with given fields:

func (*IntervalActionLoader) IntervalsWithLimit

func (_m *IntervalActionLoader) IntervalsWithLimit(limit int) ([]models.Interval, error)

IntervalsWithLimit provides a mock function with given fields: limit

type IntervalActionWriter

type IntervalActionWriter struct {
	mock.Mock
}

IntervalActionWriter is an autogenerated mock type for the IntervalActionWriter type

func (*IntervalActionWriter) AddIntervalAction

func (_m *IntervalActionWriter) AddIntervalAction(interval models.IntervalAction) (string, error)

AddIntervalAction provides a mock function with given fields: interval

func (*IntervalActionWriter) IntervalActionById

func (_m *IntervalActionWriter) IntervalActionById(id string) (models.IntervalAction, error)

IntervalActionById provides a mock function with given fields: id

func (*IntervalActionWriter) IntervalActionByName

func (_m *IntervalActionWriter) IntervalActionByName(name string) (models.IntervalAction, error)

IntervalActionByName provides a mock function with given fields: name

func (*IntervalActionWriter) IntervalActions

func (_m *IntervalActionWriter) IntervalActions() ([]models.IntervalAction, error)

IntervalActions provides a mock function with given fields:

func (*IntervalActionWriter) IntervalActionsWithLimit

func (_m *IntervalActionWriter) IntervalActionsWithLimit(limit int) ([]models.IntervalAction, error)

IntervalActionsWithLimit provides a mock function with given fields: limit

func (*IntervalActionWriter) IntervalById

func (_m *IntervalActionWriter) IntervalById(id string) (models.Interval, error)

IntervalById provides a mock function with given fields: id

func (*IntervalActionWriter) IntervalByName

func (_m *IntervalActionWriter) IntervalByName(name string) (models.Interval, error)

IntervalByName provides a mock function with given fields: name

func (*IntervalActionWriter) Intervals

func (_m *IntervalActionWriter) Intervals() ([]models.Interval, error)

Intervals provides a mock function with given fields:

func (*IntervalActionWriter) IntervalsWithLimit

func (_m *IntervalActionWriter) IntervalsWithLimit(limit int) ([]models.Interval, error)

IntervalsWithLimit provides a mock function with given fields: limit

type SchedulerQueueWriter

type SchedulerQueueWriter struct {
	mock.Mock
}

SchedulerQueueWriter is an autogenerated mock type for the SchedulerQueueWriter type

func (*SchedulerQueueWriter) AddIntervalActionToQueue

func (_m *SchedulerQueueWriter) AddIntervalActionToQueue(interval models.IntervalAction) error

AddIntervalActionToQueue provides a mock function with given fields: interval

func (*SchedulerQueueWriter) QueryIntervalActionByID

func (_m *SchedulerQueueWriter) QueryIntervalActionByID(intervalActionId string) (models.IntervalAction, error)

QueryIntervalActionByID provides a mock function with given fields: intervalActionId

func (*SchedulerQueueWriter) QueryIntervalActionByName

func (_m *SchedulerQueueWriter) QueryIntervalActionByName(intervalActionName string) (models.IntervalAction, error)

QueryIntervalActionByName provides a mock function with given fields: intervalActionName

Jump to

Keyboard shortcuts

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