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.12.1-ce+incompatible
Published
Feb 27, 2018
Platform
linux/amd64
Imports
10 packages
Last checked
10 minutes ago

Tools for package owners.