upgrader

package
v0.0.0-...-bbd1f01 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: AGPL-3.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanIUpgradeToE0

func CanIUpgradeToE0() error

func UpgradeToE0

func UpgradeToE0() error

func UpgradeToE0Status

func UpgradeToE0Status() (int64, error)

Types

type InvalidArch

type InvalidArch struct{}

InvalidArch indicates that the current operating system or cpu architecture doesn't support upgrades

func NewInvalidArch

func NewInvalidArch() *InvalidArch

func (*InvalidArch) Error

func (e *InvalidArch) Error() string

type InvalidPermissions

type InvalidPermissions struct {
	ErrType            string
	Path               string
	FileUsername       string
	MattermostUsername string
}

InvalidPermissions indicates that the file permissions doesn't allow to upgrade

func NewInvalidPermissions

func NewInvalidPermissions(errType string, path string, mattermostUsername string, fileUsername string) *InvalidPermissions

func (*InvalidPermissions) Error

func (e *InvalidPermissions) Error() string

type InvalidSignature

type InvalidSignature struct{}

InvalidSignature indicates that the downloaded file doesn't have a valid signature.

func NewInvalidSignature

func NewInvalidSignature() *InvalidSignature

func (*InvalidSignature) Error

func (e *InvalidSignature) Error() string

Jump to

Keyboard shortcuts

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