public class HdfsManifestToResourcesPlugin extends Object implements OciManifestToResourcesPluginInterface
| Constructor and Description |
|---|
HdfsManifestToResourcesPlugin() |
| Modifier and Type | Method and Description |
|---|---|
OciResource |
getConfigResource(ImageManifest manifest)
Get the image config information from the manifest.
|
List<OciResource> |
getLayerResources(ImageManifest manifest)
Get the layers information from the manifest.
|
void |
init(Map<String,Object> conf)
Initialization.
|
public void init(Map<String,Object> conf) throws IOException
OciManifestToResourcesPluginInterfaceInitialization.
init in interface OciManifestToResourcesPluginInterfaceconf - the storm confIOException - on I/O exceptionpublic List<OciResource> getLayerResources(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterfaceGet the layers information from the manifest. The layers should be returned in the order in which they appear in the manifest
getLayerResources in interface OciManifestToResourcesPluginInterfacemanifest - the manifest of a imageIOException - on I/O exceptionpublic OciResource getConfigResource(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterfaceGet the image config information from the manifest.
getConfigResource in interface OciManifestToResourcesPluginInterfacemanifest - the manifest of a imageIOException - on I/O exceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.