Class HelmDownloadClientPackage
-
- All Implemented Interfaces:
-
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 HelmDownloadClientPackage extends DefaultTaskDownloads a Helm client package from the official Helm releases website.
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>versionprivate final Property<URI>baseUrlprivate final Provider<URI>downloadUrlprivate final Provider<URI>sha256SumUrlprivate final DirectoryPropertydestinationDirprivate final Provider<RegularFile>outputFileprivate final Provider<RegularFile>sha256SumFileprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActions
-
Constructor Summary
Constructors Constructor Description HelmDownloadClientPackage()
-
Method Summary
Modifier and Type Method Description final Property<String>getVersion()The version of the Helm client to be downloaded. final Property<URI>getBaseUrl()The base URL. final Provider<URI>getDownloadUrl()The full URL from which the client package that will be downloaded. final Provider<URI>getSha256SumUrl()The URL from which a text file containing the SHA-256 checksum can be downloaded. final DirectoryPropertygetDestinationDir()The directory in the local filesystem where the downloaded client package will be placed. final Provider<RegularFile>getOutputFile()The path to a file in the local filesystem where the downloaded client package will be placed. final Provider<RegularFile>getSha256SumFile()The path to a file in the local filesystem where the sha256sum file for the client package will be placed. final UnitdownloadClientPackage()-
Methods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getVersion
@Input() final Property<String> getVersion()
The version of the Helm client to be downloaded.
-
getBaseUrl
@Internal(value = "Represented as part of downloadUrl") final Property<URI> getBaseUrl()
The base URL. Defaults to
https://get.helm.sh.
-
getDownloadUrl
@Input() final Provider<URI> getDownloadUrl()
The full URL from which the client package that will be downloaded.
-
getSha256SumUrl
@Input() final Provider<URI> getSha256SumUrl()
The URL from which a text file containing the SHA-256 checksum can be downloaded.
-
getDestinationDir
@Internal(value = "Represented as part of outputFile and sha256SumFile") final DirectoryProperty getDestinationDir()
The directory in the local filesystem where the downloaded client package will be placed.
A separate directory will be created beneath this base directory for each downloaded version.
-
getOutputFile
@OutputFile() final Provider<RegularFile> getOutputFile()
The path to a file in the local filesystem where the downloaded client package will be placed.
-
getSha256SumFile
@OutputFile() final Provider<RegularFile> getSha256SumFile()
The path to a file in the local filesystem where the sha256sum file for the client package will be placed.
-
downloadClientPackage
final Unit downloadClientPackage()
-
-
-
-