system

package
v0.0.0-...-270f78c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestVersion

func GetLatestVersion() string

func HasNewerVersion

func HasNewerVersion(currentVersion, latestVersion string) bool

Types

type BuildInfo

type BuildInfo struct {
	BuildNumber    string
	ImageTag       string
	NodejsVersion  string
	YarnVersion    string
	WebpackVersion string
	GoVersion      string
}

type Handler

type Handler struct {
	*mux.Router
	// contains filtered or unexported fields
}

Handler is the HTTP handler used to handle status operations.

func NewHandler

func NewHandler(bouncer *security.RequestBouncer,
	status *portainer.Status,
	demoService *demo.Service,
	dataStore dataservices.DataStore,
	upgradeService upgrade.Service) *Handler

NewHandler creates a handler to manage status operations.

Jump to

Keyboard shortcuts

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