public class KnativeHandler extends AbstractKubernetesHandler<KnativeConfig> implements HandlerFactory, WithProject
resourcesproject| Constructor and Description |
|---|
KnativeHandler() |
KnativeHandler(Resources resources,
Configurators configurators) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDecorators(String group,
KnativeConfig config) |
boolean |
canHandle(Class<? extends Configuration> type) |
Handler |
create(Resources resources,
Configurators configurators) |
io.dekorate.deps.knative.serving.v1.Service |
createService(KnativeConfig config)
Creates a
Service for the KnativeConfig. |
ConfigurationSupplier<KnativeConfig> |
getFallbackConfig() |
void |
handle(KnativeConfig config) |
static boolean |
isDefault(GlobalAutoScaling autoScaling) |
int |
order() |
validateVolume, validateVolumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyToProject, getProject, projectExists, setProjectpublic KnativeHandler()
public KnativeHandler(Resources resources, Configurators configurators)
public Handler create(Resources resources, Configurators configurators)
create in interface HandlerFactorypublic int order()
order in interface Handler<KnativeConfig>public void handle(KnativeConfig config)
handle in interface Handler<KnativeConfig>handle in class AbstractKubernetesHandler<KnativeConfig>public ConfigurationSupplier<KnativeConfig> getFallbackConfig()
getFallbackConfig in interface Handler<KnativeConfig>protected void addDecorators(String group, KnativeConfig config)
addDecorators in class AbstractKubernetesHandler<KnativeConfig>public boolean canHandle(Class<? extends Configuration> type)
canHandle in interface Handler<KnativeConfig>public io.dekorate.deps.knative.serving.v1.Service createService(KnativeConfig config)
Service for the KnativeConfig.config - The sesssion.public static boolean isDefault(GlobalAutoScaling autoScaling)
Copyright © 2018–2020 Red Hat. All rights reserved.