versioncheck

package
v0.0.372 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchWorkspaceRequirements

func FetchWorkspaceRequirements(ctx context.Context) (*schema.Workspace_FoundationRequirements, error)

XXX this method is not correct; it does not take into account the API requirements of the module's dependencies.

Types

type Status

type Status struct {
	Version    string
	NewVersion bool
	BuildTime  time.Time
}

func CheckRemote

func CheckRemote(ctx context.Context, current *storage.NamespaceBinaryVersion, command string) (*Status, error)

Checks for updates and messages from Namespace developers. Does nothing if a check for remote status failed

Jump to

Keyboard shortcuts

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