kubernetes/pkg/volume
k8s-merge-robot 62e7c57acc Merge pull request #29598 from matttproud/refactor/simplify/goroutinemap
Automatic merge from submit-queue

pkg/util/goroutinemap: apply idiomatic Go cleanups

Package goroutinemap can be structurally simplified to be more
idiomatic, concise, and free of error potential.  No structural changes
are made.

It is unconventional declare `sync.Mutex` directly as a pointerized
field in a parent structure.  The `sync.Mutex` operates on pointer
receivers of itself; and by relying on that, the types that contain
those fields can be safely constructed using
https://golang.org/ref/spec#The_zero_value semantic.

The duration constants are already of type `time.Duration`, so
re-declaring that is redundant.

/CC: @saad-ali
2016-07-28 04:44:26 -07:00
..
aws_ebs Add volume and mount logging 2016-07-21 09:10:00 -04:00
azure_file Use Go canonical import paths 2016-07-16 13:48:21 -04:00
cephfs Use Go canonical import paths 2016-07-16 13:48:21 -04:00
cinder Add volume and mount logging 2016-07-21 09:10:00 -04:00
configmap Fix wrapped volume race 2016-07-27 12:24:46 +03:00
downwardapi Fix wrapped volume race 2016-07-27 12:24:46 +03:00
empty_dir Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fc Use Go canonical import paths 2016-07-16 13:48:21 -04:00
flexvolume Add volume and mount logging 2016-07-21 09:10:00 -04:00
flocker volume/flocker: plug time.Ticker resource leak 2016-07-18 17:38:12 +02:00
gce_pd Add volume and mount logging 2016-07-21 09:10:00 -04:00
git_repo Merge pull request #29673 from pmorie/mount-collision 2016-07-27 21:06:47 -07:00
glusterfs Use Go canonical import paths 2016-07-16 13:48:21 -04:00
host_path Use Go canonical import paths 2016-07-16 13:48:21 -04:00
iscsi Use Go canonical import paths 2016-07-16 13:48:21 -04:00
nfs Use Go canonical import paths 2016-07-16 13:48:21 -04:00
rbd Add volume and mount logging 2016-07-21 09:10:00 -04:00
secret Fix wrapped volume race 2016-07-27 12:24:46 +03:00
testing Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
util Merge pull request #29598 from matttproud/refactor/simplify/goroutinemap 2016-07-28 04:44:26 -07:00
vsphere_volume Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics_cached.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_nil.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_nil_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_statfs.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
plugins.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugins_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
util_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume.go Fix typos in volume.go 2016-07-11 12:32:32 +02:00
volume_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00