k3s/pkg/kubectl/cmd
Kubernetes Submit Queue f448f24c73 Merge pull request #34914 from brendandburns/kubectl-cp
Automatic merge from submit-queue

add kubectl cp

Implements `kubectl cp` (https://github.com/kubernetes/kubernetes/issues/13776)

Syntax examples:

```sh
# Copy from pod to local machine
$ kubectl cp [namespace/]pod:/some/file/or/dir ./some/local/file/or/dir

# Copy from local machine to pod
$ kubectl cp /some/local/file/or/dir [namespace/]pod:/some/remote/file/or/dir
```

@deads2k @smarterclayton @kubernetes/sig-cli
2016-10-30 15:12:41 -07:00
..
config autogenerated 2016-10-21 17:32:32 -07:00
rollout autogenerated 2016-10-21 17:32:32 -07:00
set Merge pull request #35050 from JacobTanenbaum/resource_fixes 2016-10-30 06:18:56 -07:00
templates autogenerated 2016-10-21 17:32:32 -07:00
testing Merge pull request #35732 from fabianofranz/run_cant_dryrun_with_attach 2016-10-30 13:07:28 -07:00
util Merge pull request #35427 from fabianofranz/issues_35426 2016-10-30 03:17:59 -07:00
BUILD add kubectl cp 2016-10-29 20:24:54 -07:00
annotate.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
annotate_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
apiversions.go update various commands to adapt the new Factory interface 2016-10-13 21:01:14 +08:00
apply.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
apply_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
attach.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
attach_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
autoscale.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
clusterinfo.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
clusterinfo_dump.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
clusterinfo_dump_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
cmd.go add kubectl cp 2016-10-29 20:24:54 -07:00
cmd_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
completion.go Add boilerplate to kubectl completion bash 2016-10-21 14:07:38 -07:00
convert.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
cp.go add kubectl cp 2016-10-29 20:24:54 -07:00
cp_test.go add kubectl cp 2016-10-29 20:24:54 -07:00
create.go support editing before creating resource 2016-10-24 09:56:37 -07:00
create_configmap.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_configmap_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_deployment.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_deployment_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
create_namespace.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_namespace_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_quota.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_quota_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_secret.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_secret_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_service.go kubectl: Fix --help output for kubectl create service loadbalancer 2016-10-19 09:06:22 +02:00
create_service_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_serviceaccount.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
create_serviceaccount_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
create_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
delete.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
delete_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
describe.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
describe_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
drain.go fix drain test flake 2016-10-24 09:32:49 -07:00
drain_test.go Merge pull request #35664 from ymqytw/update_drain_test 2016-10-30 04:30:18 -07:00
edit.go support editing before creating resource 2016-10-24 09:56:37 -07:00
exec.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
exec_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
explain.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
expose.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
expose_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
get.go Merge pull request #35115 from k82cn/k8s_35092 2016-10-21 01:01:32 -07:00
get_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
help.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
label.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
label_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
logs.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
logs_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
options.go update kubectl help output for better organization 2016-08-20 08:03:39 +08:00
patch.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
patch_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
portforward.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
portforward_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
proxy.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
replace.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
replace_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
rollingupdate.go Update clientset generator to use RESTClient interface instead of the RESTClient data type 2016-10-21 10:13:51 +02:00
rollingupdate_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
run.go Merge pull request #35732 from fabianofranz/run_cant_dryrun_with_attach 2016-10-30 13:07:28 -07:00
run_test.go Merge pull request #35732 from fabianofranz/run_cant_dryrun_with_attach 2016-10-30 13:07:28 -07:00
scale.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
stop.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
taint.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
taint_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
top.go Use our own normalizers for cmd examples and descriptions 2016-10-17 11:49:55 -02:00
top_node.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
top_node_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
top_pod.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
top_pod_test.go move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
top_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
version.go update various commands to adapt the new Factory interface 2016-10-13 21:01:14 +08:00