Documentation ¶
Index ¶
- type CurrentChangesCache
- func (_m *CurrentChangesCache) Add(ctx context.Context, changeEquivalentPatchset string, changeSubject string, ...) (int64, bool, error)
- func (_m *CurrentChangesCache) Get() map[string]*types.CurrentlyProcessingChange
- func (_m *CurrentChangesCache) Remove(ctx context.Context, changeEquivalentPatchset string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentChangesCache ¶
CurrentChangesCache is an autogenerated mock type for the CurrentChangesCache type
func NewCurrentChangesCache ¶
func NewCurrentChangesCache(t interface { mock.TestingT Cleanup(func()) }) *CurrentChangesCache
NewCurrentChangesCache creates a new instance of CurrentChangesCache. 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 (*CurrentChangesCache) Add ¶
func (_m *CurrentChangesCache) Add(ctx context.Context, changeEquivalentPatchset string, changeSubject string, changeOwner string, repo string, branch string, dryRun bool, internal bool, changeID int64, latestPatchsetID int64) (int64, bool, error)
Add provides a mock function with given fields: ctx, changeEquivalentPatchset, changeSubject, changeOwner, repo, branch, dryRun, internal, changeID, latestPatchsetID
func (*CurrentChangesCache) Get ¶
func (_m *CurrentChangesCache) Get() map[string]*types.CurrentlyProcessingChange
Get provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.