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 mockConstructorTestingTNewJSONSchemaValidator) *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.
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 mockConstructorTestingTNewOptionFunc) *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.
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 ¶
func NewStorage(t mockConstructorTestingTNewStorage) *Storage
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.
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 mockConstructorTestingTNewStructValidator) *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.
func (*StructValidator) ValidateStruct ¶ added in v1.14.4
func (_m *StructValidator) ValidateStruct(data interface{}) error
ValidateStruct provides a mock function with given fields: data