{"modulePath":"github.com/Dormeto/cli","version":"v0.16.1","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/Dormeto/cli","name":"cli","synopsis":"Package cli holds the files embedded from the module root.","isRedistributable":true},{"path":"github.com/Dormeto/cli/cmd/dormeto","name":"main","synopsis":"Command dormeto is the Dormeto command line.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/accounts","name":"accounts","synopsis":"Package accounts says which accounts an estimate reaches (vision docs/specs/2026-10-10-savings-estimate-design.md §4, decision 4): an organization's active accounts when the profile may list them, else its own account only, and why.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/aws","name":"aws","synopsis":"Package aws holds the adapters of the estimate's ports over the AWS SDK for Go v2: a profile's shared configuration (SSO sessions included), the accounts it reaches (STS, Organizations), an account's clients in a region (the scan's, what a nap stops, the EKS clusters and their API), the Price List and Spot price history.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/awscheck","name":"awscheck","synopsis":"Package awscheck is `dormeto aws check`: which permissions the profile lacks for each `dormeto aws` method, from IAM's simulation of its policies (iam:SimulatePrincipalPolicy).","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/awserr","name":"awserr","synopsis":"Package awserr says an AWS error as the Node estimate says it: Node reads err.name and err.message (`${err.name}: ${err.message}` in accounts and discovery, err.message in the reasons of what a nap stops), where the AWS SDK for Go v2's Error() reads \"operation error …, https response error …, api error Code: Message\".","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/cache","name":"cache","synopsis":"Package cache ports estimate/src/cache.ts of the Node estimate (manager): the estimate's cache under ~/.cache/dormeto/estimate/\u003corganization or account\u003e/, byte-compatible with Node's files.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/cli","name":"cli","synopsis":"Package cli is the estimate command (vision docs/specs/2026-10-10-savings-estimate-design.md §3, §8): the options, the accounts, the three phases with their progress, the reports and the summary.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/discover","name":"discover","synopsis":"","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/estimate","name":"estimate","synopsis":"What the estimate assumes, as the reports say it.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/fleet","name":"fleet","synopsis":"Package fleet is the CLI's client of the manager's IAM-authorized API: the lookup of the API by name, the SigV4-signed calls, and what the routers and workloads commands build on them.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/gcp","name":"gcp","synopsis":"Package gcp is the CLI's Google Cloud client: REST over net/http with the tokens of gcloud (no Google client library), Google's error JSON as *Error, and the waiting of long-running and Compute Engine operations.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/gcp/access","name":"access","synopsis":"Package access is the manifest of what Dormeto needs in Google Cloud: the APIs, the custom roles, the predefined roles' permissions, the router's grants, the manager's connection (its section manager) and, per `dormeto gcp` command, the permissions the operator needs by step.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/gcp/gcptest","name":"gcptest","synopsis":"Package gcptest is a fake Google Cloud for tests: an httptest.Server and an http.Client whose transport sends every request for a *.googleapis.com, *.pkg.dev or *.run.app host to it, so production code keeps its real URLs.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/gcponboard","name":"gcponboard","synopsis":"Package gcponboard is the logic of the CLI's Google Cloud onboarding.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/install","name":"install","synopsis":"Package install is `dormeto aws install`: the manager installed in an AWS account (or an organization) by CodeBuild, from the CLI.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/install/build","name":"build","synopsis":"Package build holds what CodeBuild runs for the install: a one-line buildspec and two POSIX shell scripts, kept in the binary and uploaded to the install's bucket (Terraform with the manager release; the organization's access).","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/installaws","name":"installaws","synopsis":"Package installaws builds the AWS SDK for Go v2 clients of the install's ports (install.Clients) and the configuration of an assumed role.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/kubernetes","name":"kubernetes","synopsis":"Kubernetes workloads in discovery: the EKS clusters of an account and region, and a target group traced to the one Deployment or StatefulSet behind it.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/kubernetes/kubernetestest","name":"kubernetestest","synopsis":"Package kubernetestest holds the fakes of the Kubernetes ports for tests: the recorded answers of the shared cases, as the ports of internal/kubernetes.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/limit","name":"limit","synopsis":"Package limit runs a function over items a few at a time.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/metrics","name":"metrics","synopsis":"Package metrics is phase 2 of the estimate (vision docs/specs/2026-10-10-savings-estimate-design.md §5): each eligible workload's requests per minute over 14 days, and the measured uptime of EC2 instances, ECS services and companion databases, read from CloudWatch.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/options","name":"options","synopsis":"Package options parses the estimate command's options, ported from the Node estimate (manager packages/estimate/src/options.ts): the same options, values, defaults, checks and messages, in the same order of checks, so a bad input gives the same first message.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/output","name":"output","synopsis":"Package output is what the commands of both subtrees, `dormeto aws …` and `dormeto gcp …`, print alike: where their words go (stdout, or stderr under --json, whose stdout holds the JSON alone), their JSON, the question asked before a write (--yes skips it and is needed without a terminal) with its decline, and the JSON of a write that stopped before sending anything.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/parity","name":"parity","synopsis":"Package parity replays the shared test cases the manager's Node export writes into testdata/parity, and compares Go results with the Node ones.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/prices","name":"prices","synopsis":"The price book: AWS's on-demand list prices of what a nap stops, from the Price List API, cached per region and item, and Spot prices and discounts.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/progress","name":"progress","synopsis":"Package progress is the estimate's progress lines, ported from the Node estimate's packages/estimate/src/progress.ts: discovery and phase 2's CloudWatch reads (requests, uptime).","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/replay","name":"replay","synopsis":"The idle window advice.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/report","name":"report","synopsis":"Text as the Node report writes it (manager packages/estimate/src/report.ts): dollars as Intl writes them, JavaScript's Math.round, String.length in UTF-16 units, and the small helpers n, day, windowAdjective and windowWords.","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/schedule","name":"schedule","synopsis":"Package schedule reads a window of a workload's schedule (the router's lambda/src/lib/schedule.mjs), for `dormeto aws schedule` and `dormeto gcp schedule`: a recurrence in the dashboard's words; and changes a schedule window by window (edit.go).","isRedistributable":true},{"path":"github.com/Dormeto/cli/internal/stopped","name":"stopped","synopsis":"Package stopped describes what a nap of each backend stops.","isRedistributable":true}],"total":31}}
