Commit Graph

159 Commits

Author SHA1 Message Date
Andrew Lavery
079765b558 add 'no matching files' analyze result 2020-04-15 19:17:01 -04:00
Andrew Lavery
45ccd7be5b don't conglomerate results
doing so sort of breaks the 'invalid analyzer' message if no files match
2020-04-15 19:13:37 -04:00
Andrew Lavery
2bc9938a2a use filepath.Glob and filepath.Match 2020-04-15 18:59:17 -04:00
Andrew Lavery
5050f46b1e use gobwas/glob to match globs 2020-04-15 18:47:16 -04:00
Andrew Lavery
222a93162d allow textAnalyze to run on all files in a dir or matching a prefix 2020-04-15 18:08:08 -04:00
Andrew Lavery
7dc93ddade don't redact nil entries, discard them 2020-04-14 17:59:12 -04:00
Andrew Lavery
a7c4f04a63 convert remaining collectors to map[string][]byte format 2020-04-14 17:15:53 -04:00
Andrew Lavery
527fe16bcc reduce marshal/unmarshal passes by returning map[string][]byte
WIP
2020-04-14 16:37:51 -04:00
Andrew Lavery
cbaf96691e collect logs from all containers in a pod if no container is specified 2020-04-08 16:05:44 -04:00
Andrew Lavery
4dfb02e7f7 Merge pull request #167 from replicatedhq/laverya/include-container-in-copy-path-if-provided
include the container name in the file copy path destination if provided
2020-04-06 18:29:45 -04:00
Andrew Lavery
2c495b8a7a include the container name in the file copy path destination if provided 2020-04-06 18:02:37 -04:00
Andrew Lavery
c3646bacd9 don't use a default filename in paths 2020-04-06 18:01:13 -04:00
Andrew Lavery
3844a3dbd3 don't override namespace 2020-04-06 17:44:57 -04:00
Andrew Lavery
544c832d6e support the 'includeValue' flag for secrets 2020-04-06 17:03:19 -04:00
Ashwathi Shiva
d1c45f1456 fixes path handling in windows as well 2020-03-26 00:58:40 -04:00
Marc Campbell
e9ad961c0e Merge pull request #160 from replicatedhq/build-on-actions
Move all to github actions
2020-03-23 10:43:09 -07:00
Marc Campbell
bd71222715 Removing more unused code 2020-03-23 10:01:30 -07:00
divolgin
9dbf282b5b Merge pull request #156 from replicatedhq/divolgin/previous
Include previous logs from pods if available
2020-03-23 09:19:33 -07:00
Marc Campbell
821a132980 add some omitempty 2020-03-23 08:58:02 -07:00
Marc Campbell
8f78827002 Redis 2020-03-20 11:03:49 -07:00
Marc Campbell
77eba55ee8 Abstract, add mysql 2020-03-20 07:19:03 -07:00
Marc Campbell
562a565f1f Adding postgres analyzer 2020-03-19 18:28:13 -07:00
divolgin
db8533e69c Include previous logs from pods if available 2020-03-18 17:53:43 +00:00
Marc Campbell
f37bbdb14c Merge pull request #153 from replicatedhq/export-function
Export function
2020-03-17 14:36:38 -07:00
mzaneri
86b745d6c2 Update distribution.go 2020-03-12 16:01:27 -07:00
mzaneri
c773ebd894 Update distribution.go 2020-03-12 14:56:03 -07:00
Michael
a1c5247c8b REFACTOR create helper functions for analyzeDistribution 2020-03-12 18:01:05 +00:00
Marc Campbell
983aaaacea Defining types in a package 2020-03-10 17:32:16 +00:00
Marc Campbell
e74101070d Refactor 2020-03-10 01:07:57 +00:00
Andrew Lavery
1c66eed2cd move multitype package here from kots 2020-03-09 17:37:27 -07:00
divolgin
983481da07 5 is definitely not more than 20.... 2020-03-09 19:07:46 +00:00
Marc Campbell
6563290de9 More clear solutino: 2020-03-07 21:30:41 +00:00
Marc Campbell
ff627dcf83 Fix equality in regex analyzer 2020-03-07 21:28:17 +00:00
Marc Campbell
c9b01f981d Remove unused code 2020-03-06 00:49:53 +00:00
Marc Campbell
d81cff0d67 BoolString can only unmarshal as json 2020-03-06 00:33:39 +00:00
Marc Campbell
8126cb3d3d Fix 2020-03-05 23:41:55 +00:00
Marc Campbell
6277101574 Use bool string for exclude value 2020-03-05 23:35:21 +00:00
Marc Campbell
346c751bdf Merge pull request #134 from replicatedhq/openapischema
Generate OpenAPISchema
2020-03-05 13:42:21 -08:00
Salah Al Saleh
648564eb4d Fix text_analyze_test (#142) 2020-02-25 16:42:00 -08:00
GraysonNull
42288a4ff3 add IconURI to insights 2020-02-18 21:23:44 +00:00
divolgin
1f9e478a78 Merge pull request #135 from replicatedhq/divolgin/icons
New icons for analyzers
2020-02-14 10:20:41 -08:00
Frank Shotwell
1a117220cb add aks detection 2020-02-12 17:57:38 +00:00
divolgin
1c79403934 New icons for analyzers 2020-02-11 23:52:29 +00:00
Marc Campbell
d1ab5a6991 Docs say exclude, code says when 2020-02-10 22:13:07 +00:00
Marc Campbell
e94b152733 strings.fields 2020-02-06 19:54:02 +00:00
Marc Campbell
717ba13614 Sum, min, max and count aggregation functions 2020-02-06 19:30:50 +00:00
Marc Campbell
6765e6c030 Working on aggregation functions 2020-02-06 19:10:22 +00:00
Marc Campbell
eea2315c52 Aggregate analyzers for node troubleshoot: 2020-02-06 10:06:09 -08:00
Frank Shotwell
130aa88f3a Merge pull request #128 from replicatedhq/scope
Add scope test instrumentation
2020-01-31 12:31:21 -08:00
Frank Shotwell
f8870e5fc0 move scope instrumentation to handle table-driven tests 2020-01-31 06:25:07 +00:00