cli

package
v0.3.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type FSCompactResult

type FSCompactResult struct {
	SessionID         string                      `json:"session_id"`
	CurrentGeneration uint64                      `json:"current_generation"`
	NextGeneration    uint64                      `json:"next_generation"`
	Bytes             int64                       `json:"bytes,omitempty"`
	SHA256            string                      `json:"sha256,omitempty"`
	DryRun            bool                        `json:"dry_run"`
	Storage           *storage.MutationAccounting `json:"storage,omitempty"`
}

type FSCompatibilityImportResult

type FSCompatibilityImportResult struct {
	Contract compat.Contract `json:"contract"`
	Path     string          `json:"path,omitempty"`
	DryRun   bool            `json:"dry_run"`
}

type FSCompatibilityResult

type FSCompatibilityResult struct {
	Installed       []compat.ClientVersion `json:"installed,omitempty"`
	Contracts       int                    `json:"contracts"`
	DetectionErrors []string               `json:"detection_errors,omitempty"`
	Evaluation      compat.Evaluation      `json:"evaluation"`
}

type FSEnrollmentApplyResult

type FSEnrollmentApplyResult struct {
	Plan  enroll.Plan        `json:"plan"`
	Apply enroll.ApplyResult `json:"apply"`
}

type FSMigrateResult

type FSMigrateResult struct {
	SessionID string                      `json:"session_id"`
	Native    vfs.NativeFile              `json:"native"`
	Target    string                      `json:"target"`
	Shadow    fsctl.ShadowResult          `json:"shadow"`
	DryRun    bool                        `json:"dry_run"`
	Routed    bool                        `json:"routed"`
	Storage   *storage.MutationAccounting `json:"storage,omitempty"`
}

type FSNamespaceResult

type FSNamespaceResult struct {
	sessionns.Result
	DryRun bool `json:"dry_run"`
}

type FSNativeSupervisorResult

type FSNativeSupervisorResult struct {
	ResourcePath string        `json:"resource_path"`
	MountPoint   string        `json:"mount_point"`
	Interval     time.Duration `json:"interval"`
	ProbeTimeout time.Duration `json:"probe_timeout"`
	Recovery     time.Duration `json:"recovery_timeout"`
	DryRun       bool          `json:"dry_run"`
}

type FSNativeValidationResult

type FSNativeValidationResult struct {
	Healthy bool                           `json:"healthy"`
	Report  mountfs.NativePreflightReport  `json:"report"`
	Issues  []mountfs.NativePreflightIssue `json:"issues,omitempty"`
}

type FSReconcileRolloutResult

type FSReconcileRolloutResult struct {
	reconcile.Result
	DryRun bool `json:"dry_run"`
}

type FSRecoverResult

type FSRecoverResult struct {
	SessionIDs []string `json:"session_ids"`
	Recovered  int      `json:"recovered"`
	DryRun     bool     `json:"dry_run"`
}

type FSRetireNativeResult

type FSRetireNativeResult struct {
	SessionID            string                    `json:"session_id"`
	DryRun               bool                      `json:"dry_run"`
	AlreadyRetired       bool                      `json:"already_retired"`
	SnapshotBytes        int64                     `json:"snapshot_bytes"`
	VisibleBytes         int64                     `json:"visible_bytes"`
	VisibleSHA256        string                    `json:"visible_sha256,omitempty"`
	ProofPath            string                    `json:"proof_path,omitempty"`
	ActualReclaimedBytes int64                     `json:"actual_reclaimed_bytes"`
	StorageBefore        storage.Inventory         `json:"storage_before,omitempty"`
	StorageAfter         storage.Inventory         `json:"storage_after,omitempty"`
	Proof                vfs.NativeRetirementProof `json:"proof,omitempty"`
}

type FSRollbackResult

type FSRollbackResult struct {
	SessionID    string                      `json:"session_id"`
	From         string                      `json:"from"`
	Target       vfs.NativeFile              `json:"target"`
	RetiredState string                      `json:"retired_state,omitempty"`
	DryRun       bool                        `json:"dry_run"`
	Routed       bool                        `json:"routed"`
	Storage      *storage.MutationAccounting `json:"storage,omitempty"`
}

type FSServeResult

type FSServeResult struct {
	MountPoint      string `json:"mount_point"`
	ManagedSessions int    `json:"managed_sessions"`
	Frontend        string `json:"frontend"`
	ResourcePath    string `json:"resource_path,omitempty"`
	DryRun          bool   `json:"dry_run"`
}

type FSServiceActionResult

type FSServiceActionResult struct {
	Action         string `json:"action"`
	Path           string `json:"path,omitempty"`
	SupervisorPath string `json:"supervisor_path,omitempty"`
	DryRun         bool   `json:"dry_run"`
}

type FSServiceBinaryUpdateResult

type FSServiceBinaryUpdateResult struct {
	Candidate       string `json:"candidate"`
	Target          string `json:"target"`
	CurrentSHA256   string `json:"current_sha256"`
	CandidateSHA256 string `json:"candidate_sha256"`
	Changed         bool   `json:"changed"`
	DryRun          bool   `json:"dry_run"`
}

type FSServiceInstallResult

type FSServiceInstallResult struct {
	Path                  string `json:"path"`
	DryRun                bool   `json:"dry_run"`
	Bytes                 int    `json:"bytes"`
	SupervisorPath        string `json:"supervisor_path,omitempty"`
	SupervisorBytes       int    `json:"supervisor_bytes,omitempty"`
	FSKitAppPath          string `json:"fskit_app_path,omitempty"`
	FSKitLauncherPath     string `json:"fskit_launcher_path,omitempty"`
	FSKitResourcePath     string `json:"fskit_resource_path,omitempty"`
	FSKitAppChanged       bool   `json:"fskit_app_changed,omitempty"`
	BinarySourcePath      string `json:"binary_source_path,omitempty"`
	BinaryCurrentSHA256   string `json:"binary_current_sha256,omitempty"`
	BinaryCandidateSHA256 string `json:"binary_candidate_sha256,omitempty"`
	BinaryChanged         bool   `json:"binary_changed,omitempty"`
}

type FSUpdatePreflightResult

type FSUpdatePreflightResult struct {
	DoctorHealthy       bool                   `json:"doctor_healthy"`
	Compatibility       FSCompatibilityResult  `json:"compatibility"`
	Decision            service.UpdateDecision `json:"decision"`
	QuarantinedSessions int                    `json:"quarantined_sessions"`
}

Jump to

Keyboard shortcuts

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