MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / officialReleasedPluginsByKind

Function officialReleasedPluginsByKind

cli/cmd/init.go:141–145  ·  view source on GitHub ↗
(kind cqapi.PluginKind)

Source from the content-addressed store, hash-verified

139}
140
141func officialReleasedPluginsByKind(kind cqapi.PluginKind) func(plugin cqapi.ListPlugin, _ int) bool {
142 return func(plugin cqapi.ListPlugin, _ int) bool {
143 return plugin.Kind == kind && plugin.Official && plugin.ReleaseStage != cqapi.PluginReleaseStageComingSoon && plugin.LatestVersion != nil
144 }
145}
146
147func pluginsSorter(prioritySlice []string) func(a, b cqapi.ListPlugin) int {
148 return func(a, b cqapi.ListPlugin) int {

Callers 2

selectSourceFunction · 0.85
selectDestinationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected