Class HelmUpgrade
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.honton.chas.helmrepo.maven.plugin.HelmGoal
-
- org.honton.chas.helmrepo.maven.plugin.HelmRelease
-
- org.honton.chas.helmrepo.maven.plugin.HelmUpgrade
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,CommandOptions,GlobalReleaseOptions
@Mojo(name="upgrade", defaultPhase=PRE_INTEGRATION_TEST, threadSafe=true) public class HelmUpgrade extends HelmReleaseUpgrade helm release(s)
-
-
Constructor Summary
Constructors Constructor Description HelmUpgrade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubCommand(List<String> command)Add the helm subcommand to command lineStringchartReference(ReleaseInfo info)What is the chart reference for the helm command? May return null.Iterable<ReleaseInfo>getIterable(LinkedList<ReleaseInfo> inOrder)Given a list of releases, return an iterator that determines the traversal orderprotected voidpostRelease(ReleaseInfo release)PathreleaseValues(String valuesFileName)Given that info.valueYaml is not empty, return the location of the file.protected booleanvalidateRelease(ReleaseInfo release)Each Release must have proper release name and chart-
Methods inherited from class org.honton.chas.helmrepo.maven.plugin.HelmRelease
doExecute, validateConfiguration
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.honton.chas.helmrepo.maven.plugin.GlobalReleaseOptions
getGlobalValuePath, getKubernetes
-
-
-
-
Method Detail
-
addSubCommand
public void addSubCommand(List<String> command)
Description copied from interface:CommandOptionsAdd the helm subcommand to command line
-
chartReference
public String chartReference(ReleaseInfo info)
Description copied from interface:CommandOptionsWhat is the chart reference for the helm command? May return null.
-
releaseValues
public Path releaseValues(String valuesFileName)
Description copied from interface:CommandOptionsGiven that info.valueYaml is not empty, return the location of the file. If no values option should be generated, return null.
-
getIterable
public Iterable<ReleaseInfo> getIterable(LinkedList<ReleaseInfo> inOrder)
Description copied from interface:CommandOptionsGiven a list of releases, return an iterator that determines the traversal order
-
validateRelease
protected boolean validateRelease(ReleaseInfo release)
Description copied from class:HelmReleaseEach Release must have proper release name and chart- Overrides:
validateReleasein classHelmRelease
-
postRelease
protected void postRelease(ReleaseInfo release)
- Overrides:
postReleasein classHelmRelease
-
-