mock_envoy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferInstance

type BufferInstance struct {
	mock.Mock
}

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 (*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

type BufferInstance_AppendString_Call struct {
	*mock.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 (*BufferInstance_AppendString_Call) Run

func (*BufferInstance_AppendString_Call) RunAndReturn

type BufferInstance_Append_Call

type BufferInstance_Append_Call struct {
	*mock.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 (*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

type BufferInstance_Bytes_Call struct {
	*mock.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 (*BufferInstance_Bytes_Call) Run

func (*BufferInstance_Bytes_Call) RunAndReturn

func (_c *BufferInstance_Bytes_Call) RunAndReturn(run func() []byte) *BufferInstance_Bytes_Call

type BufferInstance_Drain_Call

type BufferInstance_Drain_Call struct {
	*mock.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 (*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

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

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

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

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

type BufferInstance_Len_Call struct {
	*mock.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 (*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

type BufferInstance_PrependString_Call struct {
	*mock.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 (*BufferInstance_PrependString_Call) Run

func (*BufferInstance_PrependString_Call) RunAndReturn

type BufferInstance_Prepend_Call

type BufferInstance_Prepend_Call struct {
	*mock.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 (*BufferInstance_Prepend_Call) Run

func (*BufferInstance_Prepend_Call) RunAndReturn

func (_c *BufferInstance_Prepend_Call) RunAndReturn(run func([]byte) error) *BufferInstance_Prepend_Call

type BufferInstance_Reset_Call

type BufferInstance_Reset_Call struct {
	*mock.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 (*BufferInstance_Reset_Call) Run

func (*BufferInstance_Reset_Call) RunAndReturn

func (_c *BufferInstance_Reset_Call) RunAndReturn(run func()) *BufferInstance_Reset_Call

type BufferInstance_SetString_Call

type BufferInstance_SetString_Call struct {
	*mock.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 (*BufferInstance_SetString_Call) Run

func (*BufferInstance_SetString_Call) RunAndReturn

type BufferInstance_Set_Call

type BufferInstance_Set_Call struct {
	*mock.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 (*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

type BufferInstance_String_Call struct {
	*mock.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 (*BufferInstance_String_Call) Run

func (*BufferInstance_String_Call) RunAndReturn

func (_c *BufferInstance_String_Call) RunAndReturn(run func() string) *BufferInstance_String_Call

type BufferInstance_WriteByte_Call

type BufferInstance_WriteByte_Call struct {
	*mock.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 (*BufferInstance_WriteByte_Call) Run

func (*BufferInstance_WriteByte_Call) RunAndReturn

type BufferInstance_WriteString_Call

type BufferInstance_WriteString_Call struct {
	*mock.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 (*BufferInstance_WriteString_Call) Run

func (*BufferInstance_WriteString_Call) RunAndReturn

type BufferInstance_WriteUint16_Call

type BufferInstance_WriteUint16_Call struct {
	*mock.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 (*BufferInstance_WriteUint16_Call) Run

func (*BufferInstance_WriteUint16_Call) RunAndReturn

type BufferInstance_WriteUint32_Call

type BufferInstance_WriteUint32_Call struct {
	*mock.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 (*BufferInstance_WriteUint32_Call) Run

func (*BufferInstance_WriteUint32_Call) RunAndReturn

type BufferInstance_WriteUint64_Call

type BufferInstance_WriteUint64_Call struct {
	*mock.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 (*BufferInstance_WriteUint64_Call) Run

func (*BufferInstance_WriteUint64_Call) RunAndReturn

type BufferInstance_Write_Call

type BufferInstance_Write_Call struct {
	*mock.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 (*BufferInstance_Write_Call) Run

func (*BufferInstance_Write_Call) RunAndReturn

func (_c *BufferInstance_Write_Call) RunAndReturn(run func([]byte) (int, error)) *BufferInstance_Write_Call

type ConfigCallbackHandler

type ConfigCallbackHandler struct {
	mock.Mock
}

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

type ConfigCallbackHandler_DefineCounterMetric_Call

type ConfigCallbackHandler_DefineCounterMetric_Call struct {
	*mock.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 (*ConfigCallbackHandler_DefineCounterMetric_Call) Run

func (*ConfigCallbackHandler_DefineCounterMetric_Call) RunAndReturn

type ConfigCallbackHandler_DefineGaugeMetric_Call

type ConfigCallbackHandler_DefineGaugeMetric_Call struct {
	*mock.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 (*ConfigCallbackHandler_DefineGaugeMetric_Call) Run

func (*ConfigCallbackHandler_DefineGaugeMetric_Call) RunAndReturn

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

type CounterMetric struct {
	mock.Mock
}

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

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

type CounterMetric_Get_Call struct {
	*mock.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 (*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

type CounterMetric_Increment_Call struct {
	*mock.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 (*CounterMetric_Increment_Call) Run

func (*CounterMetric_Increment_Call) RunAndReturn

type CounterMetric_Record_Call

type CounterMetric_Record_Call struct {
	*mock.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 (*CounterMetric_Record_Call) Run

func (*CounterMetric_Record_Call) RunAndReturn

func (_c *CounterMetric_Record_Call) RunAndReturn(run func(uint64)) *CounterMetric_Record_Call

type FilterCallbackHandler

type FilterCallbackHandler struct {
	mock.Mock
}

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) ClearRouteCache added in v0.4.0

func (_m *FilterCallbackHandler) ClearRouteCache()

ClearRouteCache provides a mock function with given fields:

func (*FilterCallbackHandler) Continue

func (_m *FilterCallbackHandler) Continue(_a0 api.StatusType)

Continue provides a mock function with given fields: _a0

func (*FilterCallbackHandler) EXPECT

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_ClearRouteCache_Call added in v0.4.0

type FilterCallbackHandler_ClearRouteCache_Call struct {
	*mock.Call
}

FilterCallbackHandler_ClearRouteCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearRouteCache'

func (*FilterCallbackHandler_ClearRouteCache_Call) Return added in v0.4.0

func (*FilterCallbackHandler_ClearRouteCache_Call) Run added in v0.4.0

func (*FilterCallbackHandler_ClearRouteCache_Call) RunAndReturn added in v0.4.0

type FilterCallbackHandler_Continue_Call

type FilterCallbackHandler_Continue_Call struct {
	*mock.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 (*FilterCallbackHandler_Continue_Call) Run

func (*FilterCallbackHandler_Continue_Call) RunAndReturn

type FilterCallbackHandler_Expecter

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

func (*FilterCallbackHandler_Expecter) ClearRouteCache added in v0.4.0

ClearRouteCache is a helper method to define mock.On call

func (*FilterCallbackHandler_Expecter) Continue

Continue is a helper method to define mock.On call

  • _a0 api.StatusType

func (*FilterCallbackHandler_Expecter) GetProperty

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

LogLevel is a helper method to define mock.On call

func (*FilterCallbackHandler_Expecter) RecoverPanic

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

StreamInfo is a helper method to define mock.On call

type FilterCallbackHandler_GetProperty_Call

type FilterCallbackHandler_GetProperty_Call struct {
	*mock.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 (*FilterCallbackHandler_GetProperty_Call) Run

func (*FilterCallbackHandler_GetProperty_Call) RunAndReturn

type FilterCallbackHandler_LogLevel_Call

type FilterCallbackHandler_LogLevel_Call struct {
	*mock.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 (*FilterCallbackHandler_LogLevel_Call) Run

func (*FilterCallbackHandler_LogLevel_Call) RunAndReturn

type FilterCallbackHandler_Log_Call

type FilterCallbackHandler_Log_Call struct {
	*mock.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 (*FilterCallbackHandler_Log_Call) Run

func (*FilterCallbackHandler_Log_Call) RunAndReturn

type FilterCallbackHandler_RecoverPanic_Call

type FilterCallbackHandler_RecoverPanic_Call struct {
	*mock.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 (*FilterCallbackHandler_RecoverPanic_Call) Run

func (*FilterCallbackHandler_RecoverPanic_Call) RunAndReturn

type FilterCallbackHandler_SendLocalReply_Call

type FilterCallbackHandler_SendLocalReply_Call struct {
	*mock.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 (*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

type FilterCallbackHandler_StreamInfo_Call

type FilterCallbackHandler_StreamInfo_Call struct {
	*mock.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 (*FilterCallbackHandler_StreamInfo_Call) Run

func (*FilterCallbackHandler_StreamInfo_Call) RunAndReturn

type GaugeMetric

type GaugeMetric struct {
	mock.Mock
}

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

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

type GaugeMetric_Get_Call struct {
	*mock.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 (*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

type GaugeMetric_Increment_Call struct {
	*mock.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 (*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

type GaugeMetric_Record_Call struct {
	*mock.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 (*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

type RequestHeaderMap struct {
	mock.Mock
}

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 (*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) SetHost added in v0.4.0

func (_m *RequestHeaderMap) SetHost(host string)

SetHost provides a mock function with given fields: host

func (*RequestHeaderMap) SetMethod added in v0.4.0

func (_m *RequestHeaderMap) SetMethod(method string)

SetMethod provides a mock function with given fields: method

func (*RequestHeaderMap) SetPath added in v0.4.0

func (_m *RequestHeaderMap) SetPath(path string)

SetPath provides a mock function with given fields: path

func (*RequestHeaderMap) Values

func (_m *RequestHeaderMap) Values(key string) []string

Values provides a mock function with given fields: key

type RequestHeaderMap_Add_Call

type RequestHeaderMap_Add_Call struct {
	*mock.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 (*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

type RequestHeaderMap_Del_Call struct {
	*mock.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 (*RequestHeaderMap_Del_Call) Run

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

Host is a helper method to define mock.On call

func (*RequestHeaderMap_Expecter) Method

Method is a helper method to define mock.On call

func (*RequestHeaderMap_Expecter) Path

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

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) SetHost added in v0.4.0

func (_e *RequestHeaderMap_Expecter) SetHost(host interface{}) *RequestHeaderMap_SetHost_Call

SetHost is a helper method to define mock.On call

  • host string

func (*RequestHeaderMap_Expecter) SetMethod added in v0.4.0

func (_e *RequestHeaderMap_Expecter) SetMethod(method interface{}) *RequestHeaderMap_SetMethod_Call

SetMethod is a helper method to define mock.On call

  • method string

func (*RequestHeaderMap_Expecter) SetPath added in v0.4.0

func (_e *RequestHeaderMap_Expecter) SetPath(path interface{}) *RequestHeaderMap_SetPath_Call

SetPath is a helper method to define mock.On call

  • path 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

type RequestHeaderMap_GetRaw_Call struct {
	*mock.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 (*RequestHeaderMap_GetRaw_Call) Run

func (*RequestHeaderMap_GetRaw_Call) RunAndReturn

type RequestHeaderMap_Get_Call

type RequestHeaderMap_Get_Call struct {
	*mock.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 (*RequestHeaderMap_Get_Call) Run

func (*RequestHeaderMap_Get_Call) RunAndReturn

func (_c *RequestHeaderMap_Get_Call) RunAndReturn(run func(string) (string, bool)) *RequestHeaderMap_Get_Call

type RequestHeaderMap_Host_Call

type RequestHeaderMap_Host_Call struct {
	*mock.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 (*RequestHeaderMap_Host_Call) Run

func (*RequestHeaderMap_Host_Call) RunAndReturn

func (_c *RequestHeaderMap_Host_Call) RunAndReturn(run func() string) *RequestHeaderMap_Host_Call

type RequestHeaderMap_Method_Call

type RequestHeaderMap_Method_Call struct {
	*mock.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 (*RequestHeaderMap_Method_Call) Run

func (*RequestHeaderMap_Method_Call) RunAndReturn

type RequestHeaderMap_Path_Call

type RequestHeaderMap_Path_Call struct {
	*mock.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 (*RequestHeaderMap_Path_Call) Run

func (*RequestHeaderMap_Path_Call) RunAndReturn

func (_c *RequestHeaderMap_Path_Call) RunAndReturn(run func() string) *RequestHeaderMap_Path_Call

type RequestHeaderMap_RangeWithCopy_Call

type RequestHeaderMap_RangeWithCopy_Call struct {
	*mock.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 (*RequestHeaderMap_RangeWithCopy_Call) Run

func (*RequestHeaderMap_RangeWithCopy_Call) RunAndReturn

type RequestHeaderMap_Range_Call

type RequestHeaderMap_Range_Call struct {
	*mock.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 (*RequestHeaderMap_Range_Call) Run

func (*RequestHeaderMap_Range_Call) RunAndReturn

func (_c *RequestHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *RequestHeaderMap_Range_Call

type RequestHeaderMap_Scheme_Call

type RequestHeaderMap_Scheme_Call struct {
	*mock.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 (*RequestHeaderMap_Scheme_Call) Run

func (*RequestHeaderMap_Scheme_Call) RunAndReturn

type RequestHeaderMap_SetHost_Call added in v0.4.0

type RequestHeaderMap_SetHost_Call struct {
	*mock.Call
}

RequestHeaderMap_SetHost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHost'

func (*RequestHeaderMap_SetHost_Call) Return added in v0.4.0

func (*RequestHeaderMap_SetHost_Call) Run added in v0.4.0

func (*RequestHeaderMap_SetHost_Call) RunAndReturn added in v0.4.0

type RequestHeaderMap_SetMethod_Call added in v0.4.0

type RequestHeaderMap_SetMethod_Call struct {
	*mock.Call
}

RequestHeaderMap_SetMethod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMethod'

func (*RequestHeaderMap_SetMethod_Call) Return added in v0.4.0

func (*RequestHeaderMap_SetMethod_Call) Run added in v0.4.0

func (*RequestHeaderMap_SetMethod_Call) RunAndReturn added in v0.4.0

type RequestHeaderMap_SetPath_Call added in v0.4.0

type RequestHeaderMap_SetPath_Call struct {
	*mock.Call
}

RequestHeaderMap_SetPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPath'

func (*RequestHeaderMap_SetPath_Call) Return added in v0.4.0

func (*RequestHeaderMap_SetPath_Call) Run added in v0.4.0

func (*RequestHeaderMap_SetPath_Call) RunAndReturn added in v0.4.0

type RequestHeaderMap_Set_Call

type RequestHeaderMap_Set_Call struct {
	*mock.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 (*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

type RequestHeaderMap_Values_Call struct {
	*mock.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 (*RequestHeaderMap_Values_Call) Run

func (*RequestHeaderMap_Values_Call) RunAndReturn

type ResponseHeaderMap

type ResponseHeaderMap struct {
	mock.Mock
}

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 (*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

type ResponseHeaderMap_Add_Call struct {
	*mock.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 (*ResponseHeaderMap_Add_Call) Run

func (_c *ResponseHeaderMap_Add_Call) Run(run func(key string, value string)) *ResponseHeaderMap_Add_Call

func (*ResponseHeaderMap_Add_Call) RunAndReturn

type ResponseHeaderMap_Del_Call

type ResponseHeaderMap_Del_Call struct {
	*mock.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 (*ResponseHeaderMap_Del_Call) Run

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

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

type ResponseHeaderMap_GetRaw_Call struct {
	*mock.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 (*ResponseHeaderMap_GetRaw_Call) Run

func (*ResponseHeaderMap_GetRaw_Call) RunAndReturn

type ResponseHeaderMap_Get_Call

type ResponseHeaderMap_Get_Call struct {
	*mock.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 (*ResponseHeaderMap_Get_Call) Run

func (*ResponseHeaderMap_Get_Call) RunAndReturn

type ResponseHeaderMap_RangeWithCopy_Call

type ResponseHeaderMap_RangeWithCopy_Call struct {
	*mock.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 (*ResponseHeaderMap_RangeWithCopy_Call) Run

func (*ResponseHeaderMap_RangeWithCopy_Call) RunAndReturn

type ResponseHeaderMap_Range_Call

type ResponseHeaderMap_Range_Call struct {
	*mock.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 (*ResponseHeaderMap_Range_Call) Run

func (*ResponseHeaderMap_Range_Call) RunAndReturn

func (_c *ResponseHeaderMap_Range_Call) RunAndReturn(run func(func(string, string) bool)) *ResponseHeaderMap_Range_Call

type ResponseHeaderMap_Set_Call

type ResponseHeaderMap_Set_Call struct {
	*mock.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 (*ResponseHeaderMap_Set_Call) Run

func (_c *ResponseHeaderMap_Set_Call) Run(run func(key string, value string)) *ResponseHeaderMap_Set_Call

func (*ResponseHeaderMap_Set_Call) RunAndReturn

type ResponseHeaderMap_Status_Call

type ResponseHeaderMap_Status_Call struct {
	*mock.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 (*ResponseHeaderMap_Status_Call) Run

func (*ResponseHeaderMap_Status_Call) RunAndReturn

func (_c *ResponseHeaderMap_Status_Call) RunAndReturn(run func() (int, bool)) *ResponseHeaderMap_Status_Call

type ResponseHeaderMap_Values_Call

type ResponseHeaderMap_Values_Call struct {
	*mock.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 (*ResponseHeaderMap_Values_Call) Run

func (*ResponseHeaderMap_Values_Call) RunAndReturn

Jump to

Keyboard shortcuts

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