mocks

package
v0.0.0-...-2d2b785 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registrar

type Registrar struct {
	mock.Mock
}

Registrar is an autogenerated mock type for the Registrar type

func (*Registrar) DeregisterBuilding

func (_m *Registrar) DeregisterBuilding(ctx context.Context, buildingID string) error

DeregisterBuilding provides a mock function with given fields: ctx, buildingID

func (*Registrar) DeregisterResident

func (_m *Registrar) DeregisterResident(ctx context.Context, residentID string) error

DeregisterResident provides a mock function with given fields: ctx, residentID

func (*Registrar) DeregisterUnit

func (_m *Registrar) DeregisterUnit(ctx context.Context, unitID string) error

DeregisterUnit provides a mock function with given fields: ctx, unitID

func (*Registrar) GetBuildingByID

func (_m *Registrar) GetBuildingByID(ctx context.Context, buildingID string) (*registry.Building, error)

GetBuildingByID provides a mock function with given fields: ctx, buildingID

func (*Registrar) GetResidentByID

func (_m *Registrar) GetResidentByID(ctx context.Context, residentID string) (*registry.Resident, error)

GetResidentByID provides a mock function with given fields: ctx, residentID

func (*Registrar) ListBuildingUnits

func (_m *Registrar) ListBuildingUnits(ctx context.Context, buildingID string) ([]*registry.Unit, error)

ListBuildingUnits provides a mock function with given fields: ctx, buildingID

func (*Registrar) ListBuildings

func (_m *Registrar) ListBuildings(ctx context.Context) ([]*registry.Building, error)

ListBuildings provides a mock function with given fields: ctx

func (*Registrar) ListUnitResidents

func (_m *Registrar) ListUnitResidents(ctx context.Context, unitID string) ([]*registry.Resident, error)

ListUnitResidents provides a mock function with given fields: ctx, unitID

func (*Registrar) MoveResidentIn

func (_m *Registrar) MoveResidentIn(ctx context.Context, residentID string, newUnitID string) error

MoveResidentIn provides a mock function with given fields: ctx, residentID, newUnitID

func (*Registrar) MoveResidentOut

func (_m *Registrar) MoveResidentOut(ctx context.Context, residentID string, unitID string) error

MoveResidentOut provides a mock function with given fields: ctx, residentID, unitID

func (*Registrar) RegisterBuilding

func (_m *Registrar) RegisterBuilding(ctx context.Context, in *registry.Building) (*registry.Building, error)

RegisterBuilding provides a mock function with given fields: ctx, in

func (*Registrar) RegisterResident

func (_m *Registrar) RegisterResident(ctx context.Context, resident *registry.Resident) (*registry.Resident, error)

RegisterResident provides a mock function with given fields: ctx, resident

func (*Registrar) RegisterUnit

func (_m *Registrar) RegisterUnit(ctx context.Context, buildingID string, in *registry.Unit) (*registry.Unit, error)

RegisterUnit provides a mock function with given fields: ctx, buildingID, in

Jump to

Keyboard shortcuts

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