command

package
v0.4.4-rc-0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *cli.App

func GetUID added in v0.1.5

func GetUID(ctx context.Context) (string, error)

GetUID returns the machine ID from the state file. Returns an empty string and sql.ErrNoRows if the machine ID is not found. Assumes that the state file is already opened and machine ID is already created.

Types

type NotificationType added in v0.1.5

type NotificationType string
const (
	NotificationTypeShutdown NotificationType = "shutdown"
	NotificationTypeStartup  NotificationType = "startup"
)

Jump to

Keyboard shortcuts

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