mock

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: GPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	// contains filtered or unexported fields
}

func NewGitRepo

func NewGitRepo(dir string) Git

func (Git) Chdir

func (git Git) Chdir(newdir string)

func (Git) Command

func (git Git) Command(arg ...string) *exec.Cmd

func (Git) Commit

func (git Git) Commit(message string) error

func (Git) Config

func (git Git) Config(key, value string) error

func (Git) GetConfig

func (git Git) GetConfig(key string) string

func (Git) Init

func (git Git) Init() error

func (Git) InitBare

func (git Git) InitBare() error

func (Git) Output

func (git Git) Output(arg ...string) (string, error)

func (Git) Run

func (git Git) Run(arg ...string) error

type SSHServer

type SSHServer struct {
	// contains filtered or unexported fields
}

func NewSSHServer

func NewSSHServer(repoRoot string) *SSHServer

func (*SSHServer) Accept

func (s *SSHServer) Accept(listener net.Listener)

func (*SSHServer) Close

func (s *SSHServer) Close() error

func (*SSHServer) Wait

func (s *SSHServer) Wait(waitChan chan error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL