tests

package
v0.0.0-...-5eba800 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInContainer

func IsInContainer() bool

IsInContainer returns true if the program is run inside a container.

func IsRootUser

func IsRootUser(t *testing.T) bool

IsRootUser returns true if the program is run as root.

func IsStaticDiginfraExecutable

func IsStaticDiginfraExecutable() bool

IsStaticDiginfraExecutable returns true if Diginfra executables use a static build.

func NewDiginfraExecutableRunner

func NewDiginfraExecutableRunner(t *testing.T) run.Runner

NewDiginfraExecutableRunner returns an executable runner for Diginfra.

func NewDiginfractlExecutableRunner

func NewDiginfractlExecutableRunner(t *testing.T) run.Runner

NewDiginfractlExecutableRunner returns an executable runner for diginfractl.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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