mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock 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) GetItems

func (m *MockFetcher) GetItems(userOrFile string) ([]*entity.Item, error)

GetItems mocks base method.

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) GetItems

func (mr *MockFetcherMockRecorder) GetItems(userOrFile interface{}) *gomock.Call

GetItems indicates an expected call of GetItems.

type MockGithubConnector

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

MockGithubConnector is a mock of GithubConnector interface.

func NewMockGithubConnector

func NewMockGithubConnector(ctrl *gomock.Controller) *MockGithubConnector

NewMockGithubConnector creates a new mock instance.

func (*MockGithubConnector) EXPECT

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

func (*MockGithubConnector) ListStarred

ListStarred mocks base method.

type MockGithubConnectorMockRecorder

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

MockGithubConnectorMockRecorder is the mock recorder for MockGithubConnector.

func (*MockGithubConnectorMockRecorder) ListStarred

func (mr *MockGithubConnectorMockRecorder) ListStarred(ctx, user, opts interface{}) *gomock.Call

ListStarred indicates an expected call of ListStarred.

Jump to

Keyboard shortcuts

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