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

Function deleteWebAnnotations

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

Source from the content-addressed store, hash-verified

805}
806
807func deleteWebAnnotations(annotations whisk.KeyValueArr) whisk.KeyValueArr {
808 annotations = deleteWebAnnotationKeys(annotations)
809 annotations = addKeyValue(WEB_EXPORT_ANNOT, false, annotations)
810 annotations = addKeyValue(RAW_HTTP_ANNOT, false, annotations)
811 annotations = addKeyValue(FINAL_ANNOT, false, annotations)
812
813 return annotations
814}
815
816func addRawAnnotations(annotations whisk.KeyValueArr) whisk.KeyValueArr {
817 annotations = deleteWebAnnotationKeys(annotations)

Callers

nothing calls this directly

Calls 2

deleteWebAnnotationKeysFunction · 0.85
addKeyValueFunction · 0.85

Tested by

no test coverage detected