Interface RegistryTask.UpdateStages.TriggerTypes
- All Known Subinterfaces:
RegistryTask.Update
- Enclosing interface:
RegistryTask.UpdateStages
public static interface RegistryTask.UpdateStages.TriggerTypes
The stage of the container registry task update that allows users to update either a source trigger and/or a
base image trigger.
-
Method Summary
Modifier and TypeMethodDescriptiondefineSourceTrigger(String sourceTriggerName) The function that allows us to define a new source trigger in a registry task update.updateBaseImageTrigger(String baseImageTriggerName, BaseImageTriggerType baseImageTriggerType) The function that defines a base image trigger with the two parameters required for base image trigger update.updateBaseImageTrigger(String baseImageTriggerName, BaseImageTriggerType baseImageTriggerType, TriggerStatus triggerStatus) The function that defines a base image trigger with all possible parameters for base image trigger update.updateSourceTrigger(String sourceTriggerName) The function that begins the definition of a source trigger.
-
Method Details
-
updateSourceTrigger
The function that begins the definition of a source trigger.- Parameters:
sourceTriggerName- the name of the source trigger.- Returns:
- the next stage of the RegistrySourceTrigger update.
-
defineSourceTrigger
The function that allows us to define a new source trigger in a registry task update.- Parameters:
sourceTriggerName- the name of the source trigger.- Returns:
- the next stage of the RegistrySourceTrigger update.
-
updateBaseImageTrigger
RegistryTask.Update updateBaseImageTrigger(String baseImageTriggerName, BaseImageTriggerType baseImageTriggerType) The function that defines a base image trigger with the two parameters required for base image trigger update.- Parameters:
baseImageTriggerName- the name of the base image trigger.baseImageTriggerType- the trigger type for the base image. Can be "All", "Runtime", or something else that the user inputs.- Returns:
- the next stage of the container registry task update.
-
updateBaseImageTrigger
RegistryTask.Update updateBaseImageTrigger(String baseImageTriggerName, BaseImageTriggerType baseImageTriggerType, TriggerStatus triggerStatus) The function that defines a base image trigger with all possible parameters for base image trigger update.- Parameters:
baseImageTriggerName- the name of the base image trigger.baseImageTriggerType- the trigger type for the base image. Can be "All", "Runtime", or something else that the user inputs.triggerStatus- the status for the trigger. Can be enabled, disabled, or something else that the user inputs.- Returns:
- the next stage of the container registry task update.
-