mocks

package
v2.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 5 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

type SessionV2

type SessionV2 struct {
	mock.Mock
}

SessionV2 is an autogenerated mock type for the SessionV2 type

func (*SessionV2) Begin

func (_m *SessionV2) Begin() error

Begin provides a mock function with given fields:

func (*SessionV2) Close

func (_m *SessionV2) Close() error

Close provides a mock function with given fields:

func (*SessionV2) Commit

func (_m *SessionV2) Commit() error

Commit provides a mock function with given fields:

func (*SessionV2) Delete

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

Delete provides a mock function with given fields: deleteObj

func (*SessionV2) DeleteUUID

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

DeleteUUID provides a mock function with given fields: uuid

func (*SessionV2) Load

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

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

func (*SessionV2) LoadAll

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

LoadAll provides a mock function with given fields: respObj

func (*SessionV2) LoadAllDepth

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

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

func (*SessionV2) LoadAllDepthFilter

func (_m *SessionV2) 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 (*SessionV2) LoadAllDepthFilterPagination

func (_m *SessionV2) 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 (*SessionV2) LoadAllEdgeConstraint

func (_m *SessionV2) 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 (*SessionV2) LoadDepth

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

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

func (*SessionV2) LoadDepthFilter

func (_m *SessionV2) 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 (*SessionV2) LoadDepthFilterPagination

func (_m *SessionV2) 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 (*SessionV2) ManagedTransaction

func (_m *SessionV2) ManagedTransaction(work gogm.TransactionWork) error

ManagedTransaction provides a mock function with given fields: work

func (*SessionV2) PurgeDatabase

func (_m *SessionV2) PurgeDatabase() error

PurgeDatabase provides a mock function with given fields:

func (*SessionV2) Query

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

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

func (*SessionV2) QueryRaw

func (_m *SessionV2) QueryRaw(query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)

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

func (*SessionV2) Rollback

func (_m *SessionV2) Rollback() error

Rollback provides a mock function with given fields:

func (*SessionV2) RollbackWithError

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

RollbackWithError provides a mock function with given fields: err

func (*SessionV2) Save

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

Save provides a mock function with given fields: saveObj

func (*SessionV2) SaveDepth

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

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

type TransactionV2

type TransactionV2 struct {
	mock.Mock
}

TransactionV2 is an autogenerated mock type for the TransactionV2 type

func (*TransactionV2) Commit

func (_m *TransactionV2) Commit() error

Commit provides a mock function with given fields:

func (*TransactionV2) Delete

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

Delete provides a mock function with given fields: deleteObj

func (*TransactionV2) DeleteUUID

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

DeleteUUID provides a mock function with given fields: uuid

func (*TransactionV2) Load

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

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

func (*TransactionV2) LoadAll

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

LoadAll provides a mock function with given fields: respObj

func (*TransactionV2) LoadAllDepth

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

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

func (*TransactionV2) LoadAllDepthFilter

func (_m *TransactionV2) 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 (*TransactionV2) LoadAllDepthFilterPagination

func (_m *TransactionV2) 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 (*TransactionV2) LoadAllEdgeConstraint

func (_m *TransactionV2) 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 (*TransactionV2) LoadDepth

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

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

func (*TransactionV2) LoadDepthFilter

func (_m *TransactionV2) 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 (*TransactionV2) LoadDepthFilterPagination

func (_m *TransactionV2) 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 (*TransactionV2) PurgeDatabase

func (_m *TransactionV2) PurgeDatabase() error

PurgeDatabase provides a mock function with given fields:

func (*TransactionV2) Query

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

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

func (*TransactionV2) QueryRaw

func (_m *TransactionV2) QueryRaw(query string, properties map[string]interface{}) ([][]interface{}, neo4j.ResultSummary, error)

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

func (*TransactionV2) Rollback

func (_m *TransactionV2) Rollback() error

Rollback provides a mock function with given fields:

func (*TransactionV2) RollbackWithError

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

RollbackWithError provides a mock function with given fields: err

func (*TransactionV2) Save

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

Save provides a mock function with given fields: saveObj

func (*TransactionV2) SaveDepth

func (_m *TransactionV2) 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