k3s/pkg/kubectl
Kubernetes Submit Queue 5133e1f0df Merge pull request #34683 from asalkeld/cmd/testing/fake
Automatic merge from submit-queue

Move the common test functions from cmd_test.go to cmd/testing/fake.go

**What this PR does / why we need it**:
This is so that we can use NewAPIFactory() from cmd/set/*test.go
Up until now we would get a import loop error.

This commit also adds a basic unit test case for cmd/set/set_image.go

**Which issue this PR fixes**
partial #34592

**Special notes for your reviewer**:
None

**Release note**:
```release-note
NONE
```
2016-10-19 08:03:07 -07:00
..
cmd Merge pull request #34683 from asalkeld/cmd/testing/fake 2016-10-19 08:03:07 -07:00
metricsutil Fix printing container usage. 2016-09-14 12:11:24 +02:00
resource Merge pull request #33546 from k82cn/k8s_15834 2016-10-15 06:50:00 -07:00
testing Add +optional tag to all fields with omitempty json tag 2016-10-17 08:52:13 -07:00
OWNERS
apply.go Fix typos 2016-10-15 00:21:00 +03:00
autoscale.go
bash_comp_utils.go
configmap.go
configmap_test.go
custom_column_printer.go Simplify the output in AfterPrint() 2016-09-08 09:42:17 +10:00
custom_column_printer_test.go
deployment.go
deployment_test.go
describe.go Remove duplicate code from kubectl describe 2016-10-14 12:39:34 +03:00
describe_test.go kubectl: move events sorting interface to the api for general use 2016-09-18 19:25:42 +02:00
doc.go
explain.go
generate.go
generate_test.go
history.go
interfaces.go
kubectl.go make shortcut expanding restmapper handle all 2016-09-15 11:03:51 -04:00
kubectl_test.go
namespace.go
namespace_test.go
proxy_server.go
proxy_server_test.go
quota.go
quota_test.go
resource_filter.go add resource handling before printing 2016-09-21 10:03:59 -04:00
resource_printer.go Add NumberReady to DaemonSet status 2016-10-12 15:15:10 +02:00
resource_printer_test.go Add NumberReady to DaemonSet status 2016-10-12 15:15:10 +02:00
rollback.go rollout undo add dry-run implementation 2016-09-08 08:02:04 +08:00
rolling_updater.go move the retry util out of pkg/client/unversioned 2016-10-13 16:10:24 -07:00
rolling_updater_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
rollout_status.go kubectl: add --revision flag in rollout status 2016-10-10 15:04:46 +02:00
rollout_status_test.go kubectl: add --revision flag in rollout status 2016-10-10 15:04:46 +02:00
run.go use len > 0 to replace port > 0 2016-09-28 10:23:25 +08:00
run_test.go
scale.go change petset replicas type from int to int32 2016-10-08 17:13:20 +08:00
scale_test.go convert rest of kubectl to generated clients 2016-09-12 08:22:34 -04:00
secret.go
secret_for_docker_registry.go
secret_for_docker_registry_test.go
secret_for_tls.go
secret_for_tls_test.go the created path should be closed in test case 2016-09-06 11:08:52 +08:00
secret_test.go
service.go
service_basic.go make portallocator.ErrNotInRange a type 2016-10-04 13:19:24 -04:00
service_basic_test.go
service_test.go
serviceaccount.go
serviceaccount_test.go
sorted_resource_name_list.go
sorted_resource_name_list_test.go
sorting_printer.go Simplify the output in AfterPrint() 2016-09-08 09:42:17 +10:00
sorting_printer_test.go
stop.go convert rest of kubectl to generated clients 2016-09-12 08:22:34 -04:00
stop_test.go convert rest of kubectl to generated clients 2016-09-12 08:22:34 -04:00
version.go convert more command to use a generated clientset 2016-09-12 07:38:34 -04:00