Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBranchIterator
- func (m *MockBranchIterator) Close()
- func (m *MockBranchIterator) EXPECT() *MockBranchIteratorMockRecorder
- func (m *MockBranchIterator) Err() error
- func (m *MockBranchIterator) Next() bool
- func (m *MockBranchIterator) SeekGE(id graveler.BranchID)
- func (m *MockBranchIterator) Value() *graveler.BranchRecord
- type MockBranchIteratorMockRecorder
- func (mr *MockBranchIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockBranchIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockBranchIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockBranchIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockBranchIteratorMockRecorder) Value() *gomock.Call
- type MockBranchLocker
- func (m *MockBranchLocker) EXPECT() *MockBranchLockerMockRecorder
- func (m *MockBranchLocker) MetadataUpdater(ctx context.Context, repository *graveler.RepositoryRecord, ...) (interface{}, error)
- func (m *MockBranchLocker) Writer(ctx context.Context, repository *graveler.RepositoryRecord, ...) (interface{}, error)
- type MockBranchLockerMockRecorder
- type MockCollaborator
- func (m *MockCollaborator) CreatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockCollaborator) EXPECT() *MockCollaboratorMockRecorder
- func (m *MockCollaborator) GetPullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.PullRequest, error)
- func (m *MockCollaborator) ListPullRequests(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.PullsIterator, error)
- func (m *MockCollaborator) UpdatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- type MockCollaboratorMockRecorder
- func (mr *MockCollaboratorMockRecorder) CreatePullRequest(ctx, repository, pullRequest interface{}) *gomock.Call
- func (mr *MockCollaboratorMockRecorder) GetPullRequest(ctx, repository, pullRequestID interface{}) *gomock.Call
- func (mr *MockCollaboratorMockRecorder) ListPullRequests(ctx, repository interface{}) *gomock.Call
- func (mr *MockCollaboratorMockRecorder) UpdatePullRequest(ctx, repository, pullRequestID, update interface{}) *gomock.Call
- type MockCommitIterator
- func (m *MockCommitIterator) Close()
- func (m *MockCommitIterator) EXPECT() *MockCommitIteratorMockRecorder
- func (m *MockCommitIterator) Err() error
- func (m *MockCommitIterator) Next() bool
- func (m *MockCommitIterator) SeekGE(id graveler.CommitID)
- func (m *MockCommitIterator) Value() *graveler.CommitRecord
- type MockCommitIteratorMockRecorder
- func (mr *MockCommitIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockCommitIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockCommitIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockCommitIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockCommitIteratorMockRecorder) Value() *gomock.Call
- type MockCommittedManager
- func (m *MockCommittedManager) Commit(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.MetaRangeID, graveler.DiffSummary, error)
- func (m *MockCommittedManager) Compare(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.DiffIterator, error)
- func (m *MockCommittedManager) Diff(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.DiffIterator, error)
- func (m *MockCommittedManager) EXPECT() *MockCommittedManagerMockRecorder
- func (m *MockCommittedManager) Exists(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID) (bool, error)
- func (m *MockCommittedManager) Get(ctx context.Context, ns graveler.StorageNamespace, ...) (*graveler.Value, error)
- func (m *MockCommittedManager) GetMetaRange(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.MetaRangeAddress, error)
- func (m *MockCommittedManager) GetRange(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.RangeID) (graveler.RangeAddress, error)
- func (m *MockCommittedManager) GetRangeIDByKey(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, ...) (graveler.RangeID, error)
- func (m *MockCommittedManager) Import(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.MetaRangeID, error)
- func (m *MockCommittedManager) List(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.ValueIterator, error)
- func (m *MockCommittedManager) Merge(ctx context.Context, ns graveler.StorageNamespace, ...) (graveler.MetaRangeID, error)
- func (m *MockCommittedManager) WriteMetaRange(ctx context.Context, ns graveler.StorageNamespace, ...) (*graveler.MetaRangeInfo, error)
- func (m *MockCommittedManager) WriteMetaRangeByIterator(ctx context.Context, ns graveler.StorageNamespace, it graveler.ValueIterator, ...) (*graveler.MetaRangeID, error)
- func (m *MockCommittedManager) WriteRange(ctx context.Context, ns graveler.StorageNamespace, it graveler.ValueIterator) (*graveler.RangeInfo, error)
- type MockCommittedManagerMockRecorder
- func (mr *MockCommittedManagerMockRecorder) Commit(ctx, ns, baseMetaRangeID, changes, allowEmpty interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Compare(ctx, ns, destination, source, base interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Diff(ctx, ns, left, right interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Get(ctx, ns, rangeID, key interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) GetMetaRange(ctx, ns, metaRangeID interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) GetRange(ctx, ns, rangeID interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) GetRangeIDByKey(ctx, ns, id, key interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Import(ctx, ns, destination, source, prefixes interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) List(ctx, ns, rangeID interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) Merge(ctx, ns, destination, source, base, strategy interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) WriteMetaRange(ctx, ns, ranges interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) WriteMetaRangeByIterator(ctx, ns, it, metadata interface{}) *gomock.Call
- func (mr *MockCommittedManagerMockRecorder) WriteRange(ctx, ns, it interface{}) *gomock.Call
- type MockDiffIterator
- type MockDiffIteratorMockRecorder
- func (mr *MockDiffIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockDiffIteratorMockRecorder) Value() *gomock.Call
- type MockDumper
- func (m *MockDumper) DumpBranches(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
- func (m *MockDumper) DumpCommits(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
- func (m *MockDumper) DumpTags(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
- func (m *MockDumper) EXPECT() *MockDumperMockRecorder
- type MockDumperMockRecorder
- type MockGarbageCollectionManager
- func (m *MockGarbageCollectionManager) EXPECT() *MockGarbageCollectionManagerMockRecorder
- func (m *MockGarbageCollectionManager) GetAddressesLocation(sn graveler.StorageNamespace) (string, error)
- func (m *MockGarbageCollectionManager) GetCommitsCSVLocation(runID string, sn graveler.StorageNamespace) (string, error)
- func (m *MockGarbageCollectionManager) GetRules(ctx context.Context, storageNamespace graveler.StorageNamespace) (*graveler.GarbageCollectionRules, error)
- func (m *MockGarbageCollectionManager) GetUncommittedLocation(runID string, sn graveler.StorageNamespace) (string, error)
- func (m *MockGarbageCollectionManager) NewID() string
- func (m *MockGarbageCollectionManager) SaveGarbageCollectionCommits(ctx context.Context, repository *graveler.RepositoryRecord, ...) (string, error)
- func (m *MockGarbageCollectionManager) SaveGarbageCollectionUncommitted(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockGarbageCollectionManager) SaveRules(ctx context.Context, storageNamespace graveler.StorageNamespace, ...) error
- type MockGarbageCollectionManagerMockRecorder
- func (mr *MockGarbageCollectionManagerMockRecorder) GetAddressesLocation(sn interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) GetCommitsCSVLocation(runID, sn interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) GetRules(ctx, storageNamespace interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) GetUncommittedLocation(runID, sn interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) NewID() *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionCommits(ctx, repository, rules interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionUncommitted(ctx, repository, filename, runID interface{}) *gomock.Call
- func (mr *MockGarbageCollectionManagerMockRecorder) SaveRules(ctx, storageNamespace, rules interface{}) *gomock.Call
- type MockKeyValueStore
- func (m *MockKeyValueStore) Delete(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockKeyValueStore) DeleteBatch(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockKeyValueStore) EXPECT() *MockKeyValueStoreMockRecorder
- func (m *MockKeyValueStore) Get(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref, ...) (*graveler.Value, error)
- func (m *MockKeyValueStore) GetByCommitID(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Value, error)
- func (m *MockKeyValueStore) GetRangeIDByKey(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.RangeID, error)
- func (m *MockKeyValueStore) List(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref, ...) (graveler.ValueIterator, error)
- func (m *MockKeyValueStore) Set(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockKeyValueStore) Update(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- type MockKeyValueStoreMockRecorder
- func (mr *MockKeyValueStoreMockRecorder) Delete(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) DeleteBatch(ctx, repository, branchID, keys interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) Get(ctx, repository, ref, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) GetByCommitID(ctx, repository, commitID, key interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) GetRangeIDByKey(ctx, repository, commitID, key interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) List(ctx, repository, ref, batchSize interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) Set(ctx, repository, branchID, key, value interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKeyValueStoreMockRecorder) Update(ctx, repository, branchID, key, update interface{}, opts ...interface{}) *gomock.Call
- type MockLinkAddressIterator
- func (m *MockLinkAddressIterator) Close()
- func (m *MockLinkAddressIterator) EXPECT() *MockLinkAddressIteratorMockRecorder
- func (m *MockLinkAddressIterator) Err() error
- func (m *MockLinkAddressIterator) Next() bool
- func (m *MockLinkAddressIterator) SeekGE(address string)
- func (m *MockLinkAddressIterator) Value() *graveler.LinkAddressData
- type MockLinkAddressIteratorMockRecorder
- func (mr *MockLinkAddressIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockLinkAddressIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockLinkAddressIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockLinkAddressIteratorMockRecorder) SeekGE(address interface{}) *gomock.Call
- func (mr *MockLinkAddressIteratorMockRecorder) Value() *gomock.Call
- type MockLoader
- func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
- func (m *MockLoader) LoadBranches(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockLoader) LoadCommits(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockLoader) LoadTags(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- type MockLoaderMockRecorder
- func (mr *MockLoaderMockRecorder) LoadBranches(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) LoadCommits(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) LoadTags(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
- type MockPlumbing
- func (m *MockPlumbing) EXPECT() *MockPlumbingMockRecorder
- func (m *MockPlumbing) GetMetaRange(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.MetaRangeAddress, error)
- func (m *MockPlumbing) GetRange(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.RangeAddress, error)
- func (m *MockPlumbing) StageObject(ctx context.Context, stagingToken string, object graveler.ValueRecord) error
- func (m *MockPlumbing) WriteMetaRange(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.MetaRangeInfo, error)
- func (m *MockPlumbing) WriteRange(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.RangeInfo, error)
- type MockPlumbingMockRecorder
- func (mr *MockPlumbingMockRecorder) GetMetaRange(ctx, repository, metaRangeID interface{}) *gomock.Call
- func (mr *MockPlumbingMockRecorder) GetRange(ctx, repository, rangeID interface{}) *gomock.Call
- func (mr *MockPlumbingMockRecorder) StageObject(ctx, stagingToken, object interface{}) *gomock.Call
- func (mr *MockPlumbingMockRecorder) WriteMetaRange(ctx, repository, ranges interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPlumbingMockRecorder) WriteRange(ctx, repository, it interface{}, opts ...interface{}) *gomock.Call
- type MockProtectedBranchesManager
- func (m *MockProtectedBranchesManager) EXPECT() *MockProtectedBranchesManagerMockRecorder
- func (m *MockProtectedBranchesManager) GetRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.BranchProtectionRules, *string, error)
- func (m *MockProtectedBranchesManager) IsBlocked(ctx context.Context, repository *graveler.RepositoryRecord, ...) (bool, error)
- func (m *MockProtectedBranchesManager) SetRules(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- type MockProtectedBranchesManagerMockRecorder
- func (mr *MockProtectedBranchesManagerMockRecorder) GetRules(ctx, repository interface{}) *gomock.Call
- func (mr *MockProtectedBranchesManagerMockRecorder) IsBlocked(ctx, repository, branchID, action interface{}) *gomock.Call
- func (mr *MockProtectedBranchesManagerMockRecorder) SetRules(ctx, repository, rules, lastKnownChecksum interface{}) *gomock.Call
- type MockPullsIterator
- func (m *MockPullsIterator) Close()
- func (m *MockPullsIterator) EXPECT() *MockPullsIteratorMockRecorder
- func (m *MockPullsIterator) Err() error
- func (m *MockPullsIterator) Next() bool
- func (m *MockPullsIterator) SeekGE(id graveler.PullRequestID)
- func (m *MockPullsIterator) Value() *graveler.PullRequestRecord
- type MockPullsIteratorMockRecorder
- func (mr *MockPullsIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockPullsIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockPullsIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockPullsIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockPullsIteratorMockRecorder) Value() *gomock.Call
- type MockRefManager
- func (m *MockRefManager) AddCommit(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockRefManager) BranchUpdate(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) CreateBareRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) (*graveler.RepositoryRecord, error)
- func (m *MockRefManager) CreateBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) CreateCommitRecord(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) CreatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) CreateRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) (*graveler.RepositoryRecord, error)
- func (m *MockRefManager) CreateTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) DeleteBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) DeleteExpiredImports(ctx context.Context, repository *graveler.RepositoryRecord) error
- func (m *MockRefManager) DeletePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) DeleteRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) error
- func (m *MockRefManager) DeleteTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) EXPECT() *MockRefManagerMockRecorder
- func (m *MockRefManager) FindMergeBase(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Commit, error)
- func (m *MockRefManager) GCBranchIterator(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.BranchIterator, error)
- func (m *MockRefManager) GCCommitIterator(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.CommitIterator, error)
- func (m *MockRefManager) GetBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Branch, error)
- func (m *MockRefManager) GetCommit(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Commit, error)
- func (m *MockRefManager) GetCommitByPrefix(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Commit, error)
- func (m *MockRefManager) GetPullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.PullRequest, error)
- func (m *MockRefManager) GetRepository(ctx context.Context, repositoryID graveler.RepositoryID) (*graveler.RepositoryRecord, error)
- func (m *MockRefManager) GetRepositoryMetadata(ctx context.Context, repositoryID graveler.RepositoryID) (graveler.RepositoryMetadata, error)
- func (m *MockRefManager) GetTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.CommitID, error)
- func (m *MockRefManager) ListBranches(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.BranchIterator, error)
- func (m *MockRefManager) ListCommits(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.CommitIterator, error)
- func (m *MockRefManager) ListPullRequests(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.PullsIterator, error)
- func (m *MockRefManager) ListRepositories(ctx context.Context) (graveler.RepositoryIterator, error)
- func (m *MockRefManager) ListTags(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.TagIterator, error)
- func (m *MockRefManager) Log(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitIterator, error)
- func (m *MockRefManager) ParseRef(ref graveler.Ref) (graveler.RawRef, error)
- func (m *MockRefManager) RemoveCommit(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) ResolveRawRef(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.ResolvedRef, error)
- func (m *MockRefManager) SetBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) SetRepositoryMetadata(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockRefManager) UpdatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- type MockRefManagerMockRecorder
- func (mr *MockRefManagerMockRecorder) AddCommit(ctx, repository, commit interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) BranchUpdate(ctx, repository, branchID, f interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreateBareRepository(ctx, repositoryID, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreateBranch(ctx, repository, branchID, branch interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreateCommitRecord(ctx, repository, commitID, commit interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreatePullRequest(ctx, repository, pullRequestID, pullRequest interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreateRepository(ctx, repositoryID, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) CreateTag(ctx, repository, tagID, commitID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) DeleteBranch(ctx, repository, branchID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) DeleteExpiredImports(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) DeletePullRequest(ctx, repository, pullRequestID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) DeleteRepository(ctx, repositoryID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) DeleteTag(ctx, repository, tagID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) FindMergeBase(ctx, repository interface{}, commitIDs ...interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GCBranchIterator(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GCCommitIterator(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetBranch(ctx, repository, branchID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetCommit(ctx, repository, commitID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetCommitByPrefix(ctx, repository, prefix interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetPullRequest(ctx, repository, pullID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetRepository(ctx, repositoryID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetRepositoryMetadata(ctx, repositoryID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) GetTag(ctx, repository, tagID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ListBranches(ctx, repository, opts interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ListCommits(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ListPullRequests(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ListRepositories(ctx interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ListTags(ctx, repository interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) Log(ctx, repository, commitID, firstParent, since interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ParseRef(ref interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) RemoveCommit(ctx, repository, commitID interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) ResolveRawRef(ctx, repository, rawRef interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) SetBranch(ctx, repository, branchID, branch interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) SetRepositoryMetadata(ctx, repository, updateFunc interface{}) *gomock.Call
- func (mr *MockRefManagerMockRecorder) UpdatePullRequest(ctx, repository, pullRequestID, f interface{}) *gomock.Call
- type MockRepositoryIterator
- func (m *MockRepositoryIterator) Close()
- func (m *MockRepositoryIterator) EXPECT() *MockRepositoryIteratorMockRecorder
- func (m *MockRepositoryIterator) Err() error
- func (m *MockRepositoryIterator) Next() bool
- func (m *MockRepositoryIterator) SeekGE(id graveler.RepositoryID)
- func (m *MockRepositoryIterator) Value() *graveler.RepositoryRecord
- type MockRepositoryIteratorMockRecorder
- func (mr *MockRepositoryIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockRepositoryIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockRepositoryIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockRepositoryIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockRepositoryIteratorMockRecorder) Value() *gomock.Call
- type MockStagingManager
- func (m *MockStagingManager) Drop(ctx context.Context, st graveler.StagingToken) error
- func (m *MockStagingManager) DropAsync(ctx context.Context, st graveler.StagingToken) error
- func (m *MockStagingManager) DropByPrefix(ctx context.Context, st graveler.StagingToken, prefix graveler.Key) error
- func (m *MockStagingManager) DropKey(ctx context.Context, st graveler.StagingToken, key graveler.Key) error
- func (m *MockStagingManager) EXPECT() *MockStagingManagerMockRecorder
- func (m *MockStagingManager) Get(ctx context.Context, st graveler.StagingToken, key graveler.Key) (*graveler.Value, error)
- func (m *MockStagingManager) List(ctx context.Context, st graveler.StagingToken, batchSize int) graveler.ValueIterator
- func (m *MockStagingManager) Set(ctx context.Context, st graveler.StagingToken, key graveler.Key, ...) error
- func (m *MockStagingManager) Update(ctx context.Context, st graveler.StagingToken, key graveler.Key, ...) error
- type MockStagingManagerMockRecorder
- func (mr *MockStagingManagerMockRecorder) Drop(ctx, st interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) DropAsync(ctx, st interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) DropByPrefix(ctx, st, prefix interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) DropKey(ctx, st, key interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) Get(ctx, st, key interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) List(ctx, st, batchSize interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) Set(ctx, st, key, value, requireExists interface{}) *gomock.Call
- func (mr *MockStagingManagerMockRecorder) Update(ctx, st, key, updateFunc interface{}) *gomock.Call
- type MockTagIterator
- type MockTagIteratorMockRecorder
- func (mr *MockTagIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockTagIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockTagIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockTagIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockTagIteratorMockRecorder) Value() *gomock.Call
- type MockValueIterator
- type MockValueIteratorMockRecorder
- func (mr *MockValueIteratorMockRecorder) Close() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Err() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Next() *gomock.Call
- func (mr *MockValueIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
- func (mr *MockValueIteratorMockRecorder) Value() *gomock.Call
- type MockVersionController
- func (m *MockVersionController) AddCommit(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) CherryPick(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) Commit(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) Compare(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.DiffIterator, error)
- func (m *MockVersionController) CreateBareRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) (*graveler.RepositoryRecord, error)
- func (m *MockVersionController) CreateBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Branch, error)
- func (m *MockVersionController) CreateCommitRecord(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) CreateRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) (*graveler.RepositoryRecord, error)
- func (m *MockVersionController) CreateTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) DeleteBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) DeleteExpiredImports(ctx context.Context, repository *graveler.RepositoryRecord) error
- func (m *MockVersionController) DeleteRepository(ctx context.Context, repositoryID graveler.RepositoryID, ...) error
- func (m *MockVersionController) DeleteTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) Dereference(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref) (*graveler.ResolvedRef, error)
- func (m *MockVersionController) Diff(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.DiffIterator, error)
- func (m *MockVersionController) DiffUncommitted(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.DiffIterator, error)
- func (m *MockVersionController) EXPECT() *MockVersionControllerMockRecorder
- func (m *MockVersionController) FindMergeBase(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.CommitRecord, *graveler.CommitRecord, *graveler.Commit, error)
- func (m *MockVersionController) GCGetUncommittedLocation(repository *graveler.RepositoryRecord, runID string) (string, error)
- func (m *MockVersionController) GCNewRunID() string
- func (m *MockVersionController) GetBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Branch, error)
- func (m *MockVersionController) GetBranchProtectionRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.BranchProtectionRules, *string, error)
- func (m *MockVersionController) GetCommit(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Commit, error)
- func (m *MockVersionController) GetGarbageCollectionRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.GarbageCollectionRules, error)
- func (m *MockVersionController) GetRepository(ctx context.Context, repositoryID graveler.RepositoryID) (*graveler.RepositoryRecord, error)
- func (m *MockVersionController) GetRepositoryMetadata(ctx context.Context, repositoryID graveler.RepositoryID) (graveler.RepositoryMetadata, error)
- func (m *MockVersionController) GetStagingToken(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.StagingToken, error)
- func (m *MockVersionController) GetTag(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.CommitID, error)
- func (m *MockVersionController) Import(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) ListBranches(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.BranchIterator, error)
- func (m *MockVersionController) ListRepositories(ctx context.Context) (graveler.RepositoryIterator, error)
- func (m *MockVersionController) ListTags(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.TagIterator, error)
- func (m *MockVersionController) Log(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitIterator, error)
- func (m *MockVersionController) Merge(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) ParseRef(ref graveler.Ref) (graveler.RawRef, error)
- func (m *MockVersionController) Reset(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) ResetHard(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) ResetKey(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) ResetPrefix(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) ResolveRawRef(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.ResolvedRef, error)
- func (m *MockVersionController) Revert(ctx context.Context, repository *graveler.RepositoryRecord, ...) (graveler.CommitID, error)
- func (m *MockVersionController) SaveGarbageCollectionCommits(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.GarbageCollectionRunMetadata, error)
- func (m *MockVersionController) SetBranchProtectionRules(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) SetGarbageCollectionRules(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) SetHooksHandler(handler graveler.HooksHandler)
- func (m *MockVersionController) SetRepositoryMetadata(ctx context.Context, repository *graveler.RepositoryRecord, ...) error
- func (m *MockVersionController) UpdateBranch(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.Branch, error)
- func (m *MockVersionController) WriteMetaRangeByIterator(ctx context.Context, repository *graveler.RepositoryRecord, ...) (*graveler.MetaRangeID, error)
- type MockVersionControllerMockRecorder
- func (mr *MockVersionControllerMockRecorder) AddCommit(ctx, repository, commit interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CherryPick(ctx, repository, id, reference, number, committer, commitOverrides interface{}, ...) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Commit(ctx, repository, branchID, commitParams interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Compare(ctx, repository, left, right interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CreateBareRepository(ctx, repositoryID, storageNamespace, defaultBranchID, readOnly interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CreateBranch(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CreateCommitRecord(ctx, repository, commitID, commit interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CreateRepository(ctx, repositoryID, storageNamespace, branchID, readOnly interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) CreateTag(ctx, repository, tagID, commitID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) DeleteBranch(ctx, repository, branchID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) DeleteExpiredImports(ctx, repository interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) DeleteRepository(ctx, repositoryID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) DeleteTag(ctx, repository, tagID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Dereference(ctx, repository, ref interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Diff(ctx, repository, left, right interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) DiffUncommitted(ctx, repository, branchID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) FindMergeBase(ctx, repository, from, to interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GCGetUncommittedLocation(repository, runID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GCNewRunID() *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetBranch(ctx, repository, branchID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetBranchProtectionRules(ctx, repository interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetCommit(ctx, repository, commitID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetGarbageCollectionRules(ctx, repository interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetRepository(ctx, repositoryID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetRepositoryMetadata(ctx, repositoryID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetStagingToken(ctx, repository, branchID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) GetTag(ctx, repository, tagID interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Import(ctx, repository, destination, source, commitParams, prefixes interface{}, ...) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ListBranches(ctx, repository interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ListRepositories(ctx interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ListTags(ctx, repository interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Log(ctx, repository, commitID, firstParent, since interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Merge(ctx, repository, destination, source, commitParams, strategy interface{}, ...) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ParseRef(ref interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Reset(ctx, repository, branchID interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ResetHard(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ResetKey(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ResetPrefix(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) ResolveRawRef(ctx, repository, rawRef interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) Revert(...) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) SaveGarbageCollectionCommits(ctx, repository interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) SetBranchProtectionRules(ctx, repository, rules, lastKnownChecksum interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) SetGarbageCollectionRules(ctx, repository, rules interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) SetHooksHandler(handler interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) SetRepositoryMetadata(ctx, repository, updateFunc interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) UpdateBranch(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockVersionControllerMockRecorder) WriteMetaRangeByIterator(ctx, repository, it interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBranchIterator ¶
type MockBranchIterator struct {
// contains filtered or unexported fields
}
MockBranchIterator is a mock of BranchIterator interface.
func NewMockBranchIterator ¶
func NewMockBranchIterator(ctrl *gomock.Controller) *MockBranchIterator
NewMockBranchIterator creates a new mock instance.
func (*MockBranchIterator) EXPECT ¶
func (m *MockBranchIterator) EXPECT() *MockBranchIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBranchIterator) SeekGE ¶
func (m *MockBranchIterator) SeekGE(id graveler.BranchID)
SeekGE mocks base method.
func (*MockBranchIterator) Value ¶
func (m *MockBranchIterator) Value() *graveler.BranchRecord
Value mocks base method.
type MockBranchIteratorMockRecorder ¶
type MockBranchIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockBranchIteratorMockRecorder is the mock recorder for MockBranchIterator.
func (*MockBranchIteratorMockRecorder) Close ¶
func (mr *MockBranchIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockBranchIteratorMockRecorder) Err ¶
func (mr *MockBranchIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockBranchIteratorMockRecorder) Next ¶
func (mr *MockBranchIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockBranchIteratorMockRecorder) SeekGE ¶
func (mr *MockBranchIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockBranchIteratorMockRecorder) Value ¶
func (mr *MockBranchIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockBranchLocker ¶
type MockBranchLocker struct {
// contains filtered or unexported fields
}
MockBranchLocker is a mock of BranchLocker interface.
func NewMockBranchLocker ¶
func NewMockBranchLocker(ctrl *gomock.Controller) *MockBranchLocker
NewMockBranchLocker creates a new mock instance.
func (*MockBranchLocker) EXPECT ¶
func (m *MockBranchLocker) EXPECT() *MockBranchLockerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBranchLocker) MetadataUpdater ¶
func (m *MockBranchLocker) MetadataUpdater(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, lockeFn graveler.BranchLockerFunc) (interface{}, error)
MetadataUpdater mocks base method.
func (*MockBranchLocker) Writer ¶
func (m *MockBranchLocker) Writer(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, lockedFn graveler.BranchLockerFunc) (interface{}, error)
Writer mocks base method.
type MockBranchLockerMockRecorder ¶
type MockBranchLockerMockRecorder struct {
// contains filtered or unexported fields
}
MockBranchLockerMockRecorder is the mock recorder for MockBranchLocker.
func (*MockBranchLockerMockRecorder) MetadataUpdater ¶
func (mr *MockBranchLockerMockRecorder) MetadataUpdater(ctx, repository, branchID, lockeFn interface{}) *gomock.Call
MetadataUpdater indicates an expected call of MetadataUpdater.
func (*MockBranchLockerMockRecorder) Writer ¶
func (mr *MockBranchLockerMockRecorder) Writer(ctx, repository, branchID, lockedFn interface{}) *gomock.Call
Writer indicates an expected call of Writer.
type MockCollaborator ¶ added in v1.35.0
type MockCollaborator struct {
// contains filtered or unexported fields
}
MockCollaborator is a mock of Collaborator interface.
func NewMockCollaborator ¶ added in v1.35.0
func NewMockCollaborator(ctrl *gomock.Controller) *MockCollaborator
NewMockCollaborator creates a new mock instance.
func (*MockCollaborator) CreatePullRequest ¶ added in v1.35.0
func (m *MockCollaborator) CreatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequest *graveler.PullRequestRecord) error
CreatePullRequest mocks base method.
func (*MockCollaborator) EXPECT ¶ added in v1.35.0
func (m *MockCollaborator) EXPECT() *MockCollaboratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCollaborator) GetPullRequest ¶ added in v1.35.0
func (m *MockCollaborator) GetPullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequestID graveler.PullRequestID) (*graveler.PullRequest, error)
GetPullRequest mocks base method.
func (*MockCollaborator) ListPullRequests ¶ added in v1.35.0
func (m *MockCollaborator) ListPullRequests(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.PullsIterator, error)
ListPullRequests mocks base method.
func (*MockCollaborator) UpdatePullRequest ¶ added in v1.35.0
func (m *MockCollaborator) UpdatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequestID graveler.PullRequestID, update *graveler.UpdatePullRequest) error
UpdatePullRequest mocks base method.
type MockCollaboratorMockRecorder ¶ added in v1.35.0
type MockCollaboratorMockRecorder struct {
// contains filtered or unexported fields
}
MockCollaboratorMockRecorder is the mock recorder for MockCollaborator.
func (*MockCollaboratorMockRecorder) CreatePullRequest ¶ added in v1.35.0
func (mr *MockCollaboratorMockRecorder) CreatePullRequest(ctx, repository, pullRequest interface{}) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest.
func (*MockCollaboratorMockRecorder) GetPullRequest ¶ added in v1.35.0
func (mr *MockCollaboratorMockRecorder) GetPullRequest(ctx, repository, pullRequestID interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest.
func (*MockCollaboratorMockRecorder) ListPullRequests ¶ added in v1.35.0
func (mr *MockCollaboratorMockRecorder) ListPullRequests(ctx, repository interface{}) *gomock.Call
ListPullRequests indicates an expected call of ListPullRequests.
func (*MockCollaboratorMockRecorder) UpdatePullRequest ¶ added in v1.35.0
func (mr *MockCollaboratorMockRecorder) UpdatePullRequest(ctx, repository, pullRequestID, update interface{}) *gomock.Call
UpdatePullRequest indicates an expected call of UpdatePullRequest.
type MockCommitIterator ¶
type MockCommitIterator struct {
// contains filtered or unexported fields
}
MockCommitIterator is a mock of CommitIterator interface.
func NewMockCommitIterator ¶
func NewMockCommitIterator(ctrl *gomock.Controller) *MockCommitIterator
NewMockCommitIterator creates a new mock instance.
func (*MockCommitIterator) EXPECT ¶
func (m *MockCommitIterator) EXPECT() *MockCommitIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitIterator) SeekGE ¶
func (m *MockCommitIterator) SeekGE(id graveler.CommitID)
SeekGE mocks base method.
func (*MockCommitIterator) Value ¶
func (m *MockCommitIterator) Value() *graveler.CommitRecord
Value mocks base method.
type MockCommitIteratorMockRecorder ¶
type MockCommitIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitIteratorMockRecorder is the mock recorder for MockCommitIterator.
func (*MockCommitIteratorMockRecorder) Close ¶
func (mr *MockCommitIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockCommitIteratorMockRecorder) Err ¶
func (mr *MockCommitIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockCommitIteratorMockRecorder) Next ¶
func (mr *MockCommitIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockCommitIteratorMockRecorder) SeekGE ¶
func (mr *MockCommitIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockCommitIteratorMockRecorder) Value ¶
func (mr *MockCommitIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockCommittedManager ¶
type MockCommittedManager struct {
// contains filtered or unexported fields
}
MockCommittedManager is a mock of CommittedManager interface.
func NewMockCommittedManager ¶
func NewMockCommittedManager(ctrl *gomock.Controller) *MockCommittedManager
NewMockCommittedManager creates a new mock instance.
func (*MockCommittedManager) Commit ¶
func (m *MockCommittedManager) Commit(ctx context.Context, ns graveler.StorageNamespace, baseMetaRangeID graveler.MetaRangeID, changes graveler.ValueIterator, allowEmpty bool, opts ...graveler.SetOptionsFunc) (graveler.MetaRangeID, graveler.DiffSummary, error)
Commit mocks base method.
func (*MockCommittedManager) Compare ¶
func (m *MockCommittedManager) Compare(ctx context.Context, ns graveler.StorageNamespace, destination, source, base graveler.MetaRangeID) (graveler.DiffIterator, error)
Compare mocks base method.
func (*MockCommittedManager) Diff ¶
func (m *MockCommittedManager) Diff(ctx context.Context, ns graveler.StorageNamespace, left, right graveler.MetaRangeID) (graveler.DiffIterator, error)
Diff mocks base method.
func (*MockCommittedManager) EXPECT ¶
func (m *MockCommittedManager) EXPECT() *MockCommittedManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommittedManager) Exists ¶
func (m *MockCommittedManager) Exists(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID) (bool, error)
Exists mocks base method.
func (*MockCommittedManager) Get ¶
func (m *MockCommittedManager) Get(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.MetaRangeID, key graveler.Key) (*graveler.Value, error)
Get mocks base method.
func (*MockCommittedManager) GetMetaRange ¶
func (m *MockCommittedManager) GetMetaRange(ctx context.Context, ns graveler.StorageNamespace, metaRangeID graveler.MetaRangeID) (graveler.MetaRangeAddress, error)
GetMetaRange mocks base method.
func (*MockCommittedManager) GetRange ¶
func (m *MockCommittedManager) GetRange(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.RangeID) (graveler.RangeAddress, error)
GetRange mocks base method.
func (*MockCommittedManager) GetRangeIDByKey ¶ added in v0.98.0
func (m *MockCommittedManager) GetRangeIDByKey(ctx context.Context, ns graveler.StorageNamespace, id graveler.MetaRangeID, key graveler.Key) (graveler.RangeID, error)
GetRangeIDByKey mocks base method.
func (*MockCommittedManager) Import ¶ added in v0.105.0
func (m *MockCommittedManager) Import(ctx context.Context, ns graveler.StorageNamespace, destination, source graveler.MetaRangeID, prefixes []graveler.Prefix, opts ...graveler.SetOptionsFunc) (graveler.MetaRangeID, error)
Import mocks base method.
func (*MockCommittedManager) List ¶
func (m *MockCommittedManager) List(ctx context.Context, ns graveler.StorageNamespace, rangeID graveler.MetaRangeID) (graveler.ValueIterator, error)
List mocks base method.
func (*MockCommittedManager) Merge ¶
func (m *MockCommittedManager) Merge(ctx context.Context, ns graveler.StorageNamespace, destination, source, base graveler.MetaRangeID, strategy graveler.MergeStrategy, opts ...graveler.SetOptionsFunc) (graveler.MetaRangeID, error)
Merge mocks base method.
func (*MockCommittedManager) WriteMetaRange ¶
func (m *MockCommittedManager) WriteMetaRange(ctx context.Context, ns graveler.StorageNamespace, ranges []*graveler.RangeInfo) (*graveler.MetaRangeInfo, error)
WriteMetaRange mocks base method.
func (*MockCommittedManager) WriteMetaRangeByIterator ¶
func (m *MockCommittedManager) WriteMetaRangeByIterator(ctx context.Context, ns graveler.StorageNamespace, it graveler.ValueIterator, metadata graveler.Metadata) (*graveler.MetaRangeID, error)
WriteMetaRangeByIterator mocks base method.
func (*MockCommittedManager) WriteRange ¶
func (m *MockCommittedManager) WriteRange(ctx context.Context, ns graveler.StorageNamespace, it graveler.ValueIterator) (*graveler.RangeInfo, error)
WriteRange mocks base method.
type MockCommittedManagerMockRecorder ¶
type MockCommittedManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockCommittedManagerMockRecorder is the mock recorder for MockCommittedManager.
func (*MockCommittedManagerMockRecorder) Commit ¶
func (mr *MockCommittedManagerMockRecorder) Commit(ctx, ns, baseMetaRangeID, changes, allowEmpty interface{}, opts ...interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockCommittedManagerMockRecorder) Compare ¶
func (mr *MockCommittedManagerMockRecorder) Compare(ctx, ns, destination, source, base interface{}) *gomock.Call
Compare indicates an expected call of Compare.
func (*MockCommittedManagerMockRecorder) Diff ¶
func (mr *MockCommittedManagerMockRecorder) Diff(ctx, ns, left, right interface{}) *gomock.Call
Diff indicates an expected call of Diff.
func (*MockCommittedManagerMockRecorder) Exists ¶
func (mr *MockCommittedManagerMockRecorder) Exists(ctx, ns, id interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockCommittedManagerMockRecorder) Get ¶
func (mr *MockCommittedManagerMockRecorder) Get(ctx, ns, rangeID, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCommittedManagerMockRecorder) GetMetaRange ¶
func (mr *MockCommittedManagerMockRecorder) GetMetaRange(ctx, ns, metaRangeID interface{}) *gomock.Call
GetMetaRange indicates an expected call of GetMetaRange.
func (*MockCommittedManagerMockRecorder) GetRange ¶
func (mr *MockCommittedManagerMockRecorder) GetRange(ctx, ns, rangeID interface{}) *gomock.Call
GetRange indicates an expected call of GetRange.
func (*MockCommittedManagerMockRecorder) GetRangeIDByKey ¶ added in v0.98.0
func (mr *MockCommittedManagerMockRecorder) GetRangeIDByKey(ctx, ns, id, key interface{}) *gomock.Call
GetRangeIDByKey indicates an expected call of GetRangeIDByKey.
func (*MockCommittedManagerMockRecorder) Import ¶ added in v0.105.0
func (mr *MockCommittedManagerMockRecorder) Import(ctx, ns, destination, source, prefixes interface{}, opts ...interface{}) *gomock.Call
Import indicates an expected call of Import.
func (*MockCommittedManagerMockRecorder) List ¶
func (mr *MockCommittedManagerMockRecorder) List(ctx, ns, rangeID interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCommittedManagerMockRecorder) Merge ¶
func (mr *MockCommittedManagerMockRecorder) Merge(ctx, ns, destination, source, base, strategy interface{}, opts ...interface{}) *gomock.Call
Merge indicates an expected call of Merge.
func (*MockCommittedManagerMockRecorder) WriteMetaRange ¶
func (mr *MockCommittedManagerMockRecorder) WriteMetaRange(ctx, ns, ranges interface{}) *gomock.Call
WriteMetaRange indicates an expected call of WriteMetaRange.
func (*MockCommittedManagerMockRecorder) WriteMetaRangeByIterator ¶
func (mr *MockCommittedManagerMockRecorder) WriteMetaRangeByIterator(ctx, ns, it, metadata interface{}) *gomock.Call
WriteMetaRangeByIterator indicates an expected call of WriteMetaRangeByIterator.
func (*MockCommittedManagerMockRecorder) WriteRange ¶
func (mr *MockCommittedManagerMockRecorder) WriteRange(ctx, ns, it interface{}) *gomock.Call
WriteRange indicates an expected call of WriteRange.
type MockDiffIterator ¶
type MockDiffIterator struct {
// contains filtered or unexported fields
}
MockDiffIterator is a mock of DiffIterator interface.
func NewMockDiffIterator ¶
func NewMockDiffIterator(ctrl *gomock.Controller) *MockDiffIterator
NewMockDiffIterator creates a new mock instance.
func (*MockDiffIterator) EXPECT ¶
func (m *MockDiffIterator) EXPECT() *MockDiffIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiffIterator) SeekGE ¶
func (m *MockDiffIterator) SeekGE(id graveler.Key)
SeekGE mocks base method.
func (*MockDiffIterator) Value ¶
func (m *MockDiffIterator) Value() *graveler.Diff
Value mocks base method.
type MockDiffIteratorMockRecorder ¶
type MockDiffIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffIteratorMockRecorder is the mock recorder for MockDiffIterator.
func (*MockDiffIteratorMockRecorder) Close ¶
func (mr *MockDiffIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockDiffIteratorMockRecorder) Err ¶
func (mr *MockDiffIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockDiffIteratorMockRecorder) Next ¶
func (mr *MockDiffIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockDiffIteratorMockRecorder) SeekGE ¶
func (mr *MockDiffIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockDiffIteratorMockRecorder) Value ¶
func (mr *MockDiffIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockDumper ¶
type MockDumper struct {
// contains filtered or unexported fields
}
MockDumper is a mock of Dumper interface.
func NewMockDumper ¶
func NewMockDumper(ctrl *gomock.Controller) *MockDumper
NewMockDumper creates a new mock instance.
func (*MockDumper) DumpBranches ¶
func (m *MockDumper) DumpBranches(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
DumpBranches mocks base method.
func (*MockDumper) DumpCommits ¶
func (m *MockDumper) DumpCommits(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
DumpCommits mocks base method.
func (*MockDumper) DumpTags ¶
func (m *MockDumper) DumpTags(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.MetaRangeID, error)
DumpTags mocks base method.
func (*MockDumper) EXPECT ¶
func (m *MockDumper) EXPECT() *MockDumperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDumperMockRecorder ¶
type MockDumperMockRecorder struct {
// contains filtered or unexported fields
}
MockDumperMockRecorder is the mock recorder for MockDumper.
func (*MockDumperMockRecorder) DumpBranches ¶
func (mr *MockDumperMockRecorder) DumpBranches(ctx, repository interface{}) *gomock.Call
DumpBranches indicates an expected call of DumpBranches.
func (*MockDumperMockRecorder) DumpCommits ¶
func (mr *MockDumperMockRecorder) DumpCommits(ctx, repository interface{}) *gomock.Call
DumpCommits indicates an expected call of DumpCommits.
func (*MockDumperMockRecorder) DumpTags ¶
func (mr *MockDumperMockRecorder) DumpTags(ctx, repository interface{}) *gomock.Call
DumpTags indicates an expected call of DumpTags.
type MockGarbageCollectionManager ¶
type MockGarbageCollectionManager struct {
// contains filtered or unexported fields
}
MockGarbageCollectionManager is a mock of GarbageCollectionManager interface.
func NewMockGarbageCollectionManager ¶
func NewMockGarbageCollectionManager(ctrl *gomock.Controller) *MockGarbageCollectionManager
NewMockGarbageCollectionManager creates a new mock instance.
func (*MockGarbageCollectionManager) EXPECT ¶
func (m *MockGarbageCollectionManager) EXPECT() *MockGarbageCollectionManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGarbageCollectionManager) GetAddressesLocation ¶
func (m *MockGarbageCollectionManager) GetAddressesLocation(sn graveler.StorageNamespace) (string, error)
GetAddressesLocation mocks base method.
func (*MockGarbageCollectionManager) GetCommitsCSVLocation ¶
func (m *MockGarbageCollectionManager) GetCommitsCSVLocation(runID string, sn graveler.StorageNamespace) (string, error)
GetCommitsCSVLocation mocks base method.
func (*MockGarbageCollectionManager) GetRules ¶
func (m *MockGarbageCollectionManager) GetRules(ctx context.Context, storageNamespace graveler.StorageNamespace) (*graveler.GarbageCollectionRules, error)
GetRules mocks base method.
func (*MockGarbageCollectionManager) GetUncommittedLocation ¶
func (m *MockGarbageCollectionManager) GetUncommittedLocation(runID string, sn graveler.StorageNamespace) (string, error)
GetUncommittedLocation mocks base method.
func (*MockGarbageCollectionManager) NewID ¶
func (m *MockGarbageCollectionManager) NewID() string
NewID mocks base method.
func (*MockGarbageCollectionManager) SaveGarbageCollectionCommits ¶
func (m *MockGarbageCollectionManager) SaveGarbageCollectionCommits(ctx context.Context, repository *graveler.RepositoryRecord, rules *graveler.GarbageCollectionRules) (string, error)
SaveGarbageCollectionCommits mocks base method.
func (*MockGarbageCollectionManager) SaveGarbageCollectionUncommitted ¶
func (m *MockGarbageCollectionManager) SaveGarbageCollectionUncommitted(ctx context.Context, repository *graveler.RepositoryRecord, filename, runID string) error
SaveGarbageCollectionUncommitted mocks base method.
func (*MockGarbageCollectionManager) SaveRules ¶
func (m *MockGarbageCollectionManager) SaveRules(ctx context.Context, storageNamespace graveler.StorageNamespace, rules *graveler.GarbageCollectionRules) error
SaveRules mocks base method.
type MockGarbageCollectionManagerMockRecorder ¶
type MockGarbageCollectionManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockGarbageCollectionManagerMockRecorder is the mock recorder for MockGarbageCollectionManager.
func (*MockGarbageCollectionManagerMockRecorder) GetAddressesLocation ¶
func (mr *MockGarbageCollectionManagerMockRecorder) GetAddressesLocation(sn interface{}) *gomock.Call
GetAddressesLocation indicates an expected call of GetAddressesLocation.
func (*MockGarbageCollectionManagerMockRecorder) GetCommitsCSVLocation ¶
func (mr *MockGarbageCollectionManagerMockRecorder) GetCommitsCSVLocation(runID, sn interface{}) *gomock.Call
GetCommitsCSVLocation indicates an expected call of GetCommitsCSVLocation.
func (*MockGarbageCollectionManagerMockRecorder) GetRules ¶
func (mr *MockGarbageCollectionManagerMockRecorder) GetRules(ctx, storageNamespace interface{}) *gomock.Call
GetRules indicates an expected call of GetRules.
func (*MockGarbageCollectionManagerMockRecorder) GetUncommittedLocation ¶
func (mr *MockGarbageCollectionManagerMockRecorder) GetUncommittedLocation(runID, sn interface{}) *gomock.Call
GetUncommittedLocation indicates an expected call of GetUncommittedLocation.
func (*MockGarbageCollectionManagerMockRecorder) NewID ¶
func (mr *MockGarbageCollectionManagerMockRecorder) NewID() *gomock.Call
NewID indicates an expected call of NewID.
func (*MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionCommits ¶
func (mr *MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionCommits(ctx, repository, rules interface{}) *gomock.Call
SaveGarbageCollectionCommits indicates an expected call of SaveGarbageCollectionCommits.
func (*MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionUncommitted ¶
func (mr *MockGarbageCollectionManagerMockRecorder) SaveGarbageCollectionUncommitted(ctx, repository, filename, runID interface{}) *gomock.Call
SaveGarbageCollectionUncommitted indicates an expected call of SaveGarbageCollectionUncommitted.
func (*MockGarbageCollectionManagerMockRecorder) SaveRules ¶
func (mr *MockGarbageCollectionManagerMockRecorder) SaveRules(ctx, storageNamespace, rules interface{}) *gomock.Call
SaveRules indicates an expected call of SaveRules.
type MockKeyValueStore ¶
type MockKeyValueStore struct {
// contains filtered or unexported fields
}
MockKeyValueStore is a mock of KeyValueStore interface.
func NewMockKeyValueStore ¶
func NewMockKeyValueStore(ctrl *gomock.Controller) *MockKeyValueStore
NewMockKeyValueStore creates a new mock instance.
func (*MockKeyValueStore) Delete ¶
func (m *MockKeyValueStore) Delete(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, key graveler.Key, opts ...graveler.SetOptionsFunc) error
Delete mocks base method.
func (*MockKeyValueStore) DeleteBatch ¶
func (m *MockKeyValueStore) DeleteBatch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, keys []graveler.Key, opts ...graveler.SetOptionsFunc) error
DeleteBatch mocks base method.
func (*MockKeyValueStore) EXPECT ¶
func (m *MockKeyValueStore) EXPECT() *MockKeyValueStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyValueStore) Get ¶
func (m *MockKeyValueStore) Get(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref, key graveler.Key, opts ...graveler.GetOptionsFunc) (*graveler.Value, error)
Get mocks base method.
func (*MockKeyValueStore) GetByCommitID ¶
func (m *MockKeyValueStore) GetByCommitID(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, key graveler.Key) (*graveler.Value, error)
GetByCommitID mocks base method.
func (*MockKeyValueStore) GetRangeIDByKey ¶ added in v0.98.0
func (m *MockKeyValueStore) GetRangeIDByKey(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, key graveler.Key) (graveler.RangeID, error)
GetRangeIDByKey mocks base method.
func (*MockKeyValueStore) List ¶
func (m *MockKeyValueStore) List(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref, batchSize int) (graveler.ValueIterator, error)
List mocks base method.
func (*MockKeyValueStore) Set ¶
func (m *MockKeyValueStore) Set(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, key graveler.Key, value graveler.Value, opts ...graveler.SetOptionsFunc) error
Set mocks base method.
func (*MockKeyValueStore) Update ¶ added in v1.39.0
func (m *MockKeyValueStore) Update(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, key graveler.Key, update graveler.ValueUpdateFunc, opts ...graveler.SetOptionsFunc) error
Update mocks base method.
type MockKeyValueStoreMockRecorder ¶
type MockKeyValueStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValueStoreMockRecorder is the mock recorder for MockKeyValueStore.
func (*MockKeyValueStoreMockRecorder) Delete ¶
func (mr *MockKeyValueStoreMockRecorder) Delete(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockKeyValueStoreMockRecorder) DeleteBatch ¶
func (mr *MockKeyValueStoreMockRecorder) DeleteBatch(ctx, repository, branchID, keys interface{}, opts ...interface{}) *gomock.Call
DeleteBatch indicates an expected call of DeleteBatch.
func (*MockKeyValueStoreMockRecorder) Get ¶
func (mr *MockKeyValueStoreMockRecorder) Get(ctx, repository, ref, key interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockKeyValueStoreMockRecorder) GetByCommitID ¶
func (mr *MockKeyValueStoreMockRecorder) GetByCommitID(ctx, repository, commitID, key interface{}) *gomock.Call
GetByCommitID indicates an expected call of GetByCommitID.
func (*MockKeyValueStoreMockRecorder) GetRangeIDByKey ¶ added in v0.98.0
func (mr *MockKeyValueStoreMockRecorder) GetRangeIDByKey(ctx, repository, commitID, key interface{}) *gomock.Call
GetRangeIDByKey indicates an expected call of GetRangeIDByKey.
func (*MockKeyValueStoreMockRecorder) List ¶
func (mr *MockKeyValueStoreMockRecorder) List(ctx, repository, ref, batchSize interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockKeyValueStoreMockRecorder) Set ¶
func (mr *MockKeyValueStoreMockRecorder) Set(ctx, repository, branchID, key, value interface{}, opts ...interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockKeyValueStoreMockRecorder) Update ¶ added in v1.39.0
func (mr *MockKeyValueStoreMockRecorder) Update(ctx, repository, branchID, key, update interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockLinkAddressIterator ¶ added in v0.112.0
type MockLinkAddressIterator struct {
// contains filtered or unexported fields
}
MockLinkAddressIterator is a mock of LinkAddressIterator interface.
func NewMockLinkAddressIterator ¶ added in v0.112.0
func NewMockLinkAddressIterator(ctrl *gomock.Controller) *MockLinkAddressIterator
NewMockLinkAddressIterator creates a new mock instance.
func (*MockLinkAddressIterator) Close ¶ added in v0.112.0
func (m *MockLinkAddressIterator) Close()
Close mocks base method.
func (*MockLinkAddressIterator) EXPECT ¶ added in v0.112.0
func (m *MockLinkAddressIterator) EXPECT() *MockLinkAddressIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinkAddressIterator) Err ¶ added in v0.112.0
func (m *MockLinkAddressIterator) Err() error
Err mocks base method.
func (*MockLinkAddressIterator) Next ¶ added in v0.112.0
func (m *MockLinkAddressIterator) Next() bool
Next mocks base method.
func (*MockLinkAddressIterator) SeekGE ¶ added in v0.112.0
func (m *MockLinkAddressIterator) SeekGE(address string)
SeekGE mocks base method.
func (*MockLinkAddressIterator) Value ¶ added in v0.112.0
func (m *MockLinkAddressIterator) Value() *graveler.LinkAddressData
Value mocks base method.
type MockLinkAddressIteratorMockRecorder ¶ added in v0.112.0
type MockLinkAddressIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkAddressIteratorMockRecorder is the mock recorder for MockLinkAddressIterator.
func (*MockLinkAddressIteratorMockRecorder) Close ¶ added in v0.112.0
func (mr *MockLinkAddressIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockLinkAddressIteratorMockRecorder) Err ¶ added in v0.112.0
func (mr *MockLinkAddressIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockLinkAddressIteratorMockRecorder) Next ¶ added in v0.112.0
func (mr *MockLinkAddressIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockLinkAddressIteratorMockRecorder) SeekGE ¶ added in v0.112.0
func (mr *MockLinkAddressIteratorMockRecorder) SeekGE(address interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockLinkAddressIteratorMockRecorder) Value ¶ added in v0.112.0
func (mr *MockLinkAddressIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockLoader ¶
type MockLoader struct {
// contains filtered or unexported fields
}
MockLoader is a mock of Loader interface.
func NewMockLoader ¶
func NewMockLoader(ctrl *gomock.Controller) *MockLoader
NewMockLoader creates a new mock instance.
func (*MockLoader) EXPECT ¶
func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoader) LoadBranches ¶
func (m *MockLoader) LoadBranches(ctx context.Context, repository *graveler.RepositoryRecord, metaRangeID graveler.MetaRangeID, opts ...graveler.SetOptionsFunc) error
LoadBranches mocks base method.
func (*MockLoader) LoadCommits ¶
func (m *MockLoader) LoadCommits(ctx context.Context, repository *graveler.RepositoryRecord, metaRangeID graveler.MetaRangeID, opts ...graveler.SetOptionsFunc) error
LoadCommits mocks base method.
func (*MockLoader) LoadTags ¶
func (m *MockLoader) LoadTags(ctx context.Context, repository *graveler.RepositoryRecord, metaRangeID graveler.MetaRangeID, opts ...graveler.SetOptionsFunc) error
LoadTags mocks base method.
type MockLoaderMockRecorder ¶
type MockLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockLoaderMockRecorder is the mock recorder for MockLoader.
func (*MockLoaderMockRecorder) LoadBranches ¶
func (mr *MockLoaderMockRecorder) LoadBranches(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
LoadBranches indicates an expected call of LoadBranches.
func (*MockLoaderMockRecorder) LoadCommits ¶
func (mr *MockLoaderMockRecorder) LoadCommits(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
LoadCommits indicates an expected call of LoadCommits.
func (*MockLoaderMockRecorder) LoadTags ¶
func (mr *MockLoaderMockRecorder) LoadTags(ctx, repository, metaRangeID interface{}, opts ...interface{}) *gomock.Call
LoadTags indicates an expected call of LoadTags.
type MockPlumbing ¶
type MockPlumbing struct {
// contains filtered or unexported fields
}
MockPlumbing is a mock of Plumbing interface.
func NewMockPlumbing ¶
func NewMockPlumbing(ctrl *gomock.Controller) *MockPlumbing
NewMockPlumbing creates a new mock instance.
func (*MockPlumbing) EXPECT ¶
func (m *MockPlumbing) EXPECT() *MockPlumbingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlumbing) GetMetaRange ¶
func (m *MockPlumbing) GetMetaRange(ctx context.Context, repository *graveler.RepositoryRecord, metaRangeID graveler.MetaRangeID) (graveler.MetaRangeAddress, error)
GetMetaRange mocks base method.
func (*MockPlumbing) GetRange ¶
func (m *MockPlumbing) GetRange(ctx context.Context, repository *graveler.RepositoryRecord, rangeID graveler.RangeID) (graveler.RangeAddress, error)
GetRange mocks base method.
func (*MockPlumbing) StageObject ¶ added in v0.98.0
func (m *MockPlumbing) StageObject(ctx context.Context, stagingToken string, object graveler.ValueRecord) error
StageObject mocks base method.
func (*MockPlumbing) WriteMetaRange ¶
func (m *MockPlumbing) WriteMetaRange(ctx context.Context, repository *graveler.RepositoryRecord, ranges []*graveler.RangeInfo, opts ...graveler.SetOptionsFunc) (*graveler.MetaRangeInfo, error)
WriteMetaRange mocks base method.
func (*MockPlumbing) WriteRange ¶
func (m *MockPlumbing) WriteRange(ctx context.Context, repository *graveler.RepositoryRecord, it graveler.ValueIterator, opts ...graveler.SetOptionsFunc) (*graveler.RangeInfo, error)
WriteRange mocks base method.
type MockPlumbingMockRecorder ¶
type MockPlumbingMockRecorder struct {
// contains filtered or unexported fields
}
MockPlumbingMockRecorder is the mock recorder for MockPlumbing.
func (*MockPlumbingMockRecorder) GetMetaRange ¶
func (mr *MockPlumbingMockRecorder) GetMetaRange(ctx, repository, metaRangeID interface{}) *gomock.Call
GetMetaRange indicates an expected call of GetMetaRange.
func (*MockPlumbingMockRecorder) GetRange ¶
func (mr *MockPlumbingMockRecorder) GetRange(ctx, repository, rangeID interface{}) *gomock.Call
GetRange indicates an expected call of GetRange.
func (*MockPlumbingMockRecorder) StageObject ¶ added in v0.98.0
func (mr *MockPlumbingMockRecorder) StageObject(ctx, stagingToken, object interface{}) *gomock.Call
StageObject indicates an expected call of StageObject.
func (*MockPlumbingMockRecorder) WriteMetaRange ¶
func (mr *MockPlumbingMockRecorder) WriteMetaRange(ctx, repository, ranges interface{}, opts ...interface{}) *gomock.Call
WriteMetaRange indicates an expected call of WriteMetaRange.
func (*MockPlumbingMockRecorder) WriteRange ¶
func (mr *MockPlumbingMockRecorder) WriteRange(ctx, repository, it interface{}, opts ...interface{}) *gomock.Call
WriteRange indicates an expected call of WriteRange.
type MockProtectedBranchesManager ¶
type MockProtectedBranchesManager struct {
// contains filtered or unexported fields
}
MockProtectedBranchesManager is a mock of ProtectedBranchesManager interface.
func NewMockProtectedBranchesManager ¶
func NewMockProtectedBranchesManager(ctrl *gomock.Controller) *MockProtectedBranchesManager
NewMockProtectedBranchesManager creates a new mock instance.
func (*MockProtectedBranchesManager) EXPECT ¶
func (m *MockProtectedBranchesManager) EXPECT() *MockProtectedBranchesManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProtectedBranchesManager) GetRules ¶
func (m *MockProtectedBranchesManager) GetRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.BranchProtectionRules, *string, error)
GetRules mocks base method.
func (*MockProtectedBranchesManager) IsBlocked ¶
func (m *MockProtectedBranchesManager) IsBlocked(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, action graveler.BranchProtectionBlockedAction) (bool, error)
IsBlocked mocks base method.
func (*MockProtectedBranchesManager) SetRules ¶ added in v0.111.0
func (m *MockProtectedBranchesManager) SetRules(ctx context.Context, repository *graveler.RepositoryRecord, rules *graveler.BranchProtectionRules, lastKnownChecksum *string) error
SetRules mocks base method.
type MockProtectedBranchesManagerMockRecorder ¶
type MockProtectedBranchesManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockProtectedBranchesManagerMockRecorder is the mock recorder for MockProtectedBranchesManager.
func (*MockProtectedBranchesManagerMockRecorder) GetRules ¶
func (mr *MockProtectedBranchesManagerMockRecorder) GetRules(ctx, repository interface{}) *gomock.Call
GetRules indicates an expected call of GetRules.
func (*MockProtectedBranchesManagerMockRecorder) IsBlocked ¶
func (mr *MockProtectedBranchesManagerMockRecorder) IsBlocked(ctx, repository, branchID, action interface{}) *gomock.Call
IsBlocked indicates an expected call of IsBlocked.
func (*MockProtectedBranchesManagerMockRecorder) SetRules ¶ added in v0.111.0
func (mr *MockProtectedBranchesManagerMockRecorder) SetRules(ctx, repository, rules, lastKnownChecksum interface{}) *gomock.Call
SetRules indicates an expected call of SetRules.
type MockPullsIterator ¶ added in v1.35.0
type MockPullsIterator struct {
// contains filtered or unexported fields
}
MockPullsIterator is a mock of PullsIterator interface.
func NewMockPullsIterator ¶ added in v1.35.0
func NewMockPullsIterator(ctrl *gomock.Controller) *MockPullsIterator
NewMockPullsIterator creates a new mock instance.
func (*MockPullsIterator) Close ¶ added in v1.35.0
func (m *MockPullsIterator) Close()
Close mocks base method.
func (*MockPullsIterator) EXPECT ¶ added in v1.35.0
func (m *MockPullsIterator) EXPECT() *MockPullsIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPullsIterator) Err ¶ added in v1.35.0
func (m *MockPullsIterator) Err() error
Err mocks base method.
func (*MockPullsIterator) Next ¶ added in v1.35.0
func (m *MockPullsIterator) Next() bool
Next mocks base method.
func (*MockPullsIterator) SeekGE ¶ added in v1.35.0
func (m *MockPullsIterator) SeekGE(id graveler.PullRequestID)
SeekGE mocks base method.
func (*MockPullsIterator) Value ¶ added in v1.35.0
func (m *MockPullsIterator) Value() *graveler.PullRequestRecord
Value mocks base method.
type MockPullsIteratorMockRecorder ¶ added in v1.35.0
type MockPullsIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockPullsIteratorMockRecorder is the mock recorder for MockPullsIterator.
func (*MockPullsIteratorMockRecorder) Close ¶ added in v1.35.0
func (mr *MockPullsIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPullsIteratorMockRecorder) Err ¶ added in v1.35.0
func (mr *MockPullsIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockPullsIteratorMockRecorder) Next ¶ added in v1.35.0
func (mr *MockPullsIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockPullsIteratorMockRecorder) SeekGE ¶ added in v1.35.0
func (mr *MockPullsIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockPullsIteratorMockRecorder) Value ¶ added in v1.35.0
func (mr *MockPullsIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockRefManager ¶
type MockRefManager struct {
// contains filtered or unexported fields
}
MockRefManager is a mock of RefManager interface.
func NewMockRefManager ¶
func NewMockRefManager(ctrl *gomock.Controller) *MockRefManager
NewMockRefManager creates a new mock instance.
func (*MockRefManager) AddCommit ¶
func (m *MockRefManager) AddCommit(ctx context.Context, repository *graveler.RepositoryRecord, commit graveler.Commit) (graveler.CommitID, error)
AddCommit mocks base method.
func (*MockRefManager) BranchUpdate ¶
func (m *MockRefManager) BranchUpdate(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, f graveler.BranchUpdateFunc) error
BranchUpdate mocks base method.
func (*MockRefManager) CreateBareRepository ¶
func (m *MockRefManager) CreateBareRepository(ctx context.Context, repositoryID graveler.RepositoryID, repository graveler.Repository) (*graveler.RepositoryRecord, error)
CreateBareRepository mocks base method.
func (*MockRefManager) CreateBranch ¶
func (m *MockRefManager) CreateBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, branch graveler.Branch) error
CreateBranch mocks base method.
func (*MockRefManager) CreateCommitRecord ¶ added in v1.9.0
func (m *MockRefManager) CreateCommitRecord(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, commit graveler.Commit) error
CreateCommitRecord mocks base method.
func (*MockRefManager) CreatePullRequest ¶ added in v1.35.0
func (m *MockRefManager) CreatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequestID graveler.PullRequestID, pullRequest *graveler.PullRequest) error
CreatePullRequest mocks base method.
func (*MockRefManager) CreateRepository ¶
func (m *MockRefManager) CreateRepository(ctx context.Context, repositoryID graveler.RepositoryID, repository graveler.Repository) (*graveler.RepositoryRecord, error)
CreateRepository mocks base method.
func (*MockRefManager) CreateTag ¶
func (m *MockRefManager) CreateTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID, commitID graveler.CommitID) error
CreateTag mocks base method.
func (*MockRefManager) DeleteBranch ¶
func (m *MockRefManager) DeleteBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID) error
DeleteBranch mocks base method.
func (*MockRefManager) DeleteExpiredImports ¶ added in v0.102.0
func (m *MockRefManager) DeleteExpiredImports(ctx context.Context, repository *graveler.RepositoryRecord) error
DeleteExpiredImports mocks base method.
func (*MockRefManager) DeletePullRequest ¶ added in v1.35.0
func (m *MockRefManager) DeletePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequestID graveler.PullRequestID) error
DeletePullRequest mocks base method.
func (*MockRefManager) DeleteRepository ¶
func (m *MockRefManager) DeleteRepository(ctx context.Context, repositoryID graveler.RepositoryID, opts ...graveler.SetOptionsFunc) error
DeleteRepository mocks base method.
func (*MockRefManager) DeleteTag ¶
func (m *MockRefManager) DeleteTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID) error
DeleteTag mocks base method.
func (*MockRefManager) EXPECT ¶
func (m *MockRefManager) EXPECT() *MockRefManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRefManager) FindMergeBase ¶
func (m *MockRefManager) FindMergeBase(ctx context.Context, repository *graveler.RepositoryRecord, commitIDs ...graveler.CommitID) (*graveler.Commit, error)
FindMergeBase mocks base method.
func (*MockRefManager) GCBranchIterator ¶
func (m *MockRefManager) GCBranchIterator(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.BranchIterator, error)
GCBranchIterator mocks base method.
func (*MockRefManager) GCCommitIterator ¶
func (m *MockRefManager) GCCommitIterator(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.CommitIterator, error)
GCCommitIterator mocks base method.
func (*MockRefManager) GetBranch ¶
func (m *MockRefManager) GetBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID) (*graveler.Branch, error)
GetBranch mocks base method.
func (*MockRefManager) GetCommit ¶
func (m *MockRefManager) GetCommit(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID) (*graveler.Commit, error)
GetCommit mocks base method.
func (*MockRefManager) GetCommitByPrefix ¶
func (m *MockRefManager) GetCommitByPrefix(ctx context.Context, repository *graveler.RepositoryRecord, prefix graveler.CommitID) (*graveler.Commit, error)
GetCommitByPrefix mocks base method.
func (*MockRefManager) GetPullRequest ¶ added in v1.35.0
func (m *MockRefManager) GetPullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullID graveler.PullRequestID) (*graveler.PullRequest, error)
GetPullRequest mocks base method.
func (*MockRefManager) GetRepository ¶
func (m *MockRefManager) GetRepository(ctx context.Context, repositoryID graveler.RepositoryID) (*graveler.RepositoryRecord, error)
GetRepository mocks base method.
func (*MockRefManager) GetRepositoryMetadata ¶ added in v0.104.0
func (m *MockRefManager) GetRepositoryMetadata(ctx context.Context, repositoryID graveler.RepositoryID) (graveler.RepositoryMetadata, error)
GetRepositoryMetadata mocks base method.
func (*MockRefManager) GetTag ¶
func (m *MockRefManager) GetTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID) (*graveler.CommitID, error)
GetTag mocks base method.
func (*MockRefManager) ListBranches ¶
func (m *MockRefManager) ListBranches(ctx context.Context, repository *graveler.RepositoryRecord, opts graveler.ListOptions) (graveler.BranchIterator, error)
ListBranches mocks base method.
func (*MockRefManager) ListCommits ¶
func (m *MockRefManager) ListCommits(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.CommitIterator, error)
ListCommits mocks base method.
func (*MockRefManager) ListPullRequests ¶ added in v1.35.0
func (m *MockRefManager) ListPullRequests(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.PullsIterator, error)
ListPullRequests mocks base method.
func (*MockRefManager) ListRepositories ¶
func (m *MockRefManager) ListRepositories(ctx context.Context) (graveler.RepositoryIterator, error)
ListRepositories mocks base method.
func (*MockRefManager) ListTags ¶
func (m *MockRefManager) ListTags(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.TagIterator, error)
ListTags mocks base method.
func (*MockRefManager) Log ¶
func (m *MockRefManager) Log(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, firstParent bool, since *time.Time) (graveler.CommitIterator, error)
Log mocks base method.
func (*MockRefManager) RemoveCommit ¶
func (m *MockRefManager) RemoveCommit(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID) error
RemoveCommit mocks base method.
func (*MockRefManager) ResolveRawRef ¶
func (m *MockRefManager) ResolveRawRef(ctx context.Context, repository *graveler.RepositoryRecord, rawRef graveler.RawRef) (*graveler.ResolvedRef, error)
ResolveRawRef mocks base method.
func (*MockRefManager) SetBranch ¶
func (m *MockRefManager) SetBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, branch graveler.Branch) error
SetBranch mocks base method.
func (*MockRefManager) SetRepositoryMetadata ¶ added in v0.104.0
func (m *MockRefManager) SetRepositoryMetadata(ctx context.Context, repository *graveler.RepositoryRecord, updateFunc graveler.RepoMetadataUpdateFunc) error
SetRepositoryMetadata mocks base method.
func (*MockRefManager) UpdatePullRequest ¶ added in v1.35.0
func (m *MockRefManager) UpdatePullRequest(ctx context.Context, repository *graveler.RepositoryRecord, pullRequestID graveler.PullRequestID, f graveler.PullUpdateFunc) error
UpdatePullRequest mocks base method.
type MockRefManagerMockRecorder ¶
type MockRefManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRefManagerMockRecorder is the mock recorder for MockRefManager.
func (*MockRefManagerMockRecorder) AddCommit ¶
func (mr *MockRefManagerMockRecorder) AddCommit(ctx, repository, commit interface{}) *gomock.Call
AddCommit indicates an expected call of AddCommit.
func (*MockRefManagerMockRecorder) BranchUpdate ¶
func (mr *MockRefManagerMockRecorder) BranchUpdate(ctx, repository, branchID, f interface{}) *gomock.Call
BranchUpdate indicates an expected call of BranchUpdate.
func (*MockRefManagerMockRecorder) CreateBareRepository ¶
func (mr *MockRefManagerMockRecorder) CreateBareRepository(ctx, repositoryID, repository interface{}) *gomock.Call
CreateBareRepository indicates an expected call of CreateBareRepository.
func (*MockRefManagerMockRecorder) CreateBranch ¶
func (mr *MockRefManagerMockRecorder) CreateBranch(ctx, repository, branchID, branch interface{}) *gomock.Call
CreateBranch indicates an expected call of CreateBranch.
func (*MockRefManagerMockRecorder) CreateCommitRecord ¶ added in v1.9.0
func (mr *MockRefManagerMockRecorder) CreateCommitRecord(ctx, repository, commitID, commit interface{}) *gomock.Call
CreateCommitRecord indicates an expected call of CreateCommitRecord.
func (*MockRefManagerMockRecorder) CreatePullRequest ¶ added in v1.35.0
func (mr *MockRefManagerMockRecorder) CreatePullRequest(ctx, repository, pullRequestID, pullRequest interface{}) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest.
func (*MockRefManagerMockRecorder) CreateRepository ¶
func (mr *MockRefManagerMockRecorder) CreateRepository(ctx, repositoryID, repository interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockRefManagerMockRecorder) CreateTag ¶
func (mr *MockRefManagerMockRecorder) CreateTag(ctx, repository, tagID, commitID interface{}) *gomock.Call
CreateTag indicates an expected call of CreateTag.
func (*MockRefManagerMockRecorder) DeleteBranch ¶
func (mr *MockRefManagerMockRecorder) DeleteBranch(ctx, repository, branchID interface{}) *gomock.Call
DeleteBranch indicates an expected call of DeleteBranch.
func (*MockRefManagerMockRecorder) DeleteExpiredImports ¶ added in v0.102.0
func (mr *MockRefManagerMockRecorder) DeleteExpiredImports(ctx, repository interface{}) *gomock.Call
DeleteExpiredImports indicates an expected call of DeleteExpiredImports.
func (*MockRefManagerMockRecorder) DeletePullRequest ¶ added in v1.35.0
func (mr *MockRefManagerMockRecorder) DeletePullRequest(ctx, repository, pullRequestID interface{}) *gomock.Call
DeletePullRequest indicates an expected call of DeletePullRequest.
func (*MockRefManagerMockRecorder) DeleteRepository ¶
func (mr *MockRefManagerMockRecorder) DeleteRepository(ctx, repositoryID interface{}, opts ...interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockRefManagerMockRecorder) DeleteTag ¶
func (mr *MockRefManagerMockRecorder) DeleteTag(ctx, repository, tagID interface{}) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockRefManagerMockRecorder) FindMergeBase ¶
func (mr *MockRefManagerMockRecorder) FindMergeBase(ctx, repository interface{}, commitIDs ...interface{}) *gomock.Call
FindMergeBase indicates an expected call of FindMergeBase.
func (*MockRefManagerMockRecorder) GCBranchIterator ¶
func (mr *MockRefManagerMockRecorder) GCBranchIterator(ctx, repository interface{}) *gomock.Call
GCBranchIterator indicates an expected call of GCBranchIterator.
func (*MockRefManagerMockRecorder) GCCommitIterator ¶
func (mr *MockRefManagerMockRecorder) GCCommitIterator(ctx, repository interface{}) *gomock.Call
GCCommitIterator indicates an expected call of GCCommitIterator.
func (*MockRefManagerMockRecorder) GetBranch ¶
func (mr *MockRefManagerMockRecorder) GetBranch(ctx, repository, branchID interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch.
func (*MockRefManagerMockRecorder) GetCommit ¶
func (mr *MockRefManagerMockRecorder) GetCommit(ctx, repository, commitID interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockRefManagerMockRecorder) GetCommitByPrefix ¶
func (mr *MockRefManagerMockRecorder) GetCommitByPrefix(ctx, repository, prefix interface{}) *gomock.Call
GetCommitByPrefix indicates an expected call of GetCommitByPrefix.
func (*MockRefManagerMockRecorder) GetPullRequest ¶ added in v1.35.0
func (mr *MockRefManagerMockRecorder) GetPullRequest(ctx, repository, pullID interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest.
func (*MockRefManagerMockRecorder) GetRepository ¶
func (mr *MockRefManagerMockRecorder) GetRepository(ctx, repositoryID interface{}) *gomock.Call
GetRepository indicates an expected call of GetRepository.
func (*MockRefManagerMockRecorder) GetRepositoryMetadata ¶ added in v0.104.0
func (mr *MockRefManagerMockRecorder) GetRepositoryMetadata(ctx, repositoryID interface{}) *gomock.Call
GetRepositoryMetadata indicates an expected call of GetRepositoryMetadata.
func (*MockRefManagerMockRecorder) GetTag ¶
func (mr *MockRefManagerMockRecorder) GetTag(ctx, repository, tagID interface{}) *gomock.Call
GetTag indicates an expected call of GetTag.
func (*MockRefManagerMockRecorder) ListBranches ¶
func (mr *MockRefManagerMockRecorder) ListBranches(ctx, repository, opts interface{}) *gomock.Call
ListBranches indicates an expected call of ListBranches.
func (*MockRefManagerMockRecorder) ListCommits ¶
func (mr *MockRefManagerMockRecorder) ListCommits(ctx, repository interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockRefManagerMockRecorder) ListPullRequests ¶ added in v1.35.0
func (mr *MockRefManagerMockRecorder) ListPullRequests(ctx, repository interface{}) *gomock.Call
ListPullRequests indicates an expected call of ListPullRequests.
func (*MockRefManagerMockRecorder) ListRepositories ¶
func (mr *MockRefManagerMockRecorder) ListRepositories(ctx interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockRefManagerMockRecorder) ListTags ¶
func (mr *MockRefManagerMockRecorder) ListTags(ctx, repository interface{}) *gomock.Call
ListTags indicates an expected call of ListTags.
func (*MockRefManagerMockRecorder) Log ¶
func (mr *MockRefManagerMockRecorder) Log(ctx, repository, commitID, firstParent, since interface{}) *gomock.Call
Log indicates an expected call of Log.
func (*MockRefManagerMockRecorder) ParseRef ¶
func (mr *MockRefManagerMockRecorder) ParseRef(ref interface{}) *gomock.Call
ParseRef indicates an expected call of ParseRef.
func (*MockRefManagerMockRecorder) RemoveCommit ¶
func (mr *MockRefManagerMockRecorder) RemoveCommit(ctx, repository, commitID interface{}) *gomock.Call
RemoveCommit indicates an expected call of RemoveCommit.
func (*MockRefManagerMockRecorder) ResolveRawRef ¶
func (mr *MockRefManagerMockRecorder) ResolveRawRef(ctx, repository, rawRef interface{}) *gomock.Call
ResolveRawRef indicates an expected call of ResolveRawRef.
func (*MockRefManagerMockRecorder) SetBranch ¶
func (mr *MockRefManagerMockRecorder) SetBranch(ctx, repository, branchID, branch interface{}) *gomock.Call
SetBranch indicates an expected call of SetBranch.
func (*MockRefManagerMockRecorder) SetRepositoryMetadata ¶ added in v0.104.0
func (mr *MockRefManagerMockRecorder) SetRepositoryMetadata(ctx, repository, updateFunc interface{}) *gomock.Call
SetRepositoryMetadata indicates an expected call of SetRepositoryMetadata.
func (*MockRefManagerMockRecorder) UpdatePullRequest ¶ added in v1.35.0
func (mr *MockRefManagerMockRecorder) UpdatePullRequest(ctx, repository, pullRequestID, f interface{}) *gomock.Call
UpdatePullRequest indicates an expected call of UpdatePullRequest.
type MockRepositoryIterator ¶
type MockRepositoryIterator struct {
// contains filtered or unexported fields
}
MockRepositoryIterator is a mock of RepositoryIterator interface.
func NewMockRepositoryIterator ¶
func NewMockRepositoryIterator(ctrl *gomock.Controller) *MockRepositoryIterator
NewMockRepositoryIterator creates a new mock instance.
func (*MockRepositoryIterator) Close ¶
func (m *MockRepositoryIterator) Close()
Close mocks base method.
func (*MockRepositoryIterator) EXPECT ¶
func (m *MockRepositoryIterator) EXPECT() *MockRepositoryIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryIterator) Err ¶
func (m *MockRepositoryIterator) Err() error
Err mocks base method.
func (*MockRepositoryIterator) Next ¶
func (m *MockRepositoryIterator) Next() bool
Next mocks base method.
func (*MockRepositoryIterator) SeekGE ¶
func (m *MockRepositoryIterator) SeekGE(id graveler.RepositoryID)
SeekGE mocks base method.
func (*MockRepositoryIterator) Value ¶
func (m *MockRepositoryIterator) Value() *graveler.RepositoryRecord
Value mocks base method.
type MockRepositoryIteratorMockRecorder ¶
type MockRepositoryIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryIteratorMockRecorder is the mock recorder for MockRepositoryIterator.
func (*MockRepositoryIteratorMockRecorder) Close ¶
func (mr *MockRepositoryIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRepositoryIteratorMockRecorder) Err ¶
func (mr *MockRepositoryIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockRepositoryIteratorMockRecorder) Next ¶
func (mr *MockRepositoryIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockRepositoryIteratorMockRecorder) SeekGE ¶
func (mr *MockRepositoryIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockRepositoryIteratorMockRecorder) Value ¶
func (mr *MockRepositoryIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockStagingManager ¶
type MockStagingManager struct {
// contains filtered or unexported fields
}
MockStagingManager is a mock of StagingManager interface.
func NewMockStagingManager ¶
func NewMockStagingManager(ctrl *gomock.Controller) *MockStagingManager
NewMockStagingManager creates a new mock instance.
func (*MockStagingManager) Drop ¶
func (m *MockStagingManager) Drop(ctx context.Context, st graveler.StagingToken) error
Drop mocks base method.
func (*MockStagingManager) DropAsync ¶
func (m *MockStagingManager) DropAsync(ctx context.Context, st graveler.StagingToken) error
DropAsync mocks base method.
func (*MockStagingManager) DropByPrefix ¶
func (m *MockStagingManager) DropByPrefix(ctx context.Context, st graveler.StagingToken, prefix graveler.Key) error
DropByPrefix mocks base method.
func (*MockStagingManager) DropKey ¶
func (m *MockStagingManager) DropKey(ctx context.Context, st graveler.StagingToken, key graveler.Key) error
DropKey mocks base method.
func (*MockStagingManager) EXPECT ¶
func (m *MockStagingManager) EXPECT() *MockStagingManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStagingManager) Get ¶
func (m *MockStagingManager) Get(ctx context.Context, st graveler.StagingToken, key graveler.Key) (*graveler.Value, error)
Get mocks base method.
func (*MockStagingManager) List ¶
func (m *MockStagingManager) List(ctx context.Context, st graveler.StagingToken, batchSize int) graveler.ValueIterator
List mocks base method.
func (*MockStagingManager) Set ¶
func (m *MockStagingManager) Set(ctx context.Context, st graveler.StagingToken, key graveler.Key, value *graveler.Value, requireExists bool) error
Set mocks base method.
func (*MockStagingManager) Update ¶
func (m *MockStagingManager) Update(ctx context.Context, st graveler.StagingToken, key graveler.Key, updateFunc graveler.ValueUpdateFunc) error
Update mocks base method.
type MockStagingManagerMockRecorder ¶
type MockStagingManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockStagingManagerMockRecorder is the mock recorder for MockStagingManager.
func (*MockStagingManagerMockRecorder) Drop ¶
func (mr *MockStagingManagerMockRecorder) Drop(ctx, st interface{}) *gomock.Call
Drop indicates an expected call of Drop.
func (*MockStagingManagerMockRecorder) DropAsync ¶
func (mr *MockStagingManagerMockRecorder) DropAsync(ctx, st interface{}) *gomock.Call
DropAsync indicates an expected call of DropAsync.
func (*MockStagingManagerMockRecorder) DropByPrefix ¶
func (mr *MockStagingManagerMockRecorder) DropByPrefix(ctx, st, prefix interface{}) *gomock.Call
DropByPrefix indicates an expected call of DropByPrefix.
func (*MockStagingManagerMockRecorder) DropKey ¶
func (mr *MockStagingManagerMockRecorder) DropKey(ctx, st, key interface{}) *gomock.Call
DropKey indicates an expected call of DropKey.
func (*MockStagingManagerMockRecorder) Get ¶
func (mr *MockStagingManagerMockRecorder) Get(ctx, st, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStagingManagerMockRecorder) List ¶
func (mr *MockStagingManagerMockRecorder) List(ctx, st, batchSize interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockStagingManagerMockRecorder) Set ¶
func (mr *MockStagingManagerMockRecorder) Set(ctx, st, key, value, requireExists interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockStagingManagerMockRecorder) Update ¶
func (mr *MockStagingManagerMockRecorder) Update(ctx, st, key, updateFunc interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockTagIterator ¶
type MockTagIterator struct {
// contains filtered or unexported fields
}
MockTagIterator is a mock of TagIterator interface.
func NewMockTagIterator ¶
func NewMockTagIterator(ctrl *gomock.Controller) *MockTagIterator
NewMockTagIterator creates a new mock instance.
func (*MockTagIterator) EXPECT ¶
func (m *MockTagIterator) EXPECT() *MockTagIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagIterator) SeekGE ¶
func (m *MockTagIterator) SeekGE(id graveler.TagID)
SeekGE mocks base method.
func (*MockTagIterator) Value ¶
func (m *MockTagIterator) Value() *graveler.TagRecord
Value mocks base method.
type MockTagIteratorMockRecorder ¶
type MockTagIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockTagIteratorMockRecorder is the mock recorder for MockTagIterator.
func (*MockTagIteratorMockRecorder) Close ¶
func (mr *MockTagIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockTagIteratorMockRecorder) Err ¶
func (mr *MockTagIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockTagIteratorMockRecorder) Next ¶
func (mr *MockTagIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockTagIteratorMockRecorder) SeekGE ¶
func (mr *MockTagIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockTagIteratorMockRecorder) Value ¶
func (mr *MockTagIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockValueIterator ¶
type MockValueIterator struct {
// contains filtered or unexported fields
}
MockValueIterator is a mock of ValueIterator interface.
func NewMockValueIterator ¶
func NewMockValueIterator(ctrl *gomock.Controller) *MockValueIterator
NewMockValueIterator creates a new mock instance.
func (*MockValueIterator) EXPECT ¶
func (m *MockValueIterator) EXPECT() *MockValueIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValueIterator) SeekGE ¶
func (m *MockValueIterator) SeekGE(id graveler.Key)
SeekGE mocks base method.
func (*MockValueIterator) Value ¶
func (m *MockValueIterator) Value() *graveler.ValueRecord
Value mocks base method.
type MockValueIteratorMockRecorder ¶
type MockValueIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockValueIteratorMockRecorder is the mock recorder for MockValueIterator.
func (*MockValueIteratorMockRecorder) Close ¶
func (mr *MockValueIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockValueIteratorMockRecorder) Err ¶
func (mr *MockValueIteratorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockValueIteratorMockRecorder) Next ¶
func (mr *MockValueIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockValueIteratorMockRecorder) SeekGE ¶
func (mr *MockValueIteratorMockRecorder) SeekGE(id interface{}) *gomock.Call
SeekGE indicates an expected call of SeekGE.
func (*MockValueIteratorMockRecorder) Value ¶
func (mr *MockValueIteratorMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockVersionController ¶
type MockVersionController struct {
// contains filtered or unexported fields
}
MockVersionController is a mock of VersionController interface.
func NewMockVersionController ¶
func NewMockVersionController(ctrl *gomock.Controller) *MockVersionController
NewMockVersionController creates a new mock instance.
func (*MockVersionController) AddCommit ¶
func (m *MockVersionController) AddCommit(ctx context.Context, repository *graveler.RepositoryRecord, commit graveler.Commit, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
AddCommit mocks base method.
func (*MockVersionController) CherryPick ¶ added in v0.97.0
func (m *MockVersionController) CherryPick(ctx context.Context, repository *graveler.RepositoryRecord, id graveler.BranchID, reference graveler.Ref, number *int, committer string, commitOverrides *graveler.CommitOverrides, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
CherryPick mocks base method.
func (*MockVersionController) Commit ¶
func (m *MockVersionController) Commit(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, commitParams graveler.CommitParams, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
Commit mocks base method.
func (*MockVersionController) Compare ¶
func (m *MockVersionController) Compare(ctx context.Context, repository *graveler.RepositoryRecord, left, right graveler.Ref) (graveler.DiffIterator, error)
Compare mocks base method.
func (*MockVersionController) CreateBareRepository ¶
func (m *MockVersionController) CreateBareRepository(ctx context.Context, repositoryID graveler.RepositoryID, storageNamespace graveler.StorageNamespace, defaultBranchID graveler.BranchID, readOnly bool) (*graveler.RepositoryRecord, error)
CreateBareRepository mocks base method.
func (*MockVersionController) CreateBranch ¶
func (m *MockVersionController) CreateBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, ref graveler.Ref, opts ...graveler.SetOptionsFunc) (*graveler.Branch, error)
CreateBranch mocks base method.
func (*MockVersionController) CreateCommitRecord ¶ added in v1.9.0
func (m *MockVersionController) CreateCommitRecord(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, commit graveler.Commit, opts ...graveler.SetOptionsFunc) error
CreateCommitRecord mocks base method.
func (*MockVersionController) CreateRepository ¶
func (m *MockVersionController) CreateRepository(ctx context.Context, repositoryID graveler.RepositoryID, storageNamespace graveler.StorageNamespace, branchID graveler.BranchID, readOnly bool) (*graveler.RepositoryRecord, error)
CreateRepository mocks base method.
func (*MockVersionController) CreateTag ¶
func (m *MockVersionController) CreateTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID, commitID graveler.CommitID, opts ...graveler.SetOptionsFunc) error
CreateTag mocks base method.
func (*MockVersionController) DeleteBranch ¶
func (m *MockVersionController) DeleteBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, opts ...graveler.SetOptionsFunc) error
DeleteBranch mocks base method.
func (*MockVersionController) DeleteExpiredImports ¶ added in v0.102.0
func (m *MockVersionController) DeleteExpiredImports(ctx context.Context, repository *graveler.RepositoryRecord) error
DeleteExpiredImports mocks base method.
func (*MockVersionController) DeleteRepository ¶
func (m *MockVersionController) DeleteRepository(ctx context.Context, repositoryID graveler.RepositoryID, opts ...graveler.SetOptionsFunc) error
DeleteRepository mocks base method.
func (*MockVersionController) DeleteTag ¶
func (m *MockVersionController) DeleteTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID, opts ...graveler.SetOptionsFunc) error
DeleteTag mocks base method.
func (*MockVersionController) Dereference ¶
func (m *MockVersionController) Dereference(ctx context.Context, repository *graveler.RepositoryRecord, ref graveler.Ref) (*graveler.ResolvedRef, error)
Dereference mocks base method.
func (*MockVersionController) Diff ¶
func (m *MockVersionController) Diff(ctx context.Context, repository *graveler.RepositoryRecord, left, right graveler.Ref) (graveler.DiffIterator, error)
Diff mocks base method.
func (*MockVersionController) DiffUncommitted ¶
func (m *MockVersionController) DiffUncommitted(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID) (graveler.DiffIterator, error)
DiffUncommitted mocks base method.
func (*MockVersionController) EXPECT ¶
func (m *MockVersionController) EXPECT() *MockVersionControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVersionController) FindMergeBase ¶ added in v0.94.1
func (m *MockVersionController) FindMergeBase(ctx context.Context, repository *graveler.RepositoryRecord, from, to graveler.Ref) (*graveler.CommitRecord, *graveler.CommitRecord, *graveler.Commit, error)
FindMergeBase mocks base method.
func (*MockVersionController) GCGetUncommittedLocation ¶
func (m *MockVersionController) GCGetUncommittedLocation(repository *graveler.RepositoryRecord, runID string) (string, error)
GCGetUncommittedLocation mocks base method.
func (*MockVersionController) GCNewRunID ¶
func (m *MockVersionController) GCNewRunID() string
GCNewRunID mocks base method.
func (*MockVersionController) GetBranch ¶
func (m *MockVersionController) GetBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID) (*graveler.Branch, error)
GetBranch mocks base method.
func (*MockVersionController) GetBranchProtectionRules ¶
func (m *MockVersionController) GetBranchProtectionRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.BranchProtectionRules, *string, error)
GetBranchProtectionRules mocks base method.
func (*MockVersionController) GetCommit ¶
func (m *MockVersionController) GetCommit(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID) (*graveler.Commit, error)
GetCommit mocks base method.
func (*MockVersionController) GetGarbageCollectionRules ¶
func (m *MockVersionController) GetGarbageCollectionRules(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.GarbageCollectionRules, error)
GetGarbageCollectionRules mocks base method.
func (*MockVersionController) GetRepository ¶
func (m *MockVersionController) GetRepository(ctx context.Context, repositoryID graveler.RepositoryID) (*graveler.RepositoryRecord, error)
GetRepository mocks base method.
func (*MockVersionController) GetRepositoryMetadata ¶ added in v0.104.0
func (m *MockVersionController) GetRepositoryMetadata(ctx context.Context, repositoryID graveler.RepositoryID) (graveler.RepositoryMetadata, error)
GetRepositoryMetadata mocks base method.
func (*MockVersionController) GetStagingToken ¶
func (m *MockVersionController) GetStagingToken(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID) (*graveler.StagingToken, error)
GetStagingToken mocks base method.
func (*MockVersionController) GetTag ¶
func (m *MockVersionController) GetTag(ctx context.Context, repository *graveler.RepositoryRecord, tagID graveler.TagID) (*graveler.CommitID, error)
GetTag mocks base method.
func (*MockVersionController) Import ¶ added in v0.102.0
func (m *MockVersionController) Import(ctx context.Context, repository *graveler.RepositoryRecord, destination graveler.BranchID, source graveler.MetaRangeID, commitParams graveler.CommitParams, prefixes []graveler.Prefix, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
Import mocks base method.
func (*MockVersionController) ListBranches ¶
func (m *MockVersionController) ListBranches(ctx context.Context, repository *graveler.RepositoryRecord, opts ...graveler.ListOptionsFunc) (graveler.BranchIterator, error)
ListBranches mocks base method.
func (*MockVersionController) ListRepositories ¶
func (m *MockVersionController) ListRepositories(ctx context.Context) (graveler.RepositoryIterator, error)
ListRepositories mocks base method.
func (*MockVersionController) ListTags ¶
func (m *MockVersionController) ListTags(ctx context.Context, repository *graveler.RepositoryRecord) (graveler.TagIterator, error)
ListTags mocks base method.
func (*MockVersionController) Log ¶
func (m *MockVersionController) Log(ctx context.Context, repository *graveler.RepositoryRecord, commitID graveler.CommitID, firstParent bool, since *time.Time) (graveler.CommitIterator, error)
Log mocks base method.
func (*MockVersionController) Merge ¶
func (m *MockVersionController) Merge(ctx context.Context, repository *graveler.RepositoryRecord, destination graveler.BranchID, source graveler.Ref, commitParams graveler.CommitParams, strategy string, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
Merge mocks base method.
func (*MockVersionController) Reset ¶
func (m *MockVersionController) Reset(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, opts ...graveler.SetOptionsFunc) error
Reset mocks base method.
func (*MockVersionController) ResetHard ¶ added in v1.8.0
func (m *MockVersionController) ResetHard(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, ref graveler.Ref, opts ...graveler.SetOptionsFunc) error
ResetHard mocks base method.
func (*MockVersionController) ResetKey ¶
func (m *MockVersionController) ResetKey(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, key graveler.Key, opts ...graveler.SetOptionsFunc) error
ResetKey mocks base method.
func (*MockVersionController) ResetPrefix ¶
func (m *MockVersionController) ResetPrefix(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, key graveler.Key, opts ...graveler.SetOptionsFunc) error
ResetPrefix mocks base method.
func (*MockVersionController) ResolveRawRef ¶
func (m *MockVersionController) ResolveRawRef(ctx context.Context, repository *graveler.RepositoryRecord, rawRef graveler.RawRef) (*graveler.ResolvedRef, error)
ResolveRawRef mocks base method.
func (*MockVersionController) Revert ¶
func (m *MockVersionController) Revert(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, ref graveler.Ref, parentNumber int, commitParams graveler.CommitParams, commitOverrides *graveler.CommitOverrides, opts ...graveler.SetOptionsFunc) (graveler.CommitID, error)
Revert mocks base method.
func (*MockVersionController) SaveGarbageCollectionCommits ¶
func (m *MockVersionController) SaveGarbageCollectionCommits(ctx context.Context, repository *graveler.RepositoryRecord) (*graveler.GarbageCollectionRunMetadata, error)
SaveGarbageCollectionCommits mocks base method.
func (*MockVersionController) SetBranchProtectionRules ¶ added in v0.111.0
func (m *MockVersionController) SetBranchProtectionRules(ctx context.Context, repository *graveler.RepositoryRecord, rules *graveler.BranchProtectionRules, lastKnownChecksum *string) error
SetBranchProtectionRules mocks base method.
func (*MockVersionController) SetGarbageCollectionRules ¶
func (m *MockVersionController) SetGarbageCollectionRules(ctx context.Context, repository *graveler.RepositoryRecord, rules *graveler.GarbageCollectionRules) error
SetGarbageCollectionRules mocks base method.
func (*MockVersionController) SetHooksHandler ¶
func (m *MockVersionController) SetHooksHandler(handler graveler.HooksHandler)
SetHooksHandler mocks base method.
func (*MockVersionController) SetRepositoryMetadata ¶ added in v1.8.0
func (m *MockVersionController) SetRepositoryMetadata(ctx context.Context, repository *graveler.RepositoryRecord, updateFunc graveler.RepoMetadataUpdateFunc) error
SetRepositoryMetadata mocks base method.
func (*MockVersionController) UpdateBranch ¶
func (m *MockVersionController) UpdateBranch(ctx context.Context, repository *graveler.RepositoryRecord, branchID graveler.BranchID, ref graveler.Ref, opts ...graveler.SetOptionsFunc) (*graveler.Branch, error)
UpdateBranch mocks base method.
func (*MockVersionController) WriteMetaRangeByIterator ¶
func (m *MockVersionController) WriteMetaRangeByIterator(ctx context.Context, repository *graveler.RepositoryRecord, it graveler.ValueIterator, opts ...graveler.SetOptionsFunc) (*graveler.MetaRangeID, error)
WriteMetaRangeByIterator mocks base method.
type MockVersionControllerMockRecorder ¶
type MockVersionControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionControllerMockRecorder is the mock recorder for MockVersionController.
func (*MockVersionControllerMockRecorder) AddCommit ¶
func (mr *MockVersionControllerMockRecorder) AddCommit(ctx, repository, commit interface{}, opts ...interface{}) *gomock.Call
AddCommit indicates an expected call of AddCommit.
func (*MockVersionControllerMockRecorder) CherryPick ¶ added in v0.97.0
func (mr *MockVersionControllerMockRecorder) CherryPick(ctx, repository, id, reference, number, committer, commitOverrides interface{}, opts ...interface{}) *gomock.Call
CherryPick indicates an expected call of CherryPick.
func (*MockVersionControllerMockRecorder) Commit ¶
func (mr *MockVersionControllerMockRecorder) Commit(ctx, repository, branchID, commitParams interface{}, opts ...interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockVersionControllerMockRecorder) Compare ¶
func (mr *MockVersionControllerMockRecorder) Compare(ctx, repository, left, right interface{}) *gomock.Call
Compare indicates an expected call of Compare.
func (*MockVersionControllerMockRecorder) CreateBareRepository ¶
func (mr *MockVersionControllerMockRecorder) CreateBareRepository(ctx, repositoryID, storageNamespace, defaultBranchID, readOnly interface{}) *gomock.Call
CreateBareRepository indicates an expected call of CreateBareRepository.
func (*MockVersionControllerMockRecorder) CreateBranch ¶
func (mr *MockVersionControllerMockRecorder) CreateBranch(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
CreateBranch indicates an expected call of CreateBranch.
func (*MockVersionControllerMockRecorder) CreateCommitRecord ¶ added in v1.9.0
func (mr *MockVersionControllerMockRecorder) CreateCommitRecord(ctx, repository, commitID, commit interface{}, opts ...interface{}) *gomock.Call
CreateCommitRecord indicates an expected call of CreateCommitRecord.
func (*MockVersionControllerMockRecorder) CreateRepository ¶
func (mr *MockVersionControllerMockRecorder) CreateRepository(ctx, repositoryID, storageNamespace, branchID, readOnly interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockVersionControllerMockRecorder) CreateTag ¶
func (mr *MockVersionControllerMockRecorder) CreateTag(ctx, repository, tagID, commitID interface{}, opts ...interface{}) *gomock.Call
CreateTag indicates an expected call of CreateTag.
func (*MockVersionControllerMockRecorder) DeleteBranch ¶
func (mr *MockVersionControllerMockRecorder) DeleteBranch(ctx, repository, branchID interface{}, opts ...interface{}) *gomock.Call
DeleteBranch indicates an expected call of DeleteBranch.
func (*MockVersionControllerMockRecorder) DeleteExpiredImports ¶ added in v0.102.0
func (mr *MockVersionControllerMockRecorder) DeleteExpiredImports(ctx, repository interface{}) *gomock.Call
DeleteExpiredImports indicates an expected call of DeleteExpiredImports.
func (*MockVersionControllerMockRecorder) DeleteRepository ¶
func (mr *MockVersionControllerMockRecorder) DeleteRepository(ctx, repositoryID interface{}, opts ...interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockVersionControllerMockRecorder) DeleteTag ¶
func (mr *MockVersionControllerMockRecorder) DeleteTag(ctx, repository, tagID interface{}, opts ...interface{}) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockVersionControllerMockRecorder) Dereference ¶
func (mr *MockVersionControllerMockRecorder) Dereference(ctx, repository, ref interface{}) *gomock.Call
Dereference indicates an expected call of Dereference.
func (*MockVersionControllerMockRecorder) Diff ¶
func (mr *MockVersionControllerMockRecorder) Diff(ctx, repository, left, right interface{}) *gomock.Call
Diff indicates an expected call of Diff.
func (*MockVersionControllerMockRecorder) DiffUncommitted ¶
func (mr *MockVersionControllerMockRecorder) DiffUncommitted(ctx, repository, branchID interface{}) *gomock.Call
DiffUncommitted indicates an expected call of DiffUncommitted.
func (*MockVersionControllerMockRecorder) FindMergeBase ¶ added in v0.94.1
func (mr *MockVersionControllerMockRecorder) FindMergeBase(ctx, repository, from, to interface{}) *gomock.Call
FindMergeBase indicates an expected call of FindMergeBase.
func (*MockVersionControllerMockRecorder) GCGetUncommittedLocation ¶
func (mr *MockVersionControllerMockRecorder) GCGetUncommittedLocation(repository, runID interface{}) *gomock.Call
GCGetUncommittedLocation indicates an expected call of GCGetUncommittedLocation.
func (*MockVersionControllerMockRecorder) GCNewRunID ¶
func (mr *MockVersionControllerMockRecorder) GCNewRunID() *gomock.Call
GCNewRunID indicates an expected call of GCNewRunID.
func (*MockVersionControllerMockRecorder) GetBranch ¶
func (mr *MockVersionControllerMockRecorder) GetBranch(ctx, repository, branchID interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch.
func (*MockVersionControllerMockRecorder) GetBranchProtectionRules ¶
func (mr *MockVersionControllerMockRecorder) GetBranchProtectionRules(ctx, repository interface{}) *gomock.Call
GetBranchProtectionRules indicates an expected call of GetBranchProtectionRules.
func (*MockVersionControllerMockRecorder) GetCommit ¶
func (mr *MockVersionControllerMockRecorder) GetCommit(ctx, repository, commitID interface{}) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockVersionControllerMockRecorder) GetGarbageCollectionRules ¶
func (mr *MockVersionControllerMockRecorder) GetGarbageCollectionRules(ctx, repository interface{}) *gomock.Call
GetGarbageCollectionRules indicates an expected call of GetGarbageCollectionRules.
func (*MockVersionControllerMockRecorder) GetRepository ¶
func (mr *MockVersionControllerMockRecorder) GetRepository(ctx, repositoryID interface{}) *gomock.Call
GetRepository indicates an expected call of GetRepository.
func (*MockVersionControllerMockRecorder) GetRepositoryMetadata ¶ added in v0.104.0
func (mr *MockVersionControllerMockRecorder) GetRepositoryMetadata(ctx, repositoryID interface{}) *gomock.Call
GetRepositoryMetadata indicates an expected call of GetRepositoryMetadata.
func (*MockVersionControllerMockRecorder) GetStagingToken ¶
func (mr *MockVersionControllerMockRecorder) GetStagingToken(ctx, repository, branchID interface{}) *gomock.Call
GetStagingToken indicates an expected call of GetStagingToken.
func (*MockVersionControllerMockRecorder) GetTag ¶
func (mr *MockVersionControllerMockRecorder) GetTag(ctx, repository, tagID interface{}) *gomock.Call
GetTag indicates an expected call of GetTag.
func (*MockVersionControllerMockRecorder) Import ¶ added in v0.102.0
func (mr *MockVersionControllerMockRecorder) Import(ctx, repository, destination, source, commitParams, prefixes interface{}, opts ...interface{}) *gomock.Call
Import indicates an expected call of Import.
func (*MockVersionControllerMockRecorder) ListBranches ¶
func (mr *MockVersionControllerMockRecorder) ListBranches(ctx, repository interface{}, opts ...interface{}) *gomock.Call
ListBranches indicates an expected call of ListBranches.
func (*MockVersionControllerMockRecorder) ListRepositories ¶
func (mr *MockVersionControllerMockRecorder) ListRepositories(ctx interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockVersionControllerMockRecorder) ListTags ¶
func (mr *MockVersionControllerMockRecorder) ListTags(ctx, repository interface{}) *gomock.Call
ListTags indicates an expected call of ListTags.
func (*MockVersionControllerMockRecorder) Log ¶
func (mr *MockVersionControllerMockRecorder) Log(ctx, repository, commitID, firstParent, since interface{}) *gomock.Call
Log indicates an expected call of Log.
func (*MockVersionControllerMockRecorder) Merge ¶
func (mr *MockVersionControllerMockRecorder) Merge(ctx, repository, destination, source, commitParams, strategy interface{}, opts ...interface{}) *gomock.Call
Merge indicates an expected call of Merge.
func (*MockVersionControllerMockRecorder) ParseRef ¶
func (mr *MockVersionControllerMockRecorder) ParseRef(ref interface{}) *gomock.Call
ParseRef indicates an expected call of ParseRef.
func (*MockVersionControllerMockRecorder) Reset ¶
func (mr *MockVersionControllerMockRecorder) Reset(ctx, repository, branchID interface{}, opts ...interface{}) *gomock.Call
Reset indicates an expected call of Reset.
func (*MockVersionControllerMockRecorder) ResetHard ¶ added in v1.8.0
func (mr *MockVersionControllerMockRecorder) ResetHard(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
ResetHard indicates an expected call of ResetHard.
func (*MockVersionControllerMockRecorder) ResetKey ¶
func (mr *MockVersionControllerMockRecorder) ResetKey(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
ResetKey indicates an expected call of ResetKey.
func (*MockVersionControllerMockRecorder) ResetPrefix ¶
func (mr *MockVersionControllerMockRecorder) ResetPrefix(ctx, repository, branchID, key interface{}, opts ...interface{}) *gomock.Call
ResetPrefix indicates an expected call of ResetPrefix.
func (*MockVersionControllerMockRecorder) ResolveRawRef ¶
func (mr *MockVersionControllerMockRecorder) ResolveRawRef(ctx, repository, rawRef interface{}) *gomock.Call
ResolveRawRef indicates an expected call of ResolveRawRef.
func (*MockVersionControllerMockRecorder) Revert ¶
func (mr *MockVersionControllerMockRecorder) Revert(ctx, repository, branchID, ref, parentNumber, commitParams, commitOverrides interface{}, opts ...interface{}) *gomock.Call
Revert indicates an expected call of Revert.
func (*MockVersionControllerMockRecorder) SaveGarbageCollectionCommits ¶
func (mr *MockVersionControllerMockRecorder) SaveGarbageCollectionCommits(ctx, repository interface{}) *gomock.Call
SaveGarbageCollectionCommits indicates an expected call of SaveGarbageCollectionCommits.
func (*MockVersionControllerMockRecorder) SetBranchProtectionRules ¶ added in v0.111.0
func (mr *MockVersionControllerMockRecorder) SetBranchProtectionRules(ctx, repository, rules, lastKnownChecksum interface{}) *gomock.Call
SetBranchProtectionRules indicates an expected call of SetBranchProtectionRules.
func (*MockVersionControllerMockRecorder) SetGarbageCollectionRules ¶
func (mr *MockVersionControllerMockRecorder) SetGarbageCollectionRules(ctx, repository, rules interface{}) *gomock.Call
SetGarbageCollectionRules indicates an expected call of SetGarbageCollectionRules.
func (*MockVersionControllerMockRecorder) SetHooksHandler ¶
func (mr *MockVersionControllerMockRecorder) SetHooksHandler(handler interface{}) *gomock.Call
SetHooksHandler indicates an expected call of SetHooksHandler.
func (*MockVersionControllerMockRecorder) SetRepositoryMetadata ¶ added in v1.8.0
func (mr *MockVersionControllerMockRecorder) SetRepositoryMetadata(ctx, repository, updateFunc interface{}) *gomock.Call
SetRepositoryMetadata indicates an expected call of SetRepositoryMetadata.
func (*MockVersionControllerMockRecorder) UpdateBranch ¶
func (mr *MockVersionControllerMockRecorder) UpdateBranch(ctx, repository, branchID, ref interface{}, opts ...interface{}) *gomock.Call
UpdateBranch indicates an expected call of UpdateBranch.
func (*MockVersionControllerMockRecorder) WriteMetaRangeByIterator ¶
func (mr *MockVersionControllerMockRecorder) WriteMetaRangeByIterator(ctx, repository, it interface{}, opts ...interface{}) *gomock.Call
WriteMetaRangeByIterator indicates an expected call of WriteMetaRangeByIterator.