Class HelmUninstall
- 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.HelmUninstall
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,CommandOptions,GlobalReleaseOptions
@Mojo(name="uninstall", defaultPhase=POST_INTEGRATION_TEST, threadSafe=true) public class HelmUninstall extends HelmReleaseUninstall helm release(s)
-
-
Constructor Summary
Constructors Constructor Description HelmUninstall()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubCommand(List<String> commandLine)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 voidinitializeGlobalValuesFiles()protected voidpreHelmCommand(ReleaseInfo release, String namespace)PathreleaseValues(String valuesFileName)Given that info.valueYaml is not empty, return the location of the file.-
Methods inherited from class org.honton.chas.helmrepo.maven.plugin.HelmRelease
createNamespace, doExecute, getKubernetesClient, postHelmCommand, releaseOptions, validateConfiguration, validateRelease
-
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, getGlobalValuesFile, getKubernetes
-
-
-
-
Method Detail
-
initializeGlobalValuesFiles
protected void initializeGlobalValuesFiles()
- Overrides:
initializeGlobalValuesFilesin classHelmRelease
-
addSubCommand
public void addSubCommand(List<String> commandLine)
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.- Specified by:
chartReferencein interfaceCommandOptions- Overrides:
chartReferencein classHelmRelease
-
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.- Specified by:
releaseValuesin interfaceCommandOptions- Overrides:
releaseValuesin classHelmRelease
-
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- Specified by:
getIterablein interfaceCommandOptions- Overrides:
getIterablein classHelmRelease
-
preHelmCommand
protected void preHelmCommand(ReleaseInfo release, String namespace)
- Overrides:
preHelmCommandin classHelmRelease
-
-