Package dev.galasa.cloud.spi
Interface ICloudContainerProvider
public interface ICloudContainerProvider
Interface from the Cloud Manager to Cloud Container Providers
-
Method Summary
Modifier and TypeMethodDescriptiongenerateCloudContainer
(@NotNull String tag, @NotNull String platform, @NotNull String image, @NotNull ICloudContainerPort[] ports, Properties environmentProperties, String[] runArguments) Generate a new Cloud Container@NotNull String
getName()
-
Method Details
-
getName
-
generateCloudContainer
ICloudContainer generateCloudContainer(@NotNull @NotNull String tag, @NotNull @NotNull String platform, @NotNull @NotNull String image, @NotNull @NotNull ICloudContainerPort[] ports, Properties environmentProperties, String[] runArguments) throws ManagerException, InsufficientResourcesAvailableException Generate a new Cloud Container- Parameters:
tag
- - The tag to assignplatform
- - The platform to install the container onimage
- - The image name to use, at this stage this will be the full image nameports
- - The ports to exposeenvironmentProperties
- - Environment properties to provide to the containerrunArguments
- - Run arguments to provide to the container- Returns:
- A ICloudContainer instance
- Throws:
CloudManagerException
ManagerException
InsufficientResourcesAvailableException
-