MCPcopy
hub / github.com/sa7mon/S3Scanner / Set

Method Set

provider/clientmap/clientmap.go:41–45  ·  view source on GitHub ↗
(region string, credentials bool, value *s3.Client)

Source from the content-addressed store, hash-verified

39}
40
41func (m *ClientMap) Set(region string, credentials bool, value *s3.Client) {
42 m.Lock()
43 m.inner[ClientKey{Region: region, Credentials: credentials}] = value
44 m.Unlock()
45}
46
47func (m *ClientMap) Len() int {
48 m.Lock()

Callers 9

GetRegionsLinodeFunction · 0.80
BucketExistsMethod · 0.80
NewProviderAWSFunction · 0.80
getRegionClientMethod · 0.80
newClientsMethod · 0.80
newClientsMethod · 0.80
newClientsMethod · 0.80
newClientsMethod · 0.80
newClientsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected