Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultVerifier ¶
type DefaultVerifier struct { }
func (DefaultVerifier) Verify ¶
func (d DefaultVerifier) Verify(downloadUrl, newBinary string) error
type DefaultVersionCheck ¶
func (DefaultVersionCheck) UpdateRequired ¶
func (d DefaultVersionCheck) UpdateRequired(target string) (bool, error)
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater() Updater
func (Updater) WithResolver ¶
func (Updater) WithVerifier ¶
func (Updater) WithVerify ¶
func (Updater) WithVersionCheck ¶
func (u Updater) WithVersionCheck(check VersionCheck) Updater
type VersionCheck ¶
Click to show internal directories.
Click to hide internal directories.