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

Function deleteWebAnnotationKeys

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

Source from the content-addressed store, hash-verified

823}
824
825func deleteWebAnnotationKeys(annotations whisk.KeyValueArr) whisk.KeyValueArr {
826 annotations = deleteKey(WEB_EXPORT_ANNOT, annotations)
827 annotations = deleteKey(RAW_HTTP_ANNOT, annotations)
828 annotations = deleteKey(FINAL_ANNOT, annotations)
829
830 return annotations
831}
832
833func getWebActionAnnotations(action *whisk.Action) whisk.KeyValueArr {
834 var webKvArr = make(whisk.KeyValueArr, 3, 3)

Callers 3

addWebAnnotationsFunction · 0.85
deleteWebAnnotationsFunction · 0.85
addRawAnnotationsFunction · 0.85

Calls 1

deleteKeyFunction · 0.85

Tested by

no test coverage detected