Interface PodTemplateGroup
-
- All Known Implementing Classes:
KubernetesCloud
,NonConfigurableKubernetesCloud
public interface PodTemplateGroup
A group of pod templates that can be saved together.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTemplate(PodTemplate podTemplate)
Add the template to the group.String
getPodTemplateGroupUrl()
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 Detail
-
addTemplate
void addTemplate(PodTemplate podTemplate)
Add the template to the group.- Parameters:
podTemplate
- the template to add
-
replaceTemplate
void replaceTemplate(PodTemplate oldTemplate, PodTemplate newTemplate)
Replaces the old template with the new template.- Parameters:
oldTemplate
- the old template to replacenewTemplate
- the new template to replace with
-
removeTemplate
void removeTemplate(PodTemplate podTemplate)
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.
-
-