(container string)
| 554 | } |
| 555 | |
| 556 | func getEnterCommand(container string) string { |
| 557 | var enterCommand string |
| 558 | |
| 559 | switch container { |
| 560 | case utils.ContainerNameDefault: |
| 561 | enterCommand = fmt.Sprintf("%s enter", executableBase) |
| 562 | default: |
| 563 | enterCommand = fmt.Sprintf("%s enter %s", executableBase, container) |
| 564 | } |
| 565 | |
| 566 | return enterCommand |
| 567 | } |
| 568 | |
| 569 | func getImageSizeFromRegistry(ctx context.Context, imageFull string) (string, error) { |
| 570 | image, err := skopeo.Inspect(ctx, imageFull) |
no outgoing calls
no test coverage detected
searching dependent graphs…