Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { Host string Path string Scheme ServiceScheme }
func NewEndpoint ¶
type VFKitService ¶
type VFKitService struct { *Endpoint // contains filtered or unexported fields }
VFKitService is used for the restful service; it describes the variables of the service like host/path but also has the router object
func NewServer ¶
func NewServer(inspector VirtualMachineInspector, stateHandler VirtualMachineStateHandler, endpoint string) (*VFKitService, error)
NewServer creates a new restful service
func (*VFKitService) Start ¶
func (v *VFKitService) Start()
Start initiates the already configured gin service
type VirtualMachineInspector ¶
Click to show internal directories.
Click to hide internal directories.