// New returns libvirt Uninstaller from ClusterMetadata.
New returns libvirt Uninstaller from ClusterMetadata.
// New returns libvirt Uninstaller from ClusterMetadata .
func New(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (destroy.Destroyer, error) {
	return &ClusterUninstaller{
		LibvirtURI: metadata.ClusterPlatformMetadata.Libvirt.URI,
		Filter:     AlwaysTrueFilter(), 
		Logger:     logger,
	}, nil
}
func New ( logger logrus . FieldLogger , metadata * types . ClusterMetadata ) ( destroy . Destroyer , error ) { return & ClusterUninstaller { LibvirtURI : metadata . ClusterPlatformMetadata . Libvirt . URI , Filter : AlwaysTrueFilter ( ) , Logger : logger , } , nil }
New returns libvirt Uninstaller from ClusterMetadata.
New returns libvirt Uninstaller from ClusterMetadata .
//TODO: change to ClusterNamePrefixFilter when all resources are prefixed.