crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
26c201f7
ROOT
/
test
/
cli
/
utils_test.go
Search
History
371 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
showOutput
logOutputOnFailure
(t testing.TB, cmd *exec.Cmd, stdout, stderr string)
runAndShow
(t *testing.T, cmd *exec.Cmd)
setupPKI
(t *testing.T, pw string)
:
func()
getFixtureImage
(t testing.TB, fixtureImageName string)
:
string
pullDockerImage
(t testing.TB, image string)
runCycloneDXInDocker
(t testing.TB, env map[string]string, image string, f *os.File, args ...string)
:
(*exec.Cmd, string, string)
runSyftInDocker
(t testing.TB, env map[string]string, image string, args ...string)
:
(*exec.Cmd, string, string)
runSyft
(t testing.TB, env map[string]string, args ...string)
:
(*exec.Cmd, string, string)
runSyftSafe
(t testing.TB, env map[string]string, args ...string)
:
(*exec.Cmd, string, string)
runSyftCommand
(t testing.TB, env map[string]string, expectError bool, args ...string)
:
(*exec.Cmd, string, string)
runCommandObj
(t testing.TB, cmd *exec.Cmd, env map[string]string, expectError bool)
:
(string, string)
runCosign
(t testing.TB, env map[string]string, args ...string)
:
(*exec.Cmd, string, string)
getCommand
(t testing.TB, location string, args ...string)
:
*exec.Cmd
runCommand
(cmd *exec.Cmd, env map[string]string)
:
(string, string, error)
envMapToSlice
(env map[string]string)
:
(envList []string)
getSyftCommand
(t testing.TB, args ...string)
:
*exec.Cmd
getSyftBinaryLocation
(t testing.TB)
:
string
getSyftBinaryLocationByOS
(t testing.TB, goOS string)
:
string
repoRoot
(t testing.TB)
:
string
testRetryIntervals
(done <-chan struct{})
:
<-chan time.Duration
exponentialBackoffDurations
(minDuration, maxDuration time.Duration, step float64, done <-chan struct{})
:
<-chan time.Duration
exponentialBackoffDuration
(minDuration, maxDuration time.Duration, step float64, attempt int)
:
time.Duration
All occurrences
Please wait...
Page is in error, reload to recover