MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / pluginCoords

Function pluginCoords

cli/internal/platform/inject.go:66–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func pluginCoords() pluginCoordinates {
67 p := defaultPlugin
68 if v := os.Getenv(envPluginRegistry); v != "" {
69 p.Registry = v
70 }
71 if v := os.Getenv(envPluginPath); v != "" {
72 p.Path = v
73 }
74 if v := os.Getenv(envPluginVersion); v != "" {
75 p.Version = v
76 }
77 return p
78}
79
80// sourceVersion is one entry of the platform destination's `source_versions`
81// spec field — the source plugin path+version the platform gates on. JSON tags

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected