mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 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 ServiceDB

type ServiceDB struct {
	mock.Mock
}

ServiceDB is an autogenerated mock type for the ServiceDB type

func (*ServiceDB) All

func (_m *ServiceDB) All() ([]*service.Service, error)

All provides a mock function with given fields:

func (*ServiceDB) Close

func (_m *ServiceDB) Close() error

Close provides a mock function with given fields:

func (*ServiceDB) Delete

func (_m *ServiceDB) Delete(idOrSID string) error

Delete provides a mock function with given fields: idOrSID

func (*ServiceDB) Get

func (_m *ServiceDB) Get(idOrSID string) (*service.Service, error)

Get provides a mock function with given fields: idOrSID

func (*ServiceDB) Save

func (_m *ServiceDB) Save(s *service.Service) error

Save provides a mock function with given fields: s

Jump to

Keyboard shortcuts

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