Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockExecutor
- type MockExecutorMockRecorder
- type MockExecutorStreamCall
- type MockExecutorStreamWithContextCall
- func (c *MockExecutorStreamWithContextCall) Do(f func(context.Context, remotecommand.StreamOptions) error) *MockExecutorStreamWithContextCall
- func (c *MockExecutorStreamWithContextCall) DoAndReturn(f func(context.Context, remotecommand.StreamOptions) error) *MockExecutorStreamWithContextCall
- func (c *MockExecutorStreamWithContextCall) Return(arg0 error) *MockExecutorStreamWithContextCall
- type MockSizeGetter
- type MockSizeGetterGetCall
- func (c *MockSizeGetterGetCall) Do(f func(int) *remotecommand.TerminalSize) *MockSizeGetterGetCall
- func (c *MockSizeGetterGetCall) DoAndReturn(f func(int) *remotecommand.TerminalSize) *MockSizeGetterGetCall
- func (c *MockSizeGetterGetCall) Return(arg0 *remotecommand.TerminalSize) *MockSizeGetterGetCall
- type MockSizeGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface.
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance.
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutor) Stream ¶
func (m *MockExecutor) Stream(arg0 remotecommand.StreamOptions) error
Stream mocks base method.
func (*MockExecutor) StreamWithContext ¶
func (m *MockExecutor) StreamWithContext(arg0 context.Context, arg1 remotecommand.StreamOptions) error
StreamWithContext mocks base method.
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) Stream ¶
func (mr *MockExecutorMockRecorder) Stream(arg0 any) *MockExecutorStreamCall
Stream indicates an expected call of Stream.
func (*MockExecutorMockRecorder) StreamWithContext ¶
func (mr *MockExecutorMockRecorder) StreamWithContext(arg0, arg1 any) *MockExecutorStreamWithContextCall
StreamWithContext indicates an expected call of StreamWithContext.
type MockExecutorStreamCall ¶
MockExecutorStreamCall wrap *gomock.Call
func (*MockExecutorStreamCall) Do ¶
func (c *MockExecutorStreamCall) Do(f func(remotecommand.StreamOptions) error) *MockExecutorStreamCall
Do rewrite *gomock.Call.Do
func (*MockExecutorStreamCall) DoAndReturn ¶
func (c *MockExecutorStreamCall) DoAndReturn(f func(remotecommand.StreamOptions) error) *MockExecutorStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExecutorStreamCall) Return ¶
func (c *MockExecutorStreamCall) Return(arg0 error) *MockExecutorStreamCall
Return rewrite *gomock.Call.Return
type MockExecutorStreamWithContextCall ¶
MockExecutorStreamWithContextCall wrap *gomock.Call
func (*MockExecutorStreamWithContextCall) Do ¶
func (c *MockExecutorStreamWithContextCall) Do(f func(context.Context, remotecommand.StreamOptions) error) *MockExecutorStreamWithContextCall
Do rewrite *gomock.Call.Do
func (*MockExecutorStreamWithContextCall) DoAndReturn ¶
func (c *MockExecutorStreamWithContextCall) DoAndReturn(f func(context.Context, remotecommand.StreamOptions) error) *MockExecutorStreamWithContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExecutorStreamWithContextCall) Return ¶
func (c *MockExecutorStreamWithContextCall) Return(arg0 error) *MockExecutorStreamWithContextCall
Return rewrite *gomock.Call.Return
type MockSizeGetter ¶
type MockSizeGetter struct {
// contains filtered or unexported fields
}
MockSizeGetter is a mock of SizeGetter interface.
func NewMockSizeGetter ¶
func NewMockSizeGetter(ctrl *gomock.Controller) *MockSizeGetter
NewMockSizeGetter creates a new mock instance.
func (*MockSizeGetter) EXPECT ¶
func (m *MockSizeGetter) EXPECT() *MockSizeGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSizeGetter) Get ¶
func (m *MockSizeGetter) Get(arg0 int) *remotecommand.TerminalSize
Get mocks base method.
type MockSizeGetterGetCall ¶
MockSizeGetterGetCall wrap *gomock.Call
func (*MockSizeGetterGetCall) Do ¶
func (c *MockSizeGetterGetCall) Do(f func(int) *remotecommand.TerminalSize) *MockSizeGetterGetCall
Do rewrite *gomock.Call.Do
func (*MockSizeGetterGetCall) DoAndReturn ¶
func (c *MockSizeGetterGetCall) DoAndReturn(f func(int) *remotecommand.TerminalSize) *MockSizeGetterGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSizeGetterGetCall) Return ¶
func (c *MockSizeGetterGetCall) Return(arg0 *remotecommand.TerminalSize) *MockSizeGetterGetCall
Return rewrite *gomock.Call.Return
type MockSizeGetterMockRecorder ¶
type MockSizeGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockSizeGetterMockRecorder is the mock recorder for MockSizeGetter.
func (*MockSizeGetterMockRecorder) Get ¶
func (mr *MockSizeGetterMockRecorder) Get(arg0 any) *MockSizeGetterGetCall
Get indicates an expected call of Get.