Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Registrar
- func (_m *Registrar) DeregisterBuilding(ctx context.Context, buildingID string) error
- func (_m *Registrar) DeregisterResident(ctx context.Context, residentID string) error
- func (_m *Registrar) DeregisterUnit(ctx context.Context, unitID string) error
- func (_m *Registrar) GetBuildingByID(ctx context.Context, buildingID string) (*registry.Building, error)
- func (_m *Registrar) GetResidentByID(ctx context.Context, residentID string) (*registry.Resident, error)
- func (_m *Registrar) ListBuildingUnits(ctx context.Context, buildingID string) ([]*registry.Unit, error)
- func (_m *Registrar) ListBuildings(ctx context.Context) ([]*registry.Building, error)
- func (_m *Registrar) ListUnitResidents(ctx context.Context, unitID string) ([]*registry.Resident, error)
- func (_m *Registrar) MoveResidentIn(ctx context.Context, residentID string, newUnitID string) error
- func (_m *Registrar) MoveResidentOut(ctx context.Context, residentID string, unitID string) error
- func (_m *Registrar) RegisterBuilding(ctx context.Context, in *registry.Building) (*registry.Building, error)
- func (_m *Registrar) RegisterResident(ctx context.Context, resident *registry.Resident) (*registry.Resident, error)
- func (_m *Registrar) RegisterUnit(ctx context.Context, buildingID string, in *registry.Unit) (*registry.Unit, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registrar ¶
Registrar is an autogenerated mock type for the Registrar type
func (*Registrar) DeregisterBuilding ¶
DeregisterBuilding provides a mock function with given fields: ctx, buildingID
func (*Registrar) DeregisterResident ¶
DeregisterResident provides a mock function with given fields: ctx, residentID
func (*Registrar) DeregisterUnit ¶
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 ¶
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 ¶
MoveResidentIn provides a mock function with given fields: ctx, residentID, newUnitID
func (*Registrar) MoveResidentOut ¶
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