Class: Packer::PostProcessor::DockerImport

Inherits:
Packer::PostProcessor show all
Defined in:
lib/packer/postprocessors/docker.rb

Constant Summary

Constants inherited from Packer::PostProcessor

DOCKER_IMPORT, DOCKER_PUSH, VAGRANT, VALID_POST_PROCESSOR_TYPES

Instance Attribute Summary

Attributes inherited from DataObject

#data, #required

Instance Method Summary collapse

Methods inherited from Packer::PostProcessor

#except, get_postprocessor, #keep_input_artifact, #only, types

Methods inherited from DataObject

#__add_array_of_array_of_strings, #__add_array_of_hashes, #__add_array_of_strings, #__add_boolean, #__add_hash, #__add_integer, #__add_string, #__exclusive_key_error, #add_required, #deep_copy, #validate

Constructor Details

#initializeDockerImport

Returns a new instance of DockerImport.



8
9
10
11
12
# File 'lib/packer/postprocessors/docker.rb', line 8

def initialize
  super
  self.data['type'] = DOCKER_IMPORT
  self.add_required('repository')
end