(image string)
| 589 | } |
| 590 | |
| 591 | func ImageReferenceGetDomain(image string) string { |
| 592 | if !ImageReferenceHasDomain(image) { |
| 593 | return "" |
| 594 | } |
| 595 | |
| 596 | i := strings.IndexRune(image, '/') |
| 597 | domain := image[:i] |
| 598 | return domain |
| 599 | } |
| 600 | |
| 601 | func ImageReferenceGetTag(image string) string { |
| 602 | var i int |
nothing calls this directly
no test coverage detected
searching dependent graphs…