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

Function sourcesNeedToken

cli/internal/auth/token.go:24–31  ·  view source on GitHub ↗
(sources []*specs.Source)

Source from the content-addressed store, hash-verified

22}
23
24func sourcesNeedToken(sources []*specs.Source) bool {
25 for _, source := range sources {
26 if tokenNeeded(source.Registry, source.Path) {
27 return true
28 }
29 }
30 return false
31}
32
33func destinationsNeedToken(destinations []*specs.Destination) bool {
34 for _, destination := range destinations {

Callers 1

GetAuthTokenIfNeededFunction · 0.85

Calls 1

tokenNeededFunction · 0.85

Tested by

no test coverage detected