Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeybaseSource UpdateSourceName = "keybase" RemoteSource = "remote" PrereleaseSource = "prerelease" ErrorSource = "error" )
View Source
const IsPrerelease = false
Variables ¶
View Source
var UpdateSourceNames = []UpdateSourceName{KeybaseSource, RemoteSource, PrereleaseSource}
Functions ¶
Types ¶
type KeybaseUpdateSource ¶
type KeybaseUpdateSource struct {
// contains filtered or unexported fields
}
KeybaseUpdateSource finds releases/updates from custom url (used primarily for testing)
func NewKeybaseUpdateSource ¶
func (KeybaseUpdateSource) Description ¶
func (k KeybaseUpdateSource) Description() string
func (KeybaseUpdateSource) FindUpdate ¶
func (k KeybaseUpdateSource) FindUpdate(options keybase1.UpdateOptions) (update *keybase1.Update, err error)
type RemoteUpdateSource ¶
type RemoteUpdateSource struct {
// contains filtered or unexported fields
}
RemoteUpdateSource finds releases/updates from custom url feed (used primarily for testing)
func NewRemoteUpdateSource ¶
func (RemoteUpdateSource) Description ¶
func (k RemoteUpdateSource) Description() string
func (RemoteUpdateSource) FindUpdate ¶
func (k RemoteUpdateSource) FindUpdate(options keybase1.UpdateOptions) (update *keybase1.Update, err error)
type UpdateSource ¶
type UpdateSourceName ¶
type UpdateSourceName string
func DefaultUpdateSourceName ¶
func DefaultUpdateSourceName() UpdateSourceName
func UpdateSourceNameFromString ¶
func UpdateSourceNameFromString(name string, defaultSourceName UpdateSourceName) UpdateSourceName
Click to show internal directories.
Click to hide internal directories.