Method: VFabric::AgentImage#content

Defined in:
lib/vas/vfabric/agent_image.rb

#content {|chunk| ... } ⇒ void

This method returns an undefined value.

Retrieves the content of the agent installation image (a zip file) from the server

Yields:

  • (chunk)

    a chunk of the agent image’s content



33
34
35
# File 'lib/vas/vfabric/agent_image.rb', line 33

def content(&block)
  client.get_stream(@content_location, &block)
end