Class: Architect::Plugin::MachineInstance

Inherits:
Object
  • Object
show all
Defined in:
lib/architect/plugin.rb

Overview

A single instance of a machine (physical, virtual, or container)

Instance Method Summary collapse

Constructor Details

#initialize(spec) ⇒ MachineInstance

Returns a new instance of MachineInstance.



47
48
49
# File 'lib/architect/plugin.rb', line 47

def initialize(spec)
  raise 'Method not implemented'
end

Instance Method Details

#destroyObject

Destroy the instance



52
53
54
# File 'lib/architect/plugin.rb', line 52

def destroy
  raise 'Method not implemented'
end

#exist?Boolean

Return true if the instance exists within the realm of whatever the Plugin manages.

Returns:

  • (Boolean)


62
63
64
# File 'lib/architect/plugin.rb', line 62

def exist?
  raise 'Method not implemented'
end

#rename(newname) ⇒ Object

Change the name of an instance to [newname]



57
58
59
# File 'lib/architect/plugin.rb', line 57

def rename(newname)
  raise 'Method not implemented'
end