Jelajahi Sumber

Merge pull request #842 from chenchun/internal

Add network options to NetworkInfo to display internal network option
aboch 9 tahun lalu
induk
melakukan
2400d9b992
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      libnetwork/network.go

+ 1 - 0
libnetwork/network.go

@@ -62,6 +62,7 @@ type NetworkInfo interface {
 	IpamInfo() ([]*IpamInfo, []*IpamInfo)
 	DriverOptions() map[string]string
 	Scope() string
+	Internal() bool
 }
 
 // EndpointWalker is a client provided function which will be used to walk the Endpoints.