Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterMapper ¶ added in v0.4.0
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func New ¶
func New(net NetworkMapper, rp ResourcePoolMapper, ds DatastoreMapper, cm ClusterMapper, targetDatacenter string) *Converter
func (*Converter) TargetDatacenter ¶ added in v0.2.0
func (*Converter) TargetSpec ¶
type DatastoreMapper ¶ added in v0.2.0
type ExplicitRP ¶
type ExplicitRP struct {
// contains filtered or unexported fields
}
func NewExplicitResourcePool ¶
func NewExplicitResourcePool(target string) *ExplicitRP
func (*ExplicitRP) TargetResourcePool ¶
func (c *ExplicitRP) TargetResourcePool(sourceVM *vcenter.VM) (string, error)
type MappedCluster ¶ added in v0.4.0
type MappedCluster struct {
// contains filtered or unexported fields
}
func NewEmptyMappedCluster ¶ added in v0.4.0
func NewEmptyMappedCluster() *MappedCluster
func NewMappedCluster ¶ added in v0.4.0
func NewMappedCluster(clusterMap map[string]string) *MappedCluster
func (*MappedCluster) Add ¶ added in v0.4.0
func (c *MappedCluster) Add(srcCluster, targetCluster string) *MappedCluster
func (*MappedCluster) TargetCluster ¶ added in v0.4.0
func (c *MappedCluster) TargetCluster(sourceVM *vcenter.VM) (string, error)
func (*MappedCluster) TargetClusterFromSource ¶ added in v0.4.0
func (c *MappedCluster) TargetClusterFromSource(sourceCluster string) (string, error)
type MappedDS ¶ added in v0.2.0
type MappedDS struct {
// contains filtered or unexported fields
}
func NewEmptyMappedDatastore ¶ added in v0.2.0
func NewEmptyMappedDatastore() *MappedDS
func NewMappedDatastore ¶ added in v0.2.0
type MappedNet ¶
type MappedNet struct {
// contains filtered or unexported fields
}
func NewEmptyMappedNetwork ¶
func NewEmptyMappedNetwork() *MappedNet
func NewMappedNetwork ¶
type MappedRP ¶
type MappedRP struct {
// contains filtered or unexported fields
}
func NewMappedResourcePool ¶
type NetworkMapper ¶
Click to show internal directories.
Click to hide internal directories.