updates

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryUpdater

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

func NewRepositoryUpdater

func NewRepositoryUpdater(id, dir, owner, repo string) RepositoryUpdater

func (RepositoryUpdater) CurrentVersion

func (u RepositoryUpdater) CurrentVersion() (string, error)

func (RepositoryUpdater) ID

func (u RepositoryUpdater) ID() string

func (RepositoryUpdater) Install

func (u RepositoryUpdater) Install(version string) error

func (RepositoryUpdater) IsInstalled

func (u RepositoryUpdater) IsInstalled() bool

type VertexClientUpdater

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

func NewVertexClientUpdater

func NewVertexClientUpdater(dir string) VertexClientUpdater

func (VertexClientUpdater) CurrentVersion

func (u VertexClientUpdater) CurrentVersion() (string, error)

func (VertexClientUpdater) ID

func (u VertexClientUpdater) ID() string

func (VertexClientUpdater) Install

func (u VertexClientUpdater) Install(tag string) error

func (VertexClientUpdater) IsInstalled

func (u VertexClientUpdater) IsInstalled() bool

type VertexUpdater

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

func NewVertexUpdater

func NewVertexUpdater(about types.About) VertexUpdater

func (VertexUpdater) CurrentVersion

func (u VertexUpdater) CurrentVersion() (string, error)

func (VertexUpdater) ID

func (u VertexUpdater) ID() string

func (VertexUpdater) Install

func (u VertexUpdater) Install(tag string) error

func (VertexUpdater) IsInstalled

func (u VertexUpdater) IsInstalled() bool

Jump to

Keyboard shortcuts

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