Class HelmValueOptionsHolder

  • All Implemented Interfaces:
    io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmOptions , io.github.build.extensions.oss.gradle.plugins.helm.command.ConfigurableHelmValueOptions , io.github.build.extensions.oss.gradle.plugins.helm.command.HelmOptions , io.github.build.extensions.oss.gradle.plugins.helm.command.HelmValueOptions

    
    public final class HelmValueOptionsHolder
     implements ConfigurableHelmValueOptions
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      MapProperty<String, Object> getValues() Values to be passed directly.
      MapProperty<String, Object> getFileValues() Values read from the contents of files.
      ConfigurableFileCollection getValueFiles() A collection of YAML files containing values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HelmValueOptionsHolder

        HelmValueOptionsHolder(ObjectFactory objects)
      • HelmValueOptionsHolder

        HelmValueOptionsHolder(MapProperty<String, Object> values, MapProperty<String, Object> fileValues, ConfigurableFileCollection valueFiles)
    • Method Detail

      • getValues

         MapProperty<String, Object> getValues()

        Values to be passed directly.

        Entries in the map will be sent to the CLI using either the --set-string option (for strings) or the --set option (for all other types).

      • getFileValues

         MapProperty<String, Object> getFileValues()

        Values read from the contents of files.

        Corresponds to the --set-file CLI option.

        The values of the map can be of any type that is accepted by Project.file. Additionally, when adding a Provider that represents an output file of another task, the consuming task will automatically have a task dependency on the producing task.

        Not to be confused with valueFiles, which contains a collection of YAML files that supply multiple values.

      • getValueFiles

         ConfigurableFileCollection getValueFiles()

        A collection of YAML files containing values.

        Corresponds to the --values CLI option.

        Not to be confused with fileValues, which contains entries whose values are the contents of files.