k3s/pkg/kubectl
Kubernetes Submit Queue 5d24a2c199 Merge pull request #49300 from tklauser/syscall-to-x-sys-unix
Automatic merge from submit-queue

Switch from package syscall to golang.org/x/sys/unix

**What this PR does / why we need it**:

The syscall package is locked down and the comment in https://github.com/golang/go/blob/master/src/syscall/syscall.go#L21-L24 advises to switch code to use the corresponding package from golang.org/x/sys. This PR does so and replaces usage of package syscall with package golang.org/x/sys/unix where applicable. This will also allow to get updates and fixes
without having to use a new go version.

In order to get the latest functionality, golang.org/x/sys/ is re-vendored. This also allows to use Eventfd() from this package instead of calling the eventfd() C function.

**Special notes for your reviewer**:

This follows previous works in other Go projects, see e.g. moby/moby#33399, cilium/cilium#588

**Release note**:

```release-note
NONE
```
2017-08-03 04:02:12 -07:00
..
cmd Merge pull request #50018 from tcharding/kubectl-delete 2017-08-02 20:07:53 -07:00
metricsutil
plugins Flag support in kubectl plugins 2017-07-18 15:35:40 -03:00
resource add cronjobs to all 2017-07-21 10:56:26 -04:00
testing Update generated code 2017-07-18 09:28:49 +02:00
util switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
BUILD rename this file to delete.go to avoid confusion 2017-07-29 03:29:14 +00:00
OWNERS
apply.go
autoscale.go
bash_comp_utils.go
cluster.go
cluster_test.go
clusterrolebinding.go
configmap.go
configmap_test.go
delete.go rename this file to delete.go to avoid confusion 2017-07-29 03:29:14 +00:00
delete_test.go rename this file to delete.go to avoid confusion 2017-07-29 03:29:14 +00:00
deployment.go kubectl/deployment: add BaseDeploymentGenerator to reduce duplication 2017-07-18 13:17:45 -07:00
deployment_test.go
doc.go
env_file.go
env_file_test.go
explain.go
generate.go
generate_test.go
history.go DS: kubectl changes 2017-07-25 11:47:57 -07:00
interfaces.go
kubectl.go
kubectl_test.go
namespace.go
namespace_test.go
pdb.go
proxy_server.go eliminate kubectl dependency on k8s.io/kubernetes/pkg/util 2017-06-29 14:49:51 -07:00
proxy_server_test.go
quota.go
quota_test.go
resource_filter.go Correctly filter terminated pods in kubectl 2017-07-11 17:32:56 -07:00
resource_filter_test.go Add test for kubectl resource filter. 2017-07-12 11:44:28 -07:00
rolebinding.go
rolebinding_test.go
rollback.go DS: kubectl changes 2017-07-25 11:47:57 -07:00
rolling_updater.go
rolling_updater_test.go
rollout_status.go DS: kubectl changes 2017-07-25 11:47:57 -07:00
rollout_status_test.go
run.go Allow setting service account with kubectl run 2017-07-15 12:37:10 -04:00
run_test.go
scale.go
scale_test.go
secret.go modify the meassage in kubectl secret command when the envFile path is not an file path 2017-06-26 16:30:43 +08:00
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 Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
service_basic_test.go Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
service_test.go Populate endpoints and allow ports with headless service 2017-06-28 11:15:51 +08:00
serviceaccount.go
serviceaccount_test.go
sorting_printer.go
sorting_printer_test.go
versioned_client.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00