MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / HasPlugin

Method HasPlugin

internal/cnpi/plugin/client/client.go:58–61  ·  view source on GitHub ↗
(pluginName string)

Source from the content-addressed store, hash-verified

56}
57
58func (data *data) HasPlugin(pluginName string) bool {
59 _, err := data.getPlugin(pluginName)
60 return err == nil
61}
62
63func (data *data) Close(ctx context.Context) {
64 contextLogger := log.FromContext(ctx)

Callers

nothing calls this directly

Calls 1

getPluginMethod · 0.95

Tested by

no test coverage detected