com.netflix.spinnaker.keel.bakery.BakeryMetadataService.kt Maven / Gradle / Ivy
package com.netflix.spinnaker.keel.bakery
import com.netflix.spinnaker.keel.bakery.diff.PackageDiff
/**
* Provides metadata and related auxiliary functions on baked images.
*/
interface BakeryMetadataService {
/**
* @return A map of package names to versions for the specified [imageName].
*/
suspend fun getPackages(region: String, imageName: String): Map
/**
* @return A diff of the installed packages between [oldImage] and [newImage].
*/
suspend fun getPackageDiff(region: String, oldImage: String?, newImage: String): PackageDiff
}