package fakegit

import "github.com/docker/cli/components/engine/integration-cli/cli/build/fakegit"

Index

Types

type FakeGit

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

FakeGit is a fake git server

func New

func New(c testingT, 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

func (g *FakeGit) Close()

Close closes the server, implements Closer interface

Source Files

fakegit.go

Version
v17.11.0-ce+incompatible
Published
Nov 20, 2017
Platform
js/wasm
Imports
10 packages
Last checked
4 hours ago

Tools for package owners.