Interface MorpheusComputeTypeLayoutFactoryService


  • public interface MorpheusComputeTypeLayoutFactoryService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.reactivex.Single<ComputeTypeLayout> buildDockerLayout​(java.lang.String codePrefix, java.lang.String osVersion, java.lang.String provisionTypeCode, java.lang.String computeServerTypeCode, java.lang.String virtualImageCode)
      Construct the scaffolding of a ComputeTypeLayout for defining the layout structure for a Docker server.
    • Method Detail

      • buildDockerLayout

        io.reactivex.Single<ComputeTypeLayout> buildDockerLayout​(java.lang.String codePrefix,
                                                                 java.lang.String osVersion,
                                                                 java.lang.String provisionTypeCode,
                                                                 java.lang.String computeServerTypeCode,
                                                                 java.lang.String virtualImageCode)
        Construct the scaffolding of a ComputeTypeLayout for defining the layout structure for a Docker server. The returned ComputeTypeLayout will have the associated ComputeTypeSet and ContainerType defined. The typical use of this method is to obtain the structure (modify if needed) and then pass back to Morpheus via a call to ProvisioningProvider.getComputeTypeLayouts()
        Parameters:
        codePrefix - a prefix to use on the ComputeTypeLayout, ComputeTypeSet, and ContainerType
        osVersion - the operating system version (i.e. '18.04' for Ubuntu)
        provisionTypeCode - the code of the ProvisioningProvider to use when building the structure
        computeServerTypeCode - the code of the ComputeServerType to use on the ComputeTypeLayout and ComputeTypeSet
        virtualImageCode - the VirtualImage code to use on the ContainerType
        Returns:
        Observable the constructed ComputeTypeLayout