Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
Types ¶
type CompsoleProvider ¶
type CompsoleProvider interface { ID() string Name() string Author() string Version() string GetConsoleUrl(vmObject *ent.VmObject, consoleType utils.ConsoleType) (string, error) GetPowerState(vmObject *ent.VmObject) (utils.PowerState, error) ListVMs() ([]*ent.VmObject, error) RestartVM(vmObject *ent.VmObject, rebootType utils.RebootType) error PowerOnVM(vmObject *ent.VmObject) error PowerOffVM(vmObject *ent.VmObject) error }
func NewProvider ¶
func NewProvider(providerType string, config string) (provider CompsoleProvider, err error)
Click to show internal directories.
Click to hide internal directories.