Sebastiaan van Stijn
|
65e4b0e2b3
|
cli/command/trust: remove deprecated io/ioutil and use t.TempDir()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit b5dce3c9e6 )
Signed-off-by: Cory Snider <csnider@mirantis.com>
|
2023-02-27 16:28:58 -05:00 |
Sebastiaan van Stijn
|
719169db63
|
Replace deprecated Cobra command.SetOutput() with command.SetOut()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-05-07 14:25:59 +02:00 |
Sebastiaan van Stijn
|
2c0e93063b
|
bump gotest.tools v3.0.1 for compatibility with Go 1.14
full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2020-02-23 00:28:55 +01:00 |
Arash Deshmeh
|
f8f0d72cf9
|
refactor trust inspect command unit tests to table-driven style
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
|
2018-08-08 13:50:00 -04:00 |
Vincent Demeester
|
2c4de4fb5e
|
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-06-08 18:24:26 +02:00 |
Nassim 'Nass' Eddequiouaq
|
c5554f811b
|
Refactor trust view command into a --pretty flag on trust inspect
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
|
2018-03-09 19:12:11 +01:00 |
Vincent Demeester
|
6e21829af4
|
Refactor content_trust cli/flags handling
Remove the global variable used. Allows easier unit testing.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-03-08 15:00:43 -05:00 |
Daniel Nephin
|
078cbc9c4b
|
Convert assert.Check with
git grep -l -P '^\s+assert\.Check\(t, ' | \
xargs perl -pi -e 's/^(\s+assert)\.Check(\(t, (?!is).*(\.Execute\(|\.Set\(|\.Write\(|\.Close\(|\.Untar\(|\.WriteFile\(|Validate\().*\)$)/\1.NilError\2/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 15:43:53 -05:00 |
Daniel Nephin
|
681c921528
|
Remove testutil
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 14:38:35 -05:00 |
Daniel Nephin
|
39c2ca57c1
|
Automated migration
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-05 19:41:17 -05:00 |
Riyaz Faizullabhoy
|
a9428285f0
|
Use default inspect formatting, remove omitempty, update docs
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-11-29 10:52:35 -08:00 |
Riyaz Faizullabhoy
|
1eb87cc096
|
support multiple arguments to trust inspect
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-11-29 10:52:34 -08:00 |
Riyaz Faizullabhoy
|
cd38d39d0d
|
add docker trust inspect command for JSON viewing
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2017-11-29 10:52:34 -08:00 |