mocks

package
v1.2.2-dev.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 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) IntervalActionsByIntervalName

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

IntervalActionsByIntervalName provides a mock function with given fields: name

type IntervalDeleter

type IntervalDeleter struct {
	mock.Mock
}

IntervalDeleter is an autogenerated mock type for the IntervalDeleter type

func (*IntervalDeleter) DeleteIntervalById

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

DeleteIntervalById provides a mock function with given fields: id

func (*IntervalDeleter) IntervalActionsByIntervalName

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

IntervalActionsByIntervalName provides a mock function with given fields: name

func (*IntervalDeleter) IntervalById

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

IntervalById provides a mock function with given fields: id

func (*IntervalDeleter) IntervalByName

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

IntervalByName provides a mock function with given fields: name

func (*IntervalDeleter) Intervals

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

Intervals provides a mock function with given fields:

func (*IntervalDeleter) IntervalsWithLimit

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

IntervalsWithLimit provides a mock function with given fields: limit

func (*IntervalDeleter) ScrubAllIntervals

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

ScrubAllIntervals provides a mock function with given fields:

type IntervalLoader

type IntervalLoader struct {
	mock.Mock
}

IntervalLoader is an autogenerated mock type for the IntervalLoader type

func (*IntervalLoader) IntervalById

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

IntervalById provides a mock function with given fields: id

func (*IntervalLoader) IntervalByName

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

IntervalByName provides a mock function with given fields: name

func (*IntervalLoader) Intervals

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

Intervals provides a mock function with given fields:

func (*IntervalLoader) IntervalsWithLimit

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

IntervalsWithLimit provides a mock function with given fields: limit

type IntervalUpdater

type IntervalUpdater struct {
	mock.Mock
}

IntervalUpdater is an autogenerated mock type for the IntervalUpdater type

func (*IntervalUpdater) IntervalActionsByIntervalName

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

IntervalActionsByIntervalName provides a mock function with given fields: name

func (*IntervalUpdater) IntervalById

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

IntervalById provides a mock function with given fields: id

func (*IntervalUpdater) IntervalByName

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

IntervalByName provides a mock function with given fields: name

func (*IntervalUpdater) Intervals

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

Intervals provides a mock function with given fields:

func (*IntervalUpdater) IntervalsWithLimit

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

IntervalsWithLimit provides a mock function with given fields: limit

func (*IntervalUpdater) UpdateInterval

func (_m *IntervalUpdater) UpdateInterval(_a0 models.Interval) error

UpdateInterval provides a mock function with given fields: _a0

type IntervalWriter

type IntervalWriter struct {
	mock.Mock
}

IntervalWriter is an autogenerated mock type for the IntervalWriter type

func (*IntervalWriter) AddInterval

func (_m *IntervalWriter) AddInterval(_a0 models.Interval) (string, error)

AddInterval provides a mock function with given fields: _a0

func (*IntervalWriter) IntervalById

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

IntervalById provides a mock function with given fields: id

func (*IntervalWriter) IntervalByName

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

IntervalByName provides a mock function with given fields: name

func (*IntervalWriter) Intervals

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

Intervals provides a mock function with given fields:

func (*IntervalWriter) IntervalsWithLimit

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

IntervalsWithLimit provides a mock function with given fields: limit

type SchedulerQueueDeleter

type SchedulerQueueDeleter struct {
	mock.Mock
}

SchedulerQueueDeleter is an autogenerated mock type for the SchedulerQueueDeleter type

func (*SchedulerQueueDeleter) QueryIntervalByID

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

QueryIntervalByID provides a mock function with given fields: intervalId

func (*SchedulerQueueDeleter) QueryIntervalByName

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

QueryIntervalByName provides a mock function with given fields: intervalName

func (*SchedulerQueueDeleter) RemoveIntervalInQueue

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

RemoveIntervalInQueue provides a mock function with given fields: intervalId

type SchedulerQueueLoader

type SchedulerQueueLoader struct {
	mock.Mock
}

SchedulerQueueLoader is an autogenerated mock type for the SchedulerQueueLoader type

func (*SchedulerQueueLoader) QueryIntervalByID

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

QueryIntervalByID provides a mock function with given fields: intervalId

func (*SchedulerQueueLoader) QueryIntervalByName

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

QueryIntervalByName provides a mock function with given fields: intervalName

type SchedulerQueueUpdater

type SchedulerQueueUpdater struct {
	mock.Mock
}

SchedulerQueueUpdater is an autogenerated mock type for the SchedulerQueueUpdater type

func (*SchedulerQueueUpdater) QueryIntervalByID

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

QueryIntervalByID provides a mock function with given fields: intervalId

func (*SchedulerQueueUpdater) QueryIntervalByName

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

QueryIntervalByName provides a mock function with given fields: intervalName

func (*SchedulerQueueUpdater) UpdateIntervalInQueue

func (_m *SchedulerQueueUpdater) UpdateIntervalInQueue(_a0 models.Interval) error

UpdateIntervalInQueue provides a mock function with given fields: _a0

type SchedulerQueueWriter

type SchedulerQueueWriter struct {
	mock.Mock
}

SchedulerQueueWriter is an autogenerated mock type for the SchedulerQueueWriter type

func (*SchedulerQueueWriter) AddIntervalToQueue

func (_m *SchedulerQueueWriter) AddIntervalToQueue(_a0 models.Interval) error

AddIntervalToQueue provides a mock function with given fields: _a0

func (*SchedulerQueueWriter) QueryIntervalByID

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

QueryIntervalByID provides a mock function with given fields: intervalId

func (*SchedulerQueueWriter) QueryIntervalByName

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

QueryIntervalByName provides a mock function with given fields: intervalName

Jump to

Keyboard shortcuts

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