docker: github.com/docker/docker/testutil/fakegit Index | Files

package fakegit

import "github.com/docker/docker/testutil/fakegit"

Index

Package Files

fakegit.go

type FakeGit Uses

type FakeGit struct {
    RepoURL string
    // contains filtered or unexported fields
}

FakeGit is a fake git server

func New Uses

func New(c testing.TB, name string, files map[string]string, enforceLocalServer bool) *FakeGit

New create a fake git server that can be used for git related tests

func (*FakeGit) Close Uses

func (g *FakeGit) Close()

Close closes the server, implements Closer interface

Package fakegit imports 10 packages (graph). Updated 2019-10-15. Refresh now. Tools for package owners.