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>
This commit is contained in:
Sebastiaan van Stijn 2023-07-18 12:28:33 +02:00
parent dfd331b2c8
commit d12ec5f796
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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
}