Package | Description |
---|---|
org.csanchez.jenkins.plugins.kubernetes | |
org.csanchez.jenkins.plugins.kubernetes.pipeline |
Modifier and Type | Method and Description |
---|---|
static PodTemplate |
PodTemplateUtils.combine(PodTemplate parent,
PodTemplate template)
Combines a
PodTemplate with its parent. |
PodTemplate |
PlannedNodeBuilder.getTemplate()
Returns the
PodTemplate . |
PodTemplate |
KubernetesSlave.getTemplate() |
PodTemplate |
KubernetesCloud.getTemplate(Label label)
Gets
PodTemplate that has the matching Label . |
static PodTemplate |
PodTemplateUtils.getTemplateByLabel(Label label,
Collection<PodTemplate> templates)
Gets the
PodTemplate by Label . |
static PodTemplate |
PodTemplateUtils.getTemplateByName(String name,
Collection<PodTemplate> templates)
Gets the
PodTemplate by name. |
PodTemplate |
KubernetesCloud.getUnwrappedTemplate(PodTemplate podTemplate)
Unwraps the given pod template.
|
protected PodTemplate |
PodTemplateLabelFilter.transform(KubernetesCloud cloud,
PodTemplate podTemplate,
Label label) |
protected abstract PodTemplate |
PodTemplateFilter.transform(KubernetesCloud cloud,
PodTemplate podTemplate,
Label label)
Transforms a pod template definition.
|
Modifier and Type | Method and 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.
|
protected abstract List<PodTemplate> |
PodTemplateSource.getList(KubernetesCloud cloud)
The list of
PodTemplate contributed by this implementation. |
List<PodTemplate> |
KubernetesCloud.PodTemplateSourceImpl.getList(KubernetesCloud cloud) |
ArrayList<PodTemplate> |
KubernetesCloud.getMatchingTemplates(Label label)
Deprecated.
Use
KubernetesCloud.getTemplatesFor(Label) instead. |
List<PodTemplate> |
KubernetesCloud.getTemplates() |
List<PodTemplate> |
KubernetesCloud.getTemplatesFor(Label label)
Gets all PodTemplates that have the matching
Label . |
Modifier and Type | Method and Description |
---|---|
void |
KubernetesCloud.addDynamicTemplate(PodTemplate t)
Add a dynamic pod template.
|
void |
KubernetesCloud.addTemplate(PodTemplate t)
Add a new template to the cloud
|
static PodTemplate |
PodTemplateUtils.combine(PodTemplate parent,
PodTemplate template)
Combines a
PodTemplate with its parent. |
PodTemplate |
KubernetesCloud.getUnwrappedTemplate(PodTemplate podTemplate)
Unwraps the given pod template.
|
KubernetesSlave.Builder |
KubernetesSlave.Builder.podTemplate(PodTemplate podTemplate) |
void |
KubernetesCloud.removeDynamicTemplate(PodTemplate t)
Remove a dynamic pod template.
|
void |
KubernetesCloud.removeTemplate(PodTemplate t)
Remove a
|
PlannedNodeBuilder |
PlannedNodeBuilder.template(PodTemplate template) |
protected PodTemplate |
PodTemplateLabelFilter.transform(KubernetesCloud cloud,
PodTemplate podTemplate,
Label label) |
protected abstract PodTemplate |
PodTemplateFilter.transform(KubernetesCloud cloud,
PodTemplate podTemplate,
Label label)
Transforms a pod template definition.
|
Modifier and Type | Method and 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 the
PodTemplate by Label . |
static PodTemplate |
PodTemplateUtils.getTemplateByName(String name,
Collection<PodTemplate> templates)
Gets the
PodTemplate by name. |
void |
KubernetesCloud.setTemplates(List<PodTemplate> templates) |
Constructor and Description |
---|
KubernetesSlave(PodTemplate template,
String nodeDescription,
KubernetesCloud cloud,
Label label)
Deprecated.
Use
KubernetesSlave.Builder instead. |
KubernetesSlave(PodTemplate template,
String nodeDescription,
KubernetesCloud cloud,
String labelStr)
Deprecated.
Use
KubernetesSlave.Builder instead. |
KubernetesSlave(PodTemplate template,
String nodeDescription,
KubernetesCloud cloud,
String labelStr,
RetentionStrategy rs)
Deprecated.
Use
KubernetesSlave.Builder instead. |
KubernetesSlave(PodTemplate template,
String nodeDescription,
String cloudName,
String labelStr,
RetentionStrategy rs)
Deprecated.
Use
KubernetesSlave.Builder instead. |
KubernetesSlave(String name,
PodTemplate template,
String nodeDescription,
String cloudName,
String labelStr,
ComputerLauncher computerLauncher,
RetentionStrategy rs) |
PodTemplate(PodTemplate from) |
PodTemplateBuilder(PodTemplate template) |
Constructor and Description |
---|
KubernetesCloud(String name,
List<? extends PodTemplate> templates,
String serverUrl,
String namespace,
String jenkinsUrl,
String containerCapStr,
int connectTimeout,
int readTimeout,
int retentionTimeout)
Deprecated.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
PodTemplateMap.addTemplate(KubernetesCloud cloud,
PodTemplate podTemplate)
Adds a template for the corresponding cloud instance.
|
void |
PodTemplateMap.removeTemplate(KubernetesCloud cloud,
PodTemplate podTemplate) |
Copyright © 2016–2019. All rights reserved.