commands

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 Power

type Power struct {
	Client client.Client
}

SMASH CLP power commands

func (*Power) ResetServerHard

func (p *Power) ResetServerHard() ([]client.Response, error)

func (*Power) ResetServerSoft

func (p *Power) ResetServerSoft() ([]client.Response, error)

func (*Power) StartServer

func (p *Power) StartServer() ([]client.Response, error)

func (*Power) StopServer

func (p *Power) StopServer() ([]client.Response, error)

type VirtualMedia

type VirtualMedia struct {
	Client client.Client
}

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)

Jump to

Keyboard shortcuts

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