Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSchemaValidator ¶ added in v1.14.4
JSONSchemaValidator is an autogenerated mock type for the JSONSchemaValidator type
func NewJSONSchemaValidator ¶ added in v1.14.4
func NewJSONSchemaValidator(t interface { mock.TestingT Cleanup(func()) }) *JSONSchemaValidator
NewJSONSchemaValidator creates a new instance of JSONSchemaValidator. 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 (*JSONSchemaValidator) ValidateDocument ¶ added in v1.14.4
func (_m *JSONSchemaValidator) ValidateDocument(schemaID string, documentSource interface{}) error
ValidateDocument provides a mock function with given fields: schemaID, documentSource
type OptionFunc ¶ added in v1.14.0
OptionFunc is an autogenerated mock type for the OptionFunc type
func NewOptionFunc ¶ added in v1.14.0
func NewOptionFunc(t interface { mock.TestingT Cleanup(func()) }) *OptionFunc
NewOptionFunc creates a new instance of OptionFunc. 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 (*OptionFunc) Execute ¶ added in v1.14.0
func (_m *OptionFunc) Execute(_a0 *validator.Validator)
Execute provides a mock function with given fields: _a0
type Storage ¶
Storage is an autogenerated mock type for the Storage type
func NewStorage ¶
NewStorage creates a new instance of Storage. 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.
type StructValidator ¶ added in v1.14.4
StructValidator is an autogenerated mock type for the StructValidator type
func NewStructValidator ¶ added in v1.14.4
func NewStructValidator(t interface { mock.TestingT Cleanup(func()) }) *StructValidator
NewStructValidator creates a new instance of StructValidator. 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 (*StructValidator) ValidateStruct ¶ added in v1.14.4
func (_m *StructValidator) ValidateStruct(data interface{}) error
ValidateStruct provides a mock function with given fields: data