Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIface
- func (m *MockIface) Deploy(ctx context.Context, src, dst string) error
- func (m *MockIface) EXPECT() *MockIfaceMockRecorder
- func (m *MockIface) Exec(ctx context.Context, basedir, command string) (bytes.Buffer, bytes.Buffer, error)
- func (m *MockIface) Execf(ctx context.Context, basedir, command string, a ...interface{}) (bytes.Buffer, bytes.Buffer, error)
- func (m *MockIface) Host() string
- type MockIfaceMockRecorder
- func (mr *MockIfaceMockRecorder) Deploy(ctx, src, dst interface{}) *gomock.Call
- func (mr *MockIfaceMockRecorder) Exec(ctx, basedir, command interface{}) *gomock.Call
- func (mr *MockIfaceMockRecorder) Execf(ctx, basedir, command interface{}, a ...interface{}) *gomock.Call
- func (mr *MockIfaceMockRecorder) Host() *gomock.Call
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) 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.
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.
Click to show internal directories.
Click to hide internal directories.