github.com/yuyangjack/moby@v0.0.0-20190814082046-288be08dc2ec/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  }