Fixed a wrong path and run make generate

This commit is contained in:
Naoki Oketani
2019-12-16 12:57:15 +09:00
parent 75e9079baa
commit 6fbab07df5
8 changed files with 44 additions and 43 deletions

View File

@@ -1,17 +1,16 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
// Code generated by "mdtogo"; DO NOT EDIT.
package commands
var CatShort = `[Alpha] Print Resource Config from a local directory.`
var CatLong = `
var CatShort=`[Alpha] Print Resource Config from a local directory.`
var CatLong=`
[Alpha] Print Resource Config from a local directory.
DIR:
Path to local directory.
`
var CatExamples = `
var CatExamples=`
# print Resource config from a directory
kustomize config cat my-dir/
@@ -21,8 +20,8 @@ var CatExamples = `
# unwrap Resource config from a directory in an ResourceList
... | kustomize config cat`
var CompletionShort = `Install shell completion.`
var CompletionLong = `
var CompletionShort=`Install shell completion.`
var CompletionLong=`
Install shell completion for kustomize commands and flags -- supports bash, fish and zsh.
kustomize install-completion
@@ -38,19 +37,19 @@ To uninstall shell completion run:
COMP_UNINSTALL=1 kustomize install-completion`
var CountShort = `[Alpha] Count Resources Config from a local directory.`
var CountLong = `
var CountShort=`[Alpha] Count Resources Config from a local directory.`
var CountLong=`
[Alpha] Count Resources Config from a local directory.
DIR:
Path to local directory.
`
var CountExamples = `
var CountExamples=`
# print Resource counts from a directory
kustomize config count my-dir/`
var FmtShort = `[Alpha] Format yaml configuration files.`
var FmtLong = `
var FmtShort=`[Alpha] Format yaml configuration files.`
var FmtLong=`
[Alpha] Format yaml configuration files.
Fmt will format input by ordering fields and unordered list items in Kubernetes
@@ -76,7 +75,7 @@ field paths.
- .spec.template.spec.containers (by element name)
- .webhooks.rules.operations (by element value)
`
var FmtExamples = `
var FmtExamples=`
# format file1.yaml and file2.yml
kustomize config fmt file1.yaml file2.yml
@@ -89,8 +88,8 @@ var FmtExamples = `
# format kustomize output
kustomize build | kustomize config fmt`
var GrepShort = `[Alpha] Search for matching Resources in a directory or from stdin`
var GrepLong = `
var GrepShort=`[Alpha] Search for matching Resources in a directory or from stdin`
var GrepLong=`
[Alpha] Search for matching Resources in a directory or from stdin.
QUERY:
@@ -103,7 +102,7 @@ var GrepLong = `
DIR:
Path to local directory.
`
var GrepExamples = `
var GrepExamples=`
# find Deployment Resources
kustomize config grep "kind=Deployment" my-dir/
@@ -116,8 +115,8 @@ var GrepExamples = `
# look for Resources matching a specific container image
kustomize config grep "spec.template.spec.containers[name=nginx].image=nginx:1\.7\.9" my-dir/ | kustomize config tree`
var MergeShort = `[Alpha] Merge Resource configuration files`
var MergeLong = `
var MergeShort=`[Alpha] Merge Resource configuration files`
var MergeLong=`
[Alpha] Merge Resource configuration files
Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write
@@ -133,11 +132,11 @@ For information on merge rules, run:
kustomize config docs merge
`
var MergeExamples = `
var MergeExamples=`
cat resources_and_patches.yaml | kustomize config merge > merged_resources.yaml`
var RunFnsShort = `[Alpha] Reoncile config functions to Resources.`
var RunFnsLong = `
var RunFnsShort=`[Alpha] Reoncile config functions to Resources.`
var RunFnsLong=`
[Alpha] Reconcile config functions to Resources.
run sequentially invokes all config functions in the directory, providing Resources
@@ -182,11 +181,11 @@ order they appear in the file).
See ` + "`" + `kustomize help config docs-fn` + "`" + ` for more details on writing functions.
`
var RunFnsExamples = `
var RunFnsExamples=`
kustomize config run example/`
var TreeShort = `[Alpha] Display Resource structure from a directory or stdin.`
var TreeLong = `
var TreeShort=`[Alpha] Display Resource structure from a directory or stdin.`
var TreeLong=`
[Alpha] Display Resource structure from a directory or stdin.
kustomize config tree may be used to print Resources in a directory or cluster, preserving structure
@@ -206,7 +205,7 @@ kustomize config tree supports printing arbitrary fields using the '--field' fla
By default, kustomize config tree uses the directory structure for the tree structure, however when printing
from the cluster, the Resource graph structure may be used instead.
`
var TreeExamples = `
var TreeExamples=`
# print Resources using directory structure
kustomize config tree my-dir/