Uses of Class
org.csanchez.jenkins.plugins.kubernetes.PodTemplate
-
Packages that use PodTemplate Package Description org.csanchez.jenkins.plugins.kubernetes org.csanchez.jenkins.plugins.kubernetes.pipeline -
-
Uses of PodTemplate in org.csanchez.jenkins.plugins.kubernetes
Methods in org.csanchez.jenkins.plugins.kubernetes that return PodTemplate Modifier and Type Method Description static PodTemplate
PodTemplateUtils. combine(PodTemplate parent, PodTemplate template)
Combines aPodTemplate
with its parent.PodTemplate
KubernetesCloud. getTemplate(Label label)
GetsPodTemplate
that has the matchingLabel
.PodTemplate
KubernetesCloud. getTemplate(String id)
PodTemplate
KubernetesSlave. getTemplate()
PodTemplate
PlannedNodeBuilder. getTemplate()
Returns thePodTemplate
.PodTemplate
KubernetesCloud. getTemplateById(String id)
static PodTemplate
PodTemplateUtils. getTemplateByLabel(Label label, Collection<PodTemplate> templates)
Gets thePodTemplate
byLabel
.static PodTemplate
PodTemplateUtils. getTemplateByName(String name, Collection<PodTemplate> templates)
Gets thePodTemplate
by name.PodTemplate
KubernetesSlave. getTemplateOrNull()
PodTemplate
KubernetesCloud. getUnwrappedTemplate(PodTemplate podTemplate)
Unwraps the given pod template.protected abstract PodTemplate
PodTemplateFilter. transform(KubernetesCloud cloud, PodTemplate podTemplate, Label label)
Transforms a pod template definition.protected PodTemplate
PodTemplateLabelFilter. transform(KubernetesCloud cloud, PodTemplate podTemplate, Label label)
Methods in org.csanchez.jenkins.plugins.kubernetes that return types with arguments of type PodTemplate Modifier and Type Method Description static List<PodTemplate>
PodTemplateFilter. applyAll(KubernetesCloud cloud, List<PodTemplate> podTemplates, Label label)
Pass the given pod templates list into all filters implementations.static List<PodTemplate>
PodTemplateSource. getAll(KubernetesCloud cloud)
List<PodTemplate>
KubernetesCloud. getAllTemplates()
Returns all pod templates for this cloud including the dynamic ones.List<PodTemplate>
KubernetesCloud.PodTemplateSourceImpl. getList(KubernetesCloud cloud)
protected abstract List<PodTemplate>
PodTemplateSource. getList(KubernetesCloud cloud)
The list ofPodTemplate
contributed by this implementation.ArrayList<PodTemplate>
KubernetesCloud. getMatchingTemplates(Label label)
Deprecated.UseKubernetesCloud.getTemplatesFor(Label)
instead.List<PodTemplate>
KubernetesCloud. getTemplates()
List<PodTemplate>
KubernetesCloud. getTemplatesFor(Label label)
Gets all PodTemplates that have the matchingLabel
.Methods in org.csanchez.jenkins.plugins.kubernetes with parameters of type PodTemplate Modifier and Type Method Description void
KubernetesCloud. addDynamicTemplate(PodTemplate t)
Add a dynamic pod template.void
KubernetesCloud. addTemplate(PodTemplate t)
Add a new template to the cloudvoid
NonConfigurableKubernetesCloud. addTemplate(PodTemplate template)
void
PodTemplateGroup. addTemplate(PodTemplate podTemplate)
Add the template to the group.static PodTemplate
PodTemplateUtils. combine(PodTemplate parent, PodTemplate template)
Combines aPodTemplate
with its parent.PodTemplate
KubernetesCloud. getUnwrappedTemplate(PodTemplate podTemplate)
Unwraps the given pod template.KubernetesSlave.Builder
KubernetesSlave.Builder. podTemplate(PodTemplate podTemplate)
boolean
KubernetesProvisioningLimits. register(KubernetesCloud cloud, PodTemplate podTemplate, int numExecutors)
Register executorsvoid
KubernetesCloud. removeDynamicTemplate(PodTemplate t)
Remove a dynamic pod template.void
KubernetesCloud. removeTemplate(PodTemplate t)
Remove avoid
NonConfigurableKubernetesCloud. removeTemplate(PodTemplate template)
void
PodTemplateGroup. removeTemplate(PodTemplate podTemplate)
Removes the template from the group.void
KubernetesCloud. replaceTemplate(PodTemplate oldTemplate, PodTemplate newTemplate)
void
NonConfigurableKubernetesCloud. replaceTemplate(PodTemplate oldTemplate, PodTemplate newTemplate)
void
PodTemplateGroup. replaceTemplate(PodTemplate oldTemplate, PodTemplate newTemplate)
Replaces the old template with the new template.PlannedNodeBuilder
PlannedNodeBuilder. template(PodTemplate template)
protected abstract PodTemplate
PodTemplateFilter. transform(KubernetesCloud cloud, PodTemplate podTemplate, Label label)
Transforms a pod template definition.protected PodTemplate
PodTemplateLabelFilter. transform(KubernetesCloud cloud, PodTemplate podTemplate, Label label)
void
KubernetesProvisioningLimits. unregister(KubernetesCloud cloud, PodTemplate podTemplate, int numExecutors)
Unregisters executors, when an agent is terminatedMethod parameters in org.csanchez.jenkins.plugins.kubernetes with type arguments of type PodTemplate Modifier and Type Method Description static List<PodTemplate>
PodTemplateFilter. applyAll(KubernetesCloud cloud, List<PodTemplate> podTemplates, Label label)
Pass the given pod templates list into all filters implementations.static PodTemplate
PodTemplateUtils. getTemplateByLabel(Label label, Collection<PodTemplate> templates)
Gets thePodTemplate
byLabel
.static PodTemplate
PodTemplateUtils. getTemplateByName(String name, Collection<PodTemplate> templates)
Gets thePodTemplate
by name.void
KubernetesCloud. setTemplates(List<PodTemplate> templates)
Constructor parameters in org.csanchez.jenkins.plugins.kubernetes with type arguments of type PodTemplate Constructor Description KubernetesCloud(String name, List<? extends PodTemplate> templates, String serverUrl, String namespace, String jenkinsUrl, String containerCapStr, int connectTimeout, int readTimeout, int retentionTimeout)
Deprecated. -
Uses of PodTemplate in org.csanchez.jenkins.plugins.kubernetes.pipeline
Methods in org.csanchez.jenkins.plugins.kubernetes.pipeline that return types with arguments of type PodTemplate Modifier and Type Method Description List<PodTemplate>
PodTemplateMap.PodTemplateSourceImpl. getList(KubernetesCloud cloud)
List<PodTemplate>
PodTemplateMap. getTemplates(KubernetesCloud cloud)
Returns a read-only view of the templates available for the corresponding cloud instance.Methods in org.csanchez.jenkins.plugins.kubernetes.pipeline with parameters of type PodTemplate Modifier and Type Method Description void
PodTemplateMap. addTemplate(KubernetesCloud cloud, PodTemplate podTemplate)
Adds a template for the corresponding cloud instance.void
PodTemplateMap. removeTemplate(KubernetesCloud cloud, PodTemplate podTemplate)
-