utils

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryName

func BinaryName() string

func BinaryVersion

func BinaryVersion() string

func IsLatest

func IsLatest()

func Panic

func Panic(err error)

func ResolvePortForwarding

func ResolvePortForwarding(pf string) []string

func TargetType

func TargetType(target string) string

func UserName

func UserName() string

Types

type Args

type Args struct {
	Profile, Target, Command, PortForward, RemoteHost, Vault string
}

func ParseFlags

func ParseFlags() Args

type Target

type Target struct {
	ResolvedName, SessionInfo, Type, RemoteHost string
	Resolved                                    bool
	PortForwarding                              []string
}

Jump to

Keyboard shortcuts

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