Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadDeleteRepo ¶
type ReadDeleteRepo[V vminfo.VMInfo | vmexecution.VMExecution] interface { FindAll() ([]V, error) FindById(id string) (V, error) Delete(data V) error }
type VMDataRetriever ¶
type VMDataRetriever struct {
// contains filtered or unexported fields
}
func NewVMDataRetriever ¶
func NewVMDataRetriever(infos ReadDeleteRepo[vminfo.VMInfo], executions ReadDeleteRepo[vmexecution.VMExecution]) *VMDataRetriever
func (*VMDataRetriever) Delete ¶
func (vdr *VMDataRetriever) Delete(id string) error
func (*VMDataRetriever) GetAllInfo ¶
func (vdr *VMDataRetriever) GetAllInfo() ([]vminfo.VMInfo, error)
Click to show internal directories.
Click to hide internal directories.