Documentation ¶
Index ¶
- func GetReadyNodes() []kubev1.Node
- func MustCleanup()
- func NewMigrationForVm(vm *v1.VM) *v1.Migration
- func NewRandomVM() *v1.VM
- func NewRandomVMWithDirectLun(lun int) *v1.VM
- func NewRandomVMWithPVC(claimName string) *v1.VM
- func NewRandomVMWithSerialConsole() *v1.VM
- func NewRandomVMWithSpice() *v1.VM
- func PanicOnError(err error)
- func WaitForSuccessfulVMStart(vm runtime.Object)
- type EventType
- type ObjectEventWatcher
- func (w *ObjectEventWatcher) FailOnWarnings() *ObjectEventWatcher
- func (w *ObjectEventWatcher) Timeout(duration time.Duration) *ObjectEventWatcher
- func (w *ObjectEventWatcher) WaitFor(eventType EventType, reason interface{}) (e *kubev1.Event)
- func (w *ObjectEventWatcher) Watch(processFunc ProcessFunc)
- type ProcessFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReadyNodes ¶
func MustCleanup ¶
func MustCleanup()
func NewRandomVM ¶
func NewRandomVMWithPVC ¶
func NewRandomVMWithSpice ¶
func PanicOnError ¶
func PanicOnError(err error)
func WaitForSuccessfulVMStart ¶
Block until the specified VM started
Types ¶
type ObjectEventWatcher ¶
type ObjectEventWatcher struct {
// contains filtered or unexported fields
}
func NewObjectEventWatcher ¶
func NewObjectEventWatcher(object runtime.Object) *ObjectEventWatcher
func (*ObjectEventWatcher) FailOnWarnings ¶
func (w *ObjectEventWatcher) FailOnWarnings() *ObjectEventWatcher
func (*ObjectEventWatcher) Timeout ¶
func (w *ObjectEventWatcher) Timeout(duration time.Duration) *ObjectEventWatcher
func (*ObjectEventWatcher) WaitFor ¶
func (w *ObjectEventWatcher) WaitFor(eventType EventType, reason interface{}) (e *kubev1.Event)
func (*ObjectEventWatcher) Watch ¶
func (w *ObjectEventWatcher) Watch(processFunc ProcessFunc)
type ProcessFunc ¶
Click to show internal directories.
Click to hide internal directories.