Interface RegistryTaskRun.DefinitionStages.Platform

All Known Subinterfaces:
RegistryTaskRun.Definition, RegistryTaskRun.DefinitionStages.BlankFromRegistry, RegistryTaskRun.DefinitionStages.PlatformAltTaskRunRequest
Enclosing interface:
RegistryTaskRun.DefinitionStages

public static interface RegistryTaskRun.DefinitionStages.Platform
The stage of the container registry task definition that specifies the platform for the container registry task run.
  • Method Details

    • withLinux

      The function that specifies the platform will have a Linux OS.
      Returns:
      the next stage of the container registry task run definition.
    • withWindows

      The function that specifies the platform will have a Windows OS.
      Returns:
      the next stage of the container registry task run definition.
    • withLinux

      The function that specifies the platform will have a Linux OS with Architecture architecture.
      Parameters:
      architecture - the architecture the platform will have.
      Returns:
      the next stage of the container registry task run definition.
    • withWindows

      The function that specifies the platform will have a Windows OS with Architecture architecture.
      Parameters:
      architecture - the architecture the platform will have.
      Returns:
      the next stage of the container registry task run definition.
    • withLinux

      The function that specifies the platform will have a Linux OS with Architecture architecture and Variant variant.
      Parameters:
      architecture - the architecture the platform will have.
      variant - the variant the platform will have.
      Returns:
      the next stage of the container registry task run definition.
    • withWindows

      The function that specifies the platform will have a Windows OS with Architecture architecture and Variant variant.
      Parameters:
      architecture - the architecture the platform will have.
      variant - the variant the platform will have.
      Returns:
      the next stage of the container registry task run definition.
    • withPlatform

      The function that specifies the platform properties of the registry task run.
      Parameters:
      platformProperties - the properties of the platform.
      Returns:
      the next stage of the container registry task run definition.