sources

package
v1.0.6-1-windows Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2015 License: BSD-3-Clause, BSD-3-Clause Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	KeybaseSource Source = "keybase"
	GithubSource         = "github"
	RemoteSource         = "remote"
	DefaultSource        = ""
)

Variables

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 Source

type Source string

type UpdateSource

type UpdateSource interface {
	FindUpdate(config keybase1.UpdateConfig) (*keybase1.Update, error)
}

func UpdateSourceForName

func UpdateSourceForName(g *libkb.GlobalContext, name string) (UpdateSource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL