@Nonnull @Override public List<PodTemplate> getList(@Nonnull KubernetesCloud cloud) { return PodTemplateMap.get().getTemplates(cloud); } }
/** * Add a dynamic pod template. Won't be displayed in UI, and persisted separately from the cloud instance. * @param t the template to add */ public void addDynamicTemplate(PodTemplate t) { PodTemplateMap.get().addTemplate(this, t); }
/** * Remove a dynamic pod template. * @param t the template to remove */ public void removeDynamicTemplate(PodTemplate t) { PodTemplateMap.get().removeTemplate(this, t); }