MCPcopy
hub / github.com/cloudfoundry/cli / InstallConfigurablePlugin

Function InstallConfigurablePlugin

integration/helpers/plugin.go:21–24  ·  view source on GitHub ↗

InstallConfigurablePlugin builds and installs a plugin called 'configurable_plugin' with the given name, version, and commands.

(pluginType string, name string, version string, pluginCommands []PluginCommand)

Source from the content-addressed store, hash-verified

19// InstallConfigurablePlugin builds and installs a plugin called 'configurable_plugin'
20// with the given name, version, and commands.
21func InstallConfigurablePlugin(pluginType string, name string, version string, pluginCommands []PluginCommand) {
22 path := BuildConfigurablePlugin(pluginType, name, version, pluginCommands)
23 Eventually(CF("install-plugin", "-f", path)).Should(Exit(0))
24}
25
26// BuildConfigurablePlugin builds a plugin of type pluginType from the integration/assets/<pluginType>
27// directory with the given name, version, and commands.

Calls 2

BuildConfigurablePluginFunction · 0.85
CFFunction · 0.85

Tested by

no test coverage detected