mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 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 NodeStore

type NodeStore struct {
	mock.Mock
}

NodeStore is an autogenerated mock type for the NodeStore type

func (*NodeStore) AddReader

func (_m *NodeStore) AddReader(id uuid.UUID, user nodestore.User) error

AddReader provides a mock function with given fields: id, user

func (*NodeStore) ChangeOwner

func (_m *NodeStore) ChangeOwner(id uuid.UUID, user nodestore.User) error

ChangeOwner provides a mock function with given fields: id, user

func (*NodeStore) DeleteNode

func (_m *NodeStore) DeleteNode(id uuid.UUID) error

DeleteNode provides a mock function with given fields: id

func (*NodeStore) GetNode

func (_m *NodeStore) GetNode(id uuid.UUID) (*nodestore.Node, error)

GetNode provides a mock function with given fields: id

func (*NodeStore) GetUser

func (_m *NodeStore) GetUser(accountName string) (*nodestore.User, error)

GetUser provides a mock function with given fields: accountName

func (*NodeStore) RemoveReader

func (_m *NodeStore) RemoveReader(id uuid.UUID, user nodestore.User) error

RemoveReader provides a mock function with given fields: id, user

func (*NodeStore) SetNodePublic

func (_m *NodeStore) SetNodePublic(id uuid.UUID, public bool) error

SetNodePublic provides a mock function with given fields: id, public

func (*NodeStore) StoreNode

func (_m *NodeStore) StoreNode(node *nodestore.Node) error

StoreNode provides a mock function with given fields: node

Jump to

Keyboard shortcuts

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