sort secrets and configs in cli
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
This commit is contained in:
4
cli/command/secret/testdata/secret-list-sort.golden
vendored
Normal file
4
cli/command/secret/testdata/secret-list-sort.golden
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
ID NAME DRIVER CREATED UPDATED
|
||||
ID-1-foo 1-foo 2 hours ago About an hour ago
|
||||
ID-2-foo 2-foo driver 2 hours ago About an hour ago
|
||||
ID-10-foo 10-foo driver 2 hours ago About an hour ago
|
||||
@ -1,2 +1,2 @@
|
||||
foo
|
||||
bar label=label-bar
|
||||
foo
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
ID NAME DRIVER CREATED UPDATED
|
||||
ID-foo foo 2 hours ago About an hour ago
|
||||
ID-bar bar 2 hours ago About an hour ago
|
||||
ID-foo foo 2 hours ago About an hour ago
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
foo
|
||||
bar label=label-bar
|
||||
foo
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
ID-foo
|
||||
ID-bar
|
||||
ID-foo
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
ID NAME DRIVER CREATED UPDATED
|
||||
ID-foo foo 2 hours ago About an hour ago
|
||||
ID-bar bar driver 2 hours ago About an hour ago
|
||||
Reference in New Issue
Block a user