sshagent

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package sshagent is a generated GoMock package.

Index

Constants

View Source
const (
	Dependency  = "sshagent"
	SockAddress = "/tmp/git-ssh-buildpack.sock"
)

Variables

This section is empty.

Functions

func Contribute

func Contribute(context build.Build, runner Runner) error

Types

type CmdRunner

type CmdRunner struct{}

func (CmdRunner) Run

func (nr CmdRunner) Run(stdout, stderr io.Writer, stdin io.Reader, command string, args ...string) error

type MockRunner

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

MockRunner is a mock of Runner interface

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRunner) Run

func (m *MockRunner) Run(stdout, stderr io.Writer, stdin io.Reader, command string, args ...string) error

Run mocks base method

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(stdout, stderr, stdin, command interface{}, args ...interface{}) *gomock.Call

Run indicates an expected call of Run

type Runner

type Runner interface {
	Run(stdout, stderr io.Writer, stdin io.Reader, command string, args ...string) error
}

Jump to

Keyboard shortcuts

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