cmd

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const SshGw = "https://sshgw.actuated.dev"

Variables

This section is empty.

Functions

func Execute

func Execute() error

func MakeVersion added in v0.1.2

func MakeVersion() *cobra.Command

func PrintASCIIArt added in v0.1.2

func PrintASCIIArt()

Types

type DeviceAuth added in v0.1.0

type DeviceAuth struct {
	DeviceCode      string `json:"device_code"`
	UserCode        string `json:"user_code"`
	VerificationURI string `json:"verification_uri"`
	ExpiresIn       int    `json:"expires_in"`
	Interval        int    `json:"interval"`
}

DeviceAuth is the device auth response from GitHub and is used to exchange for a personal access token

type Host added in v0.0.9

type Host struct {
	Name      string `json:"name"`
	Customer  string `json:"customer"`
	Reachable bool   `json:"reachable"`
	Status    string `json:"status"`
}

type RepairRes added in v0.0.10

type RepairRes struct {
	VMs int `json:"vms"`
}

Jump to

Keyboard shortcuts

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