target

package
v0.0.0-...-eabe34a Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SPDKScriptsDir  = "scripts"
	SPDKSetupScript = "setup.sh"
	SPDKTGTBinary   = "build/bin/spdk_tgt"
)

Variables

This section is empty.

Functions

func SetupTarget

func SetupTarget(spdkDir string, setupArgs []string, execute func(name string, args []string, timeout time.Duration) (string, error)) (err error)

SetupTarget setups the spdk_tgt with the given args

func StartTarget

func StartTarget(spdkDir string, args []string, timeout time.Duration, execute func(envs []string, binary string, args []string, timeout time.Duration) (string, error)) (err error)

StartTarget starts the spdk_tgt with the given args

Types

This section is empty.

Jump to

Keyboard shortcuts

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