Class: MintPress::OracleEBS::Tarball

Inherits:
Object
  • Object
show all
Includes:
MintLogger
Defined in:
src/oracle-ebs/lib/oracle-ebs/host.rb

Overview

Tarball: Class to hold the various info about the tarballs that might be created as part of the EBS clone.

Properties (Read/Write)

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(tarball_dir:, tarball_name:, tarball_type:) ⇒ Tarball

Returns a new instance of Tarball.

Raises:

  • (ArgumentError)

Instance Attribute Details

#compressionObject (readonly)

Returns the value of attribute compression.

#tarball_dirObject (readonly)

Returns the value of attribute tarball_dir.

#tarball_nameObject (readonly)

Returns the value of attribute tarball_name.

#tarball_typeObject (readonly)

Returns the value of attribute tarball_type.

Instance Method Details

#create_commandObject

#extract_commandObject

#inspect(indent = 0) ⇒ Object

#tar_fileObject

#to_s(indent = 0) ⇒ Object