Documentation
¶
Index ¶
- type ExtensionConfiguration
- type ExtensionConfiguration_Expecter
- type ExtensionConfiguration_Validate_Call
- func (_c *ExtensionConfiguration_Validate_Call) Return(_a0 string, _a1 *multierror.Error) *ExtensionConfiguration_Validate_Call
- func (_c *ExtensionConfiguration_Validate_Call) Run(run func(_a0 []byte, _a1 string)) *ExtensionConfiguration_Validate_Call
- func (_c *ExtensionConfiguration_Validate_Call) RunAndReturn(run func([]byte, string) (string, *multierror.Error)) *ExtensionConfiguration_Validate_Call
- type ExtensionConfiguration_WithSchema_Call
- func (_c *ExtensionConfiguration_WithSchema_Call) Return(_a0 error) *ExtensionConfiguration_WithSchema_Call
- func (_c *ExtensionConfiguration_WithSchema_Call) Run(run func(_a0 []byte)) *ExtensionConfiguration_WithSchema_Call
- func (_c *ExtensionConfiguration_WithSchema_Call) RunAndReturn(run func([]byte) error) *ExtensionConfiguration_WithSchema_Call
- type ResponseWriter
- type ResponseWriter_Expecter
- type ResponseWriter_Header_Call
- type ResponseWriter_WriteHeader_Call
- type ResponseWriter_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionConfiguration ¶
ExtensionConfiguration is an autogenerated mock type for the ExtensionConfiguration type
func NewExtensionConfiguration ¶
func NewExtensionConfiguration(t interface { mock.TestingT Cleanup(func()) }) *ExtensionConfiguration
NewExtensionConfiguration creates a new instance of ExtensionConfiguration. 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 (*ExtensionConfiguration) EXPECT ¶
func (_m *ExtensionConfiguration) EXPECT() *ExtensionConfiguration_Expecter
func (*ExtensionConfiguration) Validate ¶
func (_m *ExtensionConfiguration) Validate(_a0 []byte, _a1 string) (string, *multierror.Error)
Validate provides a mock function with given fields: _a0, _a1
func (*ExtensionConfiguration) WithSchema ¶
func (_m *ExtensionConfiguration) WithSchema(_a0 []byte) error
WithSchema provides a mock function with given fields: _a0
type ExtensionConfiguration_Expecter ¶
type ExtensionConfiguration_Expecter struct {
// contains filtered or unexported fields
}
func (*ExtensionConfiguration_Expecter) Validate ¶
func (_e *ExtensionConfiguration_Expecter) Validate(_a0 interface{}, _a1 interface{}) *ExtensionConfiguration_Validate_Call
Validate is a helper method to define mock.On call
- _a0 []byte
- _a1 string
func (*ExtensionConfiguration_Expecter) WithSchema ¶
func (_e *ExtensionConfiguration_Expecter) WithSchema(_a0 interface{}) *ExtensionConfiguration_WithSchema_Call
WithSchema is a helper method to define mock.On call
- _a0 []byte
type ExtensionConfiguration_Validate_Call ¶
ExtensionConfiguration_Validate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validate'
func (*ExtensionConfiguration_Validate_Call) Return ¶
func (_c *ExtensionConfiguration_Validate_Call) Return(_a0 string, _a1 *multierror.Error) *ExtensionConfiguration_Validate_Call
func (*ExtensionConfiguration_Validate_Call) Run ¶
func (_c *ExtensionConfiguration_Validate_Call) Run(run func(_a0 []byte, _a1 string)) *ExtensionConfiguration_Validate_Call
func (*ExtensionConfiguration_Validate_Call) RunAndReturn ¶
func (_c *ExtensionConfiguration_Validate_Call) RunAndReturn(run func([]byte, string) (string, *multierror.Error)) *ExtensionConfiguration_Validate_Call
type ExtensionConfiguration_WithSchema_Call ¶
ExtensionConfiguration_WithSchema_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSchema'
func (*ExtensionConfiguration_WithSchema_Call) Return ¶
func (_c *ExtensionConfiguration_WithSchema_Call) Return(_a0 error) *ExtensionConfiguration_WithSchema_Call
func (*ExtensionConfiguration_WithSchema_Call) Run ¶
func (_c *ExtensionConfiguration_WithSchema_Call) Run(run func(_a0 []byte)) *ExtensionConfiguration_WithSchema_Call
func (*ExtensionConfiguration_WithSchema_Call) RunAndReturn ¶
func (_c *ExtensionConfiguration_WithSchema_Call) RunAndReturn(run func([]byte) error) *ExtensionConfiguration_WithSchema_Call
type ResponseWriter ¶
ResponseWriter is an autogenerated mock type for the ResponseWriter type
func NewResponseWriter ¶
func NewResponseWriter(t interface { mock.TestingT Cleanup(func()) }) *ResponseWriter
NewResponseWriter creates a new instance of ResponseWriter. 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 (*ResponseWriter) EXPECT ¶
func (_m *ResponseWriter) EXPECT() *ResponseWriter_Expecter
func (*ResponseWriter) Header ¶
func (_m *ResponseWriter) Header() http.Header
Header provides a mock function with no fields
func (*ResponseWriter) Write ¶
func (_m *ResponseWriter) Write(_a0 []byte) (int, error)
Write provides a mock function with given fields: _a0
func (*ResponseWriter) WriteHeader ¶
func (_m *ResponseWriter) WriteHeader(statusCode int)
WriteHeader provides a mock function with given fields: statusCode
type ResponseWriter_Expecter ¶
type ResponseWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*ResponseWriter_Expecter) Header ¶
func (_e *ResponseWriter_Expecter) Header() *ResponseWriter_Header_Call
Header is a helper method to define mock.On call
func (*ResponseWriter_Expecter) Write ¶
func (_e *ResponseWriter_Expecter) Write(_a0 interface{}) *ResponseWriter_Write_Call
Write is a helper method to define mock.On call
- _a0 []byte
func (*ResponseWriter_Expecter) WriteHeader ¶
func (_e *ResponseWriter_Expecter) WriteHeader(statusCode interface{}) *ResponseWriter_WriteHeader_Call
WriteHeader is a helper method to define mock.On call
- statusCode int
type ResponseWriter_Header_Call ¶
ResponseWriter_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*ResponseWriter_Header_Call) Return ¶
func (_c *ResponseWriter_Header_Call) Return(_a0 http.Header) *ResponseWriter_Header_Call
func (*ResponseWriter_Header_Call) Run ¶
func (_c *ResponseWriter_Header_Call) Run(run func()) *ResponseWriter_Header_Call
func (*ResponseWriter_Header_Call) RunAndReturn ¶
func (_c *ResponseWriter_Header_Call) RunAndReturn(run func() http.Header) *ResponseWriter_Header_Call
type ResponseWriter_WriteHeader_Call ¶
ResponseWriter_WriteHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteHeader'
func (*ResponseWriter_WriteHeader_Call) Return ¶
func (_c *ResponseWriter_WriteHeader_Call) Return() *ResponseWriter_WriteHeader_Call
func (*ResponseWriter_WriteHeader_Call) Run ¶
func (_c *ResponseWriter_WriteHeader_Call) Run(run func(statusCode int)) *ResponseWriter_WriteHeader_Call
func (*ResponseWriter_WriteHeader_Call) RunAndReturn ¶
func (_c *ResponseWriter_WriteHeader_Call) RunAndReturn(run func(int)) *ResponseWriter_WriteHeader_Call
type ResponseWriter_Write_Call ¶
ResponseWriter_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*ResponseWriter_Write_Call) Return ¶
func (_c *ResponseWriter_Write_Call) Return(_a0 int, _a1 error) *ResponseWriter_Write_Call
func (*ResponseWriter_Write_Call) Run ¶
func (_c *ResponseWriter_Write_Call) Run(run func(_a0 []byte)) *ResponseWriter_Write_Call
func (*ResponseWriter_Write_Call) RunAndReturn ¶
func (_c *ResponseWriter_Write_Call) RunAndReturn(run func([]byte) (int, error)) *ResponseWriter_Write_Call