mirror of https://github.com/docker/compose.git
94 lines
2.7 KiB
Go
94 lines
2.7 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/docker/compose-cli/prompt (interfaces: UI)
|
|
|
|
// Package prompt is a generated GoMock package.
|
|
package prompt
|
|
|
|
import (
|
|
gomock "github.com/golang/mock/gomock"
|
|
reflect "reflect"
|
|
)
|
|
|
|
// MockUI is a mock of UI interface
|
|
type MockUI struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockUIMockRecorder
|
|
}
|
|
|
|
// MockUIMockRecorder is the mock recorder for MockUI
|
|
type MockUIMockRecorder struct {
|
|
mock *MockUI
|
|
}
|
|
|
|
// NewMockUI creates a new mock instance
|
|
func NewMockUI(ctrl *gomock.Controller) *MockUI {
|
|
mock := &MockUI{ctrl: ctrl}
|
|
mock.recorder = &MockUIMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
func (m *MockUI) EXPECT() *MockUIMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Confirm mocks base method
|
|
func (m *MockUI) Confirm(arg0 string, arg1 bool) (bool, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Confirm", arg0, arg1)
|
|
ret0, _ := ret[0].(bool)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// Confirm indicates an expected call of Confirm
|
|
func (mr *MockUIMockRecorder) Confirm(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Confirm", reflect.TypeOf((*MockUI)(nil).Confirm), arg0, arg1)
|
|
}
|
|
|
|
// Input mocks base method
|
|
func (m *MockUI) Input(arg0, arg1 string) (string, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Input", arg0, arg1)
|
|
ret0, _ := ret[0].(string)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// Input indicates an expected call of Input
|
|
func (mr *MockUIMockRecorder) Input(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Input", reflect.TypeOf((*MockUI)(nil).Input), arg0, arg1)
|
|
}
|
|
|
|
// Password mocks base method
|
|
func (m *MockUI) Password(arg0 string) (string, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Password", arg0)
|
|
ret0, _ := ret[0].(string)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// Password indicates an expected call of Password
|
|
func (mr *MockUIMockRecorder) Password(arg0 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Password", reflect.TypeOf((*MockUI)(nil).Password), arg0)
|
|
}
|
|
|
|
// Select mocks base method
|
|
func (m *MockUI) Select(arg0 string, arg1 []string) (int, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Select", arg0, arg1)
|
|
ret0, _ := ret[0].(int)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// Select indicates an expected call of Select
|
|
func (mr *MockUIMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Select", reflect.TypeOf((*MockUI)(nil).Select), arg0, arg1)
|
|
}
|