mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
cmd/config: mark config command group as [Alpha]
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
// Code generated by "mdtogo"; DO NOT EDIT.
|
// Code generated by "mdtogo"; DO NOT EDIT.
|
||||||
package commands
|
package commands
|
||||||
|
|
||||||
var CatShort = `Print Resource Config from a local directory.`
|
var CatShort = `[Alpha] Print Resource Config from a local directory.`
|
||||||
var CatLong = `
|
var CatLong = `
|
||||||
Print Resource Config from a local directory.
|
[Alpha] Print Resource Config from a local directory.
|
||||||
|
|
||||||
DIR:
|
DIR:
|
||||||
Path to local directory.
|
Path to local directory.
|
||||||
@@ -21,9 +21,9 @@ var CatExamples = `
|
|||||||
# unwrap Resource config from a directory in an ResourceList
|
# unwrap Resource config from a directory in an ResourceList
|
||||||
... | kyaml cat`
|
... | kyaml cat`
|
||||||
|
|
||||||
var CountShort = `Count Resources Config from a local directory.`
|
var CountShort = `[Alpha] Count Resources Config from a local directory.`
|
||||||
var CountLong = `
|
var CountLong = `
|
||||||
Count Resources Config from a local directory.
|
[Alpha] Count Resources Config from a local directory.
|
||||||
|
|
||||||
DIR:
|
DIR:
|
||||||
Path to local directory.
|
Path to local directory.
|
||||||
@@ -32,9 +32,9 @@ var CountExamples = `
|
|||||||
# print Resource counts from a directory
|
# print Resource counts from a directory
|
||||||
kyaml count my-dir/`
|
kyaml count my-dir/`
|
||||||
|
|
||||||
var FmtShort = `Format yaml configuration files.`
|
var FmtShort = `[Alpha] Format yaml configuration files.`
|
||||||
var FmtLong = `
|
var FmtLong = `
|
||||||
Format yaml configuration files.
|
[Alpha] Format yaml configuration files.
|
||||||
|
|
||||||
Fmt will format input by ordering fields and unordered list items in Kubernetes
|
Fmt will format input by ordering fields and unordered list items in Kubernetes
|
||||||
objects. Inputs may be directories, files or stdin, and their contents must
|
objects. Inputs may be directories, files or stdin, and their contents must
|
||||||
@@ -72,9 +72,9 @@ var FmtExamples = `
|
|||||||
# format kustomize output
|
# format kustomize output
|
||||||
kustomize build | kyaml fmt`
|
kustomize build | kyaml fmt`
|
||||||
|
|
||||||
var GrepShort = `Search for matching Resources in a directory or from stdin`
|
var GrepShort = `[Alpha] Search for matching Resources in a directory or from stdin`
|
||||||
var GrepLong = `
|
var GrepLong = `
|
||||||
Search for matching Resources in a directory or from stdin.
|
[Alpha] Search for matching Resources in a directory or from stdin.
|
||||||
|
|
||||||
QUERY:
|
QUERY:
|
||||||
Query to match expressed as 'path.to.field=value'.
|
Query to match expressed as 'path.to.field=value'.
|
||||||
@@ -99,9 +99,9 @@ var GrepExamples = `
|
|||||||
# look for Resources matching a specific container image
|
# look for Resources matching a specific container image
|
||||||
kyaml grep "spec.template.spec.containers[name=nginx].image=nginx:1\.7\.9" my-dir/ | kyaml tree`
|
kyaml grep "spec.template.spec.containers[name=nginx].image=nginx:1\.7\.9" my-dir/ | kyaml tree`
|
||||||
|
|
||||||
var MergeShort = `Merge Resource configuration files`
|
var MergeShort = `[Alpha] Merge Resource configuration files`
|
||||||
var MergeLong = `
|
var MergeLong = `
|
||||||
Merge Resource configuration files
|
[Alpha] Merge Resource configuration files
|
||||||
|
|
||||||
Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write
|
Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write
|
||||||
the result to stdout or a destination package.
|
the result to stdout or a destination package.
|
||||||
@@ -119,9 +119,9 @@ For information on merge rules, run:
|
|||||||
var MergeExamples = `
|
var MergeExamples = `
|
||||||
cat resources_and_patches.yaml | kyaml merge > merged_resources.yaml`
|
cat resources_and_patches.yaml | kyaml merge > merged_resources.yaml`
|
||||||
|
|
||||||
var RunFnsShort = `Apply config functions to Resources.`
|
var RunFnsShort = `[Alpha] Reoncile config functions to Resources.`
|
||||||
var RunFnsLong = `
|
var RunFnsLong = `
|
||||||
Apply config functions to Resources.
|
[Alpha] Reconcile config functions to Resources.
|
||||||
|
|
||||||
run-fns sequentially invokes all config functions in the directly, providing Resources
|
run-fns sequentially invokes all config functions in the directly, providing Resources
|
||||||
in the directory as input to the first function, and writing the output of the last
|
in the directory as input to the first function, and writing the output of the last
|
||||||
@@ -168,9 +168,9 @@ order they appear in the file).
|
|||||||
var RunFnsExamples = `
|
var RunFnsExamples = `
|
||||||
kyaml run-fns example/`
|
kyaml run-fns example/`
|
||||||
|
|
||||||
var TreeShort = `Display Resource structure from a directory or stdin.`
|
var TreeShort = `[Alpha] Display Resource structure from a directory or stdin.`
|
||||||
var TreeLong = `
|
var TreeLong = `
|
||||||
Display Resource structure from a directory or stdin.
|
[Alpha] Display Resource structure from a directory or stdin.
|
||||||
|
|
||||||
kyaml tree may be used to print Resources in a directory or cluster, preserving structure
|
kyaml tree may be used to print Resources in a directory or cluster, preserving structure
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ import (
|
|||||||
|
|
||||||
var root = &cobra.Command{
|
var root = &cobra.Command{
|
||||||
Use: "config",
|
Use: "config",
|
||||||
Short: "Utilities for working with Resource Configuration.",
|
Short: "[Alpha] Utilities for working with Resource Configuration.",
|
||||||
Long: `Utilities for working with Resource Configuration.`,
|
Long: `[Alpha] Utilities for working with Resource Configuration.`,
|
||||||
Version: "v0.0.1",
|
Version: "v0.0.1",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,22 +44,22 @@ func NewConfigCommand(name string) *cobra.Command {
|
|||||||
|
|
||||||
root.AddCommand(&cobra.Command{
|
root.AddCommand(&cobra.Command{
|
||||||
Use: "docs-merge",
|
Use: "docs-merge",
|
||||||
Short: "Documentation for merging Resources (2-way merge).",
|
Short: "[Alpha] Documentation for merging Resources (2-way merge).",
|
||||||
Long: api.Merge2Long,
|
Long: api.Merge2Long,
|
||||||
})
|
})
|
||||||
root.AddCommand(&cobra.Command{
|
root.AddCommand(&cobra.Command{
|
||||||
Use: "docs-merge3",
|
Use: "docs-merge3",
|
||||||
Short: "Documentation for merging Resources (3-way merge).",
|
Short: "[Alpha] Documentation for merging Resources (3-way merge).",
|
||||||
Long: api.Merge3Long,
|
Long: api.Merge3Long,
|
||||||
})
|
})
|
||||||
root.AddCommand(&cobra.Command{
|
root.AddCommand(&cobra.Command{
|
||||||
Use: "docs-fn",
|
Use: "docs-fn",
|
||||||
Short: "Documentation for writing containerized functions run by run-fns.",
|
Short: "[Alpha] Documentation for writing containerized functions run by run-fns.",
|
||||||
Long: api.ConfigFnLong,
|
Long: api.ConfigFnLong,
|
||||||
})
|
})
|
||||||
root.AddCommand(&cobra.Command{
|
root.AddCommand(&cobra.Command{
|
||||||
Use: "docs-io-annotations",
|
Use: "docs-io-annotations",
|
||||||
Short: "Documentation for annotations used by io.",
|
Short: "[Alpha] Documentation for annotations used by io.",
|
||||||
Long: api.ConfigIoLong,
|
Long: api.ConfigIoLong,
|
||||||
})
|
})
|
||||||
return root
|
return root
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## cat
|
## cat
|
||||||
|
|
||||||
Print Resource Config from a local directory.
|
[Alpha] Print Resource Config from a local directory.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Print Resource Config from a local directory.
|
[Alpha] Print Resource Config from a local directory.
|
||||||
|
|
||||||
DIR:
|
DIR:
|
||||||
Path to local directory.
|
Path to local directory.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## count
|
## count
|
||||||
|
|
||||||
Count Resources Config from a local directory.
|
[Alpha] Count Resources Config from a local directory.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Count Resources Config from a local directory.
|
[Alpha] Count Resources Config from a local directory.
|
||||||
|
|
||||||
DIR:
|
DIR:
|
||||||
Path to local directory.
|
Path to local directory.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## fmt
|
## fmt
|
||||||
|
|
||||||
Format yaml configuration files.
|
[Alpha] Format yaml configuration files.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Format yaml configuration files.
|
[Alpha] Format yaml configuration files.
|
||||||
|
|
||||||
Fmt will format input by ordering fields and unordered list items in Kubernetes
|
Fmt will format input by ordering fields and unordered list items in Kubernetes
|
||||||
objects. Inputs may be directories, files or stdin, and their contents must
|
objects. Inputs may be directories, files or stdin, and their contents must
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## grep
|
## grep
|
||||||
|
|
||||||
Search for matching Resources in a directory or from stdin
|
[Alpha] Search for matching Resources in a directory or from stdin
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Search for matching Resources in a directory or from stdin.
|
[Alpha] Search for matching Resources in a directory or from stdin.
|
||||||
|
|
||||||
QUERY:
|
QUERY:
|
||||||
Query to match expressed as 'path.to.field=value'.
|
Query to match expressed as 'path.to.field=value'.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## merge
|
## merge
|
||||||
|
|
||||||
Merge Resource configuration files
|
[Alpha] Merge Resource configuration files
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Merge Resource configuration files
|
[Alpha] Merge Resource configuration files
|
||||||
|
|
||||||
Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write
|
Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write
|
||||||
the result to stdout or a destination package.
|
the result to stdout or a destination package.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## run-fns
|
## run-fns
|
||||||
|
|
||||||
Apply config functions to Resources.
|
[Alpha] Reoncile config functions to Resources.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Apply config functions to Resources.
|
[Alpha] Reconcile config functions to Resources.
|
||||||
|
|
||||||
run-fns sequentially invokes all config functions in the directly, providing Resources
|
run-fns sequentially invokes all config functions in the directly, providing Resources
|
||||||
in the directory as input to the first function, and writing the output of the last
|
in the directory as input to the first function, and writing the output of the last
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
## tree
|
## tree
|
||||||
|
|
||||||
Display Resource structure from a directory or stdin.
|
[Alpha] Display Resource structure from a directory or stdin.
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
|
|
||||||
Display Resource structure from a directory or stdin.
|
[Alpha] Display Resource structure from a directory or stdin.
|
||||||
|
|
||||||
kyaml tree may be used to print Resources in a directory or cluster, preserving structure
|
kyaml tree may be used to print Resources in a directory or cluster, preserving structure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user