mock

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIface

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

MockIface is a mock of Iface interface.

func NewMockIface

func NewMockIface(ctrl *gomock.Controller) *MockIface

NewMockIface creates a new mock instance.

func (*MockIface) Deploy

func (m *MockIface) Deploy(ctx context.Context, src, dst string) error

Deploy mocks base method.

func (*MockIface) EXPECT

func (m *MockIface) EXPECT() *MockIfaceMockRecorder

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

func (*MockIface) Exec

func (m *MockIface) Exec(ctx context.Context, basedir, command string) (bytes.Buffer, bytes.Buffer, error)

Exec mocks base method.

func (*MockIface) Execf

func (m *MockIface) Execf(ctx context.Context, basedir, command string, a ...interface{}) (bytes.Buffer, bytes.Buffer, error)

Execf mocks base method.

func (*MockIface) Host

func (m *MockIface) Host() string

Host mocks base method.

type MockIfaceMockRecorder

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

MockIfaceMockRecorder is the mock recorder for MockIface.

func (*MockIfaceMockRecorder) Deploy

func (mr *MockIfaceMockRecorder) Deploy(ctx, src, dst interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockIfaceMockRecorder) Exec

func (mr *MockIfaceMockRecorder) Exec(ctx, basedir, command interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockIfaceMockRecorder) Execf

func (mr *MockIfaceMockRecorder) Execf(ctx, basedir, command interface{}, a ...interface{}) *gomock.Call

Execf indicates an expected call of Execf.

func (*MockIfaceMockRecorder) Host

func (mr *MockIfaceMockRecorder) Host() *gomock.Call

Host indicates an expected call of Host.

Jump to

Keyboard shortcuts

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