Commit graph

24 commits

Author SHA1 Message Date
Meredith Lancaster
24412d2072 remove unneeded table printer method
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 20:00:58 -06:00
Meredith Lancaster
338f9cf78c return JSON results in slice instead of table
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 19:45:02 -06:00
Meredith Lancaster
99111a3357 add more sigstore verifier specific tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 19:11:42 -06:00
Meredith Lancaster
5787fef7b4 start adding sigstore verifier unit tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 19:01:16 -06:00
Meredith Lancaster
587b318d1f PrintTableToStdOut returns err when rendering fails
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 13:03:22 -06:00
Meredith Lancaster
9becdc5a26 add tests for CLI commands
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-13 07:46:57 -06:00
Meredith Lancaster
7565cc4437 update comments
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 18:20:00 -06:00
Meredith Lancaster
4ae0470dcd unexport top level subcommand funcs
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 18:05:02 -06:00
Meredith Lancaster
9ad3b220a3 switch over to using RunE
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 17:52:17 -06:00
Meredith Lancaster
f055517baa create interface for oci client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 16:12:45 -06:00
Meredith Lancaster
be6b042039 use the iostreams.Test helper func
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 14:48:00 -06:00
Meredith Lancaster
f1a2f8f0fc use StringEnumFlag handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 12:46:19 -06:00
Meredith Lancaster
e0fc8c7032 switch assert to require
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-12 11:58:08 -06:00
Meredith Lancaster
fbba7b5e40 pull over doc updates
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 14:41:30 -07:00
Meredith Lancaster
5492f8974d add testing around OCI and API client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 11:39:32 -07:00
Meredith Lancaster
4273980a42 add more verbose options and logging
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 07:57:23 -07:00
Meredith Lancaster
155a7c9111 move client initialization back to subcommands
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 17:48:26 -07:00
Meredith Lancaster
65071223d8 pass oci client to commands directly
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 14:39:28 -07:00
Meredith Lancaster
af90403ecb check user's GH host for compatibility
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 09:53:36 -07:00
Meredith Lancaster
149a78a23c formatter
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:42:08 -07:00
Meredith Lancaster
4df1548c1e rename logger pkg to logger
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:36:48 -07:00
Meredith Lancaster
fa22214380 pass iostream struct from command
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:30:48 -07:00
Meredith Lancaster
f832d57eb3 pass factory object to inspect cmd, add inspect sub cmd to attestation cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 13:58:02 -07:00
Meredith Lancaster
884fe225d1 add inspect cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 13:55:05 -07:00