Documentation ¶
Index ¶
- Constants
- func AssertCommitsPersisted(t *testing.T, db objects.Store, commits [][]byte)
- func AssertResp(t *testing.T, resp *http.Response, statusCode int, message string)
- func CopyCommitsToNewStore(t *testing.T, src, dst objects.Store, commits [][]byte)
- func CreateRandomCommit(t *testing.T, db objects.Store, numCols, numRows int, parents [][]byte) ([]byte, *objects.Commit)
- func FetchObjects(t *testing.T, db objects.Store, rs ref.Store, advertised [][]byte, ...) [][]byte
- func Get(t *testing.T, path string) *http.Response
- func PostMultipartForm(t *testing.T, path string, value map[string][]string, ...) *http.Response
- func PushObjects(t *testing.T, db objects.Store, rs ref.Store, ...) map[string]*payload.Update
- func ReceivePackConfig(denyNonFastForwards, denyDeletes bool) *conf.Config
- func RegisterHandler(method, path string, handler http.Handler)
- func RegisterHandlerWithOrigin(origin, method, path string, handler http.Handler)
Constants ¶
View Source
const (
TestOrigin = "https://wrgl.test"
)
Variables ¶
This section is empty.
Functions ¶
func AssertCommitsPersisted ¶
func AssertResp ¶
func CopyCommitsToNewStore ¶
func CreateRandomCommit ¶
func FetchObjects ¶
func PostMultipartForm ¶
func PushObjects ¶
func ReceivePackConfig ¶
func RegisterHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.