(annotations map[string]string)
| 288 | } |
| 289 | |
| 290 | func hasCagentAnnotation(annotations map[string]string) bool { |
| 291 | _, exists := annotations["io.docker.agent.version"] |
| 292 | if !exists { |
| 293 | _, exists = annotations["io.docker.cagent.version"] |
| 294 | } |
| 295 | return exists |
| 296 | } |
| 297 | |
| 298 | // separator returns the separator used between repository and identifier. |
| 299 | // For digests it returns "@", for tags it returns ":". |
no outgoing calls
no test coverage detected