mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
11 lines
219 B
Go
11 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{}
|
||
|
}
|