Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { GetUpdatePreferenceAuto() bool GetUpdatePreferenceSnoozeUntil() keybase1.Time GetUpdatePreferenceSkip() string GetUpdateLastChecked() keybase1.Time SetUpdatePreferenceAuto(b bool) error SetUpdatePreferenceSkip(v string) error SetUpdatePreferenceSnoozeUntil(t keybase1.Time) error SetUpdateLastChecked(t keybase1.Time) error }
type UpdateChecker ¶
type UpdateChecker struct {
// contains filtered or unexported fields
}
func NewUpdateChecker ¶
func NewUpdateChecker(updater *Updater, ui UI, log logger.Logger) UpdateChecker
func (*UpdateChecker) Start ¶
func (u *UpdateChecker) Start()
func (*UpdateChecker) Stop ¶
func (u *UpdateChecker) Stop()
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(options keybase1.UpdateOptions, source sources.UpdateSource, config Config, log logger.Logger) *Updater
func (*Updater) Options ¶
func (u *Updater) Options() keybase1.UpdateOptions
Click to show internal directories.
Click to hide internal directories.