cmd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type AnalyzeInput

type AnalyzeInput struct {
	Domain string `` /* 184-byte string literal not displayed */
}

type AnalyzeOutput

type AnalyzeOutput struct {
	Results []domainResult `json:"results"`
	Summary string         `json:"summary"`
}

type CleanBatchInput

type CleanBatchInput struct {
	Domains []string `` /* 164-byte string literal not displayed */
	DryRun  *bool    `json:"dry_run,omitempty" jsonschema:"optional,default true — set false to execute deletions"`
}

type CleanBatchOutput

type CleanBatchOutput struct {
	Previewed    []domainItem `json:"previewed_items"`
	Deleted      []domainItem `json:"deleted_items,omitempty"`
	FreedBytes   int64        `json:"freed_bytes"`
	FreedHuman   string       `json:"freed"`
	SkippedCount int          `json:"skipped_unsafe_count"`
	DryRun       bool         `json:"dry_run"`
}

type CleanPreviewInput

type CleanPreviewInput struct {
	Domain string `json:"domain,omitempty" jsonschema:"optional domain to preview (empty = all domains)"`
}

type CleanPreviewOutput

type CleanPreviewOutput struct {
	SafeItems    []domainItem `json:"safe_items"`
	UnsafeItems  []domainItem `json:"unsafe_items"`
	TotalSafe    string       `json:"total_safe_size"`
	TotalUnsafe  string       `json:"total_unsafe_size"`
	SafeCount    int          `json:"safe_count"`
	UnsafeCount  int          `json:"unsafe_count"`
	Instructions string       `json:"instructions"`
}

type DockerBackupInput

type DockerBackupInput struct {
	Container string `json:"container" jsonschema:"required,container name to backup (must be running)"`
}

type DockerCleanupInput

type DockerCleanupInput struct {
	Keep   string `json:"keep" jsonschema:"required,comma-separated container names to preserve"`
	DryRun *bool  `json:"dry_run,omitempty" jsonschema:"optional,default true — set false to execute deletions"`
}

type DockerCompactInput

type DockerCompactInput struct{}

type EmptyInput

type EmptyInput struct{}

type MonitorOutput

type MonitorOutput struct {
	Data map[string]any `json:"data"`
}

type StatusOutput

type StatusOutput struct {
	Domains []statusEntry `json:"domains"`
}

Jump to

Keyboard shortcuts

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