mocks

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 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 DBClient

type DBClient struct {
	mock.Mock
}

DBClient is an autogenerated mock type for the DBClient type

func (*DBClient) CloseSession

func (_m *DBClient) CloseSession()

CloseSession provides a mock function with given fields:

func (*DBClient) GetAllCommands

func (_m *DBClient) GetAllCommands() ([]models.Command, error)

GetAllCommands provides a mock function with given fields:

func (*DBClient) GetCommandById

func (_m *DBClient) GetCommandById(id string) (models.Command, error)

GetCommandById provides a mock function with given fields: id

func (*DBClient) GetCommandByNameAndDeviceId

func (_m *DBClient) GetCommandByNameAndDeviceId(cname string, did string) (models.Command, error)

GetCommandByNameAndDeviceId provides a mock function with given fields: cname, did

func (*DBClient) GetCommandsByDeviceId

func (_m *DBClient) GetCommandsByDeviceId(id string) ([]models.Command, error)

GetCommandsByDeviceId provides a mock function with given fields: id

func (*DBClient) GetCommandsByName

func (_m *DBClient) GetCommandsByName(id string) ([]models.Command, error)

GetCommandsByName provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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