syncguidance

package
v1.14.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendGuidance

func AppendGuidance(message, project string, err error) string

AppendGuidance preserves the original message and appends deterministic, non-mutating recovery instructions for known repairable cloud sync failures.

func Guidance

func Guidance(project string) string

func IsRepairableCloudSyncError

func IsRepairableCloudSyncError(err error) bool

IsRepairableCloudSyncError returns true for known cloud sync/upsert/canonicalization failures that can be diagnosed by the explicit cloud upgrade doctor/repair flow. It never mutates local or remote state.

func ProjectFromError

func ProjectFromError(err error) string

ProjectFromError extracts the grouped autosync project from wrapped errors such as transport push project "proj-a". It returns an empty string when unknown.

func ProjectFromTargetKey

func ProjectFromTargetKey(targetKey string) string

ProjectFromTargetKey derives the project suffix from cloud:<project> target keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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