@Mojo(name="watch-spring-boot", requiresDependencyResolution=COMPILE, defaultPhase=VALIDATE) @Execute(goal="deploy") public class WatchSpringBootMojo extends AbstractTailLogMojo
FABRIC8_LOG_CONTAINER, OPERATION_STOP, OPERATION_UNDEPLOY
DEFAULT_KUBERNETES_MANIFEST, DEFAULT_OPENSHIFT_MANIFEST, failOnError, recreate, routeDomain, serviceUrlWaitTimeSeconds
goalFinder, log, project, session, settings, skip, useColor, verbose
Constructor and Description |
---|
WatchSpringBootMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyEntities(io.fabric8.kubernetes.api.Controller controller,
io.fabric8.kubernetes.client.KubernetesClient kubernetes,
String namespace,
String fileName,
Set<io.fabric8.kubernetes.api.model.HasMetadata> entities) |
protected void |
processOutput(io.fabric8.maven.docker.util.Logger logger,
InputStream inputStream,
boolean error) |
tailAppPodsLogs
applyTemplates, createController, createIngress, createIngressForService, createRouteForService, createRoutes, deleteEntities, disableOpenShiftFeatures, executeInternal, getExternalServiceURL, getKubeCtlExecutable, getPodCondition, getPodLabelSelector, getPodStatusDescription, getPodStatusMessagePostfix, getProject, getProjectAndFabric8Properties, getRootProject, getRootProjectFolder, getRouteDomain, isExposeService, isFailOnError, isRecreate, isRollingUpgradePreserveScale, isRollingUpgrades, loadResources, overrideTemplateParameters, resizeApp, shouldCreateExternalURLForService, withSelector
createExternalProcessLogger, createLogger, execute, getJenkinShiftUrl, getOpenShiftClientOrJenkinsShift, getOpenShiftClientOrNull, getProperty
protected void applyEntities(io.fabric8.kubernetes.api.Controller controller, io.fabric8.kubernetes.client.KubernetesClient kubernetes, String namespace, String fileName, Set<io.fabric8.kubernetes.api.model.HasMetadata> entities) throws Exception
applyEntities
in class ApplyMojo
Exception
protected void processOutput(io.fabric8.maven.docker.util.Logger logger, InputStream inputStream, boolean error) throws IOException
IOException
Copyright © 2016. All rights reserved.