Initial features 4 (#5)

* Select works fine

* Context switching works

* Going to expand fns

* Diff and value

* Progressing

* fix click events

* highlight code

* Add revision age info

* Values diff

* remove forgotten

* Refactor data layer, add flag

* UDV flag works

* Diff with prev works
This commit is contained in:
Andrey Pokhilko
2022-09-05 17:31:25 +01:00
committed by GitHub
parent 1580c2e9a0
commit 967d499742
9 changed files with 351 additions and 111 deletions

View File

@@ -55,13 +55,13 @@ func TestFlow(t *testing.T) {
}
_ = upgrade
manifests, err := data.RevisionManifests(chart.Namespace, chart.Name, history[len(history)-1].Revision)
manifests, err := data.RevisionManifests(chart.Namespace, chart.Name, history[len(history)-1].Revision, true)
if err != nil {
t.Fatal(err)
}
_ = manifests
diff, err := data.RevisionManifestsDiff(chart.Namespace, chart.Name, history[len(history)-1].Revision, history[len(history)-2].Revision)
diff, err := RevisionDiff(data.RevisionManifests, ".yaml", chart.Namespace, chart.Name, history[len(history)-1].Revision, history[len(history)-2].Revision, true)
if err != nil {
t.Fatal(err)
}