k9s/internal
Eric Bitencourt de Santana 92ff64eac3
Feature: add pod last restart column to pod section (#2946)
* feat: create ToRestartAge helper function to calculate last restart age

* feat: add Last Restart column to pod view

* test: add TestPodLastRestart to pod tests

* test: add TestToRestartAge tests

* test: fix all initial row states on table tests

* chore: remove TestToRestartAge changes

* refactor: move LastRestart pod function to internal function

* refactor: update to new go 1.22 range over map syntax
2024-11-14 08:56:52 -07:00
..
client Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
color Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
config Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
dao Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
health Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
model Feature: add pod last restart column to pod section (#2946) 2024-11-14 08:56:52 -07:00
model1 Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
perf K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
port K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
render Feature: add pod last restart column to pod section (#2946) 2024-11-14 08:56:52 -07:00
tchart Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
ui Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
view Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
vul K9s/release v0.32.5 (#2740) 2024-06-15 10:14:57 -06:00
watch Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
xray Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
helpers.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
helpers_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
keys.go K9s Release v0.29.0 (#2326) 2023-12-06 23:12:39 -07:00