mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 12:32:55 +08:00
20 lines
376 B
Go
20 lines
376 B
Go
package regiondrivers
|
|
|
|
import (
|
|
api "yunion.io/x/onecloud/pkg/apis/compute"
|
|
"yunion.io/x/onecloud/pkg/compute/models"
|
|
)
|
|
|
|
type SEcloudRegionDriver struct {
|
|
SManagedVirtualizationRegionDriver
|
|
}
|
|
|
|
func init() {
|
|
driver := SEcloudRegionDriver{}
|
|
models.RegisterRegionDriver(&driver)
|
|
}
|
|
|
|
func (self *SEcloudRegionDriver) GetProvider() string {
|
|
return api.CLOUD_PROVIDER_ECLOUD
|
|
}
|