Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudSDK ¶
type CloudSDK interface { // Auth 判断是否认证信息有效,并尝试增添最低的权限角色 // 返回认证后查询的账户信息 Auth(ca *models.CloudAuth, region string) (*models.ProviderInfo, error) // Deploy 部署隧道函数 Deploy(ca *models.CloudAuth, tun *models.Tunnel) (string, string, error) // Destroy 删除隧道函数 Destroy(ca *models.CloudAuth, tun *models.Tunnel) error // SyncFC 同步函数 SyncFC(ca *models.CloudAuth, regions []string) (models.TunnelCreateApiList, error) }
func GetSDK ¶
func GetSDK(t enum.ProviderType) CloudSDK
Click to show internal directories.
Click to hide internal directories.