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
Initialization.
init
in interface OciManifestToResourcesPluginInterface
conf
- the storm confIOException
- on I/O exceptionpublic List<OciResource> getLayerResources(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterface
Get the layers information from the manifest. The layers should be returned in the order in which they appear in the manifest
getLayerResources
in interface OciManifestToResourcesPluginInterface
manifest
- the manifest of a imageIOException
- on I/O exceptionpublic OciResource getConfigResource(ImageManifest manifest) throws IOException
OciManifestToResourcesPluginInterface
Get the image config information from the manifest.
getConfigResource
in interface OciManifestToResourcesPluginInterface
manifest
- the manifest of a imageIOException
- on I/O exceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.