mocks

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexClient

type IndexClient struct {
	mock.Mock
}

IndexClient is an autogenerated mock type for the IndexClient type

func NewIndexClient

func NewIndexClient(t mockConstructorTestingTNewIndexClient) *IndexClient

NewIndexClient creates a new instance of IndexClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IndexClient) Add

Add provides a mock function with given fields: ref, ri

func (*IndexClient) Delete

func (_m *IndexClient) Delete(id *providerv1beta1.ResourceId) error

Delete provides a mock function with given fields: id

func (*IndexClient) DocCount

func (_m *IndexClient) DocCount() (uint64, error)

DocCount provides a mock function with given fields:

func (*IndexClient) Move

func (_m *IndexClient) Move(id *providerv1beta1.ResourceId, parentID *providerv1beta1.ResourceId, fullPath string) error

Move provides a mock function with given fields: id, parentID, fullPath

func (*IndexClient) Purge

Purge provides a mock function with given fields: id

func (*IndexClient) Restore

func (_m *IndexClient) Restore(id *providerv1beta1.ResourceId) error

Restore provides a mock function with given fields: id

func (*IndexClient) Search

Search provides a mock function with given fields: ctx, req

type ProviderClient

type ProviderClient struct {
	mock.Mock
}

ProviderClient is an autogenerated mock type for the ProviderClient type

func NewProviderClient

func NewProviderClient(t mockConstructorTestingTNewProviderClient) *ProviderClient

NewProviderClient creates a new instance of ProviderClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProviderClient) IndexSpace

IndexSpace provides a mock function with given fields: ctx, req

func (*ProviderClient) Search

Search provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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