mock_github

package
v0.0.0-...-d17a72a Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_github is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) FetchAttribute

func (m *MockClient) FetchAttribute(ctx context.Context, url string) (map[string]int64, error)

FetchAttribute mocks base method.

func (*MockClient) ListPublicEvents

func (m *MockClient) ListPublicEvents(ctx context.Context, limit, offset int) ([]github.Event, error)

ListPublicEvents mocks base method.

func (*MockClient) ListPublicRepos

func (m *MockClient) ListPublicRepos(ctx context.Context, since int64) ([]github.Repository, error)

ListPublicRepos mocks base method.

func (*MockClient) SetAccessToken

func (m *MockClient) SetAccessToken(ctx context.Context) (github.Token, error)

SetAccessToken mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) FetchAttribute

func (mr *MockClientMockRecorder) FetchAttribute(ctx, url any) *gomock.Call

FetchAttribute indicates an expected call of FetchAttribute.

func (*MockClientMockRecorder) ListPublicEvents

func (mr *MockClientMockRecorder) ListPublicEvents(ctx, limit, offset any) *gomock.Call

ListPublicEvents indicates an expected call of ListPublicEvents.

func (*MockClientMockRecorder) ListPublicRepos

func (mr *MockClientMockRecorder) ListPublicRepos(ctx, since any) *gomock.Call

ListPublicRepos indicates an expected call of ListPublicRepos.

func (*MockClientMockRecorder) SetAccessToken

func (mr *MockClientMockRecorder) SetAccessToken(ctx any) *gomock.Call

SetAccessToken indicates an expected call of SetAccessToken.

Jump to

Keyboard shortcuts

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