Documentation
¶
Index ¶
- Constants
- type SUT
- func (s SUT) AssertBootedFrom(b string)
- func (s *SUT) BootFrom() string
- func (s *SUT) Command(cmd string) (string, error)
- func (s *SUT) EventuallyBootedFrom(image string)
- func (s *SUT) EventuallyConnects(t ...int)
- func (s *SUT) EventuallyDisconnects(t ...int)
- func (s *SUT) GetArch() string
- func (s *SUT) GetOSRelease(ss string) string
- func (s *SUT) IsVMRunning() bool
- func (s *SUT) Reboot(t ...int)
Constants ¶
View Source
const ( Passive = "passive" Active = "active" Recovery = "recovery" LiveCD = "liveCD" UnknownBoot = "unknown" TimeoutRawDiskTest = 600 // Timeout to connect for recovery_raw_disk_test )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SUT ¶
type SUT struct {
Host string
Username string
Password string
SSHKey []byte
Timeout int
TestVersion string
CDLocation string
MachineID string
VMPid int
// contains filtered or unexported fields
}
func (SUT) AssertBootedFrom ¶
AssertBootedFrom asserts that we booted from the proper type and adds a helpful message
func (*SUT) BootFrom ¶
BootFrom returns the booting partition of the SUT NOTE: passive/recovery are not handled yet!
func (*SUT) EventuallyBootedFrom ¶
func (*SUT) EventuallyConnects ¶
func (*SUT) EventuallyDisconnects ¶
func (*SUT) GetOSRelease ¶
func (*SUT) IsVMRunning ¶
Click to show internal directories.
Click to hide internal directories.