types.ImageSummary is deprecated: use [image.Summary].
117
118var imageIDPattern = regexp.MustCompile("[a-f0-9]")
119
120func findImageWithDocker(ctx context.Context, d *dockerclient.Client, imageName string) (*types.ImageSummary, error) {121 ctx, span := tracing.GetTracer().Start(ctx, "find_image_with_docker")
122 defer span.End()
123
Description
Sometimes a function, variable, constant, field, or whole package becomes redundant or unnecessary but must be kept for compatibility with existing programs. These should not be used except for compatibility with legacy systems.