Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
Cred auth.Credential
Regions []string
Client *api.Client
}
Driver enumerates Huawei Cloud DNS public zones and their record sets, returning them as the cloudlist `domain` asset.
Private DNS zones are out of scope for now: their endpoint differs and the CSPM signal value (DNS shadowing, dangling CNAMEs) is concentrated on the internet-facing public zones.
func (*Driver) GetDomains ¶
GetDomains returns one schema.Domain per zone, with records flattened over all record sets. A failure on a single zone's record-set listing is recorded but does not abort the whole walk; a top-level zone-listing failure returns an error so the caller can surface it via list.AddError.
Click to show internal directories.
Click to hide internal directories.