Documentation ¶
Overview ¶
Package lxSchemaMocks is a generated GoMock package.
Index ¶
- type MockIJSONSchema
- func (m *MockIJSONSchema) EXPECT() *MockIJSONSchemaMockRecorder
- func (m *MockIJSONSchema) HasSchema(filename string) bool
- func (m *MockIJSONSchema) LoadSchema(filename string) (gojsonschema.JSONLoader, error)
- func (m *MockIJSONSchema) SetSchemaRootDirectory(dirname string) error
- func (m *MockIJSONSchema) ValidateBind(schema string, req *http.Request, s interface{}) (*lxSchema.JSONValidationResult, error)
- func (m *MockIJSONSchema) ValidateBindRaw(schema string, data *[]byte, s interface{}) (*lxSchema.JSONValidationResult, error)
- type MockIJSONSchemaMockRecorder
- func (mr *MockIJSONSchemaMockRecorder) HasSchema(filename interface{}) *gomock.Call
- func (mr *MockIJSONSchemaMockRecorder) LoadSchema(filename interface{}) *gomock.Call
- func (mr *MockIJSONSchemaMockRecorder) SetSchemaRootDirectory(dirname interface{}) *gomock.Call
- func (mr *MockIJSONSchemaMockRecorder) ValidateBind(schema, req, s interface{}) *gomock.Call
- func (mr *MockIJSONSchemaMockRecorder) ValidateBindRaw(schema, data, s interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIJSONSchema ¶
type MockIJSONSchema struct {
// contains filtered or unexported fields
}
MockIJSONSchema is a mock of IJSONSchema interface
func NewMockIJSONSchema ¶
func NewMockIJSONSchema(ctrl *gomock.Controller) *MockIJSONSchema
NewMockIJSONSchema creates a new mock instance
func (*MockIJSONSchema) EXPECT ¶
func (m *MockIJSONSchema) EXPECT() *MockIJSONSchemaMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIJSONSchema) HasSchema ¶
func (m *MockIJSONSchema) HasSchema(filename string) bool
HasSchema mocks base method
func (*MockIJSONSchema) LoadSchema ¶
func (m *MockIJSONSchema) LoadSchema(filename string) (gojsonschema.JSONLoader, error)
LoadSchema mocks base method
func (*MockIJSONSchema) SetSchemaRootDirectory ¶
func (m *MockIJSONSchema) SetSchemaRootDirectory(dirname string) error
SetSchemaRootDirectory mocks base method
func (*MockIJSONSchema) ValidateBind ¶
func (m *MockIJSONSchema) ValidateBind(schema string, req *http.Request, s interface{}) (*lxSchema.JSONValidationResult, error)
ValidateBind mocks base method
func (*MockIJSONSchema) ValidateBindRaw ¶ added in v1.6.1
func (m *MockIJSONSchema) ValidateBindRaw(schema string, data *[]byte, s interface{}) (*lxSchema.JSONValidationResult, error)
ValidateBindRaw mocks base method
type MockIJSONSchemaMockRecorder ¶
type MockIJSONSchemaMockRecorder struct {
// contains filtered or unexported fields
}
MockIJSONSchemaMockRecorder is the mock recorder for MockIJSONSchema
func (*MockIJSONSchemaMockRecorder) HasSchema ¶
func (mr *MockIJSONSchemaMockRecorder) HasSchema(filename interface{}) *gomock.Call
HasSchema indicates an expected call of HasSchema
func (*MockIJSONSchemaMockRecorder) LoadSchema ¶
func (mr *MockIJSONSchemaMockRecorder) LoadSchema(filename interface{}) *gomock.Call
LoadSchema indicates an expected call of LoadSchema
func (*MockIJSONSchemaMockRecorder) SetSchemaRootDirectory ¶
func (mr *MockIJSONSchemaMockRecorder) SetSchemaRootDirectory(dirname interface{}) *gomock.Call
SetSchemaRootDirectory indicates an expected call of SetSchemaRootDirectory
func (*MockIJSONSchemaMockRecorder) ValidateBind ¶
func (mr *MockIJSONSchemaMockRecorder) ValidateBind(schema, req, s interface{}) *gomock.Call
ValidateBind indicates an expected call of ValidateBind
func (*MockIJSONSchemaMockRecorder) ValidateBindRaw ¶ added in v1.6.1
func (mr *MockIJSONSchemaMockRecorder) ValidateBindRaw(schema, data, s interface{}) *gomock.Call
ValidateBindRaw indicates an expected call of ValidateBindRaw