utils

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExistsAndIsExecutable

func CheckExistsAndIsExecutable(path string) error

Check if the given file exists and is executable

func CreateCMDWithStdout

func CreateCMDWithStdout(name string, arg ...string) *exec.Cmd

Create a command that writes to stdout/stderr

func GetMachineID

func GetMachineID() (string, error)

Read the machine-id from /etc/machine-id

Types

This section is empty.

Jump to

Keyboard shortcuts

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