Documentation
¶
Index ¶
Constants ¶
View Source
const CloudflareReportSchemaV1 = "workflow.dns-stage.cloudflare.report.v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudflareBundle ¶
type CloudflareBundle struct {
Config config.WorkflowConfig `json:"config" yaml:"config"`
Report CloudflareReport `json:"report" yaml:"report"`
}
func CompileCloudflare ¶
func CompileCloudflare(opts CloudflareOptions) (*CloudflareBundle, error)
type CloudflareDomainReport ¶
type CloudflareDomainReport struct {
Domain string `json:"domain" yaml:"domain"`
ResourceName string `json:"resource_name" yaml:"resource_name"`
SelectedProvider string `json:"selected_provider" yaml:"selected_provider"`
Classification string `json:"classification" yaml:"classification"`
SafeForUnattendedCutover bool `json:"safe_for_unattended_cutover" yaml:"safe_for_unattended_cutover"`
Authority map[string]any `json:"authority,omitempty" yaml:"authority,omitempty"`
RecordCount int `json:"record_count" yaml:"record_count"`
}
type CloudflareOptions ¶
type CloudflareReport ¶
type CloudflareReport struct {
Schema string `json:"schema" yaml:"schema"`
Scope string `json:"scope" yaml:"scope"`
TotalCatalogDomains int `json:"total_catalog_domains" yaml:"total_catalog_domains"`
SelectedDomains int `json:"selected_domains" yaml:"selected_domains"`
BlockedByScope int `json:"blocked_by_scope" yaml:"blocked_by_scope"`
Domains []CloudflareDomainReport `json:"domains" yaml:"domains"`
}
Click to show internal directories.
Click to hide internal directories.