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

Function getModeDescription

internal/config/config.go:155–166  ·  view source on GitHub ↗

getModeDescription returns a description for the given mode

(mode PerformanceMode)

Source from the content-addressed store, hash-verified

153
154// getModeDescription returns a description for the given mode
155func getModeDescription(mode PerformanceMode) string {
156 switch mode {
157 case ModeTest:
158 return "Fast testing with minimal resources (2min Lambda, 128MB)"
159 case ModeNormal:
160 return "Balanced performance and cost (10min Lambda, 256MB)"
161 case ModePerformance:
162 return "Maximum performance for streaming (15min Lambda, 512MB)"
163 default:
164 return "Unknown mode"
165 }
166}

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected