Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kopia policy show command and output parser #2440

Merged
merged 6 commits into from
Nov 1, 2023
Merged

Conversation

redgoat650
Copy link
Contributor

Change Overview

Add the kopia policy show --global command and a JSON parser that will return a kopia policy.Policy from its output.
I agree to the DCO for all the commits in this PR.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Test Plan

$ cd pkg/kopia/command
$ go test -check.f PolicyShow
OK: 2 passed
PASS
  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@infraq infraq added this to In Progress in Kanister Oct 26, 2023
Kanister automation moved this from In Progress to Reviewer approved Oct 29, 2023
@mergify mergify bot merged commit a5b4e6c into master Nov 1, 2023
14 checks passed
Kanister automation moved this from Reviewer approved to Done Nov 1, 2023
@mergify mergify bot deleted the kopia-policy-show branch November 1, 2023 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants