Documentation
¶
Overview ¶
- Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
- SPDX-License-Identifier: Apache-2.0
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIIterator
- type MockIIteratorMockRecorder
- type MockIPage
- type MockIPageMockRecorder
- type MockIPaginator
- func (m *MockIPaginator) Close() error
- func (m *MockIPaginator) EXPECT() *MockIPaginatorMockRecorder
- func (m *MockIPaginator) GetCurrentPage() (pagination.IPage, error)
- func (m *MockIPaginator) GetNext() (any, error)
- func (m *MockIPaginator) HasNext() bool
- func (m *MockIPaginator) Stop() context.CancelFunc
- type MockIPaginatorAndPageFetcher
- func (m *MockIPaginatorAndPageFetcher) Close() error
- func (m *MockIPaginatorAndPageFetcher) EXPECT() *MockIPaginatorAndPageFetcherMockRecorder
- func (m *MockIPaginatorAndPageFetcher) FetchNextPage(ctx context.Context, currentPage pagination.IStaticPage) (pagination.IStaticPage, error)
- func (m *MockIPaginatorAndPageFetcher) GetCurrentPage() (pagination.IStaticPage, error)
- func (m *MockIPaginatorAndPageFetcher) GetNext() (any, error)
- func (m *MockIPaginatorAndPageFetcher) HasNext() bool
- func (m *MockIPaginatorAndPageFetcher) Stop() context.CancelFunc
- type MockIPaginatorAndPageFetcherMockRecorder
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) Close() *gomock.Call
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) FetchNextPage(ctx, currentPage any) *gomock.Call
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomock.Call
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) GetNext() *gomock.Call
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) HasNext() *gomock.Call
- func (mr *MockIPaginatorAndPageFetcherMockRecorder) Stop() *gomock.Call
- type MockIPaginatorMockRecorder
- func (mr *MockIPaginatorMockRecorder) Close() *gomock.Call
- func (mr *MockIPaginatorMockRecorder) GetCurrentPage() *gomock.Call
- func (mr *MockIPaginatorMockRecorder) GetNext() *gomock.Call
- func (mr *MockIPaginatorMockRecorder) HasNext() *gomock.Call
- func (mr *MockIPaginatorMockRecorder) Stop() *gomock.Call
- type MockIStack
- func (m *MockIStack[T]) Clear()
- func (m *MockIStack[T]) EXPECT() *MockIStackMockRecorder[T]
- func (m *MockIStack[T]) IsEmpty() bool
- func (m *MockIStack[T]) Len() int
- func (m *MockIStack[T]) Peek() (T, bool)
- func (m *MockIStack[T]) Pop() (T, bool)
- func (m *MockIStack[T]) Push(value ...T)
- func (m *MockIStack[T]) PushSequence(seq iter.Seq[T])
- func (m *MockIStack[T]) Values() iter.Seq[T]
- type MockIStackMockRecorder
- func (mr *MockIStackMockRecorder[T]) Clear() *gomock.Call
- func (mr *MockIStackMockRecorder[T]) IsEmpty() *gomock.Call
- func (mr *MockIStackMockRecorder[T]) Len() *gomock.Call
- func (mr *MockIStackMockRecorder[T]) Peek() *gomock.Call
- func (mr *MockIStackMockRecorder[T]) Pop() *gomock.Call
- func (mr *MockIStackMockRecorder[T]) Push(value ...any) *gomock.Call
- func (mr *MockIStackMockRecorder[T]) PushSequence(seq any) *gomock.Call
- func (mr *MockIStackMockRecorder[T]) Values() *gomock.Call
- type MockIStaticPage
- type MockIStaticPageMockRecorder
- type MockIStaticPageStream
- func (m *MockIStaticPageStream) EXPECT() *MockIStaticPageStreamMockRecorder
- func (m *MockIStaticPageStream) GetItemCount() (int64, error)
- func (m *MockIStaticPageStream) GetItemIterator() (pagination.IIterator, error)
- func (m *MockIStaticPageStream) HasFuture() bool
- func (m *MockIStaticPageStream) HasNext() bool
- type MockIStaticPageStreamMockRecorder
- type MockIStream
- func (m *MockIStream) EXPECT() *MockIStreamMockRecorder
- func (m *MockIStream) GetFuture(ctx context.Context) (pagination.IStream, error)
- func (m *MockIStream) GetItemCount() (int64, error)
- func (m *MockIStream) GetItemIterator() (pagination.IIterator, error)
- func (m *MockIStream) GetNext(ctx context.Context) (pagination.IPage, error)
- func (m *MockIStream) HasFuture() bool
- func (m *MockIStream) HasNext() bool
- type MockIStreamMockRecorder
- func (mr *MockIStreamMockRecorder) GetFuture(ctx any) *gomock.Call
- func (mr *MockIStreamMockRecorder) GetItemCount() *gomock.Call
- func (mr *MockIStreamMockRecorder) GetItemIterator() *gomock.Call
- func (mr *MockIStreamMockRecorder) GetNext(ctx any) *gomock.Call
- func (mr *MockIStreamMockRecorder) HasFuture() *gomock.Call
- func (mr *MockIStreamMockRecorder) HasNext() *gomock.Call
- type MockIStreamPaginator
- func (m *MockIStreamPaginator) Close() error
- func (m *MockIStreamPaginator) DryUp() error
- func (m *MockIStreamPaginator) EXPECT() *MockIStreamPaginatorMockRecorder
- func (m *MockIStreamPaginator) GetCurrentPage() (pagination.IPage, error)
- func (m *MockIStreamPaginator) GetNext() (any, error)
- func (m *MockIStreamPaginator) HasNext() bool
- func (m *MockIStreamPaginator) IsRunningDry() bool
- func (m *MockIStreamPaginator) Stop() context.CancelFunc
- type MockIStreamPaginatorAndPageFetcher
- func (m *MockIStreamPaginatorAndPageFetcher) Close() error
- func (m *MockIStreamPaginatorAndPageFetcher) DryUp() error
- func (m *MockIStreamPaginatorAndPageFetcher) EXPECT() *MockIStreamPaginatorAndPageFetcherMockRecorder
- func (m *MockIStreamPaginatorAndPageFetcher) FetchFuturePage(ctx context.Context, currentPage pagination.IStaticPageStream) (pagination.IStaticPageStream, error)
- func (m *MockIStreamPaginatorAndPageFetcher) FetchNextPage(ctx context.Context, currentPage pagination.IStaticPage) (pagination.IStaticPage, error)
- func (m *MockIStreamPaginatorAndPageFetcher) GetCurrentPage() (pagination.IStaticPage, error)
- func (m *MockIStreamPaginatorAndPageFetcher) GetNext() (any, error)
- func (m *MockIStreamPaginatorAndPageFetcher) HasNext() bool
- func (m *MockIStreamPaginatorAndPageFetcher) IsRunningDry() bool
- func (m *MockIStreamPaginatorAndPageFetcher) Stop() context.CancelFunc
- type MockIStreamPaginatorAndPageFetcherMockRecorder
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) Close() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) DryUp() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchFuturePage(ctx, currentPage any) *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchNextPage(ctx, currentPage any) *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) GetNext() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) HasNext() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) IsRunningDry() *gomock.Call
- func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) Stop() *gomock.Call
- type MockIStreamPaginatorMockRecorder
- func (mr *MockIStreamPaginatorMockRecorder) Close() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) DryUp() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) GetCurrentPage() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) GetNext() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) HasNext() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) IsRunningDry() *gomock.Call
- func (mr *MockIStreamPaginatorMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIIterator ¶
type MockIIterator struct {
// contains filtered or unexported fields
}
MockIIterator is a mock of IIterator interface.
func NewMockIIterator ¶
func NewMockIIterator(ctrl *gomock.Controller) *MockIIterator
NewMockIIterator creates a new mock instance.
func (*MockIIterator) EXPECT ¶
func (m *MockIIterator) EXPECT() *MockIIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIIterator) GetNext ¶
func (m *MockIIterator) GetNext() (any, error)
GetNext mocks base method.
type MockIIteratorMockRecorder ¶
type MockIIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockIIteratorMockRecorder is the mock recorder for MockIIterator.
func (*MockIIteratorMockRecorder) GetNext ¶
func (mr *MockIIteratorMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIIteratorMockRecorder) HasNext ¶
func (mr *MockIIteratorMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
type MockIPage ¶
type MockIPage struct {
// contains filtered or unexported fields
}
MockIPage is a mock of IPage interface.
func NewMockIPage ¶
func NewMockIPage(ctrl *gomock.Controller) *MockIPage
NewMockIPage creates a new mock instance.
func (*MockIPage) EXPECT ¶
func (m *MockIPage) EXPECT() *MockIPageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPage) GetItemCount ¶
GetItemCount mocks base method.
func (*MockIPage) GetItemIterator ¶
func (m *MockIPage) GetItemIterator() (pagination.IIterator, error)
GetItemIterator mocks base method.
type MockIPageMockRecorder ¶
type MockIPageMockRecorder struct {
// contains filtered or unexported fields
}
MockIPageMockRecorder is the mock recorder for MockIPage.
func (*MockIPageMockRecorder) GetItemCount ¶
func (mr *MockIPageMockRecorder) GetItemCount() *gomock.Call
GetItemCount indicates an expected call of GetItemCount.
func (*MockIPageMockRecorder) GetItemIterator ¶
func (mr *MockIPageMockRecorder) GetItemIterator() *gomock.Call
GetItemIterator indicates an expected call of GetItemIterator.
func (*MockIPageMockRecorder) GetNext ¶
func (mr *MockIPageMockRecorder) GetNext(ctx any) *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIPageMockRecorder) HasNext ¶
func (mr *MockIPageMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
type MockIPaginator ¶
type MockIPaginator struct {
// contains filtered or unexported fields
}
MockIPaginator is a mock of IPaginator interface.
func NewMockIPaginator ¶
func NewMockIPaginator(ctrl *gomock.Controller) *MockIPaginator
NewMockIPaginator creates a new mock instance.
func (*MockIPaginator) EXPECT ¶
func (m *MockIPaginator) EXPECT() *MockIPaginatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPaginator) GetCurrentPage ¶
func (m *MockIPaginator) GetCurrentPage() (pagination.IPage, error)
GetCurrentPage mocks base method.
func (*MockIPaginator) GetNext ¶
func (m *MockIPaginator) GetNext() (any, error)
GetNext mocks base method.
func (*MockIPaginator) Stop ¶
func (m *MockIPaginator) Stop() context.CancelFunc
Stop mocks base method.
type MockIPaginatorAndPageFetcher ¶
type MockIPaginatorAndPageFetcher struct {
// contains filtered or unexported fields
}
MockIPaginatorAndPageFetcher is a mock of IPaginatorAndPageFetcher interface.
func NewMockIPaginatorAndPageFetcher ¶
func NewMockIPaginatorAndPageFetcher(ctrl *gomock.Controller) *MockIPaginatorAndPageFetcher
NewMockIPaginatorAndPageFetcher creates a new mock instance.
func (*MockIPaginatorAndPageFetcher) Close ¶
func (m *MockIPaginatorAndPageFetcher) Close() error
Close mocks base method.
func (*MockIPaginatorAndPageFetcher) EXPECT ¶
func (m *MockIPaginatorAndPageFetcher) EXPECT() *MockIPaginatorAndPageFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPaginatorAndPageFetcher) FetchNextPage ¶
func (m *MockIPaginatorAndPageFetcher) FetchNextPage(ctx context.Context, currentPage pagination.IStaticPage) (pagination.IStaticPage, error)
FetchNextPage mocks base method.
func (*MockIPaginatorAndPageFetcher) GetCurrentPage ¶
func (m *MockIPaginatorAndPageFetcher) GetCurrentPage() (pagination.IStaticPage, error)
GetCurrentPage mocks base method.
func (*MockIPaginatorAndPageFetcher) GetNext ¶
func (m *MockIPaginatorAndPageFetcher) GetNext() (any, error)
GetNext mocks base method.
func (*MockIPaginatorAndPageFetcher) HasNext ¶
func (m *MockIPaginatorAndPageFetcher) HasNext() bool
HasNext mocks base method.
func (*MockIPaginatorAndPageFetcher) Stop ¶
func (m *MockIPaginatorAndPageFetcher) Stop() context.CancelFunc
Stop mocks base method.
type MockIPaginatorAndPageFetcherMockRecorder ¶
type MockIPaginatorAndPageFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockIPaginatorAndPageFetcherMockRecorder is the mock recorder for MockIPaginatorAndPageFetcher.
func (*MockIPaginatorAndPageFetcherMockRecorder) Close ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIPaginatorAndPageFetcherMockRecorder) FetchNextPage ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) FetchNextPage(ctx, currentPage any) *gomock.Call
FetchNextPage indicates an expected call of FetchNextPage.
func (*MockIPaginatorAndPageFetcherMockRecorder) GetCurrentPage ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomock.Call
GetCurrentPage indicates an expected call of GetCurrentPage.
func (*MockIPaginatorAndPageFetcherMockRecorder) GetNext ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIPaginatorAndPageFetcherMockRecorder) HasNext ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
func (*MockIPaginatorAndPageFetcherMockRecorder) Stop ¶
func (mr *MockIPaginatorAndPageFetcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockIPaginatorMockRecorder ¶
type MockIPaginatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIPaginatorMockRecorder is the mock recorder for MockIPaginator.
func (*MockIPaginatorMockRecorder) Close ¶
func (mr *MockIPaginatorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIPaginatorMockRecorder) GetCurrentPage ¶
func (mr *MockIPaginatorMockRecorder) GetCurrentPage() *gomock.Call
GetCurrentPage indicates an expected call of GetCurrentPage.
func (*MockIPaginatorMockRecorder) GetNext ¶
func (mr *MockIPaginatorMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIPaginatorMockRecorder) HasNext ¶
func (mr *MockIPaginatorMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
func (*MockIPaginatorMockRecorder) Stop ¶
func (mr *MockIPaginatorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockIStack ¶
type MockIStack[T any] struct { // contains filtered or unexported fields }
MockIStack is a mock of IStack interface.
func NewMockIStack ¶
func NewMockIStack[T any](ctrl *gomock.Controller) *MockIStack[T]
NewMockIStack creates a new mock instance.
func (*MockIStack[T]) EXPECT ¶
func (m *MockIStack[T]) EXPECT() *MockIStackMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStack[T]) PushSequence ¶
func (m *MockIStack[T]) PushSequence(seq iter.Seq[T])
PushSequence mocks base method.
func (*MockIStack[T]) Values ¶
func (m *MockIStack[T]) Values() iter.Seq[T]
Values mocks base method.
type MockIStackMockRecorder ¶
type MockIStackMockRecorder[T any] struct { // contains filtered or unexported fields }
MockIStackMockRecorder is the mock recorder for MockIStack.
func (*MockIStackMockRecorder[T]) Clear ¶
func (mr *MockIStackMockRecorder[T]) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockIStackMockRecorder[T]) IsEmpty ¶
func (mr *MockIStackMockRecorder[T]) IsEmpty() *gomock.Call
IsEmpty indicates an expected call of IsEmpty.
func (*MockIStackMockRecorder[T]) Len ¶
func (mr *MockIStackMockRecorder[T]) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockIStackMockRecorder[T]) Peek ¶
func (mr *MockIStackMockRecorder[T]) Peek() *gomock.Call
Peek indicates an expected call of Peek.
func (*MockIStackMockRecorder[T]) Pop ¶
func (mr *MockIStackMockRecorder[T]) Pop() *gomock.Call
Pop indicates an expected call of Pop.
func (*MockIStackMockRecorder[T]) Push ¶
func (mr *MockIStackMockRecorder[T]) Push(value ...any) *gomock.Call
Push indicates an expected call of Push.
func (*MockIStackMockRecorder[T]) PushSequence ¶
func (mr *MockIStackMockRecorder[T]) PushSequence(seq any) *gomock.Call
PushSequence indicates an expected call of PushSequence.
func (*MockIStackMockRecorder[T]) Values ¶
func (mr *MockIStackMockRecorder[T]) Values() *gomock.Call
Values indicates an expected call of Values.
type MockIStaticPage ¶
type MockIStaticPage struct {
// contains filtered or unexported fields
}
MockIStaticPage is a mock of IStaticPage interface.
func NewMockIStaticPage ¶
func NewMockIStaticPage(ctrl *gomock.Controller) *MockIStaticPage
NewMockIStaticPage creates a new mock instance.
func (*MockIStaticPage) EXPECT ¶
func (m *MockIStaticPage) EXPECT() *MockIStaticPageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStaticPage) GetItemCount ¶
func (m *MockIStaticPage) GetItemCount() (int64, error)
GetItemCount mocks base method.
func (*MockIStaticPage) GetItemIterator ¶
func (m *MockIStaticPage) GetItemIterator() (pagination.IIterator, error)
GetItemIterator mocks base method.
func (*MockIStaticPage) HasNext ¶
func (m *MockIStaticPage) HasNext() bool
HasNext mocks base method.
type MockIStaticPageMockRecorder ¶
type MockIStaticPageMockRecorder struct {
// contains filtered or unexported fields
}
MockIStaticPageMockRecorder is the mock recorder for MockIStaticPage.
func (*MockIStaticPageMockRecorder) GetItemCount ¶
func (mr *MockIStaticPageMockRecorder) GetItemCount() *gomock.Call
GetItemCount indicates an expected call of GetItemCount.
func (*MockIStaticPageMockRecorder) GetItemIterator ¶
func (mr *MockIStaticPageMockRecorder) GetItemIterator() *gomock.Call
GetItemIterator indicates an expected call of GetItemIterator.
func (*MockIStaticPageMockRecorder) HasNext ¶
func (mr *MockIStaticPageMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
type MockIStaticPageStream ¶
type MockIStaticPageStream struct {
// contains filtered or unexported fields
}
MockIStaticPageStream is a mock of IStaticPageStream interface.
func NewMockIStaticPageStream ¶
func NewMockIStaticPageStream(ctrl *gomock.Controller) *MockIStaticPageStream
NewMockIStaticPageStream creates a new mock instance.
func (*MockIStaticPageStream) EXPECT ¶
func (m *MockIStaticPageStream) EXPECT() *MockIStaticPageStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStaticPageStream) GetItemCount ¶
func (m *MockIStaticPageStream) GetItemCount() (int64, error)
GetItemCount mocks base method.
func (*MockIStaticPageStream) GetItemIterator ¶
func (m *MockIStaticPageStream) GetItemIterator() (pagination.IIterator, error)
GetItemIterator mocks base method.
func (*MockIStaticPageStream) HasFuture ¶
func (m *MockIStaticPageStream) HasFuture() bool
HasFuture mocks base method.
func (*MockIStaticPageStream) HasNext ¶
func (m *MockIStaticPageStream) HasNext() bool
HasNext mocks base method.
type MockIStaticPageStreamMockRecorder ¶
type MockIStaticPageStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockIStaticPageStreamMockRecorder is the mock recorder for MockIStaticPageStream.
func (*MockIStaticPageStreamMockRecorder) GetItemCount ¶
func (mr *MockIStaticPageStreamMockRecorder) GetItemCount() *gomock.Call
GetItemCount indicates an expected call of GetItemCount.
func (*MockIStaticPageStreamMockRecorder) GetItemIterator ¶
func (mr *MockIStaticPageStreamMockRecorder) GetItemIterator() *gomock.Call
GetItemIterator indicates an expected call of GetItemIterator.
func (*MockIStaticPageStreamMockRecorder) HasFuture ¶
func (mr *MockIStaticPageStreamMockRecorder) HasFuture() *gomock.Call
HasFuture indicates an expected call of HasFuture.
func (*MockIStaticPageStreamMockRecorder) HasNext ¶
func (mr *MockIStaticPageStreamMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
type MockIStream ¶
type MockIStream struct {
// contains filtered or unexported fields
}
MockIStream is a mock of IStream interface.
func NewMockIStream ¶
func NewMockIStream(ctrl *gomock.Controller) *MockIStream
NewMockIStream creates a new mock instance.
func (*MockIStream) EXPECT ¶
func (m *MockIStream) EXPECT() *MockIStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStream) GetFuture ¶
func (m *MockIStream) GetFuture(ctx context.Context) (pagination.IStream, error)
GetFuture mocks base method.
func (*MockIStream) GetItemCount ¶
func (m *MockIStream) GetItemCount() (int64, error)
GetItemCount mocks base method.
func (*MockIStream) GetItemIterator ¶
func (m *MockIStream) GetItemIterator() (pagination.IIterator, error)
GetItemIterator mocks base method.
func (*MockIStream) GetNext ¶
func (m *MockIStream) GetNext(ctx context.Context) (pagination.IPage, error)
GetNext mocks base method.
type MockIStreamMockRecorder ¶
type MockIStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockIStreamMockRecorder is the mock recorder for MockIStream.
func (*MockIStreamMockRecorder) GetFuture ¶
func (mr *MockIStreamMockRecorder) GetFuture(ctx any) *gomock.Call
GetFuture indicates an expected call of GetFuture.
func (*MockIStreamMockRecorder) GetItemCount ¶
func (mr *MockIStreamMockRecorder) GetItemCount() *gomock.Call
GetItemCount indicates an expected call of GetItemCount.
func (*MockIStreamMockRecorder) GetItemIterator ¶
func (mr *MockIStreamMockRecorder) GetItemIterator() *gomock.Call
GetItemIterator indicates an expected call of GetItemIterator.
func (*MockIStreamMockRecorder) GetNext ¶
func (mr *MockIStreamMockRecorder) GetNext(ctx any) *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIStreamMockRecorder) HasFuture ¶
func (mr *MockIStreamMockRecorder) HasFuture() *gomock.Call
HasFuture indicates an expected call of HasFuture.
func (*MockIStreamMockRecorder) HasNext ¶
func (mr *MockIStreamMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
type MockIStreamPaginator ¶
type MockIStreamPaginator struct {
// contains filtered or unexported fields
}
MockIStreamPaginator is a mock of IStreamPaginator interface.
func NewMockIStreamPaginator ¶
func NewMockIStreamPaginator(ctrl *gomock.Controller) *MockIStreamPaginator
NewMockIStreamPaginator creates a new mock instance.
func (*MockIStreamPaginator) Close ¶
func (m *MockIStreamPaginator) Close() error
Close mocks base method.
func (*MockIStreamPaginator) DryUp ¶
func (m *MockIStreamPaginator) DryUp() error
DryUp mocks base method.
func (*MockIStreamPaginator) EXPECT ¶
func (m *MockIStreamPaginator) EXPECT() *MockIStreamPaginatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStreamPaginator) GetCurrentPage ¶
func (m *MockIStreamPaginator) GetCurrentPage() (pagination.IPage, error)
GetCurrentPage mocks base method.
func (*MockIStreamPaginator) GetNext ¶
func (m *MockIStreamPaginator) GetNext() (any, error)
GetNext mocks base method.
func (*MockIStreamPaginator) HasNext ¶
func (m *MockIStreamPaginator) HasNext() bool
HasNext mocks base method.
func (*MockIStreamPaginator) IsRunningDry ¶
func (m *MockIStreamPaginator) IsRunningDry() bool
IsRunningDry mocks base method.
func (*MockIStreamPaginator) Stop ¶
func (m *MockIStreamPaginator) Stop() context.CancelFunc
Stop mocks base method.
type MockIStreamPaginatorAndPageFetcher ¶
type MockIStreamPaginatorAndPageFetcher struct {
// contains filtered or unexported fields
}
MockIStreamPaginatorAndPageFetcher is a mock of IStreamPaginatorAndPageFetcher interface.
func NewMockIStreamPaginatorAndPageFetcher ¶
func NewMockIStreamPaginatorAndPageFetcher(ctrl *gomock.Controller) *MockIStreamPaginatorAndPageFetcher
NewMockIStreamPaginatorAndPageFetcher creates a new mock instance.
func (*MockIStreamPaginatorAndPageFetcher) Close ¶
func (m *MockIStreamPaginatorAndPageFetcher) Close() error
Close mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) DryUp ¶
func (m *MockIStreamPaginatorAndPageFetcher) DryUp() error
DryUp mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) EXPECT ¶
func (m *MockIStreamPaginatorAndPageFetcher) EXPECT() *MockIStreamPaginatorAndPageFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStreamPaginatorAndPageFetcher) FetchFuturePage ¶
func (m *MockIStreamPaginatorAndPageFetcher) FetchFuturePage(ctx context.Context, currentPage pagination.IStaticPageStream) (pagination.IStaticPageStream, error)
FetchFuturePage mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) FetchNextPage ¶
func (m *MockIStreamPaginatorAndPageFetcher) FetchNextPage(ctx context.Context, currentPage pagination.IStaticPage) (pagination.IStaticPage, error)
FetchNextPage mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) GetCurrentPage ¶
func (m *MockIStreamPaginatorAndPageFetcher) GetCurrentPage() (pagination.IStaticPage, error)
GetCurrentPage mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) GetNext ¶
func (m *MockIStreamPaginatorAndPageFetcher) GetNext() (any, error)
GetNext mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) HasNext ¶
func (m *MockIStreamPaginatorAndPageFetcher) HasNext() bool
HasNext mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) IsRunningDry ¶
func (m *MockIStreamPaginatorAndPageFetcher) IsRunningDry() bool
IsRunningDry mocks base method.
func (*MockIStreamPaginatorAndPageFetcher) Stop ¶
func (m *MockIStreamPaginatorAndPageFetcher) Stop() context.CancelFunc
Stop mocks base method.
type MockIStreamPaginatorAndPageFetcherMockRecorder ¶
type MockIStreamPaginatorAndPageFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockIStreamPaginatorAndPageFetcherMockRecorder is the mock recorder for MockIStreamPaginatorAndPageFetcher.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) Close ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) DryUp ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) DryUp() *gomock.Call
DryUp indicates an expected call of DryUp.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) FetchFuturePage ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchFuturePage(ctx, currentPage any) *gomock.Call
FetchFuturePage indicates an expected call of FetchFuturePage.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) FetchNextPage ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) FetchNextPage(ctx, currentPage any) *gomock.Call
FetchNextPage indicates an expected call of FetchNextPage.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) GetCurrentPage ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) GetCurrentPage() *gomock.Call
GetCurrentPage indicates an expected call of GetCurrentPage.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) GetNext ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) HasNext ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) IsRunningDry ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) IsRunningDry() *gomock.Call
IsRunningDry indicates an expected call of IsRunningDry.
func (*MockIStreamPaginatorAndPageFetcherMockRecorder) Stop ¶
func (mr *MockIStreamPaginatorAndPageFetcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockIStreamPaginatorMockRecorder ¶
type MockIStreamPaginatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIStreamPaginatorMockRecorder is the mock recorder for MockIStreamPaginator.
func (*MockIStreamPaginatorMockRecorder) Close ¶
func (mr *MockIStreamPaginatorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIStreamPaginatorMockRecorder) DryUp ¶
func (mr *MockIStreamPaginatorMockRecorder) DryUp() *gomock.Call
DryUp indicates an expected call of DryUp.
func (*MockIStreamPaginatorMockRecorder) GetCurrentPage ¶
func (mr *MockIStreamPaginatorMockRecorder) GetCurrentPage() *gomock.Call
GetCurrentPage indicates an expected call of GetCurrentPage.
func (*MockIStreamPaginatorMockRecorder) GetNext ¶
func (mr *MockIStreamPaginatorMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext.
func (*MockIStreamPaginatorMockRecorder) HasNext ¶
func (mr *MockIStreamPaginatorMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext.
func (*MockIStreamPaginatorMockRecorder) IsRunningDry ¶
func (mr *MockIStreamPaginatorMockRecorder) IsRunningDry() *gomock.Call
IsRunningDry indicates an expected call of IsRunningDry.
func (*MockIStreamPaginatorMockRecorder) Stop ¶
func (mr *MockIStreamPaginatorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.