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
OciManifestToResourcesPluginInterface
init
in interface OciManifestToResourcesPluginInterface
conf
- the storm confIOException
- on I/O exceptionpublic List<OciResource> getLayerResources(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterface
getLayerResources
in interface OciManifestToResourcesPluginInterface
manifest
- the manifest of a imageIOException
- on I/O exceptionpublic OciResource getConfigResource(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterface
getConfigResource
in interface OciManifestToResourcesPluginInterface
manifest
- the manifest of a imageIOException
- on I/O exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.