code: func (_m *APIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error) {
  	ret := _m.Called(ctx, source, ref, options)
  
  	var r0 io.ReadCloser
  	if rf, ok := ret.Get(0).(func(context.Context, types.ImageImportSource, string, types.ImageImportOptions) io.ReadCloser); ok {
  		r0 = rf(ctx, source, ref, options)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(io.ReadCloser)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, types.ImageImportSource, string, types.ImageImportOptions) error); ok {
  		r1 = rf(ctx, source, ref, options)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // ImageImport provides a mock function with given fields: ctx, source, ref, options