(currLabels map[string]string)
| 71 | } |
| 72 | |
| 73 | func getLabelPatch(currLabels map[string]string) operations.PatchOperation { |
| 74 | if currLabels == nil { |
| 75 | currLabels = make(map[string]string) |
| 76 | } |
| 77 | currLabels["zarf-agent"] = "patched" |
| 78 | return operations.ReplacePatchOperation("/metadata/labels", currLabels) |
| 79 | } |
| 80 | |
| 81 | // classifyURLSchemes reports whether any of the given repository URLs require |
| 82 | // the Zarf git server or the Zarf registry (OCI). |
no test coverage detected