com.netflix.spinnaker.keel.bakery.BaseImageCache.kt Maven / Gradle / Ivy
package com.netflix.spinnaker.keel.bakery
import com.netflix.spinnaker.keel.api.artifacts.BaseLabel
interface BaseImageCache {
/**
* @param os the desired base image operating system.
* @param label the desired base image label.
* @return the base AMI version (i.e. the "appversion" of the base AMI) of the requested base
* image, if it exists.
* @throws UnknownBaseImage if there is no known base image for [os] and [label].
*/
fun getBaseAmiName(os: String, label: BaseLabel): String
val allVersions: Map>
}