mock_fetcher

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_fetcher is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

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

MockFetcher is a mock of Fetcher interface.

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance.

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

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

func (*MockFetcher) GVRForPromise

func (m *MockFetcher) GVRForPromise(ctx context.Context, promiseName string) (*schema.GroupVersionResource, error)

GVRForPromise mocks base method.

func (*MockFetcher) GetKratixGVRs

func (m *MockFetcher) GetKratixGVRs(ctx context.Context) ([]schema.GroupVersionResource, error)

GetKratixGVRs mocks base method.

func (*MockFetcher) GetRequests

func (m *MockFetcher) GetRequests(ctx context.Context, gvr *schema.GroupVersionResource, promiseName, selector string) (*unstructured.UnstructuredList, error)

GetRequests mocks base method.

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) GVRForPromise

func (mr *MockFetcherMockRecorder) GVRForPromise(ctx, promiseName any) *gomock.Call

GVRForPromise indicates an expected call of GVRForPromise.

func (*MockFetcherMockRecorder) GetKratixGVRs

func (mr *MockFetcherMockRecorder) GetKratixGVRs(ctx any) *gomock.Call

GetKratixGVRs indicates an expected call of GetKratixGVRs.

func (*MockFetcherMockRecorder) GetRequests

func (mr *MockFetcherMockRecorder) GetRequests(ctx, gvr, promiseName, selector any) *gomock.Call

GetRequests indicates an expected call of GetRequests.

Jump to

Keyboard shortcuts

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