updaters

package
v0.0.0-...-9176b4b Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Direct

type Direct struct {
	// contains filtered or unexported fields
}

func NewDirectUpdater

func NewDirectUpdater(url string, seed string) (*Direct, error)

func (*Direct) Download

func (d *Direct) Download() (output string, err error)

func (*Direct) Lookup

func (d *Direct) Lookup() (updateAvailable bool, err error)

func (*Direct) Method

func (d *Direct) Method() string

type GitHubDirect

type GitHubDirect struct {
	// contains filtered or unexported fields
}

func NewGitHubDirectUpdater

func NewGitHubDirectUpdater(updateInfoString *string, target string) (*GitHubDirect, error)

func (*GitHubDirect) Download

func (g *GitHubDirect) Download() (output string, err error)

func (*GitHubDirect) Lookup

func (g *GitHubDirect) Lookup() (updateAvailable bool, err error)

func (*GitHubDirect) Method

func (g *GitHubDirect) Method() string

type GitHubZsync

type GitHubZsync struct {
	// contains filtered or unexported fields
}

func NewGitHubZsyncUpdater

func NewGitHubZsyncUpdater(updateInfoString *string, target string) (*GitHubZsync, error)

func (*GitHubZsync) Download

func (g *GitHubZsync) Download() (output string, err error)

func (*GitHubZsync) Lookup

func (g *GitHubZsync) Lookup() (updateAvailable bool, err error)

func (*GitHubZsync) Method

func (g *GitHubZsync) Method() string

type OCSAppImageHubDirect

type OCSAppImageHubDirect struct {
	// contains filtered or unexported fields
}

func NewOCSAppImageHubDirect

func NewOCSAppImageHubDirect(updateInfoString *string, target string) (*OCSAppImageHubDirect, error)

func (*OCSAppImageHubDirect) Download

func (O *OCSAppImageHubDirect) Download() (output string, err error)

func (*OCSAppImageHubDirect) Lookup

func (O *OCSAppImageHubDirect) Lookup() (updateAvailable bool, err error)

func (*OCSAppImageHubDirect) Method

func (O *OCSAppImageHubDirect) Method() string

type OCSAppImageHubZSync

type OCSAppImageHubZSync struct {
	// contains filtered or unexported fields
}

func NewOCSAppImageHubZSync

func NewOCSAppImageHubZSync(updateInfoString *string, appImagePath string) (*OCSAppImageHubZSync, error)

func (*OCSAppImageHubZSync) Download

func (O *OCSAppImageHubZSync) Download() (output string, err error)

func (*OCSAppImageHubZSync) Lookup

func (O *OCSAppImageHubZSync) Lookup() (updateAvailable bool, err error)

func (*OCSAppImageHubZSync) Method

func (O *OCSAppImageHubZSync) Method() string

type ZSync

type ZSync struct {
	// contains filtered or unexported fields
}

func NewZSyncUpdater

func NewZSyncUpdater(updateInfoString *string, target string) (*ZSync, error)

func (*ZSync) Download

func (inst *ZSync) Download() (output string, err error)

func (*ZSync) DownloadTo

func (inst *ZSync) DownloadTo(targetPath string) (err error)

func (*ZSync) GetOutputPath

func (inst *ZSync) GetOutputPath() (output string)

func (*ZSync) Lookup

func (inst *ZSync) Lookup() (updateAvailable bool, err error)

func (*ZSync) Method

func (inst *ZSync) Method() string

func (*ZSync) RenameSeedIfRequired

func (inst *ZSync) RenameSeedIfRequired(output string) (err error)

Jump to

Keyboard shortcuts

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