github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/actor/pluginaction/plugin_client.go (about)

     1  package pluginaction
     2  
     3  import "code.cloudfoundry.org/cli/api/plugin"
     4  
     5  //go:generate counterfeiter . PluginClient
     6  
     7  type PluginClient interface {
     8  	GetPluginRepository(repositoryURL string) (plugin.PluginRepository, error)
     9  	DownloadPlugin(pluginURL string, path string, proxyReader plugin.ProxyReader) error
    10  }