Documentation ¶
Overview ¶
Copyright (c) 2021, 2022, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
Index ¶
- func CreateTempFile(filenamePattern string, data []byte) (*os.File, error)
- func FileExists(filePath string) (bool, error)
- func RemoveTempFiles(log *zap.SugaredLogger, regexPattern string) error
- func RunBash(inArgs ...string) (string, string, error)
- type CmdRunner
- type DefaultRunner
- type GenericTestRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempFile ¶ added in v1.3.0
CreateTempFile creates a temp file from a filename pattern and data
func FileExists ¶ added in v1.4.0
FileExists returns true if the file at the specified path exists, false otherwise
func RemoveTempFiles ¶
func RemoveTempFiles(log *zap.SugaredLogger, regexPattern string) error
Types ¶
type GenericTestRunner ¶ added in v1.4.0
GenericTestRunner is used to run generic OS commands with expected results
Click to show internal directories.
Click to hide internal directories.