releaseparity

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package releaseparity summarizes release, sandbox, updater, and managed policy readiness for production delivery audits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	SandboxStrategy           string
	SandboxEnabled            bool
	UpdaterManifestURL        string
	EnterprisePolicyPath      string
	EnterprisePolicyPublicKey string
	SandboxStatus             *sandbox.Status
}

Options supplies configured production-delivery inputs.

type Report

type Report struct {
	Status                     string   `json:"status"`
	Platform                   string   `json:"platform"`
	SandboxConfigured          bool     `json:"sandbox_configured"`
	SandboxEnabled             bool     `json:"sandbox_enabled"`
	SandboxAvailable           bool     `json:"sandbox_available"`
	SandboxDefault             string   `json:"sandbox_default,omitempty"`
	SandboxStrategies          []string `json:"sandbox_strategies,omitempty"`
	UpdaterManifestConfigured  bool     `json:"updater_manifest_configured"`
	UpdaterManifestURL         string   `json:"updater_manifest_url,omitempty"`
	UpdaterRollbackSupported   bool     `json:"updater_rollback_supported"`
	ManagedPolicyConfigured    bool     `json:"managed_policy_configured"`
	ManagedPolicyPublicKey     bool     `json:"managed_policy_public_key"`
	ManagedPolicyFilePresent   bool     `json:"managed_policy_file_present"`
	ReleaseSigningSupported    bool     `json:"release_signing_supported"`
	RequiredSurfaceCount       int      `json:"required_surface_count"`
	MissingProductionSurfaces  []string `json:"missing_production_surfaces,omitempty"`
	ExcludedProductionSurfaces []string `json:"excluded_production_surfaces,omitempty"`
}

Report is the JSON-safe delivery hardening summary exposed by capabilities and release checks.

func Build

func Build(options Options) Report

Build evaluates whether release hardening has the core surfaces required for production rollout: sandbox availability, signed updater configuration, rollback, and managed policy verification inputs.

Jump to

Keyboard shortcuts

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