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

Function addWebAnnotations

commands/action.go:798–805  ·  view source on GitHub ↗
(annotations whisk.KeyValueArr)

Source from the content-addressed store, hash-verified

796}
797
798func addWebAnnotations(annotations whisk.KeyValueArr) whisk.KeyValueArr {
799 annotations = deleteWebAnnotationKeys(annotations)
800 annotations = addKeyValue(WEB_EXPORT_ANNOT, true, annotations)
801 annotations = addKeyValue(RAW_HTTP_ANNOT, false, annotations)
802 annotations = addKeyValue(FINAL_ANNOT, true, annotations)
803
804 return annotations
805}
806
807func deleteWebAnnotations(annotations whisk.KeyValueArr) whisk.KeyValueArr {
808 annotations = deleteWebAnnotationKeys(annotations)

Callers

nothing calls this directly

Calls 2

deleteWebAnnotationKeysFunction · 0.85
addKeyValueFunction · 0.85

Tested by

no test coverage detected