Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeybaseSource Source = "keybase" GithubSource = "github" RemoteSource = "remote" DefaultSource = "" )
Variables ¶
View Source
var Sources = []Source{KeybaseSource, GithubSource, DefaultSource}
Functions ¶
This section is empty.
Types ¶
type GithubUpdateSource ¶
type GithubUpdateSource struct {
libkb.Contextified
}
GithubUpdateSource finds releases/updates on Github
func NewGithubUpdateSource ¶
func NewGithubUpdateSource(g *libkb.GlobalContext) GithubUpdateSource
func (GithubUpdateSource) FindUpdate ¶
func (g GithubUpdateSource) FindUpdate(config keybase1.UpdateConfig) (update *keybase1.Update, err error)
type KeybaseUpdateSource ¶
type KeybaseUpdateSource struct {
libkb.Contextified
}
KeybaseUpdateSource finds releases/updates from custom url (used primarily for testing)
func NewKeybaseUpdateSource ¶
func NewKeybaseUpdateSource(g *libkb.GlobalContext) KeybaseUpdateSource
func (KeybaseUpdateSource) FindUpdate ¶
func (k KeybaseUpdateSource) FindUpdate(config keybase1.UpdateConfig) (update *keybase1.Update, err error)
type RemoteUpdateSource ¶
type RemoteUpdateSource struct {
libkb.Contextified
}
RemoteUpdateSource finds releases/updates from custom url feed (used primarily for testing)
func NewRemoteUpdateSource ¶
func NewRemoteUpdateSource(g *libkb.GlobalContext) RemoteUpdateSource
func (RemoteUpdateSource) FindUpdate ¶
func (k RemoteUpdateSource) FindUpdate(config keybase1.UpdateConfig) (update *keybase1.Update, err error)
type UpdateSource ¶
type UpdateSource interface {
FindUpdate(config keybase1.UpdateConfig) (*keybase1.Update, error)
}
func UpdateSourceForName ¶
func UpdateSourceForName(g *libkb.GlobalContext, name string) (UpdateSource, error)
Click to show internal directories.
Click to hide internal directories.