Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockInstance
- func (m *MockInstance) Active() bool
- func (m *MockInstance) Command() string
- func (m *MockInstance) Container() string
- func (m *MockInstance) CreatedAt() time.Time
- func (m *MockInstance) DiscoveryClient() discovery.DiscoveryInterface
- func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
- func (m *MockInstance) ExitMessage() string
- func (m *MockInstance) Key() store.Key
- func (m *MockInstance) PTY() terminal.PTY
- func (m *MockInstance) Read(size int) ([]byte, error)
- func (m *MockInstance) ResetScrollback()
- func (m *MockInstance) Resize(cols, rows uint16)
- func (m *MockInstance) Scrollback() []byte
- func (m *MockInstance) SetExitMessage(arg0 string)
- func (m *MockInstance) Stop()
- func (m *MockInstance) StreamError() error
- func (m *MockInstance) Write(key []byte) error
- type MockInstanceMockRecorder
- func (mr *MockInstanceMockRecorder) Active() *gomock.Call
- func (mr *MockInstanceMockRecorder) Command() *gomock.Call
- func (mr *MockInstanceMockRecorder) Container() *gomock.Call
- func (mr *MockInstanceMockRecorder) CreatedAt() *gomock.Call
- func (mr *MockInstanceMockRecorder) DiscoveryClient() *gomock.Call
- func (mr *MockInstanceMockRecorder) ExitMessage() *gomock.Call
- func (mr *MockInstanceMockRecorder) Key() *gomock.Call
- func (mr *MockInstanceMockRecorder) PTY() *gomock.Call
- func (mr *MockInstanceMockRecorder) Read(size interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) ResetScrollback() *gomock.Call
- func (mr *MockInstanceMockRecorder) Resize(cols, rows interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) Scrollback() *gomock.Call
- func (mr *MockInstanceMockRecorder) SetExitMessage(arg0 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) Stop() *gomock.Call
- func (mr *MockInstanceMockRecorder) StreamError() *gomock.Call
- func (mr *MockInstanceMockRecorder) Write(key interface{}) *gomock.Call
- type MockPTY
- type MockPTYMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstance ¶
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) Container ¶
func (m *MockInstance) Container() string
Container mocks base method.
func (*MockInstance) CreatedAt ¶
func (m *MockInstance) CreatedAt() time.Time
CreatedAt mocks base method.
func (*MockInstance) DiscoveryClient ¶ added in v0.17.0
func (m *MockInstance) DiscoveryClient() discovery.DiscoveryInterface
DiscoveryClient mocks base method.
func (*MockInstance) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) ExitMessage ¶
func (m *MockInstance) ExitMessage() string
ExitMessage mocks base method.
func (*MockInstance) Read ¶
func (m *MockInstance) Read(size int) ([]byte, error)
Read mocks base method.
func (*MockInstance) ResetScrollback ¶ added in v0.11.0
func (m *MockInstance) ResetScrollback()
ResetScrollback mocks base method.
func (*MockInstance) Resize ¶
func (m *MockInstance) Resize(cols, rows uint16)
Resize mocks base method.
func (*MockInstance) Scrollback ¶
func (m *MockInstance) Scrollback() []byte
Scrollback mocks base method.
func (*MockInstance) SetExitMessage ¶
func (m *MockInstance) SetExitMessage(arg0 string)
SetExitMessage mocks base method.
func (*MockInstance) StreamError ¶ added in v0.17.0
func (m *MockInstance) StreamError() error
StreamError mocks base method.
func (*MockInstance) Write ¶
func (m *MockInstance) Write(key []byte) error
Write mocks base method.
type MockInstanceMockRecorder ¶
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) Active ¶
func (mr *MockInstanceMockRecorder) Active() *gomock.Call
Active indicates an expected call of Active.
func (*MockInstanceMockRecorder) Command ¶
func (mr *MockInstanceMockRecorder) Command() *gomock.Call
Command indicates an expected call of Command.
func (*MockInstanceMockRecorder) Container ¶
func (mr *MockInstanceMockRecorder) Container() *gomock.Call
Container indicates an expected call of Container.
func (*MockInstanceMockRecorder) CreatedAt ¶
func (mr *MockInstanceMockRecorder) CreatedAt() *gomock.Call
CreatedAt indicates an expected call of CreatedAt.
func (*MockInstanceMockRecorder) DiscoveryClient ¶ added in v0.17.0
func (mr *MockInstanceMockRecorder) DiscoveryClient() *gomock.Call
DiscoveryClient indicates an expected call of DiscoveryClient.
func (*MockInstanceMockRecorder) ExitMessage ¶
func (mr *MockInstanceMockRecorder) ExitMessage() *gomock.Call
ExitMessage indicates an expected call of ExitMessage.
func (*MockInstanceMockRecorder) Key ¶
func (mr *MockInstanceMockRecorder) Key() *gomock.Call
Key indicates an expected call of Key.
func (*MockInstanceMockRecorder) PTY ¶
func (mr *MockInstanceMockRecorder) PTY() *gomock.Call
PTY indicates an expected call of PTY.
func (*MockInstanceMockRecorder) Read ¶
func (mr *MockInstanceMockRecorder) Read(size interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockInstanceMockRecorder) ResetScrollback ¶ added in v0.11.0
func (mr *MockInstanceMockRecorder) ResetScrollback() *gomock.Call
ResetScrollback indicates an expected call of ResetScrollback.
func (*MockInstanceMockRecorder) Resize ¶
func (mr *MockInstanceMockRecorder) Resize(cols, rows interface{}) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockInstanceMockRecorder) Scrollback ¶
func (mr *MockInstanceMockRecorder) Scrollback() *gomock.Call
Scrollback indicates an expected call of Scrollback.
func (*MockInstanceMockRecorder) SetExitMessage ¶
func (mr *MockInstanceMockRecorder) SetExitMessage(arg0 interface{}) *gomock.Call
SetExitMessage indicates an expected call of SetExitMessage.
func (*MockInstanceMockRecorder) Stop ¶
func (mr *MockInstanceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockInstanceMockRecorder) StreamError ¶ added in v0.17.0
func (mr *MockInstanceMockRecorder) StreamError() *gomock.Call
StreamError indicates an expected call of StreamError.
func (*MockInstanceMockRecorder) Write ¶
func (mr *MockInstanceMockRecorder) Write(key interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockPTY ¶
type MockPTY struct {
// contains filtered or unexported fields
}
MockPTY is a mock of PTY interface.
func NewMockPTY ¶
func NewMockPTY(ctrl *gomock.Controller) *MockPTY
NewMockPTY creates a new mock instance.
func (*MockPTY) EXPECT ¶
func (m *MockPTY) EXPECT() *MockPTYMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPTYMockRecorder ¶
type MockPTYMockRecorder struct {
// contains filtered or unexported fields
}
MockPTYMockRecorder is the mock recorder for MockPTY.
func (*MockPTYMockRecorder) Next ¶
func (mr *MockPTYMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockPTYMockRecorder) Read ¶
func (mr *MockPTYMockRecorder) Read(p interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockPTYMockRecorder) Write ¶
func (mr *MockPTYMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write.