Skip to content

Commit

Permalink
Merge pull request #6798 from xiang90/fix_doc
Browse files Browse the repository at this point in the history
docs: fix docs for #6776
  • Loading branch information
j3ffml committed Apr 14, 2015
2 parents afd7d77 + 5f4b2f5 commit b59266a
Show file tree
Hide file tree
Showing 31 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion docs/.files_generated
@@ -1,3 +1,4 @@
kubectl.md
kubectl_api-versions.md
kubectl_cluster-info.md
kubectl_config.md
Expand All @@ -16,7 +17,6 @@ kubectl_expose.md
kubectl_get.md
kubectl_label.md
kubectl_log.md
kubectl.md
kubectl_namespace.md
kubectl_port-forward.md
kubectl_proxy.md
Expand Down
2 changes: 1 addition & 1 deletion docs/kubectl.md
Expand Up @@ -66,4 +66,4 @@ kubectl
* [kubectl update](kubectl_update.md) - Update a resource by filename or stdin.
* [kubectl version](kubectl_version.md) - Print the client and server version information.

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.453079685 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.641789142 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_api-versions.md
Expand Up @@ -50,4 +50,4 @@ kubectl api-versions
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452805417 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.641051929 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_cluster-info.md
Expand Up @@ -50,4 +50,4 @@ kubectl cluster-info
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452687658 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.640723377 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config.md
Expand Up @@ -60,4 +60,4 @@ kubectl config SUBCOMMAND
* [kubectl config use-context](kubectl_config_use-context.md) - Sets the current-context in a kubeconfig file
* [kubectl config view](kubectl_config_view.md) - displays Merged kubeconfig settings or a specified kubeconfig file.

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452570294 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.640323684 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_set-cluster.md
Expand Up @@ -68,4 +68,4 @@ $ kubectl config set-cluster e2e --insecure-skip-tls-verify=true
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.451768559 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.637680508 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_set-context.md
Expand Up @@ -61,4 +61,4 @@ $ kubectl config set-context gce --user=cluster-admin
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452031181 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.638371771 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_set-credentials.md
Expand Up @@ -81,4 +81,4 @@ $ kubectl set-credentials cluster-admin --client-certificate=~/.kube/admin.crt -
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.451906112 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.638019407 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_set.md
Expand Up @@ -55,4 +55,4 @@ kubectl config set PROPERTY_NAME PROPERTY_VALUE
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.45217009 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.638724317 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_unset.md
Expand Up @@ -54,4 +54,4 @@ kubectl config unset PROPERTY_NAME
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452318625 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.639325332 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_use-context.md
Expand Up @@ -53,4 +53,4 @@ kubectl config use-context CONTEXT_NAME
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452447654 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.639859272 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_config_view.md
Expand Up @@ -75,4 +75,4 @@ $ kubectl config view -o template --template='{{range .users}}{{ if eq .name "e2
### SEE ALSO
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.451646336 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.637312729 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_create.md
Expand Up @@ -63,4 +63,4 @@ $ cat pod.json | kubectl create -f -
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.44924428 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.629142674 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_delete.md
Expand Up @@ -81,4 +81,4 @@ $ kubectl delete pods --all
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.449502668 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.630884641 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_describe.md
Expand Up @@ -53,4 +53,4 @@ kubectl describe RESOURCE ID
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.449099339 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.628735136 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_exec.md
Expand Up @@ -64,4 +64,4 @@ $ kubectl exec -p 123456-7890 -c ruby-container -i -t -- bash -il
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.450677119 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.632991694 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_expose.md
Expand Up @@ -82,4 +82,4 @@ $ kubectl expose streamer --port=4100 --protocol=udp --service-name=video-stream
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.451362859 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.636399596 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_get.md
Expand Up @@ -85,4 +85,4 @@ $ kubectl get rc/web service/frontend pods/web-pod-13je7
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.448937009 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.620151758 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_label.md
Expand Up @@ -81,4 +81,4 @@ $ kubectl label pods foo bar-
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.45150424 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.636842283 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_log.md
Expand Up @@ -62,4 +62,4 @@ $ kubectl log -f 123456-7890 ruby-container
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.450201574 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.631637812 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_namespace.md
Expand Up @@ -53,4 +53,4 @@ kubectl namespace [namespace]
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.449618977 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.63128386 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_port-forward.md
Expand Up @@ -68,4 +68,4 @@ $ kubectl port-forward -p mypod 0:5000
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.45080362 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.633423694 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_proxy.md
Expand Up @@ -65,4 +65,4 @@ $ kubectl proxy --api-prefix=k8s-api
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.45092701 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.633829265 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_resize.md
Expand Up @@ -68,4 +68,4 @@ $ kubectl resize --current-replicas=2 --replicas=3 replicationcontrollers foo
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.450528897 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.632560634 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_rolling-update.md
Expand Up @@ -68,4 +68,4 @@ $ cat frontend-v2.json | kubectl rolling-update frontend-v1 -f -
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.450394023 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.632023561 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_run-container.md
Expand Up @@ -78,4 +78,4 @@ $ kubectl run-container nginx --image=dockerfile/nginx --overrides='{ "apiVersio
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.4510703 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.634391744 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_stop.md
Expand Up @@ -72,4 +72,4 @@ $ kubectl stop -f path/to/resources
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.451196696 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.635920945 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_update.md
Expand Up @@ -67,4 +67,4 @@ $ kubectl update pods my-pod --patch='{ "apiVersion": "v1beta1", "desiredState":
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.449377932 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.630218109 +0000 UTC
2 changes: 1 addition & 1 deletion docs/kubectl_version.md
Expand Up @@ -51,4 +51,4 @@ kubectl version
### SEE ALSO
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager

###### Auto generated by spf13/cobra at 2015-04-14 14:22:51.452926558 +0000 UTC
###### Auto generated by spf13/cobra at 2015-04-14 19:53:16.641381587 +0000 UTC
6 changes: 3 additions & 3 deletions docs/man/man1/.files_generated
@@ -1,14 +1,13 @@
kubectl.1
kubectl-api-versions.1
kubectl-cluster-info.1
kubectl-config.1
kubectl-config-set.1
kubectl-config-set-cluster.1
kubectl-config-set-context.1
kubectl-config-set-credentials.1
kubectl-config-set.1
kubectl-config-unset.1
kubectl-config-use-context.1
kubectl-config-view.1
kubectl-config.1
kubectl-create.1
kubectl-delete.1
kubectl-describe.1
Expand All @@ -26,3 +25,4 @@ kubectl-run-container.1
kubectl-stop.1
kubectl-update.1
kubectl-version.1
kubectl.1
2 changes: 1 addition & 1 deletion hack/lib/util.sh
Expand Up @@ -138,7 +138,7 @@ kube::util::gen-doc() {
# generate the new files
${cmd} "${tmpdir}"
# create the list of generated files
ls "${tmpdir}" | sort > "${tmpdir}/.files_generated"
ls "${tmpdir}" | LC_ALL=C sort > "${tmpdir}/.files_generated"
# put the new generated file into the destination
find "${tmpdir}" -exec rsync -pt {} "${dest}" \; >/dev/null
#cleanup
Expand Down

0 comments on commit b59266a

Please sign in to comment.