Class: Kitchen::Driver::VmpoolStores::BaseStore

Inherits:
Object
  • Object
show all
Defined in:
lib/kitchen/driver/vmpool_stores/base_store.rb

Direct Known Subclasses

FileBaseStore

Instance Method Summary collapse

Instance Method Details

#mark_unused(name, pool_name, reuse = false) ⇒ Object

Parameters:

  • name (String)
    • the hostname to mark not used

  • pool_name (String)
    • the name of the pool to yank the memeber from

Raises:

  • (NotImplemented)


21
22
23
# File 'lib/kitchen/driver/vmpool_stores/base_store.rb', line 21

def mark_unused(name, pool_name, reuse = false)
  raise NotImplemented
end

#take_pool_member(pool_name) ⇒ String

mark them used so nobody else can use it

Parameters:

  • pool_name (String)
    • the name of the pool to yank the memeber from

Returns:

  • (String)
    • a random host from the list of systems

Raises:

  • (NotImplemented)


14
15
16
# File 'lib/kitchen/driver/vmpool_stores/base_store.rb', line 14

def take_pool_member(pool_name)
  raise NotImplemented
end