MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / getBinaryKindExtension

Function getBinaryKindExtension

commands/action.go:675–686  ·  view source on GitHub ↗
(runtime string)

Source from the content-addressed store, hash-verified

673}
674
675func getBinaryKindExtension(runtime string) (extension string) {
676 switch strings.ToLower(runtime) {
677 case JAVA:
678 extension = JAVA_EXT
679 case BAL:
680 extension = BAL_BIN_EXT
681 default:
682 extension = ZIP_EXT
683 }
684
685 return extension
686}
687
688func getKindExtension(runtime string) (extension string) {
689 switch strings.ToLower(runtime) {

Callers 1

saveCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected