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) NewVmwareClient(dataMap map[string]string) (VMClient, error) }
Factory creates new clients
type SourceClientFactory ¶ added in v0.2.0
type SourceClientFactory struct{}
SourceClientFactory provides default client factory implementation
func NewSourceClientFactory ¶ added in v0.2.0
func NewSourceClientFactory() *SourceClientFactory
NewSourceClientFactory creates new factory
func (*SourceClientFactory) NewOvirtClient ¶ added in v0.2.0
func (f *SourceClientFactory) NewOvirtClient(dataMap map[string]string) (VMClient, error)
NewOvirtClient creates new Ovirt clients
func (*SourceClientFactory) NewVmwareClient ¶ added in v0.2.0
func (f *SourceClientFactory) NewVmwareClient(dataMap map[string]string) (VMClient, error)
NewVmwareClient creates new VMWare clients
Click to show internal directories.
Click to hide internal directories.