Documentation ¶
Index ¶
- func InventoryAlreadyCreated(name string) error
- func InventoryNotFound(err error) error
- func IsAlreadyCreated(err error) bool
- func IsNotFound(err error) bool
- func MachineAlreadCreated(name string) error
- func MachineNotFound(err error) error
- func ServerNotFound(err error) error
- type CreateInventory
- type CreateMachine
- type GetInventory
- type GetMachine
- type GetServer
- type MachineOnboarding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InventoryAlreadyCreated ¶
func InventoryNotFound ¶
func IsAlreadyCreated ¶
func IsNotFound ¶
func MachineAlreadCreated ¶
func MachineNotFound ¶
func ServerNotFound ¶
Types ¶
type CreateInventory ¶
type CreateInventory interface {
Execute(inventoryInfo dto.InventoryInfo) error
}
type CreateMachine ¶
type CreateMachine interface {
Execute(machineInfo dto.MachineInfo) (domain.MachineID, error)
}
type GetInventory ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.