Documentation
¶
Overview ¶
Package mock_fetcher is a generated GoMock package.
Index ¶
- type MockFetcher
- func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
- func (m *MockFetcher) GVRForPromise(ctx context.Context, promiseName string) (*schema.GroupVersionResource, error)
- func (m *MockFetcher) GetKratixGVRs(ctx context.Context) ([]schema.GroupVersionResource, error)
- func (m *MockFetcher) GetRequests(ctx context.Context, gvr *schema.GroupVersionResource, ...) (*unstructured.UnstructuredList, error)
- type MockFetcherMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.