Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigCommand ¶
ConfigCommand defines a CLI command to set up the Harvester Configuration files
func CreateVMImage ¶
CreateVMImage will create a VM Image on Harvester given an image name and an image URL
func RandomID ¶
func RandomID() string
RandomID returns a random string used as an ID internally in Harvester.
func ShellCommand ¶
ShellCommand defines the CLI command that makes it possible to ssh into a VM
Types ¶
type Client ¶
type Client struct { HarvesterClient *harvclient.Clientset KubevirtClient *kubecli.KubevirtClient }
Client type holds the HarvesterClient and KubevirtClient objects which make it possible to control Harvester's resources on Kubernetes
type Conf ¶
Conf is an Object that contains the configuration path and the configuration's file content as a string
type VirtualMachineData ¶
type VirtualMachineData struct { State string VirtualMachine VMv1.VirtualMachine Name string Node string CPU uint32 Memory string IPAddress string }
VirtualMachineData type is a Data Structure that holds information to display for VM
Click to show internal directories.
Click to hide internal directories.