@InterfaceStability.Unstable public class ImageTagToManifestPlugin extends org.apache.hadoop.service.AbstractService implements RuncImageTagToManifestPlugin
RuncContainerRuntime
 to convert image tags into runC image manifests.| Constructor and Description | 
|---|
| ImageTagToManifestPlugin() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getHashFromImageTag(String imageTag) | 
| protected BufferedReader | getHdfsImageToHashReader() | 
| protected BufferedReader | getLocalImageToHashReader() | 
| ImageManifest | getManifestFromImageTag(String imageTag) | 
| boolean | loadImageToHashFiles() | 
| protected static Map<String,String> | readImageToHashFile(BufferedReader br)You may specify multiple tags per hash all on the same line. | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration configuration) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic ImageManifest getManifestFromImageTag(String imageTag) throws IOException
getManifestFromImageTag in interface RuncImageTagToManifestPluginIOExceptionpublic String getHashFromImageTag(String imageTag)
getHashFromImageTag in interface RuncImageTagToManifestPluginprotected BufferedReader getLocalImageToHashReader() throws IOException
IOExceptionprotected BufferedReader getHdfsImageToHashReader() throws IOException
IOExceptionprotected static Map<String,String> readImageToHashFile(BufferedReader br) throws IOException
IOExceptionpublic boolean loadImageToHashFiles()
                             throws IOException
IOExceptionprotected void serviceInit(org.apache.hadoop.conf.Configuration configuration)
                    throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.