executil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombinedOutputJournalctl

func CombinedOutputJournalctl(ctx context.Context, args ...string) ([]byte, error)

func CombinedOutputSystemctl

func CombinedOutputSystemctl(ctx context.Context, args ...string) ([]byte, error)

func CombinedOutputSystemdRun

func CombinedOutputSystemdRun(ctx context.Context, args ...string) ([]byte, error)

func CombinedOutputWorkflowCommand

func CombinedOutputWorkflowCommand(ctx context.Context, name string, args ...string) ([]byte, error)

func IsExecutableNotFound

func IsExecutableNotFound(err error) bool

func IsExitError

func IsExitError(err error) bool

func LookPathAptGet

func LookPathAptGet() (string, error)

func LookPathDnf

func LookPathDnf() (string, error)

func LookPathSystemctl

func LookPathSystemctl() (string, error)

func LookPathSystemdRun

func LookPathSystemdRun() (string, error)

func LookPathWorkflowBinary

func LookPathWorkflowBinary(file string) (string, error)

func RunSystemctl

func RunSystemctl(ctx context.Context, args ...string) error

func RunWorkflowCommand

func RunWorkflowCommand(ctx context.Context, name string, args ...string) error

func RunWorkflowCommandWithIO

func RunWorkflowCommandWithIO(ctx context.Context, stdout io.Writer, stderr io.Writer, name string, args ...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