mocks

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: AGPL-3.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 Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func (*Registry) Create

func (_m *Registry) Create(dogu *core.Dogu) error

Create provides a mock function with given fields: dogu

func (*Registry) Delete

func (_m *Registry) Delete(dogu *core.Dogu) error

Delete provides a mock function with given fields: dogu

func (*Registry) Get

func (_m *Registry) Get(name string) (*core.Dogu, error)

Get provides a mock function with given fields: name

func (*Registry) GetAll

func (_m *Registry) GetAll() ([]*core.Dogu, error)

GetAll provides a mock function with given fields:

func (*Registry) GetVersion

func (_m *Registry) GetVersion(name string, version string) (*core.Dogu, error)

GetVersion provides a mock function with given fields: name, version

func (*Registry) GetVersionsOf

func (_m *Registry) GetVersionsOf(name string) ([]core.Version, error)

GetVersionsOf provides a mock function with given fields: name

func (*Registry) SetUseCache

func (_m *Registry) SetUseCache(useCache bool)

SetUseCache provides a mock function with given fields: useCache

Jump to

Keyboard shortcuts

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