lxSchemaMocks

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package lxSchemaMocks is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

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