mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
c4d5bbad7a
instead of the Provider interface methods. Signed-off-by: Santhosh Manohar <santhosh@docker.com>
10 lines
219 B
Go
10 lines
219 B
Go
package cluster
|
|
|
|
// Provider provides clustering config details
|
|
type Provider interface {
|
|
IsManager() bool
|
|
IsAgent() bool
|
|
GetListenAddress() string
|
|
GetRemoteAddress() string
|
|
ListenClusterEvents() <-chan struct{}
|
|
}
|