MCPcopy Index your code
hub / github.com/deepflowio/deepflow / FileReader

Struct FileReader

server/controller/cloud/filereader/filereader.go:35–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33var log = logger.MustGetLogger("cloud.filereader")
34
35type FileReader struct {
36 orgID int
37 Uuid string
38 UuidGenerate string
39 Name string
40 RegionUuid string
41 filePath string
42
43 regionNameToLcuuid map[string]string
44 azNameToLcuuid map[string]string
45 vpcNameToLcuuid map[string]string
46 networkNameToLcuuid map[string]string
47 networkLcuuidToVPCLcuuid map[string]string
48 networkLcuuidToNetType map[string]int
49 subnetNameToNetworkLcuuid map[string]string
50 subnetNameToLcuuid map[string]string
51}
52
53func NewFileReader(orgID int, domain metadbmodel.Domain) (*FileReader, error) {
54 config, err := simplejson.NewJson([]byte(domain.Config))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected