mocks

package
v1.2.2-dev.100 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 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 DBClient

type DBClient struct {
	mock.Mock
}

DBClient is an autogenerated mock type for the DBClient type

func (*DBClient) AddInterval

func (_m *DBClient) AddInterval(interval models.Interval) (string, error)

AddInterval provides a mock function with given fields: interval

func (*DBClient) AddIntervalAction

func (_m *DBClient) AddIntervalAction(intervalAction models.IntervalAction) (string, error)

AddIntervalAction provides a mock function with given fields: intervalAction

func (*DBClient) CloseSession

func (_m *DBClient) CloseSession()

CloseSession provides a mock function with given fields:

func (*DBClient) DeleteIntervalActionById

func (_m *DBClient) DeleteIntervalActionById(id string) error

DeleteIntervalActionById provides a mock function with given fields: id

func (*DBClient) DeleteIntervalById

func (_m *DBClient) DeleteIntervalById(id string) error

DeleteIntervalById provides a mock function with given fields: id

func (*DBClient) IntervalActionById

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

IntervalActionById provides a mock function with given fields: id

func (*DBClient) IntervalActionByName

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

IntervalActionByName provides a mock function with given fields: name

func (*DBClient) IntervalActions

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

IntervalActions provides a mock function with given fields:

func (*DBClient) IntervalActionsByIntervalName

func (_m *DBClient) IntervalActionsByIntervalName(name string) ([]models.IntervalAction, error)

IntervalActionsByIntervalName provides a mock function with given fields: name

func (*DBClient) IntervalActionsByTarget

func (_m *DBClient) IntervalActionsByTarget(name string) ([]models.IntervalAction, error)

IntervalActionsByTarget provides a mock function with given fields: name

func (*DBClient) IntervalActionsWithLimit

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

IntervalActionsWithLimit provides a mock function with given fields: limit

func (*DBClient) IntervalById

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

IntervalById provides a mock function with given fields: id

func (*DBClient) IntervalByName

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

IntervalByName provides a mock function with given fields: name

func (*DBClient) Intervals

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

Intervals provides a mock function with given fields:

func (*DBClient) IntervalsWithLimit

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

IntervalsWithLimit provides a mock function with given fields: limit

func (*DBClient) ScrubAllIntervalActions

func (_m *DBClient) ScrubAllIntervalActions() (int, error)

ScrubAllIntervalActions provides a mock function with given fields:

func (*DBClient) ScrubAllIntervals

func (_m *DBClient) ScrubAllIntervals() (int, error)

ScrubAllIntervals provides a mock function with given fields:

func (*DBClient) UpdateInterval

func (_m *DBClient) UpdateInterval(interval models.Interval) error

UpdateInterval provides a mock function with given fields: interval

func (*DBClient) UpdateIntervalAction

func (_m *DBClient) UpdateIntervalAction(intervalAction models.IntervalAction) error

UpdateIntervalAction provides a mock function with given fields: intervalAction

type SchedulerQueueClient

type SchedulerQueueClient struct {
	mock.Mock
}

SchedulerQueueClient is an autogenerated mock type for the SchedulerQueueClient type

func (*SchedulerQueueClient) AddIntervalActionToQueue

func (_m *SchedulerQueueClient) AddIntervalActionToQueue(intervalAction models.IntervalAction) error

AddIntervalActionToQueue provides a mock function with given fields: intervalAction

func (*SchedulerQueueClient) AddIntervalToQueue

func (_m *SchedulerQueueClient) AddIntervalToQueue(interval models.Interval) error

AddIntervalToQueue provides a mock function with given fields: interval

func (*SchedulerQueueClient) Connect

func (_m *SchedulerQueueClient) Connect() (string, error)

Connect provides a mock function with given fields:

func (*SchedulerQueueClient) QueryIntervalActionByID

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

QueryIntervalActionByID provides a mock function with given fields: intervalActionId

func (*SchedulerQueueClient) QueryIntervalActionByName

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

QueryIntervalActionByName provides a mock function with given fields: intervalActionName

func (*SchedulerQueueClient) QueryIntervalByID

func (_m *SchedulerQueueClient) QueryIntervalByID(intervalId string) (models.Interval, error)

QueryIntervalByID provides a mock function with given fields: intervalId

func (*SchedulerQueueClient) QueryIntervalByName

func (_m *SchedulerQueueClient) QueryIntervalByName(intervalName string) (models.Interval, error)

QueryIntervalByName provides a mock function with given fields: intervalName

func (*SchedulerQueueClient) RemoveIntervalActionQueue

func (_m *SchedulerQueueClient) RemoveIntervalActionQueue(intervalActionId string) error

RemoveIntervalActionQueue provides a mock function with given fields: intervalActionId

func (*SchedulerQueueClient) RemoveIntervalInQueue

func (_m *SchedulerQueueClient) RemoveIntervalInQueue(intervalId string) error

RemoveIntervalInQueue provides a mock function with given fields: intervalId

func (*SchedulerQueueClient) UpdateIntervalActionQueue

func (_m *SchedulerQueueClient) UpdateIntervalActionQueue(intervalAction models.IntervalAction) error

UpdateIntervalActionQueue provides a mock function with given fields: intervalAction

func (*SchedulerQueueClient) UpdateIntervalInQueue

func (_m *SchedulerQueueClient) UpdateIntervalInQueue(interval models.Interval) error

UpdateIntervalInQueue provides a mock function with given fields: interval

Jump to

Keyboard shortcuts

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