Documentation ¶
Index ¶
- type BufferInstance
- func (_m *BufferInstance) Append(data []byte) error
- func (_m *BufferInstance) AppendString(s string) error
- func (_m *BufferInstance) Bytes() []byte
- func (_m *BufferInstance) Drain(offset int)
- func (_m *BufferInstance) EXPECT() *BufferInstance_Expecter
- func (_m *BufferInstance) Len() int
- func (_m *BufferInstance) Prepend(data []byte) error
- func (_m *BufferInstance) PrependString(s string) error
- func (_m *BufferInstance) Reset()
- func (_m *BufferInstance) Set(_a0 []byte) error
- func (_m *BufferInstance) SetString(_a0 string) error
- func (_m *BufferInstance) String() string
- func (_m *BufferInstance) Write(p []byte) (int, error)
- func (_m *BufferInstance) WriteByte(p byte) error
- func (_m *BufferInstance) WriteString(s string) (int, error)
- func (_m *BufferInstance) WriteUint16(p uint16) error
- func (_m *BufferInstance) WriteUint32(p uint32) error
- func (_m *BufferInstance) WriteUint64(p uint64) error
- type BufferInstance_AppendString_Call
- func (_c *BufferInstance_AppendString_Call) Return(_a0 error) *BufferInstance_AppendString_Call
- func (_c *BufferInstance_AppendString_Call) Run(run func(s string)) *BufferInstance_AppendString_Call
- func (_c *BufferInstance_AppendString_Call) RunAndReturn(run func(string) error) *BufferInstance_AppendString_Call
- type BufferInstance_Append_Call
- type BufferInstance_Bytes_Call
- type BufferInstance_Drain_Call
- type BufferInstance_Expecter
- func (_e *BufferInstance_Expecter) Append(data interface{}) *BufferInstance_Append_Call
- func (_e *BufferInstance_Expecter) AppendString(s interface{}) *BufferInstance_AppendString_Call
- func (_e *BufferInstance_Expecter) Bytes() *BufferInstance_Bytes_Call
- func (_e *BufferInstance_Expecter) Drain(offset interface{}) *BufferInstance_Drain_Call
- func (_e *BufferInstance_Expecter) Len() *BufferInstance_Len_Call
- func (_e *BufferInstance_Expecter) Prepend(data interface{}) *BufferInstance_Prepend_Call
- func (_e *BufferInstance_Expecter) PrependString(s interface{}) *BufferInstance_PrependString_Call
- func (_e *BufferInstance_Expecter) Reset() *BufferInstance_Reset_Call
- func (_e *BufferInstance_Expecter) Set(_a0 interface{}) *BufferInstance_Set_Call
- func (_e *BufferInstance_Expecter) SetString(_a0 interface{}) *BufferInstance_SetString_Call
- func (_e *BufferInstance_Expecter) String() *BufferInstance_String_Call
- func (_e *BufferInstance_Expecter) Write(p interface{}) *BufferInstance_Write_Call
- func (_e *BufferInstance_Expecter) WriteByte(p interface{}) *BufferInstance_WriteByte_Call
- func (_e *BufferInstance_Expecter) WriteString(s interface{}) *BufferInstance_WriteString_Call
- func (_e *BufferInstance_Expecter) WriteUint16(p interface{}) *BufferInstance_WriteUint16_Call
- func (_e *BufferInstance_Expecter) WriteUint32(p interface{}) *BufferInstance_WriteUint32_Call
- func (_e *BufferInstance_Expecter) WriteUint64(p interface{}) *BufferInstance_WriteUint64_Call
- type BufferInstance_Len_Call
- type BufferInstance_PrependString_Call
- func (_c *BufferInstance_PrependString_Call) Return(_a0 error) *BufferInstance_PrependString_Call
- func (_c *BufferInstance_PrependString_Call) Run(run func(s string)) *BufferInstance_PrependString_Call
- func (_c *BufferInstance_PrependString_Call) RunAndReturn(run func(string) error) *BufferInstance_PrependString_Call
- type BufferInstance_Prepend_Call
- type BufferInstance_Reset_Call
- type BufferInstance_SetString_Call
- type BufferInstance_Set_Call
- type BufferInstance_String_Call
- type BufferInstance_WriteByte_Call
- type BufferInstance_WriteString_Call
- func (_c *BufferInstance_WriteString_Call) Return(n int, err error) *BufferInstance_WriteString_Call
- func (_c *BufferInstance_WriteString_Call) Run(run func(s string)) *BufferInstance_WriteString_Call
- func (_c *BufferInstance_WriteString_Call) RunAndReturn(run func(string) (int, error)) *BufferInstance_WriteString_Call
- type BufferInstance_WriteUint16_Call
- func (_c *BufferInstance_WriteUint16_Call) Return(_a0 error) *BufferInstance_WriteUint16_Call
- func (_c *BufferInstance_WriteUint16_Call) Run(run func(p uint16)) *BufferInstance_WriteUint16_Call
- func (_c *BufferInstance_WriteUint16_Call) RunAndReturn(run func(uint16) error) *BufferInstance_WriteUint16_Call
- type BufferInstance_WriteUint32_Call
- func (_c *BufferInstance_WriteUint32_Call) Return(_a0 error) *BufferInstance_WriteUint32_Call
- func (_c *BufferInstance_WriteUint32_Call) Run(run func(p uint32)) *BufferInstance_WriteUint32_Call
- func (_c *BufferInstance_WriteUint32_Call) RunAndReturn(run func(uint32) error) *BufferInstance_WriteUint32_Call
- type BufferInstance_WriteUint64_Call
- func (_c *BufferInstance_WriteUint64_Call) Return(_a0 error) *BufferInstance_WriteUint64_Call
- func (_c *BufferInstance_WriteUint64_Call) Run(run func(p uint64)) *BufferInstance_WriteUint64_Call
- func (_c *BufferInstance_WriteUint64_Call) RunAndReturn(run func(uint64) error) *BufferInstance_WriteUint64_Call
- type BufferInstance_Write_Call
- type ConfigCallbackHandler
- type ConfigCallbackHandler_DefineCounterMetric_Call
- func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) Return(_a0 api.CounterMetric) *ConfigCallbackHandler_DefineCounterMetric_Call
- func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) Run(run func(name string)) *ConfigCallbackHandler_DefineCounterMetric_Call
- func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) RunAndReturn(run func(string) api.CounterMetric) *ConfigCallbackHandler_DefineCounterMetric_Call
- type ConfigCallbackHandler_DefineGaugeMetric_Call
- func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) Return(_a0 api.GaugeMetric) *ConfigCallbackHandler_DefineGaugeMetric_Call
- func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) Run(run func(name string)) *ConfigCallbackHandler_DefineGaugeMetric_Call
- func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) RunAndReturn(run func(string) api.GaugeMetric) *ConfigCallbackHandler_DefineGaugeMetric_Call
- type ConfigCallbackHandler_Expecter
- type CounterMetric
- type CounterMetric_Expecter
- type CounterMetric_Get_Call
- type CounterMetric_Increment_Call
- type CounterMetric_Record_Call
- type FilterCallbackHandler
- func (_m *FilterCallbackHandler) Continue(_a0 api.StatusType)
- func (_m *FilterCallbackHandler) EXPECT() *FilterCallbackHandler_Expecter
- func (_m *FilterCallbackHandler) GetProperty(key string) (string, error)
- func (_m *FilterCallbackHandler) Log(level api.LogType, msg string)
- func (_m *FilterCallbackHandler) LogLevel() api.LogType
- func (_m *FilterCallbackHandler) RecoverPanic()
- func (_m *FilterCallbackHandler) SendLocalReply(responseCode int, bodyText string, headers map[string][]string, ...)
- func (_m *FilterCallbackHandler) StreamInfo() api.StreamInfo
- type FilterCallbackHandler_Continue_Call
- func (_c *FilterCallbackHandler_Continue_Call) Return() *FilterCallbackHandler_Continue_Call
- func (_c *FilterCallbackHandler_Continue_Call) Run(run func(_a0 api.StatusType)) *FilterCallbackHandler_Continue_Call
- func (_c *FilterCallbackHandler_Continue_Call) RunAndReturn(run func(api.StatusType)) *FilterCallbackHandler_Continue_Call
- type FilterCallbackHandler_Expecter
- func (_e *FilterCallbackHandler_Expecter) Continue(_a0 interface{}) *FilterCallbackHandler_Continue_Call
- func (_e *FilterCallbackHandler_Expecter) GetProperty(key interface{}) *FilterCallbackHandler_GetProperty_Call
- func (_e *FilterCallbackHandler_Expecter) Log(level interface{}, msg interface{}) *FilterCallbackHandler_Log_Call
- func (_e *FilterCallbackHandler_Expecter) LogLevel() *FilterCallbackHandler_LogLevel_Call
- func (_e *FilterCallbackHandler_Expecter) RecoverPanic() *FilterCallbackHandler_RecoverPanic_Call
- func (_e *FilterCallbackHandler_Expecter) SendLocalReply(responseCode interface{}, bodyText interface{}, headers interface{}, ...) *FilterCallbackHandler_SendLocalReply_Call
- func (_e *FilterCallbackHandler_Expecter) StreamInfo() *FilterCallbackHandler_StreamInfo_Call
- type FilterCallbackHandler_GetProperty_Call
- func (_c *FilterCallbackHandler_GetProperty_Call) Return(_a0 string, _a1 error) *FilterCallbackHandler_GetProperty_Call
- func (_c *FilterCallbackHandler_GetProperty_Call) Run(run func(key string)) *FilterCallbackHandler_GetProperty_Call
- func (_c *FilterCallbackHandler_GetProperty_Call) RunAndReturn(run func(string) (string, error)) *FilterCallbackHandler_GetProperty_Call
- type FilterCallbackHandler_LogLevel_Call
- func (_c *FilterCallbackHandler_LogLevel_Call) Return(_a0 api.LogType) *FilterCallbackHandler_LogLevel_Call
- func (_c *FilterCallbackHandler_LogLevel_Call) Run(run func()) *FilterCallbackHandler_LogLevel_Call
- func (_c *FilterCallbackHandler_LogLevel_Call) RunAndReturn(run func() api.LogType) *FilterCallbackHandler_LogLevel_Call
- type FilterCallbackHandler_Log_Call
- func (_c *FilterCallbackHandler_Log_Call) Return() *FilterCallbackHandler_Log_Call
- func (_c *FilterCallbackHandler_Log_Call) Run(run func(level api.LogType, msg string)) *FilterCallbackHandler_Log_Call
- func (_c *FilterCallbackHandler_Log_Call) RunAndReturn(run func(api.LogType, string)) *FilterCallbackHandler_Log_Call
- type FilterCallbackHandler_RecoverPanic_Call
- func (_c *FilterCallbackHandler_RecoverPanic_Call) Return() *FilterCallbackHandler_RecoverPanic_Call
- func (_c *FilterCallbackHandler_RecoverPanic_Call) Run(run func()) *FilterCallbackHandler_RecoverPanic_Call
- func (_c *FilterCallbackHandler_RecoverPanic_Call) RunAndReturn(run func()) *FilterCallbackHandler_RecoverPanic_Call
- type FilterCallbackHandler_SendLocalReply_Call
- func (_c *FilterCallbackHandler_SendLocalReply_Call) Return() *FilterCallbackHandler_SendLocalReply_Call
- func (_c *FilterCallbackHandler_SendLocalReply_Call) Run(run func(responseCode int, bodyText string, headers map[string][]string, ...)) *FilterCallbackHandler_SendLocalReply_Call
- func (_c *FilterCallbackHandler_SendLocalReply_Call) RunAndReturn(run func(int, string, map[string][]string, int64, string)) *FilterCallbackHandler_SendLocalReply_Call
- type FilterCallbackHandler_StreamInfo_Call
- func (_c *FilterCallbackHandler_StreamInfo_Call) Return(_a0 api.StreamInfo) *FilterCallbackHandler_StreamInfo_Call
- func (_c *FilterCallbackHandler_StreamInfo_Call) Run(run func()) *FilterCallbackHandler_StreamInfo_Call
- func (_c *FilterCallbackHandler_StreamInfo_Call) RunAndReturn(run func() api.StreamInfo) *FilterCallbackHandler_StreamInfo_Call
- type GaugeMetric
- type GaugeMetric_Expecter
- type GaugeMetric_Get_Call
- type GaugeMetric_Increment_Call
- type GaugeMetric_Record_Call
- type RequestHeaderMap
- func (_m *RequestHeaderMap) Add(key string, value string)
- func (_m *RequestHeaderMap) Del(key string)
- func (_m *RequestHeaderMap) EXPECT() *RequestHeaderMap_Expecter
- func (_m *RequestHeaderMap) Get(key string) (string, bool)
- func (_m *RequestHeaderMap) GetRaw(name string) string
- func (_m *RequestHeaderMap) Host() string
- func (_m *RequestHeaderMap) Method() string
- func (_m *RequestHeaderMap) Path() string
- func (_m *RequestHeaderMap) Range(f func(string, string) bool)
- func (_m *RequestHeaderMap) RangeWithCopy(f func(string, string) bool)
- func (_m *RequestHeaderMap) Scheme() string
- func (_m *RequestHeaderMap) Set(key string, value string)
- func (_m *RequestHeaderMap) Values(key string) []string
- type RequestHeaderMap_Add_Call
- type RequestHeaderMap_Del_Call
- type RequestHeaderMap_Expecter
- func (_e *RequestHeaderMap_Expecter) Add(key interface{}, value interface{}) *RequestHeaderMap_Add_Call
- func (_e *RequestHeaderMap_Expecter) Del(key interface{}) *RequestHeaderMap_Del_Call
- func (_e *RequestHeaderMap_Expecter) Get(key interface{}) *RequestHeaderMap_Get_Call
- func (_e *RequestHeaderMap_Expecter) GetRaw(name interface{}) *RequestHeaderMap_GetRaw_Call
- func (_e *RequestHeaderMap_Expecter) Host() *RequestHeaderMap_Host_Call
- func (_e *RequestHeaderMap_Expecter) Method() *RequestHeaderMap_Method_Call
- func (_e *RequestHeaderMap_Expecter) Path() *RequestHeaderMap_Path_Call
- func (_e *RequestHeaderMap_Expecter) Range(f interface{}) *RequestHeaderMap_Range_Call
- func (_e *RequestHeaderMap_Expecter) RangeWithCopy(f interface{}) *RequestHeaderMap_RangeWithCopy_Call
- func (_e *RequestHeaderMap_Expecter) Scheme() *RequestHeaderMap_Scheme_Call
- func (_e *RequestHeaderMap_Expecter) Set(key interface{}, value interface{}) *RequestHeaderMap_Set_Call
- func (_e *RequestHeaderMap_Expecter) Values(key interface{}) *RequestHeaderMap_Values_Call
- type RequestHeaderMap_GetRaw_Call
- type RequestHeaderMap_Get_Call
- type RequestHeaderMap_Host_Call
- type RequestHeaderMap_Method_Call
- type RequestHeaderMap_Path_Call
- type RequestHeaderMap_RangeWithCopy_Call
- func (_c *RequestHeaderMap_RangeWithCopy_Call) Return() *RequestHeaderMap_RangeWithCopy_Call
- func (_c *RequestHeaderMap_RangeWithCopy_Call) Run(run func(f func(string, string) bool)) *RequestHeaderMap_RangeWithCopy_Call
- func (_c *RequestHeaderMap_RangeWithCopy_Call) RunAndReturn(run func(func(string, string) bool)) *RequestHeaderMap_RangeWithCopy_Call
- type RequestHeaderMap_Range_Call
- func (_c *RequestHeaderMap_Range_Call) Return() *RequestHeaderMap_Range_Call
- func (_c *RequestHeaderMap_Range_Call) Run(run func(f func(string, string) bool)) *RequestHeaderMap_Range_Call
- func (_c *RequestHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *RequestHeaderMap_Range_Call
- type RequestHeaderMap_Scheme_Call
- type RequestHeaderMap_Set_Call
- type RequestHeaderMap_Values_Call
- type ResponseHeaderMap
- func (_m *ResponseHeaderMap) Add(key string, value string)
- func (_m *ResponseHeaderMap) Del(key string)
- func (_m *ResponseHeaderMap) EXPECT() *ResponseHeaderMap_Expecter
- func (_m *ResponseHeaderMap) Get(key string) (string, bool)
- func (_m *ResponseHeaderMap) GetRaw(name string) string
- func (_m *ResponseHeaderMap) Range(f func(string, string) bool)
- func (_m *ResponseHeaderMap) RangeWithCopy(f func(string, string) bool)
- func (_m *ResponseHeaderMap) Set(key string, value string)
- func (_m *ResponseHeaderMap) Status() (int, bool)
- func (_m *ResponseHeaderMap) Values(key string) []string
- type ResponseHeaderMap_Add_Call
- type ResponseHeaderMap_Del_Call
- type ResponseHeaderMap_Expecter
- func (_e *ResponseHeaderMap_Expecter) Add(key interface{}, value interface{}) *ResponseHeaderMap_Add_Call
- func (_e *ResponseHeaderMap_Expecter) Del(key interface{}) *ResponseHeaderMap_Del_Call
- func (_e *ResponseHeaderMap_Expecter) Get(key interface{}) *ResponseHeaderMap_Get_Call
- func (_e *ResponseHeaderMap_Expecter) GetRaw(name interface{}) *ResponseHeaderMap_GetRaw_Call
- func (_e *ResponseHeaderMap_Expecter) Range(f interface{}) *ResponseHeaderMap_Range_Call
- func (_e *ResponseHeaderMap_Expecter) RangeWithCopy(f interface{}) *ResponseHeaderMap_RangeWithCopy_Call
- func (_e *ResponseHeaderMap_Expecter) Set(key interface{}, value interface{}) *ResponseHeaderMap_Set_Call
- func (_e *ResponseHeaderMap_Expecter) Status() *ResponseHeaderMap_Status_Call
- func (_e *ResponseHeaderMap_Expecter) Values(key interface{}) *ResponseHeaderMap_Values_Call
- type ResponseHeaderMap_GetRaw_Call
- type ResponseHeaderMap_Get_Call
- type ResponseHeaderMap_RangeWithCopy_Call
- func (_c *ResponseHeaderMap_RangeWithCopy_Call) Return() *ResponseHeaderMap_RangeWithCopy_Call
- func (_c *ResponseHeaderMap_RangeWithCopy_Call) Run(run func(f func(string, string) bool)) *ResponseHeaderMap_RangeWithCopy_Call
- func (_c *ResponseHeaderMap_RangeWithCopy_Call) RunAndReturn(run func(func(string, string) bool)) *ResponseHeaderMap_RangeWithCopy_Call
- type ResponseHeaderMap_Range_Call
- func (_c *ResponseHeaderMap_Range_Call) Return() *ResponseHeaderMap_Range_Call
- func (_c *ResponseHeaderMap_Range_Call) Run(run func(f func(string, string) bool)) *ResponseHeaderMap_Range_Call
- func (_c *ResponseHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *ResponseHeaderMap_Range_Call
- type ResponseHeaderMap_Set_Call
- type ResponseHeaderMap_Status_Call
- type ResponseHeaderMap_Values_Call
- func (_c *ResponseHeaderMap_Values_Call) Return(_a0 []string) *ResponseHeaderMap_Values_Call
- func (_c *ResponseHeaderMap_Values_Call) Run(run func(key string)) *ResponseHeaderMap_Values_Call
- func (_c *ResponseHeaderMap_Values_Call) RunAndReturn(run func(string) []string) *ResponseHeaderMap_Values_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferInstance ¶
BufferInstance is an autogenerated mock type for the BufferInstance type
func NewBufferInstance ¶
func NewBufferInstance(t interface { mock.TestingT Cleanup(func()) }) *BufferInstance
NewBufferInstance creates a new instance of BufferInstance. 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 (*BufferInstance) Append ¶
func (_m *BufferInstance) Append(data []byte) error
Append provides a mock function with given fields: data
func (*BufferInstance) AppendString ¶
func (_m *BufferInstance) AppendString(s string) error
AppendString provides a mock function with given fields: s
func (*BufferInstance) Bytes ¶
func (_m *BufferInstance) Bytes() []byte
Bytes provides a mock function with given fields:
func (*BufferInstance) Drain ¶
func (_m *BufferInstance) Drain(offset int)
Drain provides a mock function with given fields: offset
func (*BufferInstance) EXPECT ¶
func (_m *BufferInstance) EXPECT() *BufferInstance_Expecter
func (*BufferInstance) Len ¶
func (_m *BufferInstance) Len() int
Len provides a mock function with given fields:
func (*BufferInstance) Prepend ¶
func (_m *BufferInstance) Prepend(data []byte) error
Prepend provides a mock function with given fields: data
func (*BufferInstance) PrependString ¶
func (_m *BufferInstance) PrependString(s string) error
PrependString provides a mock function with given fields: s
func (*BufferInstance) Reset ¶
func (_m *BufferInstance) Reset()
Reset provides a mock function with given fields:
func (*BufferInstance) Set ¶
func (_m *BufferInstance) Set(_a0 []byte) error
Set provides a mock function with given fields: _a0
func (*BufferInstance) SetString ¶
func (_m *BufferInstance) SetString(_a0 string) error
SetString provides a mock function with given fields: _a0
func (*BufferInstance) String ¶
func (_m *BufferInstance) String() string
String provides a mock function with given fields:
func (*BufferInstance) Write ¶
func (_m *BufferInstance) Write(p []byte) (int, error)
Write provides a mock function with given fields: p
func (*BufferInstance) WriteByte ¶
func (_m *BufferInstance) WriteByte(p byte) error
WriteByte provides a mock function with given fields: p
func (*BufferInstance) WriteString ¶
func (_m *BufferInstance) WriteString(s string) (int, error)
WriteString provides a mock function with given fields: s
func (*BufferInstance) WriteUint16 ¶
func (_m *BufferInstance) WriteUint16(p uint16) error
WriteUint16 provides a mock function with given fields: p
func (*BufferInstance) WriteUint32 ¶
func (_m *BufferInstance) WriteUint32(p uint32) error
WriteUint32 provides a mock function with given fields: p
func (*BufferInstance) WriteUint64 ¶
func (_m *BufferInstance) WriteUint64(p uint64) error
WriteUint64 provides a mock function with given fields: p
type BufferInstance_AppendString_Call ¶
BufferInstance_AppendString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppendString'
func (*BufferInstance_AppendString_Call) Return ¶
func (_c *BufferInstance_AppendString_Call) Return(_a0 error) *BufferInstance_AppendString_Call
func (*BufferInstance_AppendString_Call) Run ¶
func (_c *BufferInstance_AppendString_Call) Run(run func(s string)) *BufferInstance_AppendString_Call
func (*BufferInstance_AppendString_Call) RunAndReturn ¶
func (_c *BufferInstance_AppendString_Call) RunAndReturn(run func(string) error) *BufferInstance_AppendString_Call
type BufferInstance_Append_Call ¶
BufferInstance_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'
func (*BufferInstance_Append_Call) Return ¶
func (_c *BufferInstance_Append_Call) Return(_a0 error) *BufferInstance_Append_Call
func (*BufferInstance_Append_Call) Run ¶
func (_c *BufferInstance_Append_Call) Run(run func(data []byte)) *BufferInstance_Append_Call
func (*BufferInstance_Append_Call) RunAndReturn ¶
func (_c *BufferInstance_Append_Call) RunAndReturn(run func([]byte) error) *BufferInstance_Append_Call
type BufferInstance_Bytes_Call ¶
BufferInstance_Bytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bytes'
func (*BufferInstance_Bytes_Call) Return ¶
func (_c *BufferInstance_Bytes_Call) Return(_a0 []byte) *BufferInstance_Bytes_Call
func (*BufferInstance_Bytes_Call) Run ¶
func (_c *BufferInstance_Bytes_Call) Run(run func()) *BufferInstance_Bytes_Call
func (*BufferInstance_Bytes_Call) RunAndReturn ¶
func (_c *BufferInstance_Bytes_Call) RunAndReturn(run func() []byte) *BufferInstance_Bytes_Call
type BufferInstance_Drain_Call ¶
BufferInstance_Drain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Drain'
func (*BufferInstance_Drain_Call) Return ¶
func (_c *BufferInstance_Drain_Call) Return() *BufferInstance_Drain_Call
func (*BufferInstance_Drain_Call) Run ¶
func (_c *BufferInstance_Drain_Call) Run(run func(offset int)) *BufferInstance_Drain_Call
func (*BufferInstance_Drain_Call) RunAndReturn ¶
func (_c *BufferInstance_Drain_Call) RunAndReturn(run func(int)) *BufferInstance_Drain_Call
type BufferInstance_Expecter ¶
type BufferInstance_Expecter struct {
// contains filtered or unexported fields
}
func (*BufferInstance_Expecter) Append ¶
func (_e *BufferInstance_Expecter) Append(data interface{}) *BufferInstance_Append_Call
Append is a helper method to define mock.On call
- data []byte
func (*BufferInstance_Expecter) AppendString ¶
func (_e *BufferInstance_Expecter) AppendString(s interface{}) *BufferInstance_AppendString_Call
AppendString is a helper method to define mock.On call
- s string
func (*BufferInstance_Expecter) Bytes ¶
func (_e *BufferInstance_Expecter) Bytes() *BufferInstance_Bytes_Call
Bytes is a helper method to define mock.On call
func (*BufferInstance_Expecter) Drain ¶
func (_e *BufferInstance_Expecter) Drain(offset interface{}) *BufferInstance_Drain_Call
Drain is a helper method to define mock.On call
- offset int
func (*BufferInstance_Expecter) Len ¶
func (_e *BufferInstance_Expecter) Len() *BufferInstance_Len_Call
Len is a helper method to define mock.On call
func (*BufferInstance_Expecter) Prepend ¶
func (_e *BufferInstance_Expecter) Prepend(data interface{}) *BufferInstance_Prepend_Call
Prepend is a helper method to define mock.On call
- data []byte
func (*BufferInstance_Expecter) PrependString ¶
func (_e *BufferInstance_Expecter) PrependString(s interface{}) *BufferInstance_PrependString_Call
PrependString is a helper method to define mock.On call
- s string
func (*BufferInstance_Expecter) Reset ¶
func (_e *BufferInstance_Expecter) Reset() *BufferInstance_Reset_Call
Reset is a helper method to define mock.On call
func (*BufferInstance_Expecter) Set ¶
func (_e *BufferInstance_Expecter) Set(_a0 interface{}) *BufferInstance_Set_Call
Set is a helper method to define mock.On call
- _a0 []byte
func (*BufferInstance_Expecter) SetString ¶
func (_e *BufferInstance_Expecter) SetString(_a0 interface{}) *BufferInstance_SetString_Call
SetString is a helper method to define mock.On call
- _a0 string
func (*BufferInstance_Expecter) String ¶
func (_e *BufferInstance_Expecter) String() *BufferInstance_String_Call
String is a helper method to define mock.On call
func (*BufferInstance_Expecter) Write ¶
func (_e *BufferInstance_Expecter) Write(p interface{}) *BufferInstance_Write_Call
Write is a helper method to define mock.On call
- p []byte
func (*BufferInstance_Expecter) WriteByte ¶
func (_e *BufferInstance_Expecter) WriteByte(p interface{}) *BufferInstance_WriteByte_Call
WriteByte is a helper method to define mock.On call
- p byte
func (*BufferInstance_Expecter) WriteString ¶
func (_e *BufferInstance_Expecter) WriteString(s interface{}) *BufferInstance_WriteString_Call
WriteString is a helper method to define mock.On call
- s string
func (*BufferInstance_Expecter) WriteUint16 ¶
func (_e *BufferInstance_Expecter) WriteUint16(p interface{}) *BufferInstance_WriteUint16_Call
WriteUint16 is a helper method to define mock.On call
- p uint16
func (*BufferInstance_Expecter) WriteUint32 ¶
func (_e *BufferInstance_Expecter) WriteUint32(p interface{}) *BufferInstance_WriteUint32_Call
WriteUint32 is a helper method to define mock.On call
- p uint32
func (*BufferInstance_Expecter) WriteUint64 ¶
func (_e *BufferInstance_Expecter) WriteUint64(p interface{}) *BufferInstance_WriteUint64_Call
WriteUint64 is a helper method to define mock.On call
- p uint64
type BufferInstance_Len_Call ¶
BufferInstance_Len_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Len'
func (*BufferInstance_Len_Call) Return ¶
func (_c *BufferInstance_Len_Call) Return(_a0 int) *BufferInstance_Len_Call
func (*BufferInstance_Len_Call) Run ¶
func (_c *BufferInstance_Len_Call) Run(run func()) *BufferInstance_Len_Call
func (*BufferInstance_Len_Call) RunAndReturn ¶
func (_c *BufferInstance_Len_Call) RunAndReturn(run func() int) *BufferInstance_Len_Call
type BufferInstance_PrependString_Call ¶
BufferInstance_PrependString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrependString'
func (*BufferInstance_PrependString_Call) Return ¶
func (_c *BufferInstance_PrependString_Call) Return(_a0 error) *BufferInstance_PrependString_Call
func (*BufferInstance_PrependString_Call) Run ¶
func (_c *BufferInstance_PrependString_Call) Run(run func(s string)) *BufferInstance_PrependString_Call
func (*BufferInstance_PrependString_Call) RunAndReturn ¶
func (_c *BufferInstance_PrependString_Call) RunAndReturn(run func(string) error) *BufferInstance_PrependString_Call
type BufferInstance_Prepend_Call ¶
BufferInstance_Prepend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Prepend'
func (*BufferInstance_Prepend_Call) Return ¶
func (_c *BufferInstance_Prepend_Call) Return(_a0 error) *BufferInstance_Prepend_Call
func (*BufferInstance_Prepend_Call) Run ¶
func (_c *BufferInstance_Prepend_Call) Run(run func(data []byte)) *BufferInstance_Prepend_Call
func (*BufferInstance_Prepend_Call) RunAndReturn ¶
func (_c *BufferInstance_Prepend_Call) RunAndReturn(run func([]byte) error) *BufferInstance_Prepend_Call
type BufferInstance_Reset_Call ¶
BufferInstance_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*BufferInstance_Reset_Call) Return ¶
func (_c *BufferInstance_Reset_Call) Return() *BufferInstance_Reset_Call
func (*BufferInstance_Reset_Call) Run ¶
func (_c *BufferInstance_Reset_Call) Run(run func()) *BufferInstance_Reset_Call
func (*BufferInstance_Reset_Call) RunAndReturn ¶
func (_c *BufferInstance_Reset_Call) RunAndReturn(run func()) *BufferInstance_Reset_Call
type BufferInstance_SetString_Call ¶
BufferInstance_SetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetString'
func (*BufferInstance_SetString_Call) Return ¶
func (_c *BufferInstance_SetString_Call) Return(_a0 error) *BufferInstance_SetString_Call
func (*BufferInstance_SetString_Call) Run ¶
func (_c *BufferInstance_SetString_Call) Run(run func(_a0 string)) *BufferInstance_SetString_Call
func (*BufferInstance_SetString_Call) RunAndReturn ¶
func (_c *BufferInstance_SetString_Call) RunAndReturn(run func(string) error) *BufferInstance_SetString_Call
type BufferInstance_Set_Call ¶
BufferInstance_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*BufferInstance_Set_Call) Return ¶
func (_c *BufferInstance_Set_Call) Return(_a0 error) *BufferInstance_Set_Call
func (*BufferInstance_Set_Call) Run ¶
func (_c *BufferInstance_Set_Call) Run(run func(_a0 []byte)) *BufferInstance_Set_Call
func (*BufferInstance_Set_Call) RunAndReturn ¶
func (_c *BufferInstance_Set_Call) RunAndReturn(run func([]byte) error) *BufferInstance_Set_Call
type BufferInstance_String_Call ¶
BufferInstance_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*BufferInstance_String_Call) Return ¶
func (_c *BufferInstance_String_Call) Return(_a0 string) *BufferInstance_String_Call
func (*BufferInstance_String_Call) Run ¶
func (_c *BufferInstance_String_Call) Run(run func()) *BufferInstance_String_Call
func (*BufferInstance_String_Call) RunAndReturn ¶
func (_c *BufferInstance_String_Call) RunAndReturn(run func() string) *BufferInstance_String_Call
type BufferInstance_WriteByte_Call ¶
BufferInstance_WriteByte_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteByte'
func (*BufferInstance_WriteByte_Call) Return ¶
func (_c *BufferInstance_WriteByte_Call) Return(_a0 error) *BufferInstance_WriteByte_Call
func (*BufferInstance_WriteByte_Call) Run ¶
func (_c *BufferInstance_WriteByte_Call) Run(run func(p byte)) *BufferInstance_WriteByte_Call
func (*BufferInstance_WriteByte_Call) RunAndReturn ¶
func (_c *BufferInstance_WriteByte_Call) RunAndReturn(run func(byte) error) *BufferInstance_WriteByte_Call
type BufferInstance_WriteString_Call ¶
BufferInstance_WriteString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteString'
func (*BufferInstance_WriteString_Call) Return ¶
func (_c *BufferInstance_WriteString_Call) Return(n int, err error) *BufferInstance_WriteString_Call
func (*BufferInstance_WriteString_Call) Run ¶
func (_c *BufferInstance_WriteString_Call) Run(run func(s string)) *BufferInstance_WriteString_Call
func (*BufferInstance_WriteString_Call) RunAndReturn ¶
func (_c *BufferInstance_WriteString_Call) RunAndReturn(run func(string) (int, error)) *BufferInstance_WriteString_Call
type BufferInstance_WriteUint16_Call ¶
BufferInstance_WriteUint16_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteUint16'
func (*BufferInstance_WriteUint16_Call) Return ¶
func (_c *BufferInstance_WriteUint16_Call) Return(_a0 error) *BufferInstance_WriteUint16_Call
func (*BufferInstance_WriteUint16_Call) Run ¶
func (_c *BufferInstance_WriteUint16_Call) Run(run func(p uint16)) *BufferInstance_WriteUint16_Call
func (*BufferInstance_WriteUint16_Call) RunAndReturn ¶
func (_c *BufferInstance_WriteUint16_Call) RunAndReturn(run func(uint16) error) *BufferInstance_WriteUint16_Call
type BufferInstance_WriteUint32_Call ¶
BufferInstance_WriteUint32_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteUint32'
func (*BufferInstance_WriteUint32_Call) Return ¶
func (_c *BufferInstance_WriteUint32_Call) Return(_a0 error) *BufferInstance_WriteUint32_Call
func (*BufferInstance_WriteUint32_Call) Run ¶
func (_c *BufferInstance_WriteUint32_Call) Run(run func(p uint32)) *BufferInstance_WriteUint32_Call
func (*BufferInstance_WriteUint32_Call) RunAndReturn ¶
func (_c *BufferInstance_WriteUint32_Call) RunAndReturn(run func(uint32) error) *BufferInstance_WriteUint32_Call
type BufferInstance_WriteUint64_Call ¶
BufferInstance_WriteUint64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteUint64'
func (*BufferInstance_WriteUint64_Call) Return ¶
func (_c *BufferInstance_WriteUint64_Call) Return(_a0 error) *BufferInstance_WriteUint64_Call
func (*BufferInstance_WriteUint64_Call) Run ¶
func (_c *BufferInstance_WriteUint64_Call) Run(run func(p uint64)) *BufferInstance_WriteUint64_Call
func (*BufferInstance_WriteUint64_Call) RunAndReturn ¶
func (_c *BufferInstance_WriteUint64_Call) RunAndReturn(run func(uint64) error) *BufferInstance_WriteUint64_Call
type BufferInstance_Write_Call ¶
BufferInstance_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*BufferInstance_Write_Call) Return ¶
func (_c *BufferInstance_Write_Call) Return(n int, err error) *BufferInstance_Write_Call
func (*BufferInstance_Write_Call) Run ¶
func (_c *BufferInstance_Write_Call) Run(run func(p []byte)) *BufferInstance_Write_Call
func (*BufferInstance_Write_Call) RunAndReturn ¶
func (_c *BufferInstance_Write_Call) RunAndReturn(run func([]byte) (int, error)) *BufferInstance_Write_Call
type ConfigCallbackHandler ¶
ConfigCallbackHandler is an autogenerated mock type for the ConfigCallbackHandler type
func NewConfigCallbackHandler ¶
func NewConfigCallbackHandler(t interface { mock.TestingT Cleanup(func()) }) *ConfigCallbackHandler
NewConfigCallbackHandler creates a new instance of ConfigCallbackHandler. 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 (*ConfigCallbackHandler) DefineCounterMetric ¶
func (_m *ConfigCallbackHandler) DefineCounterMetric(name string) api.CounterMetric
DefineCounterMetric provides a mock function with given fields: name
func (*ConfigCallbackHandler) DefineGaugeMetric ¶
func (_m *ConfigCallbackHandler) DefineGaugeMetric(name string) api.GaugeMetric
DefineGaugeMetric provides a mock function with given fields: name
func (*ConfigCallbackHandler) EXPECT ¶
func (_m *ConfigCallbackHandler) EXPECT() *ConfigCallbackHandler_Expecter
type ConfigCallbackHandler_DefineCounterMetric_Call ¶
ConfigCallbackHandler_DefineCounterMetric_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DefineCounterMetric'
func (*ConfigCallbackHandler_DefineCounterMetric_Call) Return ¶
func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) Return(_a0 api.CounterMetric) *ConfigCallbackHandler_DefineCounterMetric_Call
func (*ConfigCallbackHandler_DefineCounterMetric_Call) Run ¶
func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) Run(run func(name string)) *ConfigCallbackHandler_DefineCounterMetric_Call
func (*ConfigCallbackHandler_DefineCounterMetric_Call) RunAndReturn ¶
func (_c *ConfigCallbackHandler_DefineCounterMetric_Call) RunAndReturn(run func(string) api.CounterMetric) *ConfigCallbackHandler_DefineCounterMetric_Call
type ConfigCallbackHandler_DefineGaugeMetric_Call ¶
ConfigCallbackHandler_DefineGaugeMetric_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DefineGaugeMetric'
func (*ConfigCallbackHandler_DefineGaugeMetric_Call) Return ¶
func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) Return(_a0 api.GaugeMetric) *ConfigCallbackHandler_DefineGaugeMetric_Call
func (*ConfigCallbackHandler_DefineGaugeMetric_Call) Run ¶
func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) Run(run func(name string)) *ConfigCallbackHandler_DefineGaugeMetric_Call
func (*ConfigCallbackHandler_DefineGaugeMetric_Call) RunAndReturn ¶
func (_c *ConfigCallbackHandler_DefineGaugeMetric_Call) RunAndReturn(run func(string) api.GaugeMetric) *ConfigCallbackHandler_DefineGaugeMetric_Call
type ConfigCallbackHandler_Expecter ¶
type ConfigCallbackHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigCallbackHandler_Expecter) DefineCounterMetric ¶
func (_e *ConfigCallbackHandler_Expecter) DefineCounterMetric(name interface{}) *ConfigCallbackHandler_DefineCounterMetric_Call
DefineCounterMetric is a helper method to define mock.On call
- name string
func (*ConfigCallbackHandler_Expecter) DefineGaugeMetric ¶
func (_e *ConfigCallbackHandler_Expecter) DefineGaugeMetric(name interface{}) *ConfigCallbackHandler_DefineGaugeMetric_Call
DefineGaugeMetric is a helper method to define mock.On call
- name string
type CounterMetric ¶
CounterMetric is an autogenerated mock type for the CounterMetric type
func NewCounterMetric ¶
func NewCounterMetric(t interface { mock.TestingT Cleanup(func()) }) *CounterMetric
NewCounterMetric creates a new instance of CounterMetric. 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 (*CounterMetric) EXPECT ¶
func (_m *CounterMetric) EXPECT() *CounterMetric_Expecter
func (*CounterMetric) Get ¶
func (_m *CounterMetric) Get() uint64
Get provides a mock function with given fields:
func (*CounterMetric) Increment ¶
func (_m *CounterMetric) Increment(offset int64)
Increment provides a mock function with given fields: offset
func (*CounterMetric) Record ¶
func (_m *CounterMetric) Record(value uint64)
Record provides a mock function with given fields: value
type CounterMetric_Expecter ¶
type CounterMetric_Expecter struct {
// contains filtered or unexported fields
}
func (*CounterMetric_Expecter) Get ¶
func (_e *CounterMetric_Expecter) Get() *CounterMetric_Get_Call
Get is a helper method to define mock.On call
func (*CounterMetric_Expecter) Increment ¶
func (_e *CounterMetric_Expecter) Increment(offset interface{}) *CounterMetric_Increment_Call
Increment is a helper method to define mock.On call
- offset int64
func (*CounterMetric_Expecter) Record ¶
func (_e *CounterMetric_Expecter) Record(value interface{}) *CounterMetric_Record_Call
Record is a helper method to define mock.On call
- value uint64
type CounterMetric_Get_Call ¶
CounterMetric_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*CounterMetric_Get_Call) Return ¶
func (_c *CounterMetric_Get_Call) Return(_a0 uint64) *CounterMetric_Get_Call
func (*CounterMetric_Get_Call) Run ¶
func (_c *CounterMetric_Get_Call) Run(run func()) *CounterMetric_Get_Call
func (*CounterMetric_Get_Call) RunAndReturn ¶
func (_c *CounterMetric_Get_Call) RunAndReturn(run func() uint64) *CounterMetric_Get_Call
type CounterMetric_Increment_Call ¶
CounterMetric_Increment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Increment'
func (*CounterMetric_Increment_Call) Return ¶
func (_c *CounterMetric_Increment_Call) Return() *CounterMetric_Increment_Call
func (*CounterMetric_Increment_Call) Run ¶
func (_c *CounterMetric_Increment_Call) Run(run func(offset int64)) *CounterMetric_Increment_Call
func (*CounterMetric_Increment_Call) RunAndReturn ¶
func (_c *CounterMetric_Increment_Call) RunAndReturn(run func(int64)) *CounterMetric_Increment_Call
type CounterMetric_Record_Call ¶
CounterMetric_Record_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Record'
func (*CounterMetric_Record_Call) Return ¶
func (_c *CounterMetric_Record_Call) Return() *CounterMetric_Record_Call
func (*CounterMetric_Record_Call) Run ¶
func (_c *CounterMetric_Record_Call) Run(run func(value uint64)) *CounterMetric_Record_Call
func (*CounterMetric_Record_Call) RunAndReturn ¶
func (_c *CounterMetric_Record_Call) RunAndReturn(run func(uint64)) *CounterMetric_Record_Call
type FilterCallbackHandler ¶
FilterCallbackHandler is an autogenerated mock type for the FilterCallbackHandler type
func NewFilterCallbackHandler ¶
func NewFilterCallbackHandler(t interface { mock.TestingT Cleanup(func()) }) *FilterCallbackHandler
NewFilterCallbackHandler creates a new instance of FilterCallbackHandler. 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 (*FilterCallbackHandler) Continue ¶
func (_m *FilterCallbackHandler) Continue(_a0 api.StatusType)
Continue provides a mock function with given fields: _a0
func (*FilterCallbackHandler) EXPECT ¶
func (_m *FilterCallbackHandler) EXPECT() *FilterCallbackHandler_Expecter
func (*FilterCallbackHandler) GetProperty ¶
func (_m *FilterCallbackHandler) GetProperty(key string) (string, error)
GetProperty provides a mock function with given fields: key
func (*FilterCallbackHandler) Log ¶
func (_m *FilterCallbackHandler) Log(level api.LogType, msg string)
Log provides a mock function with given fields: level, msg
func (*FilterCallbackHandler) LogLevel ¶
func (_m *FilterCallbackHandler) LogLevel() api.LogType
LogLevel provides a mock function with given fields:
func (*FilterCallbackHandler) RecoverPanic ¶
func (_m *FilterCallbackHandler) RecoverPanic()
RecoverPanic provides a mock function with given fields:
func (*FilterCallbackHandler) SendLocalReply ¶
func (_m *FilterCallbackHandler) SendLocalReply(responseCode int, bodyText string, headers map[string][]string, grpcStatus int64, details string)
SendLocalReply provides a mock function with given fields: responseCode, bodyText, headers, grpcStatus, details
func (*FilterCallbackHandler) StreamInfo ¶
func (_m *FilterCallbackHandler) StreamInfo() api.StreamInfo
StreamInfo provides a mock function with given fields:
type FilterCallbackHandler_Continue_Call ¶
FilterCallbackHandler_Continue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Continue'
func (*FilterCallbackHandler_Continue_Call) Return ¶
func (_c *FilterCallbackHandler_Continue_Call) Return() *FilterCallbackHandler_Continue_Call
func (*FilterCallbackHandler_Continue_Call) Run ¶
func (_c *FilterCallbackHandler_Continue_Call) Run(run func(_a0 api.StatusType)) *FilterCallbackHandler_Continue_Call
func (*FilterCallbackHandler_Continue_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_Continue_Call) RunAndReturn(run func(api.StatusType)) *FilterCallbackHandler_Continue_Call
type FilterCallbackHandler_Expecter ¶
type FilterCallbackHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*FilterCallbackHandler_Expecter) Continue ¶
func (_e *FilterCallbackHandler_Expecter) Continue(_a0 interface{}) *FilterCallbackHandler_Continue_Call
Continue is a helper method to define mock.On call
- _a0 api.StatusType
func (*FilterCallbackHandler_Expecter) GetProperty ¶
func (_e *FilterCallbackHandler_Expecter) GetProperty(key interface{}) *FilterCallbackHandler_GetProperty_Call
GetProperty is a helper method to define mock.On call
- key string
func (*FilterCallbackHandler_Expecter) Log ¶
func (_e *FilterCallbackHandler_Expecter) Log(level interface{}, msg interface{}) *FilterCallbackHandler_Log_Call
Log is a helper method to define mock.On call
- level api.LogType
- msg string
func (*FilterCallbackHandler_Expecter) LogLevel ¶
func (_e *FilterCallbackHandler_Expecter) LogLevel() *FilterCallbackHandler_LogLevel_Call
LogLevel is a helper method to define mock.On call
func (*FilterCallbackHandler_Expecter) RecoverPanic ¶
func (_e *FilterCallbackHandler_Expecter) RecoverPanic() *FilterCallbackHandler_RecoverPanic_Call
RecoverPanic is a helper method to define mock.On call
func (*FilterCallbackHandler_Expecter) SendLocalReply ¶
func (_e *FilterCallbackHandler_Expecter) SendLocalReply(responseCode interface{}, bodyText interface{}, headers interface{}, grpcStatus interface{}, details interface{}) *FilterCallbackHandler_SendLocalReply_Call
SendLocalReply is a helper method to define mock.On call
- responseCode int
- bodyText string
- headers map[string][]string
- grpcStatus int64
- details string
func (*FilterCallbackHandler_Expecter) StreamInfo ¶
func (_e *FilterCallbackHandler_Expecter) StreamInfo() *FilterCallbackHandler_StreamInfo_Call
StreamInfo is a helper method to define mock.On call
type FilterCallbackHandler_GetProperty_Call ¶
FilterCallbackHandler_GetProperty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProperty'
func (*FilterCallbackHandler_GetProperty_Call) Return ¶
func (_c *FilterCallbackHandler_GetProperty_Call) Return(_a0 string, _a1 error) *FilterCallbackHandler_GetProperty_Call
func (*FilterCallbackHandler_GetProperty_Call) Run ¶
func (_c *FilterCallbackHandler_GetProperty_Call) Run(run func(key string)) *FilterCallbackHandler_GetProperty_Call
func (*FilterCallbackHandler_GetProperty_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_GetProperty_Call) RunAndReturn(run func(string) (string, error)) *FilterCallbackHandler_GetProperty_Call
type FilterCallbackHandler_LogLevel_Call ¶
FilterCallbackHandler_LogLevel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogLevel'
func (*FilterCallbackHandler_LogLevel_Call) Return ¶
func (_c *FilterCallbackHandler_LogLevel_Call) Return(_a0 api.LogType) *FilterCallbackHandler_LogLevel_Call
func (*FilterCallbackHandler_LogLevel_Call) Run ¶
func (_c *FilterCallbackHandler_LogLevel_Call) Run(run func()) *FilterCallbackHandler_LogLevel_Call
func (*FilterCallbackHandler_LogLevel_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_LogLevel_Call) RunAndReturn(run func() api.LogType) *FilterCallbackHandler_LogLevel_Call
type FilterCallbackHandler_Log_Call ¶
FilterCallbackHandler_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*FilterCallbackHandler_Log_Call) Return ¶
func (_c *FilterCallbackHandler_Log_Call) Return() *FilterCallbackHandler_Log_Call
func (*FilterCallbackHandler_Log_Call) Run ¶
func (_c *FilterCallbackHandler_Log_Call) Run(run func(level api.LogType, msg string)) *FilterCallbackHandler_Log_Call
func (*FilterCallbackHandler_Log_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_Log_Call) RunAndReturn(run func(api.LogType, string)) *FilterCallbackHandler_Log_Call
type FilterCallbackHandler_RecoverPanic_Call ¶
FilterCallbackHandler_RecoverPanic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecoverPanic'
func (*FilterCallbackHandler_RecoverPanic_Call) Return ¶
func (_c *FilterCallbackHandler_RecoverPanic_Call) Return() *FilterCallbackHandler_RecoverPanic_Call
func (*FilterCallbackHandler_RecoverPanic_Call) Run ¶
func (_c *FilterCallbackHandler_RecoverPanic_Call) Run(run func()) *FilterCallbackHandler_RecoverPanic_Call
func (*FilterCallbackHandler_RecoverPanic_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_RecoverPanic_Call) RunAndReturn(run func()) *FilterCallbackHandler_RecoverPanic_Call
type FilterCallbackHandler_SendLocalReply_Call ¶
FilterCallbackHandler_SendLocalReply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendLocalReply'
func (*FilterCallbackHandler_SendLocalReply_Call) Return ¶
func (_c *FilterCallbackHandler_SendLocalReply_Call) Return() *FilterCallbackHandler_SendLocalReply_Call
func (*FilterCallbackHandler_SendLocalReply_Call) Run ¶
func (_c *FilterCallbackHandler_SendLocalReply_Call) Run(run func(responseCode int, bodyText string, headers map[string][]string, grpcStatus int64, details string)) *FilterCallbackHandler_SendLocalReply_Call
func (*FilterCallbackHandler_SendLocalReply_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_SendLocalReply_Call) RunAndReturn(run func(int, string, map[string][]string, int64, string)) *FilterCallbackHandler_SendLocalReply_Call
type FilterCallbackHandler_StreamInfo_Call ¶
FilterCallbackHandler_StreamInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamInfo'
func (*FilterCallbackHandler_StreamInfo_Call) Return ¶
func (_c *FilterCallbackHandler_StreamInfo_Call) Return(_a0 api.StreamInfo) *FilterCallbackHandler_StreamInfo_Call
func (*FilterCallbackHandler_StreamInfo_Call) Run ¶
func (_c *FilterCallbackHandler_StreamInfo_Call) Run(run func()) *FilterCallbackHandler_StreamInfo_Call
func (*FilterCallbackHandler_StreamInfo_Call) RunAndReturn ¶
func (_c *FilterCallbackHandler_StreamInfo_Call) RunAndReturn(run func() api.StreamInfo) *FilterCallbackHandler_StreamInfo_Call
type GaugeMetric ¶
GaugeMetric is an autogenerated mock type for the GaugeMetric type
func NewGaugeMetric ¶
func NewGaugeMetric(t interface { mock.TestingT Cleanup(func()) }) *GaugeMetric
NewGaugeMetric creates a new instance of GaugeMetric. 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 (*GaugeMetric) EXPECT ¶
func (_m *GaugeMetric) EXPECT() *GaugeMetric_Expecter
func (*GaugeMetric) Get ¶
func (_m *GaugeMetric) Get() uint64
Get provides a mock function with given fields:
func (*GaugeMetric) Increment ¶
func (_m *GaugeMetric) Increment(offset int64)
Increment provides a mock function with given fields: offset
func (*GaugeMetric) Record ¶
func (_m *GaugeMetric) Record(value uint64)
Record provides a mock function with given fields: value
type GaugeMetric_Expecter ¶
type GaugeMetric_Expecter struct {
// contains filtered or unexported fields
}
func (*GaugeMetric_Expecter) Get ¶
func (_e *GaugeMetric_Expecter) Get() *GaugeMetric_Get_Call
Get is a helper method to define mock.On call
func (*GaugeMetric_Expecter) Increment ¶
func (_e *GaugeMetric_Expecter) Increment(offset interface{}) *GaugeMetric_Increment_Call
Increment is a helper method to define mock.On call
- offset int64
func (*GaugeMetric_Expecter) Record ¶
func (_e *GaugeMetric_Expecter) Record(value interface{}) *GaugeMetric_Record_Call
Record is a helper method to define mock.On call
- value uint64
type GaugeMetric_Get_Call ¶
GaugeMetric_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*GaugeMetric_Get_Call) Return ¶
func (_c *GaugeMetric_Get_Call) Return(_a0 uint64) *GaugeMetric_Get_Call
func (*GaugeMetric_Get_Call) Run ¶
func (_c *GaugeMetric_Get_Call) Run(run func()) *GaugeMetric_Get_Call
func (*GaugeMetric_Get_Call) RunAndReturn ¶
func (_c *GaugeMetric_Get_Call) RunAndReturn(run func() uint64) *GaugeMetric_Get_Call
type GaugeMetric_Increment_Call ¶
GaugeMetric_Increment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Increment'
func (*GaugeMetric_Increment_Call) Return ¶
func (_c *GaugeMetric_Increment_Call) Return() *GaugeMetric_Increment_Call
func (*GaugeMetric_Increment_Call) Run ¶
func (_c *GaugeMetric_Increment_Call) Run(run func(offset int64)) *GaugeMetric_Increment_Call
func (*GaugeMetric_Increment_Call) RunAndReturn ¶
func (_c *GaugeMetric_Increment_Call) RunAndReturn(run func(int64)) *GaugeMetric_Increment_Call
type GaugeMetric_Record_Call ¶
GaugeMetric_Record_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Record'
func (*GaugeMetric_Record_Call) Return ¶
func (_c *GaugeMetric_Record_Call) Return() *GaugeMetric_Record_Call
func (*GaugeMetric_Record_Call) Run ¶
func (_c *GaugeMetric_Record_Call) Run(run func(value uint64)) *GaugeMetric_Record_Call
func (*GaugeMetric_Record_Call) RunAndReturn ¶
func (_c *GaugeMetric_Record_Call) RunAndReturn(run func(uint64)) *GaugeMetric_Record_Call
type RequestHeaderMap ¶
RequestHeaderMap is an autogenerated mock type for the RequestHeaderMap type
func NewRequestHeaderMap ¶
func NewRequestHeaderMap(t interface { mock.TestingT Cleanup(func()) }) *RequestHeaderMap
NewRequestHeaderMap creates a new instance of RequestHeaderMap. 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 (*RequestHeaderMap) Add ¶
func (_m *RequestHeaderMap) Add(key string, value string)
Add provides a mock function with given fields: key, value
func (*RequestHeaderMap) Del ¶
func (_m *RequestHeaderMap) Del(key string)
Del provides a mock function with given fields: key
func (*RequestHeaderMap) EXPECT ¶
func (_m *RequestHeaderMap) EXPECT() *RequestHeaderMap_Expecter
func (*RequestHeaderMap) Get ¶
func (_m *RequestHeaderMap) Get(key string) (string, bool)
Get provides a mock function with given fields: key
func (*RequestHeaderMap) GetRaw ¶
func (_m *RequestHeaderMap) GetRaw(name string) string
GetRaw provides a mock function with given fields: name
func (*RequestHeaderMap) Host ¶
func (_m *RequestHeaderMap) Host() string
Host provides a mock function with given fields:
func (*RequestHeaderMap) Method ¶
func (_m *RequestHeaderMap) Method() string
Method provides a mock function with given fields:
func (*RequestHeaderMap) Path ¶
func (_m *RequestHeaderMap) Path() string
Path provides a mock function with given fields:
func (*RequestHeaderMap) Range ¶
func (_m *RequestHeaderMap) Range(f func(string, string) bool)
Range provides a mock function with given fields: f
func (*RequestHeaderMap) RangeWithCopy ¶
func (_m *RequestHeaderMap) RangeWithCopy(f func(string, string) bool)
RangeWithCopy provides a mock function with given fields: f
func (*RequestHeaderMap) Scheme ¶
func (_m *RequestHeaderMap) Scheme() string
Scheme provides a mock function with given fields:
func (*RequestHeaderMap) Set ¶
func (_m *RequestHeaderMap) Set(key string, value string)
Set provides a mock function with given fields: key, value
func (*RequestHeaderMap) Values ¶
func (_m *RequestHeaderMap) Values(key string) []string
Values provides a mock function with given fields: key
type RequestHeaderMap_Add_Call ¶
RequestHeaderMap_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*RequestHeaderMap_Add_Call) Return ¶
func (_c *RequestHeaderMap_Add_Call) Return() *RequestHeaderMap_Add_Call
func (*RequestHeaderMap_Add_Call) Run ¶
func (_c *RequestHeaderMap_Add_Call) Run(run func(key string, value string)) *RequestHeaderMap_Add_Call
func (*RequestHeaderMap_Add_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Add_Call) RunAndReturn(run func(string, string)) *RequestHeaderMap_Add_Call
type RequestHeaderMap_Del_Call ¶
RequestHeaderMap_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*RequestHeaderMap_Del_Call) Return ¶
func (_c *RequestHeaderMap_Del_Call) Return() *RequestHeaderMap_Del_Call
func (*RequestHeaderMap_Del_Call) Run ¶
func (_c *RequestHeaderMap_Del_Call) Run(run func(key string)) *RequestHeaderMap_Del_Call
func (*RequestHeaderMap_Del_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Del_Call) RunAndReturn(run func(string)) *RequestHeaderMap_Del_Call
type RequestHeaderMap_Expecter ¶
type RequestHeaderMap_Expecter struct {
// contains filtered or unexported fields
}
func (*RequestHeaderMap_Expecter) Add ¶
func (_e *RequestHeaderMap_Expecter) Add(key interface{}, value interface{}) *RequestHeaderMap_Add_Call
Add is a helper method to define mock.On call
- key string
- value string
func (*RequestHeaderMap_Expecter) Del ¶
func (_e *RequestHeaderMap_Expecter) Del(key interface{}) *RequestHeaderMap_Del_Call
Del is a helper method to define mock.On call
- key string
func (*RequestHeaderMap_Expecter) Get ¶
func (_e *RequestHeaderMap_Expecter) Get(key interface{}) *RequestHeaderMap_Get_Call
Get is a helper method to define mock.On call
- key string
func (*RequestHeaderMap_Expecter) GetRaw ¶
func (_e *RequestHeaderMap_Expecter) GetRaw(name interface{}) *RequestHeaderMap_GetRaw_Call
GetRaw is a helper method to define mock.On call
- name string
func (*RequestHeaderMap_Expecter) Host ¶
func (_e *RequestHeaderMap_Expecter) Host() *RequestHeaderMap_Host_Call
Host is a helper method to define mock.On call
func (*RequestHeaderMap_Expecter) Method ¶
func (_e *RequestHeaderMap_Expecter) Method() *RequestHeaderMap_Method_Call
Method is a helper method to define mock.On call
func (*RequestHeaderMap_Expecter) Path ¶
func (_e *RequestHeaderMap_Expecter) Path() *RequestHeaderMap_Path_Call
Path is a helper method to define mock.On call
func (*RequestHeaderMap_Expecter) Range ¶
func (_e *RequestHeaderMap_Expecter) Range(f interface{}) *RequestHeaderMap_Range_Call
Range is a helper method to define mock.On call
- f func(string , string) bool
func (*RequestHeaderMap_Expecter) RangeWithCopy ¶
func (_e *RequestHeaderMap_Expecter) RangeWithCopy(f interface{}) *RequestHeaderMap_RangeWithCopy_Call
RangeWithCopy is a helper method to define mock.On call
- f func(string , string) bool
func (*RequestHeaderMap_Expecter) Scheme ¶
func (_e *RequestHeaderMap_Expecter) Scheme() *RequestHeaderMap_Scheme_Call
Scheme is a helper method to define mock.On call
func (*RequestHeaderMap_Expecter) Set ¶
func (_e *RequestHeaderMap_Expecter) Set(key interface{}, value interface{}) *RequestHeaderMap_Set_Call
Set is a helper method to define mock.On call
- key string
- value string
func (*RequestHeaderMap_Expecter) Values ¶
func (_e *RequestHeaderMap_Expecter) Values(key interface{}) *RequestHeaderMap_Values_Call
Values is a helper method to define mock.On call
- key string
type RequestHeaderMap_GetRaw_Call ¶
RequestHeaderMap_GetRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRaw'
func (*RequestHeaderMap_GetRaw_Call) Return ¶
func (_c *RequestHeaderMap_GetRaw_Call) Return(_a0 string) *RequestHeaderMap_GetRaw_Call
func (*RequestHeaderMap_GetRaw_Call) Run ¶
func (_c *RequestHeaderMap_GetRaw_Call) Run(run func(name string)) *RequestHeaderMap_GetRaw_Call
func (*RequestHeaderMap_GetRaw_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_GetRaw_Call) RunAndReturn(run func(string) string) *RequestHeaderMap_GetRaw_Call
type RequestHeaderMap_Get_Call ¶
RequestHeaderMap_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*RequestHeaderMap_Get_Call) Return ¶
func (_c *RequestHeaderMap_Get_Call) Return(_a0 string, _a1 bool) *RequestHeaderMap_Get_Call
func (*RequestHeaderMap_Get_Call) Run ¶
func (_c *RequestHeaderMap_Get_Call) Run(run func(key string)) *RequestHeaderMap_Get_Call
func (*RequestHeaderMap_Get_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Get_Call) RunAndReturn(run func(string) (string, bool)) *RequestHeaderMap_Get_Call
type RequestHeaderMap_Host_Call ¶
RequestHeaderMap_Host_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Host'
func (*RequestHeaderMap_Host_Call) Return ¶
func (_c *RequestHeaderMap_Host_Call) Return(_a0 string) *RequestHeaderMap_Host_Call
func (*RequestHeaderMap_Host_Call) Run ¶
func (_c *RequestHeaderMap_Host_Call) Run(run func()) *RequestHeaderMap_Host_Call
func (*RequestHeaderMap_Host_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Host_Call) RunAndReturn(run func() string) *RequestHeaderMap_Host_Call
type RequestHeaderMap_Method_Call ¶
RequestHeaderMap_Method_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Method'
func (*RequestHeaderMap_Method_Call) Return ¶
func (_c *RequestHeaderMap_Method_Call) Return(_a0 string) *RequestHeaderMap_Method_Call
func (*RequestHeaderMap_Method_Call) Run ¶
func (_c *RequestHeaderMap_Method_Call) Run(run func()) *RequestHeaderMap_Method_Call
func (*RequestHeaderMap_Method_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Method_Call) RunAndReturn(run func() string) *RequestHeaderMap_Method_Call
type RequestHeaderMap_Path_Call ¶
RequestHeaderMap_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'
func (*RequestHeaderMap_Path_Call) Return ¶
func (_c *RequestHeaderMap_Path_Call) Return(_a0 string) *RequestHeaderMap_Path_Call
func (*RequestHeaderMap_Path_Call) Run ¶
func (_c *RequestHeaderMap_Path_Call) Run(run func()) *RequestHeaderMap_Path_Call
func (*RequestHeaderMap_Path_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Path_Call) RunAndReturn(run func() string) *RequestHeaderMap_Path_Call
type RequestHeaderMap_RangeWithCopy_Call ¶
RequestHeaderMap_RangeWithCopy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RangeWithCopy'
func (*RequestHeaderMap_RangeWithCopy_Call) Return ¶
func (_c *RequestHeaderMap_RangeWithCopy_Call) Return() *RequestHeaderMap_RangeWithCopy_Call
func (*RequestHeaderMap_RangeWithCopy_Call) Run ¶
func (_c *RequestHeaderMap_RangeWithCopy_Call) Run(run func(f func(string, string) bool)) *RequestHeaderMap_RangeWithCopy_Call
func (*RequestHeaderMap_RangeWithCopy_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_RangeWithCopy_Call) RunAndReturn(run func(func(string, string) bool)) *RequestHeaderMap_RangeWithCopy_Call
type RequestHeaderMap_Range_Call ¶
RequestHeaderMap_Range_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Range'
func (*RequestHeaderMap_Range_Call) Return ¶
func (_c *RequestHeaderMap_Range_Call) Return() *RequestHeaderMap_Range_Call
func (*RequestHeaderMap_Range_Call) Run ¶
func (_c *RequestHeaderMap_Range_Call) Run(run func(f func(string, string) bool)) *RequestHeaderMap_Range_Call
func (*RequestHeaderMap_Range_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *RequestHeaderMap_Range_Call
type RequestHeaderMap_Scheme_Call ¶
RequestHeaderMap_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'
func (*RequestHeaderMap_Scheme_Call) Return ¶
func (_c *RequestHeaderMap_Scheme_Call) Return(_a0 string) *RequestHeaderMap_Scheme_Call
func (*RequestHeaderMap_Scheme_Call) Run ¶
func (_c *RequestHeaderMap_Scheme_Call) Run(run func()) *RequestHeaderMap_Scheme_Call
func (*RequestHeaderMap_Scheme_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Scheme_Call) RunAndReturn(run func() string) *RequestHeaderMap_Scheme_Call
type RequestHeaderMap_Set_Call ¶
RequestHeaderMap_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*RequestHeaderMap_Set_Call) Return ¶
func (_c *RequestHeaderMap_Set_Call) Return() *RequestHeaderMap_Set_Call
func (*RequestHeaderMap_Set_Call) Run ¶
func (_c *RequestHeaderMap_Set_Call) Run(run func(key string, value string)) *RequestHeaderMap_Set_Call
func (*RequestHeaderMap_Set_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Set_Call) RunAndReturn(run func(string, string)) *RequestHeaderMap_Set_Call
type RequestHeaderMap_Values_Call ¶
RequestHeaderMap_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*RequestHeaderMap_Values_Call) Return ¶
func (_c *RequestHeaderMap_Values_Call) Return(_a0 []string) *RequestHeaderMap_Values_Call
func (*RequestHeaderMap_Values_Call) Run ¶
func (_c *RequestHeaderMap_Values_Call) Run(run func(key string)) *RequestHeaderMap_Values_Call
func (*RequestHeaderMap_Values_Call) RunAndReturn ¶
func (_c *RequestHeaderMap_Values_Call) RunAndReturn(run func(string) []string) *RequestHeaderMap_Values_Call
type ResponseHeaderMap ¶
ResponseHeaderMap is an autogenerated mock type for the ResponseHeaderMap type
func NewResponseHeaderMap ¶
func NewResponseHeaderMap(t interface { mock.TestingT Cleanup(func()) }) *ResponseHeaderMap
NewResponseHeaderMap creates a new instance of ResponseHeaderMap. 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 (*ResponseHeaderMap) Add ¶
func (_m *ResponseHeaderMap) Add(key string, value string)
Add provides a mock function with given fields: key, value
func (*ResponseHeaderMap) Del ¶
func (_m *ResponseHeaderMap) Del(key string)
Del provides a mock function with given fields: key
func (*ResponseHeaderMap) EXPECT ¶
func (_m *ResponseHeaderMap) EXPECT() *ResponseHeaderMap_Expecter
func (*ResponseHeaderMap) Get ¶
func (_m *ResponseHeaderMap) Get(key string) (string, bool)
Get provides a mock function with given fields: key
func (*ResponseHeaderMap) GetRaw ¶
func (_m *ResponseHeaderMap) GetRaw(name string) string
GetRaw provides a mock function with given fields: name
func (*ResponseHeaderMap) Range ¶
func (_m *ResponseHeaderMap) Range(f func(string, string) bool)
Range provides a mock function with given fields: f
func (*ResponseHeaderMap) RangeWithCopy ¶
func (_m *ResponseHeaderMap) RangeWithCopy(f func(string, string) bool)
RangeWithCopy provides a mock function with given fields: f
func (*ResponseHeaderMap) Set ¶
func (_m *ResponseHeaderMap) Set(key string, value string)
Set provides a mock function with given fields: key, value
func (*ResponseHeaderMap) Status ¶
func (_m *ResponseHeaderMap) Status() (int, bool)
Status provides a mock function with given fields:
func (*ResponseHeaderMap) Values ¶
func (_m *ResponseHeaderMap) Values(key string) []string
Values provides a mock function with given fields: key
type ResponseHeaderMap_Add_Call ¶
ResponseHeaderMap_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*ResponseHeaderMap_Add_Call) Return ¶
func (_c *ResponseHeaderMap_Add_Call) Return() *ResponseHeaderMap_Add_Call
func (*ResponseHeaderMap_Add_Call) Run ¶
func (_c *ResponseHeaderMap_Add_Call) Run(run func(key string, value string)) *ResponseHeaderMap_Add_Call
func (*ResponseHeaderMap_Add_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Add_Call) RunAndReturn(run func(string, string)) *ResponseHeaderMap_Add_Call
type ResponseHeaderMap_Del_Call ¶
ResponseHeaderMap_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*ResponseHeaderMap_Del_Call) Return ¶
func (_c *ResponseHeaderMap_Del_Call) Return() *ResponseHeaderMap_Del_Call
func (*ResponseHeaderMap_Del_Call) Run ¶
func (_c *ResponseHeaderMap_Del_Call) Run(run func(key string)) *ResponseHeaderMap_Del_Call
func (*ResponseHeaderMap_Del_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Del_Call) RunAndReturn(run func(string)) *ResponseHeaderMap_Del_Call
type ResponseHeaderMap_Expecter ¶
type ResponseHeaderMap_Expecter struct {
// contains filtered or unexported fields
}
func (*ResponseHeaderMap_Expecter) Add ¶
func (_e *ResponseHeaderMap_Expecter) Add(key interface{}, value interface{}) *ResponseHeaderMap_Add_Call
Add is a helper method to define mock.On call
- key string
- value string
func (*ResponseHeaderMap_Expecter) Del ¶
func (_e *ResponseHeaderMap_Expecter) Del(key interface{}) *ResponseHeaderMap_Del_Call
Del is a helper method to define mock.On call
- key string
func (*ResponseHeaderMap_Expecter) Get ¶
func (_e *ResponseHeaderMap_Expecter) Get(key interface{}) *ResponseHeaderMap_Get_Call
Get is a helper method to define mock.On call
- key string
func (*ResponseHeaderMap_Expecter) GetRaw ¶
func (_e *ResponseHeaderMap_Expecter) GetRaw(name interface{}) *ResponseHeaderMap_GetRaw_Call
GetRaw is a helper method to define mock.On call
- name string
func (*ResponseHeaderMap_Expecter) Range ¶
func (_e *ResponseHeaderMap_Expecter) Range(f interface{}) *ResponseHeaderMap_Range_Call
Range is a helper method to define mock.On call
- f func(string , string) bool
func (*ResponseHeaderMap_Expecter) RangeWithCopy ¶
func (_e *ResponseHeaderMap_Expecter) RangeWithCopy(f interface{}) *ResponseHeaderMap_RangeWithCopy_Call
RangeWithCopy is a helper method to define mock.On call
- f func(string , string) bool
func (*ResponseHeaderMap_Expecter) Set ¶
func (_e *ResponseHeaderMap_Expecter) Set(key interface{}, value interface{}) *ResponseHeaderMap_Set_Call
Set is a helper method to define mock.On call
- key string
- value string
func (*ResponseHeaderMap_Expecter) Status ¶
func (_e *ResponseHeaderMap_Expecter) Status() *ResponseHeaderMap_Status_Call
Status is a helper method to define mock.On call
func (*ResponseHeaderMap_Expecter) Values ¶
func (_e *ResponseHeaderMap_Expecter) Values(key interface{}) *ResponseHeaderMap_Values_Call
Values is a helper method to define mock.On call
- key string
type ResponseHeaderMap_GetRaw_Call ¶
ResponseHeaderMap_GetRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRaw'
func (*ResponseHeaderMap_GetRaw_Call) Return ¶
func (_c *ResponseHeaderMap_GetRaw_Call) Return(_a0 string) *ResponseHeaderMap_GetRaw_Call
func (*ResponseHeaderMap_GetRaw_Call) Run ¶
func (_c *ResponseHeaderMap_GetRaw_Call) Run(run func(name string)) *ResponseHeaderMap_GetRaw_Call
func (*ResponseHeaderMap_GetRaw_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_GetRaw_Call) RunAndReturn(run func(string) string) *ResponseHeaderMap_GetRaw_Call
type ResponseHeaderMap_Get_Call ¶
ResponseHeaderMap_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ResponseHeaderMap_Get_Call) Return ¶
func (_c *ResponseHeaderMap_Get_Call) Return(_a0 string, _a1 bool) *ResponseHeaderMap_Get_Call
func (*ResponseHeaderMap_Get_Call) Run ¶
func (_c *ResponseHeaderMap_Get_Call) Run(run func(key string)) *ResponseHeaderMap_Get_Call
func (*ResponseHeaderMap_Get_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Get_Call) RunAndReturn(run func(string) (string, bool)) *ResponseHeaderMap_Get_Call
type ResponseHeaderMap_RangeWithCopy_Call ¶
ResponseHeaderMap_RangeWithCopy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RangeWithCopy'
func (*ResponseHeaderMap_RangeWithCopy_Call) Return ¶
func (_c *ResponseHeaderMap_RangeWithCopy_Call) Return() *ResponseHeaderMap_RangeWithCopy_Call
func (*ResponseHeaderMap_RangeWithCopy_Call) Run ¶
func (_c *ResponseHeaderMap_RangeWithCopy_Call) Run(run func(f func(string, string) bool)) *ResponseHeaderMap_RangeWithCopy_Call
func (*ResponseHeaderMap_RangeWithCopy_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_RangeWithCopy_Call) RunAndReturn(run func(func(string, string) bool)) *ResponseHeaderMap_RangeWithCopy_Call
type ResponseHeaderMap_Range_Call ¶
ResponseHeaderMap_Range_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Range'
func (*ResponseHeaderMap_Range_Call) Return ¶
func (_c *ResponseHeaderMap_Range_Call) Return() *ResponseHeaderMap_Range_Call
func (*ResponseHeaderMap_Range_Call) Run ¶
func (_c *ResponseHeaderMap_Range_Call) Run(run func(f func(string, string) bool)) *ResponseHeaderMap_Range_Call
func (*ResponseHeaderMap_Range_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *ResponseHeaderMap_Range_Call
type ResponseHeaderMap_Set_Call ¶
ResponseHeaderMap_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*ResponseHeaderMap_Set_Call) Return ¶
func (_c *ResponseHeaderMap_Set_Call) Return() *ResponseHeaderMap_Set_Call
func (*ResponseHeaderMap_Set_Call) Run ¶
func (_c *ResponseHeaderMap_Set_Call) Run(run func(key string, value string)) *ResponseHeaderMap_Set_Call
func (*ResponseHeaderMap_Set_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Set_Call) RunAndReturn(run func(string, string)) *ResponseHeaderMap_Set_Call
type ResponseHeaderMap_Status_Call ¶
ResponseHeaderMap_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*ResponseHeaderMap_Status_Call) Return ¶
func (_c *ResponseHeaderMap_Status_Call) Return(_a0 int, _a1 bool) *ResponseHeaderMap_Status_Call
func (*ResponseHeaderMap_Status_Call) Run ¶
func (_c *ResponseHeaderMap_Status_Call) Run(run func()) *ResponseHeaderMap_Status_Call
func (*ResponseHeaderMap_Status_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Status_Call) RunAndReturn(run func() (int, bool)) *ResponseHeaderMap_Status_Call
type ResponseHeaderMap_Values_Call ¶
ResponseHeaderMap_Values_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Values'
func (*ResponseHeaderMap_Values_Call) Return ¶
func (_c *ResponseHeaderMap_Values_Call) Return(_a0 []string) *ResponseHeaderMap_Values_Call
func (*ResponseHeaderMap_Values_Call) Run ¶
func (_c *ResponseHeaderMap_Values_Call) Run(run func(key string)) *ResponseHeaderMap_Values_Call
func (*ResponseHeaderMap_Values_Call) RunAndReturn ¶
func (_c *ResponseHeaderMap_Values_Call) RunAndReturn(run func(string) []string) *ResponseHeaderMap_Values_Call