github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbfs/libkbfs/libkbfs_mocks_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/keybase/client/go/kbfs/libkbfs (interfaces: BlockOps,BlockServer,Chat,Clock,Crypto,KBFSOps,KBPKI,KeybaseService,KeyCache,KeyManager,MDCache,MDOps,MDServer,Node,NodeCache,NodeID,Notifier,RekeyQueue,Reporter,SubscriptionNotifier,SubscriptionManagerPublisher)
     3  
     4  // Package libkbfs is a generated GoMock package.
     5  package libkbfs
     6  
     7  import (
     8  	context "context"
     9  	fs "io/fs"
    10  	reflect "reflect"
    11  	time "time"
    12  
    13  	gomock "github.com/golang/mock/gomock"
    14  	data "github.com/keybase/client/go/kbfs/data"
    15  	favorites "github.com/keybase/client/go/kbfs/favorites"
    16  	idutil "github.com/keybase/client/go/kbfs/idutil"
    17  	kbfsblock "github.com/keybase/client/go/kbfs/kbfsblock"
    18  	kbfscrypto "github.com/keybase/client/go/kbfs/kbfscrypto"
    19  	kbfsmd "github.com/keybase/client/go/kbfs/kbfsmd"
    20  	libkey "github.com/keybase/client/go/kbfs/libkey"
    21  	tlf "github.com/keybase/client/go/kbfs/tlf"
    22  	tlfhandle "github.com/keybase/client/go/kbfs/tlfhandle"
    23  	kbun "github.com/keybase/client/go/kbun"
    24  	chat1 "github.com/keybase/client/go/protocol/chat1"
    25  	keybase1 "github.com/keybase/client/go/protocol/keybase1"
    26  	rpc "github.com/keybase/go-framed-msgpack-rpc/rpc"
    27  	billy "gopkg.in/src-d/go-billy.v4"
    28  )
    29  
    30  // MockBlockOps is a mock of BlockOps interface.
    31  type MockBlockOps struct {
    32  	ctrl     *gomock.Controller
    33  	recorder *MockBlockOpsMockRecorder
    34  }
    35  
    36  // MockBlockOpsMockRecorder is the mock recorder for MockBlockOps.
    37  type MockBlockOpsMockRecorder struct {
    38  	mock *MockBlockOps
    39  }
    40  
    41  // NewMockBlockOps creates a new mock instance.
    42  func NewMockBlockOps(ctrl *gomock.Controller) *MockBlockOps {
    43  	mock := &MockBlockOps{ctrl: ctrl}
    44  	mock.recorder = &MockBlockOpsMockRecorder{mock}
    45  	return mock
    46  }
    47  
    48  // EXPECT returns an object that allows the caller to indicate expected use.
    49  func (m *MockBlockOps) EXPECT() *MockBlockOpsMockRecorder {
    50  	return m.recorder
    51  }
    52  
    53  // Archive mocks base method.
    54  func (m *MockBlockOps) Archive(arg0 context.Context, arg1 tlf.ID, arg2 []data.BlockPointer) error {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "Archive", arg0, arg1, arg2)
    57  	ret0, _ := ret[0].(error)
    58  	return ret0
    59  }
    60  
    61  // Archive indicates an expected call of Archive.
    62  func (mr *MockBlockOpsMockRecorder) Archive(arg0, arg1, arg2 interface{}) *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Archive", reflect.TypeOf((*MockBlockOps)(nil).Archive), arg0, arg1, arg2)
    65  }
    66  
    67  // BlockRetriever mocks base method.
    68  func (m *MockBlockOps) BlockRetriever() BlockRetriever {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "BlockRetriever")
    71  	ret0, _ := ret[0].(BlockRetriever)
    72  	return ret0
    73  }
    74  
    75  // BlockRetriever indicates an expected call of BlockRetriever.
    76  func (mr *MockBlockOpsMockRecorder) BlockRetriever() *gomock.Call {
    77  	mr.mock.ctrl.T.Helper()
    78  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockRetriever", reflect.TypeOf((*MockBlockOps)(nil).BlockRetriever))
    79  }
    80  
    81  // Delete mocks base method.
    82  func (m *MockBlockOps) Delete(arg0 context.Context, arg1 tlf.ID, arg2 []data.BlockPointer) (map[kbfsblock.ID]int, error) {
    83  	m.ctrl.T.Helper()
    84  	ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
    85  	ret0, _ := ret[0].(map[kbfsblock.ID]int)
    86  	ret1, _ := ret[1].(error)
    87  	return ret0, ret1
    88  }
    89  
    90  // Delete indicates an expected call of Delete.
    91  func (mr *MockBlockOpsMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
    92  	mr.mock.ctrl.T.Helper()
    93  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockBlockOps)(nil).Delete), arg0, arg1, arg2)
    94  }
    95  
    96  // Get mocks base method.
    97  func (m *MockBlockOps) Get(arg0 context.Context, arg1 libkey.KeyMetadata, arg2 data.BlockPointer, arg3 data.Block, arg4 data.BlockCacheLifetime, arg5 data.BranchName) error {
    98  	m.ctrl.T.Helper()
    99  	ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3, arg4, arg5)
   100  	ret0, _ := ret[0].(error)
   101  	return ret0
   102  }
   103  
   104  // Get indicates an expected call of Get.
   105  func (mr *MockBlockOpsMockRecorder) Get(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
   106  	mr.mock.ctrl.T.Helper()
   107  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockBlockOps)(nil).Get), arg0, arg1, arg2, arg3, arg4, arg5)
   108  }
   109  
   110  // GetEncodedSizes mocks base method.
   111  func (m *MockBlockOps) GetEncodedSizes(arg0 context.Context, arg1 libkey.KeyMetadata, arg2 []data.BlockPointer) ([]uint32, []keybase1.BlockStatus, error) {
   112  	m.ctrl.T.Helper()
   113  	ret := m.ctrl.Call(m, "GetEncodedSizes", arg0, arg1, arg2)
   114  	ret0, _ := ret[0].([]uint32)
   115  	ret1, _ := ret[1].([]keybase1.BlockStatus)
   116  	ret2, _ := ret[2].(error)
   117  	return ret0, ret1, ret2
   118  }
   119  
   120  // GetEncodedSizes indicates an expected call of GetEncodedSizes.
   121  func (mr *MockBlockOpsMockRecorder) GetEncodedSizes(arg0, arg1, arg2 interface{}) *gomock.Call {
   122  	mr.mock.ctrl.T.Helper()
   123  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEncodedSizes", reflect.TypeOf((*MockBlockOps)(nil).GetEncodedSizes), arg0, arg1, arg2)
   124  }
   125  
   126  // GetLiveCount mocks base method.
   127  func (m *MockBlockOps) GetLiveCount(arg0 context.Context, arg1 tlf.ID, arg2 []data.BlockPointer) (map[kbfsblock.ID]int, error) {
   128  	m.ctrl.T.Helper()
   129  	ret := m.ctrl.Call(m, "GetLiveCount", arg0, arg1, arg2)
   130  	ret0, _ := ret[0].(map[kbfsblock.ID]int)
   131  	ret1, _ := ret[1].(error)
   132  	return ret0, ret1
   133  }
   134  
   135  // GetLiveCount indicates an expected call of GetLiveCount.
   136  func (mr *MockBlockOpsMockRecorder) GetLiveCount(arg0, arg1, arg2 interface{}) *gomock.Call {
   137  	mr.mock.ctrl.T.Helper()
   138  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLiveCount", reflect.TypeOf((*MockBlockOps)(nil).GetLiveCount), arg0, arg1, arg2)
   139  }
   140  
   141  // Prefetcher mocks base method.
   142  func (m *MockBlockOps) Prefetcher() Prefetcher {
   143  	m.ctrl.T.Helper()
   144  	ret := m.ctrl.Call(m, "Prefetcher")
   145  	ret0, _ := ret[0].(Prefetcher)
   146  	return ret0
   147  }
   148  
   149  // Prefetcher indicates an expected call of Prefetcher.
   150  func (mr *MockBlockOpsMockRecorder) Prefetcher() *gomock.Call {
   151  	mr.mock.ctrl.T.Helper()
   152  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefetcher", reflect.TypeOf((*MockBlockOps)(nil).Prefetcher))
   153  }
   154  
   155  // Ready mocks base method.
   156  func (m *MockBlockOps) Ready(arg0 context.Context, arg1 libkey.KeyMetadata, arg2 data.Block) (kbfsblock.ID, int, data.ReadyBlockData, error) {
   157  	m.ctrl.T.Helper()
   158  	ret := m.ctrl.Call(m, "Ready", arg0, arg1, arg2)
   159  	ret0, _ := ret[0].(kbfsblock.ID)
   160  	ret1, _ := ret[1].(int)
   161  	ret2, _ := ret[2].(data.ReadyBlockData)
   162  	ret3, _ := ret[3].(error)
   163  	return ret0, ret1, ret2, ret3
   164  }
   165  
   166  // Ready indicates an expected call of Ready.
   167  func (mr *MockBlockOpsMockRecorder) Ready(arg0, arg1, arg2 interface{}) *gomock.Call {
   168  	mr.mock.ctrl.T.Helper()
   169  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ready", reflect.TypeOf((*MockBlockOps)(nil).Ready), arg0, arg1, arg2)
   170  }
   171  
   172  // Shutdown mocks base method.
   173  func (m *MockBlockOps) Shutdown(arg0 context.Context) error {
   174  	m.ctrl.T.Helper()
   175  	ret := m.ctrl.Call(m, "Shutdown", arg0)
   176  	ret0, _ := ret[0].(error)
   177  	return ret0
   178  }
   179  
   180  // Shutdown indicates an expected call of Shutdown.
   181  func (mr *MockBlockOpsMockRecorder) Shutdown(arg0 interface{}) *gomock.Call {
   182  	mr.mock.ctrl.T.Helper()
   183  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockBlockOps)(nil).Shutdown), arg0)
   184  }
   185  
   186  // TogglePrefetcher mocks base method.
   187  func (m *MockBlockOps) TogglePrefetcher(arg0 bool) <-chan struct{} {
   188  	m.ctrl.T.Helper()
   189  	ret := m.ctrl.Call(m, "TogglePrefetcher", arg0)
   190  	ret0, _ := ret[0].(<-chan struct{})
   191  	return ret0
   192  }
   193  
   194  // TogglePrefetcher indicates an expected call of TogglePrefetcher.
   195  func (mr *MockBlockOpsMockRecorder) TogglePrefetcher(arg0 interface{}) *gomock.Call {
   196  	mr.mock.ctrl.T.Helper()
   197  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TogglePrefetcher", reflect.TypeOf((*MockBlockOps)(nil).TogglePrefetcher), arg0)
   198  }
   199  
   200  // MockBlockServer is a mock of BlockServer interface.
   201  type MockBlockServer struct {
   202  	ctrl     *gomock.Controller
   203  	recorder *MockBlockServerMockRecorder
   204  }
   205  
   206  // MockBlockServerMockRecorder is the mock recorder for MockBlockServer.
   207  type MockBlockServerMockRecorder struct {
   208  	mock *MockBlockServer
   209  }
   210  
   211  // NewMockBlockServer creates a new mock instance.
   212  func NewMockBlockServer(ctrl *gomock.Controller) *MockBlockServer {
   213  	mock := &MockBlockServer{ctrl: ctrl}
   214  	mock.recorder = &MockBlockServerMockRecorder{mock}
   215  	return mock
   216  }
   217  
   218  // EXPECT returns an object that allows the caller to indicate expected use.
   219  func (m *MockBlockServer) EXPECT() *MockBlockServerMockRecorder {
   220  	return m.recorder
   221  }
   222  
   223  // AddBlockReference mocks base method.
   224  func (m *MockBlockServer) AddBlockReference(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ID, arg3 kbfsblock.Context) error {
   225  	m.ctrl.T.Helper()
   226  	ret := m.ctrl.Call(m, "AddBlockReference", arg0, arg1, arg2, arg3)
   227  	ret0, _ := ret[0].(error)
   228  	return ret0
   229  }
   230  
   231  // AddBlockReference indicates an expected call of AddBlockReference.
   232  func (mr *MockBlockServerMockRecorder) AddBlockReference(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   233  	mr.mock.ctrl.T.Helper()
   234  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddBlockReference", reflect.TypeOf((*MockBlockServer)(nil).AddBlockReference), arg0, arg1, arg2, arg3)
   235  }
   236  
   237  // ArchiveBlockReferences mocks base method.
   238  func (m *MockBlockServer) ArchiveBlockReferences(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ContextMap) error {
   239  	m.ctrl.T.Helper()
   240  	ret := m.ctrl.Call(m, "ArchiveBlockReferences", arg0, arg1, arg2)
   241  	ret0, _ := ret[0].(error)
   242  	return ret0
   243  }
   244  
   245  // ArchiveBlockReferences indicates an expected call of ArchiveBlockReferences.
   246  func (mr *MockBlockServerMockRecorder) ArchiveBlockReferences(arg0, arg1, arg2 interface{}) *gomock.Call {
   247  	mr.mock.ctrl.T.Helper()
   248  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ArchiveBlockReferences", reflect.TypeOf((*MockBlockServer)(nil).ArchiveBlockReferences), arg0, arg1, arg2)
   249  }
   250  
   251  // FastForwardBackoff mocks base method.
   252  func (m *MockBlockServer) FastForwardBackoff() {
   253  	m.ctrl.T.Helper()
   254  	m.ctrl.Call(m, "FastForwardBackoff")
   255  }
   256  
   257  // FastForwardBackoff indicates an expected call of FastForwardBackoff.
   258  func (mr *MockBlockServerMockRecorder) FastForwardBackoff() *gomock.Call {
   259  	mr.mock.ctrl.T.Helper()
   260  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FastForwardBackoff", reflect.TypeOf((*MockBlockServer)(nil).FastForwardBackoff))
   261  }
   262  
   263  // Get mocks base method.
   264  func (m *MockBlockServer) Get(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ID, arg3 kbfsblock.Context, arg4 DiskBlockCacheType) ([]byte, kbfscrypto.BlockCryptKeyServerHalf, error) {
   265  	m.ctrl.T.Helper()
   266  	ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2, arg3, arg4)
   267  	ret0, _ := ret[0].([]byte)
   268  	ret1, _ := ret[1].(kbfscrypto.BlockCryptKeyServerHalf)
   269  	ret2, _ := ret[2].(error)
   270  	return ret0, ret1, ret2
   271  }
   272  
   273  // Get indicates an expected call of Get.
   274  func (mr *MockBlockServerMockRecorder) Get(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   275  	mr.mock.ctrl.T.Helper()
   276  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockBlockServer)(nil).Get), arg0, arg1, arg2, arg3, arg4)
   277  }
   278  
   279  // GetEncodedSizes mocks base method.
   280  func (m *MockBlockServer) GetEncodedSizes(arg0 context.Context, arg1 tlf.ID, arg2 []kbfsblock.ID, arg3 []kbfsblock.Context) ([]uint32, []keybase1.BlockStatus, error) {
   281  	m.ctrl.T.Helper()
   282  	ret := m.ctrl.Call(m, "GetEncodedSizes", arg0, arg1, arg2, arg3)
   283  	ret0, _ := ret[0].([]uint32)
   284  	ret1, _ := ret[1].([]keybase1.BlockStatus)
   285  	ret2, _ := ret[2].(error)
   286  	return ret0, ret1, ret2
   287  }
   288  
   289  // GetEncodedSizes indicates an expected call of GetEncodedSizes.
   290  func (mr *MockBlockServerMockRecorder) GetEncodedSizes(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   291  	mr.mock.ctrl.T.Helper()
   292  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEncodedSizes", reflect.TypeOf((*MockBlockServer)(nil).GetEncodedSizes), arg0, arg1, arg2, arg3)
   293  }
   294  
   295  // GetLiveBlockReferences mocks base method.
   296  func (m *MockBlockServer) GetLiveBlockReferences(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ContextMap) (map[kbfsblock.ID]int, error) {
   297  	m.ctrl.T.Helper()
   298  	ret := m.ctrl.Call(m, "GetLiveBlockReferences", arg0, arg1, arg2)
   299  	ret0, _ := ret[0].(map[kbfsblock.ID]int)
   300  	ret1, _ := ret[1].(error)
   301  	return ret0, ret1
   302  }
   303  
   304  // GetLiveBlockReferences indicates an expected call of GetLiveBlockReferences.
   305  func (mr *MockBlockServerMockRecorder) GetLiveBlockReferences(arg0, arg1, arg2 interface{}) *gomock.Call {
   306  	mr.mock.ctrl.T.Helper()
   307  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLiveBlockReferences", reflect.TypeOf((*MockBlockServer)(nil).GetLiveBlockReferences), arg0, arg1, arg2)
   308  }
   309  
   310  // GetTeamQuotaInfo mocks base method.
   311  func (m *MockBlockServer) GetTeamQuotaInfo(arg0 context.Context, arg1 keybase1.TeamID) (*kbfsblock.QuotaInfo, error) {
   312  	m.ctrl.T.Helper()
   313  	ret := m.ctrl.Call(m, "GetTeamQuotaInfo", arg0, arg1)
   314  	ret0, _ := ret[0].(*kbfsblock.QuotaInfo)
   315  	ret1, _ := ret[1].(error)
   316  	return ret0, ret1
   317  }
   318  
   319  // GetTeamQuotaInfo indicates an expected call of GetTeamQuotaInfo.
   320  func (mr *MockBlockServerMockRecorder) GetTeamQuotaInfo(arg0, arg1 interface{}) *gomock.Call {
   321  	mr.mock.ctrl.T.Helper()
   322  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamQuotaInfo", reflect.TypeOf((*MockBlockServer)(nil).GetTeamQuotaInfo), arg0, arg1)
   323  }
   324  
   325  // GetUserQuotaInfo mocks base method.
   326  func (m *MockBlockServer) GetUserQuotaInfo(arg0 context.Context) (*kbfsblock.QuotaInfo, error) {
   327  	m.ctrl.T.Helper()
   328  	ret := m.ctrl.Call(m, "GetUserQuotaInfo", arg0)
   329  	ret0, _ := ret[0].(*kbfsblock.QuotaInfo)
   330  	ret1, _ := ret[1].(error)
   331  	return ret0, ret1
   332  }
   333  
   334  // GetUserQuotaInfo indicates an expected call of GetUserQuotaInfo.
   335  func (mr *MockBlockServerMockRecorder) GetUserQuotaInfo(arg0 interface{}) *gomock.Call {
   336  	mr.mock.ctrl.T.Helper()
   337  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserQuotaInfo", reflect.TypeOf((*MockBlockServer)(nil).GetUserQuotaInfo), arg0)
   338  }
   339  
   340  // IsUnflushed mocks base method.
   341  func (m *MockBlockServer) IsUnflushed(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ID) (bool, error) {
   342  	m.ctrl.T.Helper()
   343  	ret := m.ctrl.Call(m, "IsUnflushed", arg0, arg1, arg2)
   344  	ret0, _ := ret[0].(bool)
   345  	ret1, _ := ret[1].(error)
   346  	return ret0, ret1
   347  }
   348  
   349  // IsUnflushed indicates an expected call of IsUnflushed.
   350  func (mr *MockBlockServerMockRecorder) IsUnflushed(arg0, arg1, arg2 interface{}) *gomock.Call {
   351  	mr.mock.ctrl.T.Helper()
   352  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsUnflushed", reflect.TypeOf((*MockBlockServer)(nil).IsUnflushed), arg0, arg1, arg2)
   353  }
   354  
   355  // Put mocks base method.
   356  func (m *MockBlockServer) Put(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ID, arg3 kbfsblock.Context, arg4 []byte, arg5 kbfscrypto.BlockCryptKeyServerHalf, arg6 DiskBlockCacheType) error {
   357  	m.ctrl.T.Helper()
   358  	ret := m.ctrl.Call(m, "Put", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
   359  	ret0, _ := ret[0].(error)
   360  	return ret0
   361  }
   362  
   363  // Put indicates an expected call of Put.
   364  func (mr *MockBlockServerMockRecorder) Put(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
   365  	mr.mock.ctrl.T.Helper()
   366  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockBlockServer)(nil).Put), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
   367  }
   368  
   369  // PutAgain mocks base method.
   370  func (m *MockBlockServer) PutAgain(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ID, arg3 kbfsblock.Context, arg4 []byte, arg5 kbfscrypto.BlockCryptKeyServerHalf, arg6 DiskBlockCacheType) error {
   371  	m.ctrl.T.Helper()
   372  	ret := m.ctrl.Call(m, "PutAgain", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
   373  	ret0, _ := ret[0].(error)
   374  	return ret0
   375  }
   376  
   377  // PutAgain indicates an expected call of PutAgain.
   378  func (mr *MockBlockServerMockRecorder) PutAgain(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
   379  	mr.mock.ctrl.T.Helper()
   380  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutAgain", reflect.TypeOf((*MockBlockServer)(nil).PutAgain), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
   381  }
   382  
   383  // RefreshAuthToken mocks base method.
   384  func (m *MockBlockServer) RefreshAuthToken(arg0 context.Context) {
   385  	m.ctrl.T.Helper()
   386  	m.ctrl.Call(m, "RefreshAuthToken", arg0)
   387  }
   388  
   389  // RefreshAuthToken indicates an expected call of RefreshAuthToken.
   390  func (mr *MockBlockServerMockRecorder) RefreshAuthToken(arg0 interface{}) *gomock.Call {
   391  	mr.mock.ctrl.T.Helper()
   392  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshAuthToken", reflect.TypeOf((*MockBlockServer)(nil).RefreshAuthToken), arg0)
   393  }
   394  
   395  // RemoveBlockReferences mocks base method.
   396  func (m *MockBlockServer) RemoveBlockReferences(arg0 context.Context, arg1 tlf.ID, arg2 kbfsblock.ContextMap) (map[kbfsblock.ID]int, error) {
   397  	m.ctrl.T.Helper()
   398  	ret := m.ctrl.Call(m, "RemoveBlockReferences", arg0, arg1, arg2)
   399  	ret0, _ := ret[0].(map[kbfsblock.ID]int)
   400  	ret1, _ := ret[1].(error)
   401  	return ret0, ret1
   402  }
   403  
   404  // RemoveBlockReferences indicates an expected call of RemoveBlockReferences.
   405  func (mr *MockBlockServerMockRecorder) RemoveBlockReferences(arg0, arg1, arg2 interface{}) *gomock.Call {
   406  	mr.mock.ctrl.T.Helper()
   407  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveBlockReferences", reflect.TypeOf((*MockBlockServer)(nil).RemoveBlockReferences), arg0, arg1, arg2)
   408  }
   409  
   410  // Shutdown mocks base method.
   411  func (m *MockBlockServer) Shutdown(arg0 context.Context) {
   412  	m.ctrl.T.Helper()
   413  	m.ctrl.Call(m, "Shutdown", arg0)
   414  }
   415  
   416  // Shutdown indicates an expected call of Shutdown.
   417  func (mr *MockBlockServerMockRecorder) Shutdown(arg0 interface{}) *gomock.Call {
   418  	mr.mock.ctrl.T.Helper()
   419  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockBlockServer)(nil).Shutdown), arg0)
   420  }
   421  
   422  // MockChat is a mock of Chat interface.
   423  type MockChat struct {
   424  	ctrl     *gomock.Controller
   425  	recorder *MockChatMockRecorder
   426  }
   427  
   428  // MockChatMockRecorder is the mock recorder for MockChat.
   429  type MockChatMockRecorder struct {
   430  	mock *MockChat
   431  }
   432  
   433  // NewMockChat creates a new mock instance.
   434  func NewMockChat(ctrl *gomock.Controller) *MockChat {
   435  	mock := &MockChat{ctrl: ctrl}
   436  	mock.recorder = &MockChatMockRecorder{mock}
   437  	return mock
   438  }
   439  
   440  // EXPECT returns an object that allows the caller to indicate expected use.
   441  func (m *MockChat) EXPECT() *MockChatMockRecorder {
   442  	return m.recorder
   443  }
   444  
   445  // ClearCache mocks base method.
   446  func (m *MockChat) ClearCache() {
   447  	m.ctrl.T.Helper()
   448  	m.ctrl.Call(m, "ClearCache")
   449  }
   450  
   451  // ClearCache indicates an expected call of ClearCache.
   452  func (mr *MockChatMockRecorder) ClearCache() *gomock.Call {
   453  	mr.mock.ctrl.T.Helper()
   454  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearCache", reflect.TypeOf((*MockChat)(nil).ClearCache))
   455  }
   456  
   457  // GetChannels mocks base method.
   458  func (m *MockChat) GetChannels(arg0 context.Context, arg1 tlf.CanonicalName, arg2 tlf.Type, arg3 chat1.TopicType) ([]chat1.ConversationID, []string, error) {
   459  	m.ctrl.T.Helper()
   460  	ret := m.ctrl.Call(m, "GetChannels", arg0, arg1, arg2, arg3)
   461  	ret0, _ := ret[0].([]chat1.ConversationID)
   462  	ret1, _ := ret[1].([]string)
   463  	ret2, _ := ret[2].(error)
   464  	return ret0, ret1, ret2
   465  }
   466  
   467  // GetChannels indicates an expected call of GetChannels.
   468  func (mr *MockChatMockRecorder) GetChannels(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   469  	mr.mock.ctrl.T.Helper()
   470  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChannels", reflect.TypeOf((*MockChat)(nil).GetChannels), arg0, arg1, arg2, arg3)
   471  }
   472  
   473  // GetConversationID mocks base method.
   474  func (m *MockChat) GetConversationID(arg0 context.Context, arg1 tlf.CanonicalName, arg2 tlf.Type, arg3 string, arg4 chat1.TopicType) (chat1.ConversationID, error) {
   475  	m.ctrl.T.Helper()
   476  	ret := m.ctrl.Call(m, "GetConversationID", arg0, arg1, arg2, arg3, arg4)
   477  	ret0, _ := ret[0].(chat1.ConversationID)
   478  	ret1, _ := ret[1].(error)
   479  	return ret0, ret1
   480  }
   481  
   482  // GetConversationID indicates an expected call of GetConversationID.
   483  func (mr *MockChatMockRecorder) GetConversationID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   484  	mr.mock.ctrl.T.Helper()
   485  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConversationID", reflect.TypeOf((*MockChat)(nil).GetConversationID), arg0, arg1, arg2, arg3, arg4)
   486  }
   487  
   488  // GetGroupedInbox mocks base method.
   489  func (m *MockChat) GetGroupedInbox(arg0 context.Context, arg1 chat1.TopicType, arg2 int) ([]*tlfhandle.Handle, error) {
   490  	m.ctrl.T.Helper()
   491  	ret := m.ctrl.Call(m, "GetGroupedInbox", arg0, arg1, arg2)
   492  	ret0, _ := ret[0].([]*tlfhandle.Handle)
   493  	ret1, _ := ret[1].(error)
   494  	return ret0, ret1
   495  }
   496  
   497  // GetGroupedInbox indicates an expected call of GetGroupedInbox.
   498  func (mr *MockChatMockRecorder) GetGroupedInbox(arg0, arg1, arg2 interface{}) *gomock.Call {
   499  	mr.mock.ctrl.T.Helper()
   500  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGroupedInbox", reflect.TypeOf((*MockChat)(nil).GetGroupedInbox), arg0, arg1, arg2)
   501  }
   502  
   503  // ReadChannel mocks base method.
   504  func (m *MockChat) ReadChannel(arg0 context.Context, arg1 chat1.ConversationID, arg2 []byte) ([]string, []byte, error) {
   505  	m.ctrl.T.Helper()
   506  	ret := m.ctrl.Call(m, "ReadChannel", arg0, arg1, arg2)
   507  	ret0, _ := ret[0].([]string)
   508  	ret1, _ := ret[1].([]byte)
   509  	ret2, _ := ret[2].(error)
   510  	return ret0, ret1, ret2
   511  }
   512  
   513  // ReadChannel indicates an expected call of ReadChannel.
   514  func (mr *MockChatMockRecorder) ReadChannel(arg0, arg1, arg2 interface{}) *gomock.Call {
   515  	mr.mock.ctrl.T.Helper()
   516  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadChannel", reflect.TypeOf((*MockChat)(nil).ReadChannel), arg0, arg1, arg2)
   517  }
   518  
   519  // RegisterForMessages mocks base method.
   520  func (m *MockChat) RegisterForMessages(arg0 chat1.ConversationID, arg1 ChatChannelNewMessageCB) {
   521  	m.ctrl.T.Helper()
   522  	m.ctrl.Call(m, "RegisterForMessages", arg0, arg1)
   523  }
   524  
   525  // RegisterForMessages indicates an expected call of RegisterForMessages.
   526  func (mr *MockChatMockRecorder) RegisterForMessages(arg0, arg1 interface{}) *gomock.Call {
   527  	mr.mock.ctrl.T.Helper()
   528  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterForMessages", reflect.TypeOf((*MockChat)(nil).RegisterForMessages), arg0, arg1)
   529  }
   530  
   531  // SendTextMessage mocks base method.
   532  func (m *MockChat) SendTextMessage(arg0 context.Context, arg1 tlf.CanonicalName, arg2 tlf.Type, arg3 chat1.ConversationID, arg4 string) error {
   533  	m.ctrl.T.Helper()
   534  	ret := m.ctrl.Call(m, "SendTextMessage", arg0, arg1, arg2, arg3, arg4)
   535  	ret0, _ := ret[0].(error)
   536  	return ret0
   537  }
   538  
   539  // SendTextMessage indicates an expected call of SendTextMessage.
   540  func (mr *MockChatMockRecorder) SendTextMessage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   541  	mr.mock.ctrl.T.Helper()
   542  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendTextMessage", reflect.TypeOf((*MockChat)(nil).SendTextMessage), arg0, arg1, arg2, arg3, arg4)
   543  }
   544  
   545  // MockClock is a mock of Clock interface.
   546  type MockClock struct {
   547  	ctrl     *gomock.Controller
   548  	recorder *MockClockMockRecorder
   549  }
   550  
   551  // MockClockMockRecorder is the mock recorder for MockClock.
   552  type MockClockMockRecorder struct {
   553  	mock *MockClock
   554  }
   555  
   556  // NewMockClock creates a new mock instance.
   557  func NewMockClock(ctrl *gomock.Controller) *MockClock {
   558  	mock := &MockClock{ctrl: ctrl}
   559  	mock.recorder = &MockClockMockRecorder{mock}
   560  	return mock
   561  }
   562  
   563  // EXPECT returns an object that allows the caller to indicate expected use.
   564  func (m *MockClock) EXPECT() *MockClockMockRecorder {
   565  	return m.recorder
   566  }
   567  
   568  // Now mocks base method.
   569  func (m *MockClock) Now() time.Time {
   570  	m.ctrl.T.Helper()
   571  	ret := m.ctrl.Call(m, "Now")
   572  	ret0, _ := ret[0].(time.Time)
   573  	return ret0
   574  }
   575  
   576  // Now indicates an expected call of Now.
   577  func (mr *MockClockMockRecorder) Now() *gomock.Call {
   578  	mr.mock.ctrl.T.Helper()
   579  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Now", reflect.TypeOf((*MockClock)(nil).Now))
   580  }
   581  
   582  // MockCrypto is a mock of Crypto interface.
   583  type MockCrypto struct {
   584  	ctrl     *gomock.Controller
   585  	recorder *MockCryptoMockRecorder
   586  }
   587  
   588  // MockCryptoMockRecorder is the mock recorder for MockCrypto.
   589  type MockCryptoMockRecorder struct {
   590  	mock *MockCrypto
   591  }
   592  
   593  // NewMockCrypto creates a new mock instance.
   594  func NewMockCrypto(ctrl *gomock.Controller) *MockCrypto {
   595  	mock := &MockCrypto{ctrl: ctrl}
   596  	mock.recorder = &MockCryptoMockRecorder{mock}
   597  	return mock
   598  }
   599  
   600  // EXPECT returns an object that allows the caller to indicate expected use.
   601  func (m *MockCrypto) EXPECT() *MockCryptoMockRecorder {
   602  	return m.recorder
   603  }
   604  
   605  // DecryptBlock mocks base method.
   606  func (m *MockCrypto) DecryptBlock(arg0 kbfscrypto.EncryptedBlock, arg1 kbfscrypto.TLFCryptKey, arg2 kbfscrypto.BlockCryptKeyServerHalf, arg3 data.Block) error {
   607  	m.ctrl.T.Helper()
   608  	ret := m.ctrl.Call(m, "DecryptBlock", arg0, arg1, arg2, arg3)
   609  	ret0, _ := ret[0].(error)
   610  	return ret0
   611  }
   612  
   613  // DecryptBlock indicates an expected call of DecryptBlock.
   614  func (mr *MockCryptoMockRecorder) DecryptBlock(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   615  	mr.mock.ctrl.T.Helper()
   616  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptBlock", reflect.TypeOf((*MockCrypto)(nil).DecryptBlock), arg0, arg1, arg2, arg3)
   617  }
   618  
   619  // DecryptPrivateMetadata mocks base method.
   620  func (m *MockCrypto) DecryptPrivateMetadata(arg0 kbfscrypto.EncryptedPrivateMetadata, arg1 kbfscrypto.TLFCryptKey) (PrivateMetadata, error) {
   621  	m.ctrl.T.Helper()
   622  	ret := m.ctrl.Call(m, "DecryptPrivateMetadata", arg0, arg1)
   623  	ret0, _ := ret[0].(PrivateMetadata)
   624  	ret1, _ := ret[1].(error)
   625  	return ret0, ret1
   626  }
   627  
   628  // DecryptPrivateMetadata indicates an expected call of DecryptPrivateMetadata.
   629  func (mr *MockCryptoMockRecorder) DecryptPrivateMetadata(arg0, arg1 interface{}) *gomock.Call {
   630  	mr.mock.ctrl.T.Helper()
   631  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptPrivateMetadata", reflect.TypeOf((*MockCrypto)(nil).DecryptPrivateMetadata), arg0, arg1)
   632  }
   633  
   634  // DecryptTLFCryptKeyClientHalf mocks base method.
   635  func (m *MockCrypto) DecryptTLFCryptKeyClientHalf(arg0 context.Context, arg1 kbfscrypto.TLFEphemeralPublicKey, arg2 kbfscrypto.EncryptedTLFCryptKeyClientHalf) (kbfscrypto.TLFCryptKeyClientHalf, error) {
   636  	m.ctrl.T.Helper()
   637  	ret := m.ctrl.Call(m, "DecryptTLFCryptKeyClientHalf", arg0, arg1, arg2)
   638  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKeyClientHalf)
   639  	ret1, _ := ret[1].(error)
   640  	return ret0, ret1
   641  }
   642  
   643  // DecryptTLFCryptKeyClientHalf indicates an expected call of DecryptTLFCryptKeyClientHalf.
   644  func (mr *MockCryptoMockRecorder) DecryptTLFCryptKeyClientHalf(arg0, arg1, arg2 interface{}) *gomock.Call {
   645  	mr.mock.ctrl.T.Helper()
   646  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptTLFCryptKeyClientHalf", reflect.TypeOf((*MockCrypto)(nil).DecryptTLFCryptKeyClientHalf), arg0, arg1, arg2)
   647  }
   648  
   649  // DecryptTLFCryptKeyClientHalfAny mocks base method.
   650  func (m *MockCrypto) DecryptTLFCryptKeyClientHalfAny(arg0 context.Context, arg1 []EncryptedTLFCryptKeyClientAndEphemeral, arg2 bool) (kbfscrypto.TLFCryptKeyClientHalf, int, error) {
   651  	m.ctrl.T.Helper()
   652  	ret := m.ctrl.Call(m, "DecryptTLFCryptKeyClientHalfAny", arg0, arg1, arg2)
   653  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKeyClientHalf)
   654  	ret1, _ := ret[1].(int)
   655  	ret2, _ := ret[2].(error)
   656  	return ret0, ret1, ret2
   657  }
   658  
   659  // DecryptTLFCryptKeyClientHalfAny indicates an expected call of DecryptTLFCryptKeyClientHalfAny.
   660  func (mr *MockCryptoMockRecorder) DecryptTLFCryptKeyClientHalfAny(arg0, arg1, arg2 interface{}) *gomock.Call {
   661  	mr.mock.ctrl.T.Helper()
   662  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptTLFCryptKeyClientHalfAny", reflect.TypeOf((*MockCrypto)(nil).DecryptTLFCryptKeyClientHalfAny), arg0, arg1, arg2)
   663  }
   664  
   665  // DecryptTeamMerkleLeaf mocks base method.
   666  func (m *MockCrypto) DecryptTeamMerkleLeaf(arg0 context.Context, arg1 keybase1.TeamID, arg2 kbfscrypto.TLFEphemeralPublicKey, arg3 kbfscrypto.EncryptedMerkleLeaf, arg4 keybase1.PerTeamKeyGeneration) ([]byte, error) {
   667  	m.ctrl.T.Helper()
   668  	ret := m.ctrl.Call(m, "DecryptTeamMerkleLeaf", arg0, arg1, arg2, arg3, arg4)
   669  	ret0, _ := ret[0].([]byte)
   670  	ret1, _ := ret[1].(error)
   671  	return ret0, ret1
   672  }
   673  
   674  // DecryptTeamMerkleLeaf indicates an expected call of DecryptTeamMerkleLeaf.
   675  func (mr *MockCryptoMockRecorder) DecryptTeamMerkleLeaf(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   676  	mr.mock.ctrl.T.Helper()
   677  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptTeamMerkleLeaf", reflect.TypeOf((*MockCrypto)(nil).DecryptTeamMerkleLeaf), arg0, arg1, arg2, arg3, arg4)
   678  }
   679  
   680  // EncryptBlock mocks base method.
   681  func (m *MockCrypto) EncryptBlock(arg0 data.Block, arg1 kbfscrypto.TLFCryptKey, arg2 kbfscrypto.BlockCryptKeyServerHalf) (int, kbfscrypto.EncryptedBlock, error) {
   682  	m.ctrl.T.Helper()
   683  	ret := m.ctrl.Call(m, "EncryptBlock", arg0, arg1, arg2)
   684  	ret0, _ := ret[0].(int)
   685  	ret1, _ := ret[1].(kbfscrypto.EncryptedBlock)
   686  	ret2, _ := ret[2].(error)
   687  	return ret0, ret1, ret2
   688  }
   689  
   690  // EncryptBlock indicates an expected call of EncryptBlock.
   691  func (mr *MockCryptoMockRecorder) EncryptBlock(arg0, arg1, arg2 interface{}) *gomock.Call {
   692  	mr.mock.ctrl.T.Helper()
   693  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptBlock", reflect.TypeOf((*MockCrypto)(nil).EncryptBlock), arg0, arg1, arg2)
   694  }
   695  
   696  // EncryptPrivateMetadata mocks base method.
   697  func (m *MockCrypto) EncryptPrivateMetadata(arg0 PrivateMetadata, arg1 kbfscrypto.TLFCryptKey) (kbfscrypto.EncryptedPrivateMetadata, error) {
   698  	m.ctrl.T.Helper()
   699  	ret := m.ctrl.Call(m, "EncryptPrivateMetadata", arg0, arg1)
   700  	ret0, _ := ret[0].(kbfscrypto.EncryptedPrivateMetadata)
   701  	ret1, _ := ret[1].(error)
   702  	return ret0, ret1
   703  }
   704  
   705  // EncryptPrivateMetadata indicates an expected call of EncryptPrivateMetadata.
   706  func (mr *MockCryptoMockRecorder) EncryptPrivateMetadata(arg0, arg1 interface{}) *gomock.Call {
   707  	mr.mock.ctrl.T.Helper()
   708  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptPrivateMetadata", reflect.TypeOf((*MockCrypto)(nil).EncryptPrivateMetadata), arg0, arg1)
   709  }
   710  
   711  // MakeBlockRefNonce mocks base method.
   712  func (m *MockCrypto) MakeBlockRefNonce() (kbfsblock.RefNonce, error) {
   713  	m.ctrl.T.Helper()
   714  	ret := m.ctrl.Call(m, "MakeBlockRefNonce")
   715  	ret0, _ := ret[0].(kbfsblock.RefNonce)
   716  	ret1, _ := ret[1].(error)
   717  	return ret0, ret1
   718  }
   719  
   720  // MakeBlockRefNonce indicates an expected call of MakeBlockRefNonce.
   721  func (mr *MockCryptoMockRecorder) MakeBlockRefNonce() *gomock.Call {
   722  	mr.mock.ctrl.T.Helper()
   723  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeBlockRefNonce", reflect.TypeOf((*MockCrypto)(nil).MakeBlockRefNonce))
   724  }
   725  
   726  // MakeRandomBlockCryptKeyServerHalf mocks base method.
   727  func (m *MockCrypto) MakeRandomBlockCryptKeyServerHalf() (kbfscrypto.BlockCryptKeyServerHalf, error) {
   728  	m.ctrl.T.Helper()
   729  	ret := m.ctrl.Call(m, "MakeRandomBlockCryptKeyServerHalf")
   730  	ret0, _ := ret[0].(kbfscrypto.BlockCryptKeyServerHalf)
   731  	ret1, _ := ret[1].(error)
   732  	return ret0, ret1
   733  }
   734  
   735  // MakeRandomBlockCryptKeyServerHalf indicates an expected call of MakeRandomBlockCryptKeyServerHalf.
   736  func (mr *MockCryptoMockRecorder) MakeRandomBlockCryptKeyServerHalf() *gomock.Call {
   737  	mr.mock.ctrl.T.Helper()
   738  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeRandomBlockCryptKeyServerHalf", reflect.TypeOf((*MockCrypto)(nil).MakeRandomBlockCryptKeyServerHalf))
   739  }
   740  
   741  // MakeRandomBranchID mocks base method.
   742  func (m *MockCrypto) MakeRandomBranchID() (kbfsmd.BranchID, error) {
   743  	m.ctrl.T.Helper()
   744  	ret := m.ctrl.Call(m, "MakeRandomBranchID")
   745  	ret0, _ := ret[0].(kbfsmd.BranchID)
   746  	ret1, _ := ret[1].(error)
   747  	return ret0, ret1
   748  }
   749  
   750  // MakeRandomBranchID indicates an expected call of MakeRandomBranchID.
   751  func (mr *MockCryptoMockRecorder) MakeRandomBranchID() *gomock.Call {
   752  	mr.mock.ctrl.T.Helper()
   753  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeRandomBranchID", reflect.TypeOf((*MockCrypto)(nil).MakeRandomBranchID))
   754  }
   755  
   756  // MakeRandomTLFEphemeralKeys mocks base method.
   757  func (m *MockCrypto) MakeRandomTLFEphemeralKeys() (kbfscrypto.TLFEphemeralPublicKey, kbfscrypto.TLFEphemeralPrivateKey, error) {
   758  	m.ctrl.T.Helper()
   759  	ret := m.ctrl.Call(m, "MakeRandomTLFEphemeralKeys")
   760  	ret0, _ := ret[0].(kbfscrypto.TLFEphemeralPublicKey)
   761  	ret1, _ := ret[1].(kbfscrypto.TLFEphemeralPrivateKey)
   762  	ret2, _ := ret[2].(error)
   763  	return ret0, ret1, ret2
   764  }
   765  
   766  // MakeRandomTLFEphemeralKeys indicates an expected call of MakeRandomTLFEphemeralKeys.
   767  func (mr *MockCryptoMockRecorder) MakeRandomTLFEphemeralKeys() *gomock.Call {
   768  	mr.mock.ctrl.T.Helper()
   769  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeRandomTLFEphemeralKeys", reflect.TypeOf((*MockCrypto)(nil).MakeRandomTLFEphemeralKeys))
   770  }
   771  
   772  // MakeRandomTLFKeys mocks base method.
   773  func (m *MockCrypto) MakeRandomTLFKeys() (kbfscrypto.TLFPublicKey, kbfscrypto.TLFPrivateKey, kbfscrypto.TLFCryptKey, error) {
   774  	m.ctrl.T.Helper()
   775  	ret := m.ctrl.Call(m, "MakeRandomTLFKeys")
   776  	ret0, _ := ret[0].(kbfscrypto.TLFPublicKey)
   777  	ret1, _ := ret[1].(kbfscrypto.TLFPrivateKey)
   778  	ret2, _ := ret[2].(kbfscrypto.TLFCryptKey)
   779  	ret3, _ := ret[3].(error)
   780  	return ret0, ret1, ret2, ret3
   781  }
   782  
   783  // MakeRandomTLFKeys indicates an expected call of MakeRandomTLFKeys.
   784  func (mr *MockCryptoMockRecorder) MakeRandomTLFKeys() *gomock.Call {
   785  	mr.mock.ctrl.T.Helper()
   786  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeRandomTLFKeys", reflect.TypeOf((*MockCrypto)(nil).MakeRandomTLFKeys))
   787  }
   788  
   789  // MakeRandomTlfID mocks base method.
   790  func (m *MockCrypto) MakeRandomTlfID(arg0 tlf.Type) (tlf.ID, error) {
   791  	m.ctrl.T.Helper()
   792  	ret := m.ctrl.Call(m, "MakeRandomTlfID", arg0)
   793  	ret0, _ := ret[0].(tlf.ID)
   794  	ret1, _ := ret[1].(error)
   795  	return ret0, ret1
   796  }
   797  
   798  // MakeRandomTlfID indicates an expected call of MakeRandomTlfID.
   799  func (mr *MockCryptoMockRecorder) MakeRandomTlfID(arg0 interface{}) *gomock.Call {
   800  	mr.mock.ctrl.T.Helper()
   801  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeRandomTlfID", reflect.TypeOf((*MockCrypto)(nil).MakeRandomTlfID), arg0)
   802  }
   803  
   804  // MakeTemporaryBlockID mocks base method.
   805  func (m *MockCrypto) MakeTemporaryBlockID() (kbfsblock.ID, error) {
   806  	m.ctrl.T.Helper()
   807  	ret := m.ctrl.Call(m, "MakeTemporaryBlockID")
   808  	ret0, _ := ret[0].(kbfsblock.ID)
   809  	ret1, _ := ret[1].(error)
   810  	return ret0, ret1
   811  }
   812  
   813  // MakeTemporaryBlockID indicates an expected call of MakeTemporaryBlockID.
   814  func (mr *MockCryptoMockRecorder) MakeTemporaryBlockID() *gomock.Call {
   815  	mr.mock.ctrl.T.Helper()
   816  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MakeTemporaryBlockID", reflect.TypeOf((*MockCrypto)(nil).MakeTemporaryBlockID))
   817  }
   818  
   819  // Shutdown mocks base method.
   820  func (m *MockCrypto) Shutdown() {
   821  	m.ctrl.T.Helper()
   822  	m.ctrl.Call(m, "Shutdown")
   823  }
   824  
   825  // Shutdown indicates an expected call of Shutdown.
   826  func (mr *MockCryptoMockRecorder) Shutdown() *gomock.Call {
   827  	mr.mock.ctrl.T.Helper()
   828  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockCrypto)(nil).Shutdown))
   829  }
   830  
   831  // Sign mocks base method.
   832  func (m *MockCrypto) Sign(arg0 context.Context, arg1 []byte) (kbfscrypto.SignatureInfo, error) {
   833  	m.ctrl.T.Helper()
   834  	ret := m.ctrl.Call(m, "Sign", arg0, arg1)
   835  	ret0, _ := ret[0].(kbfscrypto.SignatureInfo)
   836  	ret1, _ := ret[1].(error)
   837  	return ret0, ret1
   838  }
   839  
   840  // Sign indicates an expected call of Sign.
   841  func (mr *MockCryptoMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call {
   842  	mr.mock.ctrl.T.Helper()
   843  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Sign", reflect.TypeOf((*MockCrypto)(nil).Sign), arg0, arg1)
   844  }
   845  
   846  // SignForKBFS mocks base method.
   847  func (m *MockCrypto) SignForKBFS(arg0 context.Context, arg1 []byte) (kbfscrypto.SignatureInfo, error) {
   848  	m.ctrl.T.Helper()
   849  	ret := m.ctrl.Call(m, "SignForKBFS", arg0, arg1)
   850  	ret0, _ := ret[0].(kbfscrypto.SignatureInfo)
   851  	ret1, _ := ret[1].(error)
   852  	return ret0, ret1
   853  }
   854  
   855  // SignForKBFS indicates an expected call of SignForKBFS.
   856  func (mr *MockCryptoMockRecorder) SignForKBFS(arg0, arg1 interface{}) *gomock.Call {
   857  	mr.mock.ctrl.T.Helper()
   858  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SignForKBFS", reflect.TypeOf((*MockCrypto)(nil).SignForKBFS), arg0, arg1)
   859  }
   860  
   861  // SignToString mocks base method.
   862  func (m *MockCrypto) SignToString(arg0 context.Context, arg1 []byte) (string, error) {
   863  	m.ctrl.T.Helper()
   864  	ret := m.ctrl.Call(m, "SignToString", arg0, arg1)
   865  	ret0, _ := ret[0].(string)
   866  	ret1, _ := ret[1].(error)
   867  	return ret0, ret1
   868  }
   869  
   870  // SignToString indicates an expected call of SignToString.
   871  func (mr *MockCryptoMockRecorder) SignToString(arg0, arg1 interface{}) *gomock.Call {
   872  	mr.mock.ctrl.T.Helper()
   873  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SignToString", reflect.TypeOf((*MockCrypto)(nil).SignToString), arg0, arg1)
   874  }
   875  
   876  // MockKBFSOps is a mock of KBFSOps interface.
   877  type MockKBFSOps struct {
   878  	ctrl     *gomock.Controller
   879  	recorder *MockKBFSOpsMockRecorder
   880  }
   881  
   882  // MockKBFSOpsMockRecorder is the mock recorder for MockKBFSOps.
   883  type MockKBFSOpsMockRecorder struct {
   884  	mock *MockKBFSOps
   885  }
   886  
   887  // NewMockKBFSOps creates a new mock instance.
   888  func NewMockKBFSOps(ctrl *gomock.Controller) *MockKBFSOps {
   889  	mock := &MockKBFSOps{ctrl: ctrl}
   890  	mock.recorder = &MockKBFSOpsMockRecorder{mock}
   891  	return mock
   892  }
   893  
   894  // EXPECT returns an object that allows the caller to indicate expected use.
   895  func (m *MockKBFSOps) EXPECT() *MockKBFSOpsMockRecorder {
   896  	return m.recorder
   897  }
   898  
   899  // AddFavorite mocks base method.
   900  func (m *MockKBFSOps) AddFavorite(arg0 context.Context, arg1 favorites.Folder, arg2 favorites.Data) error {
   901  	m.ctrl.T.Helper()
   902  	ret := m.ctrl.Call(m, "AddFavorite", arg0, arg1, arg2)
   903  	ret0, _ := ret[0].(error)
   904  	return ret0
   905  }
   906  
   907  // AddFavorite indicates an expected call of AddFavorite.
   908  func (mr *MockKBFSOpsMockRecorder) AddFavorite(arg0, arg1, arg2 interface{}) *gomock.Call {
   909  	mr.mock.ctrl.T.Helper()
   910  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFavorite", reflect.TypeOf((*MockKBFSOps)(nil).AddFavorite), arg0, arg1, arg2)
   911  }
   912  
   913  // AddRootNodeWrapper mocks base method.
   914  func (m *MockKBFSOps) AddRootNodeWrapper(arg0 func(Node) Node) {
   915  	m.ctrl.T.Helper()
   916  	m.ctrl.Call(m, "AddRootNodeWrapper", arg0)
   917  }
   918  
   919  // AddRootNodeWrapper indicates an expected call of AddRootNodeWrapper.
   920  func (mr *MockKBFSOpsMockRecorder) AddRootNodeWrapper(arg0 interface{}) *gomock.Call {
   921  	mr.mock.ctrl.T.Helper()
   922  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRootNodeWrapper", reflect.TypeOf((*MockKBFSOps)(nil).AddRootNodeWrapper), arg0)
   923  }
   924  
   925  // CancelUploads mocks base method.
   926  func (m *MockKBFSOps) CancelUploads(arg0 context.Context, arg1 data.FolderBranch) error {
   927  	m.ctrl.T.Helper()
   928  	ret := m.ctrl.Call(m, "CancelUploads", arg0, arg1)
   929  	ret0, _ := ret[0].(error)
   930  	return ret0
   931  }
   932  
   933  // CancelUploads indicates an expected call of CancelUploads.
   934  func (mr *MockKBFSOpsMockRecorder) CancelUploads(arg0, arg1 interface{}) *gomock.Call {
   935  	mr.mock.ctrl.T.Helper()
   936  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelUploads", reflect.TypeOf((*MockKBFSOps)(nil).CancelUploads), arg0, arg1)
   937  }
   938  
   939  // CheckMigrationPerms mocks base method.
   940  func (m *MockKBFSOps) CheckMigrationPerms(arg0 context.Context, arg1 tlf.ID) error {
   941  	m.ctrl.T.Helper()
   942  	ret := m.ctrl.Call(m, "CheckMigrationPerms", arg0, arg1)
   943  	ret0, _ := ret[0].(error)
   944  	return ret0
   945  }
   946  
   947  // CheckMigrationPerms indicates an expected call of CheckMigrationPerms.
   948  func (mr *MockKBFSOpsMockRecorder) CheckMigrationPerms(arg0, arg1 interface{}) *gomock.Call {
   949  	mr.mock.ctrl.T.Helper()
   950  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckMigrationPerms", reflect.TypeOf((*MockKBFSOps)(nil).CheckMigrationPerms), arg0, arg1)
   951  }
   952  
   953  // ClearCachedFavorites mocks base method.
   954  func (m *MockKBFSOps) ClearCachedFavorites(arg0 context.Context) {
   955  	m.ctrl.T.Helper()
   956  	m.ctrl.Call(m, "ClearCachedFavorites", arg0)
   957  }
   958  
   959  // ClearCachedFavorites indicates an expected call of ClearCachedFavorites.
   960  func (mr *MockKBFSOpsMockRecorder) ClearCachedFavorites(arg0 interface{}) *gomock.Call {
   961  	mr.mock.ctrl.T.Helper()
   962  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearCachedFavorites", reflect.TypeOf((*MockKBFSOps)(nil).ClearCachedFavorites), arg0)
   963  }
   964  
   965  // ClearConflictView mocks base method.
   966  func (m *MockKBFSOps) ClearConflictView(arg0 context.Context, arg1 tlf.ID) error {
   967  	m.ctrl.T.Helper()
   968  	ret := m.ctrl.Call(m, "ClearConflictView", arg0, arg1)
   969  	ret0, _ := ret[0].(error)
   970  	return ret0
   971  }
   972  
   973  // ClearConflictView indicates an expected call of ClearConflictView.
   974  func (mr *MockKBFSOpsMockRecorder) ClearConflictView(arg0, arg1 interface{}) *gomock.Call {
   975  	mr.mock.ctrl.T.Helper()
   976  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearConflictView", reflect.TypeOf((*MockKBFSOps)(nil).ClearConflictView), arg0, arg1)
   977  }
   978  
   979  // ClearPrivateFolderMD mocks base method.
   980  func (m *MockKBFSOps) ClearPrivateFolderMD(arg0 context.Context) {
   981  	m.ctrl.T.Helper()
   982  	m.ctrl.Call(m, "ClearPrivateFolderMD", arg0)
   983  }
   984  
   985  // ClearPrivateFolderMD indicates an expected call of ClearPrivateFolderMD.
   986  func (mr *MockKBFSOpsMockRecorder) ClearPrivateFolderMD(arg0 interface{}) *gomock.Call {
   987  	mr.mock.ctrl.T.Helper()
   988  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearPrivateFolderMD", reflect.TypeOf((*MockKBFSOps)(nil).ClearPrivateFolderMD), arg0)
   989  }
   990  
   991  // CreateDir mocks base method.
   992  func (m *MockKBFSOps) CreateDir(arg0 context.Context, arg1 Node, arg2 data.PathPartString) (Node, data.EntryInfo, error) {
   993  	m.ctrl.T.Helper()
   994  	ret := m.ctrl.Call(m, "CreateDir", arg0, arg1, arg2)
   995  	ret0, _ := ret[0].(Node)
   996  	ret1, _ := ret[1].(data.EntryInfo)
   997  	ret2, _ := ret[2].(error)
   998  	return ret0, ret1, ret2
   999  }
  1000  
  1001  // CreateDir indicates an expected call of CreateDir.
  1002  func (mr *MockKBFSOpsMockRecorder) CreateDir(arg0, arg1, arg2 interface{}) *gomock.Call {
  1003  	mr.mock.ctrl.T.Helper()
  1004  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateDir", reflect.TypeOf((*MockKBFSOps)(nil).CreateDir), arg0, arg1, arg2)
  1005  }
  1006  
  1007  // CreateFile mocks base method.
  1008  func (m *MockKBFSOps) CreateFile(arg0 context.Context, arg1 Node, arg2 data.PathPartString, arg3 bool, arg4 Excl) (Node, data.EntryInfo, error) {
  1009  	m.ctrl.T.Helper()
  1010  	ret := m.ctrl.Call(m, "CreateFile", arg0, arg1, arg2, arg3, arg4)
  1011  	ret0, _ := ret[0].(Node)
  1012  	ret1, _ := ret[1].(data.EntryInfo)
  1013  	ret2, _ := ret[2].(error)
  1014  	return ret0, ret1, ret2
  1015  }
  1016  
  1017  // CreateFile indicates an expected call of CreateFile.
  1018  func (mr *MockKBFSOpsMockRecorder) CreateFile(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  1019  	mr.mock.ctrl.T.Helper()
  1020  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateFile", reflect.TypeOf((*MockKBFSOps)(nil).CreateFile), arg0, arg1, arg2, arg3, arg4)
  1021  }
  1022  
  1023  // CreateLink mocks base method.
  1024  func (m *MockKBFSOps) CreateLink(arg0 context.Context, arg1 Node, arg2, arg3 data.PathPartString) (data.EntryInfo, error) {
  1025  	m.ctrl.T.Helper()
  1026  	ret := m.ctrl.Call(m, "CreateLink", arg0, arg1, arg2, arg3)
  1027  	ret0, _ := ret[0].(data.EntryInfo)
  1028  	ret1, _ := ret[1].(error)
  1029  	return ret0, ret1
  1030  }
  1031  
  1032  // CreateLink indicates an expected call of CreateLink.
  1033  func (mr *MockKBFSOpsMockRecorder) CreateLink(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1034  	mr.mock.ctrl.T.Helper()
  1035  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLink", reflect.TypeOf((*MockKBFSOps)(nil).CreateLink), arg0, arg1, arg2, arg3)
  1036  }
  1037  
  1038  // DeleteFavorite mocks base method.
  1039  func (m *MockKBFSOps) DeleteFavorite(arg0 context.Context, arg1 favorites.Folder) error {
  1040  	m.ctrl.T.Helper()
  1041  	ret := m.ctrl.Call(m, "DeleteFavorite", arg0, arg1)
  1042  	ret0, _ := ret[0].(error)
  1043  	return ret0
  1044  }
  1045  
  1046  // DeleteFavorite indicates an expected call of DeleteFavorite.
  1047  func (mr *MockKBFSOpsMockRecorder) DeleteFavorite(arg0, arg1 interface{}) *gomock.Call {
  1048  	mr.mock.ctrl.T.Helper()
  1049  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteFavorite", reflect.TypeOf((*MockKBFSOps)(nil).DeleteFavorite), arg0, arg1)
  1050  }
  1051  
  1052  // FinishResolvingConflict mocks base method.
  1053  func (m *MockKBFSOps) FinishResolvingConflict(arg0 context.Context, arg1 data.FolderBranch) error {
  1054  	m.ctrl.T.Helper()
  1055  	ret := m.ctrl.Call(m, "FinishResolvingConflict", arg0, arg1)
  1056  	ret0, _ := ret[0].(error)
  1057  	return ret0
  1058  }
  1059  
  1060  // FinishResolvingConflict indicates an expected call of FinishResolvingConflict.
  1061  func (mr *MockKBFSOpsMockRecorder) FinishResolvingConflict(arg0, arg1 interface{}) *gomock.Call {
  1062  	mr.mock.ctrl.T.Helper()
  1063  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FinishResolvingConflict", reflect.TypeOf((*MockKBFSOps)(nil).FinishResolvingConflict), arg0, arg1)
  1064  }
  1065  
  1066  // FolderConflictStatus mocks base method.
  1067  func (m *MockKBFSOps) FolderConflictStatus(arg0 context.Context, arg1 data.FolderBranch) (keybase1.FolderConflictType, error) {
  1068  	m.ctrl.T.Helper()
  1069  	ret := m.ctrl.Call(m, "FolderConflictStatus", arg0, arg1)
  1070  	ret0, _ := ret[0].(keybase1.FolderConflictType)
  1071  	ret1, _ := ret[1].(error)
  1072  	return ret0, ret1
  1073  }
  1074  
  1075  // FolderConflictStatus indicates an expected call of FolderConflictStatus.
  1076  func (mr *MockKBFSOpsMockRecorder) FolderConflictStatus(arg0, arg1 interface{}) *gomock.Call {
  1077  	mr.mock.ctrl.T.Helper()
  1078  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FolderConflictStatus", reflect.TypeOf((*MockKBFSOps)(nil).FolderConflictStatus), arg0, arg1)
  1079  }
  1080  
  1081  // FolderStatus mocks base method.
  1082  func (m *MockKBFSOps) FolderStatus(arg0 context.Context, arg1 data.FolderBranch) (FolderBranchStatus, <-chan StatusUpdate, error) {
  1083  	m.ctrl.T.Helper()
  1084  	ret := m.ctrl.Call(m, "FolderStatus", arg0, arg1)
  1085  	ret0, _ := ret[0].(FolderBranchStatus)
  1086  	ret1, _ := ret[1].(<-chan StatusUpdate)
  1087  	ret2, _ := ret[2].(error)
  1088  	return ret0, ret1, ret2
  1089  }
  1090  
  1091  // FolderStatus indicates an expected call of FolderStatus.
  1092  func (mr *MockKBFSOpsMockRecorder) FolderStatus(arg0, arg1 interface{}) *gomock.Call {
  1093  	mr.mock.ctrl.T.Helper()
  1094  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FolderStatus", reflect.TypeOf((*MockKBFSOps)(nil).FolderStatus), arg0, arg1)
  1095  }
  1096  
  1097  // ForceFastForward mocks base method.
  1098  func (m *MockKBFSOps) ForceFastForward(arg0 context.Context) {
  1099  	m.ctrl.T.Helper()
  1100  	m.ctrl.Call(m, "ForceFastForward", arg0)
  1101  }
  1102  
  1103  // ForceFastForward indicates an expected call of ForceFastForward.
  1104  func (mr *MockKBFSOpsMockRecorder) ForceFastForward(arg0 interface{}) *gomock.Call {
  1105  	mr.mock.ctrl.T.Helper()
  1106  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceFastForward", reflect.TypeOf((*MockKBFSOps)(nil).ForceFastForward), arg0)
  1107  }
  1108  
  1109  // ForceStuckConflictForTesting mocks base method.
  1110  func (m *MockKBFSOps) ForceStuckConflictForTesting(arg0 context.Context, arg1 tlf.ID) error {
  1111  	m.ctrl.T.Helper()
  1112  	ret := m.ctrl.Call(m, "ForceStuckConflictForTesting", arg0, arg1)
  1113  	ret0, _ := ret[0].(error)
  1114  	return ret0
  1115  }
  1116  
  1117  // ForceStuckConflictForTesting indicates an expected call of ForceStuckConflictForTesting.
  1118  func (mr *MockKBFSOpsMockRecorder) ForceStuckConflictForTesting(arg0, arg1 interface{}) *gomock.Call {
  1119  	mr.mock.ctrl.T.Helper()
  1120  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceStuckConflictForTesting", reflect.TypeOf((*MockKBFSOps)(nil).ForceStuckConflictForTesting), arg0, arg1)
  1121  }
  1122  
  1123  // GetAllSyncedTlfMDs mocks base method.
  1124  func (m *MockKBFSOps) GetAllSyncedTlfMDs(arg0 context.Context) map[tlf.ID]SyncedTlfMD {
  1125  	m.ctrl.T.Helper()
  1126  	ret := m.ctrl.Call(m, "GetAllSyncedTlfMDs", arg0)
  1127  	ret0, _ := ret[0].(map[tlf.ID]SyncedTlfMD)
  1128  	return ret0
  1129  }
  1130  
  1131  // GetAllSyncedTlfMDs indicates an expected call of GetAllSyncedTlfMDs.
  1132  func (mr *MockKBFSOpsMockRecorder) GetAllSyncedTlfMDs(arg0 interface{}) *gomock.Call {
  1133  	mr.mock.ctrl.T.Helper()
  1134  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllSyncedTlfMDs", reflect.TypeOf((*MockKBFSOps)(nil).GetAllSyncedTlfMDs), arg0)
  1135  }
  1136  
  1137  // GetBadge mocks base method.
  1138  func (m *MockKBFSOps) GetBadge(arg0 context.Context) (keybase1.FilesTabBadge, error) {
  1139  	m.ctrl.T.Helper()
  1140  	ret := m.ctrl.Call(m, "GetBadge", arg0)
  1141  	ret0, _ := ret[0].(keybase1.FilesTabBadge)
  1142  	ret1, _ := ret[1].(error)
  1143  	return ret0, ret1
  1144  }
  1145  
  1146  // GetBadge indicates an expected call of GetBadge.
  1147  func (mr *MockKBFSOpsMockRecorder) GetBadge(arg0 interface{}) *gomock.Call {
  1148  	mr.mock.ctrl.T.Helper()
  1149  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBadge", reflect.TypeOf((*MockKBFSOps)(nil).GetBadge), arg0)
  1150  }
  1151  
  1152  // GetDirChildren mocks base method.
  1153  func (m *MockKBFSOps) GetDirChildren(arg0 context.Context, arg1 Node) (map[data.PathPartString]data.EntryInfo, error) {
  1154  	m.ctrl.T.Helper()
  1155  	ret := m.ctrl.Call(m, "GetDirChildren", arg0, arg1)
  1156  	ret0, _ := ret[0].(map[data.PathPartString]data.EntryInfo)
  1157  	ret1, _ := ret[1].(error)
  1158  	return ret0, ret1
  1159  }
  1160  
  1161  // GetDirChildren indicates an expected call of GetDirChildren.
  1162  func (mr *MockKBFSOpsMockRecorder) GetDirChildren(arg0, arg1 interface{}) *gomock.Call {
  1163  	mr.mock.ctrl.T.Helper()
  1164  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDirChildren", reflect.TypeOf((*MockKBFSOps)(nil).GetDirChildren), arg0, arg1)
  1165  }
  1166  
  1167  // GetEditHistory mocks base method.
  1168  func (m *MockKBFSOps) GetEditHistory(arg0 context.Context, arg1 data.FolderBranch) (keybase1.FSFolderEditHistory, error) {
  1169  	m.ctrl.T.Helper()
  1170  	ret := m.ctrl.Call(m, "GetEditHistory", arg0, arg1)
  1171  	ret0, _ := ret[0].(keybase1.FSFolderEditHistory)
  1172  	ret1, _ := ret[1].(error)
  1173  	return ret0, ret1
  1174  }
  1175  
  1176  // GetEditHistory indicates an expected call of GetEditHistory.
  1177  func (mr *MockKBFSOpsMockRecorder) GetEditHistory(arg0, arg1 interface{}) *gomock.Call {
  1178  	mr.mock.ctrl.T.Helper()
  1179  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEditHistory", reflect.TypeOf((*MockKBFSOps)(nil).GetEditHistory), arg0, arg1)
  1180  }
  1181  
  1182  // GetFavorites mocks base method.
  1183  func (m *MockKBFSOps) GetFavorites(arg0 context.Context) ([]favorites.Folder, error) {
  1184  	m.ctrl.T.Helper()
  1185  	ret := m.ctrl.Call(m, "GetFavorites", arg0)
  1186  	ret0, _ := ret[0].([]favorites.Folder)
  1187  	ret1, _ := ret[1].(error)
  1188  	return ret0, ret1
  1189  }
  1190  
  1191  // GetFavorites indicates an expected call of GetFavorites.
  1192  func (mr *MockKBFSOpsMockRecorder) GetFavorites(arg0 interface{}) *gomock.Call {
  1193  	mr.mock.ctrl.T.Helper()
  1194  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFavorites", reflect.TypeOf((*MockKBFSOps)(nil).GetFavorites), arg0)
  1195  }
  1196  
  1197  // GetFavoritesAll mocks base method.
  1198  func (m *MockKBFSOps) GetFavoritesAll(arg0 context.Context) (keybase1.FavoritesResult, error) {
  1199  	m.ctrl.T.Helper()
  1200  	ret := m.ctrl.Call(m, "GetFavoritesAll", arg0)
  1201  	ret0, _ := ret[0].(keybase1.FavoritesResult)
  1202  	ret1, _ := ret[1].(error)
  1203  	return ret0, ret1
  1204  }
  1205  
  1206  // GetFavoritesAll indicates an expected call of GetFavoritesAll.
  1207  func (mr *MockKBFSOpsMockRecorder) GetFavoritesAll(arg0 interface{}) *gomock.Call {
  1208  	mr.mock.ctrl.T.Helper()
  1209  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFavoritesAll", reflect.TypeOf((*MockKBFSOps)(nil).GetFavoritesAll), arg0)
  1210  }
  1211  
  1212  // GetFolderWithFavFlags mocks base method.
  1213  func (m *MockKBFSOps) GetFolderWithFavFlags(arg0 context.Context, arg1 *tlfhandle.Handle) (keybase1.FolderWithFavFlags, error) {
  1214  	m.ctrl.T.Helper()
  1215  	ret := m.ctrl.Call(m, "GetFolderWithFavFlags", arg0, arg1)
  1216  	ret0, _ := ret[0].(keybase1.FolderWithFavFlags)
  1217  	ret1, _ := ret[1].(error)
  1218  	return ret0, ret1
  1219  }
  1220  
  1221  // GetFolderWithFavFlags indicates an expected call of GetFolderWithFavFlags.
  1222  func (mr *MockKBFSOpsMockRecorder) GetFolderWithFavFlags(arg0, arg1 interface{}) *gomock.Call {
  1223  	mr.mock.ctrl.T.Helper()
  1224  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFolderWithFavFlags", reflect.TypeOf((*MockKBFSOps)(nil).GetFolderWithFavFlags), arg0, arg1)
  1225  }
  1226  
  1227  // GetNodeMetadata mocks base method.
  1228  func (m *MockKBFSOps) GetNodeMetadata(arg0 context.Context, arg1 Node) (NodeMetadata, error) {
  1229  	m.ctrl.T.Helper()
  1230  	ret := m.ctrl.Call(m, "GetNodeMetadata", arg0, arg1)
  1231  	ret0, _ := ret[0].(NodeMetadata)
  1232  	ret1, _ := ret[1].(error)
  1233  	return ret0, ret1
  1234  }
  1235  
  1236  // GetNodeMetadata indicates an expected call of GetNodeMetadata.
  1237  func (mr *MockKBFSOpsMockRecorder) GetNodeMetadata(arg0, arg1 interface{}) *gomock.Call {
  1238  	mr.mock.ctrl.T.Helper()
  1239  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNodeMetadata", reflect.TypeOf((*MockKBFSOps)(nil).GetNodeMetadata), arg0, arg1)
  1240  }
  1241  
  1242  // GetOrCreateRootNode mocks base method.
  1243  func (m *MockKBFSOps) GetOrCreateRootNode(arg0 context.Context, arg1 *tlfhandle.Handle, arg2 data.BranchName) (Node, data.EntryInfo, error) {
  1244  	m.ctrl.T.Helper()
  1245  	ret := m.ctrl.Call(m, "GetOrCreateRootNode", arg0, arg1, arg2)
  1246  	ret0, _ := ret[0].(Node)
  1247  	ret1, _ := ret[1].(data.EntryInfo)
  1248  	ret2, _ := ret[2].(error)
  1249  	return ret0, ret1, ret2
  1250  }
  1251  
  1252  // GetOrCreateRootNode indicates an expected call of GetOrCreateRootNode.
  1253  func (mr *MockKBFSOpsMockRecorder) GetOrCreateRootNode(arg0, arg1, arg2 interface{}) *gomock.Call {
  1254  	mr.mock.ctrl.T.Helper()
  1255  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrCreateRootNode", reflect.TypeOf((*MockKBFSOps)(nil).GetOrCreateRootNode), arg0, arg1, arg2)
  1256  }
  1257  
  1258  // GetRootNode mocks base method.
  1259  func (m *MockKBFSOps) GetRootNode(arg0 context.Context, arg1 *tlfhandle.Handle, arg2 data.BranchName) (Node, data.EntryInfo, error) {
  1260  	m.ctrl.T.Helper()
  1261  	ret := m.ctrl.Call(m, "GetRootNode", arg0, arg1, arg2)
  1262  	ret0, _ := ret[0].(Node)
  1263  	ret1, _ := ret[1].(data.EntryInfo)
  1264  	ret2, _ := ret[2].(error)
  1265  	return ret0, ret1, ret2
  1266  }
  1267  
  1268  // GetRootNode indicates an expected call of GetRootNode.
  1269  func (mr *MockKBFSOpsMockRecorder) GetRootNode(arg0, arg1, arg2 interface{}) *gomock.Call {
  1270  	mr.mock.ctrl.T.Helper()
  1271  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRootNode", reflect.TypeOf((*MockKBFSOps)(nil).GetRootNode), arg0, arg1, arg2)
  1272  }
  1273  
  1274  // GetRootNodeMetadata mocks base method.
  1275  func (m *MockKBFSOps) GetRootNodeMetadata(arg0 context.Context, arg1 data.FolderBranch) (NodeMetadata, *tlfhandle.Handle, error) {
  1276  	m.ctrl.T.Helper()
  1277  	ret := m.ctrl.Call(m, "GetRootNodeMetadata", arg0, arg1)
  1278  	ret0, _ := ret[0].(NodeMetadata)
  1279  	ret1, _ := ret[1].(*tlfhandle.Handle)
  1280  	ret2, _ := ret[2].(error)
  1281  	return ret0, ret1, ret2
  1282  }
  1283  
  1284  // GetRootNodeMetadata indicates an expected call of GetRootNodeMetadata.
  1285  func (mr *MockKBFSOpsMockRecorder) GetRootNodeMetadata(arg0, arg1 interface{}) *gomock.Call {
  1286  	mr.mock.ctrl.T.Helper()
  1287  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRootNodeMetadata", reflect.TypeOf((*MockKBFSOps)(nil).GetRootNodeMetadata), arg0, arg1)
  1288  }
  1289  
  1290  // GetSyncConfig mocks base method.
  1291  func (m *MockKBFSOps) GetSyncConfig(arg0 context.Context, arg1 tlf.ID) (keybase1.FolderSyncConfig, error) {
  1292  	m.ctrl.T.Helper()
  1293  	ret := m.ctrl.Call(m, "GetSyncConfig", arg0, arg1)
  1294  	ret0, _ := ret[0].(keybase1.FolderSyncConfig)
  1295  	ret1, _ := ret[1].(error)
  1296  	return ret0, ret1
  1297  }
  1298  
  1299  // GetSyncConfig indicates an expected call of GetSyncConfig.
  1300  func (mr *MockKBFSOpsMockRecorder) GetSyncConfig(arg0, arg1 interface{}) *gomock.Call {
  1301  	mr.mock.ctrl.T.Helper()
  1302  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSyncConfig", reflect.TypeOf((*MockKBFSOps)(nil).GetSyncConfig), arg0, arg1)
  1303  }
  1304  
  1305  // GetTLFCryptKeys mocks base method.
  1306  func (m *MockKBFSOps) GetTLFCryptKeys(arg0 context.Context, arg1 *tlfhandle.Handle) ([]kbfscrypto.TLFCryptKey, tlf.ID, error) {
  1307  	m.ctrl.T.Helper()
  1308  	ret := m.ctrl.Call(m, "GetTLFCryptKeys", arg0, arg1)
  1309  	ret0, _ := ret[0].([]kbfscrypto.TLFCryptKey)
  1310  	ret1, _ := ret[1].(tlf.ID)
  1311  	ret2, _ := ret[2].(error)
  1312  	return ret0, ret1, ret2
  1313  }
  1314  
  1315  // GetTLFCryptKeys indicates an expected call of GetTLFCryptKeys.
  1316  func (mr *MockKBFSOpsMockRecorder) GetTLFCryptKeys(arg0, arg1 interface{}) *gomock.Call {
  1317  	mr.mock.ctrl.T.Helper()
  1318  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKeys", reflect.TypeOf((*MockKBFSOps)(nil).GetTLFCryptKeys), arg0, arg1)
  1319  }
  1320  
  1321  // GetTLFHandle mocks base method.
  1322  func (m *MockKBFSOps) GetTLFHandle(arg0 context.Context, arg1 Node) (*tlfhandle.Handle, error) {
  1323  	m.ctrl.T.Helper()
  1324  	ret := m.ctrl.Call(m, "GetTLFHandle", arg0, arg1)
  1325  	ret0, _ := ret[0].(*tlfhandle.Handle)
  1326  	ret1, _ := ret[1].(error)
  1327  	return ret0, ret1
  1328  }
  1329  
  1330  // GetTLFHandle indicates an expected call of GetTLFHandle.
  1331  func (mr *MockKBFSOpsMockRecorder) GetTLFHandle(arg0, arg1 interface{}) *gomock.Call {
  1332  	mr.mock.ctrl.T.Helper()
  1333  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFHandle", reflect.TypeOf((*MockKBFSOps)(nil).GetTLFHandle), arg0, arg1)
  1334  }
  1335  
  1336  // GetTLFID mocks base method.
  1337  func (m *MockKBFSOps) GetTLFID(arg0 context.Context, arg1 *tlfhandle.Handle) (tlf.ID, error) {
  1338  	m.ctrl.T.Helper()
  1339  	ret := m.ctrl.Call(m, "GetTLFID", arg0, arg1)
  1340  	ret0, _ := ret[0].(tlf.ID)
  1341  	ret1, _ := ret[1].(error)
  1342  	return ret0, ret1
  1343  }
  1344  
  1345  // GetTLFID indicates an expected call of GetTLFID.
  1346  func (mr *MockKBFSOpsMockRecorder) GetTLFID(arg0, arg1 interface{}) *gomock.Call {
  1347  	mr.mock.ctrl.T.Helper()
  1348  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFID", reflect.TypeOf((*MockKBFSOps)(nil).GetTLFID), arg0, arg1)
  1349  }
  1350  
  1351  // GetUpdateHistory mocks base method.
  1352  func (m *MockKBFSOps) GetUpdateHistory(arg0 context.Context, arg1 data.FolderBranch, arg2, arg3 kbfsmd.Revision) (TLFUpdateHistory, error) {
  1353  	m.ctrl.T.Helper()
  1354  	ret := m.ctrl.Call(m, "GetUpdateHistory", arg0, arg1, arg2, arg3)
  1355  	ret0, _ := ret[0].(TLFUpdateHistory)
  1356  	ret1, _ := ret[1].(error)
  1357  	return ret0, ret1
  1358  }
  1359  
  1360  // GetUpdateHistory indicates an expected call of GetUpdateHistory.
  1361  func (mr *MockKBFSOpsMockRecorder) GetUpdateHistory(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1362  	mr.mock.ctrl.T.Helper()
  1363  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUpdateHistory", reflect.TypeOf((*MockKBFSOps)(nil).GetUpdateHistory), arg0, arg1, arg2, arg3)
  1364  }
  1365  
  1366  // InvalidateNodeAndChildren mocks base method.
  1367  func (m *MockKBFSOps) InvalidateNodeAndChildren(arg0 context.Context, arg1 Node) error {
  1368  	m.ctrl.T.Helper()
  1369  	ret := m.ctrl.Call(m, "InvalidateNodeAndChildren", arg0, arg1)
  1370  	ret0, _ := ret[0].(error)
  1371  	return ret0
  1372  }
  1373  
  1374  // InvalidateNodeAndChildren indicates an expected call of InvalidateNodeAndChildren.
  1375  func (mr *MockKBFSOpsMockRecorder) InvalidateNodeAndChildren(arg0, arg1 interface{}) *gomock.Call {
  1376  	mr.mock.ctrl.T.Helper()
  1377  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InvalidateNodeAndChildren", reflect.TypeOf((*MockKBFSOps)(nil).InvalidateNodeAndChildren), arg0, arg1)
  1378  }
  1379  
  1380  // KickoffAllOutstandingRekeys mocks base method.
  1381  func (m *MockKBFSOps) KickoffAllOutstandingRekeys() error {
  1382  	m.ctrl.T.Helper()
  1383  	ret := m.ctrl.Call(m, "KickoffAllOutstandingRekeys")
  1384  	ret0, _ := ret[0].(error)
  1385  	return ret0
  1386  }
  1387  
  1388  // KickoffAllOutstandingRekeys indicates an expected call of KickoffAllOutstandingRekeys.
  1389  func (mr *MockKBFSOpsMockRecorder) KickoffAllOutstandingRekeys() *gomock.Call {
  1390  	mr.mock.ctrl.T.Helper()
  1391  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "KickoffAllOutstandingRekeys", reflect.TypeOf((*MockKBFSOps)(nil).KickoffAllOutstandingRekeys))
  1392  }
  1393  
  1394  // Lookup mocks base method.
  1395  func (m *MockKBFSOps) Lookup(arg0 context.Context, arg1 Node, arg2 data.PathPartString) (Node, data.EntryInfo, error) {
  1396  	m.ctrl.T.Helper()
  1397  	ret := m.ctrl.Call(m, "Lookup", arg0, arg1, arg2)
  1398  	ret0, _ := ret[0].(Node)
  1399  	ret1, _ := ret[1].(data.EntryInfo)
  1400  	ret2, _ := ret[2].(error)
  1401  	return ret0, ret1, ret2
  1402  }
  1403  
  1404  // Lookup indicates an expected call of Lookup.
  1405  func (mr *MockKBFSOpsMockRecorder) Lookup(arg0, arg1, arg2 interface{}) *gomock.Call {
  1406  	mr.mock.ctrl.T.Helper()
  1407  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lookup", reflect.TypeOf((*MockKBFSOps)(nil).Lookup), arg0, arg1, arg2)
  1408  }
  1409  
  1410  // MigrateToImplicitTeam mocks base method.
  1411  func (m *MockKBFSOps) MigrateToImplicitTeam(arg0 context.Context, arg1 tlf.ID) error {
  1412  	m.ctrl.T.Helper()
  1413  	ret := m.ctrl.Call(m, "MigrateToImplicitTeam", arg0, arg1)
  1414  	ret0, _ := ret[0].(error)
  1415  	return ret0
  1416  }
  1417  
  1418  // MigrateToImplicitTeam indicates an expected call of MigrateToImplicitTeam.
  1419  func (mr *MockKBFSOpsMockRecorder) MigrateToImplicitTeam(arg0, arg1 interface{}) *gomock.Call {
  1420  	mr.mock.ctrl.T.Helper()
  1421  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MigrateToImplicitTeam", reflect.TypeOf((*MockKBFSOps)(nil).MigrateToImplicitTeam), arg0, arg1)
  1422  }
  1423  
  1424  // NewNotificationChannel mocks base method.
  1425  func (m *MockKBFSOps) NewNotificationChannel(arg0 context.Context, arg1 *tlfhandle.Handle, arg2 chat1.ConversationID, arg3 string) {
  1426  	m.ctrl.T.Helper()
  1427  	m.ctrl.Call(m, "NewNotificationChannel", arg0, arg1, arg2, arg3)
  1428  }
  1429  
  1430  // NewNotificationChannel indicates an expected call of NewNotificationChannel.
  1431  func (mr *MockKBFSOpsMockRecorder) NewNotificationChannel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1432  	mr.mock.ctrl.T.Helper()
  1433  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewNotificationChannel", reflect.TypeOf((*MockKBFSOps)(nil).NewNotificationChannel), arg0, arg1, arg2, arg3)
  1434  }
  1435  
  1436  // PushConnectionStatusChange mocks base method.
  1437  func (m *MockKBFSOps) PushConnectionStatusChange(arg0 string, arg1 error) {
  1438  	m.ctrl.T.Helper()
  1439  	m.ctrl.Call(m, "PushConnectionStatusChange", arg0, arg1)
  1440  }
  1441  
  1442  // PushConnectionStatusChange indicates an expected call of PushConnectionStatusChange.
  1443  func (mr *MockKBFSOpsMockRecorder) PushConnectionStatusChange(arg0, arg1 interface{}) *gomock.Call {
  1444  	mr.mock.ctrl.T.Helper()
  1445  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PushConnectionStatusChange", reflect.TypeOf((*MockKBFSOps)(nil).PushConnectionStatusChange), arg0, arg1)
  1446  }
  1447  
  1448  // PushStatusChange mocks base method.
  1449  func (m *MockKBFSOps) PushStatusChange() {
  1450  	m.ctrl.T.Helper()
  1451  	m.ctrl.Call(m, "PushStatusChange")
  1452  }
  1453  
  1454  // PushStatusChange indicates an expected call of PushStatusChange.
  1455  func (mr *MockKBFSOpsMockRecorder) PushStatusChange() *gomock.Call {
  1456  	mr.mock.ctrl.T.Helper()
  1457  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PushStatusChange", reflect.TypeOf((*MockKBFSOps)(nil).PushStatusChange))
  1458  }
  1459  
  1460  // Read mocks base method.
  1461  func (m *MockKBFSOps) Read(arg0 context.Context, arg1 Node, arg2 []byte, arg3 int64) (int64, error) {
  1462  	m.ctrl.T.Helper()
  1463  	ret := m.ctrl.Call(m, "Read", arg0, arg1, arg2, arg3)
  1464  	ret0, _ := ret[0].(int64)
  1465  	ret1, _ := ret[1].(error)
  1466  	return ret0, ret1
  1467  }
  1468  
  1469  // Read indicates an expected call of Read.
  1470  func (mr *MockKBFSOpsMockRecorder) Read(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1471  	mr.mock.ctrl.T.Helper()
  1472  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockKBFSOps)(nil).Read), arg0, arg1, arg2, arg3)
  1473  }
  1474  
  1475  // RefreshCachedFavorites mocks base method.
  1476  func (m *MockKBFSOps) RefreshCachedFavorites(arg0 context.Context, arg1 FavoritesRefreshMode) {
  1477  	m.ctrl.T.Helper()
  1478  	m.ctrl.Call(m, "RefreshCachedFavorites", arg0, arg1)
  1479  }
  1480  
  1481  // RefreshCachedFavorites indicates an expected call of RefreshCachedFavorites.
  1482  func (mr *MockKBFSOpsMockRecorder) RefreshCachedFavorites(arg0, arg1 interface{}) *gomock.Call {
  1483  	mr.mock.ctrl.T.Helper()
  1484  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshCachedFavorites", reflect.TypeOf((*MockKBFSOps)(nil).RefreshCachedFavorites), arg0, arg1)
  1485  }
  1486  
  1487  // RefreshEditHistory mocks base method.
  1488  func (m *MockKBFSOps) RefreshEditHistory(arg0 favorites.Folder) {
  1489  	m.ctrl.T.Helper()
  1490  	m.ctrl.Call(m, "RefreshEditHistory", arg0)
  1491  }
  1492  
  1493  // RefreshEditHistory indicates an expected call of RefreshEditHistory.
  1494  func (mr *MockKBFSOpsMockRecorder) RefreshEditHistory(arg0 interface{}) *gomock.Call {
  1495  	mr.mock.ctrl.T.Helper()
  1496  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshEditHistory", reflect.TypeOf((*MockKBFSOps)(nil).RefreshEditHistory), arg0)
  1497  }
  1498  
  1499  // RemoveDir mocks base method.
  1500  func (m *MockKBFSOps) RemoveDir(arg0 context.Context, arg1 Node, arg2 data.PathPartString) error {
  1501  	m.ctrl.T.Helper()
  1502  	ret := m.ctrl.Call(m, "RemoveDir", arg0, arg1, arg2)
  1503  	ret0, _ := ret[0].(error)
  1504  	return ret0
  1505  }
  1506  
  1507  // RemoveDir indicates an expected call of RemoveDir.
  1508  func (mr *MockKBFSOpsMockRecorder) RemoveDir(arg0, arg1, arg2 interface{}) *gomock.Call {
  1509  	mr.mock.ctrl.T.Helper()
  1510  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveDir", reflect.TypeOf((*MockKBFSOps)(nil).RemoveDir), arg0, arg1, arg2)
  1511  }
  1512  
  1513  // RemoveEntry mocks base method.
  1514  func (m *MockKBFSOps) RemoveEntry(arg0 context.Context, arg1 Node, arg2 data.PathPartString) error {
  1515  	m.ctrl.T.Helper()
  1516  	ret := m.ctrl.Call(m, "RemoveEntry", arg0, arg1, arg2)
  1517  	ret0, _ := ret[0].(error)
  1518  	return ret0
  1519  }
  1520  
  1521  // RemoveEntry indicates an expected call of RemoveEntry.
  1522  func (mr *MockKBFSOpsMockRecorder) RemoveEntry(arg0, arg1, arg2 interface{}) *gomock.Call {
  1523  	mr.mock.ctrl.T.Helper()
  1524  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveEntry", reflect.TypeOf((*MockKBFSOps)(nil).RemoveEntry), arg0, arg1, arg2)
  1525  }
  1526  
  1527  // Rename mocks base method.
  1528  func (m *MockKBFSOps) Rename(arg0 context.Context, arg1 Node, arg2 data.PathPartString, arg3 Node, arg4 data.PathPartString) error {
  1529  	m.ctrl.T.Helper()
  1530  	ret := m.ctrl.Call(m, "Rename", arg0, arg1, arg2, arg3, arg4)
  1531  	ret0, _ := ret[0].(error)
  1532  	return ret0
  1533  }
  1534  
  1535  // Rename indicates an expected call of Rename.
  1536  func (mr *MockKBFSOpsMockRecorder) Rename(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  1537  	mr.mock.ctrl.T.Helper()
  1538  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rename", reflect.TypeOf((*MockKBFSOps)(nil).Rename), arg0, arg1, arg2, arg3, arg4)
  1539  }
  1540  
  1541  // RequestRekey mocks base method.
  1542  func (m *MockKBFSOps) RequestRekey(arg0 context.Context, arg1 tlf.ID) {
  1543  	m.ctrl.T.Helper()
  1544  	m.ctrl.Call(m, "RequestRekey", arg0, arg1)
  1545  }
  1546  
  1547  // RequestRekey indicates an expected call of RequestRekey.
  1548  func (mr *MockKBFSOpsMockRecorder) RequestRekey(arg0, arg1 interface{}) *gomock.Call {
  1549  	mr.mock.ctrl.T.Helper()
  1550  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestRekey", reflect.TypeOf((*MockKBFSOps)(nil).RequestRekey), arg0, arg1)
  1551  }
  1552  
  1553  // Reset mocks base method.
  1554  func (m *MockKBFSOps) Reset(arg0 context.Context, arg1 *tlfhandle.Handle, arg2 *tlf.ID) error {
  1555  	m.ctrl.T.Helper()
  1556  	ret := m.ctrl.Call(m, "Reset", arg0, arg1, arg2)
  1557  	ret0, _ := ret[0].(error)
  1558  	return ret0
  1559  }
  1560  
  1561  // Reset indicates an expected call of Reset.
  1562  func (mr *MockKBFSOpsMockRecorder) Reset(arg0, arg1, arg2 interface{}) *gomock.Call {
  1563  	mr.mock.ctrl.T.Helper()
  1564  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockKBFSOps)(nil).Reset), arg0, arg1, arg2)
  1565  }
  1566  
  1567  // SetEx mocks base method.
  1568  func (m *MockKBFSOps) SetEx(arg0 context.Context, arg1 Node, arg2 bool) error {
  1569  	m.ctrl.T.Helper()
  1570  	ret := m.ctrl.Call(m, "SetEx", arg0, arg1, arg2)
  1571  	ret0, _ := ret[0].(error)
  1572  	return ret0
  1573  }
  1574  
  1575  // SetEx indicates an expected call of SetEx.
  1576  func (mr *MockKBFSOpsMockRecorder) SetEx(arg0, arg1, arg2 interface{}) *gomock.Call {
  1577  	mr.mock.ctrl.T.Helper()
  1578  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEx", reflect.TypeOf((*MockKBFSOps)(nil).SetEx), arg0, arg1, arg2)
  1579  }
  1580  
  1581  // SetFavoritesHomeTLFInfo mocks base method.
  1582  func (m *MockKBFSOps) SetFavoritesHomeTLFInfo(arg0 context.Context, arg1 homeTLFInfo) {
  1583  	m.ctrl.T.Helper()
  1584  	m.ctrl.Call(m, "SetFavoritesHomeTLFInfo", arg0, arg1)
  1585  }
  1586  
  1587  // SetFavoritesHomeTLFInfo indicates an expected call of SetFavoritesHomeTLFInfo.
  1588  func (mr *MockKBFSOpsMockRecorder) SetFavoritesHomeTLFInfo(arg0, arg1 interface{}) *gomock.Call {
  1589  	mr.mock.ctrl.T.Helper()
  1590  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetFavoritesHomeTLFInfo", reflect.TypeOf((*MockKBFSOps)(nil).SetFavoritesHomeTLFInfo), arg0, arg1)
  1591  }
  1592  
  1593  // SetMtime mocks base method.
  1594  func (m *MockKBFSOps) SetMtime(arg0 context.Context, arg1 Node, arg2 *time.Time) error {
  1595  	m.ctrl.T.Helper()
  1596  	ret := m.ctrl.Call(m, "SetMtime", arg0, arg1, arg2)
  1597  	ret0, _ := ret[0].(error)
  1598  	return ret0
  1599  }
  1600  
  1601  // SetMtime indicates an expected call of SetMtime.
  1602  func (mr *MockKBFSOpsMockRecorder) SetMtime(arg0, arg1, arg2 interface{}) *gomock.Call {
  1603  	mr.mock.ctrl.T.Helper()
  1604  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMtime", reflect.TypeOf((*MockKBFSOps)(nil).SetMtime), arg0, arg1, arg2)
  1605  }
  1606  
  1607  // SetSyncConfig mocks base method.
  1608  func (m *MockKBFSOps) SetSyncConfig(arg0 context.Context, arg1 tlf.ID, arg2 keybase1.FolderSyncConfig) (<-chan error, error) {
  1609  	m.ctrl.T.Helper()
  1610  	ret := m.ctrl.Call(m, "SetSyncConfig", arg0, arg1, arg2)
  1611  	ret0, _ := ret[0].(<-chan error)
  1612  	ret1, _ := ret[1].(error)
  1613  	return ret0, ret1
  1614  }
  1615  
  1616  // SetSyncConfig indicates an expected call of SetSyncConfig.
  1617  func (mr *MockKBFSOpsMockRecorder) SetSyncConfig(arg0, arg1, arg2 interface{}) *gomock.Call {
  1618  	mr.mock.ctrl.T.Helper()
  1619  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSyncConfig", reflect.TypeOf((*MockKBFSOps)(nil).SetSyncConfig), arg0, arg1, arg2)
  1620  }
  1621  
  1622  // Shutdown mocks base method.
  1623  func (m *MockKBFSOps) Shutdown(arg0 context.Context) error {
  1624  	m.ctrl.T.Helper()
  1625  	ret := m.ctrl.Call(m, "Shutdown", arg0)
  1626  	ret0, _ := ret[0].(error)
  1627  	return ret0
  1628  }
  1629  
  1630  // Shutdown indicates an expected call of Shutdown.
  1631  func (mr *MockKBFSOpsMockRecorder) Shutdown(arg0 interface{}) *gomock.Call {
  1632  	mr.mock.ctrl.T.Helper()
  1633  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockKBFSOps)(nil).Shutdown), arg0)
  1634  }
  1635  
  1636  // Stat mocks base method.
  1637  func (m *MockKBFSOps) Stat(arg0 context.Context, arg1 Node) (data.EntryInfo, error) {
  1638  	m.ctrl.T.Helper()
  1639  	ret := m.ctrl.Call(m, "Stat", arg0, arg1)
  1640  	ret0, _ := ret[0].(data.EntryInfo)
  1641  	ret1, _ := ret[1].(error)
  1642  	return ret0, ret1
  1643  }
  1644  
  1645  // Stat indicates an expected call of Stat.
  1646  func (mr *MockKBFSOpsMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call {
  1647  	mr.mock.ctrl.T.Helper()
  1648  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stat", reflect.TypeOf((*MockKBFSOps)(nil).Stat), arg0, arg1)
  1649  }
  1650  
  1651  // Status mocks base method.
  1652  func (m *MockKBFSOps) Status(arg0 context.Context) (KBFSStatus, <-chan StatusUpdate, error) {
  1653  	m.ctrl.T.Helper()
  1654  	ret := m.ctrl.Call(m, "Status", arg0)
  1655  	ret0, _ := ret[0].(KBFSStatus)
  1656  	ret1, _ := ret[1].(<-chan StatusUpdate)
  1657  	ret2, _ := ret[2].(error)
  1658  	return ret0, ret1, ret2
  1659  }
  1660  
  1661  // Status indicates an expected call of Status.
  1662  func (mr *MockKBFSOpsMockRecorder) Status(arg0 interface{}) *gomock.Call {
  1663  	mr.mock.ctrl.T.Helper()
  1664  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockKBFSOps)(nil).Status), arg0)
  1665  }
  1666  
  1667  // StatusOfServices mocks base method.
  1668  func (m *MockKBFSOps) StatusOfServices() (map[string]error, chan StatusUpdate) {
  1669  	m.ctrl.T.Helper()
  1670  	ret := m.ctrl.Call(m, "StatusOfServices")
  1671  	ret0, _ := ret[0].(map[string]error)
  1672  	ret1, _ := ret[1].(chan StatusUpdate)
  1673  	return ret0, ret1
  1674  }
  1675  
  1676  // StatusOfServices indicates an expected call of StatusOfServices.
  1677  func (mr *MockKBFSOpsMockRecorder) StatusOfServices() *gomock.Call {
  1678  	mr.mock.ctrl.T.Helper()
  1679  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StatusOfServices", reflect.TypeOf((*MockKBFSOps)(nil).StatusOfServices))
  1680  }
  1681  
  1682  // SyncAll mocks base method.
  1683  func (m *MockKBFSOps) SyncAll(arg0 context.Context, arg1 data.FolderBranch) error {
  1684  	m.ctrl.T.Helper()
  1685  	ret := m.ctrl.Call(m, "SyncAll", arg0, arg1)
  1686  	ret0, _ := ret[0].(error)
  1687  	return ret0
  1688  }
  1689  
  1690  // SyncAll indicates an expected call of SyncAll.
  1691  func (mr *MockKBFSOpsMockRecorder) SyncAll(arg0, arg1 interface{}) *gomock.Call {
  1692  	mr.mock.ctrl.T.Helper()
  1693  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncAll", reflect.TypeOf((*MockKBFSOps)(nil).SyncAll), arg0, arg1)
  1694  }
  1695  
  1696  // SyncFromServer mocks base method.
  1697  func (m *MockKBFSOps) SyncFromServer(arg0 context.Context, arg1 data.FolderBranch, arg2 *keybase1.LockID) error {
  1698  	m.ctrl.T.Helper()
  1699  	ret := m.ctrl.Call(m, "SyncFromServer", arg0, arg1, arg2)
  1700  	ret0, _ := ret[0].(error)
  1701  	return ret0
  1702  }
  1703  
  1704  // SyncFromServer indicates an expected call of SyncFromServer.
  1705  func (mr *MockKBFSOpsMockRecorder) SyncFromServer(arg0, arg1, arg2 interface{}) *gomock.Call {
  1706  	mr.mock.ctrl.T.Helper()
  1707  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncFromServer", reflect.TypeOf((*MockKBFSOps)(nil).SyncFromServer), arg0, arg1, arg2)
  1708  }
  1709  
  1710  // TeamAbandoned mocks base method.
  1711  func (m *MockKBFSOps) TeamAbandoned(arg0 context.Context, arg1 keybase1.TeamID) {
  1712  	m.ctrl.T.Helper()
  1713  	m.ctrl.Call(m, "TeamAbandoned", arg0, arg1)
  1714  }
  1715  
  1716  // TeamAbandoned indicates an expected call of TeamAbandoned.
  1717  func (mr *MockKBFSOpsMockRecorder) TeamAbandoned(arg0, arg1 interface{}) *gomock.Call {
  1718  	mr.mock.ctrl.T.Helper()
  1719  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TeamAbandoned", reflect.TypeOf((*MockKBFSOps)(nil).TeamAbandoned), arg0, arg1)
  1720  }
  1721  
  1722  // TeamNameChanged mocks base method.
  1723  func (m *MockKBFSOps) TeamNameChanged(arg0 context.Context, arg1 keybase1.TeamID) {
  1724  	m.ctrl.T.Helper()
  1725  	m.ctrl.Call(m, "TeamNameChanged", arg0, arg1)
  1726  }
  1727  
  1728  // TeamNameChanged indicates an expected call of TeamNameChanged.
  1729  func (mr *MockKBFSOpsMockRecorder) TeamNameChanged(arg0, arg1 interface{}) *gomock.Call {
  1730  	mr.mock.ctrl.T.Helper()
  1731  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TeamNameChanged", reflect.TypeOf((*MockKBFSOps)(nil).TeamNameChanged), arg0, arg1)
  1732  }
  1733  
  1734  // Truncate mocks base method.
  1735  func (m *MockKBFSOps) Truncate(arg0 context.Context, arg1 Node, arg2 uint64) error {
  1736  	m.ctrl.T.Helper()
  1737  	ret := m.ctrl.Call(m, "Truncate", arg0, arg1, arg2)
  1738  	ret0, _ := ret[0].(error)
  1739  	return ret0
  1740  }
  1741  
  1742  // Truncate indicates an expected call of Truncate.
  1743  func (mr *MockKBFSOpsMockRecorder) Truncate(arg0, arg1, arg2 interface{}) *gomock.Call {
  1744  	mr.mock.ctrl.T.Helper()
  1745  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Truncate", reflect.TypeOf((*MockKBFSOps)(nil).Truncate), arg0, arg1, arg2)
  1746  }
  1747  
  1748  // UnstageForTesting mocks base method.
  1749  func (m *MockKBFSOps) UnstageForTesting(arg0 context.Context, arg1 data.FolderBranch) error {
  1750  	m.ctrl.T.Helper()
  1751  	ret := m.ctrl.Call(m, "UnstageForTesting", arg0, arg1)
  1752  	ret0, _ := ret[0].(error)
  1753  	return ret0
  1754  }
  1755  
  1756  // UnstageForTesting indicates an expected call of UnstageForTesting.
  1757  func (mr *MockKBFSOpsMockRecorder) UnstageForTesting(arg0, arg1 interface{}) *gomock.Call {
  1758  	mr.mock.ctrl.T.Helper()
  1759  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnstageForTesting", reflect.TypeOf((*MockKBFSOps)(nil).UnstageForTesting), arg0, arg1)
  1760  }
  1761  
  1762  // Write mocks base method.
  1763  func (m *MockKBFSOps) Write(arg0 context.Context, arg1 Node, arg2 []byte, arg3 int64) error {
  1764  	m.ctrl.T.Helper()
  1765  	ret := m.ctrl.Call(m, "Write", arg0, arg1, arg2, arg3)
  1766  	ret0, _ := ret[0].(error)
  1767  	return ret0
  1768  }
  1769  
  1770  // Write indicates an expected call of Write.
  1771  func (mr *MockKBFSOpsMockRecorder) Write(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1772  	mr.mock.ctrl.T.Helper()
  1773  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockKBFSOps)(nil).Write), arg0, arg1, arg2, arg3)
  1774  }
  1775  
  1776  // MockKBPKI is a mock of KBPKI interface.
  1777  type MockKBPKI struct {
  1778  	ctrl     *gomock.Controller
  1779  	recorder *MockKBPKIMockRecorder
  1780  }
  1781  
  1782  // MockKBPKIMockRecorder is the mock recorder for MockKBPKI.
  1783  type MockKBPKIMockRecorder struct {
  1784  	mock *MockKBPKI
  1785  }
  1786  
  1787  // NewMockKBPKI creates a new mock instance.
  1788  func NewMockKBPKI(ctrl *gomock.Controller) *MockKBPKI {
  1789  	mock := &MockKBPKI{ctrl: ctrl}
  1790  	mock.recorder = &MockKBPKIMockRecorder{mock}
  1791  	return mock
  1792  }
  1793  
  1794  // EXPECT returns an object that allows the caller to indicate expected use.
  1795  func (m *MockKBPKI) EXPECT() *MockKBPKIMockRecorder {
  1796  	return m.recorder
  1797  }
  1798  
  1799  // CreateTeamTLF mocks base method.
  1800  func (m *MockKBPKI) CreateTeamTLF(arg0 context.Context, arg1 keybase1.TeamID, arg2 tlf.ID) error {
  1801  	m.ctrl.T.Helper()
  1802  	ret := m.ctrl.Call(m, "CreateTeamTLF", arg0, arg1, arg2)
  1803  	ret0, _ := ret[0].(error)
  1804  	return ret0
  1805  }
  1806  
  1807  // CreateTeamTLF indicates an expected call of CreateTeamTLF.
  1808  func (mr *MockKBPKIMockRecorder) CreateTeamTLF(arg0, arg1, arg2 interface{}) *gomock.Call {
  1809  	mr.mock.ctrl.T.Helper()
  1810  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTeamTLF", reflect.TypeOf((*MockKBPKI)(nil).CreateTeamTLF), arg0, arg1, arg2)
  1811  }
  1812  
  1813  // FavoriteAdd mocks base method.
  1814  func (m *MockKBPKI) FavoriteAdd(arg0 context.Context, arg1 keybase1.FolderHandle) error {
  1815  	m.ctrl.T.Helper()
  1816  	ret := m.ctrl.Call(m, "FavoriteAdd", arg0, arg1)
  1817  	ret0, _ := ret[0].(error)
  1818  	return ret0
  1819  }
  1820  
  1821  // FavoriteAdd indicates an expected call of FavoriteAdd.
  1822  func (mr *MockKBPKIMockRecorder) FavoriteAdd(arg0, arg1 interface{}) *gomock.Call {
  1823  	mr.mock.ctrl.T.Helper()
  1824  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteAdd", reflect.TypeOf((*MockKBPKI)(nil).FavoriteAdd), arg0, arg1)
  1825  }
  1826  
  1827  // FavoriteDelete mocks base method.
  1828  func (m *MockKBPKI) FavoriteDelete(arg0 context.Context, arg1 keybase1.FolderHandle) error {
  1829  	m.ctrl.T.Helper()
  1830  	ret := m.ctrl.Call(m, "FavoriteDelete", arg0, arg1)
  1831  	ret0, _ := ret[0].(error)
  1832  	return ret0
  1833  }
  1834  
  1835  // FavoriteDelete indicates an expected call of FavoriteDelete.
  1836  func (mr *MockKBPKIMockRecorder) FavoriteDelete(arg0, arg1 interface{}) *gomock.Call {
  1837  	mr.mock.ctrl.T.Helper()
  1838  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteDelete", reflect.TypeOf((*MockKBPKI)(nil).FavoriteDelete), arg0, arg1)
  1839  }
  1840  
  1841  // FavoriteList mocks base method.
  1842  func (m *MockKBPKI) FavoriteList(arg0 context.Context) (keybase1.FavoritesResult, error) {
  1843  	m.ctrl.T.Helper()
  1844  	ret := m.ctrl.Call(m, "FavoriteList", arg0)
  1845  	ret0, _ := ret[0].(keybase1.FavoritesResult)
  1846  	ret1, _ := ret[1].(error)
  1847  	return ret0, ret1
  1848  }
  1849  
  1850  // FavoriteList indicates an expected call of FavoriteList.
  1851  func (mr *MockKBPKIMockRecorder) FavoriteList(arg0 interface{}) *gomock.Call {
  1852  	mr.mock.ctrl.T.Helper()
  1853  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteList", reflect.TypeOf((*MockKBPKI)(nil).FavoriteList), arg0)
  1854  }
  1855  
  1856  // GetCryptPublicKeys mocks base method.
  1857  func (m *MockKBPKI) GetCryptPublicKeys(arg0 context.Context, arg1 keybase1.UID, arg2 keybase1.OfflineAvailability) ([]kbfscrypto.CryptPublicKey, error) {
  1858  	m.ctrl.T.Helper()
  1859  	ret := m.ctrl.Call(m, "GetCryptPublicKeys", arg0, arg1, arg2)
  1860  	ret0, _ := ret[0].([]kbfscrypto.CryptPublicKey)
  1861  	ret1, _ := ret[1].(error)
  1862  	return ret0, ret1
  1863  }
  1864  
  1865  // GetCryptPublicKeys indicates an expected call of GetCryptPublicKeys.
  1866  func (mr *MockKBPKIMockRecorder) GetCryptPublicKeys(arg0, arg1, arg2 interface{}) *gomock.Call {
  1867  	mr.mock.ctrl.T.Helper()
  1868  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCryptPublicKeys", reflect.TypeOf((*MockKBPKI)(nil).GetCryptPublicKeys), arg0, arg1, arg2)
  1869  }
  1870  
  1871  // GetCurrentMerkleRoot mocks base method.
  1872  func (m *MockKBPKI) GetCurrentMerkleRoot(arg0 context.Context) (keybase1.MerkleRootV2, time.Time, error) {
  1873  	m.ctrl.T.Helper()
  1874  	ret := m.ctrl.Call(m, "GetCurrentMerkleRoot", arg0)
  1875  	ret0, _ := ret[0].(keybase1.MerkleRootV2)
  1876  	ret1, _ := ret[1].(time.Time)
  1877  	ret2, _ := ret[2].(error)
  1878  	return ret0, ret1, ret2
  1879  }
  1880  
  1881  // GetCurrentMerkleRoot indicates an expected call of GetCurrentMerkleRoot.
  1882  func (mr *MockKBPKIMockRecorder) GetCurrentMerkleRoot(arg0 interface{}) *gomock.Call {
  1883  	mr.mock.ctrl.T.Helper()
  1884  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentMerkleRoot", reflect.TypeOf((*MockKBPKI)(nil).GetCurrentMerkleRoot), arg0)
  1885  }
  1886  
  1887  // GetCurrentSession mocks base method.
  1888  func (m *MockKBPKI) GetCurrentSession(arg0 context.Context) (idutil.SessionInfo, error) {
  1889  	m.ctrl.T.Helper()
  1890  	ret := m.ctrl.Call(m, "GetCurrentSession", arg0)
  1891  	ret0, _ := ret[0].(idutil.SessionInfo)
  1892  	ret1, _ := ret[1].(error)
  1893  	return ret0, ret1
  1894  }
  1895  
  1896  // GetCurrentSession indicates an expected call of GetCurrentSession.
  1897  func (mr *MockKBPKIMockRecorder) GetCurrentSession(arg0 interface{}) *gomock.Call {
  1898  	mr.mock.ctrl.T.Helper()
  1899  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentSession", reflect.TypeOf((*MockKBPKI)(nil).GetCurrentSession), arg0)
  1900  }
  1901  
  1902  // GetNormalizedUsername mocks base method.
  1903  func (m *MockKBPKI) GetNormalizedUsername(arg0 context.Context, arg1 keybase1.UserOrTeamID, arg2 keybase1.OfflineAvailability) (kbun.NormalizedUsername, error) {
  1904  	m.ctrl.T.Helper()
  1905  	ret := m.ctrl.Call(m, "GetNormalizedUsername", arg0, arg1, arg2)
  1906  	ret0, _ := ret[0].(kbun.NormalizedUsername)
  1907  	ret1, _ := ret[1].(error)
  1908  	return ret0, ret1
  1909  }
  1910  
  1911  // GetNormalizedUsername indicates an expected call of GetNormalizedUsername.
  1912  func (mr *MockKBPKIMockRecorder) GetNormalizedUsername(arg0, arg1, arg2 interface{}) *gomock.Call {
  1913  	mr.mock.ctrl.T.Helper()
  1914  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNormalizedUsername", reflect.TypeOf((*MockKBPKI)(nil).GetNormalizedUsername), arg0, arg1, arg2)
  1915  }
  1916  
  1917  // GetTeamRootID mocks base method.
  1918  func (m *MockKBPKI) GetTeamRootID(arg0 context.Context, arg1 keybase1.TeamID, arg2 keybase1.OfflineAvailability) (keybase1.TeamID, error) {
  1919  	m.ctrl.T.Helper()
  1920  	ret := m.ctrl.Call(m, "GetTeamRootID", arg0, arg1, arg2)
  1921  	ret0, _ := ret[0].(keybase1.TeamID)
  1922  	ret1, _ := ret[1].(error)
  1923  	return ret0, ret1
  1924  }
  1925  
  1926  // GetTeamRootID indicates an expected call of GetTeamRootID.
  1927  func (mr *MockKBPKIMockRecorder) GetTeamRootID(arg0, arg1, arg2 interface{}) *gomock.Call {
  1928  	mr.mock.ctrl.T.Helper()
  1929  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamRootID", reflect.TypeOf((*MockKBPKI)(nil).GetTeamRootID), arg0, arg1, arg2)
  1930  }
  1931  
  1932  // GetTeamTLFCryptKeys mocks base method.
  1933  func (m *MockKBPKI) GetTeamTLFCryptKeys(arg0 context.Context, arg1 keybase1.TeamID, arg2 kbfsmd.KeyGen, arg3 keybase1.OfflineAvailability) (map[kbfsmd.KeyGen]kbfscrypto.TLFCryptKey, kbfsmd.KeyGen, error) {
  1934  	m.ctrl.T.Helper()
  1935  	ret := m.ctrl.Call(m, "GetTeamTLFCryptKeys", arg0, arg1, arg2, arg3)
  1936  	ret0, _ := ret[0].(map[kbfsmd.KeyGen]kbfscrypto.TLFCryptKey)
  1937  	ret1, _ := ret[1].(kbfsmd.KeyGen)
  1938  	ret2, _ := ret[2].(error)
  1939  	return ret0, ret1, ret2
  1940  }
  1941  
  1942  // GetTeamTLFCryptKeys indicates an expected call of GetTeamTLFCryptKeys.
  1943  func (mr *MockKBPKIMockRecorder) GetTeamTLFCryptKeys(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1944  	mr.mock.ctrl.T.Helper()
  1945  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamTLFCryptKeys", reflect.TypeOf((*MockKBPKI)(nil).GetTeamTLFCryptKeys), arg0, arg1, arg2, arg3)
  1946  }
  1947  
  1948  // HasVerifyingKey mocks base method.
  1949  func (m *MockKBPKI) HasVerifyingKey(arg0 context.Context, arg1 keybase1.UID, arg2 kbfscrypto.VerifyingKey, arg3 time.Time, arg4 keybase1.OfflineAvailability) error {
  1950  	m.ctrl.T.Helper()
  1951  	ret := m.ctrl.Call(m, "HasVerifyingKey", arg0, arg1, arg2, arg3, arg4)
  1952  	ret0, _ := ret[0].(error)
  1953  	return ret0
  1954  }
  1955  
  1956  // HasVerifyingKey indicates an expected call of HasVerifyingKey.
  1957  func (mr *MockKBPKIMockRecorder) HasVerifyingKey(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  1958  	mr.mock.ctrl.T.Helper()
  1959  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasVerifyingKey", reflect.TypeOf((*MockKBPKI)(nil).HasVerifyingKey), arg0, arg1, arg2, arg3, arg4)
  1960  }
  1961  
  1962  // Identify mocks base method.
  1963  func (m *MockKBPKI) Identify(arg0 context.Context, arg1, arg2 string, arg3 keybase1.OfflineAvailability) (kbun.NormalizedUsername, keybase1.UserOrTeamID, error) {
  1964  	m.ctrl.T.Helper()
  1965  	ret := m.ctrl.Call(m, "Identify", arg0, arg1, arg2, arg3)
  1966  	ret0, _ := ret[0].(kbun.NormalizedUsername)
  1967  	ret1, _ := ret[1].(keybase1.UserOrTeamID)
  1968  	ret2, _ := ret[2].(error)
  1969  	return ret0, ret1, ret2
  1970  }
  1971  
  1972  // Identify indicates an expected call of Identify.
  1973  func (mr *MockKBPKIMockRecorder) Identify(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1974  	mr.mock.ctrl.T.Helper()
  1975  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Identify", reflect.TypeOf((*MockKBPKI)(nil).Identify), arg0, arg1, arg2, arg3)
  1976  }
  1977  
  1978  // IdentifyImplicitTeam mocks base method.
  1979  func (m *MockKBPKI) IdentifyImplicitTeam(arg0 context.Context, arg1, arg2 string, arg3 tlf.Type, arg4 string, arg5 keybase1.OfflineAvailability) (idutil.ImplicitTeamInfo, error) {
  1980  	m.ctrl.T.Helper()
  1981  	ret := m.ctrl.Call(m, "IdentifyImplicitTeam", arg0, arg1, arg2, arg3, arg4, arg5)
  1982  	ret0, _ := ret[0].(idutil.ImplicitTeamInfo)
  1983  	ret1, _ := ret[1].(error)
  1984  	return ret0, ret1
  1985  }
  1986  
  1987  // IdentifyImplicitTeam indicates an expected call of IdentifyImplicitTeam.
  1988  func (mr *MockKBPKIMockRecorder) IdentifyImplicitTeam(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
  1989  	mr.mock.ctrl.T.Helper()
  1990  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentifyImplicitTeam", reflect.TypeOf((*MockKBPKI)(nil).IdentifyImplicitTeam), arg0, arg1, arg2, arg3, arg4, arg5)
  1991  }
  1992  
  1993  // InvalidateTeamCacheForID mocks base method.
  1994  func (m *MockKBPKI) InvalidateTeamCacheForID(arg0 keybase1.TeamID) {
  1995  	m.ctrl.T.Helper()
  1996  	m.ctrl.Call(m, "InvalidateTeamCacheForID", arg0)
  1997  }
  1998  
  1999  // InvalidateTeamCacheForID indicates an expected call of InvalidateTeamCacheForID.
  2000  func (mr *MockKBPKIMockRecorder) InvalidateTeamCacheForID(arg0 interface{}) *gomock.Call {
  2001  	mr.mock.ctrl.T.Helper()
  2002  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InvalidateTeamCacheForID", reflect.TypeOf((*MockKBPKI)(nil).InvalidateTeamCacheForID), arg0)
  2003  }
  2004  
  2005  // IsTeamReader mocks base method.
  2006  func (m *MockKBPKI) IsTeamReader(arg0 context.Context, arg1 keybase1.TeamID, arg2 keybase1.UID, arg3 keybase1.OfflineAvailability) (bool, error) {
  2007  	m.ctrl.T.Helper()
  2008  	ret := m.ctrl.Call(m, "IsTeamReader", arg0, arg1, arg2, arg3)
  2009  	ret0, _ := ret[0].(bool)
  2010  	ret1, _ := ret[1].(error)
  2011  	return ret0, ret1
  2012  }
  2013  
  2014  // IsTeamReader indicates an expected call of IsTeamReader.
  2015  func (mr *MockKBPKIMockRecorder) IsTeamReader(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2016  	mr.mock.ctrl.T.Helper()
  2017  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsTeamReader", reflect.TypeOf((*MockKBPKI)(nil).IsTeamReader), arg0, arg1, arg2, arg3)
  2018  }
  2019  
  2020  // IsTeamWriter mocks base method.
  2021  func (m *MockKBPKI) IsTeamWriter(arg0 context.Context, arg1 keybase1.TeamID, arg2 keybase1.UID, arg3 kbfscrypto.VerifyingKey, arg4 keybase1.OfflineAvailability) (bool, error) {
  2022  	m.ctrl.T.Helper()
  2023  	ret := m.ctrl.Call(m, "IsTeamWriter", arg0, arg1, arg2, arg3, arg4)
  2024  	ret0, _ := ret[0].(bool)
  2025  	ret1, _ := ret[1].(error)
  2026  	return ret0, ret1
  2027  }
  2028  
  2029  // IsTeamWriter indicates an expected call of IsTeamWriter.
  2030  func (mr *MockKBPKIMockRecorder) IsTeamWriter(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  2031  	mr.mock.ctrl.T.Helper()
  2032  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsTeamWriter", reflect.TypeOf((*MockKBPKI)(nil).IsTeamWriter), arg0, arg1, arg2, arg3, arg4)
  2033  }
  2034  
  2035  // NoLongerTeamWriter mocks base method.
  2036  func (m *MockKBPKI) NoLongerTeamWriter(arg0 context.Context, arg1 keybase1.TeamID, arg2 tlf.Type, arg3 keybase1.UID, arg4 kbfscrypto.VerifyingKey, arg5 keybase1.OfflineAvailability) (keybase1.MerkleRootV2, error) {
  2037  	m.ctrl.T.Helper()
  2038  	ret := m.ctrl.Call(m, "NoLongerTeamWriter", arg0, arg1, arg2, arg3, arg4, arg5)
  2039  	ret0, _ := ret[0].(keybase1.MerkleRootV2)
  2040  	ret1, _ := ret[1].(error)
  2041  	return ret0, ret1
  2042  }
  2043  
  2044  // NoLongerTeamWriter indicates an expected call of NoLongerTeamWriter.
  2045  func (mr *MockKBPKIMockRecorder) NoLongerTeamWriter(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
  2046  	mr.mock.ctrl.T.Helper()
  2047  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NoLongerTeamWriter", reflect.TypeOf((*MockKBPKI)(nil).NoLongerTeamWriter), arg0, arg1, arg2, arg3, arg4, arg5)
  2048  }
  2049  
  2050  // NormalizeSocialAssertion mocks base method.
  2051  func (m *MockKBPKI) NormalizeSocialAssertion(arg0 context.Context, arg1 string) (keybase1.SocialAssertion, error) {
  2052  	m.ctrl.T.Helper()
  2053  	ret := m.ctrl.Call(m, "NormalizeSocialAssertion", arg0, arg1)
  2054  	ret0, _ := ret[0].(keybase1.SocialAssertion)
  2055  	ret1, _ := ret[1].(error)
  2056  	return ret0, ret1
  2057  }
  2058  
  2059  // NormalizeSocialAssertion indicates an expected call of NormalizeSocialAssertion.
  2060  func (mr *MockKBPKIMockRecorder) NormalizeSocialAssertion(arg0, arg1 interface{}) *gomock.Call {
  2061  	mr.mock.ctrl.T.Helper()
  2062  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NormalizeSocialAssertion", reflect.TypeOf((*MockKBPKI)(nil).NormalizeSocialAssertion), arg0, arg1)
  2063  }
  2064  
  2065  // Notify mocks base method.
  2066  func (m *MockKBPKI) Notify(arg0 context.Context, arg1 *keybase1.FSNotification) error {
  2067  	m.ctrl.T.Helper()
  2068  	ret := m.ctrl.Call(m, "Notify", arg0, arg1)
  2069  	ret0, _ := ret[0].(error)
  2070  	return ret0
  2071  }
  2072  
  2073  // Notify indicates an expected call of Notify.
  2074  func (mr *MockKBPKIMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call {
  2075  	mr.mock.ctrl.T.Helper()
  2076  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Notify", reflect.TypeOf((*MockKBPKI)(nil).Notify), arg0, arg1)
  2077  }
  2078  
  2079  // NotifyPathUpdated mocks base method.
  2080  func (m *MockKBPKI) NotifyPathUpdated(arg0 context.Context, arg1 string) error {
  2081  	m.ctrl.T.Helper()
  2082  	ret := m.ctrl.Call(m, "NotifyPathUpdated", arg0, arg1)
  2083  	ret0, _ := ret[0].(error)
  2084  	return ret0
  2085  }
  2086  
  2087  // NotifyPathUpdated indicates an expected call of NotifyPathUpdated.
  2088  func (mr *MockKBPKIMockRecorder) NotifyPathUpdated(arg0, arg1 interface{}) *gomock.Call {
  2089  	mr.mock.ctrl.T.Helper()
  2090  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyPathUpdated", reflect.TypeOf((*MockKBPKI)(nil).NotifyPathUpdated), arg0, arg1)
  2091  }
  2092  
  2093  // PutGitMetadata mocks base method.
  2094  func (m *MockKBPKI) PutGitMetadata(arg0 context.Context, arg1 keybase1.FolderHandle, arg2 keybase1.RepoID, arg3 keybase1.GitLocalMetadata) error {
  2095  	m.ctrl.T.Helper()
  2096  	ret := m.ctrl.Call(m, "PutGitMetadata", arg0, arg1, arg2, arg3)
  2097  	ret0, _ := ret[0].(error)
  2098  	return ret0
  2099  }
  2100  
  2101  // PutGitMetadata indicates an expected call of PutGitMetadata.
  2102  func (mr *MockKBPKIMockRecorder) PutGitMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2103  	mr.mock.ctrl.T.Helper()
  2104  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutGitMetadata", reflect.TypeOf((*MockKBPKI)(nil).PutGitMetadata), arg0, arg1, arg2, arg3)
  2105  }
  2106  
  2107  // Resolve mocks base method.
  2108  func (m *MockKBPKI) Resolve(arg0 context.Context, arg1 string, arg2 keybase1.OfflineAvailability) (kbun.NormalizedUsername, keybase1.UserOrTeamID, error) {
  2109  	m.ctrl.T.Helper()
  2110  	ret := m.ctrl.Call(m, "Resolve", arg0, arg1, arg2)
  2111  	ret0, _ := ret[0].(kbun.NormalizedUsername)
  2112  	ret1, _ := ret[1].(keybase1.UserOrTeamID)
  2113  	ret2, _ := ret[2].(error)
  2114  	return ret0, ret1, ret2
  2115  }
  2116  
  2117  // Resolve indicates an expected call of Resolve.
  2118  func (mr *MockKBPKIMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call {
  2119  	mr.mock.ctrl.T.Helper()
  2120  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Resolve", reflect.TypeOf((*MockKBPKI)(nil).Resolve), arg0, arg1, arg2)
  2121  }
  2122  
  2123  // ResolveImplicitTeam mocks base method.
  2124  func (m *MockKBPKI) ResolveImplicitTeam(arg0 context.Context, arg1, arg2 string, arg3 tlf.Type, arg4 keybase1.OfflineAvailability) (idutil.ImplicitTeamInfo, error) {
  2125  	m.ctrl.T.Helper()
  2126  	ret := m.ctrl.Call(m, "ResolveImplicitTeam", arg0, arg1, arg2, arg3, arg4)
  2127  	ret0, _ := ret[0].(idutil.ImplicitTeamInfo)
  2128  	ret1, _ := ret[1].(error)
  2129  	return ret0, ret1
  2130  }
  2131  
  2132  // ResolveImplicitTeam indicates an expected call of ResolveImplicitTeam.
  2133  func (mr *MockKBPKIMockRecorder) ResolveImplicitTeam(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  2134  	mr.mock.ctrl.T.Helper()
  2135  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveImplicitTeam", reflect.TypeOf((*MockKBPKI)(nil).ResolveImplicitTeam), arg0, arg1, arg2, arg3, arg4)
  2136  }
  2137  
  2138  // ResolveImplicitTeamByID mocks base method.
  2139  func (m *MockKBPKI) ResolveImplicitTeamByID(arg0 context.Context, arg1 keybase1.TeamID, arg2 tlf.Type, arg3 keybase1.OfflineAvailability) (idutil.ImplicitTeamInfo, error) {
  2140  	m.ctrl.T.Helper()
  2141  	ret := m.ctrl.Call(m, "ResolveImplicitTeamByID", arg0, arg1, arg2, arg3)
  2142  	ret0, _ := ret[0].(idutil.ImplicitTeamInfo)
  2143  	ret1, _ := ret[1].(error)
  2144  	return ret0, ret1
  2145  }
  2146  
  2147  // ResolveImplicitTeamByID indicates an expected call of ResolveImplicitTeamByID.
  2148  func (mr *MockKBPKIMockRecorder) ResolveImplicitTeamByID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2149  	mr.mock.ctrl.T.Helper()
  2150  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveImplicitTeamByID", reflect.TypeOf((*MockKBPKI)(nil).ResolveImplicitTeamByID), arg0, arg1, arg2, arg3)
  2151  }
  2152  
  2153  // ResolveTeamTLFID mocks base method.
  2154  func (m *MockKBPKI) ResolveTeamTLFID(arg0 context.Context, arg1 keybase1.TeamID, arg2 keybase1.OfflineAvailability) (tlf.ID, error) {
  2155  	m.ctrl.T.Helper()
  2156  	ret := m.ctrl.Call(m, "ResolveTeamTLFID", arg0, arg1, arg2)
  2157  	ret0, _ := ret[0].(tlf.ID)
  2158  	ret1, _ := ret[1].(error)
  2159  	return ret0, ret1
  2160  }
  2161  
  2162  // ResolveTeamTLFID indicates an expected call of ResolveTeamTLFID.
  2163  func (mr *MockKBPKIMockRecorder) ResolveTeamTLFID(arg0, arg1, arg2 interface{}) *gomock.Call {
  2164  	mr.mock.ctrl.T.Helper()
  2165  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveTeamTLFID", reflect.TypeOf((*MockKBPKI)(nil).ResolveTeamTLFID), arg0, arg1, arg2)
  2166  }
  2167  
  2168  // VerifyMerkleRoot mocks base method.
  2169  func (m *MockKBPKI) VerifyMerkleRoot(arg0 context.Context, arg1 keybase1.MerkleRootV2, arg2 keybase1.KBFSRoot) error {
  2170  	m.ctrl.T.Helper()
  2171  	ret := m.ctrl.Call(m, "VerifyMerkleRoot", arg0, arg1, arg2)
  2172  	ret0, _ := ret[0].(error)
  2173  	return ret0
  2174  }
  2175  
  2176  // VerifyMerkleRoot indicates an expected call of VerifyMerkleRoot.
  2177  func (mr *MockKBPKIMockRecorder) VerifyMerkleRoot(arg0, arg1, arg2 interface{}) *gomock.Call {
  2178  	mr.mock.ctrl.T.Helper()
  2179  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyMerkleRoot", reflect.TypeOf((*MockKBPKI)(nil).VerifyMerkleRoot), arg0, arg1, arg2)
  2180  }
  2181  
  2182  // MockKeybaseService is a mock of KeybaseService interface.
  2183  type MockKeybaseService struct {
  2184  	ctrl     *gomock.Controller
  2185  	recorder *MockKeybaseServiceMockRecorder
  2186  }
  2187  
  2188  // MockKeybaseServiceMockRecorder is the mock recorder for MockKeybaseService.
  2189  type MockKeybaseServiceMockRecorder struct {
  2190  	mock *MockKeybaseService
  2191  }
  2192  
  2193  // NewMockKeybaseService creates a new mock instance.
  2194  func NewMockKeybaseService(ctrl *gomock.Controller) *MockKeybaseService {
  2195  	mock := &MockKeybaseService{ctrl: ctrl}
  2196  	mock.recorder = &MockKeybaseServiceMockRecorder{mock}
  2197  	return mock
  2198  }
  2199  
  2200  // EXPECT returns an object that allows the caller to indicate expected use.
  2201  func (m *MockKeybaseService) EXPECT() *MockKeybaseServiceMockRecorder {
  2202  	return m.recorder
  2203  }
  2204  
  2205  // ClearCaches mocks base method.
  2206  func (m *MockKeybaseService) ClearCaches(arg0 context.Context) {
  2207  	m.ctrl.T.Helper()
  2208  	m.ctrl.Call(m, "ClearCaches", arg0)
  2209  }
  2210  
  2211  // ClearCaches indicates an expected call of ClearCaches.
  2212  func (mr *MockKeybaseServiceMockRecorder) ClearCaches(arg0 interface{}) *gomock.Call {
  2213  	mr.mock.ctrl.T.Helper()
  2214  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearCaches", reflect.TypeOf((*MockKeybaseService)(nil).ClearCaches), arg0)
  2215  }
  2216  
  2217  // CreateTeamTLF mocks base method.
  2218  func (m *MockKeybaseService) CreateTeamTLF(arg0 context.Context, arg1 keybase1.TeamID, arg2 tlf.ID) error {
  2219  	m.ctrl.T.Helper()
  2220  	ret := m.ctrl.Call(m, "CreateTeamTLF", arg0, arg1, arg2)
  2221  	ret0, _ := ret[0].(error)
  2222  	return ret0
  2223  }
  2224  
  2225  // CreateTeamTLF indicates an expected call of CreateTeamTLF.
  2226  func (mr *MockKeybaseServiceMockRecorder) CreateTeamTLF(arg0, arg1, arg2 interface{}) *gomock.Call {
  2227  	mr.mock.ctrl.T.Helper()
  2228  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTeamTLF", reflect.TypeOf((*MockKeybaseService)(nil).CreateTeamTLF), arg0, arg1, arg2)
  2229  }
  2230  
  2231  // CurrentSession mocks base method.
  2232  func (m *MockKeybaseService) CurrentSession(arg0 context.Context, arg1 int) (idutil.SessionInfo, error) {
  2233  	m.ctrl.T.Helper()
  2234  	ret := m.ctrl.Call(m, "CurrentSession", arg0, arg1)
  2235  	ret0, _ := ret[0].(idutil.SessionInfo)
  2236  	ret1, _ := ret[1].(error)
  2237  	return ret0, ret1
  2238  }
  2239  
  2240  // CurrentSession indicates an expected call of CurrentSession.
  2241  func (mr *MockKeybaseServiceMockRecorder) CurrentSession(arg0, arg1 interface{}) *gomock.Call {
  2242  	mr.mock.ctrl.T.Helper()
  2243  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CurrentSession", reflect.TypeOf((*MockKeybaseService)(nil).CurrentSession), arg0, arg1)
  2244  }
  2245  
  2246  // DecryptFavorites mocks base method.
  2247  func (m *MockKeybaseService) DecryptFavorites(arg0 context.Context, arg1 []byte) ([]byte, error) {
  2248  	m.ctrl.T.Helper()
  2249  	ret := m.ctrl.Call(m, "DecryptFavorites", arg0, arg1)
  2250  	ret0, _ := ret[0].([]byte)
  2251  	ret1, _ := ret[1].(error)
  2252  	return ret0, ret1
  2253  }
  2254  
  2255  // DecryptFavorites indicates an expected call of DecryptFavorites.
  2256  func (mr *MockKeybaseServiceMockRecorder) DecryptFavorites(arg0, arg1 interface{}) *gomock.Call {
  2257  	mr.mock.ctrl.T.Helper()
  2258  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptFavorites", reflect.TypeOf((*MockKeybaseService)(nil).DecryptFavorites), arg0, arg1)
  2259  }
  2260  
  2261  // EncryptFavorites mocks base method.
  2262  func (m *MockKeybaseService) EncryptFavorites(arg0 context.Context, arg1 []byte) ([]byte, error) {
  2263  	m.ctrl.T.Helper()
  2264  	ret := m.ctrl.Call(m, "EncryptFavorites", arg0, arg1)
  2265  	ret0, _ := ret[0].([]byte)
  2266  	ret1, _ := ret[1].(error)
  2267  	return ret0, ret1
  2268  }
  2269  
  2270  // EncryptFavorites indicates an expected call of EncryptFavorites.
  2271  func (mr *MockKeybaseServiceMockRecorder) EncryptFavorites(arg0, arg1 interface{}) *gomock.Call {
  2272  	mr.mock.ctrl.T.Helper()
  2273  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptFavorites", reflect.TypeOf((*MockKeybaseService)(nil).EncryptFavorites), arg0, arg1)
  2274  }
  2275  
  2276  // EstablishMountDir mocks base method.
  2277  func (m *MockKeybaseService) EstablishMountDir(arg0 context.Context) (string, error) {
  2278  	m.ctrl.T.Helper()
  2279  	ret := m.ctrl.Call(m, "EstablishMountDir", arg0)
  2280  	ret0, _ := ret[0].(string)
  2281  	ret1, _ := ret[1].(error)
  2282  	return ret0, ret1
  2283  }
  2284  
  2285  // EstablishMountDir indicates an expected call of EstablishMountDir.
  2286  func (mr *MockKeybaseServiceMockRecorder) EstablishMountDir(arg0 interface{}) *gomock.Call {
  2287  	mr.mock.ctrl.T.Helper()
  2288  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstablishMountDir", reflect.TypeOf((*MockKeybaseService)(nil).EstablishMountDir), arg0)
  2289  }
  2290  
  2291  // FavoriteAdd mocks base method.
  2292  func (m *MockKeybaseService) FavoriteAdd(arg0 context.Context, arg1 keybase1.FolderHandle) error {
  2293  	m.ctrl.T.Helper()
  2294  	ret := m.ctrl.Call(m, "FavoriteAdd", arg0, arg1)
  2295  	ret0, _ := ret[0].(error)
  2296  	return ret0
  2297  }
  2298  
  2299  // FavoriteAdd indicates an expected call of FavoriteAdd.
  2300  func (mr *MockKeybaseServiceMockRecorder) FavoriteAdd(arg0, arg1 interface{}) *gomock.Call {
  2301  	mr.mock.ctrl.T.Helper()
  2302  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteAdd", reflect.TypeOf((*MockKeybaseService)(nil).FavoriteAdd), arg0, arg1)
  2303  }
  2304  
  2305  // FavoriteDelete mocks base method.
  2306  func (m *MockKeybaseService) FavoriteDelete(arg0 context.Context, arg1 keybase1.FolderHandle) error {
  2307  	m.ctrl.T.Helper()
  2308  	ret := m.ctrl.Call(m, "FavoriteDelete", arg0, arg1)
  2309  	ret0, _ := ret[0].(error)
  2310  	return ret0
  2311  }
  2312  
  2313  // FavoriteDelete indicates an expected call of FavoriteDelete.
  2314  func (mr *MockKeybaseServiceMockRecorder) FavoriteDelete(arg0, arg1 interface{}) *gomock.Call {
  2315  	mr.mock.ctrl.T.Helper()
  2316  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteDelete", reflect.TypeOf((*MockKeybaseService)(nil).FavoriteDelete), arg0, arg1)
  2317  }
  2318  
  2319  // FavoriteList mocks base method.
  2320  func (m *MockKeybaseService) FavoriteList(arg0 context.Context, arg1 int) (keybase1.FavoritesResult, error) {
  2321  	m.ctrl.T.Helper()
  2322  	ret := m.ctrl.Call(m, "FavoriteList", arg0, arg1)
  2323  	ret0, _ := ret[0].(keybase1.FavoritesResult)
  2324  	ret1, _ := ret[1].(error)
  2325  	return ret0, ret1
  2326  }
  2327  
  2328  // FavoriteList indicates an expected call of FavoriteList.
  2329  func (mr *MockKeybaseServiceMockRecorder) FavoriteList(arg0, arg1 interface{}) *gomock.Call {
  2330  	mr.mock.ctrl.T.Helper()
  2331  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FavoriteList", reflect.TypeOf((*MockKeybaseService)(nil).FavoriteList), arg0, arg1)
  2332  }
  2333  
  2334  // FlushUserFromLocalCache mocks base method.
  2335  func (m *MockKeybaseService) FlushUserFromLocalCache(arg0 context.Context, arg1 keybase1.UID) {
  2336  	m.ctrl.T.Helper()
  2337  	m.ctrl.Call(m, "FlushUserFromLocalCache", arg0, arg1)
  2338  }
  2339  
  2340  // FlushUserFromLocalCache indicates an expected call of FlushUserFromLocalCache.
  2341  func (mr *MockKeybaseServiceMockRecorder) FlushUserFromLocalCache(arg0, arg1 interface{}) *gomock.Call {
  2342  	mr.mock.ctrl.T.Helper()
  2343  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlushUserFromLocalCache", reflect.TypeOf((*MockKeybaseService)(nil).FlushUserFromLocalCache), arg0, arg1)
  2344  }
  2345  
  2346  // GetCurrentMerkleRoot mocks base method.
  2347  func (m *MockKeybaseService) GetCurrentMerkleRoot(arg0 context.Context) (keybase1.MerkleRootV2, time.Time, error) {
  2348  	m.ctrl.T.Helper()
  2349  	ret := m.ctrl.Call(m, "GetCurrentMerkleRoot", arg0)
  2350  	ret0, _ := ret[0].(keybase1.MerkleRootV2)
  2351  	ret1, _ := ret[1].(time.Time)
  2352  	ret2, _ := ret[2].(error)
  2353  	return ret0, ret1, ret2
  2354  }
  2355  
  2356  // GetCurrentMerkleRoot indicates an expected call of GetCurrentMerkleRoot.
  2357  func (mr *MockKeybaseServiceMockRecorder) GetCurrentMerkleRoot(arg0 interface{}) *gomock.Call {
  2358  	mr.mock.ctrl.T.Helper()
  2359  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentMerkleRoot", reflect.TypeOf((*MockKeybaseService)(nil).GetCurrentMerkleRoot), arg0)
  2360  }
  2361  
  2362  // GetKVStoreClient mocks base method.
  2363  func (m *MockKeybaseService) GetKVStoreClient() keybase1.KvstoreInterface {
  2364  	m.ctrl.T.Helper()
  2365  	ret := m.ctrl.Call(m, "GetKVStoreClient")
  2366  	ret0, _ := ret[0].(keybase1.KvstoreInterface)
  2367  	return ret0
  2368  }
  2369  
  2370  // GetKVStoreClient indicates an expected call of GetKVStoreClient.
  2371  func (mr *MockKeybaseServiceMockRecorder) GetKVStoreClient() *gomock.Call {
  2372  	mr.mock.ctrl.T.Helper()
  2373  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetKVStoreClient", reflect.TypeOf((*MockKeybaseService)(nil).GetKVStoreClient))
  2374  }
  2375  
  2376  // GetKeybaseDaemonRawClient mocks base method.
  2377  func (m *MockKeybaseService) GetKeybaseDaemonRawClient() rpc.GenericClient {
  2378  	m.ctrl.T.Helper()
  2379  	ret := m.ctrl.Call(m, "GetKeybaseDaemonRawClient")
  2380  	ret0, _ := ret[0].(rpc.GenericClient)
  2381  	return ret0
  2382  }
  2383  
  2384  // GetKeybaseDaemonRawClient indicates an expected call of GetKeybaseDaemonRawClient.
  2385  func (mr *MockKeybaseServiceMockRecorder) GetKeybaseDaemonRawClient() *gomock.Call {
  2386  	mr.mock.ctrl.T.Helper()
  2387  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetKeybaseDaemonRawClient", reflect.TypeOf((*MockKeybaseService)(nil).GetKeybaseDaemonRawClient))
  2388  }
  2389  
  2390  // GetTeamSettings mocks base method.
  2391  func (m *MockKeybaseService) GetTeamSettings(arg0 context.Context, arg1 keybase1.TeamID, arg2 keybase1.OfflineAvailability) (keybase1.KBFSTeamSettings, error) {
  2392  	m.ctrl.T.Helper()
  2393  	ret := m.ctrl.Call(m, "GetTeamSettings", arg0, arg1, arg2)
  2394  	ret0, _ := ret[0].(keybase1.KBFSTeamSettings)
  2395  	ret1, _ := ret[1].(error)
  2396  	return ret0, ret1
  2397  }
  2398  
  2399  // GetTeamSettings indicates an expected call of GetTeamSettings.
  2400  func (mr *MockKeybaseServiceMockRecorder) GetTeamSettings(arg0, arg1, arg2 interface{}) *gomock.Call {
  2401  	mr.mock.ctrl.T.Helper()
  2402  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTeamSettings", reflect.TypeOf((*MockKeybaseService)(nil).GetTeamSettings), arg0, arg1, arg2)
  2403  }
  2404  
  2405  // Identify mocks base method.
  2406  func (m *MockKeybaseService) Identify(arg0 context.Context, arg1, arg2 string, arg3 keybase1.OfflineAvailability) (kbun.NormalizedUsername, keybase1.UserOrTeamID, error) {
  2407  	m.ctrl.T.Helper()
  2408  	ret := m.ctrl.Call(m, "Identify", arg0, arg1, arg2, arg3)
  2409  	ret0, _ := ret[0].(kbun.NormalizedUsername)
  2410  	ret1, _ := ret[1].(keybase1.UserOrTeamID)
  2411  	ret2, _ := ret[2].(error)
  2412  	return ret0, ret1, ret2
  2413  }
  2414  
  2415  // Identify indicates an expected call of Identify.
  2416  func (mr *MockKeybaseServiceMockRecorder) Identify(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2417  	mr.mock.ctrl.T.Helper()
  2418  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Identify", reflect.TypeOf((*MockKeybaseService)(nil).Identify), arg0, arg1, arg2, arg3)
  2419  }
  2420  
  2421  // LoadTeamPlusKeys mocks base method.
  2422  func (m *MockKeybaseService) LoadTeamPlusKeys(arg0 context.Context, arg1 keybase1.TeamID, arg2 tlf.Type, arg3 kbfsmd.KeyGen, arg4 keybase1.UserVersion, arg5 kbfscrypto.VerifyingKey, arg6 keybase1.TeamRole, arg7 keybase1.OfflineAvailability) (idutil.TeamInfo, error) {
  2423  	m.ctrl.T.Helper()
  2424  	ret := m.ctrl.Call(m, "LoadTeamPlusKeys", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
  2425  	ret0, _ := ret[0].(idutil.TeamInfo)
  2426  	ret1, _ := ret[1].(error)
  2427  	return ret0, ret1
  2428  }
  2429  
  2430  // LoadTeamPlusKeys indicates an expected call of LoadTeamPlusKeys.
  2431  func (mr *MockKeybaseServiceMockRecorder) LoadTeamPlusKeys(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call {
  2432  	mr.mock.ctrl.T.Helper()
  2433  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadTeamPlusKeys", reflect.TypeOf((*MockKeybaseService)(nil).LoadTeamPlusKeys), arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
  2434  }
  2435  
  2436  // LoadUserPlusKeys mocks base method.
  2437  func (m *MockKeybaseService) LoadUserPlusKeys(arg0 context.Context, arg1 keybase1.UID, arg2 keybase1.KID, arg3 keybase1.OfflineAvailability) (idutil.UserInfo, error) {
  2438  	m.ctrl.T.Helper()
  2439  	ret := m.ctrl.Call(m, "LoadUserPlusKeys", arg0, arg1, arg2, arg3)
  2440  	ret0, _ := ret[0].(idutil.UserInfo)
  2441  	ret1, _ := ret[1].(error)
  2442  	return ret0, ret1
  2443  }
  2444  
  2445  // LoadUserPlusKeys indicates an expected call of LoadUserPlusKeys.
  2446  func (mr *MockKeybaseServiceMockRecorder) LoadUserPlusKeys(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2447  	mr.mock.ctrl.T.Helper()
  2448  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadUserPlusKeys", reflect.TypeOf((*MockKeybaseService)(nil).LoadUserPlusKeys), arg0, arg1, arg2, arg3)
  2449  }
  2450  
  2451  // NormalizeSocialAssertion mocks base method.
  2452  func (m *MockKeybaseService) NormalizeSocialAssertion(arg0 context.Context, arg1 string) (keybase1.SocialAssertion, error) {
  2453  	m.ctrl.T.Helper()
  2454  	ret := m.ctrl.Call(m, "NormalizeSocialAssertion", arg0, arg1)
  2455  	ret0, _ := ret[0].(keybase1.SocialAssertion)
  2456  	ret1, _ := ret[1].(error)
  2457  	return ret0, ret1
  2458  }
  2459  
  2460  // NormalizeSocialAssertion indicates an expected call of NormalizeSocialAssertion.
  2461  func (mr *MockKeybaseServiceMockRecorder) NormalizeSocialAssertion(arg0, arg1 interface{}) *gomock.Call {
  2462  	mr.mock.ctrl.T.Helper()
  2463  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NormalizeSocialAssertion", reflect.TypeOf((*MockKeybaseService)(nil).NormalizeSocialAssertion), arg0, arg1)
  2464  }
  2465  
  2466  // Notify mocks base method.
  2467  func (m *MockKeybaseService) Notify(arg0 context.Context, arg1 *keybase1.FSNotification) error {
  2468  	m.ctrl.T.Helper()
  2469  	ret := m.ctrl.Call(m, "Notify", arg0, arg1)
  2470  	ret0, _ := ret[0].(error)
  2471  	return ret0
  2472  }
  2473  
  2474  // Notify indicates an expected call of Notify.
  2475  func (mr *MockKeybaseServiceMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call {
  2476  	mr.mock.ctrl.T.Helper()
  2477  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Notify", reflect.TypeOf((*MockKeybaseService)(nil).Notify), arg0, arg1)
  2478  }
  2479  
  2480  // NotifyFavoritesChanged mocks base method.
  2481  func (m *MockKeybaseService) NotifyFavoritesChanged(arg0 context.Context) error {
  2482  	m.ctrl.T.Helper()
  2483  	ret := m.ctrl.Call(m, "NotifyFavoritesChanged", arg0)
  2484  	ret0, _ := ret[0].(error)
  2485  	return ret0
  2486  }
  2487  
  2488  // NotifyFavoritesChanged indicates an expected call of NotifyFavoritesChanged.
  2489  func (mr *MockKeybaseServiceMockRecorder) NotifyFavoritesChanged(arg0 interface{}) *gomock.Call {
  2490  	mr.mock.ctrl.T.Helper()
  2491  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyFavoritesChanged", reflect.TypeOf((*MockKeybaseService)(nil).NotifyFavoritesChanged), arg0)
  2492  }
  2493  
  2494  // NotifyOnlineStatusChanged mocks base method.
  2495  func (m *MockKeybaseService) NotifyOnlineStatusChanged(arg0 context.Context, arg1 bool) error {
  2496  	m.ctrl.T.Helper()
  2497  	ret := m.ctrl.Call(m, "NotifyOnlineStatusChanged", arg0, arg1)
  2498  	ret0, _ := ret[0].(error)
  2499  	return ret0
  2500  }
  2501  
  2502  // NotifyOnlineStatusChanged indicates an expected call of NotifyOnlineStatusChanged.
  2503  func (mr *MockKeybaseServiceMockRecorder) NotifyOnlineStatusChanged(arg0, arg1 interface{}) *gomock.Call {
  2504  	mr.mock.ctrl.T.Helper()
  2505  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyOnlineStatusChanged", reflect.TypeOf((*MockKeybaseService)(nil).NotifyOnlineStatusChanged), arg0, arg1)
  2506  }
  2507  
  2508  // NotifyOverallSyncStatus mocks base method.
  2509  func (m *MockKeybaseService) NotifyOverallSyncStatus(arg0 context.Context, arg1 keybase1.FolderSyncStatus) error {
  2510  	m.ctrl.T.Helper()
  2511  	ret := m.ctrl.Call(m, "NotifyOverallSyncStatus", arg0, arg1)
  2512  	ret0, _ := ret[0].(error)
  2513  	return ret0
  2514  }
  2515  
  2516  // NotifyOverallSyncStatus indicates an expected call of NotifyOverallSyncStatus.
  2517  func (mr *MockKeybaseServiceMockRecorder) NotifyOverallSyncStatus(arg0, arg1 interface{}) *gomock.Call {
  2518  	mr.mock.ctrl.T.Helper()
  2519  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyOverallSyncStatus", reflect.TypeOf((*MockKeybaseService)(nil).NotifyOverallSyncStatus), arg0, arg1)
  2520  }
  2521  
  2522  // NotifyPathUpdated mocks base method.
  2523  func (m *MockKeybaseService) NotifyPathUpdated(arg0 context.Context, arg1 string) error {
  2524  	m.ctrl.T.Helper()
  2525  	ret := m.ctrl.Call(m, "NotifyPathUpdated", arg0, arg1)
  2526  	ret0, _ := ret[0].(error)
  2527  	return ret0
  2528  }
  2529  
  2530  // NotifyPathUpdated indicates an expected call of NotifyPathUpdated.
  2531  func (mr *MockKeybaseServiceMockRecorder) NotifyPathUpdated(arg0, arg1 interface{}) *gomock.Call {
  2532  	mr.mock.ctrl.T.Helper()
  2533  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyPathUpdated", reflect.TypeOf((*MockKeybaseService)(nil).NotifyPathUpdated), arg0, arg1)
  2534  }
  2535  
  2536  // NotifySyncStatus mocks base method.
  2537  func (m *MockKeybaseService) NotifySyncStatus(arg0 context.Context, arg1 *keybase1.FSPathSyncStatus) error {
  2538  	m.ctrl.T.Helper()
  2539  	ret := m.ctrl.Call(m, "NotifySyncStatus", arg0, arg1)
  2540  	ret0, _ := ret[0].(error)
  2541  	return ret0
  2542  }
  2543  
  2544  // NotifySyncStatus indicates an expected call of NotifySyncStatus.
  2545  func (mr *MockKeybaseServiceMockRecorder) NotifySyncStatus(arg0, arg1 interface{}) *gomock.Call {
  2546  	mr.mock.ctrl.T.Helper()
  2547  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifySyncStatus", reflect.TypeOf((*MockKeybaseService)(nil).NotifySyncStatus), arg0, arg1)
  2548  }
  2549  
  2550  // OnNonPathChange mocks base method.
  2551  func (m *MockKeybaseService) OnNonPathChange(arg0 SubscriptionManagerClientID, arg1 []SubscriptionID, arg2 keybase1.SubscriptionTopic) {
  2552  	m.ctrl.T.Helper()
  2553  	m.ctrl.Call(m, "OnNonPathChange", arg0, arg1, arg2)
  2554  }
  2555  
  2556  // OnNonPathChange indicates an expected call of OnNonPathChange.
  2557  func (mr *MockKeybaseServiceMockRecorder) OnNonPathChange(arg0, arg1, arg2 interface{}) *gomock.Call {
  2558  	mr.mock.ctrl.T.Helper()
  2559  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnNonPathChange", reflect.TypeOf((*MockKeybaseService)(nil).OnNonPathChange), arg0, arg1, arg2)
  2560  }
  2561  
  2562  // OnPathChange mocks base method.
  2563  func (m *MockKeybaseService) OnPathChange(arg0 SubscriptionManagerClientID, arg1 []SubscriptionID, arg2 string, arg3 []keybase1.PathSubscriptionTopic) {
  2564  	m.ctrl.T.Helper()
  2565  	m.ctrl.Call(m, "OnPathChange", arg0, arg1, arg2, arg3)
  2566  }
  2567  
  2568  // OnPathChange indicates an expected call of OnPathChange.
  2569  func (mr *MockKeybaseServiceMockRecorder) OnPathChange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2570  	mr.mock.ctrl.T.Helper()
  2571  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnPathChange", reflect.TypeOf((*MockKeybaseService)(nil).OnPathChange), arg0, arg1, arg2, arg3)
  2572  }
  2573  
  2574  // PutGitMetadata mocks base method.
  2575  func (m *MockKeybaseService) PutGitMetadata(arg0 context.Context, arg1 keybase1.FolderHandle, arg2 keybase1.RepoID, arg3 keybase1.GitLocalMetadata) error {
  2576  	m.ctrl.T.Helper()
  2577  	ret := m.ctrl.Call(m, "PutGitMetadata", arg0, arg1, arg2, arg3)
  2578  	ret0, _ := ret[0].(error)
  2579  	return ret0
  2580  }
  2581  
  2582  // PutGitMetadata indicates an expected call of PutGitMetadata.
  2583  func (mr *MockKeybaseServiceMockRecorder) PutGitMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  2584  	mr.mock.ctrl.T.Helper()
  2585  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutGitMetadata", reflect.TypeOf((*MockKeybaseService)(nil).PutGitMetadata), arg0, arg1, arg2, arg3)
  2586  }
  2587  
  2588  // Resolve mocks base method.
  2589  func (m *MockKeybaseService) Resolve(arg0 context.Context, arg1 string, arg2 keybase1.OfflineAvailability) (kbun.NormalizedUsername, keybase1.UserOrTeamID, error) {
  2590  	m.ctrl.T.Helper()
  2591  	ret := m.ctrl.Call(m, "Resolve", arg0, arg1, arg2)
  2592  	ret0, _ := ret[0].(kbun.NormalizedUsername)
  2593  	ret1, _ := ret[1].(keybase1.UserOrTeamID)
  2594  	ret2, _ := ret[2].(error)
  2595  	return ret0, ret1, ret2
  2596  }
  2597  
  2598  // Resolve indicates an expected call of Resolve.
  2599  func (mr *MockKeybaseServiceMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call {
  2600  	mr.mock.ctrl.T.Helper()
  2601  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Resolve", reflect.TypeOf((*MockKeybaseService)(nil).Resolve), arg0, arg1, arg2)
  2602  }
  2603  
  2604  // ResolveIdentifyImplicitTeam mocks base method.
  2605  func (m *MockKeybaseService) ResolveIdentifyImplicitTeam(arg0 context.Context, arg1, arg2 string, arg3 tlf.Type, arg4 bool, arg5 string, arg6 keybase1.OfflineAvailability) (idutil.ImplicitTeamInfo, error) {
  2606  	m.ctrl.T.Helper()
  2607  	ret := m.ctrl.Call(m, "ResolveIdentifyImplicitTeam", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  2608  	ret0, _ := ret[0].(idutil.ImplicitTeamInfo)
  2609  	ret1, _ := ret[1].(error)
  2610  	return ret0, ret1
  2611  }
  2612  
  2613  // ResolveIdentifyImplicitTeam indicates an expected call of ResolveIdentifyImplicitTeam.
  2614  func (mr *MockKeybaseServiceMockRecorder) ResolveIdentifyImplicitTeam(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
  2615  	mr.mock.ctrl.T.Helper()
  2616  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveIdentifyImplicitTeam", reflect.TypeOf((*MockKeybaseService)(nil).ResolveIdentifyImplicitTeam), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  2617  }
  2618  
  2619  // ResolveImplicitTeamByID mocks base method.
  2620  func (m *MockKeybaseService) ResolveImplicitTeamByID(arg0 context.Context, arg1 keybase1.TeamID) (string, error) {
  2621  	m.ctrl.T.Helper()
  2622  	ret := m.ctrl.Call(m, "ResolveImplicitTeamByID", arg0, arg1)
  2623  	ret0, _ := ret[0].(string)
  2624  	ret1, _ := ret[1].(error)
  2625  	return ret0, ret1
  2626  }
  2627  
  2628  // ResolveImplicitTeamByID indicates an expected call of ResolveImplicitTeamByID.
  2629  func (mr *MockKeybaseServiceMockRecorder) ResolveImplicitTeamByID(arg0, arg1 interface{}) *gomock.Call {
  2630  	mr.mock.ctrl.T.Helper()
  2631  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveImplicitTeamByID", reflect.TypeOf((*MockKeybaseService)(nil).ResolveImplicitTeamByID), arg0, arg1)
  2632  }
  2633  
  2634  // Shutdown mocks base method.
  2635  func (m *MockKeybaseService) Shutdown() {
  2636  	m.ctrl.T.Helper()
  2637  	m.ctrl.Call(m, "Shutdown")
  2638  }
  2639  
  2640  // Shutdown indicates an expected call of Shutdown.
  2641  func (mr *MockKeybaseServiceMockRecorder) Shutdown() *gomock.Call {
  2642  	mr.mock.ctrl.T.Helper()
  2643  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockKeybaseService)(nil).Shutdown))
  2644  }
  2645  
  2646  // VerifyMerkleRoot mocks base method.
  2647  func (m *MockKeybaseService) VerifyMerkleRoot(arg0 context.Context, arg1 keybase1.MerkleRootV2, arg2 keybase1.KBFSRoot) error {
  2648  	m.ctrl.T.Helper()
  2649  	ret := m.ctrl.Call(m, "VerifyMerkleRoot", arg0, arg1, arg2)
  2650  	ret0, _ := ret[0].(error)
  2651  	return ret0
  2652  }
  2653  
  2654  // VerifyMerkleRoot indicates an expected call of VerifyMerkleRoot.
  2655  func (mr *MockKeybaseServiceMockRecorder) VerifyMerkleRoot(arg0, arg1, arg2 interface{}) *gomock.Call {
  2656  	mr.mock.ctrl.T.Helper()
  2657  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyMerkleRoot", reflect.TypeOf((*MockKeybaseService)(nil).VerifyMerkleRoot), arg0, arg1, arg2)
  2658  }
  2659  
  2660  // MockKeyCache is a mock of KeyCache interface.
  2661  type MockKeyCache struct {
  2662  	ctrl     *gomock.Controller
  2663  	recorder *MockKeyCacheMockRecorder
  2664  }
  2665  
  2666  // MockKeyCacheMockRecorder is the mock recorder for MockKeyCache.
  2667  type MockKeyCacheMockRecorder struct {
  2668  	mock *MockKeyCache
  2669  }
  2670  
  2671  // NewMockKeyCache creates a new mock instance.
  2672  func NewMockKeyCache(ctrl *gomock.Controller) *MockKeyCache {
  2673  	mock := &MockKeyCache{ctrl: ctrl}
  2674  	mock.recorder = &MockKeyCacheMockRecorder{mock}
  2675  	return mock
  2676  }
  2677  
  2678  // EXPECT returns an object that allows the caller to indicate expected use.
  2679  func (m *MockKeyCache) EXPECT() *MockKeyCacheMockRecorder {
  2680  	return m.recorder
  2681  }
  2682  
  2683  // GetTLFCryptKey mocks base method.
  2684  func (m *MockKeyCache) GetTLFCryptKey(arg0 tlf.ID, arg1 kbfsmd.KeyGen) (kbfscrypto.TLFCryptKey, error) {
  2685  	m.ctrl.T.Helper()
  2686  	ret := m.ctrl.Call(m, "GetTLFCryptKey", arg0, arg1)
  2687  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKey)
  2688  	ret1, _ := ret[1].(error)
  2689  	return ret0, ret1
  2690  }
  2691  
  2692  // GetTLFCryptKey indicates an expected call of GetTLFCryptKey.
  2693  func (mr *MockKeyCacheMockRecorder) GetTLFCryptKey(arg0, arg1 interface{}) *gomock.Call {
  2694  	mr.mock.ctrl.T.Helper()
  2695  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKey", reflect.TypeOf((*MockKeyCache)(nil).GetTLFCryptKey), arg0, arg1)
  2696  }
  2697  
  2698  // PutTLFCryptKey mocks base method.
  2699  func (m *MockKeyCache) PutTLFCryptKey(arg0 tlf.ID, arg1 kbfsmd.KeyGen, arg2 kbfscrypto.TLFCryptKey) error {
  2700  	m.ctrl.T.Helper()
  2701  	ret := m.ctrl.Call(m, "PutTLFCryptKey", arg0, arg1, arg2)
  2702  	ret0, _ := ret[0].(error)
  2703  	return ret0
  2704  }
  2705  
  2706  // PutTLFCryptKey indicates an expected call of PutTLFCryptKey.
  2707  func (mr *MockKeyCacheMockRecorder) PutTLFCryptKey(arg0, arg1, arg2 interface{}) *gomock.Call {
  2708  	mr.mock.ctrl.T.Helper()
  2709  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutTLFCryptKey", reflect.TypeOf((*MockKeyCache)(nil).PutTLFCryptKey), arg0, arg1, arg2)
  2710  }
  2711  
  2712  // MockKeyManager is a mock of KeyManager interface.
  2713  type MockKeyManager struct {
  2714  	ctrl     *gomock.Controller
  2715  	recorder *MockKeyManagerMockRecorder
  2716  }
  2717  
  2718  // MockKeyManagerMockRecorder is the mock recorder for MockKeyManager.
  2719  type MockKeyManagerMockRecorder struct {
  2720  	mock *MockKeyManager
  2721  }
  2722  
  2723  // NewMockKeyManager creates a new mock instance.
  2724  func NewMockKeyManager(ctrl *gomock.Controller) *MockKeyManager {
  2725  	mock := &MockKeyManager{ctrl: ctrl}
  2726  	mock.recorder = &MockKeyManagerMockRecorder{mock}
  2727  	return mock
  2728  }
  2729  
  2730  // EXPECT returns an object that allows the caller to indicate expected use.
  2731  func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder {
  2732  	return m.recorder
  2733  }
  2734  
  2735  // GetFirstTLFCryptKey mocks base method.
  2736  func (m *MockKeyManager) GetFirstTLFCryptKey(arg0 context.Context, arg1 libkey.KeyMetadata) (kbfscrypto.TLFCryptKey, error) {
  2737  	m.ctrl.T.Helper()
  2738  	ret := m.ctrl.Call(m, "GetFirstTLFCryptKey", arg0, arg1)
  2739  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKey)
  2740  	ret1, _ := ret[1].(error)
  2741  	return ret0, ret1
  2742  }
  2743  
  2744  // GetFirstTLFCryptKey indicates an expected call of GetFirstTLFCryptKey.
  2745  func (mr *MockKeyManagerMockRecorder) GetFirstTLFCryptKey(arg0, arg1 interface{}) *gomock.Call {
  2746  	mr.mock.ctrl.T.Helper()
  2747  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFirstTLFCryptKey", reflect.TypeOf((*MockKeyManager)(nil).GetFirstTLFCryptKey), arg0, arg1)
  2748  }
  2749  
  2750  // GetTLFCryptKeyForBlockDecryption mocks base method.
  2751  func (m *MockKeyManager) GetTLFCryptKeyForBlockDecryption(arg0 context.Context, arg1 libkey.KeyMetadata, arg2 data.BlockPointer) (kbfscrypto.TLFCryptKey, error) {
  2752  	m.ctrl.T.Helper()
  2753  	ret := m.ctrl.Call(m, "GetTLFCryptKeyForBlockDecryption", arg0, arg1, arg2)
  2754  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKey)
  2755  	ret1, _ := ret[1].(error)
  2756  	return ret0, ret1
  2757  }
  2758  
  2759  // GetTLFCryptKeyForBlockDecryption indicates an expected call of GetTLFCryptKeyForBlockDecryption.
  2760  func (mr *MockKeyManagerMockRecorder) GetTLFCryptKeyForBlockDecryption(arg0, arg1, arg2 interface{}) *gomock.Call {
  2761  	mr.mock.ctrl.T.Helper()
  2762  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKeyForBlockDecryption", reflect.TypeOf((*MockKeyManager)(nil).GetTLFCryptKeyForBlockDecryption), arg0, arg1, arg2)
  2763  }
  2764  
  2765  // GetTLFCryptKeyForEncryption mocks base method.
  2766  func (m *MockKeyManager) GetTLFCryptKeyForEncryption(arg0 context.Context, arg1 libkey.KeyMetadata) (kbfscrypto.TLFCryptKey, error) {
  2767  	m.ctrl.T.Helper()
  2768  	ret := m.ctrl.Call(m, "GetTLFCryptKeyForEncryption", arg0, arg1)
  2769  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKey)
  2770  	ret1, _ := ret[1].(error)
  2771  	return ret0, ret1
  2772  }
  2773  
  2774  // GetTLFCryptKeyForEncryption indicates an expected call of GetTLFCryptKeyForEncryption.
  2775  func (mr *MockKeyManagerMockRecorder) GetTLFCryptKeyForEncryption(arg0, arg1 interface{}) *gomock.Call {
  2776  	mr.mock.ctrl.T.Helper()
  2777  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKeyForEncryption", reflect.TypeOf((*MockKeyManager)(nil).GetTLFCryptKeyForEncryption), arg0, arg1)
  2778  }
  2779  
  2780  // GetTLFCryptKeyForMDDecryption mocks base method.
  2781  func (m *MockKeyManager) GetTLFCryptKeyForMDDecryption(arg0 context.Context, arg1, arg2 libkey.KeyMetadata) (kbfscrypto.TLFCryptKey, error) {
  2782  	m.ctrl.T.Helper()
  2783  	ret := m.ctrl.Call(m, "GetTLFCryptKeyForMDDecryption", arg0, arg1, arg2)
  2784  	ret0, _ := ret[0].(kbfscrypto.TLFCryptKey)
  2785  	ret1, _ := ret[1].(error)
  2786  	return ret0, ret1
  2787  }
  2788  
  2789  // GetTLFCryptKeyForMDDecryption indicates an expected call of GetTLFCryptKeyForMDDecryption.
  2790  func (mr *MockKeyManagerMockRecorder) GetTLFCryptKeyForMDDecryption(arg0, arg1, arg2 interface{}) *gomock.Call {
  2791  	mr.mock.ctrl.T.Helper()
  2792  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKeyForMDDecryption", reflect.TypeOf((*MockKeyManager)(nil).GetTLFCryptKeyForMDDecryption), arg0, arg1, arg2)
  2793  }
  2794  
  2795  // GetTLFCryptKeyOfAllGenerations mocks base method.
  2796  func (m *MockKeyManager) GetTLFCryptKeyOfAllGenerations(arg0 context.Context, arg1 libkey.KeyMetadata) ([]kbfscrypto.TLFCryptKey, error) {
  2797  	m.ctrl.T.Helper()
  2798  	ret := m.ctrl.Call(m, "GetTLFCryptKeyOfAllGenerations", arg0, arg1)
  2799  	ret0, _ := ret[0].([]kbfscrypto.TLFCryptKey)
  2800  	ret1, _ := ret[1].(error)
  2801  	return ret0, ret1
  2802  }
  2803  
  2804  // GetTLFCryptKeyOfAllGenerations indicates an expected call of GetTLFCryptKeyOfAllGenerations.
  2805  func (mr *MockKeyManagerMockRecorder) GetTLFCryptKeyOfAllGenerations(arg0, arg1 interface{}) *gomock.Call {
  2806  	mr.mock.ctrl.T.Helper()
  2807  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTLFCryptKeyOfAllGenerations", reflect.TypeOf((*MockKeyManager)(nil).GetTLFCryptKeyOfAllGenerations), arg0, arg1)
  2808  }
  2809  
  2810  // Rekey mocks base method.
  2811  func (m *MockKeyManager) Rekey(arg0 context.Context, arg1 *RootMetadata, arg2 bool) (bool, *kbfscrypto.TLFCryptKey, error) {
  2812  	m.ctrl.T.Helper()
  2813  	ret := m.ctrl.Call(m, "Rekey", arg0, arg1, arg2)
  2814  	ret0, _ := ret[0].(bool)
  2815  	ret1, _ := ret[1].(*kbfscrypto.TLFCryptKey)
  2816  	ret2, _ := ret[2].(error)
  2817  	return ret0, ret1, ret2
  2818  }
  2819  
  2820  // Rekey indicates an expected call of Rekey.
  2821  func (mr *MockKeyManagerMockRecorder) Rekey(arg0, arg1, arg2 interface{}) *gomock.Call {
  2822  	mr.mock.ctrl.T.Helper()
  2823  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rekey", reflect.TypeOf((*MockKeyManager)(nil).Rekey), arg0, arg1, arg2)
  2824  }
  2825  
  2826  // MockMDCache is a mock of MDCache interface.
  2827  type MockMDCache struct {
  2828  	ctrl     *gomock.Controller
  2829  	recorder *MockMDCacheMockRecorder
  2830  }
  2831  
  2832  // MockMDCacheMockRecorder is the mock recorder for MockMDCache.
  2833  type MockMDCacheMockRecorder struct {
  2834  	mock *MockMDCache
  2835  }
  2836  
  2837  // NewMockMDCache creates a new mock instance.
  2838  func NewMockMDCache(ctrl *gomock.Controller) *MockMDCache {
  2839  	mock := &MockMDCache{ctrl: ctrl}
  2840  	mock.recorder = &MockMDCacheMockRecorder{mock}
  2841  	return mock
  2842  }
  2843  
  2844  // EXPECT returns an object that allows the caller to indicate expected use.
  2845  func (m *MockMDCache) EXPECT() *MockMDCacheMockRecorder {
  2846  	return m.recorder
  2847  }
  2848  
  2849  // ChangeHandleForID mocks base method.
  2850  func (m *MockMDCache) ChangeHandleForID(arg0, arg1 *tlfhandle.Handle) {
  2851  	m.ctrl.T.Helper()
  2852  	m.ctrl.Call(m, "ChangeHandleForID", arg0, arg1)
  2853  }
  2854  
  2855  // ChangeHandleForID indicates an expected call of ChangeHandleForID.
  2856  func (mr *MockMDCacheMockRecorder) ChangeHandleForID(arg0, arg1 interface{}) *gomock.Call {
  2857  	mr.mock.ctrl.T.Helper()
  2858  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeHandleForID", reflect.TypeOf((*MockMDCache)(nil).ChangeHandleForID), arg0, arg1)
  2859  }
  2860  
  2861  // Delete mocks base method.
  2862  func (m *MockMDCache) Delete(arg0 tlf.ID, arg1 kbfsmd.Revision, arg2 kbfsmd.BranchID) {
  2863  	m.ctrl.T.Helper()
  2864  	m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
  2865  }
  2866  
  2867  // Delete indicates an expected call of Delete.
  2868  func (mr *MockMDCacheMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
  2869  	mr.mock.ctrl.T.Helper()
  2870  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockMDCache)(nil).Delete), arg0, arg1, arg2)
  2871  }
  2872  
  2873  // Get mocks base method.
  2874  func (m *MockMDCache) Get(arg0 tlf.ID, arg1 kbfsmd.Revision, arg2 kbfsmd.BranchID) (ImmutableRootMetadata, error) {
  2875  	m.ctrl.T.Helper()
  2876  	ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
  2877  	ret0, _ := ret[0].(ImmutableRootMetadata)
  2878  	ret1, _ := ret[1].(error)
  2879  	return ret0, ret1
  2880  }
  2881  
  2882  // Get indicates an expected call of Get.
  2883  func (mr *MockMDCacheMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call {
  2884  	mr.mock.ctrl.T.Helper()
  2885  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMDCache)(nil).Get), arg0, arg1, arg2)
  2886  }
  2887  
  2888  // GetIDForHandle mocks base method.
  2889  func (m *MockMDCache) GetIDForHandle(arg0 *tlfhandle.Handle) (tlf.ID, error) {
  2890  	m.ctrl.T.Helper()
  2891  	ret := m.ctrl.Call(m, "GetIDForHandle", arg0)
  2892  	ret0, _ := ret[0].(tlf.ID)
  2893  	ret1, _ := ret[1].(error)
  2894  	return ret0, ret1
  2895  }
  2896  
  2897  // GetIDForHandle indicates an expected call of GetIDForHandle.
  2898  func (mr *MockMDCacheMockRecorder) GetIDForHandle(arg0 interface{}) *gomock.Call {
  2899  	mr.mock.ctrl.T.Helper()
  2900  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIDForHandle", reflect.TypeOf((*MockMDCache)(nil).GetIDForHandle), arg0)
  2901  }
  2902  
  2903  // GetNextMD mocks base method.
  2904  func (m *MockMDCache) GetNextMD(arg0 tlf.ID, arg1 keybase1.Seqno) (*kbfsmd.MerkleRoot, [][]byte, keybase1.Seqno, error) {
  2905  	m.ctrl.T.Helper()
  2906  	ret := m.ctrl.Call(m, "GetNextMD", arg0, arg1)
  2907  	ret0, _ := ret[0].(*kbfsmd.MerkleRoot)
  2908  	ret1, _ := ret[1].([][]byte)
  2909  	ret2, _ := ret[2].(keybase1.Seqno)
  2910  	ret3, _ := ret[3].(error)
  2911  	return ret0, ret1, ret2, ret3
  2912  }
  2913  
  2914  // GetNextMD indicates an expected call of GetNextMD.
  2915  func (mr *MockMDCacheMockRecorder) GetNextMD(arg0, arg1 interface{}) *gomock.Call {
  2916  	mr.mock.ctrl.T.Helper()
  2917  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNextMD", reflect.TypeOf((*MockMDCache)(nil).GetNextMD), arg0, arg1)
  2918  }
  2919  
  2920  // MarkPutToServer mocks base method.
  2921  func (m *MockMDCache) MarkPutToServer(arg0 tlf.ID, arg1 kbfsmd.Revision, arg2 kbfsmd.BranchID) {
  2922  	m.ctrl.T.Helper()
  2923  	m.ctrl.Call(m, "MarkPutToServer", arg0, arg1, arg2)
  2924  }
  2925  
  2926  // MarkPutToServer indicates an expected call of MarkPutToServer.
  2927  func (mr *MockMDCacheMockRecorder) MarkPutToServer(arg0, arg1, arg2 interface{}) *gomock.Call {
  2928  	mr.mock.ctrl.T.Helper()
  2929  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarkPutToServer", reflect.TypeOf((*MockMDCache)(nil).MarkPutToServer), arg0, arg1, arg2)
  2930  }
  2931  
  2932  // Put mocks base method.
  2933  func (m *MockMDCache) Put(arg0 ImmutableRootMetadata) error {
  2934  	m.ctrl.T.Helper()
  2935  	ret := m.ctrl.Call(m, "Put", arg0)
  2936  	ret0, _ := ret[0].(error)
  2937  	return ret0
  2938  }
  2939  
  2940  // Put indicates an expected call of Put.
  2941  func (mr *MockMDCacheMockRecorder) Put(arg0 interface{}) *gomock.Call {
  2942  	mr.mock.ctrl.T.Helper()
  2943  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMDCache)(nil).Put), arg0)
  2944  }
  2945  
  2946  // PutIDForHandle mocks base method.
  2947  func (m *MockMDCache) PutIDForHandle(arg0 *tlfhandle.Handle, arg1 tlf.ID) error {
  2948  	m.ctrl.T.Helper()
  2949  	ret := m.ctrl.Call(m, "PutIDForHandle", arg0, arg1)
  2950  	ret0, _ := ret[0].(error)
  2951  	return ret0
  2952  }
  2953  
  2954  // PutIDForHandle indicates an expected call of PutIDForHandle.
  2955  func (mr *MockMDCacheMockRecorder) PutIDForHandle(arg0, arg1 interface{}) *gomock.Call {
  2956  	mr.mock.ctrl.T.Helper()
  2957  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIDForHandle", reflect.TypeOf((*MockMDCache)(nil).PutIDForHandle), arg0, arg1)
  2958  }
  2959  
  2960  // PutNextMD mocks base method.
  2961  func (m *MockMDCache) PutNextMD(arg0 tlf.ID, arg1 keybase1.Seqno, arg2 *kbfsmd.MerkleRoot, arg3 [][]byte, arg4 keybase1.Seqno) error {
  2962  	m.ctrl.T.Helper()
  2963  	ret := m.ctrl.Call(m, "PutNextMD", arg0, arg1, arg2, arg3, arg4)
  2964  	ret0, _ := ret[0].(error)
  2965  	return ret0
  2966  }
  2967  
  2968  // PutNextMD indicates an expected call of PutNextMD.
  2969  func (mr *MockMDCacheMockRecorder) PutNextMD(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  2970  	mr.mock.ctrl.T.Helper()
  2971  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutNextMD", reflect.TypeOf((*MockMDCache)(nil).PutNextMD), arg0, arg1, arg2, arg3, arg4)
  2972  }
  2973  
  2974  // Replace mocks base method.
  2975  func (m *MockMDCache) Replace(arg0 ImmutableRootMetadata, arg1 kbfsmd.BranchID) error {
  2976  	m.ctrl.T.Helper()
  2977  	ret := m.ctrl.Call(m, "Replace", arg0, arg1)
  2978  	ret0, _ := ret[0].(error)
  2979  	return ret0
  2980  }
  2981  
  2982  // Replace indicates an expected call of Replace.
  2983  func (mr *MockMDCacheMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call {
  2984  	mr.mock.ctrl.T.Helper()
  2985  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replace", reflect.TypeOf((*MockMDCache)(nil).Replace), arg0, arg1)
  2986  }
  2987  
  2988  // MockMDOps is a mock of MDOps interface.
  2989  type MockMDOps struct {
  2990  	ctrl     *gomock.Controller
  2991  	recorder *MockMDOpsMockRecorder
  2992  }
  2993  
  2994  // MockMDOpsMockRecorder is the mock recorder for MockMDOps.
  2995  type MockMDOpsMockRecorder struct {
  2996  	mock *MockMDOps
  2997  }
  2998  
  2999  // NewMockMDOps creates a new mock instance.
  3000  func NewMockMDOps(ctrl *gomock.Controller) *MockMDOps {
  3001  	mock := &MockMDOps{ctrl: ctrl}
  3002  	mock.recorder = &MockMDOpsMockRecorder{mock}
  3003  	return mock
  3004  }
  3005  
  3006  // EXPECT returns an object that allows the caller to indicate expected use.
  3007  func (m *MockMDOps) EXPECT() *MockMDOpsMockRecorder {
  3008  	return m.recorder
  3009  }
  3010  
  3011  // GetForTLF mocks base method.
  3012  func (m *MockMDOps) GetForTLF(arg0 context.Context, arg1 tlf.ID, arg2 *keybase1.LockID) (ImmutableRootMetadata, error) {
  3013  	m.ctrl.T.Helper()
  3014  	ret := m.ctrl.Call(m, "GetForTLF", arg0, arg1, arg2)
  3015  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3016  	ret1, _ := ret[1].(error)
  3017  	return ret0, ret1
  3018  }
  3019  
  3020  // GetForTLF indicates an expected call of GetForTLF.
  3021  func (mr *MockMDOpsMockRecorder) GetForTLF(arg0, arg1, arg2 interface{}) *gomock.Call {
  3022  	mr.mock.ctrl.T.Helper()
  3023  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetForTLF", reflect.TypeOf((*MockMDOps)(nil).GetForTLF), arg0, arg1, arg2)
  3024  }
  3025  
  3026  // GetForTLFByTime mocks base method.
  3027  func (m *MockMDOps) GetForTLFByTime(arg0 context.Context, arg1 tlf.ID, arg2 time.Time) (ImmutableRootMetadata, error) {
  3028  	m.ctrl.T.Helper()
  3029  	ret := m.ctrl.Call(m, "GetForTLFByTime", arg0, arg1, arg2)
  3030  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3031  	ret1, _ := ret[1].(error)
  3032  	return ret0, ret1
  3033  }
  3034  
  3035  // GetForTLFByTime indicates an expected call of GetForTLFByTime.
  3036  func (mr *MockMDOpsMockRecorder) GetForTLFByTime(arg0, arg1, arg2 interface{}) *gomock.Call {
  3037  	mr.mock.ctrl.T.Helper()
  3038  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetForTLFByTime", reflect.TypeOf((*MockMDOps)(nil).GetForTLFByTime), arg0, arg1, arg2)
  3039  }
  3040  
  3041  // GetIDForHandle mocks base method.
  3042  func (m *MockMDOps) GetIDForHandle(arg0 context.Context, arg1 *tlfhandle.Handle) (tlf.ID, error) {
  3043  	m.ctrl.T.Helper()
  3044  	ret := m.ctrl.Call(m, "GetIDForHandle", arg0, arg1)
  3045  	ret0, _ := ret[0].(tlf.ID)
  3046  	ret1, _ := ret[1].(error)
  3047  	return ret0, ret1
  3048  }
  3049  
  3050  // GetIDForHandle indicates an expected call of GetIDForHandle.
  3051  func (mr *MockMDOpsMockRecorder) GetIDForHandle(arg0, arg1 interface{}) *gomock.Call {
  3052  	mr.mock.ctrl.T.Helper()
  3053  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIDForHandle", reflect.TypeOf((*MockMDOps)(nil).GetIDForHandle), arg0, arg1)
  3054  }
  3055  
  3056  // GetLatestHandleForTLF mocks base method.
  3057  func (m *MockMDOps) GetLatestHandleForTLF(arg0 context.Context, arg1 tlf.ID) (tlf.Handle, error) {
  3058  	m.ctrl.T.Helper()
  3059  	ret := m.ctrl.Call(m, "GetLatestHandleForTLF", arg0, arg1)
  3060  	ret0, _ := ret[0].(tlf.Handle)
  3061  	ret1, _ := ret[1].(error)
  3062  	return ret0, ret1
  3063  }
  3064  
  3065  // GetLatestHandleForTLF indicates an expected call of GetLatestHandleForTLF.
  3066  func (mr *MockMDOpsMockRecorder) GetLatestHandleForTLF(arg0, arg1 interface{}) *gomock.Call {
  3067  	mr.mock.ctrl.T.Helper()
  3068  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLatestHandleForTLF", reflect.TypeOf((*MockMDOps)(nil).GetLatestHandleForTLF), arg0, arg1)
  3069  }
  3070  
  3071  // GetRange mocks base method.
  3072  func (m *MockMDOps) GetRange(arg0 context.Context, arg1 tlf.ID, arg2, arg3 kbfsmd.Revision, arg4 *keybase1.LockID) ([]ImmutableRootMetadata, error) {
  3073  	m.ctrl.T.Helper()
  3074  	ret := m.ctrl.Call(m, "GetRange", arg0, arg1, arg2, arg3, arg4)
  3075  	ret0, _ := ret[0].([]ImmutableRootMetadata)
  3076  	ret1, _ := ret[1].(error)
  3077  	return ret0, ret1
  3078  }
  3079  
  3080  // GetRange indicates an expected call of GetRange.
  3081  func (mr *MockMDOpsMockRecorder) GetRange(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  3082  	mr.mock.ctrl.T.Helper()
  3083  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRange", reflect.TypeOf((*MockMDOps)(nil).GetRange), arg0, arg1, arg2, arg3, arg4)
  3084  }
  3085  
  3086  // GetUnmergedForTLF mocks base method.
  3087  func (m *MockMDOps) GetUnmergedForTLF(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID) (ImmutableRootMetadata, error) {
  3088  	m.ctrl.T.Helper()
  3089  	ret := m.ctrl.Call(m, "GetUnmergedForTLF", arg0, arg1, arg2)
  3090  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3091  	ret1, _ := ret[1].(error)
  3092  	return ret0, ret1
  3093  }
  3094  
  3095  // GetUnmergedForTLF indicates an expected call of GetUnmergedForTLF.
  3096  func (mr *MockMDOpsMockRecorder) GetUnmergedForTLF(arg0, arg1, arg2 interface{}) *gomock.Call {
  3097  	mr.mock.ctrl.T.Helper()
  3098  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUnmergedForTLF", reflect.TypeOf((*MockMDOps)(nil).GetUnmergedForTLF), arg0, arg1, arg2)
  3099  }
  3100  
  3101  // GetUnmergedRange mocks base method.
  3102  func (m *MockMDOps) GetUnmergedRange(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID, arg3, arg4 kbfsmd.Revision) ([]ImmutableRootMetadata, error) {
  3103  	m.ctrl.T.Helper()
  3104  	ret := m.ctrl.Call(m, "GetUnmergedRange", arg0, arg1, arg2, arg3, arg4)
  3105  	ret0, _ := ret[0].([]ImmutableRootMetadata)
  3106  	ret1, _ := ret[1].(error)
  3107  	return ret0, ret1
  3108  }
  3109  
  3110  // GetUnmergedRange indicates an expected call of GetUnmergedRange.
  3111  func (mr *MockMDOpsMockRecorder) GetUnmergedRange(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  3112  	mr.mock.ctrl.T.Helper()
  3113  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUnmergedRange", reflect.TypeOf((*MockMDOps)(nil).GetUnmergedRange), arg0, arg1, arg2, arg3, arg4)
  3114  }
  3115  
  3116  // PruneBranch mocks base method.
  3117  func (m *MockMDOps) PruneBranch(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID) error {
  3118  	m.ctrl.T.Helper()
  3119  	ret := m.ctrl.Call(m, "PruneBranch", arg0, arg1, arg2)
  3120  	ret0, _ := ret[0].(error)
  3121  	return ret0
  3122  }
  3123  
  3124  // PruneBranch indicates an expected call of PruneBranch.
  3125  func (mr *MockMDOpsMockRecorder) PruneBranch(arg0, arg1, arg2 interface{}) *gomock.Call {
  3126  	mr.mock.ctrl.T.Helper()
  3127  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PruneBranch", reflect.TypeOf((*MockMDOps)(nil).PruneBranch), arg0, arg1, arg2)
  3128  }
  3129  
  3130  // Put mocks base method.
  3131  func (m *MockMDOps) Put(arg0 context.Context, arg1 *RootMetadata, arg2 kbfscrypto.VerifyingKey, arg3 *keybase1.LockContext, arg4 keybase1.MDPriority, arg5 data.BlockPutState) (ImmutableRootMetadata, error) {
  3132  	m.ctrl.T.Helper()
  3133  	ret := m.ctrl.Call(m, "Put", arg0, arg1, arg2, arg3, arg4, arg5)
  3134  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3135  	ret1, _ := ret[1].(error)
  3136  	return ret0, ret1
  3137  }
  3138  
  3139  // Put indicates an expected call of Put.
  3140  func (mr *MockMDOpsMockRecorder) Put(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call {
  3141  	mr.mock.ctrl.T.Helper()
  3142  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMDOps)(nil).Put), arg0, arg1, arg2, arg3, arg4, arg5)
  3143  }
  3144  
  3145  // PutUnmerged mocks base method.
  3146  func (m *MockMDOps) PutUnmerged(arg0 context.Context, arg1 *RootMetadata, arg2 kbfscrypto.VerifyingKey, arg3 data.BlockPutState) (ImmutableRootMetadata, error) {
  3147  	m.ctrl.T.Helper()
  3148  	ret := m.ctrl.Call(m, "PutUnmerged", arg0, arg1, arg2, arg3)
  3149  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3150  	ret1, _ := ret[1].(error)
  3151  	return ret0, ret1
  3152  }
  3153  
  3154  // PutUnmerged indicates an expected call of PutUnmerged.
  3155  func (mr *MockMDOpsMockRecorder) PutUnmerged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  3156  	mr.mock.ctrl.T.Helper()
  3157  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutUnmerged", reflect.TypeOf((*MockMDOps)(nil).PutUnmerged), arg0, arg1, arg2, arg3)
  3158  }
  3159  
  3160  // ResolveBranch mocks base method.
  3161  func (m *MockMDOps) ResolveBranch(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID, arg3 []kbfsblock.ID, arg4 *RootMetadata, arg5 kbfscrypto.VerifyingKey, arg6 data.BlockPutState) (ImmutableRootMetadata, error) {
  3162  	m.ctrl.T.Helper()
  3163  	ret := m.ctrl.Call(m, "ResolveBranch", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  3164  	ret0, _ := ret[0].(ImmutableRootMetadata)
  3165  	ret1, _ := ret[1].(error)
  3166  	return ret0, ret1
  3167  }
  3168  
  3169  // ResolveBranch indicates an expected call of ResolveBranch.
  3170  func (mr *MockMDOpsMockRecorder) ResolveBranch(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
  3171  	mr.mock.ctrl.T.Helper()
  3172  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResolveBranch", reflect.TypeOf((*MockMDOps)(nil).ResolveBranch), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  3173  }
  3174  
  3175  // ValidateLatestHandleNotFinal mocks base method.
  3176  func (m *MockMDOps) ValidateLatestHandleNotFinal(arg0 context.Context, arg1 *tlfhandle.Handle) (bool, error) {
  3177  	m.ctrl.T.Helper()
  3178  	ret := m.ctrl.Call(m, "ValidateLatestHandleNotFinal", arg0, arg1)
  3179  	ret0, _ := ret[0].(bool)
  3180  	ret1, _ := ret[1].(error)
  3181  	return ret0, ret1
  3182  }
  3183  
  3184  // ValidateLatestHandleNotFinal indicates an expected call of ValidateLatestHandleNotFinal.
  3185  func (mr *MockMDOpsMockRecorder) ValidateLatestHandleNotFinal(arg0, arg1 interface{}) *gomock.Call {
  3186  	mr.mock.ctrl.T.Helper()
  3187  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateLatestHandleNotFinal", reflect.TypeOf((*MockMDOps)(nil).ValidateLatestHandleNotFinal), arg0, arg1)
  3188  }
  3189  
  3190  // MockMDServer is a mock of MDServer interface.
  3191  type MockMDServer struct {
  3192  	ctrl     *gomock.Controller
  3193  	recorder *MockMDServerMockRecorder
  3194  }
  3195  
  3196  // MockMDServerMockRecorder is the mock recorder for MockMDServer.
  3197  type MockMDServerMockRecorder struct {
  3198  	mock *MockMDServer
  3199  }
  3200  
  3201  // NewMockMDServer creates a new mock instance.
  3202  func NewMockMDServer(ctrl *gomock.Controller) *MockMDServer {
  3203  	mock := &MockMDServer{ctrl: ctrl}
  3204  	mock.recorder = &MockMDServerMockRecorder{mock}
  3205  	return mock
  3206  }
  3207  
  3208  // EXPECT returns an object that allows the caller to indicate expected use.
  3209  func (m *MockMDServer) EXPECT() *MockMDServerMockRecorder {
  3210  	return m.recorder
  3211  }
  3212  
  3213  // CancelRegistration mocks base method.
  3214  func (m *MockMDServer) CancelRegistration(arg0 context.Context, arg1 tlf.ID) {
  3215  	m.ctrl.T.Helper()
  3216  	m.ctrl.Call(m, "CancelRegistration", arg0, arg1)
  3217  }
  3218  
  3219  // CancelRegistration indicates an expected call of CancelRegistration.
  3220  func (mr *MockMDServerMockRecorder) CancelRegistration(arg0, arg1 interface{}) *gomock.Call {
  3221  	mr.mock.ctrl.T.Helper()
  3222  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelRegistration", reflect.TypeOf((*MockMDServer)(nil).CancelRegistration), arg0, arg1)
  3223  }
  3224  
  3225  // CheckForRekeys mocks base method.
  3226  func (m *MockMDServer) CheckForRekeys(arg0 context.Context) <-chan error {
  3227  	m.ctrl.T.Helper()
  3228  	ret := m.ctrl.Call(m, "CheckForRekeys", arg0)
  3229  	ret0, _ := ret[0].(<-chan error)
  3230  	return ret0
  3231  }
  3232  
  3233  // CheckForRekeys indicates an expected call of CheckForRekeys.
  3234  func (mr *MockMDServerMockRecorder) CheckForRekeys(arg0 interface{}) *gomock.Call {
  3235  	mr.mock.ctrl.T.Helper()
  3236  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckForRekeys", reflect.TypeOf((*MockMDServer)(nil).CheckForRekeys), arg0)
  3237  }
  3238  
  3239  // CheckReachability mocks base method.
  3240  func (m *MockMDServer) CheckReachability(arg0 context.Context) {
  3241  	m.ctrl.T.Helper()
  3242  	m.ctrl.Call(m, "CheckReachability", arg0)
  3243  }
  3244  
  3245  // CheckReachability indicates an expected call of CheckReachability.
  3246  func (mr *MockMDServerMockRecorder) CheckReachability(arg0 interface{}) *gomock.Call {
  3247  	mr.mock.ctrl.T.Helper()
  3248  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckReachability", reflect.TypeOf((*MockMDServer)(nil).CheckReachability), arg0)
  3249  }
  3250  
  3251  // DisableRekeyUpdatesForTesting mocks base method.
  3252  func (m *MockMDServer) DisableRekeyUpdatesForTesting() {
  3253  	m.ctrl.T.Helper()
  3254  	m.ctrl.Call(m, "DisableRekeyUpdatesForTesting")
  3255  }
  3256  
  3257  // DisableRekeyUpdatesForTesting indicates an expected call of DisableRekeyUpdatesForTesting.
  3258  func (mr *MockMDServerMockRecorder) DisableRekeyUpdatesForTesting() *gomock.Call {
  3259  	mr.mock.ctrl.T.Helper()
  3260  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableRekeyUpdatesForTesting", reflect.TypeOf((*MockMDServer)(nil).DisableRekeyUpdatesForTesting))
  3261  }
  3262  
  3263  // FastForwardBackoff mocks base method.
  3264  func (m *MockMDServer) FastForwardBackoff() {
  3265  	m.ctrl.T.Helper()
  3266  	m.ctrl.Call(m, "FastForwardBackoff")
  3267  }
  3268  
  3269  // FastForwardBackoff indicates an expected call of FastForwardBackoff.
  3270  func (mr *MockMDServerMockRecorder) FastForwardBackoff() *gomock.Call {
  3271  	mr.mock.ctrl.T.Helper()
  3272  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FastForwardBackoff", reflect.TypeOf((*MockMDServer)(nil).FastForwardBackoff))
  3273  }
  3274  
  3275  // FindNextMD mocks base method.
  3276  func (m *MockMDServer) FindNextMD(arg0 context.Context, arg1 tlf.ID, arg2 keybase1.Seqno) (*kbfsmd.MerkleRoot, [][]byte, keybase1.Seqno, error) {
  3277  	m.ctrl.T.Helper()
  3278  	ret := m.ctrl.Call(m, "FindNextMD", arg0, arg1, arg2)
  3279  	ret0, _ := ret[0].(*kbfsmd.MerkleRoot)
  3280  	ret1, _ := ret[1].([][]byte)
  3281  	ret2, _ := ret[2].(keybase1.Seqno)
  3282  	ret3, _ := ret[3].(error)
  3283  	return ret0, ret1, ret2, ret3
  3284  }
  3285  
  3286  // FindNextMD indicates an expected call of FindNextMD.
  3287  func (mr *MockMDServerMockRecorder) FindNextMD(arg0, arg1, arg2 interface{}) *gomock.Call {
  3288  	mr.mock.ctrl.T.Helper()
  3289  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindNextMD", reflect.TypeOf((*MockMDServer)(nil).FindNextMD), arg0, arg1, arg2)
  3290  }
  3291  
  3292  // GetForHandle mocks base method.
  3293  func (m *MockMDServer) GetForHandle(arg0 context.Context, arg1 tlf.Handle, arg2 kbfsmd.MergeStatus, arg3 *keybase1.LockID) (tlf.ID, *RootMetadataSigned, error) {
  3294  	m.ctrl.T.Helper()
  3295  	ret := m.ctrl.Call(m, "GetForHandle", arg0, arg1, arg2, arg3)
  3296  	ret0, _ := ret[0].(tlf.ID)
  3297  	ret1, _ := ret[1].(*RootMetadataSigned)
  3298  	ret2, _ := ret[2].(error)
  3299  	return ret0, ret1, ret2
  3300  }
  3301  
  3302  // GetForHandle indicates an expected call of GetForHandle.
  3303  func (mr *MockMDServerMockRecorder) GetForHandle(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  3304  	mr.mock.ctrl.T.Helper()
  3305  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetForHandle", reflect.TypeOf((*MockMDServer)(nil).GetForHandle), arg0, arg1, arg2, arg3)
  3306  }
  3307  
  3308  // GetForTLF mocks base method.
  3309  func (m *MockMDServer) GetForTLF(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID, arg3 kbfsmd.MergeStatus, arg4 *keybase1.LockID) (*RootMetadataSigned, error) {
  3310  	m.ctrl.T.Helper()
  3311  	ret := m.ctrl.Call(m, "GetForTLF", arg0, arg1, arg2, arg3, arg4)
  3312  	ret0, _ := ret[0].(*RootMetadataSigned)
  3313  	ret1, _ := ret[1].(error)
  3314  	return ret0, ret1
  3315  }
  3316  
  3317  // GetForTLF indicates an expected call of GetForTLF.
  3318  func (mr *MockMDServerMockRecorder) GetForTLF(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  3319  	mr.mock.ctrl.T.Helper()
  3320  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetForTLF", reflect.TypeOf((*MockMDServer)(nil).GetForTLF), arg0, arg1, arg2, arg3, arg4)
  3321  }
  3322  
  3323  // GetForTLFByTime mocks base method.
  3324  func (m *MockMDServer) GetForTLFByTime(arg0 context.Context, arg1 tlf.ID, arg2 time.Time) (*RootMetadataSigned, error) {
  3325  	m.ctrl.T.Helper()
  3326  	ret := m.ctrl.Call(m, "GetForTLFByTime", arg0, arg1, arg2)
  3327  	ret0, _ := ret[0].(*RootMetadataSigned)
  3328  	ret1, _ := ret[1].(error)
  3329  	return ret0, ret1
  3330  }
  3331  
  3332  // GetForTLFByTime indicates an expected call of GetForTLFByTime.
  3333  func (mr *MockMDServerMockRecorder) GetForTLFByTime(arg0, arg1, arg2 interface{}) *gomock.Call {
  3334  	mr.mock.ctrl.T.Helper()
  3335  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetForTLFByTime", reflect.TypeOf((*MockMDServer)(nil).GetForTLFByTime), arg0, arg1, arg2)
  3336  }
  3337  
  3338  // GetKeyBundles mocks base method.
  3339  func (m *MockMDServer) GetKeyBundles(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.TLFWriterKeyBundleID, arg3 kbfsmd.TLFReaderKeyBundleID) (*kbfsmd.TLFWriterKeyBundleV3, *kbfsmd.TLFReaderKeyBundleV3, error) {
  3340  	m.ctrl.T.Helper()
  3341  	ret := m.ctrl.Call(m, "GetKeyBundles", arg0, arg1, arg2, arg3)
  3342  	ret0, _ := ret[0].(*kbfsmd.TLFWriterKeyBundleV3)
  3343  	ret1, _ := ret[1].(*kbfsmd.TLFReaderKeyBundleV3)
  3344  	ret2, _ := ret[2].(error)
  3345  	return ret0, ret1, ret2
  3346  }
  3347  
  3348  // GetKeyBundles indicates an expected call of GetKeyBundles.
  3349  func (mr *MockMDServerMockRecorder) GetKeyBundles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  3350  	mr.mock.ctrl.T.Helper()
  3351  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetKeyBundles", reflect.TypeOf((*MockMDServer)(nil).GetKeyBundles), arg0, arg1, arg2, arg3)
  3352  }
  3353  
  3354  // GetLatestHandleForTLF mocks base method.
  3355  func (m *MockMDServer) GetLatestHandleForTLF(arg0 context.Context, arg1 tlf.ID) (tlf.Handle, error) {
  3356  	m.ctrl.T.Helper()
  3357  	ret := m.ctrl.Call(m, "GetLatestHandleForTLF", arg0, arg1)
  3358  	ret0, _ := ret[0].(tlf.Handle)
  3359  	ret1, _ := ret[1].(error)
  3360  	return ret0, ret1
  3361  }
  3362  
  3363  // GetLatestHandleForTLF indicates an expected call of GetLatestHandleForTLF.
  3364  func (mr *MockMDServerMockRecorder) GetLatestHandleForTLF(arg0, arg1 interface{}) *gomock.Call {
  3365  	mr.mock.ctrl.T.Helper()
  3366  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLatestHandleForTLF", reflect.TypeOf((*MockMDServer)(nil).GetLatestHandleForTLF), arg0, arg1)
  3367  }
  3368  
  3369  // GetMerkleRootLatest mocks base method.
  3370  func (m *MockMDServer) GetMerkleRootLatest(arg0 context.Context, arg1 keybase1.MerkleTreeID) (*kbfsmd.MerkleRoot, error) {
  3371  	m.ctrl.T.Helper()
  3372  	ret := m.ctrl.Call(m, "GetMerkleRootLatest", arg0, arg1)
  3373  	ret0, _ := ret[0].(*kbfsmd.MerkleRoot)
  3374  	ret1, _ := ret[1].(error)
  3375  	return ret0, ret1
  3376  }
  3377  
  3378  // GetMerkleRootLatest indicates an expected call of GetMerkleRootLatest.
  3379  func (mr *MockMDServerMockRecorder) GetMerkleRootLatest(arg0, arg1 interface{}) *gomock.Call {
  3380  	mr.mock.ctrl.T.Helper()
  3381  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMerkleRootLatest", reflect.TypeOf((*MockMDServer)(nil).GetMerkleRootLatest), arg0, arg1)
  3382  }
  3383  
  3384  // GetRange mocks base method.
  3385  func (m *MockMDServer) GetRange(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID, arg3 kbfsmd.MergeStatus, arg4, arg5 kbfsmd.Revision, arg6 *keybase1.LockID) ([]*RootMetadataSigned, error) {
  3386  	m.ctrl.T.Helper()
  3387  	ret := m.ctrl.Call(m, "GetRange", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  3388  	ret0, _ := ret[0].([]*RootMetadataSigned)
  3389  	ret1, _ := ret[1].(error)
  3390  	return ret0, ret1
  3391  }
  3392  
  3393  // GetRange indicates an expected call of GetRange.
  3394  func (mr *MockMDServerMockRecorder) GetRange(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
  3395  	mr.mock.ctrl.T.Helper()
  3396  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRange", reflect.TypeOf((*MockMDServer)(nil).GetRange), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
  3397  }
  3398  
  3399  // IsConnected mocks base method.
  3400  func (m *MockMDServer) IsConnected() bool {
  3401  	m.ctrl.T.Helper()
  3402  	ret := m.ctrl.Call(m, "IsConnected")
  3403  	ret0, _ := ret[0].(bool)
  3404  	return ret0
  3405  }
  3406  
  3407  // IsConnected indicates an expected call of IsConnected.
  3408  func (mr *MockMDServerMockRecorder) IsConnected() *gomock.Call {
  3409  	mr.mock.ctrl.T.Helper()
  3410  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsConnected", reflect.TypeOf((*MockMDServer)(nil).IsConnected))
  3411  }
  3412  
  3413  // Lock mocks base method.
  3414  func (m *MockMDServer) Lock(arg0 context.Context, arg1 tlf.ID, arg2 keybase1.LockID) error {
  3415  	m.ctrl.T.Helper()
  3416  	ret := m.ctrl.Call(m, "Lock", arg0, arg1, arg2)
  3417  	ret0, _ := ret[0].(error)
  3418  	return ret0
  3419  }
  3420  
  3421  // Lock indicates an expected call of Lock.
  3422  func (mr *MockMDServerMockRecorder) Lock(arg0, arg1, arg2 interface{}) *gomock.Call {
  3423  	mr.mock.ctrl.T.Helper()
  3424  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lock", reflect.TypeOf((*MockMDServer)(nil).Lock), arg0, arg1, arg2)
  3425  }
  3426  
  3427  // OffsetFromServerTime mocks base method.
  3428  func (m *MockMDServer) OffsetFromServerTime() (time.Duration, bool) {
  3429  	m.ctrl.T.Helper()
  3430  	ret := m.ctrl.Call(m, "OffsetFromServerTime")
  3431  	ret0, _ := ret[0].(time.Duration)
  3432  	ret1, _ := ret[1].(bool)
  3433  	return ret0, ret1
  3434  }
  3435  
  3436  // OffsetFromServerTime indicates an expected call of OffsetFromServerTime.
  3437  func (mr *MockMDServerMockRecorder) OffsetFromServerTime() *gomock.Call {
  3438  	mr.mock.ctrl.T.Helper()
  3439  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OffsetFromServerTime", reflect.TypeOf((*MockMDServer)(nil).OffsetFromServerTime))
  3440  }
  3441  
  3442  // PruneBranch mocks base method.
  3443  func (m *MockMDServer) PruneBranch(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.BranchID) error {
  3444  	m.ctrl.T.Helper()
  3445  	ret := m.ctrl.Call(m, "PruneBranch", arg0, arg1, arg2)
  3446  	ret0, _ := ret[0].(error)
  3447  	return ret0
  3448  }
  3449  
  3450  // PruneBranch indicates an expected call of PruneBranch.
  3451  func (mr *MockMDServerMockRecorder) PruneBranch(arg0, arg1, arg2 interface{}) *gomock.Call {
  3452  	mr.mock.ctrl.T.Helper()
  3453  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PruneBranch", reflect.TypeOf((*MockMDServer)(nil).PruneBranch), arg0, arg1, arg2)
  3454  }
  3455  
  3456  // Put mocks base method.
  3457  func (m *MockMDServer) Put(arg0 context.Context, arg1 *RootMetadataSigned, arg2 kbfsmd.ExtraMetadata, arg3 *keybase1.LockContext, arg4 keybase1.MDPriority) error {
  3458  	m.ctrl.T.Helper()
  3459  	ret := m.ctrl.Call(m, "Put", arg0, arg1, arg2, arg3, arg4)
  3460  	ret0, _ := ret[0].(error)
  3461  	return ret0
  3462  }
  3463  
  3464  // Put indicates an expected call of Put.
  3465  func (mr *MockMDServerMockRecorder) Put(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  3466  	mr.mock.ctrl.T.Helper()
  3467  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMDServer)(nil).Put), arg0, arg1, arg2, arg3, arg4)
  3468  }
  3469  
  3470  // RefreshAuthToken mocks base method.
  3471  func (m *MockMDServer) RefreshAuthToken(arg0 context.Context) {
  3472  	m.ctrl.T.Helper()
  3473  	m.ctrl.Call(m, "RefreshAuthToken", arg0)
  3474  }
  3475  
  3476  // RefreshAuthToken indicates an expected call of RefreshAuthToken.
  3477  func (mr *MockMDServerMockRecorder) RefreshAuthToken(arg0 interface{}) *gomock.Call {
  3478  	mr.mock.ctrl.T.Helper()
  3479  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RefreshAuthToken", reflect.TypeOf((*MockMDServer)(nil).RefreshAuthToken), arg0)
  3480  }
  3481  
  3482  // RegisterForUpdate mocks base method.
  3483  func (m *MockMDServer) RegisterForUpdate(arg0 context.Context, arg1 tlf.ID, arg2 kbfsmd.Revision) (<-chan error, error) {
  3484  	m.ctrl.T.Helper()
  3485  	ret := m.ctrl.Call(m, "RegisterForUpdate", arg0, arg1, arg2)
  3486  	ret0, _ := ret[0].(<-chan error)
  3487  	ret1, _ := ret[1].(error)
  3488  	return ret0, ret1
  3489  }
  3490  
  3491  // RegisterForUpdate indicates an expected call of RegisterForUpdate.
  3492  func (mr *MockMDServerMockRecorder) RegisterForUpdate(arg0, arg1, arg2 interface{}) *gomock.Call {
  3493  	mr.mock.ctrl.T.Helper()
  3494  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterForUpdate", reflect.TypeOf((*MockMDServer)(nil).RegisterForUpdate), arg0, arg1, arg2)
  3495  }
  3496  
  3497  // ReleaseLock mocks base method.
  3498  func (m *MockMDServer) ReleaseLock(arg0 context.Context, arg1 tlf.ID, arg2 keybase1.LockID) error {
  3499  	m.ctrl.T.Helper()
  3500  	ret := m.ctrl.Call(m, "ReleaseLock", arg0, arg1, arg2)
  3501  	ret0, _ := ret[0].(error)
  3502  	return ret0
  3503  }
  3504  
  3505  // ReleaseLock indicates an expected call of ReleaseLock.
  3506  func (mr *MockMDServerMockRecorder) ReleaseLock(arg0, arg1, arg2 interface{}) *gomock.Call {
  3507  	mr.mock.ctrl.T.Helper()
  3508  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReleaseLock", reflect.TypeOf((*MockMDServer)(nil).ReleaseLock), arg0, arg1, arg2)
  3509  }
  3510  
  3511  // Shutdown mocks base method.
  3512  func (m *MockMDServer) Shutdown() {
  3513  	m.ctrl.T.Helper()
  3514  	m.ctrl.Call(m, "Shutdown")
  3515  }
  3516  
  3517  // Shutdown indicates an expected call of Shutdown.
  3518  func (mr *MockMDServerMockRecorder) Shutdown() *gomock.Call {
  3519  	mr.mock.ctrl.T.Helper()
  3520  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockMDServer)(nil).Shutdown))
  3521  }
  3522  
  3523  // StartImplicitTeamMigration mocks base method.
  3524  func (m *MockMDServer) StartImplicitTeamMigration(arg0 context.Context, arg1 tlf.ID) error {
  3525  	m.ctrl.T.Helper()
  3526  	ret := m.ctrl.Call(m, "StartImplicitTeamMigration", arg0, arg1)
  3527  	ret0, _ := ret[0].(error)
  3528  	return ret0
  3529  }
  3530  
  3531  // StartImplicitTeamMigration indicates an expected call of StartImplicitTeamMigration.
  3532  func (mr *MockMDServerMockRecorder) StartImplicitTeamMigration(arg0, arg1 interface{}) *gomock.Call {
  3533  	mr.mock.ctrl.T.Helper()
  3534  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartImplicitTeamMigration", reflect.TypeOf((*MockMDServer)(nil).StartImplicitTeamMigration), arg0, arg1)
  3535  }
  3536  
  3537  // TruncateLock mocks base method.
  3538  func (m *MockMDServer) TruncateLock(arg0 context.Context, arg1 tlf.ID) (bool, error) {
  3539  	m.ctrl.T.Helper()
  3540  	ret := m.ctrl.Call(m, "TruncateLock", arg0, arg1)
  3541  	ret0, _ := ret[0].(bool)
  3542  	ret1, _ := ret[1].(error)
  3543  	return ret0, ret1
  3544  }
  3545  
  3546  // TruncateLock indicates an expected call of TruncateLock.
  3547  func (mr *MockMDServerMockRecorder) TruncateLock(arg0, arg1 interface{}) *gomock.Call {
  3548  	mr.mock.ctrl.T.Helper()
  3549  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateLock", reflect.TypeOf((*MockMDServer)(nil).TruncateLock), arg0, arg1)
  3550  }
  3551  
  3552  // TruncateUnlock mocks base method.
  3553  func (m *MockMDServer) TruncateUnlock(arg0 context.Context, arg1 tlf.ID) (bool, error) {
  3554  	m.ctrl.T.Helper()
  3555  	ret := m.ctrl.Call(m, "TruncateUnlock", arg0, arg1)
  3556  	ret0, _ := ret[0].(bool)
  3557  	ret1, _ := ret[1].(error)
  3558  	return ret0, ret1
  3559  }
  3560  
  3561  // TruncateUnlock indicates an expected call of TruncateUnlock.
  3562  func (mr *MockMDServerMockRecorder) TruncateUnlock(arg0, arg1 interface{}) *gomock.Call {
  3563  	mr.mock.ctrl.T.Helper()
  3564  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TruncateUnlock", reflect.TypeOf((*MockMDServer)(nil).TruncateUnlock), arg0, arg1)
  3565  }
  3566  
  3567  // MockNode is a mock of Node interface.
  3568  type MockNode struct {
  3569  	ctrl     *gomock.Controller
  3570  	recorder *MockNodeMockRecorder
  3571  }
  3572  
  3573  // MockNodeMockRecorder is the mock recorder for MockNode.
  3574  type MockNodeMockRecorder struct {
  3575  	mock *MockNode
  3576  }
  3577  
  3578  // NewMockNode creates a new mock instance.
  3579  func NewMockNode(ctrl *gomock.Controller) *MockNode {
  3580  	mock := &MockNode{ctrl: ctrl}
  3581  	mock.recorder = &MockNodeMockRecorder{mock}
  3582  	return mock
  3583  }
  3584  
  3585  // EXPECT returns an object that allows the caller to indicate expected use.
  3586  func (m *MockNode) EXPECT() *MockNodeMockRecorder {
  3587  	return m.recorder
  3588  }
  3589  
  3590  // ChildName mocks base method.
  3591  func (m *MockNode) ChildName(arg0 string) data.PathPartString {
  3592  	m.ctrl.T.Helper()
  3593  	ret := m.ctrl.Call(m, "ChildName", arg0)
  3594  	ret0, _ := ret[0].(data.PathPartString)
  3595  	return ret0
  3596  }
  3597  
  3598  // ChildName indicates an expected call of ChildName.
  3599  func (mr *MockNodeMockRecorder) ChildName(arg0 interface{}) *gomock.Call {
  3600  	mr.mock.ctrl.T.Helper()
  3601  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChildName", reflect.TypeOf((*MockNode)(nil).ChildName), arg0)
  3602  }
  3603  
  3604  // EntryType mocks base method.
  3605  func (m *MockNode) EntryType() data.EntryType {
  3606  	m.ctrl.T.Helper()
  3607  	ret := m.ctrl.Call(m, "EntryType")
  3608  	ret0, _ := ret[0].(data.EntryType)
  3609  	return ret0
  3610  }
  3611  
  3612  // EntryType indicates an expected call of EntryType.
  3613  func (mr *MockNodeMockRecorder) EntryType() *gomock.Call {
  3614  	mr.mock.ctrl.T.Helper()
  3615  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EntryType", reflect.TypeOf((*MockNode)(nil).EntryType))
  3616  }
  3617  
  3618  // FillCacheDuration mocks base method.
  3619  func (m *MockNode) FillCacheDuration(arg0 *time.Duration) {
  3620  	m.ctrl.T.Helper()
  3621  	m.ctrl.Call(m, "FillCacheDuration", arg0)
  3622  }
  3623  
  3624  // FillCacheDuration indicates an expected call of FillCacheDuration.
  3625  func (mr *MockNodeMockRecorder) FillCacheDuration(arg0 interface{}) *gomock.Call {
  3626  	mr.mock.ctrl.T.Helper()
  3627  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FillCacheDuration", reflect.TypeOf((*MockNode)(nil).FillCacheDuration), arg0)
  3628  }
  3629  
  3630  // GetBasename mocks base method.
  3631  func (m *MockNode) GetBasename() data.PathPartString {
  3632  	m.ctrl.T.Helper()
  3633  	ret := m.ctrl.Call(m, "GetBasename")
  3634  	ret0, _ := ret[0].(data.PathPartString)
  3635  	return ret0
  3636  }
  3637  
  3638  // GetBasename indicates an expected call of GetBasename.
  3639  func (mr *MockNodeMockRecorder) GetBasename() *gomock.Call {
  3640  	mr.mock.ctrl.T.Helper()
  3641  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBasename", reflect.TypeOf((*MockNode)(nil).GetBasename))
  3642  }
  3643  
  3644  // GetBlockID mocks base method.
  3645  func (m *MockNode) GetBlockID() kbfsblock.ID {
  3646  	m.ctrl.T.Helper()
  3647  	ret := m.ctrl.Call(m, "GetBlockID")
  3648  	ret0, _ := ret[0].(kbfsblock.ID)
  3649  	return ret0
  3650  }
  3651  
  3652  // GetBlockID indicates an expected call of GetBlockID.
  3653  func (mr *MockNodeMockRecorder) GetBlockID() *gomock.Call {
  3654  	mr.mock.ctrl.T.Helper()
  3655  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlockID", reflect.TypeOf((*MockNode)(nil).GetBlockID))
  3656  }
  3657  
  3658  // GetFS mocks base method.
  3659  func (m *MockNode) GetFS(arg0 context.Context) NodeFSReadOnly {
  3660  	m.ctrl.T.Helper()
  3661  	ret := m.ctrl.Call(m, "GetFS", arg0)
  3662  	ret0, _ := ret[0].(NodeFSReadOnly)
  3663  	return ret0
  3664  }
  3665  
  3666  // GetFS indicates an expected call of GetFS.
  3667  func (mr *MockNodeMockRecorder) GetFS(arg0 interface{}) *gomock.Call {
  3668  	mr.mock.ctrl.T.Helper()
  3669  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFS", reflect.TypeOf((*MockNode)(nil).GetFS), arg0)
  3670  }
  3671  
  3672  // GetFile mocks base method.
  3673  func (m *MockNode) GetFile(arg0 context.Context) billy.File {
  3674  	m.ctrl.T.Helper()
  3675  	ret := m.ctrl.Call(m, "GetFile", arg0)
  3676  	ret0, _ := ret[0].(billy.File)
  3677  	return ret0
  3678  }
  3679  
  3680  // GetFile indicates an expected call of GetFile.
  3681  func (mr *MockNodeMockRecorder) GetFile(arg0 interface{}) *gomock.Call {
  3682  	mr.mock.ctrl.T.Helper()
  3683  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFile", reflect.TypeOf((*MockNode)(nil).GetFile), arg0)
  3684  }
  3685  
  3686  // GetFolderBranch mocks base method.
  3687  func (m *MockNode) GetFolderBranch() data.FolderBranch {
  3688  	m.ctrl.T.Helper()
  3689  	ret := m.ctrl.Call(m, "GetFolderBranch")
  3690  	ret0, _ := ret[0].(data.FolderBranch)
  3691  	return ret0
  3692  }
  3693  
  3694  // GetFolderBranch indicates an expected call of GetFolderBranch.
  3695  func (mr *MockNodeMockRecorder) GetFolderBranch() *gomock.Call {
  3696  	mr.mock.ctrl.T.Helper()
  3697  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFolderBranch", reflect.TypeOf((*MockNode)(nil).GetFolderBranch))
  3698  }
  3699  
  3700  // GetID mocks base method.
  3701  func (m *MockNode) GetID() NodeID {
  3702  	m.ctrl.T.Helper()
  3703  	ret := m.ctrl.Call(m, "GetID")
  3704  	ret0, _ := ret[0].(NodeID)
  3705  	return ret0
  3706  }
  3707  
  3708  // GetID indicates an expected call of GetID.
  3709  func (mr *MockNodeMockRecorder) GetID() *gomock.Call {
  3710  	mr.mock.ctrl.T.Helper()
  3711  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetID", reflect.TypeOf((*MockNode)(nil).GetID))
  3712  }
  3713  
  3714  // GetPathPlaintextSansTlf mocks base method.
  3715  func (m *MockNode) GetPathPlaintextSansTlf() (string, bool) {
  3716  	m.ctrl.T.Helper()
  3717  	ret := m.ctrl.Call(m, "GetPathPlaintextSansTlf")
  3718  	ret0, _ := ret[0].(string)
  3719  	ret1, _ := ret[1].(bool)
  3720  	return ret0, ret1
  3721  }
  3722  
  3723  // GetPathPlaintextSansTlf indicates an expected call of GetPathPlaintextSansTlf.
  3724  func (mr *MockNodeMockRecorder) GetPathPlaintextSansTlf() *gomock.Call {
  3725  	mr.mock.ctrl.T.Helper()
  3726  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPathPlaintextSansTlf", reflect.TypeOf((*MockNode)(nil).GetPathPlaintextSansTlf))
  3727  }
  3728  
  3729  // Obfuscator mocks base method.
  3730  func (m *MockNode) Obfuscator() data.Obfuscator {
  3731  	m.ctrl.T.Helper()
  3732  	ret := m.ctrl.Call(m, "Obfuscator")
  3733  	ret0, _ := ret[0].(data.Obfuscator)
  3734  	return ret0
  3735  }
  3736  
  3737  // Obfuscator indicates an expected call of Obfuscator.
  3738  func (mr *MockNodeMockRecorder) Obfuscator() *gomock.Call {
  3739  	mr.mock.ctrl.T.Helper()
  3740  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Obfuscator", reflect.TypeOf((*MockNode)(nil).Obfuscator))
  3741  }
  3742  
  3743  // Readonly mocks base method.
  3744  func (m *MockNode) Readonly(arg0 context.Context) bool {
  3745  	m.ctrl.T.Helper()
  3746  	ret := m.ctrl.Call(m, "Readonly", arg0)
  3747  	ret0, _ := ret[0].(bool)
  3748  	return ret0
  3749  }
  3750  
  3751  // Readonly indicates an expected call of Readonly.
  3752  func (mr *MockNodeMockRecorder) Readonly(arg0 interface{}) *gomock.Call {
  3753  	mr.mock.ctrl.T.Helper()
  3754  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readonly", reflect.TypeOf((*MockNode)(nil).Readonly), arg0)
  3755  }
  3756  
  3757  // RemoveDir mocks base method.
  3758  func (m *MockNode) RemoveDir(arg0 context.Context, arg1 data.PathPartString) (bool, error) {
  3759  	m.ctrl.T.Helper()
  3760  	ret := m.ctrl.Call(m, "RemoveDir", arg0, arg1)
  3761  	ret0, _ := ret[0].(bool)
  3762  	ret1, _ := ret[1].(error)
  3763  	return ret0, ret1
  3764  }
  3765  
  3766  // RemoveDir indicates an expected call of RemoveDir.
  3767  func (mr *MockNodeMockRecorder) RemoveDir(arg0, arg1 interface{}) *gomock.Call {
  3768  	mr.mock.ctrl.T.Helper()
  3769  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveDir", reflect.TypeOf((*MockNode)(nil).RemoveDir), arg0, arg1)
  3770  }
  3771  
  3772  // ShouldCreateMissedLookup mocks base method.
  3773  func (m *MockNode) ShouldCreateMissedLookup(arg0 context.Context, arg1 data.PathPartString) (bool, context.Context, data.EntryType, fs.FileInfo, data.PathPartString, data.BlockPointer) {
  3774  	m.ctrl.T.Helper()
  3775  	ret := m.ctrl.Call(m, "ShouldCreateMissedLookup", arg0, arg1)
  3776  	ret0, _ := ret[0].(bool)
  3777  	ret1, _ := ret[1].(context.Context)
  3778  	ret2, _ := ret[2].(data.EntryType)
  3779  	ret3, _ := ret[3].(fs.FileInfo)
  3780  	ret4, _ := ret[4].(data.PathPartString)
  3781  	ret5, _ := ret[5].(data.BlockPointer)
  3782  	return ret0, ret1, ret2, ret3, ret4, ret5
  3783  }
  3784  
  3785  // ShouldCreateMissedLookup indicates an expected call of ShouldCreateMissedLookup.
  3786  func (mr *MockNodeMockRecorder) ShouldCreateMissedLookup(arg0, arg1 interface{}) *gomock.Call {
  3787  	mr.mock.ctrl.T.Helper()
  3788  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShouldCreateMissedLookup", reflect.TypeOf((*MockNode)(nil).ShouldCreateMissedLookup), arg0, arg1)
  3789  }
  3790  
  3791  // ShouldRetryOnDirRead mocks base method.
  3792  func (m *MockNode) ShouldRetryOnDirRead(arg0 context.Context) bool {
  3793  	m.ctrl.T.Helper()
  3794  	ret := m.ctrl.Call(m, "ShouldRetryOnDirRead", arg0)
  3795  	ret0, _ := ret[0].(bool)
  3796  	return ret0
  3797  }
  3798  
  3799  // ShouldRetryOnDirRead indicates an expected call of ShouldRetryOnDirRead.
  3800  func (mr *MockNodeMockRecorder) ShouldRetryOnDirRead(arg0 interface{}) *gomock.Call {
  3801  	mr.mock.ctrl.T.Helper()
  3802  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShouldRetryOnDirRead", reflect.TypeOf((*MockNode)(nil).ShouldRetryOnDirRead), arg0)
  3803  }
  3804  
  3805  // Unwrap mocks base method.
  3806  func (m *MockNode) Unwrap() Node {
  3807  	m.ctrl.T.Helper()
  3808  	ret := m.ctrl.Call(m, "Unwrap")
  3809  	ret0, _ := ret[0].(Node)
  3810  	return ret0
  3811  }
  3812  
  3813  // Unwrap indicates an expected call of Unwrap.
  3814  func (mr *MockNodeMockRecorder) Unwrap() *gomock.Call {
  3815  	mr.mock.ctrl.T.Helper()
  3816  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unwrap", reflect.TypeOf((*MockNode)(nil).Unwrap))
  3817  }
  3818  
  3819  // WrapChild mocks base method.
  3820  func (m *MockNode) WrapChild(arg0 Node) Node {
  3821  	m.ctrl.T.Helper()
  3822  	ret := m.ctrl.Call(m, "WrapChild", arg0)
  3823  	ret0, _ := ret[0].(Node)
  3824  	return ret0
  3825  }
  3826  
  3827  // WrapChild indicates an expected call of WrapChild.
  3828  func (mr *MockNodeMockRecorder) WrapChild(arg0 interface{}) *gomock.Call {
  3829  	mr.mock.ctrl.T.Helper()
  3830  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WrapChild", reflect.TypeOf((*MockNode)(nil).WrapChild), arg0)
  3831  }
  3832  
  3833  // MockNodeCache is a mock of NodeCache interface.
  3834  type MockNodeCache struct {
  3835  	ctrl     *gomock.Controller
  3836  	recorder *MockNodeCacheMockRecorder
  3837  }
  3838  
  3839  // MockNodeCacheMockRecorder is the mock recorder for MockNodeCache.
  3840  type MockNodeCacheMockRecorder struct {
  3841  	mock *MockNodeCache
  3842  }
  3843  
  3844  // NewMockNodeCache creates a new mock instance.
  3845  func NewMockNodeCache(ctrl *gomock.Controller) *MockNodeCache {
  3846  	mock := &MockNodeCache{ctrl: ctrl}
  3847  	mock.recorder = &MockNodeCacheMockRecorder{mock}
  3848  	return mock
  3849  }
  3850  
  3851  // EXPECT returns an object that allows the caller to indicate expected use.
  3852  func (m *MockNodeCache) EXPECT() *MockNodeCacheMockRecorder {
  3853  	return m.recorder
  3854  }
  3855  
  3856  // AddRootWrapper mocks base method.
  3857  func (m *MockNodeCache) AddRootWrapper(arg0 func(Node) Node) {
  3858  	m.ctrl.T.Helper()
  3859  	m.ctrl.Call(m, "AddRootWrapper", arg0)
  3860  }
  3861  
  3862  // AddRootWrapper indicates an expected call of AddRootWrapper.
  3863  func (mr *MockNodeCacheMockRecorder) AddRootWrapper(arg0 interface{}) *gomock.Call {
  3864  	mr.mock.ctrl.T.Helper()
  3865  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRootWrapper", reflect.TypeOf((*MockNodeCache)(nil).AddRootWrapper), arg0)
  3866  }
  3867  
  3868  // AllNodeChildren mocks base method.
  3869  func (m *MockNodeCache) AllNodeChildren(arg0 Node) []Node {
  3870  	m.ctrl.T.Helper()
  3871  	ret := m.ctrl.Call(m, "AllNodeChildren", arg0)
  3872  	ret0, _ := ret[0].([]Node)
  3873  	return ret0
  3874  }
  3875  
  3876  // AllNodeChildren indicates an expected call of AllNodeChildren.
  3877  func (mr *MockNodeCacheMockRecorder) AllNodeChildren(arg0 interface{}) *gomock.Call {
  3878  	mr.mock.ctrl.T.Helper()
  3879  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllNodeChildren", reflect.TypeOf((*MockNodeCache)(nil).AllNodeChildren), arg0)
  3880  }
  3881  
  3882  // AllNodes mocks base method.
  3883  func (m *MockNodeCache) AllNodes() []Node {
  3884  	m.ctrl.T.Helper()
  3885  	ret := m.ctrl.Call(m, "AllNodes")
  3886  	ret0, _ := ret[0].([]Node)
  3887  	return ret0
  3888  }
  3889  
  3890  // AllNodes indicates an expected call of AllNodes.
  3891  func (mr *MockNodeCacheMockRecorder) AllNodes() *gomock.Call {
  3892  	mr.mock.ctrl.T.Helper()
  3893  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllNodes", reflect.TypeOf((*MockNodeCache)(nil).AllNodes))
  3894  }
  3895  
  3896  // Get mocks base method.
  3897  func (m *MockNodeCache) Get(arg0 data.BlockRef) Node {
  3898  	m.ctrl.T.Helper()
  3899  	ret := m.ctrl.Call(m, "Get", arg0)
  3900  	ret0, _ := ret[0].(Node)
  3901  	return ret0
  3902  }
  3903  
  3904  // Get indicates an expected call of Get.
  3905  func (mr *MockNodeCacheMockRecorder) Get(arg0 interface{}) *gomock.Call {
  3906  	mr.mock.ctrl.T.Helper()
  3907  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockNodeCache)(nil).Get), arg0)
  3908  }
  3909  
  3910  // GetOrCreate mocks base method.
  3911  func (m *MockNodeCache) GetOrCreate(arg0 data.BlockPointer, arg1 data.PathPartString, arg2 Node, arg3 data.EntryType) (Node, error) {
  3912  	m.ctrl.T.Helper()
  3913  	ret := m.ctrl.Call(m, "GetOrCreate", arg0, arg1, arg2, arg3)
  3914  	ret0, _ := ret[0].(Node)
  3915  	ret1, _ := ret[1].(error)
  3916  	return ret0, ret1
  3917  }
  3918  
  3919  // GetOrCreate indicates an expected call of GetOrCreate.
  3920  func (mr *MockNodeCacheMockRecorder) GetOrCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  3921  	mr.mock.ctrl.T.Helper()
  3922  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrCreate", reflect.TypeOf((*MockNodeCache)(nil).GetOrCreate), arg0, arg1, arg2, arg3)
  3923  }
  3924  
  3925  // IsUnlinked mocks base method.
  3926  func (m *MockNodeCache) IsUnlinked(arg0 Node) bool {
  3927  	m.ctrl.T.Helper()
  3928  	ret := m.ctrl.Call(m, "IsUnlinked", arg0)
  3929  	ret0, _ := ret[0].(bool)
  3930  	return ret0
  3931  }
  3932  
  3933  // IsUnlinked indicates an expected call of IsUnlinked.
  3934  func (mr *MockNodeCacheMockRecorder) IsUnlinked(arg0 interface{}) *gomock.Call {
  3935  	mr.mock.ctrl.T.Helper()
  3936  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsUnlinked", reflect.TypeOf((*MockNodeCache)(nil).IsUnlinked), arg0)
  3937  }
  3938  
  3939  // Move mocks base method.
  3940  func (m *MockNodeCache) Move(arg0 data.BlockRef, arg1 Node, arg2 data.PathPartString) (func(), error) {
  3941  	m.ctrl.T.Helper()
  3942  	ret := m.ctrl.Call(m, "Move", arg0, arg1, arg2)
  3943  	ret0, _ := ret[0].(func())
  3944  	ret1, _ := ret[1].(error)
  3945  	return ret0, ret1
  3946  }
  3947  
  3948  // Move indicates an expected call of Move.
  3949  func (mr *MockNodeCacheMockRecorder) Move(arg0, arg1, arg2 interface{}) *gomock.Call {
  3950  	mr.mock.ctrl.T.Helper()
  3951  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Move", reflect.TypeOf((*MockNodeCache)(nil).Move), arg0, arg1, arg2)
  3952  }
  3953  
  3954  // ObfuscatorMaker mocks base method.
  3955  func (m *MockNodeCache) ObfuscatorMaker() func() data.Obfuscator {
  3956  	m.ctrl.T.Helper()
  3957  	ret := m.ctrl.Call(m, "ObfuscatorMaker")
  3958  	ret0, _ := ret[0].(func() data.Obfuscator)
  3959  	return ret0
  3960  }
  3961  
  3962  // ObfuscatorMaker indicates an expected call of ObfuscatorMaker.
  3963  func (mr *MockNodeCacheMockRecorder) ObfuscatorMaker() *gomock.Call {
  3964  	mr.mock.ctrl.T.Helper()
  3965  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObfuscatorMaker", reflect.TypeOf((*MockNodeCache)(nil).ObfuscatorMaker))
  3966  }
  3967  
  3968  // PathFromNode mocks base method.
  3969  func (m *MockNodeCache) PathFromNode(arg0 Node) data.Path {
  3970  	m.ctrl.T.Helper()
  3971  	ret := m.ctrl.Call(m, "PathFromNode", arg0)
  3972  	ret0, _ := ret[0].(data.Path)
  3973  	return ret0
  3974  }
  3975  
  3976  // PathFromNode indicates an expected call of PathFromNode.
  3977  func (mr *MockNodeCacheMockRecorder) PathFromNode(arg0 interface{}) *gomock.Call {
  3978  	mr.mock.ctrl.T.Helper()
  3979  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PathFromNode", reflect.TypeOf((*MockNodeCache)(nil).PathFromNode), arg0)
  3980  }
  3981  
  3982  // SetObfuscatorMaker mocks base method.
  3983  func (m *MockNodeCache) SetObfuscatorMaker(arg0 func() data.Obfuscator) {
  3984  	m.ctrl.T.Helper()
  3985  	m.ctrl.Call(m, "SetObfuscatorMaker", arg0)
  3986  }
  3987  
  3988  // SetObfuscatorMaker indicates an expected call of SetObfuscatorMaker.
  3989  func (mr *MockNodeCacheMockRecorder) SetObfuscatorMaker(arg0 interface{}) *gomock.Call {
  3990  	mr.mock.ctrl.T.Helper()
  3991  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetObfuscatorMaker", reflect.TypeOf((*MockNodeCache)(nil).SetObfuscatorMaker), arg0)
  3992  }
  3993  
  3994  // Unlink mocks base method.
  3995  func (m *MockNodeCache) Unlink(arg0 data.BlockRef, arg1 data.Path, arg2 data.DirEntry) func() {
  3996  	m.ctrl.T.Helper()
  3997  	ret := m.ctrl.Call(m, "Unlink", arg0, arg1, arg2)
  3998  	ret0, _ := ret[0].(func())
  3999  	return ret0
  4000  }
  4001  
  4002  // Unlink indicates an expected call of Unlink.
  4003  func (mr *MockNodeCacheMockRecorder) Unlink(arg0, arg1, arg2 interface{}) *gomock.Call {
  4004  	mr.mock.ctrl.T.Helper()
  4005  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unlink", reflect.TypeOf((*MockNodeCache)(nil).Unlink), arg0, arg1, arg2)
  4006  }
  4007  
  4008  // UnlinkedDirEntry mocks base method.
  4009  func (m *MockNodeCache) UnlinkedDirEntry(arg0 Node) data.DirEntry {
  4010  	m.ctrl.T.Helper()
  4011  	ret := m.ctrl.Call(m, "UnlinkedDirEntry", arg0)
  4012  	ret0, _ := ret[0].(data.DirEntry)
  4013  	return ret0
  4014  }
  4015  
  4016  // UnlinkedDirEntry indicates an expected call of UnlinkedDirEntry.
  4017  func (mr *MockNodeCacheMockRecorder) UnlinkedDirEntry(arg0 interface{}) *gomock.Call {
  4018  	mr.mock.ctrl.T.Helper()
  4019  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnlinkedDirEntry", reflect.TypeOf((*MockNodeCache)(nil).UnlinkedDirEntry), arg0)
  4020  }
  4021  
  4022  // UpdatePointer mocks base method.
  4023  func (m *MockNodeCache) UpdatePointer(arg0 data.BlockRef, arg1 data.BlockPointer) NodeID {
  4024  	m.ctrl.T.Helper()
  4025  	ret := m.ctrl.Call(m, "UpdatePointer", arg0, arg1)
  4026  	ret0, _ := ret[0].(NodeID)
  4027  	return ret0
  4028  }
  4029  
  4030  // UpdatePointer indicates an expected call of UpdatePointer.
  4031  func (mr *MockNodeCacheMockRecorder) UpdatePointer(arg0, arg1 interface{}) *gomock.Call {
  4032  	mr.mock.ctrl.T.Helper()
  4033  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePointer", reflect.TypeOf((*MockNodeCache)(nil).UpdatePointer), arg0, arg1)
  4034  }
  4035  
  4036  // UpdateUnlinkedDirEntry mocks base method.
  4037  func (m *MockNodeCache) UpdateUnlinkedDirEntry(arg0 Node, arg1 data.DirEntry) {
  4038  	m.ctrl.T.Helper()
  4039  	m.ctrl.Call(m, "UpdateUnlinkedDirEntry", arg0, arg1)
  4040  }
  4041  
  4042  // UpdateUnlinkedDirEntry indicates an expected call of UpdateUnlinkedDirEntry.
  4043  func (mr *MockNodeCacheMockRecorder) UpdateUnlinkedDirEntry(arg0, arg1 interface{}) *gomock.Call {
  4044  	mr.mock.ctrl.T.Helper()
  4045  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUnlinkedDirEntry", reflect.TypeOf((*MockNodeCache)(nil).UpdateUnlinkedDirEntry), arg0, arg1)
  4046  }
  4047  
  4048  // MockNodeID is a mock of NodeID interface.
  4049  type MockNodeID struct {
  4050  	ctrl     *gomock.Controller
  4051  	recorder *MockNodeIDMockRecorder
  4052  }
  4053  
  4054  // MockNodeIDMockRecorder is the mock recorder for MockNodeID.
  4055  type MockNodeIDMockRecorder struct {
  4056  	mock *MockNodeID
  4057  }
  4058  
  4059  // NewMockNodeID creates a new mock instance.
  4060  func NewMockNodeID(ctrl *gomock.Controller) *MockNodeID {
  4061  	mock := &MockNodeID{ctrl: ctrl}
  4062  	mock.recorder = &MockNodeIDMockRecorder{mock}
  4063  	return mock
  4064  }
  4065  
  4066  // EXPECT returns an object that allows the caller to indicate expected use.
  4067  func (m *MockNodeID) EXPECT() *MockNodeIDMockRecorder {
  4068  	return m.recorder
  4069  }
  4070  
  4071  // ParentID mocks base method.
  4072  func (m *MockNodeID) ParentID() NodeID {
  4073  	m.ctrl.T.Helper()
  4074  	ret := m.ctrl.Call(m, "ParentID")
  4075  	ret0, _ := ret[0].(NodeID)
  4076  	return ret0
  4077  }
  4078  
  4079  // ParentID indicates an expected call of ParentID.
  4080  func (mr *MockNodeIDMockRecorder) ParentID() *gomock.Call {
  4081  	mr.mock.ctrl.T.Helper()
  4082  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ParentID", reflect.TypeOf((*MockNodeID)(nil).ParentID))
  4083  }
  4084  
  4085  // MockNotifier is a mock of Notifier interface.
  4086  type MockNotifier struct {
  4087  	ctrl     *gomock.Controller
  4088  	recorder *MockNotifierMockRecorder
  4089  }
  4090  
  4091  // MockNotifierMockRecorder is the mock recorder for MockNotifier.
  4092  type MockNotifierMockRecorder struct {
  4093  	mock *MockNotifier
  4094  }
  4095  
  4096  // NewMockNotifier creates a new mock instance.
  4097  func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier {
  4098  	mock := &MockNotifier{ctrl: ctrl}
  4099  	mock.recorder = &MockNotifierMockRecorder{mock}
  4100  	return mock
  4101  }
  4102  
  4103  // EXPECT returns an object that allows the caller to indicate expected use.
  4104  func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder {
  4105  	return m.recorder
  4106  }
  4107  
  4108  // RegisterForChanges mocks base method.
  4109  func (m *MockNotifier) RegisterForChanges(arg0 []data.FolderBranch, arg1 Observer) error {
  4110  	m.ctrl.T.Helper()
  4111  	ret := m.ctrl.Call(m, "RegisterForChanges", arg0, arg1)
  4112  	ret0, _ := ret[0].(error)
  4113  	return ret0
  4114  }
  4115  
  4116  // RegisterForChanges indicates an expected call of RegisterForChanges.
  4117  func (mr *MockNotifierMockRecorder) RegisterForChanges(arg0, arg1 interface{}) *gomock.Call {
  4118  	mr.mock.ctrl.T.Helper()
  4119  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterForChanges", reflect.TypeOf((*MockNotifier)(nil).RegisterForChanges), arg0, arg1)
  4120  }
  4121  
  4122  // RegisterForSyncedTlfs mocks base method.
  4123  func (m *MockNotifier) RegisterForSyncedTlfs(arg0 SyncedTlfObserver) error {
  4124  	m.ctrl.T.Helper()
  4125  	ret := m.ctrl.Call(m, "RegisterForSyncedTlfs", arg0)
  4126  	ret0, _ := ret[0].(error)
  4127  	return ret0
  4128  }
  4129  
  4130  // RegisterForSyncedTlfs indicates an expected call of RegisterForSyncedTlfs.
  4131  func (mr *MockNotifierMockRecorder) RegisterForSyncedTlfs(arg0 interface{}) *gomock.Call {
  4132  	mr.mock.ctrl.T.Helper()
  4133  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterForSyncedTlfs", reflect.TypeOf((*MockNotifier)(nil).RegisterForSyncedTlfs), arg0)
  4134  }
  4135  
  4136  // UnregisterFromChanges mocks base method.
  4137  func (m *MockNotifier) UnregisterFromChanges(arg0 []data.FolderBranch, arg1 Observer) error {
  4138  	m.ctrl.T.Helper()
  4139  	ret := m.ctrl.Call(m, "UnregisterFromChanges", arg0, arg1)
  4140  	ret0, _ := ret[0].(error)
  4141  	return ret0
  4142  }
  4143  
  4144  // UnregisterFromChanges indicates an expected call of UnregisterFromChanges.
  4145  func (mr *MockNotifierMockRecorder) UnregisterFromChanges(arg0, arg1 interface{}) *gomock.Call {
  4146  	mr.mock.ctrl.T.Helper()
  4147  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterFromChanges", reflect.TypeOf((*MockNotifier)(nil).UnregisterFromChanges), arg0, arg1)
  4148  }
  4149  
  4150  // UnregisterFromSyncedTlfs mocks base method.
  4151  func (m *MockNotifier) UnregisterFromSyncedTlfs(arg0 SyncedTlfObserver) error {
  4152  	m.ctrl.T.Helper()
  4153  	ret := m.ctrl.Call(m, "UnregisterFromSyncedTlfs", arg0)
  4154  	ret0, _ := ret[0].(error)
  4155  	return ret0
  4156  }
  4157  
  4158  // UnregisterFromSyncedTlfs indicates an expected call of UnregisterFromSyncedTlfs.
  4159  func (mr *MockNotifierMockRecorder) UnregisterFromSyncedTlfs(arg0 interface{}) *gomock.Call {
  4160  	mr.mock.ctrl.T.Helper()
  4161  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnregisterFromSyncedTlfs", reflect.TypeOf((*MockNotifier)(nil).UnregisterFromSyncedTlfs), arg0)
  4162  }
  4163  
  4164  // MockRekeyQueue is a mock of RekeyQueue interface.
  4165  type MockRekeyQueue struct {
  4166  	ctrl     *gomock.Controller
  4167  	recorder *MockRekeyQueueMockRecorder
  4168  }
  4169  
  4170  // MockRekeyQueueMockRecorder is the mock recorder for MockRekeyQueue.
  4171  type MockRekeyQueueMockRecorder struct {
  4172  	mock *MockRekeyQueue
  4173  }
  4174  
  4175  // NewMockRekeyQueue creates a new mock instance.
  4176  func NewMockRekeyQueue(ctrl *gomock.Controller) *MockRekeyQueue {
  4177  	mock := &MockRekeyQueue{ctrl: ctrl}
  4178  	mock.recorder = &MockRekeyQueueMockRecorder{mock}
  4179  	return mock
  4180  }
  4181  
  4182  // EXPECT returns an object that allows the caller to indicate expected use.
  4183  func (m *MockRekeyQueue) EXPECT() *MockRekeyQueueMockRecorder {
  4184  	return m.recorder
  4185  }
  4186  
  4187  // Enqueue mocks base method.
  4188  func (m *MockRekeyQueue) Enqueue(arg0 tlf.ID) {
  4189  	m.ctrl.T.Helper()
  4190  	m.ctrl.Call(m, "Enqueue", arg0)
  4191  }
  4192  
  4193  // Enqueue indicates an expected call of Enqueue.
  4194  func (mr *MockRekeyQueueMockRecorder) Enqueue(arg0 interface{}) *gomock.Call {
  4195  	mr.mock.ctrl.T.Helper()
  4196  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enqueue", reflect.TypeOf((*MockRekeyQueue)(nil).Enqueue), arg0)
  4197  }
  4198  
  4199  // IsRekeyPending mocks base method.
  4200  func (m *MockRekeyQueue) IsRekeyPending(arg0 tlf.ID) bool {
  4201  	m.ctrl.T.Helper()
  4202  	ret := m.ctrl.Call(m, "IsRekeyPending", arg0)
  4203  	ret0, _ := ret[0].(bool)
  4204  	return ret0
  4205  }
  4206  
  4207  // IsRekeyPending indicates an expected call of IsRekeyPending.
  4208  func (mr *MockRekeyQueueMockRecorder) IsRekeyPending(arg0 interface{}) *gomock.Call {
  4209  	mr.mock.ctrl.T.Helper()
  4210  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsRekeyPending", reflect.TypeOf((*MockRekeyQueue)(nil).IsRekeyPending), arg0)
  4211  }
  4212  
  4213  // Shutdown mocks base method.
  4214  func (m *MockRekeyQueue) Shutdown() {
  4215  	m.ctrl.T.Helper()
  4216  	m.ctrl.Call(m, "Shutdown")
  4217  }
  4218  
  4219  // Shutdown indicates an expected call of Shutdown.
  4220  func (mr *MockRekeyQueueMockRecorder) Shutdown() *gomock.Call {
  4221  	mr.mock.ctrl.T.Helper()
  4222  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockRekeyQueue)(nil).Shutdown))
  4223  }
  4224  
  4225  // MockReporter is a mock of Reporter interface.
  4226  type MockReporter struct {
  4227  	ctrl     *gomock.Controller
  4228  	recorder *MockReporterMockRecorder
  4229  }
  4230  
  4231  // MockReporterMockRecorder is the mock recorder for MockReporter.
  4232  type MockReporterMockRecorder struct {
  4233  	mock *MockReporter
  4234  }
  4235  
  4236  // NewMockReporter creates a new mock instance.
  4237  func NewMockReporter(ctrl *gomock.Controller) *MockReporter {
  4238  	mock := &MockReporter{ctrl: ctrl}
  4239  	mock.recorder = &MockReporterMockRecorder{mock}
  4240  	return mock
  4241  }
  4242  
  4243  // EXPECT returns an object that allows the caller to indicate expected use.
  4244  func (m *MockReporter) EXPECT() *MockReporterMockRecorder {
  4245  	return m.recorder
  4246  }
  4247  
  4248  // AllKnownErrors mocks base method.
  4249  func (m *MockReporter) AllKnownErrors() []ReportedError {
  4250  	m.ctrl.T.Helper()
  4251  	ret := m.ctrl.Call(m, "AllKnownErrors")
  4252  	ret0, _ := ret[0].([]ReportedError)
  4253  	return ret0
  4254  }
  4255  
  4256  // AllKnownErrors indicates an expected call of AllKnownErrors.
  4257  func (mr *MockReporterMockRecorder) AllKnownErrors() *gomock.Call {
  4258  	mr.mock.ctrl.T.Helper()
  4259  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllKnownErrors", reflect.TypeOf((*MockReporter)(nil).AllKnownErrors))
  4260  }
  4261  
  4262  // Notify mocks base method.
  4263  func (m *MockReporter) Notify(arg0 context.Context, arg1 *keybase1.FSNotification) {
  4264  	m.ctrl.T.Helper()
  4265  	m.ctrl.Call(m, "Notify", arg0, arg1)
  4266  }
  4267  
  4268  // Notify indicates an expected call of Notify.
  4269  func (mr *MockReporterMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call {
  4270  	mr.mock.ctrl.T.Helper()
  4271  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Notify", reflect.TypeOf((*MockReporter)(nil).Notify), arg0, arg1)
  4272  }
  4273  
  4274  // NotifyFavoritesChanged mocks base method.
  4275  func (m *MockReporter) NotifyFavoritesChanged(arg0 context.Context) {
  4276  	m.ctrl.T.Helper()
  4277  	m.ctrl.Call(m, "NotifyFavoritesChanged", arg0)
  4278  }
  4279  
  4280  // NotifyFavoritesChanged indicates an expected call of NotifyFavoritesChanged.
  4281  func (mr *MockReporterMockRecorder) NotifyFavoritesChanged(arg0 interface{}) *gomock.Call {
  4282  	mr.mock.ctrl.T.Helper()
  4283  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyFavoritesChanged", reflect.TypeOf((*MockReporter)(nil).NotifyFavoritesChanged), arg0)
  4284  }
  4285  
  4286  // NotifyOverallSyncStatus mocks base method.
  4287  func (m *MockReporter) NotifyOverallSyncStatus(arg0 context.Context, arg1 keybase1.FolderSyncStatus) {
  4288  	m.ctrl.T.Helper()
  4289  	m.ctrl.Call(m, "NotifyOverallSyncStatus", arg0, arg1)
  4290  }
  4291  
  4292  // NotifyOverallSyncStatus indicates an expected call of NotifyOverallSyncStatus.
  4293  func (mr *MockReporterMockRecorder) NotifyOverallSyncStatus(arg0, arg1 interface{}) *gomock.Call {
  4294  	mr.mock.ctrl.T.Helper()
  4295  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyOverallSyncStatus", reflect.TypeOf((*MockReporter)(nil).NotifyOverallSyncStatus), arg0, arg1)
  4296  }
  4297  
  4298  // NotifyPathUpdated mocks base method.
  4299  func (m *MockReporter) NotifyPathUpdated(arg0 context.Context, arg1 string) {
  4300  	m.ctrl.T.Helper()
  4301  	m.ctrl.Call(m, "NotifyPathUpdated", arg0, arg1)
  4302  }
  4303  
  4304  // NotifyPathUpdated indicates an expected call of NotifyPathUpdated.
  4305  func (mr *MockReporterMockRecorder) NotifyPathUpdated(arg0, arg1 interface{}) *gomock.Call {
  4306  	mr.mock.ctrl.T.Helper()
  4307  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifyPathUpdated", reflect.TypeOf((*MockReporter)(nil).NotifyPathUpdated), arg0, arg1)
  4308  }
  4309  
  4310  // NotifySyncStatus mocks base method.
  4311  func (m *MockReporter) NotifySyncStatus(arg0 context.Context, arg1 *keybase1.FSPathSyncStatus) {
  4312  	m.ctrl.T.Helper()
  4313  	m.ctrl.Call(m, "NotifySyncStatus", arg0, arg1)
  4314  }
  4315  
  4316  // NotifySyncStatus indicates an expected call of NotifySyncStatus.
  4317  func (mr *MockReporterMockRecorder) NotifySyncStatus(arg0, arg1 interface{}) *gomock.Call {
  4318  	mr.mock.ctrl.T.Helper()
  4319  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotifySyncStatus", reflect.TypeOf((*MockReporter)(nil).NotifySyncStatus), arg0, arg1)
  4320  }
  4321  
  4322  // OnlineStatusChanged mocks base method.
  4323  func (m *MockReporter) OnlineStatusChanged(arg0 context.Context, arg1 bool) {
  4324  	m.ctrl.T.Helper()
  4325  	m.ctrl.Call(m, "OnlineStatusChanged", arg0, arg1)
  4326  }
  4327  
  4328  // OnlineStatusChanged indicates an expected call of OnlineStatusChanged.
  4329  func (mr *MockReporterMockRecorder) OnlineStatusChanged(arg0, arg1 interface{}) *gomock.Call {
  4330  	mr.mock.ctrl.T.Helper()
  4331  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnlineStatusChanged", reflect.TypeOf((*MockReporter)(nil).OnlineStatusChanged), arg0, arg1)
  4332  }
  4333  
  4334  // ReportErr mocks base method.
  4335  func (m *MockReporter) ReportErr(arg0 context.Context, arg1 tlf.CanonicalName, arg2 tlf.Type, arg3 ErrorModeType, arg4 error) {
  4336  	m.ctrl.T.Helper()
  4337  	m.ctrl.Call(m, "ReportErr", arg0, arg1, arg2, arg3, arg4)
  4338  }
  4339  
  4340  // ReportErr indicates an expected call of ReportErr.
  4341  func (mr *MockReporterMockRecorder) ReportErr(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
  4342  	mr.mock.ctrl.T.Helper()
  4343  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReportErr", reflect.TypeOf((*MockReporter)(nil).ReportErr), arg0, arg1, arg2, arg3, arg4)
  4344  }
  4345  
  4346  // Shutdown mocks base method.
  4347  func (m *MockReporter) Shutdown() {
  4348  	m.ctrl.T.Helper()
  4349  	m.ctrl.Call(m, "Shutdown")
  4350  }
  4351  
  4352  // Shutdown indicates an expected call of Shutdown.
  4353  func (mr *MockReporterMockRecorder) Shutdown() *gomock.Call {
  4354  	mr.mock.ctrl.T.Helper()
  4355  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shutdown", reflect.TypeOf((*MockReporter)(nil).Shutdown))
  4356  }
  4357  
  4358  // MockSubscriptionNotifier is a mock of SubscriptionNotifier interface.
  4359  type MockSubscriptionNotifier struct {
  4360  	ctrl     *gomock.Controller
  4361  	recorder *MockSubscriptionNotifierMockRecorder
  4362  }
  4363  
  4364  // MockSubscriptionNotifierMockRecorder is the mock recorder for MockSubscriptionNotifier.
  4365  type MockSubscriptionNotifierMockRecorder struct {
  4366  	mock *MockSubscriptionNotifier
  4367  }
  4368  
  4369  // NewMockSubscriptionNotifier creates a new mock instance.
  4370  func NewMockSubscriptionNotifier(ctrl *gomock.Controller) *MockSubscriptionNotifier {
  4371  	mock := &MockSubscriptionNotifier{ctrl: ctrl}
  4372  	mock.recorder = &MockSubscriptionNotifierMockRecorder{mock}
  4373  	return mock
  4374  }
  4375  
  4376  // EXPECT returns an object that allows the caller to indicate expected use.
  4377  func (m *MockSubscriptionNotifier) EXPECT() *MockSubscriptionNotifierMockRecorder {
  4378  	return m.recorder
  4379  }
  4380  
  4381  // OnNonPathChange mocks base method.
  4382  func (m *MockSubscriptionNotifier) OnNonPathChange(arg0 SubscriptionManagerClientID, arg1 []SubscriptionID, arg2 keybase1.SubscriptionTopic) {
  4383  	m.ctrl.T.Helper()
  4384  	m.ctrl.Call(m, "OnNonPathChange", arg0, arg1, arg2)
  4385  }
  4386  
  4387  // OnNonPathChange indicates an expected call of OnNonPathChange.
  4388  func (mr *MockSubscriptionNotifierMockRecorder) OnNonPathChange(arg0, arg1, arg2 interface{}) *gomock.Call {
  4389  	mr.mock.ctrl.T.Helper()
  4390  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnNonPathChange", reflect.TypeOf((*MockSubscriptionNotifier)(nil).OnNonPathChange), arg0, arg1, arg2)
  4391  }
  4392  
  4393  // OnPathChange mocks base method.
  4394  func (m *MockSubscriptionNotifier) OnPathChange(arg0 SubscriptionManagerClientID, arg1 []SubscriptionID, arg2 string, arg3 []keybase1.PathSubscriptionTopic) {
  4395  	m.ctrl.T.Helper()
  4396  	m.ctrl.Call(m, "OnPathChange", arg0, arg1, arg2, arg3)
  4397  }
  4398  
  4399  // OnPathChange indicates an expected call of OnPathChange.
  4400  func (mr *MockSubscriptionNotifierMockRecorder) OnPathChange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  4401  	mr.mock.ctrl.T.Helper()
  4402  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnPathChange", reflect.TypeOf((*MockSubscriptionNotifier)(nil).OnPathChange), arg0, arg1, arg2, arg3)
  4403  }
  4404  
  4405  // MockSubscriptionManagerPublisher is a mock of SubscriptionManagerPublisher interface.
  4406  type MockSubscriptionManagerPublisher struct {
  4407  	ctrl     *gomock.Controller
  4408  	recorder *MockSubscriptionManagerPublisherMockRecorder
  4409  }
  4410  
  4411  // MockSubscriptionManagerPublisherMockRecorder is the mock recorder for MockSubscriptionManagerPublisher.
  4412  type MockSubscriptionManagerPublisherMockRecorder struct {
  4413  	mock *MockSubscriptionManagerPublisher
  4414  }
  4415  
  4416  // NewMockSubscriptionManagerPublisher creates a new mock instance.
  4417  func NewMockSubscriptionManagerPublisher(ctrl *gomock.Controller) *MockSubscriptionManagerPublisher {
  4418  	mock := &MockSubscriptionManagerPublisher{ctrl: ctrl}
  4419  	mock.recorder = &MockSubscriptionManagerPublisherMockRecorder{mock}
  4420  	return mock
  4421  }
  4422  
  4423  // EXPECT returns an object that allows the caller to indicate expected use.
  4424  func (m *MockSubscriptionManagerPublisher) EXPECT() *MockSubscriptionManagerPublisherMockRecorder {
  4425  	return m.recorder
  4426  }
  4427  
  4428  // PublishChange mocks base method.
  4429  func (m *MockSubscriptionManagerPublisher) PublishChange(arg0 keybase1.SubscriptionTopic) {
  4430  	m.ctrl.T.Helper()
  4431  	m.ctrl.Call(m, "PublishChange", arg0)
  4432  }
  4433  
  4434  // PublishChange indicates an expected call of PublishChange.
  4435  func (mr *MockSubscriptionManagerPublisherMockRecorder) PublishChange(arg0 interface{}) *gomock.Call {
  4436  	mr.mock.ctrl.T.Helper()
  4437  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishChange", reflect.TypeOf((*MockSubscriptionManagerPublisher)(nil).PublishChange), arg0)
  4438  }