MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewPluginRepositoryServer

Function NewPluginRepositoryServer

integration/helpers/plugin_repo.go:46–48  ·  view source on GitHub ↗

NewPluginRepositoryServer is used to configure and start a new plugin repo server, exposing the plugins contained in the pluginRepo.

(pluginRepo PluginRepository)

Source from the content-addressed store, hash-verified

44// NewPluginRepositoryServer is used to configure and start a new plugin repo server, exposing the plugins contained
45// in the pluginRepo.
46func NewPluginRepositoryServer(pluginRepo PluginRepository) *Server {
47 return configurePluginRepositoryServer(NewTLSServer(), pluginRepo)
48}
49
50// NewPluginRepositoryServerWithPlugin is used to create a server to provide a single configurable_plugin
51// with user provided name, version, and platform.

Calls 2

NewTLSServerFunction · 0.85

Tested by

no test coverage detected