utils

package
v0.0.0-...-b1cec19 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log = logrus.New()

Functions

func EnsureDir

func EnsureDir(dirName string) error

EnsureDir ensures that a directory exists, and creates it if it doesn't.

func InitLogger

func InitLogger()

func RunSSHCommand

func RunSSHCommand(device models.Device, username, password, command string, timeout int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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