github.com/kim0/docker@v0.6.2-0.20161130212042-4addda3f07e7/daemon/cluster.go (about) 1 package daemon 2 3 import ( 4 apitypes "github.com/docker/docker/api/types" 5 ) 6 7 // Cluster is the interface for github.com/docker/docker/daemon/cluster.(*Cluster). 8 type Cluster interface { 9 GetNetwork(input string) (apitypes.NetworkResource, error) 10 GetNetworks() ([]apitypes.NetworkResource, error) 11 RemoveNetwork(input string) error 12 }