hosting_mock

package
v4.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package hosting_mock is a generated GoMock package.

Package hosting_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHostingService

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

MockHostingService is a mock of HostingService interface.

func NewMockHostingService

func NewMockHostingService(ctrl *gomock.Controller) *MockHostingService

NewMockHostingService creates a new mock instance.

func (*MockHostingService) CreateRepository

CreateRepository mocks base method.

func (*MockHostingService) CreateRepositoryFromTemplate

CreateRepositoryFromTemplate mocks base method.

func (*MockHostingService) DeleteRepository

func (m *MockHostingService) DeleteRepository(arg0 context.Context, arg1 repository.Reference) error

DeleteRepository mocks base method.

func (*MockHostingService) EXPECT

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

func (*MockHostingService) ForkRepository

ForkRepository mocks base method.

func (*MockHostingService) GetRepository

func (m *MockHostingService) GetRepository(arg0 context.Context, arg1 repository.Reference) (*hosting.Repository, error)

GetRepository mocks base method.

func (*MockHostingService) GetTokenFor

func (m *MockHostingService) GetTokenFor(ctx context.Context, host, owner string) (string, auth.Token, error)

GetTokenFor mocks base method.

func (*MockHostingService) GetURLOf

func (m *MockHostingService) GetURLOf(ref repository.Reference) (*url.URL, error)

GetURLOf mocks base method.

func (*MockHostingService) ListRepository

ListRepository mocks base method.

func (*MockHostingService) ParseURL

func (m *MockHostingService) ParseURL(u *url.URL) (*repository.Reference, error)

ParseURL mocks base method.

type MockHostingServiceMockRecorder

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

MockHostingServiceMockRecorder is the mock recorder for MockHostingService.

func (*MockHostingServiceMockRecorder) CreateRepository

func (mr *MockHostingServiceMockRecorder) CreateRepository(ctx, ref, opts any) *gomock.Call

CreateRepository indicates an expected call of CreateRepository.

func (*MockHostingServiceMockRecorder) CreateRepositoryFromTemplate

func (mr *MockHostingServiceMockRecorder) CreateRepositoryFromTemplate(ctx, ref, tmp, opts any) *gomock.Call

CreateRepositoryFromTemplate indicates an expected call of CreateRepositoryFromTemplate.

func (*MockHostingServiceMockRecorder) DeleteRepository

func (mr *MockHostingServiceMockRecorder) DeleteRepository(arg0, arg1 any) *gomock.Call

DeleteRepository indicates an expected call of DeleteRepository.

func (*MockHostingServiceMockRecorder) ForkRepository

func (mr *MockHostingServiceMockRecorder) ForkRepository(ctx, ref, target, opts any) *gomock.Call

ForkRepository indicates an expected call of ForkRepository.

func (*MockHostingServiceMockRecorder) GetRepository

func (mr *MockHostingServiceMockRecorder) GetRepository(arg0, arg1 any) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockHostingServiceMockRecorder) GetTokenFor

func (mr *MockHostingServiceMockRecorder) GetTokenFor(ctx, host, owner any) *gomock.Call

GetTokenFor indicates an expected call of GetTokenFor.

func (*MockHostingServiceMockRecorder) GetURLOf

func (mr *MockHostingServiceMockRecorder) GetURLOf(ref any) *gomock.Call

GetURLOf indicates an expected call of GetURLOf.

func (*MockHostingServiceMockRecorder) ListRepository

func (mr *MockHostingServiceMockRecorder) ListRepository(arg0, arg1 any) *gomock.Call

ListRepository indicates an expected call of ListRepository.

func (*MockHostingServiceMockRecorder) ParseURL

func (mr *MockHostingServiceMockRecorder) ParseURL(u any) *gomock.Call

ParseURL indicates an expected call of ParseURL.

type MockRepositoryFormat

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

MockRepositoryFormat is a mock of RepositoryFormat interface.

func NewMockRepositoryFormat

func NewMockRepositoryFormat(ctrl *gomock.Controller) *MockRepositoryFormat

NewMockRepositoryFormat creates a new mock instance.

func (*MockRepositoryFormat) EXPECT

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

func (*MockRepositoryFormat) Format

Format mocks base method.

type MockRepositoryFormatMockRecorder

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

MockRepositoryFormatMockRecorder is the mock recorder for MockRepositoryFormat.

func (*MockRepositoryFormatMockRecorder) Format

Format indicates an expected call of Format.

Jump to

Keyboard shortcuts

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