Class AbstractHelmInstallationCommandTask
-
- All Implemented Interfaces:
-
io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmInstallFromRepositoryOptions,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.ConfigurableHelmValueOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.GlobalHelmOptions,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmInstallFromRepositoryOptions,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,io.github.build.extensions.oss.gradle.plugins.helm.command.HelmValueOptions,kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
public abstract class AbstractHelmInstallationCommandTask extends AbstractHelmServerOperationCommandTask implements ConfigurableHelmInstallFromRepositoryOptions, ConfigurableHelmValueOptions
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>releaseNameprivate final Property<String>chartprivate final Property<String>versionprivate final Property<Boolean>atomicprivate final RegularFilePropertycaFileprivate final RegularFilePropertycertFileprivate final Property<Boolean>develprivate final RegularFilePropertykeyFileprivate final Property<String>passwordprivate final Property<URI>repositoryprivate final Property<String>usernameprivate final MapProperty<String, Object>valuesprivate final MapProperty<String, Object>fileValuesprivate final ConfigurableFileCollectionvalueFilesprivate final Property<Boolean>verifyprivate final Property<Boolean>waitprivate final Property<Boolean>waitForJobsprivate 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>namespaceprivate final Provider<String>executableprivate final Provider<Boolean>debugprivate final Provider<List<String>>extraArgsprivate final Provider<Directory>xdgDataHomeprivate final Provider<Directory>xdgConfigHomeprivate final Provider<Directory>xdgCacheHomeprivate final TaskOutputsInternaloutputsprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate final TaskRequiredServicesrequiredServicesprivate final TaskDependencyInternaltaskDependenciesprivate final Set<Object>dependsOnprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final TaskDependencyInternallifecycleDependenciesprivate BooleanisEnabledprivate BooleanimpliesSubProjectsprivate final TaskInputsInternalinputsprivate Booleanenabledprivate final TaskStateInternalstateprivate final TaskIdentity<?>taskIdentityprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final DynamicObjectasDynamicObjectprivate final List<ResourceLock>sharedResourcesprivate BooleandidWorkprivate final Optional<String>reasonNotToTrackStateprivate Stringgroupprivate final BooleanisHasCustomActionsprivate List<Action<in Task>>actionsprivate final Stringnameprivate final FiletemporaryDirprivate final LoggingManagerloggingprivate final PathidentityPathprivate final TaskDependencymustRunAfterprivate final StandardOutputCapturestandardOutputCaptureprivate final Projectprojectprivate Stringdescription
-
Constructor Summary
Constructors Constructor Description AbstractHelmInstallationCommandTask()
-
Method Summary
Modifier and Type Method Description Property<String>getReleaseName()final Property<String>getChart()Property<String>getVersion()final Property<Boolean>getAtomic()final RegularFilePropertygetCaFile()final RegularFilePropertygetCertFile()final Property<Boolean>getDevel()final RegularFilePropertygetKeyFile()final Property<String>getPassword()final Property<URI>getRepository()final Property<String>getUsername()final MapProperty<String, Object>getValues()final MapProperty<String, Object>getFileValues()final ConfigurableFileCollectiongetValueFiles()final Property<Boolean>getVerify()final Property<Boolean>getWait()final Property<Boolean>getWaitForJobs()final Property<Boolean>getCreateNamespace()final Property<Boolean>getDryRun()final Property<Boolean>getNoHooks()final Property<Duration>getRemoteTimeout()final RegularFilePropertygetKubeConfig()final Property<String>getKubeContext()final Property<String>getNamespace()final Provider<String>getExecutable()final Provider<Boolean>getDebug()final Provider<List<String>>getExtraArgs()final Provider<Directory>getXdgDataHome()final Provider<Directory>getXdgConfigHome()final Provider<Directory>getXdgCacheHome()final Unitfrom(Object chart)Sets the chart to be installed. -
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, hasTaskActions, prependParallelSafeAction -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getReleaseName
@Input() Property<String> getReleaseName()
-
getVersion
@Input()@Optional() Property<String> getVersion()
-
getCaFile
@Internal() final RegularFileProperty getCaFile()
-
getCertFile
@Internal() final RegularFileProperty getCertFile()
-
getKeyFile
@Internal() final RegularFileProperty getKeyFile()
-
getPassword
@Internal() final Property<String> getPassword()
-
getRepository
@Input()@Optional() final Property<URI> getRepository()
-
getUsername
@Internal() final Property<String> getUsername()
-
getFileValues
@Input() final MapProperty<String, Object> getFileValues()
-
getValueFiles
@InputFiles() final ConfigurableFileCollection getValueFiles()
-
getWaitForJobs
@Internal() final Property<Boolean> getWaitForJobs()
-
getCreateNamespace
@Internal() final Property<Boolean> getCreateNamespace()
-
getNoHooks
@Internal() final Property<Boolean> getNoHooks()
-
getRemoteTimeout
@Internal() final Property<Duration> getRemoteTimeout()
-
getKubeConfig
@InputFile()@Optional() final RegularFileProperty getKubeConfig()
-
getKubeContext
@Input()@Optional() final Property<String> getKubeContext()
-
getNamespace
@Internal() final Property<String> getNamespace()
-
getExecutable
@Input() final Provider<String> getExecutable()
-
getExtraArgs
@Input() final Provider<List<String>> getExtraArgs()
-
getXdgDataHome
@Internal() final Provider<Directory> getXdgDataHome()
-
getXdgConfigHome
@Internal() final Provider<Directory> getXdgConfigHome()
-
getXdgCacheHome
@Internal() final Provider<Directory> getXdgCacheHome()
-
from
final Unit from(Object chart)
Sets the chart to be installed. The value can be any of the forms accepted by the Helm CLI.
This is a convenience method that can be used instead of setting the chart property directly.
The following argument types are accepted:
A chart reference (
String): e.g.stable/mariadb.A path to a packaged chart (
String, File, RegularFile)A path to an unpacked chart directory (
String, File, Directory)An absolute URL (
String, URI): e.g.https://example.com/charts/nginx-1.2.3.tgzA simple chart reference (
String), e.g.mariadb. Note that you must also set the repository property in this case.a Provider of any of the above.
-
-
-
-