Documentation ¶
Index ¶
- func AssertSinkEqualFile(t *testing.T, fs afero.Fs, filename string, sink core.DataSink)
- func AssertSinkEqualStdStream(t *testing.T, expectedPtr **os.File, getSink func() core.DataSink)
- func AssertSourceEqualFile(t *testing.T, fs afero.Fs, filename string, source core.DataSource)
- func AssertSourceEqualStdStream(t *testing.T, expectedPtr **os.File, getSource func() core.DataSource)
- func Decode(data string, result interface{})
- func DecodeAndValidate(data string, result interface{})
- func DrainSchedule(sched core.Schedule) []time.Time
- func DrainScheduleDuration(sched core.Schedule, startAt time.Time) []time.Duration
- func ExpectScheduleNexts(sched core.Schedule, nexts ...time.Duration)
- func ExpectScheduleNextsStartAt(sched core.Schedule, startAt time.Time, nexts ...time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertSinkEqualFile ¶ added in v0.3.0
func AssertSinkEqualStdStream ¶ added in v0.3.0
func AssertSourceEqualFile ¶ added in v0.3.0
func AssertSourceEqualStdStream ¶ added in v0.3.0
func DecodeAndValidate ¶
func DecodeAndValidate(data string, result interface{})
func DrainSchedule ¶
DrainSchedule takes all tokens from passed schedule. Returns all tokens and finish time.
func DrainScheduleDuration ¶ added in v0.3.0
DrainSchedule starts schedule and takes all tokens from it. Returns all tokens and finish time relative to start
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.