@Mojo(name="run", requiresDependencyResolution=COMPILE, defaultPhase=VALIDATE) @Execute(phase=INSTALL) public class RunMojo extends AbstractTailLogMojo
Ctrl+C
will then terminate the application.
You can think of this goal as like a combination of `fabric8:deploy`, `fabric8:logs` then `fabric8:undeploy` once you hit
Ctrl+C
Note that the goals fabric8:resource and fabric8:build must be bound to the proper execution phases.
applyService, DEFAULT_KUBERNETES_MANIFEST, DEFAULT_OPENSHIFT_MANIFEST, failOnError, recreate, resources, routeDomain, s2iBuildNameSuffix, serviceUrlWaitTimeSeconds, skipApply
Constructor and Description |
---|
RunMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyEntities(io.fabric8.kubernetes.client.KubernetesClient kubernetes,
String namespace,
String fileName,
Set<io.fabric8.kubernetes.api.model.HasMetadata> entities) |
getLogService, getLogServiceContext
createIngress, createRoutes, disableOpenShiftFeatures, executeInternal, getCustomResourcesFileToNamemap, getExternalServiceURL, getOrCreateSpec, getProject, getRootProject, getRootProjectFolder, initServices, isExposeService, isRollingUpgradePreserveScale, isRollingUpgrades, processCustomEntities
createExternalProcessLogger, createLogger, execute, getClusterConfiguration, getProperty
Copyright © 2020. All rights reserved.