Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Host string
Name string
D1Location string
BundleDir string
// Version is the release tag to download (vX.Y.Z). DefaultVersion is used when neither Version nor BundleDir is given:
// the tag of this binary's own release, empty for a development build (which then needs --version or --bundle).
Version string
DefaultVersion string
Resume bool
DryRun bool
Rollback bool
InsecureSkipSignature bool
Token string
StatePath string
PublicKey ed25519.PublicKey
APIBaseURL string
GitHubDownloadBaseURL string
HTTPClient *http.Client
Now func() time.Time
Random io.Reader
PollInterval time.Duration
PollAttempts int
Sleep func(context.Context, time.Duration) error
DecoyURL string
Resolve func(context.Context, string) ([]netip.Addr, error)
}
Click to show internal directories.
Click to hide internal directories.