Documentation
¶
Index ¶
- type IndexClient
- func (_m *IndexClient) Add(ref *providerv1beta1.Reference, ri *providerv1beta1.ResourceInfo) error
- func (_m *IndexClient) Delete(id *providerv1beta1.ResourceId) error
- func (_m *IndexClient) DocCount() (uint64, error)
- func (_m *IndexClient) Move(id *providerv1beta1.ResourceId, parentID *providerv1beta1.ResourceId, ...) error
- func (_m *IndexClient) Purge(id *providerv1beta1.ResourceId) error
- func (_m *IndexClient) Restore(id *providerv1beta1.ResourceId) error
- func (_m *IndexClient) Search(ctx context.Context, req *v0.SearchIndexRequest) (*v0.SearchIndexResponse, error)
- type ProviderClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexClient ¶
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 ¶
func (_m *IndexClient) Add(ref *providerv1beta1.Reference, ri *providerv1beta1.ResourceInfo) error
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 ¶
func (_m *IndexClient) Purge(id *providerv1beta1.ResourceId) error
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 ¶
func (_m *IndexClient) Search(ctx context.Context, req *v0.SearchIndexRequest) (*v0.SearchIndexResponse, error)
Search provides a mock function with given fields: ctx, req
type ProviderClient ¶
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 ¶
func (_m *ProviderClient) IndexSpace(ctx context.Context, req *v0.IndexSpaceRequest) (*v0.IndexSpaceResponse, error)
IndexSpace provides a mock function with given fields: ctx, req
func (*ProviderClient) Search ¶
func (_m *ProviderClient) Search(ctx context.Context, req *v0.SearchRequest) (*v0.SearchResponse, error)
Search provides a mock function with given fields: ctx, req