NewImageDestination returns a types.ImageDestination for this reference. The caller must call .Close() on the returned ImageDestination.
(ctx context.Context, sys *types.SystemContext)
| 144 | // NewImageDestination returns a types.ImageDestination for this reference. |
| 145 | // The caller must call .Close() on the returned ImageDestination. |
| 146 | func (ref openshiftReference) NewImageDestination(ctx context.Context, sys *types.SystemContext) (types.ImageDestination, error) { |
| 147 | return newImageDestination(ctx, sys, ref) |
| 148 | } |
| 149 | |
| 150 | // DeleteImage deletes the named image from the registry, if supported. |
| 151 | func (ref openshiftReference) DeleteImage(ctx context.Context, sys *types.SystemContext) error { |
nothing calls this directly
no test coverage detected