mocks

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerInterface

type HandlerInterface struct {
	mock.Mock
}

HandlerInterface is an autogenerated mock type for the HandlerInterface type

func (*HandlerInterface) DoRequest

func (_m *HandlerInterface) DoRequest(httpRequestItem request.HTTPRequestItem) ([]byte, error)

DoRequest provides a mock function with given fields: httpRequestItem

func (*HandlerInterface) ListRepoByPage

func (_m *HandlerInterface) ListRepoByPage(page int, pageSize int, user string, password string, schema string, address string, projectName string, timeout time.Duration) ([]byte, error)

ListRepoByPage provides a mock function with given fields: page, pageSize, user, password, schema, address, projectName, timeout

func (*HandlerInterface) ProjectCount

func (_m *HandlerInterface) ProjectCount(user string, password string, schema string, address string, timeout time.Duration) ([]byte, error)

ProjectCount provides a mock function with given fields: user, password, schema, address, timeout

func (*HandlerInterface) ProjectsByPage

func (_m *HandlerInterface) ProjectsByPage(page int, pageSize int, logger *logrus.Logger, schema string, address string, user string, password string, timeout time.Duration) ([]byte, error)

ProjectsByPage provides a mock function with given fields: page, pageSize, logger, schema, address, user, password, timeout

func (*HandlerInterface) RepoCount

func (_m *HandlerInterface) RepoCount(user string, password string, schema string, address string, projectId int, timeout time.Duration) ([]byte, error)

RepoCount provides a mock function with given fields: user, password, schema, address, projectId, timeout

func (*HandlerInterface) TagsNumWithRepo

func (_m *HandlerInterface) TagsNumWithRepo(user string, password string, schema string, address string, projectName string, repoName string, timeout time.Duration) ([]byte, error)

TagsNumWithRepo provides a mock function with given fields: user, password, schema, address, projectName, repoName, timeout

func (*HandlerInterface) TagsWithinRepoByPage

func (_m *HandlerInterface) TagsWithinRepoByPage(page int, pageSize int, schema string, address string, projectName string, repoName string, user string, password string, timeout time.Duration) ([]byte, error)

TagsWithinRepoByPage provides a mock function with given fields: page, pageSize, schema, address, projectName, repoName, user, password, timeout

Jump to

Keyboard shortcuts

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