// AllProviders returns a map describing all of the provider locks in the
// receiver.
AllProviders returns a map describing all of the provider locks in the
receiver.
// AllProviders returns a map describing all of the provider locks in the // receiver .
func (l *Locks) AllProviders() map[addrs.Provider]*ProviderLock {
	ret := make(map[addrs.Provider]*ProviderLock, len(l.providers))
	for k, v := range l.providers {
		ret[k] = v
	}
	return ret
}
func ( l * Locks ) AllProviders ( ) map [ addrs . Provider ] * ProviderLock { ret := make ( map [ addrs . Provider ] * ProviderLock , len ( l . providers ) ) for k , v := range l . providers { ret [ k ] = v } return ret }
AllProviders returns a map describing all of the provider locks in the
receiver.
AllProviders returns a map describing all of the provider locks in the receiver .
// We return a copy of our internal map so that future calls to // SetProvider won't modify the map we're returning, or vice-versa.