def create_image(params = {})
      raise ArgumentError, 'Invalid arguments.' unless check_arguments(params, 'from_image')
      path = '/images/create'
      query = { fromImage: params[:from_image] }
      query[:tag] = params[:tag] if params.key?(:tag)
      additional_headers = {}
      if params.key?(:x_registry_auth)
        auth = params[:x_registry_auth]
        additional_headers[:x_registry_auth] = Hyperb::AuthObject.new(auth).encode
      end
      res = Hyperb::Request.new(self, path, query, 'post', '', additional_headers).perform
      res
    end
def create_image(params = {})
      raise ArgumentError, 'Invalid arguments.' unless check_arguments(params, 'from_image')
      path = '/images/create'
      query = { fromImage: params[:from_image] }
      query[:tag] = params[:tag] if params.key?(:tag)
      additional_headers = {}
      if params.key?(:x_registry_auth)
        auth = params[:x_registry_auth]
        additional_headers[:x_registry_auth] = Hyperb::AuthObject.new(auth).encode
      end
      res = Hyperb::Request.new(self, path, query, 'post', '', additional_headers).perform
      res
    end
create (pull) an image

 @see https://docs.hyper.sh/Reference/API/2016-04-04%20[Ver.%201.23]/Image/create.html

 @raise [Hyperb::Error::Unauthorized] raised when credentials are not valid.
 @raise [Hyperb::Error::InternalServerError] server error on hyper side.
 @raise [ArgumentError] when required arguments are not provided.

 @return [HTTP::Response::Body] a streamable response object.

 @param params [Hash] A customizable set of params.

 @required @option params [String] :from_image image name to be pulled
 @option params [String] :tag image tag name

 @option params [Hash] :x_registry_auth object containing either login information.
 @option params x_registry_auth [String] :username
 @option params x_registry_auth [String] :email
 @option params x_registry_auth [String] :password