logic to update vehicles

This commit is contained in:
soukainna
2023-05-19 11:26:36 +02:00
parent d48c1ccf8e
commit 41bf03682c
4 changed files with 41 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ type Storage interface {
CreateVehicle(Vehicle) error
GetVehicle(id string) (*Vehicle, error)
GetVehicles(namespaces []string) ([]Vehicle, error)
UpdateVehicle(Vehicle) error
//Bookings management
CreateBooking(Booking) error