@@ -874,7 +874,6 @@ var splitargs = cmpopts.AcyclicTransformer("splitargs", func(cmd string) []strin
874
874
type mockGRPCClient struct {
875
875
mockSearchConfiguration func (context.Context , * proto.SearchConfigurationRequest , ... grpc.CallOption ) (* proto.SearchConfigurationResponse , error )
876
876
mockList func (context.Context , * proto.ListRequest , ... grpc.CallOption ) (* proto.ListResponse , error )
877
- mockRepositoryRank func (context.Context , * proto.RepositoryRankRequest , ... grpc.CallOption ) (* proto.RepositoryRankResponse , error )
878
877
mockDocumentRanks func (context.Context , * proto.DocumentRanksRequest , ... grpc.CallOption ) (* proto.DocumentRanksResponse , error )
879
878
mockUpdateIndexStatus func (context.Context , * proto.UpdateIndexStatusRequest , ... grpc.CallOption ) (* proto.UpdateIndexStatusResponse , error )
880
879
}
@@ -895,14 +894,6 @@ func (m *mockGRPCClient) List(ctx context.Context, in *proto.ListRequest, opts .
895
894
return nil , fmt .Errorf ("mock RPC List not implemented" )
896
895
}
897
896
898
- func (m * mockGRPCClient ) RepositoryRank (ctx context.Context , in * proto.RepositoryRankRequest , opts ... grpc.CallOption ) (* proto.RepositoryRankResponse , error ) {
899
- if m .mockRepositoryRank != nil {
900
- return m .mockRepositoryRank (ctx , in , opts ... )
901
- }
902
-
903
- return nil , fmt .Errorf ("mock RPC RepositoryRank not implemented" )
904
- }
905
-
906
897
func (m * mockGRPCClient ) DocumentRanks (ctx context.Context , in * proto.DocumentRanksRequest , opts ... grpc.CallOption ) (* proto.DocumentRanksResponse , error ) {
907
898
if m .mockDocumentRanks != nil {
908
899
return m .mockDocumentRanks (ctx , in , opts ... )
0 commit comments