(name string)
| 1238 | } |
| 1239 | |
| 1240 | func printSavedActionCodeSuccess(name string) { |
| 1241 | fmt.Fprintf( |
| 1242 | color.Output, |
| 1243 | wski18n.T( |
| 1244 | "{{.ok}} saved action code to {{.name}}\n", |
| 1245 | map[string]interface{}{ |
| 1246 | "ok": color.GreenString("ok:"), |
| 1247 | "name": boldString(name), |
| 1248 | })) |
| 1249 | } |
| 1250 | |
| 1251 | // Generate a random number to be used as a web action's require-whisk-auth secret |
| 1252 | func genWebActionSecureKey() int64 { |