mocks

package
v1.171.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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

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.

func (*MockIIterator) HasNext

func (m *MockIIterator) HasNext() bool

HasNext 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

func (m *MockIPage) GetItemCount() (int64, error)

GetItemCount mocks base method.

func (*MockIPage) GetItemIterator

func (m *MockIPage) GetItemIterator() (pagination.IIterator, error)

GetItemIterator mocks base method.

func (*MockIPage) GetNext

func (m *MockIPage) GetNext(ctx context.Context) (pagination.IPage, error)

GetNext mocks base method.

func (*MockIPage) HasNext

func (m *MockIPage) HasNext() bool

HasNext 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) Close

func (m *MockIPaginator) Close() error

Close mocks base method.

func (*MockIPaginator) EXPECT

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) HasNext

func (m *MockIPaginator) HasNext() bool

HasNext 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

Close mocks base method.

func (*MockIPaginatorAndPageFetcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIPaginatorAndPageFetcher) FetchNextPage

FetchNextPage mocks base method.

func (*MockIPaginatorAndPageFetcher) GetCurrentPage

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

Stop mocks base method.

type MockIPaginatorAndPageFetcherMockRecorder

type MockIPaginatorAndPageFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockIPaginatorAndPageFetcherMockRecorder is the mock recorder for MockIPaginatorAndPageFetcher.

func (*MockIPaginatorAndPageFetcherMockRecorder) Close

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

GetCurrentPage indicates an expected call of GetCurrentPage.

func (*MockIPaginatorAndPageFetcherMockRecorder) GetNext

GetNext indicates an expected call of GetNext.

func (*MockIPaginatorAndPageFetcherMockRecorder) HasNext

HasNext indicates an expected call of HasNext.

func (*MockIPaginatorAndPageFetcherMockRecorder) Stop

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

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]) Clear

func (m *MockIStack[T]) Clear()

Clear mocks base method.

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]) IsEmpty

func (m *MockIStack[T]) IsEmpty() bool

IsEmpty mocks base method.

func (*MockIStack[T]) Len

func (m *MockIStack[T]) Len() int

Len mocks base method.

func (*MockIStack[T]) Peek

func (m *MockIStack[T]) Peek() (T, bool)

Peek mocks base method.

func (*MockIStack[T]) Pop

func (m *MockIStack[T]) Pop() (T, bool)

Pop mocks base method.

func (*MockIStack[T]) Push

func (m *MockIStack[T]) Push(value ...T)

Push mocks base method.

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

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

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

HasFuture indicates an expected call of HasFuture.

func (*MockIStaticPageStreamMockRecorder) HasNext

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.

func (*MockIStream) HasFuture

func (m *MockIStream) HasFuture() bool

HasFuture mocks base method.

func (*MockIStream) HasNext

func (m *MockIStream) HasNext() bool

HasNext 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

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

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

Close mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) DryUp

DryUp mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIStreamPaginatorAndPageFetcher) FetchFuturePage

FetchFuturePage mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) FetchNextPage

FetchNextPage mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) GetCurrentPage

GetCurrentPage mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) GetNext

GetNext mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) HasNext

HasNext mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) IsRunningDry

func (m *MockIStreamPaginatorAndPageFetcher) IsRunningDry() bool

IsRunningDry mocks base method.

func (*MockIStreamPaginatorAndPageFetcher) Stop

Stop mocks base method.

type MockIStreamPaginatorAndPageFetcherMockRecorder

type MockIStreamPaginatorAndPageFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockIStreamPaginatorAndPageFetcherMockRecorder is the mock recorder for MockIStreamPaginatorAndPageFetcher.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) DryUp

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

GetCurrentPage indicates an expected call of GetCurrentPage.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) GetNext

GetNext indicates an expected call of GetNext.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) HasNext

HasNext indicates an expected call of HasNext.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) IsRunningDry

IsRunningDry indicates an expected call of IsRunningDry.

func (*MockIStreamPaginatorAndPageFetcherMockRecorder) Stop

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

Close indicates an expected call of Close.

func (*MockIStreamPaginatorMockRecorder) DryUp

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

GetNext indicates an expected call of GetNext.

func (*MockIStreamPaginatorMockRecorder) HasNext

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

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL