-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable,org.unbrokendome.gradle.plugins.helm.command.ConfigurableHelmOptions,org.unbrokendome.gradle.plugins.helm.command.ConfigurableHelmValueOptions,org.unbrokendome.gradle.plugins.helm.command.GlobalHelmOptions,org.unbrokendome.gradle.plugins.helm.command.HelmOptions,org.unbrokendome.gradle.plugins.helm.command.HelmValueOptions
public class HelmLint extends AbstractHelmCommandTask implements ConfigurableHelmValueOptions
Runs a series of tests to verify that a chart is well-formed. Corresponds to the
helm lintCLI command.
-
-
Field Summary
Fields Modifier and Type Field Description private final DirectoryPropertychartDirprivate final Property<Boolean>strictprivate final MapProperty<String, Object>valuesprivate final MapProperty<String, Object>fileValuesprivate final ConfigurableFileCollectionvalueFilesprivate final Property<Boolean>withSubchartsprivate final RegularFilePropertyoutputMarkerFileprivate final Provider<String>executableprivate final Provider<Boolean>debugprivate final Provider<List<String>>extraArgsprivate final Provider<Directory>xdgDataHomeprivate final Provider<Directory>xdgConfigHomeprivate final Provider<Directory>xdgCacheHome
-
Constructor Summary
Constructors Constructor Description HelmLint()
-
Method Summary
Modifier and Type Method Description final DirectoryPropertygetChartDir()The directory that contains the sources for the Helm chart. final Property<Boolean>getStrict()If set to true, fail on warnings emitted by the linter.final MapProperty<String, Object>getValues()final MapProperty<String, Object>getFileValues()final ConfigurableFileCollectiongetValueFiles()final Property<Boolean>getWithSubcharts()If true, also lint dependent charts.final RegularFilePropertygetOutputMarkerFile()If set, the task will create an empty marker file at this path after a successful call to helm lint.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 Unitlint()-
Methods inherited from class org.unbrokendome.gradle.plugins.helm.command.tasks.AbstractHelmCommandTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChartDir
@InputDirectory()@SkipWhenEmpty() final DirectoryProperty getChartDir()
The directory that contains the sources for the Helm chart.
-
getStrict
@Input()@Optional() final Property<Boolean> getStrict()
If set to
true, fail on warnings emitted by the linter.
-
getValues
@Input() final MapProperty<String, Object> getValues()
-
getFileValues
@Input() final MapProperty<String, Object> getFileValues()
-
getValueFiles
@InputFiles() final ConfigurableFileCollection getValueFiles()
-
getWithSubcharts
@Input()@Optional() final Property<Boolean> getWithSubcharts()
If
true, also lint dependent charts.Corresponds to the
--with-subchartsCLI option.
-
getOutputMarkerFile
@OutputFile()@Optional() final RegularFileProperty getOutputMarkerFile()
If set, the task will create an empty marker file at this path after a successful call to
helm lint.This is necessary for Gradle's up-to-date checking because
helm lintitself doesn't output any files.
-
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()
-
-
-
-