mocks

package
v2.3.10 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 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.ConditionOperator, 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 ITransaction

type ITransaction struct {
	mock.Mock
}

ITransaction is an autogenerated mock type for the ITransaction type

func (*ITransaction) Begin

func (_m *ITransaction) Begin() error

Begin provides a mock function with given fields:

func (*ITransaction) Commit

func (_m *ITransaction) Commit() error

Commit provides a mock function with given fields:

func (*ITransaction) Rollback

func (_m *ITransaction) Rollback() error

Rollback provides a mock function with given fields:

func (*ITransaction) RollbackWithError

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

RollbackWithError provides a mock function with given fields: err

type SessionV2

type SessionV2 struct {
	mock.Mock
}

SessionV2 is an autogenerated mock type for the SessionV2 type

func (*SessionV2) Begin

func (_m *SessionV2) Begin(ctx context.Context) error

Begin provides a mock function with given fields: ctx

func (*SessionV2) Close

func (_m *SessionV2) Close() error

Close provides a mock function with given fields:

func (*SessionV2) Commit

func (_m *SessionV2) Commit(ctx context.Context) error

Commit provides a mock function with given fields: ctx

func (*SessionV2) Delete

func (_m *SessionV2) Delete(ctx context.Context, deleteObj interface{}) error

Delete provides a mock function with given fields: ctx, deleteObj

func (*SessionV2) DeleteUUID

func (_m *SessionV2) DeleteUUID(ctx context.Context, uuid string) error

DeleteUUID provides a mock function with given fields: ctx, uuid

func (*SessionV2) Load

func (_m *SessionV2) Load(ctx context.Context, respObj interface{}, id interface{}) error

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

func (*SessionV2) LoadAll

func (_m *SessionV2) LoadAll(ctx context.Context, respObj interface{}) error

LoadAll provides a mock function with given fields: ctx, respObj

func (*SessionV2) LoadAllDepth

func (_m *SessionV2) LoadAllDepth(ctx context.Context, respObj interface{}, depth int) error

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

func (*SessionV2) LoadAllDepthFilter

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

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

func (*SessionV2) LoadAllDepthFilterPagination

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

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

func (*SessionV2) LoadDepth

func (_m *SessionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error

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

func (*SessionV2) LoadDepthFilter

func (_m *SessionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error

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

func (*SessionV2) LoadDepthFilterPagination

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

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

func (*SessionV2) ManagedTransaction

func (_m *SessionV2) ManagedTransaction(ctx context.Context, work gogm.TransactionWork) error

ManagedTransaction provides a mock function with given fields: ctx, work

func (*SessionV2) Query

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

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

func (*SessionV2) QueryRaw

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

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

func (*SessionV2) Rollback

func (_m *SessionV2) Rollback(ctx context.Context) error

Rollback provides a mock function with given fields: ctx

func (*SessionV2) RollbackWithError

func (_m *SessionV2) RollbackWithError(ctx context.Context, err error) error

RollbackWithError provides a mock function with given fields: ctx, err

func (*SessionV2) Save

func (_m *SessionV2) Save(ctx context.Context, saveObj interface{}) error

Save provides a mock function with given fields: ctx, saveObj

func (*SessionV2) SaveDepth

func (_m *SessionV2) SaveDepth(ctx context.Context, saveObj interface{}, depth int) error

SaveDepth provides a mock function with given fields: ctx, 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(ctx context.Context) error

Commit provides a mock function with given fields: ctx

func (*TransactionV2) Delete

func (_m *TransactionV2) Delete(ctx context.Context, deleteObj interface{}) error

Delete provides a mock function with given fields: ctx, deleteObj

func (*TransactionV2) DeleteUUID

func (_m *TransactionV2) DeleteUUID(ctx context.Context, uuid string) error

DeleteUUID provides a mock function with given fields: ctx, uuid

func (*TransactionV2) Load

func (_m *TransactionV2) Load(ctx context.Context, respObj interface{}, id interface{}) error

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

func (*TransactionV2) LoadAll

func (_m *TransactionV2) LoadAll(ctx context.Context, respObj interface{}) error

LoadAll provides a mock function with given fields: ctx, respObj

func (*TransactionV2) LoadAllDepth

func (_m *TransactionV2) LoadAllDepth(ctx context.Context, respObj interface{}, depth int) error

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

func (*TransactionV2) LoadAllDepthFilter

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

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

func (*TransactionV2) LoadAllDepthFilterPagination

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

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

func (*TransactionV2) LoadDepth

func (_m *TransactionV2) LoadDepth(ctx context.Context, respObj interface{}, id interface{}, depth int) error

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

func (*TransactionV2) LoadDepthFilter

func (_m *TransactionV2) LoadDepthFilter(ctx context.Context, respObj interface{}, id interface{}, depth int, filter go_cypherdsl.ConditionOperator, params map[string]interface{}) error

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

func (*TransactionV2) LoadDepthFilterPagination

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

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

func (*TransactionV2) Query

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

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

func (*TransactionV2) QueryRaw

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

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

func (*TransactionV2) Rollback

func (_m *TransactionV2) Rollback(ctx context.Context) error

Rollback provides a mock function with given fields: ctx

func (*TransactionV2) RollbackWithError

func (_m *TransactionV2) RollbackWithError(ctx context.Context, err error) error

RollbackWithError provides a mock function with given fields: ctx, err

func (*TransactionV2) Save

func (_m *TransactionV2) Save(ctx context.Context, saveObj interface{}) error

Save provides a mock function with given fields: ctx, saveObj

func (*TransactionV2) SaveDepth

func (_m *TransactionV2) SaveDepth(ctx context.Context, saveObj interface{}, depth int) error

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

Jump to

Keyboard shortcuts

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