kubernetes/pkg/kubectl/cmd
Quan Tian efcca8f357 Fix missing pod name for kubectl attach and exec
The pod name is missing in suggested cmd usage when executing kubectl attach
and exec:
"Defaulting container name to master.
 Use 'kubectl describe pod/ -n default' to see all of the containers in this pod."

The PodName is empty in func Complete as the attached Pod isn't populated yet,
causing suggested cmd usage imcomplete. This patch renders PodName after it is
populated.
2019-05-17 09:58:57 -07:00
..
annotate Move printers & resources packages 2019-03-07 23:00:24 +00:00
apiresources update bazel 2019-01-18 17:28:09 -05:00
apply Use constant blocks to define constants in pkg/kubectl 2019-04-11 12:16:29 -04:00
attach Fix missing pod name for kubectl attach and exec 2019-05-17 09:58:57 -07:00
auth 'kubectl auth can-i` command would not hint user when they try to access 2019-04-10 13:12:45 +08:00
autoscale fix some golint failures of pkg/kubectl/cmd/attach pkg/kubectl/cmd/autoscale 2019-04-29 17:25:34 +08:00
certificates Move printers & resources packages 2019-03-07 23:00:24 +00:00
clusterinfo Move printers & resources packages 2019-03-07 23:00:24 +00:00
completion fix golint failures on pkg/kubectl/cmd/completion pkg/kubectl/cmd/cp pkg/kubectl/cmd/edit 2019-02-19 17:39:39 +08:00
config Merge pull request #77405 from sftim/20190503_kubectl_rename_context_typo_fix 2019-05-09 14:13:47 -07:00
convert Merge pull request #73917 from droslean/cleanup 2019-03-19 19:01:04 -07:00
cp Refactor:move clean method to suitable place 2019-05-07 14:23:30 -04:00
create fix duplicated imports of k8s code (#77484) 2019-05-08 10:12:47 -07:00
delete Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource 2019-04-02 00:49:40 -04:00
describe Move printers & resources packages 2019-03-07 23:00:24 +00:00
diff Add "fieldManager" to flag to PATCH/CREATE/UPDATE 2019-03-08 16:03:03 -08:00
drain This commit does two things in pkg package: 2019-04-09 10:56:35 +08:00
edit Move printers & resources packages 2019-03-07 23:00:24 +00:00
exec Fix missing pod name for kubectl attach and exec 2019-05-17 09:58:57 -07:00
explain Fix some golint errors for packages in pkg/kubectl/cmd 2018-11-22 22:09:08 +08:00
expose Move printers & resources packages 2019-03-07 23:00:24 +00:00
get Rename NewHumanReadablePrinter to NewTablePrinter 2019-04-29 11:42:04 -07:00
help fix golint failures of pkg/kubectl/cmd/help pkg/kubectl/cmd/proxy pkg/kubectl/cmd/util/openapi 2019-05-05 23:40:09 +08:00
kustomize add kustomize as a subcommand in kubectl 2019-02-11 16:43:57 -08:00
label Move printers & resources packages 2019-03-07 23:00:24 +00:00
logs Merge pull request #72999 from nuistzyw/word 2019-05-07 20:44:32 -07:00
options Generated changes 2018-10-11 22:01:06 +02:00
patch Move printers & resources packages 2019-03-07 23:00:24 +00:00
plugin Warn to stderr when we encounter PathError listing plugins 2019-04-17 15:16:31 +02:00
portforward Fixes address parsing in port-forward 2019-02-10 12:48:52 +00:00
proxy fix golint failures of pkg/kubectl/cmd/help pkg/kubectl/cmd/proxy pkg/kubectl/cmd/util/openapi 2019-05-05 23:40:09 +08:00
replace Move printers & resources packages 2019-03-07 23:00:24 +00:00
rollingupdate fix duplicated imports of k8s code (#77484) 2019-05-08 10:12:47 -07:00
rollout Implement rollout restart for statefulset and daemonset 2019-05-16 08:50:42 -07:00
run kubectl: Removes dependency on util/interrupt by copying this code into kubectl 2019-03-20 11:39:57 -07:00
scale make kubectl scale work without a GET if a precodition isn't requested 2019-03-08 14:47:12 -05:00
set Preserve existing namespace when using kubectl set --local 2019-04-30 10:39:29 -04:00
taint Merge pull request #74159 from dlipovetsky/issue-73249-revise-parsetaint 2019-04-02 01:36:35 -07:00
testing remove unused code 2019-04-19 08:36:31 -04:00
top Update client callers to use explicit versions 2019-02-26 08:36:30 -05:00
util fix golint failures of pkg/kubectl/cmd/help pkg/kubectl/cmd/proxy pkg/kubectl/cmd/util/openapi 2019-05-05 23:40:09 +08:00
version Fix kubectl version --client=true 2019-04-16 18:56:53 +01:00
wait Move printers & resources packages 2019-03-07 23:00:24 +00:00
alpha.go Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates 2018-10-11 22:01:03 +02:00
BUILD Merge pull request #71906 from Pingan2017/remove-deprecatedAlias 2019-04-25 10:18:48 -07:00
cmd_test.go Merge pull request #71906 from Pingan2017/remove-deprecatedAlias 2019-04-25 10:18:48 -07:00
cmd.go Merge pull request #71906 from Pingan2017/remove-deprecatedAlias 2019-04-25 10:18:48 -07:00
profiling.go Add go profile instrumentation to kubectl 2018-09-18 18:28:43 +01:00