github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/pluginaction/config.go (about) 1 package pluginaction 2 3 import "code.cloudfoundry.org/cli/util/configv3" 4 5 //go:generate counterfeiter . Config 6 7 // Config is a way of getting basic CF configuration 8 type Config interface { 9 AddPlugin(configv3.Plugin) 10 AddPluginRepository(repoName string, repoURL string) 11 BinaryVersion() string 12 GetPlugin(pluginName string) (configv3.Plugin, bool) 13 PluginHome() string 14 PluginRepositories() []configv3.PluginRepository 15 Plugins() []configv3.Plugin 16 RemovePlugin(string) 17 WritePluginConfig() error 18 }