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 Summary
Modifier and TypeMethodDescriptionThe function that specifies the platform will have a Linux OS.withLinux(Architecture architecture) The function that specifies the platform will have a Linux OS with Architecture architecture.withLinux(Architecture architecture, Variant variant) The function that specifies the platform will have a Linux OS with Architecture architecture and Variant variant.withPlatform(PlatformProperties platformProperties) The function that specifies the platform properties of the registry task run.The function that specifies the platform will have a Windows OS.withWindows(Architecture architecture) The function that specifies the platform will have a Windows OS with Architecture architecture.withWindows(Architecture architecture, Variant variant) The function that specifies the platform will have a Windows OS with Architecture architecture and Variant variant.
-
Method Details
-
withLinux
RegistryTaskRun.DefinitionStages.RunRequestType withLinux()The function that specifies the platform will have a Linux OS.- Returns:
- the next stage of the container registry task run definition.
-
withWindows
RegistryTaskRun.DefinitionStages.RunRequestType 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
RegistryTaskRun.DefinitionStages.RunRequestType withLinux(Architecture architecture, Variant variant) 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
RegistryTaskRun.DefinitionStages.RunRequestType withWindows(Architecture architecture, Variant variant) 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.
-