فهرست منبع

Merge pull request #842 from chenchun/internal

Add network options to NetworkInfo to display internal network option
aboch 9 سال پیش
والد
کامیت
2400d9b992
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      libnetwork/network.go

+ 1 - 0
libnetwork/network.go

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