mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-05 23:41:47 +08:00
25 lines
604 B
Go
25 lines
604 B
Go
package modules
|
|
|
|
import (
|
|
"yunion.io/x/onecloud/pkg/util/huawei/client/auth"
|
|
)
|
|
|
|
type SInterfaceManager struct {
|
|
SResourceManager
|
|
}
|
|
|
|
// 不建议使用
|
|
func NewInterfaceManager(regionId, projectId string, signer auth.Signer, debug bool) *SInterfaceManager {
|
|
return &SInterfaceManager{SResourceManager: SResourceManager{
|
|
SBaseManager: NewBaseManager(signer, debug),
|
|
ServiceName: ServiceNameECS,
|
|
Region: regionId,
|
|
ProjectId: projectId,
|
|
version: "v2",
|
|
Keyword: "interfaceAttachment",
|
|
KeywordPlural: "interfaceAttachments",
|
|
|
|
ResourceKeyword: "os-interface",
|
|
}}
|
|
}
|