(function lambdaTypes.FunctionConfiguration, region string, dataReceiver chan EnvironmentVariable)
| 452 | } |
| 453 | |
| 454 | func (m *EnvsModule) getLambdaEnvironmentVariablesPerFunction(function lambdaTypes.FunctionConfiguration, region string, dataReceiver chan EnvironmentVariable) { |
| 455 | if function.Environment != nil { |
| 456 | for name, value := range function.Environment.Variables { |
| 457 | dataReceiver <- EnvironmentVariable{ |
| 458 | service: "Lambda", |
| 459 | name: aws.ToString(function.FunctionName), |
| 460 | region: region, |
| 461 | environmentVarName: name, |
| 462 | environmentVarValue: value, |
| 463 | } |
| 464 | } |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | func (m *EnvsModule) getAppRunnerEnvironmentVariablesPerRegion(r string, wg *sync.WaitGroup, semaphore chan struct{}, dataReceiver chan EnvironmentVariable) { |
| 469 | defer func() { |
no outgoing calls
no test coverage detected