Interface PodTemplateGroup
- All Known Implementing Classes:
KubernetesCloud
,NonConfigurableKubernetesCloud
public interface PodTemplateGroup
A group of pod templates that can be saved together.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTemplate
(PodTemplate podTemplate) Add the template to the group.void
removeTemplate
(PodTemplate podTemplate) Removes the template from the group.void
replaceTemplate
(PodTemplate oldTemplate, PodTemplate newTemplate) Replaces the old template with the new template.
-
Method Details
-
addTemplate
Add the template to the group.- Parameters:
podTemplate
- the template to add
-
replaceTemplate
Replaces the old template with the new template.- Parameters:
oldTemplate
- the old template to replacenewTemplate
- the new template to replace with
-
removeTemplate
Removes the template from the group.- Parameters:
podTemplate
- the template to remove
-
getPodTemplateGroupUrl
String getPodTemplateGroupUrl()- Returns:
- the URL to redirect to after the template is saved.
-