fake

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Index

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) Active

func (m *MockInstance) Active() bool

Active mocks base method

func (*MockInstance) Command

func (m *MockInstance) Command() string

Command mocks base method

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) EXPECT

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) Key

func (m *MockInstance) Key() store.Key

Key mocks base method

func (*MockInstance) PTY

func (m *MockInstance) PTY() terminal.PTY

PTY 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) Stop

func (m *MockInstance) Stop()

Stop 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) ExitMessage

func (mr *MockInstanceMockRecorder) ExitMessage() *gomock.Call

ExitMessage indicates an expected call of ExitMessage

func (*MockInstanceMockRecorder) Key

Key indicates an expected call of Key

func (*MockInstanceMockRecorder) PTY

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) 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

func (*MockPTY) Next

func (m *MockPTY) Next() *remotecommand.TerminalSize

Next mocks base method

func (*MockPTY) Read

func (m *MockPTY) Read(p []byte) (int, error)

Read mocks base method

func (*MockPTY) Write

func (m *MockPTY) Write(p []byte) (int, error)

Write mocks base method

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

Jump to

Keyboard shortcuts

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