mocks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISession

type ISession struct {
	mock.Mock
}

ISession is an autogenerated mock type for the ISession type

func (*ISession) Begin

func (_m *ISession) Begin() error

Begin provides a mock function with given fields:

func (*ISession) Close

func (_m *ISession) Close() error

Close provides a mock function with given fields:

func (*ISession) Commit

func (_m *ISession) Commit() error

Commit provides a mock function with given fields:

func (*ISession) Delete

func (_m *ISession) Delete(deleteObj interface{}) error

Delete provides a mock function with given fields: deleteObj

func (*ISession) DeleteUUID

func (_m *ISession) DeleteUUID(uuid string) error

DeleteUUID provides a mock function with given fields: uuid

func (*ISession) Load

func (_m *ISession) Load(respObj interface{}, id string) error

Load provides a mock function with given fields: respObj, id

func (*ISession) LoadAll

func (_m *ISession) LoadAll(respObj interface{}) error

LoadAll provides a mock function with given fields: respObj

func (*ISession) LoadAllDepth

func (_m *ISession) LoadAllDepth(respObj interface{}, depth int) error

LoadAllDepth provides a mock function with given fields: respObj, depth

func (*ISession) LoadAllDepthFilter

func (_m *ISession) LoadAllDepthFilter(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error

LoadAllDepthFilter provides a mock function with given fields: respObj, depth, filter, params

func (*ISession) LoadAllDepthFilterPagination

func (_m *ISession) LoadAllDepthFilterPagination(respObj interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error

LoadAllDepthFilterPagination provides a mock function with given fields: respObj, depth, filter, params, pagination

func (*ISession) LoadAllEdgeConstraint

func (_m *ISession) LoadAllEdgeConstraint(respObj interface{}, endNodeType string, endNodeField string, edgeConstraint interface{}, minJumps int, maxJumps int, depth int, filter go_cypherdsl.ConditionOperator) error

LoadAllEdgeConstraint provides a mock function with given fields: respObj, endNodeType, endNodeField, edgeConstraint, minJumps, maxJumps, depth, filter

func (*ISession) LoadDepth

func (_m *ISession) LoadDepth(respObj interface{}, id string, depth int) error

LoadDepth provides a mock function with given fields: respObj, id, depth

func (*ISession) LoadDepthFilter

func (_m *ISession) LoadDepthFilter(respObj interface{}, id string, depth int, filter *go_cypherdsl.ConditionBuilder, params map[string]interface{}) error

LoadDepthFilter provides a mock function with given fields: respObj, id, depth, filter, params

func (*ISession) LoadDepthFilterPagination

func (_m *ISession) LoadDepthFilterPagination(respObj interface{}, id string, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}, pagination *gogm.Pagination) error

LoadDepthFilterPagination provides a mock function with given fields: respObj, id, depth, filter, params, pagination

func (*ISession) PurgeDatabase

func (_m *ISession) PurgeDatabase() error

PurgeDatabase provides a mock function with given fields:

func (*ISession) Query

func (_m *ISession) Query(query string, properties map[string]interface{}, respObj interface{}) error

Query provides a mock function with given fields: query, properties, respObj

func (*ISession) QueryRaw

func (_m *ISession) QueryRaw(query string, properties map[string]interface{}) ([][]interface{}, error)

QueryRaw provides a mock function with given fields: query, properties

func (*ISession) Rollback

func (_m *ISession) Rollback() error

Rollback provides a mock function with given fields:

func (*ISession) RollbackWithError

func (_m *ISession) RollbackWithError(err error) error

RollbackWithError provides a mock function with given fields: err

func (*ISession) Save

func (_m *ISession) Save(saveObj interface{}) error

Save provides a mock function with given fields: saveObj

func (*ISession) SaveDepth

func (_m *ISession) SaveDepth(saveObj interface{}, depth int) error

SaveDepth provides a mock function with given fields: saveObj, depth

Jump to

Keyboard shortcuts

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