Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
func
(data *data) HasPlugin(pluginName string) bool {
59
_, err := data.getPlugin(pluginName)
60
return
err == nil
61
}
62
63
func
(data *data) Close(ctx context.Context) {
64
contextLogger := log.FromContext(ctx)
Callers
nothing calls this directly
Calls
1
getPlugin
Method · 0.95
Tested by
no test coverage detected