mocks

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONSchemaValidatorOptionFunc added in v1.14.0

type JSONSchemaValidatorOptionFunc struct {
	mock.Mock
}

JSONSchemaValidatorOptionFunc is an autogenerated mock type for the JSONSchemaValidatorOptionFunc type

func NewJSONSchemaValidatorOptionFunc added in v1.14.0

func NewJSONSchemaValidatorOptionFunc(t mockConstructorTestingTNewJSONSchemaValidatorOptionFunc) *JSONSchemaValidatorOptionFunc

NewJSONSchemaValidatorOptionFunc creates a new instance of JSONSchemaValidatorOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*JSONSchemaValidatorOptionFunc) Execute added in v1.14.0

Execute provides a mock function with given fields: _a0

type OptionFunc added in v1.14.0

type OptionFunc struct {
	mock.Mock
}

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

type Storage struct {
	mock.Mock
}

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.

func (*Storage) Get

func (_m *Storage) Get(schemaID string) (string, error)

Get provides a mock function with given fields: schemaID

func (*Storage) Store

func (_m *Storage) Store(schemaID string, schema string) error

Store provides a mock function with given fields: schemaID, schema

type StructValidatorOptionFunc added in v1.14.0

type StructValidatorOptionFunc struct {
	mock.Mock
}

StructValidatorOptionFunc is an autogenerated mock type for the StructValidatorOptionFunc type

func NewStructValidatorOptionFunc added in v1.14.0

func NewStructValidatorOptionFunc(t mockConstructorTestingTNewStructValidatorOptionFunc) *StructValidatorOptionFunc

NewStructValidatorOptionFunc creates a new instance of StructValidatorOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StructValidatorOptionFunc) Execute added in v1.14.0

Execute provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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