Documentation ¶
Overview ¶
Package repositorytest provides a fake repository manager for use in tests.
Users can use the fake manager by just importing this package, setting the "repo-manager" setting to "fake" and interacting with the manager.
This package also includes some helper functions that allow to interact with the unexported state of the fake manager, allowing users of the package to reset the manager or retrieve the list of registered users, for example.
Index ¶
Constants ¶
View Source
const Diff = "fake-diff"
Diff is the diff returned by the Diff method.
View Source
const ServerHost = "git.tsuru.io"
ServerHost is the name of the host that is used in the Git URLs in all repositories managed by the fake manager.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.