Class HelmServerOperationOptionsHolder
-
- All Implemented Interfaces:
-
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.HelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmServerOperationOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmServerOptions
public final class HelmServerOperationOptionsHolder implements ConfigurableHelmServerOperationOptions, ConfigurableHelmServerOptions
-
-
Field Summary
Fields Modifier and Type Field Description private 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 HelmServerOperationOptionsHolder(ObjectFactory objects)HelmServerOperationOptionsHolder(ConfigurableHelmServerOptions serverOptions, Property<Boolean> dryRun, Property<Boolean> noHooks, Property<Duration> remoteTimeout)
-
Method Summary
Modifier and Type Method Description Property<Boolean>getDryRun()If true, only simulate the operation.Property<Boolean>getNoHooks()If true, prevent hooks from running during the operation.Property<Duration>getRemoteTimeout()Time to wait for any individual Kubernetes operation (like Jobs for hooks). -
-
Constructor Detail
-
HelmServerOperationOptionsHolder
HelmServerOperationOptionsHolder(ObjectFactory objects)
-
HelmServerOperationOptionsHolder
HelmServerOperationOptionsHolder(ConfigurableHelmServerOptions serverOptions, Property<Boolean> dryRun, Property<Boolean> noHooks, Property<Duration> remoteTimeout)
-
-
Method Detail
-
getDryRun
Property<Boolean> getDryRun()
If
true, only simulate the operation.Corresponds to the
--dry-runCLI parameter.
-
getNoHooks
Property<Boolean> getNoHooks()
If
true, prevent hooks from running during the operation.Corresponds to the
--no-hooksCLI parameter.
-
getRemoteTimeout
Property<Duration> getRemoteTimeout()
Time to wait for any individual Kubernetes operation (like Jobs for hooks). Default is 300.
Corresponds to the
--timeoutcommand line option in the Helm CLI.
-
-
-
-