updater

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

README

UPDATER Plugin

Documentation

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

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