blob: d22970bcd79eb1977ab221d63dad61751702e270 [file] [log] [blame]
package daemon
import (
apitypes ""
lncluster ""
// Cluster is the interface for*Cluster).
type Cluster interface {
SendClusterEvent(event lncluster.ConfigEventType)
// ClusterStatus interface provides information about the Swarm status of the Cluster
type ClusterStatus interface {
IsAgent() bool
IsManager() bool
// NetworkManager provides methods to manage networks
type NetworkManager interface {
GetNetwork(input string) (apitypes.NetworkResource, error)
GetNetworks() ([]apitypes.NetworkResource, error)
RemoveNetwork(input string) error