k3s/pkg/kubectl
Kubernetes Submit Queue 874fca652d Merge pull request #38086 from tianshapjq/reduce-decode-times
Automatic merge from submit-queue

Reduce decode times by changing the kubectl.Filter(runtime.Object, *PrintOptions)'s return values

**What this PR does / why we need it**:
In kubectl/cmd/get.go, we use the function filterFuncs.Filter() to decode data and filter the object. But in the following function printer.PrintObj() decodes the data again.
I made these modifications to reduce the decoding times by changing the filterFuncs.Filter()'s returned values. We can get the decoded object from this function and pass it to the following printer.PrintObj(), so not to waste time to decode again.
2016-12-19 16:23:02 -08:00
..
cmd Merge pull request #38086 from tianshapjq/reduce-decode-times 2016-12-19 16:23:02 -08:00
metricsutil autoupdate BUILD files 2016-12-12 13:30:07 -08:00
resource bazel: fix some unit tests 2016-12-15 18:36:22 -08:00
testing autoupdate BUILD files 2016-12-12 13:30:07 -08:00
BUILD Remove extensions/v1beta1 Job - generated changes 2016-12-17 00:07:25 +01:00
OWNERS
apply.go Compute apply patch using versioned object 2016-12-09 16:26:04 -05:00
autoscale.go
bash_comp_utils.go
cluster.go
cluster_test.go
clusterrolebinding.go add serviceaccount option to clusterrrolebinding 2016-12-08 14:18:39 -05:00
configmap.go
configmap_test.go
custom_column_printer.go Switch to use pkg/apis/meta/v1/unstructured and the new interfaces 2016-12-10 18:05:28 -05:00
custom_column_printer_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
deployment.go kubectl: fix 'create deployment' to set container name correctly 2016-12-14 17:32:33 +01:00
deployment_test.go kubectl: fix 'create deployment' to set container name correctly 2016-12-14 17:32:33 +01:00
describe.go Remove extensions/v1beta1 Job 2016-12-17 00:07:24 +01:00
describe_test.go run hack/update-codegen.sh 2016-12-14 12:39:49 -08:00
doc.go
explain.go
generate.go
generate_test.go
history.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
interfaces.go
kubectl.go kubectl: set alias for poddisruptionbudget 2016-12-02 18:39:55 +01:00
kubectl_test.go
namespace.go
namespace_test.go
pdb.go refactor: generated 2016-12-03 19:10:46 -05:00
proxy_server.go
proxy_server_test.go
quota.go
quota_test.go
resource_filter.go reduce decoding times by changing kubectl.Filter(runtime.Object, *PrintOptions)'s return value 2016-12-16 09:37:11 +08:00
resource_printer.go reduce decoding times by changing kubectl.Filter(runtime.Object, *PrintOptions)'s return value 2016-12-16 09:37:11 +08:00
resource_printer_test.go Fix tests using internal types for generic printing 2016-12-09 16:26:05 -05:00
rollback.go
rolling_updater.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
rolling_updater_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
rollout_status.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
rollout_status_test.go
run.go Remove extensions/v1beta1 Job 2016-12-17 00:07:24 +01:00
run_test.go Remove extensions/v1beta1 Job 2016-12-17 00:07:24 +01:00
scale.go Remove extensions/v1beta1 Job 2016-12-17 00:07:24 +01:00
scale_test.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
secret.go
secret_for_docker_registry.go
secret_for_docker_registry_test.go
secret_for_tls.go
secret_for_tls_test.go
secret_test.go
service.go
service_basic.go
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 Sorting printer changed 2016-12-10 18:07:33 -05:00
sorting_printer_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
stop.go Remove extensions/v1beta1 Job 2016-12-17 00:07:24 +01:00
stop_test.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
versioned_client.go run hack/update-codegen.sh 2016-12-14 12:39:49 -08:00