Documentation
¶
Overview ¶
Package upgrade implements `ytrack upgrade`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
HTTP *http.Client
APIURL string
// TrustedRoot returns the Sigstore trusted material signatures must
// chain to; NoSCT is for test Sigstores only.
TrustedRoot func() (root.TrustedMaterial, error)
NoSCT bool
// Executable returns the path of the running binary.
Executable func() (string, error)
GOOS string
GOARCH string
}
Options are the command's dependencies; tests replace them.
Click to show internal directories.
Click to hide internal directories.