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

Function tokenNeeded

cli/internal/auth/token.go:11–13  ·  view source on GitHub ↗
(registry specs.Registry, path string)

Source from the content-addressed store, hash-verified

9)
10
11func tokenNeeded(registry specs.Registry, path string) bool {
12 return registry == specs.RegistryCloudQuery || (registry == specs.RegistryDocker && strings.HasPrefix(path, "docker.cloudquery.io"))
13}
14
15func transformerNeedsToken(transformers []*specs.Transformer) bool {
16 for _, transformer := range transformers {

Callers 3

transformerNeedsTokenFunction · 0.85
sourcesNeedTokenFunction · 0.85
destinationsNeedTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected