Interface RuncManifestToResourcesPlugin
- All Superinterfaces:
AutoCloseable,Closeable,org.apache.hadoop.service.Service
- All Known Implementing Classes:
HdfsManifestToResourcesPlugin
@Unstable
public interface RuncManifestToResourcesPlugin
extends org.apache.hadoop.service.Service
This class is a plugin interface for the
RuncContainerRuntime
that maps OCI Image Manifests into associated config and layers.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service
org.apache.hadoop.service.Service.STATE -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.LocalResourcegetConfigResource(ImageManifest manifest) List<org.apache.hadoop.yarn.api.records.LocalResource>getLayerResources(ImageManifest manifest) Methods inherited from interface org.apache.hadoop.service.Service
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, registerServiceListener, start, stop, unregisterServiceListener, waitForServiceToStop
-
Method Details
-
getLayerResources
List<org.apache.hadoop.yarn.api.records.LocalResource> getLayerResources(ImageManifest manifest) throws IOException - Throws:
IOException
-
getConfigResource
org.apache.hadoop.yarn.api.records.LocalResource getConfigResource(ImageManifest manifest) throws IOException - Throws:
IOException
-