k3s/pkg/client/unversioned
Daniel Martí 5505706891 Properly close tmp files in unversioned
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:

	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:39768: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 5ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 10ms
	2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 20ms

Steps to reproduce (no longer fails):

	godep go test -short -run '^$' -o test .
	./test -test.run '^TestDoRequestNewWayFile$' -test.count 100

Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-06 12:55:42 +01:00
..
auth Get the unversioned client to build 2015-08-18 10:03:19 -07:00
clientcmd Merge pull request #18473 from smarterclayton/change_runtime_object 2015-12-16 04:24:22 -08:00
fake Exponential backoff for request client, rebased. Updated license to 2015-12-07 20:19:51 -05:00
portforward Refactor kubelet server into its own package 2015-12-15 10:20:38 -08:00
remotecommand update client.Request for GroupVersion 2015-12-03 08:16:41 -05:00
testclient Merge pull request #18925 from caesarxuchao/refactor-registration 2015-12-24 15:19:36 -08:00
client.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
client_test.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
componentstatuses.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
conditions.go kubectl: Support scaling deployments 2015-11-25 11:26:40 +01:00
configmap.go ConfigMap resource and its REST implementation 2015-12-16 11:19:26 -05:00
containerinfo.go Del capatical local packagename for cadvisorApi 2015-10-16 11:03:50 +08:00
containerinfo_test.go Del capatical local packagename for cadvisorApi 2015-10-16 11:03:50 +08:00
daemon_sets.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
daemon_sets_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
deployment.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
deployment_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
discovery_client.go update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
doc.go Fix package documentation on pkg/client/unversioned. 2015-09-21 13:49:04 -06:00
endpoints.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
endpoints_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
events.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
events_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
extensions.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
flags.go Remove external function setting Kubelet flags 2015-08-19 13:20:41 +02:00
flags_test.go Move util.StringSet into its own package 2015-09-10 12:04:15 -07:00
helper.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
helper_blackbox_test.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
helper_test.go remove ServerAPIVersions from client 2015-12-16 16:24:55 -08:00
horizontalpodautoscaler.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
horizontalpodautoscaler_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
import_known_versions.go Refactor the API registration and installation 2015-12-23 22:44:25 -08:00
ingress.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
ingress_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
jobs.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
jobs_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
limit_ranges.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
limit_ranges_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
namespaces.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
namespaces_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
nodes.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
nodes_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
persistentvolume_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
persistentvolumeclaim.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
persistentvolumeclaim_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
persistentvolumes.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
pod_templates.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
pod_templates_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
pods.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
pods_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
replication_controllers.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
replication_controllers_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
request.go Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
request_test.go Properly close tmp files in unversioned 2016-01-06 12:55:42 +01:00
resource_quotas.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
resource_quotas_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
restclient.go Delete extra logs, especially to prevent kubelet which makes many clients, from overlogging. 2015-12-22 10:38:24 -05:00
restclient_test.go Merge pull request #17991 from krousey/errorstatus 2015-12-14 20:18:19 -08:00
scale.go find partial resource matches 2015-12-21 09:26:06 -05:00
secrets.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
service_accounts.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
services.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
services_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
thirdpartyresources.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
thirdpartyresources_test.go Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
transport.go Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
urlbackoff.go Exponential backoff for request client, rebased. Updated license to 2015-12-07 20:19:51 -05:00
urlbackoff_test.go Exponential backoff for request client, rebased. Updated license to 2015-12-07 20:19:51 -05:00