public static ImageArchiveManifestEntry findEntryByRepoTag ( String repoTag , ImageArchiveManifest manifest ) { if ( repoTag == null || manifest == null ) { return null ; } for ( ImageArchiveManifestEntry entry : manifest . getEntries ( ) ) { for ( String entryRepoTag : entry . getRepoTags ( ) ) { if ( repoTag . equals ( entryRepoTag ) ) { return entry ; } } } return null ; }
Search the manifest for an entry that has the repository and tag provided .