All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.continual.flowcontrol.impl.controller.k8s.ContainerImageMapper Maven / Gradle / Ivy

The newest version!
package io.continual.flowcontrol.impl.controller.k8s;

import io.continual.flowcontrol.model.FlowControlJob.FlowControlRuntimeSpec;
import io.continual.flowcontrol.services.deployer.FlowControlDeploymentService.RequestException;

/**
 * The container image mapper maps from a runtime specification to a container image name.
 */
public interface ContainerImageMapper
{
	/**
	 * Return a container image spec (e.g. "package:version") given a runtime spec.
	 * @param runtimeSpec
	 * @return a string suitable as a container name
	 * @throws RequestException 
	 */
	String getImageName ( FlowControlRuntimeSpec runtimeSpec ) throws RequestException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy