UNPKG

snyk-docker-plugin

Version:
11 lines (10 loc) 681 B
import { PluginOptions } from "../../types"; import { ExtractAction, KanikoExtractedLayersAndManifest } from "../types"; /** * Retrieve the products of files content from the specified kaniko-archive. * @param kanikoArchiveFilesystemPath Path to image file saved in kaniko-archive format. * @param extractActions Array of pattern-callbacks pairs. * @param options PluginOptions * @returns Array of extracted files products sorted by the reverse order of the layers from last to first. */ export declare function extractArchive(kanikoArchiveFilesystemPath: string, extractActions: ExtractAction[], _options: Partial<PluginOptions>): Promise<KanikoExtractedLayersAndManifest>;