1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
Vincent Demeester 250e05e427
Add a lockedManagerAction method to Cluster…
… in order to remove duplication.
Each time we update a cluster object, we do some common
operations (lock, verify it's on a manager, get the request context,
and the update). This introduce a method and refactor few
update/remove method that allows to duplicate less code.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-02-28 11:12:11 +01:00
..
convert Refactor endpoint*FromGRPC to limit duplication 2017-02-28 10:51:55 +01:00
executor Shutdown leaks an error when the container was never started 2017-02-22 19:12:07 -08:00
provider
cluster.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
filters.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
helpers.go refactor helper.go and move getSecret to helper.go 2017-02-12 02:30:53 +08:00
listen_addr.go Remove daemon.VXSubnets duplicate code 2017-02-28 10:51:40 +01:00
listen_addr_linux.go
listen_addr_others.go
listen_addr_solaris.go
networks.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
noderunner.go Merge pull request #30145 from anusha-ragunathan/ps-swarm 2017-01-20 10:35:49 -08:00
nodes.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
secrets.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
services.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
swarm.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
tasks.go Add a lockedManagerAction method to Cluster… 2017-02-28 11:12:11 +01:00
utils.go Switch cluster locking strategy 2016-11-30 14:59:12 -08:00