Documentation ¶
Index ¶
- type Window
- func (_m *Window) EarliestStart() time.Time
- func (_m *Window) Start(repo string) time.Time
- func (_m *Window) StartTimesByRepo() map[string]time.Time
- func (_m *Window) TestCommit(repo string, c *repograph.Commit) bool
- func (_m *Window) TestCommitHash(repo string, revision string) (bool, error)
- func (_m *Window) TestTime(repo string, t time.Time) bool
- func (_m *Window) Update(ctx context.Context) error
- func (_m *Window) UpdateWithTime(now time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
Window is an autogenerated mock type for the Window type
func AllInclusiveWindow ¶
func AllInclusiveWindow() *Window
AllInclusiveWindow returns a Window which includes everything.
func NewWindow ¶
NewWindow creates a new instance of Window. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Window) EarliestStart ¶
EarliestStart provides a mock function with given fields:
func (*Window) StartTimesByRepo ¶
StartTimesByRepo provides a mock function with given fields:
func (*Window) TestCommit ¶
TestCommit provides a mock function with given fields: repo, c
func (*Window) TestCommitHash ¶
TestCommitHash provides a mock function with given fields: repo, revision
Click to show internal directories.
Click to hide internal directories.