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

Function addRawAnnotations

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

Source from the content-addressed store, hash-verified

814}
815
816func addRawAnnotations(annotations whisk.KeyValueArr) whisk.KeyValueArr {
817 annotations = deleteWebAnnotationKeys(annotations)
818 annotations = addKeyValue(WEB_EXPORT_ANNOT, true, annotations)
819 annotations = addKeyValue(RAW_HTTP_ANNOT, true, annotations)
820 annotations = addKeyValue(FINAL_ANNOT, true, annotations)
821
822 return annotations
823}
824
825func deleteWebAnnotationKeys(annotations whisk.KeyValueArr) whisk.KeyValueArr {
826 annotations = deleteKey(WEB_EXPORT_ANNOT, annotations)

Callers

nothing calls this directly

Calls 2

deleteWebAnnotationKeysFunction · 0.85
addKeyValueFunction · 0.85

Tested by

no test coverage detected