cmd

package
v0.0.0-...-80a0678 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const EquinixMetalProvider = "equinix-metal"

EquinixMetalProvider is a constant string for Equinix Metal

View Source
const WelcomeMessage = "Welcome to inletsctl! Find out more at https://github.com/inlets/inletsctl"

WelcomeMessage to introduce inletsctl

Variables

View Source
var (
	// Version as per git repo
	Version string = "dev"

	// GitCommit as per git repo
	GitCommit string
)

Functions

func Execute

func Execute(version, gitCommit string) error

Execute adds all child commands to the root command(InletsCmd) and sets flags appropriately. This is called by main.main(). It only needs to happen once to the InletsCmd.

func MakeHTTPSUserdata

func MakeHTTPSUserdata(authToken, version, letsEncryptEmail, letsEncryptIssuer string, domains []string) string

MakeHTTPSUserdata makes a user-data script in bash to setup inlets PRO with a systemd service and the given version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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