util

package
v0.0.0-...-8526693 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecLocal

func ExecLocal(command string, args ...string)

ExecLocal Helper tool to run a command locally

func ExecRemote

func ExecRemote(cfg SshConfig, command string, args ...string) string

Types

type SshConfig

type SshConfig struct {
	Host       string // 10.0.0.200:22
	User       string // Username
	Passphrase string // passphrase for ssh key
}

Source Files

  • util.go

Jump to

Keyboard shortcuts

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