Documentation
¶
Index ¶
Constants ¶
View Source
const ( ManifestName = "release-manifest.json" ManifestSchema = 1 )
Variables ¶
This section is empty.
Functions ¶
func CurrentTarget ¶
func CurrentTarget() string
func Seal ¶ added in v0.10.2
Seal removes write permission from a verified release tree. Runtime state belongs outside releases, and keeping installed bundles immutable prevents platform metadata such as Finder's .DS_Store from invalidating the manifest.
func TransportCapabilities ¶ added in v0.13.1
TransportCapabilities returns the transports supported by an installed release. Releases created before this metadata existed spoke E2EE v1 only.
func ValidateUpgradeCompatibility ¶ added in v0.13.1
ValidateUpgradeCompatibility requires both app-first and relay-first rollout windows to remain connected. An incompatible transport change therefore needs an intermediate bridge release that supports both transports.
Types ¶
type Manifest ¶
type Manifest struct {
Schema int `json:"schema"`
Version string `json:"version"`
Revision string `json:"revision"`
Target string `json:"target"`
WebHash string `json:"web_hash,omitempty"`
AppTransports []string `json:"app_transports,omitempty"`
RelayTransports []string `json:"relay_transports,omitempty"`
Files map[string]string `json:"files"`
}
Click to show internal directories.
Click to hide internal directories.