stage

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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