public abstract class AbstractMutatingReleaseMojo extends AbstractSingleReleaseMojo
AbstractSingleReleaseMojo
whose implementations change
the single Helm
release they are configured to work with (as opposed to just
reading its information).Modifier | Constructor and Description |
---|---|
protected |
AbstractMutatingReleaseMojo()
Creates a new
AbstractMutatingReleaseMojo . |
Modifier and Type | Method and Description |
---|---|
boolean |
getDisableHooks()
Returns
true if chart
hooks are disabled. |
boolean |
getDryRun()
Returns whether this operation will be simulated.
|
long |
getTimeout()
Returns the timeout value, in seconds, for Kubernetes operations.
|
boolean |
getWait()
Returns
true if this operation will wait for Pods to be
ready before returning. |
void |
setDisableHooks(boolean disableHooks)
Sets whether chart
hooks are disabled.
|
void |
setDryRun(boolean dryRun)
Sets whether this operation will be simulated.
|
void |
setTimeout(long timeout)
Sets the timeout value, in seconds, for Kubernetes operations.
|
void |
setWait(boolean wait)
Sets whether this operation will wait for Pods to be ready before
returning.
|
getReleaseName, setReleaseName, validateReleaseName
createClient, createReleaseManager, createTiller, execute, execute, getClientConfiguration, getSkip, getTillerLabels, getTillerNamespace, getTillerPort, setClientConfiguration, setSkip, setTillerLabels, setTillerNamespace, setTillerPort, validateNamespace
getLog, getPluginContext, setLog, setPluginContext
protected AbstractMutatingReleaseMojo()
AbstractMutatingReleaseMojo
.public boolean getDisableHooks()
true
if chart
hooks are disabled.true
if chart
hooks are disabledsetDisableHooks(boolean)
public void setDisableHooks(boolean disableHooks)
disableHooks
- if true
, chart
hooks will be disabledgetDisableHooks()
public boolean getDryRun()
setDryRun(boolean)
public void setDryRun(boolean dryRun)
dryRun
- if true
, this operation will be simulatedgetDryRun()
public long getTimeout()
setTimeout(long)
public void setTimeout(long timeout)
timeout
- the timeout value, in seconds, for Kubernetes
operationsgetTimeout()
public boolean getWait()
true
if this operation will wait for Pods to be
ready before returning.true
if this operation will wait for Pods to be
ready before returningsetWait(boolean)
Copyright © 2017–2018, microBean. All rights reserved.