Class HelmInstallationOptionsHolder
-
- All Implemented Interfaces:
-
io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmInstallationOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmServerOperationOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmServerOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmInstallationOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmServerOperationOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmServerOptions
public final class HelmInstallationOptionsHolder implements ConfigurableHelmInstallationOptions, ConfigurableHelmServerOperationOptions
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Boolean>atomicprivate final Property<Boolean>develprivate final Property<Boolean>verifyprivate final Property<Boolean>waitprivate final Property<Boolean>waitForJobsprivate final Property<String>versionprivate final Property<Boolean>createNamespaceprivate final Property<Boolean>dryRunprivate final Property<Boolean>noHooksprivate final Property<Duration>remoteTimeoutprivate final RegularFilePropertykubeConfigprivate final Property<String>kubeContextprivate final Property<String>namespace
-
Constructor Summary
Constructors Constructor Description HelmInstallationOptionsHolder(ObjectFactory objects)HelmInstallationOptionsHolder(ConfigurableHelmServerOperationOptions serverOperationOptions, Property<Boolean> atomic, Property<Boolean> devel, Property<Boolean> verify, Property<Boolean> wait, Property<Boolean> waitForJobs, Property<String> version, Property<Boolean> createNamespace)
-
Method Summary
Modifier and Type Method Description Property<Boolean>getAtomic()If true, roll back changes on failure.Property<Boolean>getDevel()If true, use development versions, too.Property<Boolean>getVerify()If true, verify the package before installing it.Property<Boolean>getWait()If true, use the--waitflag when installing/upgrading or uninstalling this release.Property<Boolean>getWaitForJobs()If true, and wait is alsotrue, will wait until all Jobs have been completed before marking the release as successful.Property<String>getVersion()Specify the exact chart version to install. Property<Boolean>getCreateNamespace()If true, create the release namespace if not present.-
Methods inherited from class io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmServerOperationOptions
getDryRun, getNoHooks, getRemoteTimeout -
Methods inherited from class io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmServerOptions
getKubeConfig, getKubeContext, getNamespace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HelmInstallationOptionsHolder
HelmInstallationOptionsHolder(ObjectFactory objects)
-
HelmInstallationOptionsHolder
HelmInstallationOptionsHolder(ConfigurableHelmServerOperationOptions serverOperationOptions, Property<Boolean> atomic, Property<Boolean> devel, Property<Boolean> verify, Property<Boolean> wait, Property<Boolean> waitForJobs, Property<String> version, Property<Boolean> createNamespace)
-
-
Method Detail
-
getAtomic
Property<Boolean> getAtomic()
If
true, roll back changes on failure.Corresponds to the
--atomicHelm CLI parameter.
-
getDevel
Property<Boolean> getDevel()
If
true, use development versions, too. Equivalent to version>0.0.0-0.Corresponds to the
--develCLI parameter.
-
getVerify
Property<Boolean> getVerify()
If
true, verify the package before installing it.Corresponds to the
--verifyCLI parameter.
-
getWait
Property<Boolean> getWait()
If
true, use the--waitflag when installing/upgrading or uninstalling this release.When installing or upgrading, it will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. When uninstalling, will wait until all the resources are deleted before returning. It will wait for as long as remoteTimeout.
-
getWaitForJobs
Property<Boolean> getWaitForJobs()
If
true, and wait is alsotrue, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as remoteTimeout.
-
getVersion
Property<String> getVersion()
Specify the exact chart version to install. If this is not specified, the latest version is installed.
Corresponds to the
--versionCLI parameter.
-
getCreateNamespace
Property<Boolean> getCreateNamespace()
If
true, create the release namespace if not present.Corresponds to the
--create-namespaceCLI parameter.
-
-
-
-