cluster.go 332 B

123456789101112
  1. package daemon
  2. import (
  3. apitypes "github.com/docker/docker/api/types"
  4. )
  5. // Cluster is the interface for github.com/docker/docker/daemon/cluster.(*Cluster).
  6. type Cluster interface {
  7. GetNetwork(input string) (apitypes.NetworkResource, error)
  8. GetNetworks() ([]apitypes.NetworkResource, error)
  9. RemoveNetwork(input string) error
  10. }