updater

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AttrUpdaterLatestVersion ...
	AttrUpdaterLatestVersion = "latest_version"
	// AttrUpdaterLatestVersionTime ...
	AttrUpdaterLatestVersionTime = "latest_version_time"
	// AttrUpdaterLatestLatestDownloadUrl ...
	AttrUpdaterLatestLatestDownloadUrl = "latest_download_url"
	// AttrUpdaterLatestCheck ...
	AttrUpdaterLatestCheck = "last_check"
	// Name ...
	Name = "updater"
	// EntityUpdater ...
	EntityUpdater = string(Name)

	Version = "0.0.1"
)

Variables

This section is empty.

Functions

func New

func New() supervisor.Pluggable

New ...

func NewActions

func NewActions() map[string]supervisor.ActorAction

NewActions ...

func NewAttr

func NewAttr() m.Attributes

NewAttr ...

func NewStates

func NewStates() map[string]supervisor.ActorState

NewStates ...

Types

type Actor

type Actor struct {
	supervisor.BaseActor
	// contains filtered or unexported fields
}

Actor ...

func NewActor

func NewActor(entity *m.Entity, service supervisor.Service) *Actor

NewActor ...

func (*Actor) Destroy added in v0.12.0

func (e *Actor) Destroy()

func (*Actor) Spawn

func (e *Actor) Spawn()

type GithubRelease

type GithubRelease struct {
	Name               string `json:"name"`
	BrowserDownloadUrl string `json:"browser_download_url"`
}

GithubRelease ...

type GithubReleaseLatest

type GithubReleaseLatest struct {
	TagName   string          `json:"tag_name"`
	CreatedAt time.Time       `json:"created_at"`
	Assets    []GithubRelease `json:"assets"`
}

GithubReleaseLatest ...

Jump to

Keyboard shortcuts

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