mocks

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCmd

type MockCmd struct {
	// contains filtered or unexported fields
}

MockCmd is a mock of Cmd interface

func NewMockCmd

func NewMockCmd(ctrl *gomock.Controller) *MockCmd

NewMockCmd creates a new mock instance

func (*MockCmd) CombinedOutput

func (m *MockCmd) CombinedOutput() ([]byte, error)

CombinedOutput mocks base method

func (*MockCmd) EXPECT

func (m *MockCmd) EXPECT() *MockCmdMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCmd) Output

func (m *MockCmd) Output() ([]byte, error)

Output mocks base method

func (*MockCmd) ProcessWait

func (m *MockCmd) ProcessWait() error

ProcessWait mocks base method

func (*MockCmd) Run

func (m *MockCmd) Run() error

Run mocks base method

func (*MockCmd) SetStderr

func (m *MockCmd) SetStderr(writer io.Writer)

SetStderr mocks base method

func (*MockCmd) SetStdin

func (m *MockCmd) SetStdin(rdr io.Reader)

SetStdin mocks base method

func (*MockCmd) SetStdout

func (m *MockCmd) SetStdout(writer io.Writer)

SetStdout mocks base method

func (*MockCmd) Start

func (m *MockCmd) Start() error

Start mocks base method

func (*MockCmd) StderrPipe

func (m *MockCmd) StderrPipe() (io.ReadCloser, error)

StderrPipe mocks base method

func (*MockCmd) StdinPipe

func (m *MockCmd) StdinPipe() (io.WriteCloser, error)

StdinPipe mocks base method

func (*MockCmd) StdoutPipe

func (m *MockCmd) StdoutPipe() (io.ReadCloser, error)

StdoutPipe mocks base method

func (*MockCmd) Wait

func (m *MockCmd) Wait() error

Wait mocks base method

type MockCmdMockRecorder

type MockCmdMockRecorder struct {
	// contains filtered or unexported fields
}

MockCmdMockRecorder is the mock recorder for MockCmd

func (*MockCmdMockRecorder) CombinedOutput

func (mr *MockCmdMockRecorder) CombinedOutput() *gomock.Call

CombinedOutput indicates an expected call of CombinedOutput

func (*MockCmdMockRecorder) Output

func (mr *MockCmdMockRecorder) Output() *gomock.Call

Output indicates an expected call of Output

func (*MockCmdMockRecorder) ProcessWait

func (mr *MockCmdMockRecorder) ProcessWait() *gomock.Call

ProcessWait indicates an expected call of ProcessWait

func (*MockCmdMockRecorder) Run

func (mr *MockCmdMockRecorder) Run() *gomock.Call

Run indicates an expected call of Run

func (*MockCmdMockRecorder) SetStderr

func (mr *MockCmdMockRecorder) SetStderr(writer interface{}) *gomock.Call

SetStderr indicates an expected call of SetStderr

func (*MockCmdMockRecorder) SetStdin

func (mr *MockCmdMockRecorder) SetStdin(rdr interface{}) *gomock.Call

SetStdin indicates an expected call of SetStdin

func (*MockCmdMockRecorder) SetStdout

func (mr *MockCmdMockRecorder) SetStdout(writer interface{}) *gomock.Call

SetStdout indicates an expected call of SetStdout

func (*MockCmdMockRecorder) Start

func (mr *MockCmdMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockCmdMockRecorder) StderrPipe

func (mr *MockCmdMockRecorder) StderrPipe() *gomock.Call

StderrPipe indicates an expected call of StderrPipe

func (*MockCmdMockRecorder) StdinPipe

func (mr *MockCmdMockRecorder) StdinPipe() *gomock.Call

StdinPipe indicates an expected call of StdinPipe

func (*MockCmdMockRecorder) StdoutPipe

func (mr *MockCmdMockRecorder) StdoutPipe() *gomock.Call

StdoutPipe indicates an expected call of StdoutPipe

func (*MockCmdMockRecorder) Wait

func (mr *MockCmdMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

type MockDecoder

type MockDecoder struct {
	// contains filtered or unexported fields
}

MockDecoder is a mock of Decoder interface

func NewMockDecoder

func NewMockDecoder(ctrl *gomock.Controller) *MockDecoder

NewMockDecoder creates a new mock instance

func (*MockDecoder) DecodeMulti

func (m *MockDecoder) DecodeMulti(v ...interface{}) error

DecodeMulti mocks base method

func (*MockDecoder) EXPECT

func (m *MockDecoder) EXPECT() *MockDecoderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDecoder) Skip

func (m *MockDecoder) Skip() error

Skip mocks base method

type MockDecoderMockRecorder

type MockDecoderMockRecorder struct {
	// contains filtered or unexported fields
}

MockDecoderMockRecorder is the mock recorder for MockDecoder

func (*MockDecoderMockRecorder) DecodeMulti

func (mr *MockDecoderMockRecorder) DecodeMulti(v ...interface{}) *gomock.Call

DecodeMulti indicates an expected call of DecodeMulti

func (*MockDecoderMockRecorder) Skip

func (mr *MockDecoderMockRecorder) Skip() *gomock.Call

Skip indicates an expected call of Skip

type MockEncoder

type MockEncoder struct {
	// contains filtered or unexported fields
}

MockEncoder is a mock of Encoder interface

func NewMockEncoder

func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder

NewMockEncoder creates a new mock instance

func (*MockEncoder) EXPECT

func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEncoder) EncodeMulti

func (m *MockEncoder) EncodeMulti(v ...interface{}) error

EncodeMulti mocks base method

type MockEncoderMockRecorder

type MockEncoderMockRecorder struct {
	// contains filtered or unexported fields
}

MockEncoderMockRecorder is the mock recorder for MockEncoder

func (*MockEncoderMockRecorder) EncodeMulti

func (mr *MockEncoderMockRecorder) EncodeMulti(v ...interface{}) *gomock.Call

EncodeMulti indicates an expected call of EncodeMulti

Jump to

Keyboard shortcuts

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