Documentation ¶
Index ¶
- Variables
- type Power
- type VirtualMedia
- func (v *VirtualMedia) EjectCDRomImage() ([]client.Response, error)
- func (v *VirtualMedia) EjectUSBImage() ([]client.Response, error)
- func (v *VirtualMedia) InsertCDRomImage(url string) ([]client.Response, error)
- func (v *VirtualMedia) InsertCDRomImageSingleBoot(url string) ([]client.Response, error)
- func (v *VirtualMedia) InsertUSBImage(url string) ([]client.Response, error)
- func (v *VirtualMedia) InsertUSBImageSingleBoot(url string) ([]client.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ResetHardCmd = client.Request{Command: "reset", Args: []string{"hard"}}
View Source
var ResetSoftCmd = client.Request{Command: "reset", Args: []string{"soft"}}
View Source
var SetCDROMTargetCmd = client.Request{ Command: "cd", Args: []string{"/map1/oemhp_vm1/cddr1"}, }
View Source
var SetOEMHPBootCmd = client.Request{ Command: "set", Args: []string{"oemhp_boot="}, }
View Source
var SetOEMHPConnectCmd = client.Request{ Command: "set", Args: []string{"oemhp_boot=connect"}, }
View Source
var SetOEMHPDisconnectCmd = client.Request{ Command: "set", Args: []string{"oemhp_boot=disconnect"}, }
View Source
var SetOEMHPImageCmd = client.Request{ Command: "set", Args: []string{"oemhp_image="}, }
View Source
var SetSystemTargetCmd = client.Request{Command: "cd", Args: []string{"/system1"}}
View Source
var SetUSBTargetCmd = client.Request{ Command: "cd", Args: []string{"/map1/oemhp_vm1/floppydr1"}, }
View Source
var StartCmd = client.Request{Command: "start"}
View Source
var StopCmd = client.Request{Command: "stop"}
Functions ¶
This section is empty.
Types ¶
type VirtualMedia ¶
Smash CLP virtual media commands
func (*VirtualMedia) EjectCDRomImage ¶
func (v *VirtualMedia) EjectCDRomImage() ([]client.Response, error)
func (*VirtualMedia) EjectUSBImage ¶
func (v *VirtualMedia) EjectUSBImage() ([]client.Response, error)
func (*VirtualMedia) InsertCDRomImage ¶
func (v *VirtualMedia) InsertCDRomImage(url string) ([]client.Response, error)
func (*VirtualMedia) InsertCDRomImageSingleBoot ¶
func (v *VirtualMedia) InsertCDRomImageSingleBoot(url string) ([]client.Response, error)
func (*VirtualMedia) InsertUSBImage ¶
func (v *VirtualMedia) InsertUSBImage(url string) ([]client.Response, error)
func (*VirtualMedia) InsertUSBImageSingleBoot ¶
func (v *VirtualMedia) InsertUSBImageSingleBoot(url string) ([]client.Response, error)
Click to show internal directories.
Click to hide internal directories.