@Extension public class PodTemplateLabelFilter extends PodTemplateFilter
PodTemplateFilter
filtering pod templates matching the right label.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
PodTemplateLabelFilter() |
Modifier and Type | Method and Description |
---|---|
protected PodTemplate |
transform(KubernetesCloud cloud,
PodTemplate podTemplate,
Label label)
Transforms a pod template definition.
|
all, applyAll
protected PodTemplate transform(@Nonnull KubernetesCloud cloud, @Nonnull PodTemplate podTemplate, @CheckForNull Label label)
PodTemplateFilter
transform
in class PodTemplateFilter
cloud
- The KubernetesCloud
instance the PodTemplate
instances will be scheduled into.podTemplate
- The input pod template to process.label
- The label that was requested for provisioningCopyright © 2016–2019. All rights reserved.