stage

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 13 Imported by: 0

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 CloudflareOptions struct {
	PortfolioGlobs []string
	Scope          string
	DomainFilter   string
	StateDir       string
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL