InstanceShell provides a mock function with given fields: id, rw, opts
(id string, rw io.ReadWriter, opts structs.InstanceShellOptions)
| 805 | |
| 806 | // InstanceShell provides a mock function with given fields: id, rw, opts |
| 807 | func (_m *Interface) InstanceShell(id string, rw io.ReadWriter, opts structs.InstanceShellOptions) (int, error) { |
| 808 | ret := _m.Called(id, rw, opts) |
| 809 | |
| 810 | var r0 int |
| 811 | if rf, ok := ret.Get(0).(func(string, io.ReadWriter, structs.InstanceShellOptions) int); ok { |
| 812 | r0 = rf(id, rw, opts) |
| 813 | } else { |
| 814 | r0 = ret.Get(0).(int) |
| 815 | } |
| 816 | |
| 817 | var r1 error |
| 818 | if rf, ok := ret.Get(1).(func(string, io.ReadWriter, structs.InstanceShellOptions) error); ok { |
| 819 | r1 = rf(id, rw, opts) |
| 820 | } else { |
| 821 | r1 = ret.Error(1) |
| 822 | } |
| 823 | |
| 824 | return r0, r1 |
| 825 | } |
| 826 | |
| 827 | // InstanceShellClassic provides a mock function with given fields: _a0, _a1, _a2 |
| 828 | func (_m *Interface) InstanceShellClassic(_a0 string, _a1 io.ReadWriter, _a2 structs.InstanceShellOptions) (int, error) { |