client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	NewOvirtClient(dataMap map[string]string) (VMClient, error)
}

Factory creates new clients

type VMClient

type VMClient interface {
	GetVM(id *string, name *string, cluster *string, clusterID *string) (interface{}, error)
	StopVM(id string) error
	StartVM(id string) error
	Close() error
}

VMClient provides interface how source virtual machines should be fetched

Jump to

Keyboard shortcuts

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