vmdata

package
v0.0.0-...-714ef56 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 2 Imported by: 0

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 (*VMDataRetriever) Delete

func (vdr *VMDataRetriever) Delete(id string) error

func (*VMDataRetriever) GetAllInfo

func (vdr *VMDataRetriever) GetAllInfo() ([]vminfo.VMInfo, error)

func (*VMDataRetriever) GetInfo

func (vdr *VMDataRetriever) GetInfo(id string) (vminfo.VMInfo, error)

func (*VMDataRetriever) GetLogs

func (vdr *VMDataRetriever) GetLogs(id string) (string, error)

Jump to

Keyboard shortcuts

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