Interface ContainerImageMapper

All Known Implementing Classes:
InlineImageMapper, JsonDataImageMapper, ModelBackedImageMapper, NoMapImageMapper

public interface ContainerImageMapper
The container image mapper maps from a runtime specification to a container image name. (FIXME: this is k8s specific stuff that should be in the k8s impl)
  • Method Summary

    Modifier and Type
    Method
    Description
    getImageName(io.continual.flowcontrol.model.FlowControlJob.FlowControlRuntimeSpec runtimeSpec)
    Return a container image spec (e.g.
  • Method Details

    • getImageName

      String getImageName(io.continual.flowcontrol.model.FlowControlJob.FlowControlRuntimeSpec runtimeSpec) throws io.continual.flowcontrol.model.FlowControlDeploymentService.RequestException, io.continual.flowcontrol.model.FlowControlDeploymentService.ServiceException
      Return a container image spec (e.g. "package:version") given a runtime spec.
      Parameters:
      runtimeSpec -
      Returns:
      a string suitable as a container name
      Throws:
      io.continual.flowcontrol.model.FlowControlDeploymentService.RequestException
      io.continual.flowcontrol.model.FlowControlDeploymentService.ServiceException