Documentation ¶
Index ¶
- type KeySync
- type KeySync_Expecter
- type KeySync_SyncIfNeeded_Call
- func (_c *KeySync_SyncIfNeeded_Call) Return(_a0 error) *KeySync_SyncIfNeeded_Call
- func (_c *KeySync_SyncIfNeeded_Call) Run(run func(entry *cache.Entry, gsks ...keysync.Syncable)) *KeySync_SyncIfNeeded_Call
- func (_c *KeySync_SyncIfNeeded_Call) RunAndReturn(run func(*cache.Entry, ...keysync.Syncable) error) *KeySync_SyncIfNeeded_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeySync ¶
KeySync is an autogenerated mock type for the KeySync type
func NewKeySync ¶
func NewKeySync(t mockConstructorTestingTNewKeySync) *KeySync
NewKeySync creates a new instance of KeySync. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*KeySync) EXPECT ¶
func (_m *KeySync) EXPECT() *KeySync_Expecter
type KeySync_Expecter ¶
type KeySync_Expecter struct {
// contains filtered or unexported fields
}
func (*KeySync_Expecter) SyncIfNeeded ¶
func (_e *KeySync_Expecter) SyncIfNeeded(entry interface{}, gsks ...interface{}) *KeySync_SyncIfNeeded_Call
SyncIfNeeded is a helper method to define mock.On call
- entry *cache.Entry
- gsks ...keysync.Syncable
type KeySync_SyncIfNeeded_Call ¶
KeySync_SyncIfNeeded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncIfNeeded'
func (*KeySync_SyncIfNeeded_Call) Return ¶
func (_c *KeySync_SyncIfNeeded_Call) Return(_a0 error) *KeySync_SyncIfNeeded_Call
func (*KeySync_SyncIfNeeded_Call) Run ¶
func (_c *KeySync_SyncIfNeeded_Call) Run(run func(entry *cache.Entry, gsks ...keysync.Syncable)) *KeySync_SyncIfNeeded_Call
func (*KeySync_SyncIfNeeded_Call) RunAndReturn ¶
func (_c *KeySync_SyncIfNeeded_Call) RunAndReturn(run func(*cache.Entry, ...keysync.Syncable) error) *KeySync_SyncIfNeeded_Call
Click to show internal directories.
Click to hide internal directories.