utils

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDirectory

func CopyDirectory(srcFileName, dstFileName string) error

func DeleteDeviceImage

func DeleteDeviceImage(deleteDeviceImage string) error

func DeleteMapperImage

func DeleteMapperImage(deleteMapperImage string) error

delete mapper image

func MakeDeviceImage

func MakeDeviceImage(makeDevice string, checkDeviceImage string) error

func MakeMapperImages

func MakeMapperImages(makeMapperImage, checkMapperImage string) error

func PrintCmdOutput

func PrintCmdOutput(cmd *exec.Cmd) error

func ReadDockerLog

func ReadDockerLog(getContainerID string, n int) (string, error)

read n line container log

func RmDirectory

func RmDirectory(fileName string) error

func RunMapper

func RunMapper(runMapper, devicesProfilesname string, checkMapperRun string) error

run mapper

func StartDevices

func StartDevices(runDeviceContainer string, checkDeviceRun string) error

run device container

func StopAndDeleteDevice

func StopAndDeleteDevice(getContainerID string) error

stop mapper container

func StopAndDeleteMapper

func StopAndDeleteMapper(getContainerID string) error

stop mapper container

Types

This section is empty.

Jump to

Keyboard shortcuts

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