Package org.apache.storm.container.oci
Class HdfsManifestToResourcesPlugin
java.lang.Object
org.apache.storm.container.oci.HdfsManifestToResourcesPlugin
- All Implemented Interfaces:
- OciManifestToResourcesPluginInterface
public class HdfsManifestToResourcesPlugin
extends Object
implements OciManifestToResourcesPluginInterface
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetConfigResource(ImageManifest manifest) Get the image config information from the manifest.getLayerResources(ImageManifest manifest) Get the layers information from the manifest.voidInitialization.
- 
Constructor Details- 
HdfsManifestToResourcesPluginpublic HdfsManifestToResourcesPlugin()
 
- 
- 
Method Details- 
initDescription copied from interface:OciManifestToResourcesPluginInterfaceInitialization.- Specified by:
- initin interface- OciManifestToResourcesPluginInterface
- Parameters:
- conf- the storm conf
- Throws:
- IOException- on I/O exception
 
- 
getLayerResourcesDescription copied from interface:OciManifestToResourcesPluginInterfaceGet the layers information from the manifest. The layers should be returned in the order in which they appear in the manifest- Specified by:
- getLayerResourcesin interface- OciManifestToResourcesPluginInterface
- Parameters:
- manifest- the manifest of a image
- Returns:
- a list of layers information
- Throws:
- IOException- on I/O exception
 
- 
getConfigResourceDescription copied from interface:OciManifestToResourcesPluginInterfaceGet the image config information from the manifest.- Specified by:
- getConfigResourcein interface- OciManifestToResourcesPluginInterface
- Parameters:
- manifest- the manifest of a image
- Returns:
- the config of this image
- Throws:
- IOException- on I/O exception
 
 
-