-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
- Loading branch information
1 parent
924879d
commit 9260c89
Showing
22 changed files
with
455 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## kyverno-json | ||
|
||
kyverno-json | ||
|
||
### Synopsis | ||
|
||
kyverno-json is a CLI tool to apply policies to json resources | ||
|
||
``` | ||
kyverno-json [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for kyverno-json | ||
--payload string Path to payload (json or yaml file) | ||
--policy strings Path to kyverno-json policies | ||
--pre-process strings JmesPath expression used to pre process payload | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json completion](kyverno-json_completion.md) - Generate the autocompletion script for the specified shell | ||
* [kyverno-json docs](kyverno-json_docs.md) - Generates reference documentation. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## kyverno-json completion | ||
|
||
Generate the autocompletion script for the specified shell | ||
|
||
### Synopsis | ||
|
||
Generate the autocompletion script for kyverno-json for the specified shell. | ||
See each sub-command's help for details on how to use the generated script. | ||
|
||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for completion | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json](kyverno-json.md) - kyverno-json | ||
* [kyverno-json completion bash](kyverno-json_completion_bash.md) - Generate the autocompletion script for bash | ||
* [kyverno-json completion fish](kyverno-json_completion_fish.md) - Generate the autocompletion script for fish | ||
* [kyverno-json completion powershell](kyverno-json_completion_powershell.md) - Generate the autocompletion script for powershell | ||
* [kyverno-json completion zsh](kyverno-json_completion_zsh.md) - Generate the autocompletion script for zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## kyverno-json completion bash | ||
|
||
Generate the autocompletion script for bash | ||
|
||
### Synopsis | ||
|
||
Generate the autocompletion script for the bash shell. | ||
|
||
This script depends on the 'bash-completion' package. | ||
If it is not installed already, you can install it via your OS's package manager. | ||
|
||
To load completions in your current shell session: | ||
|
||
source <(kyverno-json completion bash) | ||
|
||
To load completions for every new session, execute once: | ||
|
||
#### Linux: | ||
|
||
kyverno-json completion bash > /etc/bash_completion.d/kyverno-json | ||
|
||
#### macOS: | ||
|
||
kyverno-json completion bash > $(brew --prefix)/etc/bash_completion.d/kyverno-json | ||
|
||
You will need to start a new shell for this setup to take effect. | ||
|
||
|
||
``` | ||
kyverno-json completion bash | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for bash | ||
--no-descriptions disable completion descriptions | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json completion](kyverno-json_completion.md) - Generate the autocompletion script for the specified shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## kyverno-json completion fish | ||
|
||
Generate the autocompletion script for fish | ||
|
||
### Synopsis | ||
|
||
Generate the autocompletion script for the fish shell. | ||
|
||
To load completions in your current shell session: | ||
|
||
kyverno-json completion fish | source | ||
|
||
To load completions for every new session, execute once: | ||
|
||
kyverno-json completion fish > ~/.config/fish/completions/kyverno-json.fish | ||
|
||
You will need to start a new shell for this setup to take effect. | ||
|
||
|
||
``` | ||
kyverno-json completion fish [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for fish | ||
--no-descriptions disable completion descriptions | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json completion](kyverno-json_completion.md) - Generate the autocompletion script for the specified shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## kyverno-json completion powershell | ||
|
||
Generate the autocompletion script for powershell | ||
|
||
### Synopsis | ||
|
||
Generate the autocompletion script for powershell. | ||
|
||
To load completions in your current shell session: | ||
|
||
kyverno-json completion powershell | Out-String | Invoke-Expression | ||
|
||
To load completions for every new session, add the output of the above command | ||
to your powershell profile. | ||
|
||
|
||
``` | ||
kyverno-json completion powershell [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for powershell | ||
--no-descriptions disable completion descriptions | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json completion](kyverno-json_completion.md) - Generate the autocompletion script for the specified shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## kyverno-json completion zsh | ||
|
||
Generate the autocompletion script for zsh | ||
|
||
### Synopsis | ||
|
||
Generate the autocompletion script for the zsh shell. | ||
|
||
If shell completion is not already enabled in your environment you will need | ||
to enable it. You can execute the following once: | ||
|
||
echo "autoload -U compinit; compinit" >> ~/.zshrc | ||
|
||
To load completions in your current shell session: | ||
|
||
source <(kyverno-json completion zsh) | ||
|
||
To load completions for every new session, execute once: | ||
|
||
#### Linux: | ||
|
||
kyverno-json completion zsh > "${fpath[1]}/_kyverno-json" | ||
|
||
#### macOS: | ||
|
||
kyverno-json completion zsh > $(brew --prefix)/share/zsh/site-functions/_kyverno-json | ||
|
||
You will need to start a new shell for this setup to take effect. | ||
|
||
|
||
``` | ||
kyverno-json completion zsh [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for zsh | ||
--no-descriptions disable completion descriptions | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json completion](kyverno-json_completion.md) - Generate the autocompletion script for the specified shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## kyverno-json docs | ||
|
||
Generates reference documentation. | ||
|
||
### Synopsis | ||
|
||
Generates reference documentation. | ||
|
||
The docs command generates CLI reference documentation. | ||
|
||
It can be used to generate simple markdown files or markdown to be used for the website. | ||
|
||
``` | ||
kyverno-json docs [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--autogenTag Determines if the generated docs should contain a timestamp (default true) | ||
-h, --help help for docs | ||
-o, --output string Output path (default ".") | ||
--website Website version | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [kyverno-json](kyverno-json.md) - kyverno-json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.