| 61 | ) |
| 62 | |
| 63 | type VolcEngine struct { |
| 64 | orgID int |
| 65 | teamID int |
| 66 | name string |
| 67 | lcuuid string |
| 68 | regionLcuuid string |
| 69 | uuidGenerate string |
| 70 | secretID string |
| 71 | secretKey string |
| 72 | includeRegions map[string]bool |
| 73 | azLcuuids map[string]bool |
| 74 | httpClient *http.Client |
| 75 | } |
| 76 | |
| 77 | func NewVolcEngine(orgID int, domain metadbmodel.Domain, cfg cloudconfig.CloudConfig) (*VolcEngine, error) { |
| 78 | config, err := simplejson.NewJson([]byte(domain.Config)) |
nothing calls this directly
no outgoing calls
no test coverage detected