瀏覽代碼

pkg/plugins/transport: remove unused Transport interface

The interface is not consumed anywhere, and only non-exported functions
produced one, so we can remove it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 年之前
父節點
當前提交
d12ec5f796
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      pkg/plugins/transport/transport.go

+ 0 - 7
pkg/plugins/transport/transport.go

@@ -13,10 +13,3 @@ const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"
 type RequestFactory interface {
 	NewRequest(path string, data io.Reader) (*http.Request, error)
 }
-
-// Transport defines an interface that plugin transports
-// must implement.
-type Transport interface {
-	http.RoundTripper
-	RequestFactory
-}