Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEncoder
- func (m *MockEncoder) AddArray(arg0 string, arg1 zapcore.ArrayMarshaler) error
- func (m *MockEncoder) AddBinary(arg0 string, arg1 []byte)
- func (m *MockEncoder) AddBool(arg0 string, arg1 bool)
- func (m *MockEncoder) AddByteString(arg0 string, arg1 []byte)
- func (m *MockEncoder) AddComplex128(arg0 string, arg1 complex128)
- func (m *MockEncoder) AddComplex64(arg0 string, arg1 complex64)
- func (m *MockEncoder) AddDuration(arg0 string, arg1 time.Duration)
- func (m *MockEncoder) AddFloat32(arg0 string, arg1 float32)
- func (m *MockEncoder) AddFloat64(arg0 string, arg1 float64)
- func (m *MockEncoder) AddInt(arg0 string, arg1 int)
- func (m *MockEncoder) AddInt16(arg0 string, arg1 int16)
- func (m *MockEncoder) AddInt32(arg0 string, arg1 int32)
- func (m *MockEncoder) AddInt64(arg0 string, arg1 int64)
- func (m *MockEncoder) AddInt8(arg0 string, arg1 int8)
- func (m *MockEncoder) AddObject(arg0 string, arg1 zapcore.ObjectMarshaler) error
- func (m *MockEncoder) AddReflected(arg0 string, arg1 interface{}) error
- func (m *MockEncoder) AddString(arg0, arg1 string)
- func (m *MockEncoder) AddTime(arg0 string, arg1 time.Time)
- func (m *MockEncoder) AddUint(arg0 string, arg1 uint)
- func (m *MockEncoder) AddUint16(arg0 string, arg1 uint16)
- func (m *MockEncoder) AddUint32(arg0 string, arg1 uint32)
- func (m *MockEncoder) AddUint64(arg0 string, arg1 uint64)
- func (m *MockEncoder) AddUint8(arg0 string, arg1 byte)
- func (m *MockEncoder) AddUintptr(arg0 string, arg1 uintptr)
- func (m *MockEncoder) Clone() zapcore.Encoder
- func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder
- func (m *MockEncoder) EncodeEntry(arg0 zapcore.Entry, arg1 []zapcore.Field) (*buffer.Buffer, error)
- func (m *MockEncoder) OpenNamespace(arg0 string)
- type MockEncoderMockRecorder
- func (mr *MockEncoderMockRecorder) AddArray(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddBinary(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddBool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddByteString(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddComplex128(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddComplex64(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddDuration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddFloat32(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddFloat64(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddInt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddInt16(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddInt32(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddInt64(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddInt8(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddReflected(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddString(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUint16(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUint32(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUint64(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUint8(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) AddUintptr(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) Clone() *gomock.Call
- func (mr *MockEncoderMockRecorder) EncodeEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEncoderMockRecorder) OpenNamespace(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) AddArray ¶
func (m *MockEncoder) AddArray(arg0 string, arg1 zapcore.ArrayMarshaler) error
AddArray mocks base method.
func (*MockEncoder) AddBinary ¶
func (m *MockEncoder) AddBinary(arg0 string, arg1 []byte)
AddBinary mocks base method.
func (*MockEncoder) AddBool ¶
func (m *MockEncoder) AddBool(arg0 string, arg1 bool)
AddBool mocks base method.
func (*MockEncoder) AddByteString ¶
func (m *MockEncoder) AddByteString(arg0 string, arg1 []byte)
AddByteString mocks base method.
func (*MockEncoder) AddComplex128 ¶
func (m *MockEncoder) AddComplex128(arg0 string, arg1 complex128)
AddComplex128 mocks base method.
func (*MockEncoder) AddComplex64 ¶
func (m *MockEncoder) AddComplex64(arg0 string, arg1 complex64)
AddComplex64 mocks base method.
func (*MockEncoder) AddDuration ¶
func (m *MockEncoder) AddDuration(arg0 string, arg1 time.Duration)
AddDuration mocks base method.
func (*MockEncoder) AddFloat32 ¶
func (m *MockEncoder) AddFloat32(arg0 string, arg1 float32)
AddFloat32 mocks base method.
func (*MockEncoder) AddFloat64 ¶
func (m *MockEncoder) AddFloat64(arg0 string, arg1 float64)
AddFloat64 mocks base method.
func (*MockEncoder) AddInt ¶
func (m *MockEncoder) AddInt(arg0 string, arg1 int)
AddInt mocks base method.
func (*MockEncoder) AddInt16 ¶
func (m *MockEncoder) AddInt16(arg0 string, arg1 int16)
AddInt16 mocks base method.
func (*MockEncoder) AddInt32 ¶
func (m *MockEncoder) AddInt32(arg0 string, arg1 int32)
AddInt32 mocks base method.
func (*MockEncoder) AddInt64 ¶
func (m *MockEncoder) AddInt64(arg0 string, arg1 int64)
AddInt64 mocks base method.
func (*MockEncoder) AddInt8 ¶
func (m *MockEncoder) AddInt8(arg0 string, arg1 int8)
AddInt8 mocks base method.
func (*MockEncoder) AddObject ¶
func (m *MockEncoder) AddObject(arg0 string, arg1 zapcore.ObjectMarshaler) error
AddObject mocks base method.
func (*MockEncoder) AddReflected ¶
func (m *MockEncoder) AddReflected(arg0 string, arg1 interface{}) error
AddReflected mocks base method.
func (*MockEncoder) AddString ¶
func (m *MockEncoder) AddString(arg0, arg1 string)
AddString mocks base method.
func (*MockEncoder) AddTime ¶
func (m *MockEncoder) AddTime(arg0 string, arg1 time.Time)
AddTime mocks base method.
func (*MockEncoder) AddUint ¶
func (m *MockEncoder) AddUint(arg0 string, arg1 uint)
AddUint mocks base method.
func (*MockEncoder) AddUint16 ¶
func (m *MockEncoder) AddUint16(arg0 string, arg1 uint16)
AddUint16 mocks base method.
func (*MockEncoder) AddUint32 ¶
func (m *MockEncoder) AddUint32(arg0 string, arg1 uint32)
AddUint32 mocks base method.
func (*MockEncoder) AddUint64 ¶
func (m *MockEncoder) AddUint64(arg0 string, arg1 uint64)
AddUint64 mocks base method.
func (*MockEncoder) AddUint8 ¶
func (m *MockEncoder) AddUint8(arg0 string, arg1 byte)
AddUint8 mocks base method.
func (*MockEncoder) AddUintptr ¶
func (m *MockEncoder) AddUintptr(arg0 string, arg1 uintptr)
AddUintptr mocks base method.
func (*MockEncoder) EXPECT ¶
func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEncoder) EncodeEntry ¶
EncodeEntry mocks base method.
func (*MockEncoder) OpenNamespace ¶
func (m *MockEncoder) OpenNamespace(arg0 string)
OpenNamespace mocks base method.
type MockEncoderMockRecorder ¶
type MockEncoderMockRecorder struct {
// contains filtered or unexported fields
}
MockEncoderMockRecorder is the mock recorder for MockEncoder.
func (*MockEncoderMockRecorder) AddArray ¶
func (mr *MockEncoderMockRecorder) AddArray(arg0, arg1 interface{}) *gomock.Call
AddArray indicates an expected call of AddArray.
func (*MockEncoderMockRecorder) AddBinary ¶
func (mr *MockEncoderMockRecorder) AddBinary(arg0, arg1 interface{}) *gomock.Call
AddBinary indicates an expected call of AddBinary.
func (*MockEncoderMockRecorder) AddBool ¶
func (mr *MockEncoderMockRecorder) AddBool(arg0, arg1 interface{}) *gomock.Call
AddBool indicates an expected call of AddBool.
func (*MockEncoderMockRecorder) AddByteString ¶
func (mr *MockEncoderMockRecorder) AddByteString(arg0, arg1 interface{}) *gomock.Call
AddByteString indicates an expected call of AddByteString.
func (*MockEncoderMockRecorder) AddComplex128 ¶
func (mr *MockEncoderMockRecorder) AddComplex128(arg0, arg1 interface{}) *gomock.Call
AddComplex128 indicates an expected call of AddComplex128.
func (*MockEncoderMockRecorder) AddComplex64 ¶
func (mr *MockEncoderMockRecorder) AddComplex64(arg0, arg1 interface{}) *gomock.Call
AddComplex64 indicates an expected call of AddComplex64.
func (*MockEncoderMockRecorder) AddDuration ¶
func (mr *MockEncoderMockRecorder) AddDuration(arg0, arg1 interface{}) *gomock.Call
AddDuration indicates an expected call of AddDuration.
func (*MockEncoderMockRecorder) AddFloat32 ¶
func (mr *MockEncoderMockRecorder) AddFloat32(arg0, arg1 interface{}) *gomock.Call
AddFloat32 indicates an expected call of AddFloat32.
func (*MockEncoderMockRecorder) AddFloat64 ¶
func (mr *MockEncoderMockRecorder) AddFloat64(arg0, arg1 interface{}) *gomock.Call
AddFloat64 indicates an expected call of AddFloat64.
func (*MockEncoderMockRecorder) AddInt ¶
func (mr *MockEncoderMockRecorder) AddInt(arg0, arg1 interface{}) *gomock.Call
AddInt indicates an expected call of AddInt.
func (*MockEncoderMockRecorder) AddInt16 ¶
func (mr *MockEncoderMockRecorder) AddInt16(arg0, arg1 interface{}) *gomock.Call
AddInt16 indicates an expected call of AddInt16.
func (*MockEncoderMockRecorder) AddInt32 ¶
func (mr *MockEncoderMockRecorder) AddInt32(arg0, arg1 interface{}) *gomock.Call
AddInt32 indicates an expected call of AddInt32.
func (*MockEncoderMockRecorder) AddInt64 ¶
func (mr *MockEncoderMockRecorder) AddInt64(arg0, arg1 interface{}) *gomock.Call
AddInt64 indicates an expected call of AddInt64.
func (*MockEncoderMockRecorder) AddInt8 ¶
func (mr *MockEncoderMockRecorder) AddInt8(arg0, arg1 interface{}) *gomock.Call
AddInt8 indicates an expected call of AddInt8.
func (*MockEncoderMockRecorder) AddObject ¶
func (mr *MockEncoderMockRecorder) AddObject(arg0, arg1 interface{}) *gomock.Call
AddObject indicates an expected call of AddObject.
func (*MockEncoderMockRecorder) AddReflected ¶
func (mr *MockEncoderMockRecorder) AddReflected(arg0, arg1 interface{}) *gomock.Call
AddReflected indicates an expected call of AddReflected.
func (*MockEncoderMockRecorder) AddString ¶
func (mr *MockEncoderMockRecorder) AddString(arg0, arg1 interface{}) *gomock.Call
AddString indicates an expected call of AddString.
func (*MockEncoderMockRecorder) AddTime ¶
func (mr *MockEncoderMockRecorder) AddTime(arg0, arg1 interface{}) *gomock.Call
AddTime indicates an expected call of AddTime.
func (*MockEncoderMockRecorder) AddUint ¶
func (mr *MockEncoderMockRecorder) AddUint(arg0, arg1 interface{}) *gomock.Call
AddUint indicates an expected call of AddUint.
func (*MockEncoderMockRecorder) AddUint16 ¶
func (mr *MockEncoderMockRecorder) AddUint16(arg0, arg1 interface{}) *gomock.Call
AddUint16 indicates an expected call of AddUint16.
func (*MockEncoderMockRecorder) AddUint32 ¶
func (mr *MockEncoderMockRecorder) AddUint32(arg0, arg1 interface{}) *gomock.Call
AddUint32 indicates an expected call of AddUint32.
func (*MockEncoderMockRecorder) AddUint64 ¶
func (mr *MockEncoderMockRecorder) AddUint64(arg0, arg1 interface{}) *gomock.Call
AddUint64 indicates an expected call of AddUint64.
func (*MockEncoderMockRecorder) AddUint8 ¶
func (mr *MockEncoderMockRecorder) AddUint8(arg0, arg1 interface{}) *gomock.Call
AddUint8 indicates an expected call of AddUint8.
func (*MockEncoderMockRecorder) AddUintptr ¶
func (mr *MockEncoderMockRecorder) AddUintptr(arg0, arg1 interface{}) *gomock.Call
AddUintptr indicates an expected call of AddUintptr.
func (*MockEncoderMockRecorder) Clone ¶
func (mr *MockEncoderMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockEncoderMockRecorder) EncodeEntry ¶
func (mr *MockEncoderMockRecorder) EncodeEntry(arg0, arg1 interface{}) *gomock.Call
EncodeEntry indicates an expected call of EncodeEntry.
func (*MockEncoderMockRecorder) OpenNamespace ¶
func (mr *MockEncoderMockRecorder) OpenNamespace(arg0 interface{}) *gomock.Call
OpenNamespace indicates an expected call of OpenNamespace.