MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / extractFunctionInfo

Method extractFunctionInfo

internal/deploy/lambda.go:289–302  ·  view source on GitHub ↗
(config *lambda.FunctionConfiguration)

Source from the content-addressed store, hash-verified

287}
288
289func (d *LambdaDeployer) extractFunctionInfo(config *lambda.FunctionConfiguration) *LambdaDeployResult {
290 result := &LambdaDeployResult{
291 FunctionName: *config.FunctionName,
292 FunctionArn: *config.FunctionArn,
293 Runtime: *config.Runtime,
294 MemorySize: *config.MemorySize,
295 Timeout: *config.Timeout,
296 LastModified: *config.LastModified,
297 CodeSize: *config.CodeSize,
298 State: *config.State,
299 }
300
301 return result
302}
303
304func (d *LambdaDeployer) getFunctionName() string {
305 return fmt.Sprintf("%s-lambda", d.cfg.Deployment.StackName)

Callers 3

GetFunctionInfoMethod · 0.95
createFunctionMethod · 0.95
updateFunctionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected