-
- Downloads
Add unit tests for flux logs
Signed-off-by:
Somtochi Onyekwere <somtochionyekwere@gmail.com>
Showing
- cmd/flux/logs.go 9 additions, 9 deletionscmd/flux/logs.go
- cmd/flux/logs_test.go 111 additions, 0 deletionscmd/flux/logs_test.go
- cmd/flux/testdata/logs/all-logs.txt 6 additions, 0 deletionscmd/flux/testdata/logs/all-logs.txt
- cmd/flux/testdata/logs/kind.txt 2 additions, 0 deletionscmd/flux/testdata/logs/kind.txt
- cmd/flux/testdata/logs/log-level.txt 3 additions, 0 deletionscmd/flux/testdata/logs/log-level.txt
- cmd/flux/testdata/logs/multiple-filters.txt 1 addition, 0 deletionscmd/flux/testdata/logs/multiple-filters.txt
- cmd/flux/testdata/logs/namespace.txt 3 additions, 0 deletionscmd/flux/testdata/logs/namespace.txt
- go.mod 1 addition, 1 deletiongo.mod
cmd/flux/testdata/logs/all-logs.txt
0 → 100644
cmd/flux/testdata/logs/kind.txt
0 → 100644
cmd/flux/testdata/logs/log-level.txt
0 → 100644
cmd/flux/testdata/logs/multiple-filters.txt
0 → 100644
cmd/flux/testdata/logs/namespace.txt
0 → 100644
... | ... | @@ -31,6 +31,7 @@ require ( |
github.com/manifoldco/promptui v0.9.0 | ||
github.com/mattn/go-shellwords v1.0.12 | ||
github.com/olekukonko/tablewriter v0.0.5 | ||
github.com/onsi/gomega v1.19.0 | ||
github.com/spf13/cobra v1.4.0 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/theckman/yacspin v0.13.12 | ||
... | ... | @@ -131,7 +132,6 @@ require ( |
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/onsi/gomega v1.19.0 // indirect | ||
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.12.1 // indirect | ||
... | ... |
Please register or sign in to comment