This project is mirrored from https://gitee.com/mirrors/Datree.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 02 Jun, 2022 1 commit
-
-
Roy Hadad authored
-
- 01 Jun, 2022 1 commit
-
-
Roy Hadad authored
* refactor: change PrintWarnings to GetWarningsText * refactor: return yamlValidationWarnings instead of printing * refactor: convert PrintWarnings to GetWarningsText * refactor: convert PrintEvaluationSummary to GetEvaluationSummaryText * refactor: convert PrintSummaryTable to GetSummaryTableText * refactor: break down PrintYamlSchemaResults to builder and printer * refactor: make getTextInColor public * refactor: make getTextInColor public * fix: add print in PrintValidationResults * refactor: remove unused mocks from set command printer * refactor: rename getStringOrNotAvailaible to getStringOrNotAvailableText * refactor: remove unused method * style: fix lint * fix: error handle after out.Write * style: fix lint * fix: add newline that was missing
-
- 15 May, 2022 1 commit
-
-
shalev007 authored
* fix: change error message to human readable * feat: add new validateYaml command * test: fix tests * fix: add filename to default print * fix: add new validate yaml context * test: add validate yaml tests * feat: remove validate-yaml from help menu * feat: export logic to yamlValidator pkg * test: add test to pkg * fix: removed unnecessary example comment * fix: change variable names * fix: deleted comments * fix: removed human readable error message * fix: readded tests with files * fix: change extractor error mesage * feat: add pkg dependency * fix: remove comments Co-authored-by:
shalev avhar <shalev@datree.io>
-
- 28 Apr, 2022 1 commit
-
-
Roy Hadad authored
* feat: first working version, show skipped files regarding k8s validation * test: fix failing tests * style: fix lint * docs: add variations.yaml file and revert service.yaml * refactor: add a check in validateResource for isValid before adding the skip warning, this doesn't effect performance but is more correct * feat: change message for skipped k8s validation * feat: change line breaks in case of k8s validation warning * test: add test case for missing schema skip message * docs: adjust combinations.yaml * refactor: rename example file * docs: fix typo * style: remove empty line * fix: add nil check before casting pointer to value, to avoid a runtime panic error
-
- 26 Apr, 2022 1 commit
-
-
TzlilSwimmer123 authored
Co-authored-by:
teselil <tzlil@datree.com> Co-authored-by:
Roy Hadad <roy@datree.io>
-
- 13 Apr, 2022 1 commit
-
-
shalev007 authored
* fix: wrong failed rule counter * fix: total skipped with more then one occurrences * fix: non interactive output total rules passed correct number * fix: occurrences wrong amount on print * fix: changed occurencesCount method Co-authored-by:
shalev avhar <shalev@datree.io> Co-authored-by:
shmuelsa <shmuel@datree.io> Co-authored-by:
Yishay Mendelsohn <myishay@gmail.com>
-
- 11 Apr, 2022 1 commit
-
-
shalev007 authored
* feat: add skip rules * feat: add Configuration skipped properties * refactor: split loop - extract filesData populate to its own loop * refactor: rename ruleWithSchema to rule * refactor: split loop - extract rulesData initialization to its own loop * refactor: move configuration extraction to upper loop * refactor: slide statements * refactor: remove redundant line * refactor: rename newFailedRule to failedRule * refactor: extract evaluateRule function * refactor: add jsonSchemaValidator to evaluator context and add evaluateRule to evaluator * refactor: extract evaluateConfiguration method * refactor: change failedRuleData to failedRule variable name * feat: add skip for cli format * refactor: add EvaluationResultsSummery struct * feat: add skip rules print * fix: add go linter formatting * feat: add cyan color for skip rule summery * fix: show all skipped regardless of failed rules Co-authored-by:
shalev avhar <shalev@datree.io> Co-authored-by:
Alex <alex@datree.io> Co-authored-by:
shmuelsa <95699772+shmuelsa@users.noreply.github.com>
-
- 31 Mar, 2022 1 commit
-
-
Akhil authored
-
- 30 Mar, 2022 1 commit
-
-
Dima Brusilovsky authored
-
- 21 Mar, 2022 1 commit
-
-
Dima Brusilovsky authored
-
- 21 Feb, 2022 2 commits
- 20 Feb, 2022 1 commit
-
-
TzlilSwimmer123 authored
Co-authored-by:
Tzlil Swimmer <tzlilswimmer@Tzlils-MacBook-Pro.local>
-
- 17 Feb, 2022 1 commit
-
-
TzlilSwimmer123 authored
* on messgaing warning - check if k8s failed due to helm file (Chart/chart/Values/values.ym?al) added new color for that - Checking with Adi what she thinks * new line * rename new function * change the logic - add warning extra messages * update message text * use array and goimports * fix fmt test Co-authored-by:
Tzlil Swimmer <tzlilswimmer@Tzlils-MacBook-Pro.local> Co-authored-by:
Alex Fedin <alex@datree.io>
-
- 29 Sep, 2021 1 commit
-
-
myishay authored
-
- 11 Aug, 2021 2 commits
- 09 Aug, 2021 8 commits
- 08 Aug, 2021 1 commit
-
-
myishay authored
-
- 04 Aug, 2021 3 commits
- 03 Aug, 2021 3 commits
- 02 Aug, 2021 3 commits
- 14 Jul, 2021 1 commit
-
-
Dima Brusilovsky authored
-
- 10 Jun, 2021 1 commit
-
-
Dima Brusilovsky authored
-
- 09 Jun, 2021 2 commits
- 08 Jun, 2021 1 commit
-
-
myishay authored
-