Documentation
¶
Overview ¶
Package flyapi talks to Fly.io's Machines API: an app's secrets, and the releases that restart it.
Fly names things differently from Render on purpose, and the difference matters to what upkeep can honestly report. Fly calls them *secrets*, and the API never returns a value — only a name and a digest. So upkeep can tell you that a secret is missing, and that one exists, but not whether its value is the one you meant. That limit is the provider's, not a gap here, and every plan says so rather than implying a comparison it did not make.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TokenFromCLI ¶
func TokenFromCLI() string
TokenFromCLI reads the session `fly auth login` already stored, so an operator who can run flyctl needs no second credential on disk.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}