Documentation ¶
Index ¶
- type ArrayEncoder
- func (_m *ArrayEncoder) AppendArray(_a0 zapcore.ArrayMarshaler) error
- func (_m *ArrayEncoder) AppendBool(_a0 bool)
- func (_m *ArrayEncoder) AppendByteString(_a0 []byte)
- func (_m *ArrayEncoder) AppendComplex128(_a0 complex128)
- func (_m *ArrayEncoder) AppendComplex64(_a0 complex64)
- func (_m *ArrayEncoder) AppendDuration(_a0 time.Duration)
- func (_m *ArrayEncoder) AppendFloat32(_a0 float32)
- func (_m *ArrayEncoder) AppendFloat64(_a0 float64)
- func (_m *ArrayEncoder) AppendInt(_a0 int)
- func (_m *ArrayEncoder) AppendInt16(_a0 int16)
- func (_m *ArrayEncoder) AppendInt32(_a0 int32)
- func (_m *ArrayEncoder) AppendInt64(_a0 int64)
- func (_m *ArrayEncoder) AppendInt8(_a0 int8)
- func (_m *ArrayEncoder) AppendObject(_a0 zapcore.ObjectMarshaler) error
- func (_m *ArrayEncoder) AppendReflected(value interface{}) error
- func (_m *ArrayEncoder) AppendString(_a0 string)
- func (_m *ArrayEncoder) AppendTime(_a0 time.Time)
- func (_m *ArrayEncoder) AppendUint(_a0 uint)
- func (_m *ArrayEncoder) AppendUint16(_a0 uint16)
- func (_m *ArrayEncoder) AppendUint32(_a0 uint32)
- func (_m *ArrayEncoder) AppendUint64(_a0 uint64)
- func (_m *ArrayEncoder) AppendUint8(_a0 uint8)
- func (_m *ArrayEncoder) AppendUintptr(_a0 uintptr)
- type ObjectEncoder
- func (_m *ObjectEncoder) AddArray(key string, marshaler zapcore.ArrayMarshaler) error
- func (_m *ObjectEncoder) AddBinary(key string, value []byte)
- func (_m *ObjectEncoder) AddBool(key string, value bool)
- func (_m *ObjectEncoder) AddByteString(key string, value []byte)
- func (_m *ObjectEncoder) AddComplex128(key string, value complex128)
- func (_m *ObjectEncoder) AddComplex64(key string, value complex64)
- func (_m *ObjectEncoder) AddDuration(key string, value time.Duration)
- func (_m *ObjectEncoder) AddFloat32(key string, value float32)
- func (_m *ObjectEncoder) AddFloat64(key string, value float64)
- func (_m *ObjectEncoder) AddInt(key string, value int)
- func (_m *ObjectEncoder) AddInt16(key string, value int16)
- func (_m *ObjectEncoder) AddInt32(key string, value int32)
- func (_m *ObjectEncoder) AddInt64(key string, value int64)
- func (_m *ObjectEncoder) AddInt8(key string, value int8)
- func (_m *ObjectEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error
- func (_m *ObjectEncoder) AddReflected(key string, value interface{}) error
- func (_m *ObjectEncoder) AddString(key string, value string)
- func (_m *ObjectEncoder) AddTime(key string, value time.Time)
- func (_m *ObjectEncoder) AddUint(key string, value uint)
- func (_m *ObjectEncoder) AddUint16(key string, value uint16)
- func (_m *ObjectEncoder) AddUint32(key string, value uint32)
- func (_m *ObjectEncoder) AddUint64(key string, value uint64)
- func (_m *ObjectEncoder) AddUint8(key string, value uint8)
- func (_m *ObjectEncoder) AddUintptr(key string, value uintptr)
- func (_m *ObjectEncoder) OpenNamespace(key string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayEncoder ¶
ArrayEncoder is an autogenerated mock type for the ArrayEncoder type
func NewArrayEncoder ¶
func NewArrayEncoder(t interface { mock.TestingT Cleanup(func()) }) *ArrayEncoder
NewArrayEncoder creates a new instance of ArrayEncoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ArrayEncoder) AppendArray ¶
func (_m *ArrayEncoder) AppendArray(_a0 zapcore.ArrayMarshaler) error
AppendArray provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendBool ¶
func (_m *ArrayEncoder) AppendBool(_a0 bool)
AppendBool provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendByteString ¶
func (_m *ArrayEncoder) AppendByteString(_a0 []byte)
AppendByteString provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendComplex128 ¶
func (_m *ArrayEncoder) AppendComplex128(_a0 complex128)
AppendComplex128 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendComplex64 ¶
func (_m *ArrayEncoder) AppendComplex64(_a0 complex64)
AppendComplex64 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendDuration ¶
func (_m *ArrayEncoder) AppendDuration(_a0 time.Duration)
AppendDuration provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendFloat32 ¶
func (_m *ArrayEncoder) AppendFloat32(_a0 float32)
AppendFloat32 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendFloat64 ¶
func (_m *ArrayEncoder) AppendFloat64(_a0 float64)
AppendFloat64 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendInt ¶
func (_m *ArrayEncoder) AppendInt(_a0 int)
AppendInt provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendInt16 ¶
func (_m *ArrayEncoder) AppendInt16(_a0 int16)
AppendInt16 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendInt32 ¶
func (_m *ArrayEncoder) AppendInt32(_a0 int32)
AppendInt32 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendInt64 ¶
func (_m *ArrayEncoder) AppendInt64(_a0 int64)
AppendInt64 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendInt8 ¶
func (_m *ArrayEncoder) AppendInt8(_a0 int8)
AppendInt8 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendObject ¶
func (_m *ArrayEncoder) AppendObject(_a0 zapcore.ObjectMarshaler) error
AppendObject provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendReflected ¶
func (_m *ArrayEncoder) AppendReflected(value interface{}) error
AppendReflected provides a mock function with given fields: value
func (*ArrayEncoder) AppendString ¶
func (_m *ArrayEncoder) AppendString(_a0 string)
AppendString provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendTime ¶
func (_m *ArrayEncoder) AppendTime(_a0 time.Time)
AppendTime provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUint ¶
func (_m *ArrayEncoder) AppendUint(_a0 uint)
AppendUint provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUint16 ¶
func (_m *ArrayEncoder) AppendUint16(_a0 uint16)
AppendUint16 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUint32 ¶
func (_m *ArrayEncoder) AppendUint32(_a0 uint32)
AppendUint32 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUint64 ¶
func (_m *ArrayEncoder) AppendUint64(_a0 uint64)
AppendUint64 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUint8 ¶
func (_m *ArrayEncoder) AppendUint8(_a0 uint8)
AppendUint8 provides a mock function with given fields: _a0
func (*ArrayEncoder) AppendUintptr ¶
func (_m *ArrayEncoder) AppendUintptr(_a0 uintptr)
AppendUintptr provides a mock function with given fields: _a0
type ObjectEncoder ¶
ObjectEncoder is an autogenerated mock type for the ObjectEncoder type
func NewObjectEncoder ¶
func NewObjectEncoder(t interface { mock.TestingT Cleanup(func()) }) *ObjectEncoder
NewObjectEncoder creates a new instance of ObjectEncoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ObjectEncoder) AddArray ¶
func (_m *ObjectEncoder) AddArray(key string, marshaler zapcore.ArrayMarshaler) error
AddArray provides a mock function with given fields: key, marshaler
func (*ObjectEncoder) AddBinary ¶
func (_m *ObjectEncoder) AddBinary(key string, value []byte)
AddBinary provides a mock function with given fields: key, value
func (*ObjectEncoder) AddBool ¶
func (_m *ObjectEncoder) AddBool(key string, value bool)
AddBool provides a mock function with given fields: key, value
func (*ObjectEncoder) AddByteString ¶
func (_m *ObjectEncoder) AddByteString(key string, value []byte)
AddByteString provides a mock function with given fields: key, value
func (*ObjectEncoder) AddComplex128 ¶
func (_m *ObjectEncoder) AddComplex128(key string, value complex128)
AddComplex128 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddComplex64 ¶
func (_m *ObjectEncoder) AddComplex64(key string, value complex64)
AddComplex64 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddDuration ¶
func (_m *ObjectEncoder) AddDuration(key string, value time.Duration)
AddDuration provides a mock function with given fields: key, value
func (*ObjectEncoder) AddFloat32 ¶
func (_m *ObjectEncoder) AddFloat32(key string, value float32)
AddFloat32 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddFloat64 ¶
func (_m *ObjectEncoder) AddFloat64(key string, value float64)
AddFloat64 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddInt ¶
func (_m *ObjectEncoder) AddInt(key string, value int)
AddInt provides a mock function with given fields: key, value
func (*ObjectEncoder) AddInt16 ¶
func (_m *ObjectEncoder) AddInt16(key string, value int16)
AddInt16 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddInt32 ¶
func (_m *ObjectEncoder) AddInt32(key string, value int32)
AddInt32 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddInt64 ¶
func (_m *ObjectEncoder) AddInt64(key string, value int64)
AddInt64 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddInt8 ¶
func (_m *ObjectEncoder) AddInt8(key string, value int8)
AddInt8 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddObject ¶
func (_m *ObjectEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error
AddObject provides a mock function with given fields: key, marshaler
func (*ObjectEncoder) AddReflected ¶
func (_m *ObjectEncoder) AddReflected(key string, value interface{}) error
AddReflected provides a mock function with given fields: key, value
func (*ObjectEncoder) AddString ¶
func (_m *ObjectEncoder) AddString(key string, value string)
AddString provides a mock function with given fields: key, value
func (*ObjectEncoder) AddTime ¶
func (_m *ObjectEncoder) AddTime(key string, value time.Time)
AddTime provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUint ¶
func (_m *ObjectEncoder) AddUint(key string, value uint)
AddUint provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUint16 ¶
func (_m *ObjectEncoder) AddUint16(key string, value uint16)
AddUint16 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUint32 ¶
func (_m *ObjectEncoder) AddUint32(key string, value uint32)
AddUint32 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUint64 ¶
func (_m *ObjectEncoder) AddUint64(key string, value uint64)
AddUint64 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUint8 ¶
func (_m *ObjectEncoder) AddUint8(key string, value uint8)
AddUint8 provides a mock function with given fields: key, value
func (*ObjectEncoder) AddUintptr ¶
func (_m *ObjectEncoder) AddUintptr(key string, value uintptr)
AddUintptr provides a mock function with given fields: key, value
func (*ObjectEncoder) OpenNamespace ¶
func (_m *ObjectEncoder) OpenNamespace(key string)
OpenNamespace provides a mock function with given fields: key