Documentation
¶
Index ¶
- type HandlerInterface
- func (_m *HandlerInterface) DoRequest(httpRequestItem request.HTTPRequestItem) ([]byte, error)
- func (_m *HandlerInterface) ListRepoByPage(page int, pageSize int, user string, password string, schema string, ...) ([]byte, error)
- func (_m *HandlerInterface) ProjectCount(user string, password string, schema string, address string, ...) ([]byte, error)
- func (_m *HandlerInterface) ProjectsByPage(page int, pageSize int, logger *logrus.Logger, schema string, address string, ...) ([]byte, error)
- func (_m *HandlerInterface) RepoCount(user string, password string, schema string, address string, projectId int, ...) ([]byte, error)
- func (_m *HandlerInterface) TagsNumWithRepo(user string, password string, schema string, address string, ...) ([]byte, error)
- func (_m *HandlerInterface) TagsWithinRepoByPage(page int, pageSize int, schema string, address string, projectName string, ...) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerInterface ¶
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